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 rgb 1.1.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/rgb/-/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/rgb/-/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='rgb'
    614 PACKAGE_TARNAME='rgb'
    615 PACKAGE_VERSION='1.1.0'
    616 PACKAGE_STRING='rgb 1.1.0'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/rgb/-/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 RGB_DB_FALSE
    658 RGB_DB_TRUE
    659 RGB_DB_FILES
    660 RGB_DB_TYPE
    661 XORG_LIBS
    662 XORG_CFLAGS
    663 db_dir
    664 db_file
    665 RGB_LIBS
    666 RGB_CFLAGS
    667 MAN_SUBSTS
    668 XORG_MAN_PAGE
    669 ADMIN_MAN_DIR
    670 DRIVER_MAN_DIR
    671 MISC_MAN_DIR
    672 FILE_MAN_DIR
    673 LIB_MAN_DIR
    674 APP_MAN_DIR
    675 ADMIN_MAN_SUFFIX
    676 DRIVER_MAN_SUFFIX
    677 MISC_MAN_SUFFIX
    678 FILE_MAN_SUFFIX
    679 LIB_MAN_SUFFIX
    680 APP_MAN_SUFFIX
    681 SED
    682 host_os
    683 host_vendor
    684 host_cpu
    685 host
    686 build_os
    687 build_vendor
    688 build_cpu
    689 build
    690 INSTALL_CMD
    691 PKG_CONFIG_LIBDIR
    692 PKG_CONFIG_PATH
    693 PKG_CONFIG
    694 CHANGELOG_CMD
    695 STRICT_CFLAGS
    696 CWARNFLAGS
    697 BASE_CFLAGS
    698 AM_BACKSLASH
    699 AM_DEFAULT_VERBOSITY
    700 AM_DEFAULT_V
    701 AM_V
    702 CSCOPE
    703 ETAGS
    704 CTAGS
    705 am__fastdepCC_FALSE
    706 am__fastdepCC_TRUE
    707 CCDEPMODE
    708 am__nodep
    709 AMDEPBACKSLASH
    710 AMDEP_FALSE
    711 AMDEP_TRUE
    712 am__include
    713 DEPDIR
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 OBJEXT
    738 EXEEXT
    739 ac_ct_CC
    740 CPPFLAGS
    741 LDFLAGS
    742 CFLAGS
    743 CC
    744 target_alias
    745 host_alias
    746 build_alias
    747 LIBS
    748 ECHO_T
    749 ECHO_N
    750 ECHO_C
    751 DEFS
    752 mandir
    753 localedir
    754 libdir
    755 psdir
    756 pdfdir
    757 dvidir
    758 htmldir
    759 infodir
    760 docdir
    761 oldincludedir
    762 includedir
    763 runstatedir
    764 localstatedir
    765 sharedstatedir
    766 sysconfdir
    767 datadir
    768 datarootdir
    769 libexecdir
    770 sbindir
    771 bindir
    772 program_transform_name
    773 prefix
    774 exec_prefix
    775 PACKAGE_URL
    776 PACKAGE_BUGREPORT
    777 PACKAGE_STRING
    778 PACKAGE_VERSION
    779 PACKAGE_TARNAME
    780 PACKAGE_NAME
    781 PATH_SEPARATOR
    782 SHELL
    783 am__quote'
    784 ac_subst_files=''
    785 ac_user_opts='
    786 enable_option_checking
    787 enable_dependency_tracking
    788 enable_silent_rules
    789 enable_selective_werror
    790 enable_strict_compilation
    791 with_rgb_db_dir
    792 with_rgb_db_type
    793 with_rgb_db_library
    794 '
    795       ac_precious_vars='build_alias
    796 host_alias
    797 target_alias
    798 CC
    799 CFLAGS
    800 LDFLAGS
    801 LIBS
    802 CPPFLAGS
    803 PKG_CONFIG
    804 PKG_CONFIG_PATH
    805 PKG_CONFIG_LIBDIR
    806 RGB_CFLAGS
    807 RGB_LIBS
    808 XORG_CFLAGS
    809 XORG_LIBS'
    810 
    811 
    812 # Initialize some variables set by options.
    813 ac_init_help=
    814 ac_init_version=false
    815 ac_unrecognized_opts=
    816 ac_unrecognized_sep=
    817 # The variables have the same names as the options, with
    818 # dashes changed to underlines.
    819 cache_file=/dev/null
    820 exec_prefix=NONE
    821 no_create=
    822 no_recursion=
    823 prefix=NONE
    824 program_prefix=NONE
    825 program_suffix=NONE
    826 program_transform_name=s,x,x,
    827 silent=
    828 site=
    829 srcdir=
    830 verbose=
    831 x_includes=NONE
    832 x_libraries=NONE
    833 
    834 # Installation directory options.
    835 # These are left unexpanded so users can "make install exec_prefix=/foo"
    836 # and all the variables that are supposed to be based on exec_prefix
    837 # by default will actually change.
    838 # Use braces instead of parens because sh, perl, etc. also accept them.
    839 # (The list follows the same order as the GNU Coding Standards.)
    840 bindir='${exec_prefix}/bin'
    841 sbindir='${exec_prefix}/sbin'
    842 libexecdir='${exec_prefix}/libexec'
    843 datarootdir='${prefix}/share'
    844 datadir='${datarootdir}'
    845 sysconfdir='${prefix}/etc'
    846 sharedstatedir='${prefix}/com'
    847 localstatedir='${prefix}/var'
    848 runstatedir='${localstatedir}/run'
    849 includedir='${prefix}/include'
    850 oldincludedir='/usr/include'
    851 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    852 infodir='${datarootdir}/info'
    853 htmldir='${docdir}'
    854 dvidir='${docdir}'
    855 pdfdir='${docdir}'
    856 psdir='${docdir}'
    857 libdir='${exec_prefix}/lib'
    858 localedir='${datarootdir}/locale'
    859 mandir='${datarootdir}/man'
    860 
    861 ac_prev=
    862 ac_dashdash=
    863 for ac_option
    864 do
    865   # If the previous option needs an argument, assign it.
    866   if test -n "$ac_prev"; then
    867     eval $ac_prev=\$ac_option
    868     ac_prev=
    869     continue
    870   fi
    871 
    872   case $ac_option in
    873   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    874   *=)   ac_optarg= ;;
    875   *)    ac_optarg=yes ;;
    876   esac
    877 
    878   case $ac_dashdash$ac_option in
    879   --)
    880     ac_dashdash=yes ;;
    881 
    882   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    883     ac_prev=bindir ;;
    884   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    885     bindir=$ac_optarg ;;
    886 
    887   -build | --build | --buil | --bui | --bu)
    888     ac_prev=build_alias ;;
    889   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    890     build_alias=$ac_optarg ;;
    891 
    892   -cache-file | --cache-file | --cache-fil | --cache-fi \
    893   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    894     ac_prev=cache_file ;;
    895   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    896   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    897     cache_file=$ac_optarg ;;
    898 
    899   --config-cache | -C)
    900     cache_file=config.cache ;;
    901 
    902   -datadir | --datadir | --datadi | --datad)
    903     ac_prev=datadir ;;
    904   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    905     datadir=$ac_optarg ;;
    906 
    907   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    908   | --dataroo | --dataro | --datar)
    909     ac_prev=datarootdir ;;
    910   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    911   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    912     datarootdir=$ac_optarg ;;
    913 
    914   -disable-* | --disable-*)
    915     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    916     # Reject names that are not valid shell variable names.
    917     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    918       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    919     ac_useropt_orig=$ac_useropt
    920     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    921     case $ac_user_opts in
    922       *"
    923 "enable_$ac_useropt"
    924 "*) ;;
    925       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    926 	 ac_unrecognized_sep=', ';;
    927     esac
    928     eval enable_$ac_useropt=no ;;
    929 
    930   -docdir | --docdir | --docdi | --doc | --do)
    931     ac_prev=docdir ;;
    932   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    933     docdir=$ac_optarg ;;
    934 
    935   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    936     ac_prev=dvidir ;;
    937   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    938     dvidir=$ac_optarg ;;
    939 
    940   -enable-* | --enable-*)
    941     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    942     # Reject names that are not valid shell variable names.
    943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    944       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    945     ac_useropt_orig=$ac_useropt
    946     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    947     case $ac_user_opts in
    948       *"
    949 "enable_$ac_useropt"
    950 "*) ;;
    951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    952 	 ac_unrecognized_sep=', ';;
    953     esac
    954     eval enable_$ac_useropt=\$ac_optarg ;;
    955 
    956   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    957   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    958   | --exec | --exe | --ex)
    959     ac_prev=exec_prefix ;;
    960   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    961   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    962   | --exec=* | --exe=* | --ex=*)
    963     exec_prefix=$ac_optarg ;;
    964 
    965   -gas | --gas | --ga | --g)
    966     # Obsolete; use --with-gas.
    967     with_gas=yes ;;
    968 
    969   -help | --help | --hel | --he | -h)
    970     ac_init_help=long ;;
    971   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    972     ac_init_help=recursive ;;
    973   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    974     ac_init_help=short ;;
    975 
    976   -host | --host | --hos | --ho)
    977     ac_prev=host_alias ;;
    978   -host=* | --host=* | --hos=* | --ho=*)
    979     host_alias=$ac_optarg ;;
    980 
    981   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    982     ac_prev=htmldir ;;
    983   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    984   | --ht=*)
    985     htmldir=$ac_optarg ;;
    986 
    987   -includedir | --includedir | --includedi | --included | --include \
    988   | --includ | --inclu | --incl | --inc)
    989     ac_prev=includedir ;;
    990   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    991   | --includ=* | --inclu=* | --incl=* | --inc=*)
    992     includedir=$ac_optarg ;;
    993 
    994   -infodir | --infodir | --infodi | --infod | --info | --inf)
    995     ac_prev=infodir ;;
    996   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    997     infodir=$ac_optarg ;;
    998 
    999   -libdir | --libdir | --libdi | --libd)
   1000     ac_prev=libdir ;;
   1001   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1002     libdir=$ac_optarg ;;
   1003 
   1004   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1005   | --libexe | --libex | --libe)
   1006     ac_prev=libexecdir ;;
   1007   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1008   | --libexe=* | --libex=* | --libe=*)
   1009     libexecdir=$ac_optarg ;;
   1010 
   1011   -localedir | --localedir | --localedi | --localed | --locale)
   1012     ac_prev=localedir ;;
   1013   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1014     localedir=$ac_optarg ;;
   1015 
   1016   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1017   | --localstate | --localstat | --localsta | --localst | --locals)
   1018     ac_prev=localstatedir ;;
   1019   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1020   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1021     localstatedir=$ac_optarg ;;
   1022 
   1023   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1024     ac_prev=mandir ;;
   1025   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1026     mandir=$ac_optarg ;;
   1027 
   1028   -nfp | --nfp | --nf)
   1029     # Obsolete; use --without-fp.
   1030     with_fp=no ;;
   1031 
   1032   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1033   | --no-cr | --no-c | -n)
   1034     no_create=yes ;;
   1035 
   1036   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1037   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1038     no_recursion=yes ;;
   1039 
   1040   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1041   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1042   | --oldin | --oldi | --old | --ol | --o)
   1043     ac_prev=oldincludedir ;;
   1044   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1045   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1046   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1047     oldincludedir=$ac_optarg ;;
   1048 
   1049   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1050     ac_prev=prefix ;;
   1051   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1052     prefix=$ac_optarg ;;
   1053 
   1054   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1055   | --program-pre | --program-pr | --program-p)
   1056     ac_prev=program_prefix ;;
   1057   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1058   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1059     program_prefix=$ac_optarg ;;
   1060 
   1061   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1062   | --program-suf | --program-su | --program-s)
   1063     ac_prev=program_suffix ;;
   1064   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1065   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1066     program_suffix=$ac_optarg ;;
   1067 
   1068   -program-transform-name | --program-transform-name \
   1069   | --program-transform-nam | --program-transform-na \
   1070   | --program-transform-n | --program-transform- \
   1071   | --program-transform | --program-transfor \
   1072   | --program-transfo | --program-transf \
   1073   | --program-trans | --program-tran \
   1074   | --progr-tra | --program-tr | --program-t)
   1075     ac_prev=program_transform_name ;;
   1076   -program-transform-name=* | --program-transform-name=* \
   1077   | --program-transform-nam=* | --program-transform-na=* \
   1078   | --program-transform-n=* | --program-transform-=* \
   1079   | --program-transform=* | --program-transfor=* \
   1080   | --program-transfo=* | --program-transf=* \
   1081   | --program-trans=* | --program-tran=* \
   1082   | --progr-tra=* | --program-tr=* | --program-t=*)
   1083     program_transform_name=$ac_optarg ;;
   1084 
   1085   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1086     ac_prev=pdfdir ;;
   1087   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1088     pdfdir=$ac_optarg ;;
   1089 
   1090   -psdir | --psdir | --psdi | --psd | --ps)
   1091     ac_prev=psdir ;;
   1092   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1093     psdir=$ac_optarg ;;
   1094 
   1095   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1096   | -silent | --silent | --silen | --sile | --sil)
   1097     silent=yes ;;
   1098 
   1099   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1100   | --runstate | --runstat | --runsta | --runst | --runs \
   1101   | --run | --ru | --r)
   1102     ac_prev=runstatedir ;;
   1103   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1104   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1105   | --run=* | --ru=* | --r=*)
   1106     runstatedir=$ac_optarg ;;
   1107 
   1108   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1109     ac_prev=sbindir ;;
   1110   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1111   | --sbi=* | --sb=*)
   1112     sbindir=$ac_optarg ;;
   1113 
   1114   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1115   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1116   | --sharedst | --shareds | --shared | --share | --shar \
   1117   | --sha | --sh)
   1118     ac_prev=sharedstatedir ;;
   1119   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1120   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1121   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1122   | --sha=* | --sh=*)
   1123     sharedstatedir=$ac_optarg ;;
   1124 
   1125   -site | --site | --sit)
   1126     ac_prev=site ;;
   1127   -site=* | --site=* | --sit=*)
   1128     site=$ac_optarg ;;
   1129 
   1130   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1131     ac_prev=srcdir ;;
   1132   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1133     srcdir=$ac_optarg ;;
   1134 
   1135   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1136   | --syscon | --sysco | --sysc | --sys | --sy)
   1137     ac_prev=sysconfdir ;;
   1138   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1139   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1140     sysconfdir=$ac_optarg ;;
   1141 
   1142   -target | --target | --targe | --targ | --tar | --ta | --t)
   1143     ac_prev=target_alias ;;
   1144   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1145     target_alias=$ac_optarg ;;
   1146 
   1147   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1148     verbose=yes ;;
   1149 
   1150   -version | --version | --versio | --versi | --vers | -V)
   1151     ac_init_version=: ;;
   1152 
   1153   -with-* | --with-*)
   1154     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1155     # Reject names that are not valid shell variable names.
   1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1157       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1158     ac_useropt_orig=$ac_useropt
   1159     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1160     case $ac_user_opts in
   1161       *"
   1162 "with_$ac_useropt"
   1163 "*) ;;
   1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1165 	 ac_unrecognized_sep=', ';;
   1166     esac
   1167     eval with_$ac_useropt=\$ac_optarg ;;
   1168 
   1169   -without-* | --without-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=no ;;
   1184 
   1185   --x)
   1186     # Obsolete; use --with-x.
   1187     with_x=yes ;;
   1188 
   1189   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1190   | --x-incl | --x-inc | --x-in | --x-i)
   1191     ac_prev=x_includes ;;
   1192   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1193   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1194     x_includes=$ac_optarg ;;
   1195 
   1196   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1197   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1198     ac_prev=x_libraries ;;
   1199   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1200   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1201     x_libraries=$ac_optarg ;;
   1202 
   1203   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1204 Try \`$0 --help' for more information"
   1205     ;;
   1206 
   1207   *=*)
   1208     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1209     # Reject names that are not valid shell variable names.
   1210     case $ac_envvar in #(
   1211       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1212       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1213     esac
   1214     eval $ac_envvar=\$ac_optarg
   1215     export $ac_envvar ;;
   1216 
   1217   *)
   1218     # FIXME: should be removed in autoconf 3.0.
   1219     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1220     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1221       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1222     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1223     ;;
   1224 
   1225   esac
   1226 done
   1227 
   1228 if test -n "$ac_prev"; then
   1229   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1230   as_fn_error $? "missing argument to $ac_option"
   1231 fi
   1232 
   1233 if test -n "$ac_unrecognized_opts"; then
   1234   case $enable_option_checking in
   1235     no) ;;
   1236     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1237     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1238   esac
   1239 fi
   1240 
   1241 # Check all directory arguments for consistency.
   1242 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1243 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1244 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1245 		libdir localedir mandir runstatedir
   1246 do
   1247   eval ac_val=\$$ac_var
   1248   # Remove trailing slashes.
   1249   case $ac_val in
   1250     */ )
   1251       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1252       eval $ac_var=\$ac_val;;
   1253   esac
   1254   # Be sure to have absolute directory names.
   1255   case $ac_val in
   1256     [\\/$]* | ?:[\\/]* )  continue;;
   1257     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1258   esac
   1259   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1260 done
   1261 
   1262 # There might be people who depend on the old broken behavior: `$host'
   1263 # used to hold the argument of --host etc.
   1264 # FIXME: To remove some day.
   1265 build=$build_alias
   1266 host=$host_alias
   1267 target=$target_alias
   1268 
   1269 # FIXME: To remove some day.
   1270 if test "x$host_alias" != x; then
   1271   if test "x$build_alias" = x; then
   1272     cross_compiling=maybe
   1273   elif test "x$build_alias" != "x$host_alias"; then
   1274     cross_compiling=yes
   1275   fi
   1276 fi
   1277 
   1278 ac_tool_prefix=
   1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1280 
   1281 test "$silent" = yes && exec 6>/dev/null
   1282 
   1283 
   1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1285 ac_ls_di=`ls -di .` &&
   1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1287   as_fn_error $? "working directory cannot be determined"
   1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1289   as_fn_error $? "pwd does not report name of working directory"
   1290 
   1291 
   1292 # Find the source files, if location was not specified.
   1293 if test -z "$srcdir"; then
   1294   ac_srcdir_defaulted=yes
   1295   # Try the directory containing this script, then the parent directory.
   1296   ac_confdir=`$as_dirname -- "$as_myself" ||
   1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1298 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1299 	 X"$as_myself" : 'X\(//\)$' \| \
   1300 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1301 printf "%s\n" X"$as_myself" |
   1302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\/\)[^/].*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  /^X\(\/\/\)$/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  /^X\(\/\).*/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  s/.*/./; q'`
   1319   srcdir=$ac_confdir
   1320   if test ! -r "$srcdir/$ac_unique_file"; then
   1321     srcdir=..
   1322   fi
   1323 else
   1324   ac_srcdir_defaulted=no
   1325 fi
   1326 if test ! -r "$srcdir/$ac_unique_file"; then
   1327   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1328   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1329 fi
   1330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1331 ac_abs_confdir=`(
   1332 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1333 	pwd)`
   1334 # When building in place, set srcdir=.
   1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1336   srcdir=.
   1337 fi
   1338 # Remove unnecessary trailing slashes from srcdir.
   1339 # Double slashes in file names in object file debugging info
   1340 # mess up M-x gdb in Emacs.
   1341 case $srcdir in
   1342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1343 esac
   1344 for ac_var in $ac_precious_vars; do
   1345   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_env_${ac_var}_value=\$${ac_var}
   1347   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1348   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1349 done
   1350 
   1351 #
   1352 # Report the --help message.
   1353 #
   1354 if test "$ac_init_help" = "long"; then
   1355   # Omit some internal or obsolete options to make the list less imposing.
   1356   # This message is too long to be a string in the A/UX 3.1 sh.
   1357   cat <<_ACEOF
   1358 \`configure' configures rgb 1.1.0 to adapt to many kinds of systems.
   1359 
   1360 Usage: $0 [OPTION]... [VAR=VALUE]...
   1361 
   1362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1363 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1364 
   1365 Defaults for the options are specified in brackets.
   1366 
   1367 Configuration:
   1368   -h, --help              display this help and exit
   1369       --help=short        display options specific to this package
   1370       --help=recursive    display the short help of all the included packages
   1371   -V, --version           display version information and exit
   1372   -q, --quiet, --silent   do not print \`checking ...' messages
   1373       --cache-file=FILE   cache test results in FILE [disabled]
   1374   -C, --config-cache      alias for \`--cache-file=config.cache'
   1375   -n, --no-create         do not create output files
   1376       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1377 
   1378 Installation directories:
   1379   --prefix=PREFIX         install architecture-independent files in PREFIX
   1380                           [$ac_default_prefix]
   1381   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1382                           [PREFIX]
   1383 
   1384 By default, \`make install' will install all the files in
   1385 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1386 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1387 for instance \`--prefix=\$HOME'.
   1388 
   1389 For better control, use the options below.
   1390 
   1391 Fine tuning of the installation directories:
   1392   --bindir=DIR            user executables [EPREFIX/bin]
   1393   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1394   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1395   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1396   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1397   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1398   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1399   --libdir=DIR            object code libraries [EPREFIX/lib]
   1400   --includedir=DIR        C header files [PREFIX/include]
   1401   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1402   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1403   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1404   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1405   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1406   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1407   --docdir=DIR            documentation root [DATAROOTDIR/doc/rgb]
   1408   --htmldir=DIR           html documentation [DOCDIR]
   1409   --dvidir=DIR            dvi documentation [DOCDIR]
   1410   --pdfdir=DIR            pdf documentation [DOCDIR]
   1411   --psdir=DIR             ps documentation [DOCDIR]
   1412 _ACEOF
   1413 
   1414   cat <<\_ACEOF
   1415 
   1416 Program names:
   1417   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1418   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1419   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1420 
   1421 System types:
   1422   --build=BUILD     configure for building on BUILD [guessed]
   1423   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1424 _ACEOF
   1425 fi
   1426 
   1427 if test -n "$ac_init_help"; then
   1428   case $ac_init_help in
   1429      short | recursive ) echo "Configuration of rgb 1.1.0:";;
   1430    esac
   1431   cat <<\_ACEOF
   1432 
   1433 Optional Features:
   1434   --disable-option-checking  ignore unrecognized --enable/--with options
   1435   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1436   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1437   --enable-dependency-tracking
   1438                           do not reject slow dependency extractors
   1439   --disable-dependency-tracking
   1440                           speeds up one-time build
   1441   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1442   --disable-silent-rules  verbose build output (undo: "make V=0")
   1443   --disable-selective-werror
   1444                           Turn off selective compiler errors. (default:
   1445                           enabled)
   1446   --enable-strict-compilation
   1447                           Enable all warnings from compiler and make them
   1448                           errors (default: disabled)
   1449 
   1450 Optional Packages:
   1451   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1452   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1453   --with-rgb-db-dir=<path>
   1454                           rgb database location (default is
   1455                           ${datadir}/X11/rgb)
   1456   --with-rgb-db-type=(text|dbm|ndbm)
   1457                           rgb database type (default is text)
   1458   --with-rgb-db-library=<library-name>
   1459                           rgb database library (default is to search for one)
   1460 
   1461 Some influential environment variables:
   1462   CC          C compiler command
   1463   CFLAGS      C compiler flags
   1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1465               nonstandard directory <lib dir>
   1466   LIBS        libraries to pass to the linker, e.g. -l<library>
   1467   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1468               you have headers in a nonstandard directory <include dir>
   1469   PKG_CONFIG  path to pkg-config utility
   1470   PKG_CONFIG_PATH
   1471               directories to add to pkg-config's search path
   1472   PKG_CONFIG_LIBDIR
   1473               path overriding pkg-config's built-in search path
   1474   RGB_CFLAGS  C compiler flags for RGB, overriding pkg-config
   1475   RGB_LIBS    linker flags for RGB, overriding pkg-config
   1476   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1477   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1478 
   1479 Use these variables to override the choices made by `configure' or to help
   1480 it to find libraries and programs with nonstandard names/locations.
   1481 
   1482 Report bugs to <https://gitlab.freedesktop.org/xorg/app/rgb/-/issues>.
   1483 _ACEOF
   1484 ac_status=$?
   1485 fi
   1486 
   1487 if test "$ac_init_help" = "recursive"; then
   1488   # If there are subdirs, report their specific --help.
   1489   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1490     test -d "$ac_dir" ||
   1491       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1492       continue
   1493     ac_builddir=.
   1494 
   1495 case "$ac_dir" in
   1496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1497 *)
   1498   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1499   # A ".." for each directory in $ac_dir_suffix.
   1500   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1501   case $ac_top_builddir_sub in
   1502   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1503   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1504   esac ;;
   1505 esac
   1506 ac_abs_top_builddir=$ac_pwd
   1507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1508 # for backward compatibility:
   1509 ac_top_builddir=$ac_top_build_prefix
   1510 
   1511 case $srcdir in
   1512   .)  # We are building in place.
   1513     ac_srcdir=.
   1514     ac_top_srcdir=$ac_top_builddir_sub
   1515     ac_abs_top_srcdir=$ac_pwd ;;
   1516   [\\/]* | ?:[\\/]* )  # Absolute name.
   1517     ac_srcdir=$srcdir$ac_dir_suffix;
   1518     ac_top_srcdir=$srcdir
   1519     ac_abs_top_srcdir=$srcdir ;;
   1520   *) # Relative name.
   1521     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1522     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1523     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1524 esac
   1525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1526 
   1527     cd "$ac_dir" || { ac_status=$?; continue; }
   1528     # Check for configure.gnu first; this name is used for a wrapper for
   1529     # Metaconfig's "Configure" on case-insensitive file systems.
   1530     if test -f "$ac_srcdir/configure.gnu"; then
   1531       echo &&
   1532       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1533     elif test -f "$ac_srcdir/configure"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure" --help=recursive
   1536     else
   1537       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1538     fi || ac_status=$?
   1539     cd "$ac_pwd" || { ac_status=$?; break; }
   1540   done
   1541 fi
   1542 
   1543 test -n "$ac_init_help" && exit $ac_status
   1544 if $ac_init_version; then
   1545   cat <<\_ACEOF
   1546 rgb configure 1.1.0
   1547 generated by GNU Autoconf 2.71
   1548 
   1549 Copyright (C) 2021 Free Software Foundation, Inc.
   1550 This configure script is free software; the Free Software Foundation
   1551 gives unlimited permission to copy, distribute and modify it.
   1552 _ACEOF
   1553   exit
   1554 fi
   1555 
   1556 ## ------------------------ ##
   1557 ## Autoconf initialization. ##
   1558 ## ------------------------ ##
   1559 
   1560 # ac_fn_c_try_compile LINENO
   1561 # --------------------------
   1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1563 ac_fn_c_try_compile ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   rm -f conftest.$ac_objext conftest.beam
   1567   if { { ac_try="$ac_compile"
   1568 case "(($ac_try" in
   1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1570   *) ac_try_echo=$ac_try;;
   1571 esac
   1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1573 printf "%s\n" "$ac_try_echo"; } >&5
   1574   (eval "$ac_compile") 2>conftest.err
   1575   ac_status=$?
   1576   if test -s conftest.err; then
   1577     grep -v '^ *+' conftest.err >conftest.er1
   1578     cat conftest.er1 >&5
   1579     mv -f conftest.er1 conftest.err
   1580   fi
   1581   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1582   test $ac_status = 0; } && {
   1583 	 test -z "$ac_c_werror_flag" ||
   1584 	 test ! -s conftest.err
   1585        } && test -s conftest.$ac_objext
   1586 then :
   1587   ac_retval=0
   1588 else $as_nop
   1589   printf "%s\n" "$as_me: failed program was:" >&5
   1590 sed 's/^/| /' conftest.$ac_ext >&5
   1591 
   1592 	ac_retval=1
   1593 fi
   1594   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1595   as_fn_set_status $ac_retval
   1596 
   1597 } # ac_fn_c_try_compile
   1598 
   1599 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1600 # -------------------------------------------------------
   1601 # Tests whether HEADER exists and can be compiled using the include files in
   1602 # INCLUDES, setting the cache variable VAR accordingly.
   1603 ac_fn_c_check_header_compile ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1607 printf %s "checking for $2... " >&6; }
   1608 if eval test \${$3+y}
   1609 then :
   1610   printf %s "(cached) " >&6
   1611 else $as_nop
   1612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1613 /* end confdefs.h.  */
   1614 $4
   1615 #include <$2>
   1616 _ACEOF
   1617 if ac_fn_c_try_compile "$LINENO"
   1618 then :
   1619   eval "$3=yes"
   1620 else $as_nop
   1621   eval "$3=no"
   1622 fi
   1623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1624 fi
   1625 eval ac_res=\$$3
   1626 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1627 printf "%s\n" "$ac_res" >&6; }
   1628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1629 
   1630 } # ac_fn_c_check_header_compile
   1631 
   1632 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1633 # ------------------------------------------------------------------
   1634 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1635 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1636 ac_fn_check_decl ()
   1637 {
   1638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1639   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1641 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1642 if eval test \${$3+y}
   1643 then :
   1644   printf %s "(cached) " >&6
   1645 else $as_nop
   1646   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1647   eval ac_save_FLAGS=\$$6
   1648   as_fn_append $6 " $5"
   1649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1650 /* end confdefs.h.  */
   1651 $4
   1652 int
   1653 main (void)
   1654 {
   1655 #ifndef $as_decl_name
   1656 #ifdef __cplusplus
   1657   (void) $as_decl_use;
   1658 #else
   1659   (void) $as_decl_name;
   1660 #endif
   1661 #endif
   1662 
   1663   ;
   1664   return 0;
   1665 }
   1666 _ACEOF
   1667 if ac_fn_c_try_compile "$LINENO"
   1668 then :
   1669   eval "$3=yes"
   1670 else $as_nop
   1671   eval "$3=no"
   1672 fi
   1673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1674   eval $6=\$ac_save_FLAGS
   1675 
   1676 fi
   1677 eval ac_res=\$$3
   1678 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1679 printf "%s\n" "$ac_res" >&6; }
   1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1681 
   1682 } # ac_fn_check_decl
   1683 
   1684 # ac_fn_c_try_link LINENO
   1685 # -----------------------
   1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1687 ac_fn_c_try_link ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1691   if { { ac_try="$ac_link"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 printf "%s\n" "$ac_try_echo"; } >&5
   1698   (eval "$ac_link") 2>conftest.err
   1699   ac_status=$?
   1700   if test -s conftest.err; then
   1701     grep -v '^ *+' conftest.err >conftest.er1
   1702     cat conftest.er1 >&5
   1703     mv -f conftest.er1 conftest.err
   1704   fi
   1705   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } && {
   1707 	 test -z "$ac_c_werror_flag" ||
   1708 	 test ! -s conftest.err
   1709        } && test -s conftest$ac_exeext && {
   1710 	 test "$cross_compiling" = yes ||
   1711 	 test -x conftest$ac_exeext
   1712        }
   1713 then :
   1714   ac_retval=0
   1715 else $as_nop
   1716   printf "%s\n" "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719 	ac_retval=1
   1720 fi
   1721   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1722   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1723   # interfere with the next link command; also delete a directory that is
   1724   # left behind by Apple's compiler.  We do this before executing the actions.
   1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727   as_fn_set_status $ac_retval
   1728 
   1729 } # ac_fn_c_try_link
   1730 
   1731 # ac_fn_c_check_func LINENO FUNC VAR
   1732 # ----------------------------------
   1733 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1734 ac_fn_c_check_func ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 printf %s "checking for $2... " >&6; }
   1739 if eval test \${$3+y}
   1740 then :
   1741   printf %s "(cached) " >&6
   1742 else $as_nop
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1747 #define $2 innocuous_$2
   1748 
   1749 /* System header to define __stub macros and hopefully few prototypes,
   1750    which can conflict with char $2 (); below.  */
   1751 
   1752 #include <limits.h>
   1753 #undef $2
   1754 
   1755 /* Override any GCC internal prototype to avoid an error.
   1756    Use char because int might match the return type of a GCC
   1757    builtin and then its argument prototype would still apply.  */
   1758 #ifdef __cplusplus
   1759 extern "C"
   1760 #endif
   1761 char $2 ();
   1762 /* The GNU C library defines this for functions which it implements
   1763     to always fail with ENOSYS.  Some functions are actually named
   1764     something starting with __ and the normal name is an alias.  */
   1765 #if defined __stub_$2 || defined __stub___$2
   1766 choke me
   1767 #endif
   1768 
   1769 int
   1770 main (void)
   1771 {
   1772 return $2 ();
   1773   ;
   1774   return 0;
   1775 }
   1776 _ACEOF
   1777 if ac_fn_c_try_link "$LINENO"
   1778 then :
   1779   eval "$3=yes"
   1780 else $as_nop
   1781   eval "$3=no"
   1782 fi
   1783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1784     conftest$ac_exeext conftest.$ac_ext
   1785 fi
   1786 eval ac_res=\$$3
   1787 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1788 printf "%s\n" "$ac_res" >&6; }
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790 
   1791 } # ac_fn_c_check_func
   1792 ac_configure_args_raw=
   1793 for ac_arg
   1794 do
   1795   case $ac_arg in
   1796   *\'*)
   1797     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1798   esac
   1799   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1800 done
   1801 
   1802 case $ac_configure_args_raw in
   1803   *$as_nl*)
   1804     ac_safe_unquote= ;;
   1805   *)
   1806     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1807     ac_unsafe_a="$ac_unsafe_z#~"
   1808     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1809     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1810 esac
   1811 
   1812 cat >config.log <<_ACEOF
   1813 This file contains any messages produced by compilers while
   1814 running configure, to aid debugging if configure makes a mistake.
   1815 
   1816 It was created by rgb $as_me 1.1.0, which was
   1817 generated by GNU Autoconf 2.71.  Invocation command line was
   1818 
   1819   $ $0$ac_configure_args_raw
   1820 
   1821 _ACEOF
   1822 exec 5>>config.log
   1823 {
   1824 cat <<_ASUNAME
   1825 ## --------- ##
   1826 ## Platform. ##
   1827 ## --------- ##
   1828 
   1829 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1830 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1831 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1832 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1833 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1834 
   1835 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1836 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1837 
   1838 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1839 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1840 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1841 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1842 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1843 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1844 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1845 
   1846 _ASUNAME
   1847 
   1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1849 for as_dir in $PATH
   1850 do
   1851   IFS=$as_save_IFS
   1852   case $as_dir in #(((
   1853     '') as_dir=./ ;;
   1854     */) ;;
   1855     *) as_dir=$as_dir/ ;;
   1856   esac
   1857     printf "%s\n" "PATH: $as_dir"
   1858   done
   1859 IFS=$as_save_IFS
   1860 
   1861 } >&5
   1862 
   1863 cat >&5 <<_ACEOF
   1864 
   1865 
   1866 ## ----------- ##
   1867 ## Core tests. ##
   1868 ## ----------- ##
   1869 
   1870 _ACEOF
   1871 
   1872 
   1873 # Keep a trace of the command line.
   1874 # Strip out --no-create and --no-recursion so they do not pile up.
   1875 # Strip out --silent because we don't want to record it for future runs.
   1876 # Also quote any args containing shell meta-characters.
   1877 # Make two passes to allow for proper duplicate-argument suppression.
   1878 ac_configure_args=
   1879 ac_configure_args0=
   1880 ac_configure_args1=
   1881 ac_must_keep_next=false
   1882 for ac_pass in 1 2
   1883 do
   1884   for ac_arg
   1885   do
   1886     case $ac_arg in
   1887     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1888     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1889     | -silent | --silent | --silen | --sile | --sil)
   1890       continue ;;
   1891     *\'*)
   1892       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1893     esac
   1894     case $ac_pass in
   1895     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1896     2)
   1897       as_fn_append ac_configure_args1 " '$ac_arg'"
   1898       if test $ac_must_keep_next = true; then
   1899 	ac_must_keep_next=false # Got value, back to normal.
   1900       else
   1901 	case $ac_arg in
   1902 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1903 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1904 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1905 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1906 	    case "$ac_configure_args0 " in
   1907 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1908 	    esac
   1909 	    ;;
   1910 	  -* ) ac_must_keep_next=true ;;
   1911 	esac
   1912       fi
   1913       as_fn_append ac_configure_args " '$ac_arg'"
   1914       ;;
   1915     esac
   1916   done
   1917 done
   1918 { ac_configure_args0=; unset ac_configure_args0;}
   1919 { ac_configure_args1=; unset ac_configure_args1;}
   1920 
   1921 # When interrupted or exit'd, cleanup temporary files, and complete
   1922 # config.log.  We remove comments because anyway the quotes in there
   1923 # would cause problems or look ugly.
   1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1926 trap 'exit_status=$?
   1927   # Sanitize IFS.
   1928   IFS=" ""	$as_nl"
   1929   # Save into config.log some information that might help in debugging.
   1930   {
   1931     echo
   1932 
   1933     printf "%s\n" "## ---------------- ##
   1934 ## Cache variables. ##
   1935 ## ---------------- ##"
   1936     echo
   1937     # The following way of writing the cache mishandles newlines in values,
   1938 (
   1939   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1940     eval ac_val=\$$ac_var
   1941     case $ac_val in #(
   1942     *${as_nl}*)
   1943       case $ac_var in #(
   1944       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1945 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1946       esac
   1947       case $ac_var in #(
   1948       _ | IFS | as_nl) ;; #(
   1949       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1950       *) { eval $ac_var=; unset $ac_var;} ;;
   1951       esac ;;
   1952     esac
   1953   done
   1954   (set) 2>&1 |
   1955     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1956     *${as_nl}ac_space=\ *)
   1957       sed -n \
   1958 	"s/'\''/'\''\\\\'\'''\''/g;
   1959 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1960       ;; #(
   1961     *)
   1962       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1963       ;;
   1964     esac |
   1965     sort
   1966 )
   1967     echo
   1968 
   1969     printf "%s\n" "## ----------------- ##
   1970 ## Output variables. ##
   1971 ## ----------------- ##"
   1972     echo
   1973     for ac_var in $ac_subst_vars
   1974     do
   1975       eval ac_val=\$$ac_var
   1976       case $ac_val in
   1977       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1978       esac
   1979       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1980     done | sort
   1981     echo
   1982 
   1983     if test -n "$ac_subst_files"; then
   1984       printf "%s\n" "## ------------------- ##
   1985 ## File substitutions. ##
   1986 ## ------------------- ##"
   1987       echo
   1988       for ac_var in $ac_subst_files
   1989       do
   1990 	eval ac_val=\$$ac_var
   1991 	case $ac_val in
   1992 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1993 	esac
   1994 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1995       done | sort
   1996       echo
   1997     fi
   1998 
   1999     if test -s confdefs.h; then
   2000       printf "%s\n" "## ----------- ##
   2001 ## confdefs.h. ##
   2002 ## ----------- ##"
   2003       echo
   2004       cat confdefs.h
   2005       echo
   2006     fi
   2007     test "$ac_signal" != 0 &&
   2008       printf "%s\n" "$as_me: caught signal $ac_signal"
   2009     printf "%s\n" "$as_me: exit $exit_status"
   2010   } >&5
   2011   rm -f core *.core core.conftest.* &&
   2012     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2013     exit $exit_status
   2014 ' 0
   2015 for ac_signal in 1 2 13 15; do
   2016   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2017 done
   2018 ac_signal=0
   2019 
   2020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2021 rm -f -r conftest* confdefs.h
   2022 
   2023 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2024 
   2025 # Predefined preprocessor variables.
   2026 
   2027 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2028 
   2029 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2030 
   2031 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2032 
   2033 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2034 
   2035 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2036 
   2037 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2038 
   2039 
   2040 # Let the site file select an alternate cache file if it wants to.
   2041 # Prefer an explicitly selected file to automatically selected ones.
   2042 if test -n "$CONFIG_SITE"; then
   2043   ac_site_files="$CONFIG_SITE"
   2044 elif test "x$prefix" != xNONE; then
   2045   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2046 else
   2047   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2048 fi
   2049 
   2050 for ac_site_file in $ac_site_files
   2051 do
   2052   case $ac_site_file in #(
   2053   */*) :
   2054      ;; #(
   2055   *) :
   2056     ac_site_file=./$ac_site_file ;;
   2057 esac
   2058   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2059     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2060 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2061     sed 's/^/| /' "$ac_site_file" >&5
   2062     . "$ac_site_file" \
   2063       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2064 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2065 as_fn_error $? "failed to load site script $ac_site_file
   2066 See \`config.log' for more details" "$LINENO" 5; }
   2067   fi
   2068 done
   2069 
   2070 if test -r "$cache_file"; then
   2071   # Some versions of bash will fail to source /dev/null (special files
   2072   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2073   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2074     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2075 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2076     case $cache_file in
   2077       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2078       *)                      . "./$cache_file";;
   2079     esac
   2080   fi
   2081 else
   2082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2083 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2084   >$cache_file
   2085 fi
   2086 
   2087 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2088 # Test code for whether the C compiler supports C89 (global declarations)
   2089 ac_c_conftest_c89_globals='
   2090 /* Does the compiler advertise C89 conformance?
   2091    Do not test the value of __STDC__, because some compilers set it to 0
   2092    while being otherwise adequately conformant. */
   2093 #if !defined __STDC__
   2094 # error "Compiler does not advertise C89 conformance"
   2095 #endif
   2096 
   2097 #include <stddef.h>
   2098 #include <stdarg.h>
   2099 struct stat;
   2100 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2101 struct buf { int x; };
   2102 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2103 static char *e (p, i)
   2104      char **p;
   2105      int i;
   2106 {
   2107   return p[i];
   2108 }
   2109 static char *f (char * (*g) (char **, int), char **p, ...)
   2110 {
   2111   char *s;
   2112   va_list v;
   2113   va_start (v,p);
   2114   s = g (p, va_arg (v,int));
   2115   va_end (v);
   2116   return s;
   2117 }
   2118 
   2119 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2120    function prototypes and stuff, but not \xHH hex character constants.
   2121    These do not provoke an error unfortunately, instead are silently treated
   2122    as an "x".  The following induces an error, until -std is added to get
   2123    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2124    array size at least.  It is necessary to write \x00 == 0 to get something
   2125    that is true only with -std.  */
   2126 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2127 
   2128 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2129    inside strings and character constants.  */
   2130 #define FOO(x) '\''x'\''
   2131 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2132 
   2133 int test (int i, double x);
   2134 struct s1 {int (*f) (int a);};
   2135 struct s2 {int (*f) (double a);};
   2136 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2137                int, int);'
   2138 
   2139 # Test code for whether the C compiler supports C89 (body of main).
   2140 ac_c_conftest_c89_main='
   2141 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2142 '
   2143 
   2144 # Test code for whether the C compiler supports C99 (global declarations)
   2145 ac_c_conftest_c99_globals='
   2146 // Does the compiler advertise C99 conformance?
   2147 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2148 # error "Compiler does not advertise C99 conformance"
   2149 #endif
   2150 
   2151 #include <stdbool.h>
   2152 extern int puts (const char *);
   2153 extern int printf (const char *, ...);
   2154 extern int dprintf (int, const char *, ...);
   2155 extern void *malloc (size_t);
   2156 
   2157 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2158 // dprintf is used instead of fprintf to avoid needing to declare
   2159 // FILE and stderr.
   2160 #define debug(...) dprintf (2, __VA_ARGS__)
   2161 #define showlist(...) puts (#__VA_ARGS__)
   2162 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2163 static void
   2164 test_varargs_macros (void)
   2165 {
   2166   int x = 1234;
   2167   int y = 5678;
   2168   debug ("Flag");
   2169   debug ("X = %d\n", x);
   2170   showlist (The first, second, and third items.);
   2171   report (x>y, "x is %d but y is %d", x, y);
   2172 }
   2173 
   2174 // Check long long types.
   2175 #define BIG64 18446744073709551615ull
   2176 #define BIG32 4294967295ul
   2177 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2178 #if !BIG_OK
   2179   #error "your preprocessor is broken"
   2180 #endif
   2181 #if BIG_OK
   2182 #else
   2183   #error "your preprocessor is broken"
   2184 #endif
   2185 static long long int bignum = -9223372036854775807LL;
   2186 static unsigned long long int ubignum = BIG64;
   2187 
   2188 struct incomplete_array
   2189 {
   2190   int datasize;
   2191   double data[];
   2192 };
   2193 
   2194 struct named_init {
   2195   int number;
   2196   const wchar_t *name;
   2197   double average;
   2198 };
   2199 
   2200 typedef const char *ccp;
   2201 
   2202 static inline int
   2203 test_restrict (ccp restrict text)
   2204 {
   2205   // See if C++-style comments work.
   2206   // Iterate through items via the restricted pointer.
   2207   // Also check for declarations in for loops.
   2208   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2209     continue;
   2210   return 0;
   2211 }
   2212 
   2213 // Check varargs and va_copy.
   2214 static bool
   2215 test_varargs (const char *format, ...)
   2216 {
   2217   va_list args;
   2218   va_start (args, format);
   2219   va_list args_copy;
   2220   va_copy (args_copy, args);
   2221 
   2222   const char *str = "";
   2223   int number = 0;
   2224   float fnumber = 0;
   2225 
   2226   while (*format)
   2227     {
   2228       switch (*format++)
   2229 	{
   2230 	case '\''s'\'': // string
   2231 	  str = va_arg (args_copy, const char *);
   2232 	  break;
   2233 	case '\''d'\'': // int
   2234 	  number = va_arg (args_copy, int);
   2235 	  break;
   2236 	case '\''f'\'': // float
   2237 	  fnumber = va_arg (args_copy, double);
   2238 	  break;
   2239 	default:
   2240 	  break;
   2241 	}
   2242     }
   2243   va_end (args_copy);
   2244   va_end (args);
   2245 
   2246   return *str && number && fnumber;
   2247 }
   2248 '
   2249 
   2250 # Test code for whether the C compiler supports C99 (body of main).
   2251 ac_c_conftest_c99_main='
   2252   // Check bool.
   2253   _Bool success = false;
   2254   success |= (argc != 0);
   2255 
   2256   // Check restrict.
   2257   if (test_restrict ("String literal") == 0)
   2258     success = true;
   2259   char *restrict newvar = "Another string";
   2260 
   2261   // Check varargs.
   2262   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2263   test_varargs_macros ();
   2264 
   2265   // Check flexible array members.
   2266   struct incomplete_array *ia =
   2267     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2268   ia->datasize = 10;
   2269   for (int i = 0; i < ia->datasize; ++i)
   2270     ia->data[i] = i * 1.234;
   2271 
   2272   // Check named initializers.
   2273   struct named_init ni = {
   2274     .number = 34,
   2275     .name = L"Test wide string",
   2276     .average = 543.34343,
   2277   };
   2278 
   2279   ni.number = 58;
   2280 
   2281   int dynamic_array[ni.number];
   2282   dynamic_array[0] = argv[0][0];
   2283   dynamic_array[ni.number - 1] = 543;
   2284 
   2285   // work around unused variable warnings
   2286   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2287 	 || dynamic_array[ni.number - 1] != 543);
   2288 '
   2289 
   2290 # Test code for whether the C compiler supports C11 (global declarations)
   2291 ac_c_conftest_c11_globals='
   2292 // Does the compiler advertise C11 conformance?
   2293 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2294 # error "Compiler does not advertise C11 conformance"
   2295 #endif
   2296 
   2297 // Check _Alignas.
   2298 char _Alignas (double) aligned_as_double;
   2299 char _Alignas (0) no_special_alignment;
   2300 extern char aligned_as_int;
   2301 char _Alignas (0) _Alignas (int) aligned_as_int;
   2302 
   2303 // Check _Alignof.
   2304 enum
   2305 {
   2306   int_alignment = _Alignof (int),
   2307   int_array_alignment = _Alignof (int[100]),
   2308   char_alignment = _Alignof (char)
   2309 };
   2310 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2311 
   2312 // Check _Noreturn.
   2313 int _Noreturn does_not_return (void) { for (;;) continue; }
   2314 
   2315 // Check _Static_assert.
   2316 struct test_static_assert
   2317 {
   2318   int x;
   2319   _Static_assert (sizeof (int) <= sizeof (long int),
   2320                   "_Static_assert does not work in struct");
   2321   long int y;
   2322 };
   2323 
   2324 // Check UTF-8 literals.
   2325 #define u8 syntax error!
   2326 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2327 
   2328 // Check duplicate typedefs.
   2329 typedef long *long_ptr;
   2330 typedef long int *long_ptr;
   2331 typedef long_ptr long_ptr;
   2332 
   2333 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2334 struct anonymous
   2335 {
   2336   union {
   2337     struct { int i; int j; };
   2338     struct { int k; long int l; } w;
   2339   };
   2340   int m;
   2341 } v1;
   2342 '
   2343 
   2344 # Test code for whether the C compiler supports C11 (body of main).
   2345 ac_c_conftest_c11_main='
   2346   _Static_assert ((offsetof (struct anonymous, i)
   2347 		   == offsetof (struct anonymous, w.k)),
   2348 		  "Anonymous union alignment botch");
   2349   v1.i = 2;
   2350   v1.w.k = 5;
   2351   ok |= v1.i != 5;
   2352 '
   2353 
   2354 # Test code for whether the C compiler supports C11 (complete).
   2355 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2356 ${ac_c_conftest_c99_globals}
   2357 ${ac_c_conftest_c11_globals}
   2358 
   2359 int
   2360 main (int argc, char **argv)
   2361 {
   2362   int ok = 0;
   2363   ${ac_c_conftest_c89_main}
   2364   ${ac_c_conftest_c99_main}
   2365   ${ac_c_conftest_c11_main}
   2366   return ok;
   2367 }
   2368 "
   2369 
   2370 # Test code for whether the C compiler supports C99 (complete).
   2371 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2372 ${ac_c_conftest_c99_globals}
   2373 
   2374 int
   2375 main (int argc, char **argv)
   2376 {
   2377   int ok = 0;
   2378   ${ac_c_conftest_c89_main}
   2379   ${ac_c_conftest_c99_main}
   2380   return ok;
   2381 }
   2382 "
   2383 
   2384 # Test code for whether the C compiler supports C89 (complete).
   2385 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2386 
   2387 int
   2388 main (int argc, char **argv)
   2389 {
   2390   int ok = 0;
   2391   ${ac_c_conftest_c89_main}
   2392   return ok;
   2393 }
   2394 "
   2395 
   2396 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2397 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2398 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2399 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2400 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2401 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2402 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2403 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2404 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2405 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2406 
   2407 # Auxiliary files required by this configure script.
   2408 ac_aux_files="config.guess config.sub missing install-sh compile"
   2409 
   2410 # Locations in which to look for auxiliary files.
   2411 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2412 
   2413 # Search for a directory containing all of the required auxiliary files,
   2414 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2415 # If we don't find one directory that contains all the files we need,
   2416 # we report the set of missing files from the *first* directory in
   2417 # $ac_aux_dir_candidates and give up.
   2418 ac_missing_aux_files=""
   2419 ac_first_candidate=:
   2420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2422 as_found=false
   2423 for as_dir in $ac_aux_dir_candidates
   2424 do
   2425   IFS=$as_save_IFS
   2426   case $as_dir in #(((
   2427     '') as_dir=./ ;;
   2428     */) ;;
   2429     *) as_dir=$as_dir/ ;;
   2430   esac
   2431   as_found=:
   2432 
   2433   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2434   ac_aux_dir_found=yes
   2435   ac_install_sh=
   2436   for ac_aux in $ac_aux_files
   2437   do
   2438     # As a special case, if "install-sh" is required, that requirement
   2439     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2440     # and $ac_install_sh is set appropriately for whichever one is found.
   2441     if test x"$ac_aux" = x"install-sh"
   2442     then
   2443       if test -f "${as_dir}install-sh"; then
   2444         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2445         ac_install_sh="${as_dir}install-sh -c"
   2446       elif test -f "${as_dir}install.sh"; then
   2447         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2448         ac_install_sh="${as_dir}install.sh -c"
   2449       elif test -f "${as_dir}shtool"; then
   2450         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2451         ac_install_sh="${as_dir}shtool install -c"
   2452       else
   2453         ac_aux_dir_found=no
   2454         if $ac_first_candidate; then
   2455           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2456         else
   2457           break
   2458         fi
   2459       fi
   2460     else
   2461       if test -f "${as_dir}${ac_aux}"; then
   2462         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2463       else
   2464         ac_aux_dir_found=no
   2465         if $ac_first_candidate; then
   2466           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2467         else
   2468           break
   2469         fi
   2470       fi
   2471     fi
   2472   done
   2473   if test "$ac_aux_dir_found" = yes; then
   2474     ac_aux_dir="$as_dir"
   2475     break
   2476   fi
   2477   ac_first_candidate=false
   2478 
   2479   as_found=false
   2480 done
   2481 IFS=$as_save_IFS
   2482 if $as_found
   2483 then :
   2484 
   2485 else $as_nop
   2486   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2487 fi
   2488 
   2489 
   2490 # These three variables are undocumented and unsupported,
   2491 # and are intended to be withdrawn in a future Autoconf release.
   2492 # They can cause serious problems if a builder's source tree is in a directory
   2493 # whose full name contains unusual characters.
   2494 if test -f "${ac_aux_dir}config.guess"; then
   2495   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2496 fi
   2497 if test -f "${ac_aux_dir}config.sub"; then
   2498   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2499 fi
   2500 if test -f "$ac_aux_dir/configure"; then
   2501   ac_configure="$SHELL ${ac_aux_dir}configure"
   2502 fi
   2503 
   2504 # Check that the precious variables saved in the cache have kept the same
   2505 # value.
   2506 ac_cache_corrupted=false
   2507 for ac_var in $ac_precious_vars; do
   2508   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2509   eval ac_new_set=\$ac_env_${ac_var}_set
   2510   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2511   eval ac_new_val=\$ac_env_${ac_var}_value
   2512   case $ac_old_set,$ac_new_set in
   2513     set,)
   2514       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2515 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2516       ac_cache_corrupted=: ;;
   2517     ,set)
   2518       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2519 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2520       ac_cache_corrupted=: ;;
   2521     ,);;
   2522     *)
   2523       if test "x$ac_old_val" != "x$ac_new_val"; then
   2524 	# differences in whitespace do not lead to failure.
   2525 	ac_old_val_w=`echo x $ac_old_val`
   2526 	ac_new_val_w=`echo x $ac_new_val`
   2527 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2528 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2529 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2530 	  ac_cache_corrupted=:
   2531 	else
   2532 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2533 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2534 	  eval $ac_var=\$ac_old_val
   2535 	fi
   2536 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2537 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2539 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2540       fi;;
   2541   esac
   2542   # Pass precious variables to config.status.
   2543   if test "$ac_new_set" = set; then
   2544     case $ac_new_val in
   2545     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2546     *) ac_arg=$ac_var=$ac_new_val ;;
   2547     esac
   2548     case " $ac_configure_args " in
   2549       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2550       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2551     esac
   2552   fi
   2553 done
   2554 if $ac_cache_corrupted; then
   2555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2556 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2558 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2559   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2560 	    and start over" "$LINENO" 5
   2561 fi
   2562 ## -------------------- ##
   2563 ## Main body of script. ##
   2564 ## -------------------- ##
   2565 
   2566 ac_ext=c
   2567 ac_cpp='$CPP $CPPFLAGS'
   2568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2571 
   2572 
   2573 
   2574 ac_config_headers="$ac_config_headers config.h"
   2575 
   2576 
   2577 
   2578 
   2579 
   2580 
   2581 
   2582 
   2583 
   2584 
   2585 
   2586 
   2587 # Expand $ac_aux_dir to an absolute path.
   2588 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2589 
   2590 ac_ext=c
   2591 ac_cpp='$CPP $CPPFLAGS'
   2592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2595 if test -n "$ac_tool_prefix"; then
   2596   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2597 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2599 printf %s "checking for $ac_word... " >&6; }
   2600 if test ${ac_cv_prog_CC+y}
   2601 then :
   2602   printf %s "(cached) " >&6
   2603 else $as_nop
   2604   if test -n "$CC"; then
   2605   ac_cv_prog_CC="$CC" # Let the user override the test.
   2606 else
   2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2608 for as_dir in $PATH
   2609 do
   2610   IFS=$as_save_IFS
   2611   case $as_dir in #(((
   2612     '') as_dir=./ ;;
   2613     */) ;;
   2614     *) as_dir=$as_dir/ ;;
   2615   esac
   2616     for ac_exec_ext in '' $ac_executable_extensions; do
   2617   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2618     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2619     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2620     break 2
   2621   fi
   2622 done
   2623   done
   2624 IFS=$as_save_IFS
   2625 
   2626 fi
   2627 fi
   2628 CC=$ac_cv_prog_CC
   2629 if test -n "$CC"; then
   2630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2631 printf "%s\n" "$CC" >&6; }
   2632 else
   2633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2634 printf "%s\n" "no" >&6; }
   2635 fi
   2636 
   2637 
   2638 fi
   2639 if test -z "$ac_cv_prog_CC"; then
   2640   ac_ct_CC=$CC
   2641   # Extract the first word of "gcc", so it can be a program name with args.
   2642 set dummy gcc; ac_word=$2
   2643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2644 printf %s "checking for $ac_word... " >&6; }
   2645 if test ${ac_cv_prog_ac_ct_CC+y}
   2646 then :
   2647   printf %s "(cached) " >&6
   2648 else $as_nop
   2649   if test -n "$ac_ct_CC"; then
   2650   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2651 else
   2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2653 for as_dir in $PATH
   2654 do
   2655   IFS=$as_save_IFS
   2656   case $as_dir in #(((
   2657     '') as_dir=./ ;;
   2658     */) ;;
   2659     *) as_dir=$as_dir/ ;;
   2660   esac
   2661     for ac_exec_ext in '' $ac_executable_extensions; do
   2662   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2663     ac_cv_prog_ac_ct_CC="gcc"
   2664     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2665     break 2
   2666   fi
   2667 done
   2668   done
   2669 IFS=$as_save_IFS
   2670 
   2671 fi
   2672 fi
   2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2674 if test -n "$ac_ct_CC"; then
   2675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2676 printf "%s\n" "$ac_ct_CC" >&6; }
   2677 else
   2678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2679 printf "%s\n" "no" >&6; }
   2680 fi
   2681 
   2682   if test "x$ac_ct_CC" = x; then
   2683     CC=""
   2684   else
   2685     case $cross_compiling:$ac_tool_warned in
   2686 yes:)
   2687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2688 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2689 ac_tool_warned=yes ;;
   2690 esac
   2691     CC=$ac_ct_CC
   2692   fi
   2693 else
   2694   CC="$ac_cv_prog_CC"
   2695 fi
   2696 
   2697 if test -z "$CC"; then
   2698           if test -n "$ac_tool_prefix"; then
   2699     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2700 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2702 printf %s "checking for $ac_word... " >&6; }
   2703 if test ${ac_cv_prog_CC+y}
   2704 then :
   2705   printf %s "(cached) " >&6
   2706 else $as_nop
   2707   if test -n "$CC"; then
   2708   ac_cv_prog_CC="$CC" # Let the user override the test.
   2709 else
   2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2711 for as_dir in $PATH
   2712 do
   2713   IFS=$as_save_IFS
   2714   case $as_dir in #(((
   2715     '') as_dir=./ ;;
   2716     */) ;;
   2717     *) as_dir=$as_dir/ ;;
   2718   esac
   2719     for ac_exec_ext in '' $ac_executable_extensions; do
   2720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2721     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2723     break 2
   2724   fi
   2725 done
   2726   done
   2727 IFS=$as_save_IFS
   2728 
   2729 fi
   2730 fi
   2731 CC=$ac_cv_prog_CC
   2732 if test -n "$CC"; then
   2733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2734 printf "%s\n" "$CC" >&6; }
   2735 else
   2736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2737 printf "%s\n" "no" >&6; }
   2738 fi
   2739 
   2740 
   2741   fi
   2742 fi
   2743 if test -z "$CC"; then
   2744   # Extract the first word of "cc", so it can be a program name with args.
   2745 set dummy cc; ac_word=$2
   2746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2747 printf %s "checking for $ac_word... " >&6; }
   2748 if test ${ac_cv_prog_CC+y}
   2749 then :
   2750   printf %s "(cached) " >&6
   2751 else $as_nop
   2752   if test -n "$CC"; then
   2753   ac_cv_prog_CC="$CC" # Let the user override the test.
   2754 else
   2755   ac_prog_rejected=no
   2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2757 for as_dir in $PATH
   2758 do
   2759   IFS=$as_save_IFS
   2760   case $as_dir in #(((
   2761     '') as_dir=./ ;;
   2762     */) ;;
   2763     *) as_dir=$as_dir/ ;;
   2764   esac
   2765     for ac_exec_ext in '' $ac_executable_extensions; do
   2766   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2767     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2768        ac_prog_rejected=yes
   2769        continue
   2770      fi
   2771     ac_cv_prog_CC="cc"
   2772     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2773     break 2
   2774   fi
   2775 done
   2776   done
   2777 IFS=$as_save_IFS
   2778 
   2779 if test $ac_prog_rejected = yes; then
   2780   # We found a bogon in the path, so make sure we never use it.
   2781   set dummy $ac_cv_prog_CC
   2782   shift
   2783   if test $# != 0; then
   2784     # We chose a different compiler from the bogus one.
   2785     # However, it has the same basename, so the bogon will be chosen
   2786     # first if we set CC to just the basename; use the full file name.
   2787     shift
   2788     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2789   fi
   2790 fi
   2791 fi
   2792 fi
   2793 CC=$ac_cv_prog_CC
   2794 if test -n "$CC"; then
   2795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2796 printf "%s\n" "$CC" >&6; }
   2797 else
   2798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2799 printf "%s\n" "no" >&6; }
   2800 fi
   2801 
   2802 
   2803 fi
   2804 if test -z "$CC"; then
   2805   if test -n "$ac_tool_prefix"; then
   2806   for ac_prog in cl.exe
   2807   do
   2808     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2811 printf %s "checking for $ac_word... " >&6; }
   2812 if test ${ac_cv_prog_CC+y}
   2813 then :
   2814   printf %s "(cached) " >&6
   2815 else $as_nop
   2816   if test -n "$CC"; then
   2817   ac_cv_prog_CC="$CC" # Let the user override the test.
   2818 else
   2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2820 for as_dir in $PATH
   2821 do
   2822   IFS=$as_save_IFS
   2823   case $as_dir in #(((
   2824     '') as_dir=./ ;;
   2825     */) ;;
   2826     *) as_dir=$as_dir/ ;;
   2827   esac
   2828     for ac_exec_ext in '' $ac_executable_extensions; do
   2829   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2830     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2831     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2832     break 2
   2833   fi
   2834 done
   2835   done
   2836 IFS=$as_save_IFS
   2837 
   2838 fi
   2839 fi
   2840 CC=$ac_cv_prog_CC
   2841 if test -n "$CC"; then
   2842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2843 printf "%s\n" "$CC" >&6; }
   2844 else
   2845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2846 printf "%s\n" "no" >&6; }
   2847 fi
   2848 
   2849 
   2850     test -n "$CC" && break
   2851   done
   2852 fi
   2853 if test -z "$CC"; then
   2854   ac_ct_CC=$CC
   2855   for ac_prog in cl.exe
   2856 do
   2857   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2858 set dummy $ac_prog; ac_word=$2
   2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2860 printf %s "checking for $ac_word... " >&6; }
   2861 if test ${ac_cv_prog_ac_ct_CC+y}
   2862 then :
   2863   printf %s "(cached) " >&6
   2864 else $as_nop
   2865   if test -n "$ac_ct_CC"; then
   2866   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2867 else
   2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2869 for as_dir in $PATH
   2870 do
   2871   IFS=$as_save_IFS
   2872   case $as_dir in #(((
   2873     '') as_dir=./ ;;
   2874     */) ;;
   2875     *) as_dir=$as_dir/ ;;
   2876   esac
   2877     for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2879     ac_cv_prog_ac_ct_CC="$ac_prog"
   2880     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884   done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 fi
   2889 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2890 if test -n "$ac_ct_CC"; then
   2891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2892 printf "%s\n" "$ac_ct_CC" >&6; }
   2893 else
   2894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2895 printf "%s\n" "no" >&6; }
   2896 fi
   2897 
   2898 
   2899   test -n "$ac_ct_CC" && break
   2900 done
   2901 
   2902   if test "x$ac_ct_CC" = x; then
   2903     CC=""
   2904   else
   2905     case $cross_compiling:$ac_tool_warned in
   2906 yes:)
   2907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2908 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2909 ac_tool_warned=yes ;;
   2910 esac
   2911     CC=$ac_ct_CC
   2912   fi
   2913 fi
   2914 
   2915 fi
   2916 if test -z "$CC"; then
   2917   if test -n "$ac_tool_prefix"; then
   2918   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   2919 set dummy ${ac_tool_prefix}clang; ac_word=$2
   2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2921 printf %s "checking for $ac_word... " >&6; }
   2922 if test ${ac_cv_prog_CC+y}
   2923 then :
   2924   printf %s "(cached) " >&6
   2925 else $as_nop
   2926   if test -n "$CC"; then
   2927   ac_cv_prog_CC="$CC" # Let the user override the test.
   2928 else
   2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2930 for as_dir in $PATH
   2931 do
   2932   IFS=$as_save_IFS
   2933   case $as_dir in #(((
   2934     '') as_dir=./ ;;
   2935     */) ;;
   2936     *) as_dir=$as_dir/ ;;
   2937   esac
   2938     for ac_exec_ext in '' $ac_executable_extensions; do
   2939   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2940     ac_cv_prog_CC="${ac_tool_prefix}clang"
   2941     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2942     break 2
   2943   fi
   2944 done
   2945   done
   2946 IFS=$as_save_IFS
   2947 
   2948 fi
   2949 fi
   2950 CC=$ac_cv_prog_CC
   2951 if test -n "$CC"; then
   2952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2953 printf "%s\n" "$CC" >&6; }
   2954 else
   2955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2956 printf "%s\n" "no" >&6; }
   2957 fi
   2958 
   2959 
   2960 fi
   2961 if test -z "$ac_cv_prog_CC"; then
   2962   ac_ct_CC=$CC
   2963   # Extract the first word of "clang", so it can be a program name with args.
   2964 set dummy clang; ac_word=$2
   2965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2966 printf %s "checking for $ac_word... " >&6; }
   2967 if test ${ac_cv_prog_ac_ct_CC+y}
   2968 then :
   2969   printf %s "(cached) " >&6
   2970 else $as_nop
   2971   if test -n "$ac_ct_CC"; then
   2972   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2973 else
   2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2975 for as_dir in $PATH
   2976 do
   2977   IFS=$as_save_IFS
   2978   case $as_dir in #(((
   2979     '') as_dir=./ ;;
   2980     */) ;;
   2981     *) as_dir=$as_dir/ ;;
   2982   esac
   2983     for ac_exec_ext in '' $ac_executable_extensions; do
   2984   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2985     ac_cv_prog_ac_ct_CC="clang"
   2986     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2987     break 2
   2988   fi
   2989 done
   2990   done
   2991 IFS=$as_save_IFS
   2992 
   2993 fi
   2994 fi
   2995 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2996 if test -n "$ac_ct_CC"; then
   2997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2998 printf "%s\n" "$ac_ct_CC" >&6; }
   2999 else
   3000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3001 printf "%s\n" "no" >&6; }
   3002 fi
   3003 
   3004   if test "x$ac_ct_CC" = x; then
   3005     CC=""
   3006   else
   3007     case $cross_compiling:$ac_tool_warned in
   3008 yes:)
   3009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3010 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3011 ac_tool_warned=yes ;;
   3012 esac
   3013     CC=$ac_ct_CC
   3014   fi
   3015 else
   3016   CC="$ac_cv_prog_CC"
   3017 fi
   3018 
   3019 fi
   3020 
   3021 
   3022 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3023 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3024 as_fn_error $? "no acceptable C compiler found in \$PATH
   3025 See \`config.log' for more details" "$LINENO" 5; }
   3026 
   3027 # Provide some information about the compiler.
   3028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3029 set X $ac_compile
   3030 ac_compiler=$2
   3031 for ac_option in --version -v -V -qversion -version; do
   3032   { { ac_try="$ac_compiler $ac_option >&5"
   3033 case "(($ac_try" in
   3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3035   *) ac_try_echo=$ac_try;;
   3036 esac
   3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3038 printf "%s\n" "$ac_try_echo"; } >&5
   3039   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3040   ac_status=$?
   3041   if test -s conftest.err; then
   3042     sed '10a\
   3043 ... rest of stderr output deleted ...
   3044          10q' conftest.err >conftest.er1
   3045     cat conftest.er1 >&5
   3046   fi
   3047   rm -f conftest.er1 conftest.err
   3048   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3049   test $ac_status = 0; }
   3050 done
   3051 
   3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3053 /* end confdefs.h.  */
   3054 
   3055 int
   3056 main (void)
   3057 {
   3058 
   3059   ;
   3060   return 0;
   3061 }
   3062 _ACEOF
   3063 ac_clean_files_save=$ac_clean_files
   3064 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3065 # Try to create an executable without -o first, disregard a.out.
   3066 # It will help us diagnose broken compilers, and finding out an intuition
   3067 # of exeext.
   3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3069 printf %s "checking whether the C compiler works... " >&6; }
   3070 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3071 
   3072 # The possible output files:
   3073 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3074 
   3075 ac_rmfiles=
   3076 for ac_file in $ac_files
   3077 do
   3078   case $ac_file in
   3079     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3080     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3081   esac
   3082 done
   3083 rm -f $ac_rmfiles
   3084 
   3085 if { { ac_try="$ac_link_default"
   3086 case "(($ac_try" in
   3087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3088   *) ac_try_echo=$ac_try;;
   3089 esac
   3090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3091 printf "%s\n" "$ac_try_echo"; } >&5
   3092   (eval "$ac_link_default") 2>&5
   3093   ac_status=$?
   3094   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3095   test $ac_status = 0; }
   3096 then :
   3097   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3098 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3099 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3100 # so that the user can short-circuit this test for compilers unknown to
   3101 # Autoconf.
   3102 for ac_file in $ac_files ''
   3103 do
   3104   test -f "$ac_file" || continue
   3105   case $ac_file in
   3106     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3107 	;;
   3108     [ab].out )
   3109 	# We found the default executable, but exeext='' is most
   3110 	# certainly right.
   3111 	break;;
   3112     *.* )
   3113 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3114 	then :; else
   3115 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3116 	fi
   3117 	# We set ac_cv_exeext here because the later test for it is not
   3118 	# safe: cross compilers may not add the suffix if given an `-o'
   3119 	# argument, so we may need to know it at that point already.
   3120 	# Even if this section looks crufty: it has the advantage of
   3121 	# actually working.
   3122 	break;;
   3123     * )
   3124 	break;;
   3125   esac
   3126 done
   3127 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3128 
   3129 else $as_nop
   3130   ac_file=''
   3131 fi
   3132 if test -z "$ac_file"
   3133 then :
   3134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3135 printf "%s\n" "no" >&6; }
   3136 printf "%s\n" "$as_me: failed program was:" >&5
   3137 sed 's/^/| /' conftest.$ac_ext >&5
   3138 
   3139 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3140 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3141 as_fn_error 77 "C compiler cannot create executables
   3142 See \`config.log' for more details" "$LINENO" 5; }
   3143 else $as_nop
   3144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3145 printf "%s\n" "yes" >&6; }
   3146 fi
   3147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3148 printf %s "checking for C compiler default output file name... " >&6; }
   3149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3150 printf "%s\n" "$ac_file" >&6; }
   3151 ac_exeext=$ac_cv_exeext
   3152 
   3153 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3154 ac_clean_files=$ac_clean_files_save
   3155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3156 printf %s "checking for suffix of executables... " >&6; }
   3157 if { { ac_try="$ac_link"
   3158 case "(($ac_try" in
   3159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3160   *) ac_try_echo=$ac_try;;
   3161 esac
   3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3163 printf "%s\n" "$ac_try_echo"; } >&5
   3164   (eval "$ac_link") 2>&5
   3165   ac_status=$?
   3166   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3167   test $ac_status = 0; }
   3168 then :
   3169   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3170 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3171 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3172 # `rm'.
   3173 for ac_file in conftest.exe conftest conftest.*; do
   3174   test -f "$ac_file" || continue
   3175   case $ac_file in
   3176     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3177     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3178 	  break;;
   3179     * ) break;;
   3180   esac
   3181 done
   3182 else $as_nop
   3183   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3184 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3185 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3186 See \`config.log' for more details" "$LINENO" 5; }
   3187 fi
   3188 rm -f conftest conftest$ac_cv_exeext
   3189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3190 printf "%s\n" "$ac_cv_exeext" >&6; }
   3191 
   3192 rm -f conftest.$ac_ext
   3193 EXEEXT=$ac_cv_exeext
   3194 ac_exeext=$EXEEXT
   3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3196 /* end confdefs.h.  */
   3197 #include <stdio.h>
   3198 int
   3199 main (void)
   3200 {
   3201 FILE *f = fopen ("conftest.out", "w");
   3202  return ferror (f) || fclose (f) != 0;
   3203 
   3204   ;
   3205   return 0;
   3206 }
   3207 _ACEOF
   3208 ac_clean_files="$ac_clean_files conftest.out"
   3209 # Check that the compiler produces executables we can run.  If not, either
   3210 # the compiler is broken, or we cross compile.
   3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3212 printf %s "checking whether we are cross compiling... " >&6; }
   3213 if test "$cross_compiling" != yes; then
   3214   { { ac_try="$ac_link"
   3215 case "(($ac_try" in
   3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3217   *) ac_try_echo=$ac_try;;
   3218 esac
   3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3220 printf "%s\n" "$ac_try_echo"; } >&5
   3221   (eval "$ac_link") 2>&5
   3222   ac_status=$?
   3223   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3224   test $ac_status = 0; }
   3225   if { ac_try='./conftest$ac_cv_exeext'
   3226   { { case "(($ac_try" in
   3227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3228   *) ac_try_echo=$ac_try;;
   3229 esac
   3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3231 printf "%s\n" "$ac_try_echo"; } >&5
   3232   (eval "$ac_try") 2>&5
   3233   ac_status=$?
   3234   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3235   test $ac_status = 0; }; }; then
   3236     cross_compiling=no
   3237   else
   3238     if test "$cross_compiling" = maybe; then
   3239 	cross_compiling=yes
   3240     else
   3241 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3242 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3243 as_fn_error 77 "cannot run C compiled programs.
   3244 If you meant to cross compile, use \`--host'.
   3245 See \`config.log' for more details" "$LINENO" 5; }
   3246     fi
   3247   fi
   3248 fi
   3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3250 printf "%s\n" "$cross_compiling" >&6; }
   3251 
   3252 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3253 ac_clean_files=$ac_clean_files_save
   3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3255 printf %s "checking for suffix of object files... " >&6; }
   3256 if test ${ac_cv_objext+y}
   3257 then :
   3258   printf %s "(cached) " >&6
   3259 else $as_nop
   3260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3261 /* end confdefs.h.  */
   3262 
   3263 int
   3264 main (void)
   3265 {
   3266 
   3267   ;
   3268   return 0;
   3269 }
   3270 _ACEOF
   3271 rm -f conftest.o conftest.obj
   3272 if { { ac_try="$ac_compile"
   3273 case "(($ac_try" in
   3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3275   *) ac_try_echo=$ac_try;;
   3276 esac
   3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3278 printf "%s\n" "$ac_try_echo"; } >&5
   3279   (eval "$ac_compile") 2>&5
   3280   ac_status=$?
   3281   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3282   test $ac_status = 0; }
   3283 then :
   3284   for ac_file in conftest.o conftest.obj conftest.*; do
   3285   test -f "$ac_file" || continue;
   3286   case $ac_file in
   3287     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3288     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3289        break;;
   3290   esac
   3291 done
   3292 else $as_nop
   3293   printf "%s\n" "$as_me: failed program was:" >&5
   3294 sed 's/^/| /' conftest.$ac_ext >&5
   3295 
   3296 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3297 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3298 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3299 See \`config.log' for more details" "$LINENO" 5; }
   3300 fi
   3301 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3302 fi
   3303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3304 printf "%s\n" "$ac_cv_objext" >&6; }
   3305 OBJEXT=$ac_cv_objext
   3306 ac_objext=$OBJEXT
   3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3308 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3309 if test ${ac_cv_c_compiler_gnu+y}
   3310 then :
   3311   printf %s "(cached) " >&6
   3312 else $as_nop
   3313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3314 /* end confdefs.h.  */
   3315 
   3316 int
   3317 main (void)
   3318 {
   3319 #ifndef __GNUC__
   3320        choke me
   3321 #endif
   3322 
   3323   ;
   3324   return 0;
   3325 }
   3326 _ACEOF
   3327 if ac_fn_c_try_compile "$LINENO"
   3328 then :
   3329   ac_compiler_gnu=yes
   3330 else $as_nop
   3331   ac_compiler_gnu=no
   3332 fi
   3333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3334 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3335 
   3336 fi
   3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3338 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3340 
   3341 if test $ac_compiler_gnu = yes; then
   3342   GCC=yes
   3343 else
   3344   GCC=
   3345 fi
   3346 ac_test_CFLAGS=${CFLAGS+y}
   3347 ac_save_CFLAGS=$CFLAGS
   3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3349 printf %s "checking whether $CC accepts -g... " >&6; }
   3350 if test ${ac_cv_prog_cc_g+y}
   3351 then :
   3352   printf %s "(cached) " >&6
   3353 else $as_nop
   3354   ac_save_c_werror_flag=$ac_c_werror_flag
   3355    ac_c_werror_flag=yes
   3356    ac_cv_prog_cc_g=no
   3357    CFLAGS="-g"
   3358    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3359 /* end confdefs.h.  */
   3360 
   3361 int
   3362 main (void)
   3363 {
   3364 
   3365   ;
   3366   return 0;
   3367 }
   3368 _ACEOF
   3369 if ac_fn_c_try_compile "$LINENO"
   3370 then :
   3371   ac_cv_prog_cc_g=yes
   3372 else $as_nop
   3373   CFLAGS=""
   3374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3375 /* end confdefs.h.  */
   3376 
   3377 int
   3378 main (void)
   3379 {
   3380 
   3381   ;
   3382   return 0;
   3383 }
   3384 _ACEOF
   3385 if ac_fn_c_try_compile "$LINENO"
   3386 then :
   3387 
   3388 else $as_nop
   3389   ac_c_werror_flag=$ac_save_c_werror_flag
   3390 	 CFLAGS="-g"
   3391 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3392 /* end confdefs.h.  */
   3393 
   3394 int
   3395 main (void)
   3396 {
   3397 
   3398   ;
   3399   return 0;
   3400 }
   3401 _ACEOF
   3402 if ac_fn_c_try_compile "$LINENO"
   3403 then :
   3404   ac_cv_prog_cc_g=yes
   3405 fi
   3406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3407 fi
   3408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3409 fi
   3410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3411    ac_c_werror_flag=$ac_save_c_werror_flag
   3412 fi
   3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3414 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3415 if test $ac_test_CFLAGS; then
   3416   CFLAGS=$ac_save_CFLAGS
   3417 elif test $ac_cv_prog_cc_g = yes; then
   3418   if test "$GCC" = yes; then
   3419     CFLAGS="-g -O2"
   3420   else
   3421     CFLAGS="-g"
   3422   fi
   3423 else
   3424   if test "$GCC" = yes; then
   3425     CFLAGS="-O2"
   3426   else
   3427     CFLAGS=
   3428   fi
   3429 fi
   3430 ac_prog_cc_stdc=no
   3431 if test x$ac_prog_cc_stdc = xno
   3432 then :
   3433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3434 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3435 if test ${ac_cv_prog_cc_c11+y}
   3436 then :
   3437   printf %s "(cached) " >&6
   3438 else $as_nop
   3439   ac_cv_prog_cc_c11=no
   3440 ac_save_CC=$CC
   3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3442 /* end confdefs.h.  */
   3443 $ac_c_conftest_c11_program
   3444 _ACEOF
   3445 for ac_arg in '' -std=gnu11
   3446 do
   3447   CC="$ac_save_CC $ac_arg"
   3448   if ac_fn_c_try_compile "$LINENO"
   3449 then :
   3450   ac_cv_prog_cc_c11=$ac_arg
   3451 fi
   3452 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3453   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3454 done
   3455 rm -f conftest.$ac_ext
   3456 CC=$ac_save_CC
   3457 fi
   3458 
   3459 if test "x$ac_cv_prog_cc_c11" = xno
   3460 then :
   3461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3462 printf "%s\n" "unsupported" >&6; }
   3463 else $as_nop
   3464   if test "x$ac_cv_prog_cc_c11" = x
   3465 then :
   3466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3467 printf "%s\n" "none needed" >&6; }
   3468 else $as_nop
   3469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3470 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3471      CC="$CC $ac_cv_prog_cc_c11"
   3472 fi
   3473   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3474   ac_prog_cc_stdc=c11
   3475 fi
   3476 fi
   3477 if test x$ac_prog_cc_stdc = xno
   3478 then :
   3479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3480 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3481 if test ${ac_cv_prog_cc_c99+y}
   3482 then :
   3483   printf %s "(cached) " >&6
   3484 else $as_nop
   3485   ac_cv_prog_cc_c99=no
   3486 ac_save_CC=$CC
   3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3488 /* end confdefs.h.  */
   3489 $ac_c_conftest_c99_program
   3490 _ACEOF
   3491 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3492 do
   3493   CC="$ac_save_CC $ac_arg"
   3494   if ac_fn_c_try_compile "$LINENO"
   3495 then :
   3496   ac_cv_prog_cc_c99=$ac_arg
   3497 fi
   3498 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3499   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3500 done
   3501 rm -f conftest.$ac_ext
   3502 CC=$ac_save_CC
   3503 fi
   3504 
   3505 if test "x$ac_cv_prog_cc_c99" = xno
   3506 then :
   3507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3508 printf "%s\n" "unsupported" >&6; }
   3509 else $as_nop
   3510   if test "x$ac_cv_prog_cc_c99" = x
   3511 then :
   3512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3513 printf "%s\n" "none needed" >&6; }
   3514 else $as_nop
   3515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3516 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3517      CC="$CC $ac_cv_prog_cc_c99"
   3518 fi
   3519   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3520   ac_prog_cc_stdc=c99
   3521 fi
   3522 fi
   3523 if test x$ac_prog_cc_stdc = xno
   3524 then :
   3525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3526 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3527 if test ${ac_cv_prog_cc_c89+y}
   3528 then :
   3529   printf %s "(cached) " >&6
   3530 else $as_nop
   3531   ac_cv_prog_cc_c89=no
   3532 ac_save_CC=$CC
   3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3534 /* end confdefs.h.  */
   3535 $ac_c_conftest_c89_program
   3536 _ACEOF
   3537 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3538 do
   3539   CC="$ac_save_CC $ac_arg"
   3540   if ac_fn_c_try_compile "$LINENO"
   3541 then :
   3542   ac_cv_prog_cc_c89=$ac_arg
   3543 fi
   3544 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3545   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3546 done
   3547 rm -f conftest.$ac_ext
   3548 CC=$ac_save_CC
   3549 fi
   3550 
   3551 if test "x$ac_cv_prog_cc_c89" = xno
   3552 then :
   3553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3554 printf "%s\n" "unsupported" >&6; }
   3555 else $as_nop
   3556   if test "x$ac_cv_prog_cc_c89" = x
   3557 then :
   3558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3559 printf "%s\n" "none needed" >&6; }
   3560 else $as_nop
   3561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3562 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3563      CC="$CC $ac_cv_prog_cc_c89"
   3564 fi
   3565   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3566   ac_prog_cc_stdc=c89
   3567 fi
   3568 fi
   3569 
   3570 ac_ext=c
   3571 ac_cpp='$CPP $CPPFLAGS'
   3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3575 
   3576 
   3577   ac_ext=c
   3578 ac_cpp='$CPP $CPPFLAGS'
   3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3583 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3584 if test ${am_cv_prog_cc_c_o+y}
   3585 then :
   3586   printf %s "(cached) " >&6
   3587 else $as_nop
   3588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3589 /* end confdefs.h.  */
   3590 
   3591 int
   3592 main (void)
   3593 {
   3594 
   3595   ;
   3596   return 0;
   3597 }
   3598 _ACEOF
   3599   # Make sure it works both with $CC and with simple cc.
   3600   # Following AC_PROG_CC_C_O, we do the test twice because some
   3601   # compilers refuse to overwrite an existing .o file with -o,
   3602   # though they will create one.
   3603   am_cv_prog_cc_c_o=yes
   3604   for am_i in 1 2; do
   3605     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3606    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3607    ac_status=$?
   3608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3609    (exit $ac_status); } \
   3610          && test -f conftest2.$ac_objext; then
   3611       : OK
   3612     else
   3613       am_cv_prog_cc_c_o=no
   3614       break
   3615     fi
   3616   done
   3617   rm -f core conftest*
   3618   unset am_i
   3619 fi
   3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3621 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3622 if test "$am_cv_prog_cc_c_o" != yes; then
   3623    # Losing compiler, so override with the script.
   3624    # FIXME: It is wrong to rewrite CC.
   3625    # But if we don't then we get into trouble of one sort or another.
   3626    # A longer-term fix would be to have automake use am__CC in this case,
   3627    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3628    CC="$am_aux_dir/compile $CC"
   3629 fi
   3630 ac_ext=c
   3631 ac_cpp='$CPP $CPPFLAGS'
   3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3635 
   3636 
   3637 
   3638 ac_header= ac_cache=
   3639 for ac_item in $ac_header_c_list
   3640 do
   3641   if test $ac_cache; then
   3642     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3643     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3644       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3645     fi
   3646     ac_header= ac_cache=
   3647   elif test $ac_header; then
   3648     ac_cache=$ac_item
   3649   else
   3650     ac_header=$ac_item
   3651   fi
   3652 done
   3653 
   3654 
   3655 
   3656 
   3657 
   3658 
   3659 
   3660 
   3661 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   3662 then :
   3663 
   3664 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   3665 
   3666 fi
   3667 
   3668 
   3669 
   3670 
   3671 
   3672 
   3673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3674 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3675 if test ${ac_cv_safe_to_define___extensions__+y}
   3676 then :
   3677   printf %s "(cached) " >&6
   3678 else $as_nop
   3679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3680 /* end confdefs.h.  */
   3681 
   3682 #         define __EXTENSIONS__ 1
   3683           $ac_includes_default
   3684 int
   3685 main (void)
   3686 {
   3687 
   3688   ;
   3689   return 0;
   3690 }
   3691 _ACEOF
   3692 if ac_fn_c_try_compile "$LINENO"
   3693 then :
   3694   ac_cv_safe_to_define___extensions__=yes
   3695 else $as_nop
   3696   ac_cv_safe_to_define___extensions__=no
   3697 fi
   3698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3699 fi
   3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3701 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   3702 
   3703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   3704 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   3705 if test ${ac_cv_should_define__xopen_source+y}
   3706 then :
   3707   printf %s "(cached) " >&6
   3708 else $as_nop
   3709   ac_cv_should_define__xopen_source=no
   3710     if test $ac_cv_header_wchar_h = yes
   3711 then :
   3712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3713 /* end confdefs.h.  */
   3714 
   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 
   3728 else $as_nop
   3729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3730 /* end confdefs.h.  */
   3731 
   3732             #define _XOPEN_SOURCE 500
   3733             #include <wchar.h>
   3734             mbstate_t x;
   3735 int
   3736 main (void)
   3737 {
   3738 
   3739   ;
   3740   return 0;
   3741 }
   3742 _ACEOF
   3743 if ac_fn_c_try_compile "$LINENO"
   3744 then :
   3745   ac_cv_should_define__xopen_source=yes
   3746 fi
   3747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3748 fi
   3749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3750 fi
   3751 fi
   3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   3753 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   3754 
   3755   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   3756 
   3757   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   3758 
   3759   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   3760 
   3761   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   3762 
   3763   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   3764 
   3765   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   3766 
   3767   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3768 
   3769   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   3770 
   3771   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   3772 
   3773   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   3774 
   3775   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   3776 
   3777   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   3778 
   3779   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   3780 
   3781   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   3782 
   3783   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   3784 
   3785   if test $ac_cv_header_minix_config_h = yes
   3786 then :
   3787   MINIX=yes
   3788     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   3789 
   3790     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   3791 
   3792     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3793 
   3794 else $as_nop
   3795   MINIX=
   3796 fi
   3797   if test $ac_cv_safe_to_define___extensions__ = yes
   3798 then :
   3799   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   3800 
   3801 fi
   3802   if test $ac_cv_should_define__xopen_source = yes
   3803 then :
   3804   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   3805 
   3806 fi
   3807 
   3808 
   3809 # Initialize Automake
   3810 am__api_version='1.16'
   3811 
   3812 
   3813   # Find a good install program.  We prefer a C program (faster),
   3814 # so one script is as good as another.  But avoid the broken or
   3815 # incompatible versions:
   3816 # SysV /etc/install, /usr/sbin/install
   3817 # SunOS /usr/etc/install
   3818 # IRIX /sbin/install
   3819 # AIX /bin/install
   3820 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3821 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3822 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3823 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3824 # OS/2's system install, which has a completely different semantic
   3825 # ./install, which can be erroneously created by make from ./install.sh.
   3826 # Reject install programs that cannot install multiple files.
   3827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3828 printf %s "checking for a BSD-compatible install... " >&6; }
   3829 if test -z "$INSTALL"; then
   3830 if test ${ac_cv_path_install+y}
   3831 then :
   3832   printf %s "(cached) " >&6
   3833 else $as_nop
   3834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3835 for as_dir in $PATH
   3836 do
   3837   IFS=$as_save_IFS
   3838   case $as_dir in #(((
   3839     '') as_dir=./ ;;
   3840     */) ;;
   3841     *) as_dir=$as_dir/ ;;
   3842   esac
   3843     # Account for fact that we put trailing slashes in our PATH walk.
   3844 case $as_dir in #((
   3845   ./ | /[cC]/* | \
   3846   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3847   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3848   /usr/ucb/* ) ;;
   3849   *)
   3850     # OSF1 and SCO ODT 3.0 have their own names for install.
   3851     # Don't use installbsd from OSF since it installs stuff as root
   3852     # by default.
   3853     for ac_prog in ginstall scoinst install; do
   3854       for ac_exec_ext in '' $ac_executable_extensions; do
   3855 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3856 	  if test $ac_prog = install &&
   3857 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3858 	    # AIX install.  It has an incompatible calling convention.
   3859 	    :
   3860 	  elif test $ac_prog = install &&
   3861 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3862 	    # program-specific install script used by HP pwplus--don't use.
   3863 	    :
   3864 	  else
   3865 	    rm -rf conftest.one conftest.two conftest.dir
   3866 	    echo one > conftest.one
   3867 	    echo two > conftest.two
   3868 	    mkdir conftest.dir
   3869 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3870 	      test -s conftest.one && test -s conftest.two &&
   3871 	      test -s conftest.dir/conftest.one &&
   3872 	      test -s conftest.dir/conftest.two
   3873 	    then
   3874 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3875 	      break 3
   3876 	    fi
   3877 	  fi
   3878 	fi
   3879       done
   3880     done
   3881     ;;
   3882 esac
   3883 
   3884   done
   3885 IFS=$as_save_IFS
   3886 
   3887 rm -rf conftest.one conftest.two conftest.dir
   3888 
   3889 fi
   3890   if test ${ac_cv_path_install+y}; then
   3891     INSTALL=$ac_cv_path_install
   3892   else
   3893     # As a last resort, use the slow shell script.  Don't cache a
   3894     # value for INSTALL within a source directory, because that will
   3895     # break other packages using the cache if that directory is
   3896     # removed, or if the value is a relative name.
   3897     INSTALL=$ac_install_sh
   3898   fi
   3899 fi
   3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3901 printf "%s\n" "$INSTALL" >&6; }
   3902 
   3903 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3904 # It thinks the first close brace ends the variable substitution.
   3905 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3906 
   3907 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3908 
   3909 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3910 
   3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3912 printf %s "checking whether build environment is sane... " >&6; }
   3913 # Reject unsafe characters in $srcdir or the absolute working directory
   3914 # name.  Accept space and tab only in the latter.
   3915 am_lf='
   3916 '
   3917 case `pwd` in
   3918   *[\\\"\#\$\&\'\`$am_lf]*)
   3919     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3920 esac
   3921 case $srcdir in
   3922   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3923     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3924 esac
   3925 
   3926 # Do 'set' in a subshell so we don't clobber the current shell's
   3927 # arguments.  Must try -L first in case configure is actually a
   3928 # symlink; some systems play weird games with the mod time of symlinks
   3929 # (eg FreeBSD returns the mod time of the symlink's containing
   3930 # directory).
   3931 if (
   3932    am_has_slept=no
   3933    for am_try in 1 2; do
   3934      echo "timestamp, slept: $am_has_slept" > conftest.file
   3935      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3936      if test "$*" = "X"; then
   3937 	# -L didn't work.
   3938 	set X `ls -t "$srcdir/configure" conftest.file`
   3939      fi
   3940      if test "$*" != "X $srcdir/configure conftest.file" \
   3941 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3942 
   3943 	# If neither matched, then we have a broken ls.  This can happen
   3944 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3945 	# broken ls alias from the environment.  This has actually
   3946 	# happened.  Such a system could not be considered "sane".
   3947 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3948   alias in your environment" "$LINENO" 5
   3949      fi
   3950      if test "$2" = conftest.file || test $am_try -eq 2; then
   3951        break
   3952      fi
   3953      # Just in case.
   3954      sleep 1
   3955      am_has_slept=yes
   3956    done
   3957    test "$2" = conftest.file
   3958    )
   3959 then
   3960    # Ok.
   3961    :
   3962 else
   3963    as_fn_error $? "newly created file is older than distributed files!
   3964 Check your system clock" "$LINENO" 5
   3965 fi
   3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3967 printf "%s\n" "yes" >&6; }
   3968 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3969 # generated files are strictly newer.
   3970 am_sleep_pid=
   3971 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3972   ( sleep 1 ) &
   3973   am_sleep_pid=$!
   3974 fi
   3975 
   3976 rm -f conftest.file
   3977 
   3978 test "$program_prefix" != NONE &&
   3979   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3980 # Use a double $ so make ignores it.
   3981 test "$program_suffix" != NONE &&
   3982   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3983 # Double any \ or $.
   3984 # By default was `s,x,x', remove it if useless.
   3985 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3986 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3987 
   3988 
   3989   if test x"${MISSING+set}" != xset; then
   3990   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3991 fi
   3992 # Use eval to expand $SHELL
   3993 if eval "$MISSING --is-lightweight"; then
   3994   am_missing_run="$MISSING "
   3995 else
   3996   am_missing_run=
   3997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3998 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3999 fi
   4000 
   4001 if test x"${install_sh+set}" != xset; then
   4002   case $am_aux_dir in
   4003   *\ * | *\	*)
   4004     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4005   *)
   4006     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4007   esac
   4008 fi
   4009 
   4010 # Installed binaries are usually stripped using 'strip' when the user
   4011 # run "make install-strip".  However 'strip' might not be the right
   4012 # tool to use in cross-compilation environments, therefore Automake
   4013 # will honor the 'STRIP' environment variable to overrule this program.
   4014 if test "$cross_compiling" != no; then
   4015   if test -n "$ac_tool_prefix"; then
   4016   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4017 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4019 printf %s "checking for $ac_word... " >&6; }
   4020 if test ${ac_cv_prog_STRIP+y}
   4021 then :
   4022   printf %s "(cached) " >&6
   4023 else $as_nop
   4024   if test -n "$STRIP"; then
   4025   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4026 else
   4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4028 for as_dir in $PATH
   4029 do
   4030   IFS=$as_save_IFS
   4031   case $as_dir in #(((
   4032     '') as_dir=./ ;;
   4033     */) ;;
   4034     *) as_dir=$as_dir/ ;;
   4035   esac
   4036     for ac_exec_ext in '' $ac_executable_extensions; do
   4037   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4038     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4039     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4040     break 2
   4041   fi
   4042 done
   4043   done
   4044 IFS=$as_save_IFS
   4045 
   4046 fi
   4047 fi
   4048 STRIP=$ac_cv_prog_STRIP
   4049 if test -n "$STRIP"; then
   4050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4051 printf "%s\n" "$STRIP" >&6; }
   4052 else
   4053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4054 printf "%s\n" "no" >&6; }
   4055 fi
   4056 
   4057 
   4058 fi
   4059 if test -z "$ac_cv_prog_STRIP"; then
   4060   ac_ct_STRIP=$STRIP
   4061   # Extract the first word of "strip", so it can be a program name with args.
   4062 set dummy strip; ac_word=$2
   4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4064 printf %s "checking for $ac_word... " >&6; }
   4065 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4066 then :
   4067   printf %s "(cached) " >&6
   4068 else $as_nop
   4069   if test -n "$ac_ct_STRIP"; then
   4070   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4071 else
   4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4073 for as_dir in $PATH
   4074 do
   4075   IFS=$as_save_IFS
   4076   case $as_dir in #(((
   4077     '') as_dir=./ ;;
   4078     */) ;;
   4079     *) as_dir=$as_dir/ ;;
   4080   esac
   4081     for ac_exec_ext in '' $ac_executable_extensions; do
   4082   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4083     ac_cv_prog_ac_ct_STRIP="strip"
   4084     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4085     break 2
   4086   fi
   4087 done
   4088   done
   4089 IFS=$as_save_IFS
   4090 
   4091 fi
   4092 fi
   4093 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4094 if test -n "$ac_ct_STRIP"; then
   4095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4096 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4097 else
   4098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4099 printf "%s\n" "no" >&6; }
   4100 fi
   4101 
   4102   if test "x$ac_ct_STRIP" = x; then
   4103     STRIP=":"
   4104   else
   4105     case $cross_compiling:$ac_tool_warned in
   4106 yes:)
   4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4108 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4109 ac_tool_warned=yes ;;
   4110 esac
   4111     STRIP=$ac_ct_STRIP
   4112   fi
   4113 else
   4114   STRIP="$ac_cv_prog_STRIP"
   4115 fi
   4116 
   4117 fi
   4118 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4119 
   4120 
   4121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4122 printf %s "checking for a race-free mkdir -p... " >&6; }
   4123 if test -z "$MKDIR_P"; then
   4124   if test ${ac_cv_path_mkdir+y}
   4125 then :
   4126   printf %s "(cached) " >&6
   4127 else $as_nop
   4128   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4129 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4130 do
   4131   IFS=$as_save_IFS
   4132   case $as_dir in #(((
   4133     '') as_dir=./ ;;
   4134     */) ;;
   4135     *) as_dir=$as_dir/ ;;
   4136   esac
   4137     for ac_prog in mkdir gmkdir; do
   4138 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4139 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4140 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4141 	     'mkdir ('*'coreutils) '* | \
   4142 	     'BusyBox '* | \
   4143 	     'mkdir (fileutils) '4.1*)
   4144 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4145 	       break 3;;
   4146 	   esac
   4147 	 done
   4148        done
   4149   done
   4150 IFS=$as_save_IFS
   4151 
   4152 fi
   4153 
   4154   test -d ./--version && rmdir ./--version
   4155   if test ${ac_cv_path_mkdir+y}; then
   4156     MKDIR_P="$ac_cv_path_mkdir -p"
   4157   else
   4158     # As a last resort, use the slow shell script.  Don't cache a
   4159     # value for MKDIR_P within a source directory, because that will
   4160     # break other packages using the cache if that directory is
   4161     # removed, or if the value is a relative name.
   4162     MKDIR_P="$ac_install_sh -d"
   4163   fi
   4164 fi
   4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4166 printf "%s\n" "$MKDIR_P" >&6; }
   4167 
   4168 for ac_prog in gawk mawk nawk awk
   4169 do
   4170   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4171 set dummy $ac_prog; ac_word=$2
   4172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4173 printf %s "checking for $ac_word... " >&6; }
   4174 if test ${ac_cv_prog_AWK+y}
   4175 then :
   4176   printf %s "(cached) " >&6
   4177 else $as_nop
   4178   if test -n "$AWK"; then
   4179   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4180 else
   4181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4182 for as_dir in $PATH
   4183 do
   4184   IFS=$as_save_IFS
   4185   case $as_dir in #(((
   4186     '') as_dir=./ ;;
   4187     */) ;;
   4188     *) as_dir=$as_dir/ ;;
   4189   esac
   4190     for ac_exec_ext in '' $ac_executable_extensions; do
   4191   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4192     ac_cv_prog_AWK="$ac_prog"
   4193     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4194     break 2
   4195   fi
   4196 done
   4197   done
   4198 IFS=$as_save_IFS
   4199 
   4200 fi
   4201 fi
   4202 AWK=$ac_cv_prog_AWK
   4203 if test -n "$AWK"; then
   4204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4205 printf "%s\n" "$AWK" >&6; }
   4206 else
   4207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4208 printf "%s\n" "no" >&6; }
   4209 fi
   4210 
   4211 
   4212   test -n "$AWK" && break
   4213 done
   4214 
   4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4216 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4217 set x ${MAKE-make}
   4218 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4219 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4220 then :
   4221   printf %s "(cached) " >&6
   4222 else $as_nop
   4223   cat >conftest.make <<\_ACEOF
   4224 SHELL = /bin/sh
   4225 all:
   4226 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4227 _ACEOF
   4228 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4229 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4230   *@@@%%%=?*=@@@%%%*)
   4231     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4232   *)
   4233     eval ac_cv_prog_make_${ac_make}_set=no;;
   4234 esac
   4235 rm -f conftest.make
   4236 fi
   4237 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4239 printf "%s\n" "yes" >&6; }
   4240   SET_MAKE=
   4241 else
   4242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4243 printf "%s\n" "no" >&6; }
   4244   SET_MAKE="MAKE=${MAKE-make}"
   4245 fi
   4246 
   4247 rm -rf .tst 2>/dev/null
   4248 mkdir .tst 2>/dev/null
   4249 if test -d .tst; then
   4250   am__leading_dot=.
   4251 else
   4252   am__leading_dot=_
   4253 fi
   4254 rmdir .tst 2>/dev/null
   4255 
   4256 DEPDIR="${am__leading_dot}deps"
   4257 
   4258 ac_config_commands="$ac_config_commands depfiles"
   4259 
   4260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4261 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4262 cat > confinc.mk << 'END'
   4263 am__doit:
   4264 	@echo this is the am__doit target >confinc.out
   4265 .PHONY: am__doit
   4266 END
   4267 am__include="#"
   4268 am__quote=
   4269 # BSD make does it like this.
   4270 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4271 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4272 echo 'include confinc.mk # ignored' > confmf.GNU
   4273 _am_result=no
   4274 for s in GNU BSD; do
   4275   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4276    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4277    ac_status=$?
   4278    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4279    (exit $ac_status); }
   4280   case $?:`cat confinc.out 2>/dev/null` in #(
   4281   '0:this is the am__doit target') :
   4282     case $s in #(
   4283   BSD) :
   4284     am__include='.include' am__quote='"' ;; #(
   4285   *) :
   4286     am__include='include' am__quote='' ;;
   4287 esac ;; #(
   4288   *) :
   4289      ;;
   4290 esac
   4291   if test "$am__include" != "#"; then
   4292     _am_result="yes ($s style)"
   4293     break
   4294   fi
   4295 done
   4296 rm -f confinc.* confmf.*
   4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4298 printf "%s\n" "${_am_result}" >&6; }
   4299 
   4300 # Check whether --enable-dependency-tracking was given.
   4301 if test ${enable_dependency_tracking+y}
   4302 then :
   4303   enableval=$enable_dependency_tracking;
   4304 fi
   4305 
   4306 if test "x$enable_dependency_tracking" != xno; then
   4307   am_depcomp="$ac_aux_dir/depcomp"
   4308   AMDEPBACKSLASH='\'
   4309   am__nodep='_no'
   4310 fi
   4311  if test "x$enable_dependency_tracking" != xno; then
   4312   AMDEP_TRUE=
   4313   AMDEP_FALSE='#'
   4314 else
   4315   AMDEP_TRUE='#'
   4316   AMDEP_FALSE=
   4317 fi
   4318 
   4319 
   4320 # Check whether --enable-silent-rules was given.
   4321 if test ${enable_silent_rules+y}
   4322 then :
   4323   enableval=$enable_silent_rules;
   4324 fi
   4325 
   4326 case $enable_silent_rules in # (((
   4327   yes) AM_DEFAULT_VERBOSITY=0;;
   4328    no) AM_DEFAULT_VERBOSITY=1;;
   4329     *) AM_DEFAULT_VERBOSITY=1;;
   4330 esac
   4331 am_make=${MAKE-make}
   4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4333 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4334 if test ${am_cv_make_support_nested_variables+y}
   4335 then :
   4336   printf %s "(cached) " >&6
   4337 else $as_nop
   4338   if printf "%s\n" 'TRUE=$(BAR$(V))
   4339 BAR0=false
   4340 BAR1=true
   4341 V=1
   4342 am__doit:
   4343 	@$(TRUE)
   4344 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4345   am_cv_make_support_nested_variables=yes
   4346 else
   4347   am_cv_make_support_nested_variables=no
   4348 fi
   4349 fi
   4350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4351 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4352 if test $am_cv_make_support_nested_variables = yes; then
   4353     AM_V='$(V)'
   4354   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4355 else
   4356   AM_V=$AM_DEFAULT_VERBOSITY
   4357   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4358 fi
   4359 AM_BACKSLASH='\'
   4360 
   4361 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4362   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4363   # is not polluted with repeated "-I."
   4364   am__isrc=' -I$(srcdir)'
   4365   # test to see if srcdir already configured
   4366   if test -f $srcdir/config.status; then
   4367     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4368   fi
   4369 fi
   4370 
   4371 # test whether we have cygpath
   4372 if test -z "$CYGPATH_W"; then
   4373   if (cygpath --version) >/dev/null 2>/dev/null; then
   4374     CYGPATH_W='cygpath -w'
   4375   else
   4376     CYGPATH_W=echo
   4377   fi
   4378 fi
   4379 
   4380 
   4381 # Define the identity of the package.
   4382  PACKAGE='rgb'
   4383  VERSION='1.1.0'
   4384 
   4385 
   4386 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4387 
   4388 
   4389 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4390 
   4391 # Some tools Automake needs.
   4392 
   4393 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4394 
   4395 
   4396 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4397 
   4398 
   4399 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4400 
   4401 
   4402 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4403 
   4404 
   4405 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4406 
   4407 # For better backward compatibility.  To be removed once Automake 1.9.x
   4408 # dies out for good.  For more background, see:
   4409 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4410 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4411 mkdir_p='$(MKDIR_P)'
   4412 
   4413 # We need awk for the "check" target (and possibly the TAP driver).  The
   4414 # system "awk" is bad on some platforms.
   4415 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4416 # in the wild :-(  We should find a proper way to deprecate it ...
   4417 AMTAR='$${TAR-tar}'
   4418 
   4419 
   4420 # We'll loop over all known methods to create a tar archive until one works.
   4421 _am_tools='gnutar  pax cpio none'
   4422 
   4423 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4424 
   4425 
   4426 
   4427 
   4428 
   4429 depcc="$CC"   am_compiler_list=
   4430 
   4431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4432 printf %s "checking dependency style of $depcc... " >&6; }
   4433 if test ${am_cv_CC_dependencies_compiler_type+y}
   4434 then :
   4435   printf %s "(cached) " >&6
   4436 else $as_nop
   4437   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4438   # We make a subdir and do the tests there.  Otherwise we can end up
   4439   # making bogus files that we don't know about and never remove.  For
   4440   # instance it was reported that on HP-UX the gcc test will end up
   4441   # making a dummy file named 'D' -- because '-MD' means "put the output
   4442   # in D".
   4443   rm -rf conftest.dir
   4444   mkdir conftest.dir
   4445   # Copy depcomp to subdir because otherwise we won't find it if we're
   4446   # using a relative directory.
   4447   cp "$am_depcomp" conftest.dir
   4448   cd conftest.dir
   4449   # We will build objects and dependencies in a subdirectory because
   4450   # it helps to detect inapplicable dependency modes.  For instance
   4451   # both Tru64's cc and ICC support -MD to output dependencies as a
   4452   # side effect of compilation, but ICC will put the dependencies in
   4453   # the current directory while Tru64 will put them in the object
   4454   # directory.
   4455   mkdir sub
   4456 
   4457   am_cv_CC_dependencies_compiler_type=none
   4458   if test "$am_compiler_list" = ""; then
   4459      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4460   fi
   4461   am__universal=false
   4462   case " $depcc " in #(
   4463      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4464      esac
   4465 
   4466   for depmode in $am_compiler_list; do
   4467     # Setup a source with many dependencies, because some compilers
   4468     # like to wrap large dependency lists on column 80 (with \), and
   4469     # we should not choose a depcomp mode which is confused by this.
   4470     #
   4471     # We need to recreate these files for each test, as the compiler may
   4472     # overwrite some of them when testing with obscure command lines.
   4473     # This happens at least with the AIX C compiler.
   4474     : > sub/conftest.c
   4475     for i in 1 2 3 4 5 6; do
   4476       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4477       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4478       # Solaris 10 /bin/sh.
   4479       echo '/* dummy */' > sub/conftst$i.h
   4480     done
   4481     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4482 
   4483     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4484     # mode.  It turns out that the SunPro C++ compiler does not properly
   4485     # handle '-M -o', and we need to detect this.  Also, some Intel
   4486     # versions had trouble with output in subdirs.
   4487     am__obj=sub/conftest.${OBJEXT-o}
   4488     am__minus_obj="-o $am__obj"
   4489     case $depmode in
   4490     gcc)
   4491       # This depmode causes a compiler race in universal mode.
   4492       test "$am__universal" = false || continue
   4493       ;;
   4494     nosideeffect)
   4495       # After this tag, mechanisms are not by side-effect, so they'll
   4496       # only be used when explicitly requested.
   4497       if test "x$enable_dependency_tracking" = xyes; then
   4498 	continue
   4499       else
   4500 	break
   4501       fi
   4502       ;;
   4503     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4504       # This compiler won't grok '-c -o', but also, the minuso test has
   4505       # not run yet.  These depmodes are late enough in the game, and
   4506       # so weak that their functioning should not be impacted.
   4507       am__obj=conftest.${OBJEXT-o}
   4508       am__minus_obj=
   4509       ;;
   4510     none) break ;;
   4511     esac
   4512     if depmode=$depmode \
   4513        source=sub/conftest.c object=$am__obj \
   4514        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4515        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4516          >/dev/null 2>conftest.err &&
   4517        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4518        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4519        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4520        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4521       # icc doesn't choke on unknown options, it will just issue warnings
   4522       # or remarks (even with -Werror).  So we grep stderr for any message
   4523       # that says an option was ignored or not supported.
   4524       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4525       #   icc: Command line warning: ignoring option '-M'; no argument required
   4526       # The diagnosis changed in icc 8.0:
   4527       #   icc: Command line remark: option '-MP' not supported
   4528       if (grep 'ignoring option' conftest.err ||
   4529           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4530         am_cv_CC_dependencies_compiler_type=$depmode
   4531         break
   4532       fi
   4533     fi
   4534   done
   4535 
   4536   cd ..
   4537   rm -rf conftest.dir
   4538 else
   4539   am_cv_CC_dependencies_compiler_type=none
   4540 fi
   4541 
   4542 fi
   4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4544 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4545 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4546 
   4547  if
   4548   test "x$enable_dependency_tracking" != xno \
   4549   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4550   am__fastdepCC_TRUE=
   4551   am__fastdepCC_FALSE='#'
   4552 else
   4553   am__fastdepCC_TRUE='#'
   4554   am__fastdepCC_FALSE=
   4555 fi
   4556 
   4557 
   4558 # Variables for tags utilities; see am/tags.am
   4559 if test -z "$CTAGS"; then
   4560   CTAGS=ctags
   4561 fi
   4562 
   4563 if test -z "$ETAGS"; then
   4564   ETAGS=etags
   4565 fi
   4566 
   4567 if test -z "$CSCOPE"; then
   4568   CSCOPE=cscope
   4569 fi
   4570 
   4571 
   4572 
   4573 # POSIX will say in a future version that running "rm -f" with no argument
   4574 # is OK; and we want to be able to make that assumption in our Makefile
   4575 # recipes.  So use an aggressive probe to check that the usage we want is
   4576 # actually supported "in the wild" to an acceptable degree.
   4577 # See automake bug#10828.
   4578 # To make any issue more visible, cause the running configure to be aborted
   4579 # by default if the 'rm' program in use doesn't match our expectations; the
   4580 # user can still override this though.
   4581 if rm -f && rm -fr && rm -rf; then : OK; else
   4582   cat >&2 <<'END'
   4583 Oops!
   4584 
   4585 Your 'rm' program seems unable to run without file operands specified
   4586 on the command line, even when the '-f' option is present.  This is contrary
   4587 to the behaviour of most rm programs out there, and not conforming with
   4588 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4589 
   4590 Please tell bug-automake@gnu.org about your system, including the value
   4591 of your $PATH and any error possibly output before this message.  This
   4592 can help us improve future automake versions.
   4593 
   4594 END
   4595   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4596     echo 'Configuration will proceed anyway, since you have set the' >&2
   4597     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4598     echo >&2
   4599   else
   4600     cat >&2 <<'END'
   4601 Aborting the configuration process, to ensure you take notice of the issue.
   4602 
   4603 You can download and install GNU coreutils to get an 'rm' implementation
   4604 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4605 
   4606 If you want to complete the configuration process using your problematic
   4607 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4608 to "yes", and re-run configure.
   4609 
   4610 END
   4611     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4612   fi
   4613 fi
   4614 
   4615 
   4616 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4630 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4631 if test ${ac_cv_c_undeclared_builtin_options+y}
   4632 then :
   4633   printf %s "(cached) " >&6
   4634 else $as_nop
   4635   ac_save_CFLAGS=$CFLAGS
   4636    ac_cv_c_undeclared_builtin_options='cannot detect'
   4637    for ac_arg in '' -fno-builtin; do
   4638      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4639      # This test program should *not* compile successfully.
   4640      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4641 /* end confdefs.h.  */
   4642 
   4643 int
   4644 main (void)
   4645 {
   4646 (void) strchr;
   4647   ;
   4648   return 0;
   4649 }
   4650 _ACEOF
   4651 if ac_fn_c_try_compile "$LINENO"
   4652 then :
   4653 
   4654 else $as_nop
   4655   # This test program should compile successfully.
   4656         # No library function is consistently available on
   4657         # freestanding implementations, so test against a dummy
   4658         # declaration.  Include always-available headers on the
   4659         # off chance that they somehow elicit warnings.
   4660         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4661 /* end confdefs.h.  */
   4662 #include <float.h>
   4663 #include <limits.h>
   4664 #include <stdarg.h>
   4665 #include <stddef.h>
   4666 extern void ac_decl (int, char *);
   4667 
   4668 int
   4669 main (void)
   4670 {
   4671 (void) ac_decl (0, (char *) 0);
   4672   (void) ac_decl;
   4673 
   4674   ;
   4675   return 0;
   4676 }
   4677 _ACEOF
   4678 if ac_fn_c_try_compile "$LINENO"
   4679 then :
   4680   if test x"$ac_arg" = x
   4681 then :
   4682   ac_cv_c_undeclared_builtin_options='none needed'
   4683 else $as_nop
   4684   ac_cv_c_undeclared_builtin_options=$ac_arg
   4685 fi
   4686           break
   4687 fi
   4688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4689 fi
   4690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4691     done
   4692     CFLAGS=$ac_save_CFLAGS
   4693 
   4694 fi
   4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4696 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4697   case $ac_cv_c_undeclared_builtin_options in #(
   4698   'cannot detect') :
   4699     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4700 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4701 as_fn_error $? "cannot make $CC report undeclared builtins
   4702 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4703   'none needed') :
   4704     ac_c_undeclared_builtin_options='' ;; #(
   4705   *) :
   4706     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4707 esac
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4714 if test "x$ac_cv_have_decl___clang__" = xyes
   4715 then :
   4716   CLANGCC="yes"
   4717 else $as_nop
   4718   CLANGCC="no"
   4719 fi
   4720 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4721 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4722 then :
   4723   INTELCC="yes"
   4724 else $as_nop
   4725   INTELCC="no"
   4726 fi
   4727 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4728 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4729 then :
   4730   SUNCC="yes"
   4731 else $as_nop
   4732   SUNCC="no"
   4733 fi
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4743 	if test -n "$ac_tool_prefix"; then
   4744   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4745 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4747 printf %s "checking for $ac_word... " >&6; }
   4748 if test ${ac_cv_path_PKG_CONFIG+y}
   4749 then :
   4750   printf %s "(cached) " >&6
   4751 else $as_nop
   4752   case $PKG_CONFIG in
   4753   [\\/]* | ?:[\\/]*)
   4754   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4755   ;;
   4756   *)
   4757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4758 for as_dir in $PATH
   4759 do
   4760   IFS=$as_save_IFS
   4761   case $as_dir in #(((
   4762     '') as_dir=./ ;;
   4763     */) ;;
   4764     *) as_dir=$as_dir/ ;;
   4765   esac
   4766     for ac_exec_ext in '' $ac_executable_extensions; do
   4767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4768     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4769     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4770     break 2
   4771   fi
   4772 done
   4773   done
   4774 IFS=$as_save_IFS
   4775 
   4776   ;;
   4777 esac
   4778 fi
   4779 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4780 if test -n "$PKG_CONFIG"; then
   4781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4782 printf "%s\n" "$PKG_CONFIG" >&6; }
   4783 else
   4784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4785 printf "%s\n" "no" >&6; }
   4786 fi
   4787 
   4788 
   4789 fi
   4790 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4791   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4792   # Extract the first word of "pkg-config", so it can be a program name with args.
   4793 set dummy pkg-config; ac_word=$2
   4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4795 printf %s "checking for $ac_word... " >&6; }
   4796 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4797 then :
   4798   printf %s "(cached) " >&6
   4799 else $as_nop
   4800   case $ac_pt_PKG_CONFIG in
   4801   [\\/]* | ?:[\\/]*)
   4802   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4803   ;;
   4804   *)
   4805   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4806 for as_dir in $PATH
   4807 do
   4808   IFS=$as_save_IFS
   4809   case $as_dir in #(((
   4810     '') as_dir=./ ;;
   4811     */) ;;
   4812     *) as_dir=$as_dir/ ;;
   4813   esac
   4814     for ac_exec_ext in '' $ac_executable_extensions; do
   4815   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4816     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4817     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4818     break 2
   4819   fi
   4820 done
   4821   done
   4822 IFS=$as_save_IFS
   4823 
   4824   ;;
   4825 esac
   4826 fi
   4827 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4828 if test -n "$ac_pt_PKG_CONFIG"; then
   4829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4830 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4831 else
   4832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4833 printf "%s\n" "no" >&6; }
   4834 fi
   4835 
   4836   if test "x$ac_pt_PKG_CONFIG" = x; then
   4837     PKG_CONFIG=""
   4838   else
   4839     case $cross_compiling:$ac_tool_warned in
   4840 yes:)
   4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4842 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4843 ac_tool_warned=yes ;;
   4844 esac
   4845     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4846   fi
   4847 else
   4848   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4849 fi
   4850 
   4851 fi
   4852 if test -n "$PKG_CONFIG"; then
   4853 	_pkg_min_version=0.9.0
   4854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4855 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4856 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4858 printf "%s\n" "yes" >&6; }
   4859 	else
   4860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4861 printf "%s\n" "no" >&6; }
   4862 		PKG_CONFIG=""
   4863 	fi
   4864 fi
   4865 
   4866 
   4867   # Make sure we can run config.sub.
   4868 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4869   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4870 
   4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4872 printf %s "checking build system type... " >&6; }
   4873 if test ${ac_cv_build+y}
   4874 then :
   4875   printf %s "(cached) " >&6
   4876 else $as_nop
   4877   ac_build_alias=$build_alias
   4878 test "x$ac_build_alias" = x &&
   4879   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4880 test "x$ac_build_alias" = x &&
   4881   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4882 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4883   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4884 
   4885 fi
   4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4887 printf "%s\n" "$ac_cv_build" >&6; }
   4888 case $ac_cv_build in
   4889 *-*-*) ;;
   4890 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4891 esac
   4892 build=$ac_cv_build
   4893 ac_save_IFS=$IFS; IFS='-'
   4894 set x $ac_cv_build
   4895 shift
   4896 build_cpu=$1
   4897 build_vendor=$2
   4898 shift; shift
   4899 # Remember, the first character of IFS is used to create $*,
   4900 # except with old shells:
   4901 build_os=$*
   4902 IFS=$ac_save_IFS
   4903 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4904 
   4905 
   4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4907 printf %s "checking host system type... " >&6; }
   4908 if test ${ac_cv_host+y}
   4909 then :
   4910   printf %s "(cached) " >&6
   4911 else $as_nop
   4912   if test "x$host_alias" = x; then
   4913   ac_cv_host=$ac_cv_build
   4914 else
   4915   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4916     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4917 fi
   4918 
   4919 fi
   4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4921 printf "%s\n" "$ac_cv_host" >&6; }
   4922 case $ac_cv_host in
   4923 *-*-*) ;;
   4924 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4925 esac
   4926 host=$ac_cv_host
   4927 ac_save_IFS=$IFS; IFS='-'
   4928 set x $ac_cv_host
   4929 shift
   4930 host_cpu=$1
   4931 host_vendor=$2
   4932 shift; shift
   4933 # Remember, the first character of IFS is used to create $*,
   4934 # except with old shells:
   4935 host_os=$*
   4936 IFS=$ac_save_IFS
   4937 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4938 
   4939 
   4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4941 printf %s "checking for a sed that does not truncate output... " >&6; }
   4942 if test ${ac_cv_path_SED+y}
   4943 then :
   4944   printf %s "(cached) " >&6
   4945 else $as_nop
   4946             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4947      for ac_i in 1 2 3 4 5 6 7; do
   4948        ac_script="$ac_script$as_nl$ac_script"
   4949      done
   4950      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4951      { ac_script=; unset ac_script;}
   4952      if test -z "$SED"; then
   4953   ac_path_SED_found=false
   4954   # Loop through the user's path and test for each of PROGNAME-LIST
   4955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4956 for as_dir in $PATH
   4957 do
   4958   IFS=$as_save_IFS
   4959   case $as_dir in #(((
   4960     '') as_dir=./ ;;
   4961     */) ;;
   4962     *) as_dir=$as_dir/ ;;
   4963   esac
   4964     for ac_prog in sed gsed
   4965    do
   4966     for ac_exec_ext in '' $ac_executable_extensions; do
   4967       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4968       as_fn_executable_p "$ac_path_SED" || continue
   4969 # Check for GNU ac_path_SED and select it if it is found.
   4970   # Check for GNU $ac_path_SED
   4971 case `"$ac_path_SED" --version 2>&1` in
   4972 *GNU*)
   4973   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4974 *)
   4975   ac_count=0
   4976   printf %s 0123456789 >"conftest.in"
   4977   while :
   4978   do
   4979     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4980     mv "conftest.tmp" "conftest.in"
   4981     cp "conftest.in" "conftest.nl"
   4982     printf "%s\n" '' >> "conftest.nl"
   4983     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4984     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4985     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4986     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4987       # Best one so far, save it but keep looking for a better one
   4988       ac_cv_path_SED="$ac_path_SED"
   4989       ac_path_SED_max=$ac_count
   4990     fi
   4991     # 10*(2^10) chars as input seems more than enough
   4992     test $ac_count -gt 10 && break
   4993   done
   4994   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4995 esac
   4996 
   4997       $ac_path_SED_found && break 3
   4998     done
   4999   done
   5000   done
   5001 IFS=$as_save_IFS
   5002   if test -z "$ac_cv_path_SED"; then
   5003     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5004   fi
   5005 else
   5006   ac_cv_path_SED=$SED
   5007 fi
   5008 
   5009 fi
   5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5011 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5012  SED="$ac_cv_path_SED"
   5013   rm -f conftest.sed
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 # Check whether --enable-selective-werror was given.
   5021 if test ${enable_selective_werror+y}
   5022 then :
   5023   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5024 else $as_nop
   5025   SELECTIVE_WERROR=yes
   5026 fi
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5033 if test "x$SUNCC" = "xyes"; then
   5034     BASE_CFLAGS="-v"
   5035 else
   5036     BASE_CFLAGS=""
   5037 fi
   5038 
   5039 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 xorg_testset_save_CFLAGS="$CFLAGS"
   5054 
   5055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5058 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5059 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5060 then :
   5061   printf %s "(cached) " >&6
   5062 else $as_nop
   5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 _ACEOF
   5067 if ac_fn_c_try_compile "$LINENO"
   5068 then :
   5069   xorg_cv_cc_flag_unknown_warning_option=yes
   5070 else $as_nop
   5071   xorg_cv_cc_flag_unknown_warning_option=no
   5072 fi
   5073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5074 fi
   5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5076 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5078 	CFLAGS="$xorg_testset_save_CFLAGS"
   5079 fi
   5080 
   5081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5084 	fi
   5085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5087 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5088 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5089 then :
   5090   printf %s "(cached) " >&6
   5091 else $as_nop
   5092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5093 /* end confdefs.h.  */
   5094 int i;
   5095 _ACEOF
   5096 if ac_fn_c_try_compile "$LINENO"
   5097 then :
   5098   xorg_cv_cc_flag_unused_command_line_argument=yes
   5099 else $as_nop
   5100   xorg_cv_cc_flag_unused_command_line_argument=no
   5101 fi
   5102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5103 fi
   5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5105 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5107 	CFLAGS="$xorg_testset_save_CFLAGS"
   5108 fi
   5109 
   5110 found="no"
   5111 
   5112 	if test $found = "no" ; then
   5113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5115 		fi
   5116 
   5117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5119 		fi
   5120 
   5121 		CFLAGS="$CFLAGS -Wall"
   5122 
   5123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5124 printf %s "checking if $CC supports -Wall... " >&6; }
   5125 		cacheid=xorg_cv_cc_flag__Wall
   5126 		if eval test \${$cacheid+y}
   5127 then :
   5128   printf %s "(cached) " >&6
   5129 else $as_nop
   5130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 int i;
   5133 int
   5134 main (void)
   5135 {
   5136 
   5137   ;
   5138   return 0;
   5139 }
   5140 _ACEOF
   5141 if ac_fn_c_try_link "$LINENO"
   5142 then :
   5143   eval $cacheid=yes
   5144 else $as_nop
   5145   eval $cacheid=no
   5146 fi
   5147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5148     conftest$ac_exeext conftest.$ac_ext
   5149 fi
   5150 
   5151 
   5152 		CFLAGS="$xorg_testset_save_CFLAGS"
   5153 
   5154 		eval supported=\$$cacheid
   5155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5156 printf "%s\n" "$supported" >&6; }
   5157 		if test "$supported" = "yes" ; then
   5158 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5159 			found="yes"
   5160 		fi
   5161 	fi
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 xorg_testset_save_CFLAGS="$CFLAGS"
   5178 
   5179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5181 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5182 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5183 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5184 then :
   5185   printf %s "(cached) " >&6
   5186 else $as_nop
   5187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5188 /* end confdefs.h.  */
   5189 int i;
   5190 _ACEOF
   5191 if ac_fn_c_try_compile "$LINENO"
   5192 then :
   5193   xorg_cv_cc_flag_unknown_warning_option=yes
   5194 else $as_nop
   5195   xorg_cv_cc_flag_unknown_warning_option=no
   5196 fi
   5197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5198 fi
   5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5200 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5202 	CFLAGS="$xorg_testset_save_CFLAGS"
   5203 fi
   5204 
   5205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5208 	fi
   5209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5211 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5212 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5213 then :
   5214   printf %s "(cached) " >&6
   5215 else $as_nop
   5216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5217 /* end confdefs.h.  */
   5218 int i;
   5219 _ACEOF
   5220 if ac_fn_c_try_compile "$LINENO"
   5221 then :
   5222   xorg_cv_cc_flag_unused_command_line_argument=yes
   5223 else $as_nop
   5224   xorg_cv_cc_flag_unused_command_line_argument=no
   5225 fi
   5226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5227 fi
   5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5229 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5231 	CFLAGS="$xorg_testset_save_CFLAGS"
   5232 fi
   5233 
   5234 found="no"
   5235 
   5236 	if test $found = "no" ; then
   5237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5239 		fi
   5240 
   5241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5243 		fi
   5244 
   5245 		CFLAGS="$CFLAGS -Wpointer-arith"
   5246 
   5247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5248 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5249 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5250 		if eval test \${$cacheid+y}
   5251 then :
   5252   printf %s "(cached) " >&6
   5253 else $as_nop
   5254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5255 /* end confdefs.h.  */
   5256 int i;
   5257 int
   5258 main (void)
   5259 {
   5260 
   5261   ;
   5262   return 0;
   5263 }
   5264 _ACEOF
   5265 if ac_fn_c_try_link "$LINENO"
   5266 then :
   5267   eval $cacheid=yes
   5268 else $as_nop
   5269   eval $cacheid=no
   5270 fi
   5271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5272     conftest$ac_exeext conftest.$ac_ext
   5273 fi
   5274 
   5275 
   5276 		CFLAGS="$xorg_testset_save_CFLAGS"
   5277 
   5278 		eval supported=\$$cacheid
   5279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5280 printf "%s\n" "$supported" >&6; }
   5281 		if test "$supported" = "yes" ; then
   5282 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5283 			found="yes"
   5284 		fi
   5285 	fi
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 xorg_testset_save_CFLAGS="$CFLAGS"
   5302 
   5303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5305 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5306 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5307 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5308 then :
   5309   printf %s "(cached) " >&6
   5310 else $as_nop
   5311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 int i;
   5314 _ACEOF
   5315 if ac_fn_c_try_compile "$LINENO"
   5316 then :
   5317   xorg_cv_cc_flag_unknown_warning_option=yes
   5318 else $as_nop
   5319   xorg_cv_cc_flag_unknown_warning_option=no
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5322 fi
   5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5324 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5326 	CFLAGS="$xorg_testset_save_CFLAGS"
   5327 fi
   5328 
   5329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5332 	fi
   5333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5335 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5336 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5337 then :
   5338   printf %s "(cached) " >&6
   5339 else $as_nop
   5340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5341 /* end confdefs.h.  */
   5342 int i;
   5343 _ACEOF
   5344 if ac_fn_c_try_compile "$LINENO"
   5345 then :
   5346   xorg_cv_cc_flag_unused_command_line_argument=yes
   5347 else $as_nop
   5348   xorg_cv_cc_flag_unused_command_line_argument=no
   5349 fi
   5350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5351 fi
   5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5353 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5355 	CFLAGS="$xorg_testset_save_CFLAGS"
   5356 fi
   5357 
   5358 found="no"
   5359 
   5360 	if test $found = "no" ; then
   5361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5363 		fi
   5364 
   5365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5367 		fi
   5368 
   5369 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5370 
   5371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5372 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5373 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5374 		if eval test \${$cacheid+y}
   5375 then :
   5376   printf %s "(cached) " >&6
   5377 else $as_nop
   5378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5379 /* end confdefs.h.  */
   5380 int i;
   5381 int
   5382 main (void)
   5383 {
   5384 
   5385   ;
   5386   return 0;
   5387 }
   5388 _ACEOF
   5389 if ac_fn_c_try_link "$LINENO"
   5390 then :
   5391   eval $cacheid=yes
   5392 else $as_nop
   5393   eval $cacheid=no
   5394 fi
   5395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5396     conftest$ac_exeext conftest.$ac_ext
   5397 fi
   5398 
   5399 
   5400 		CFLAGS="$xorg_testset_save_CFLAGS"
   5401 
   5402 		eval supported=\$$cacheid
   5403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5404 printf "%s\n" "$supported" >&6; }
   5405 		if test "$supported" = "yes" ; then
   5406 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5407 			found="yes"
   5408 		fi
   5409 	fi
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 xorg_testset_save_CFLAGS="$CFLAGS"
   5426 
   5427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5430 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5431 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5432 then :
   5433   printf %s "(cached) " >&6
   5434 else $as_nop
   5435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5436 /* end confdefs.h.  */
   5437 int i;
   5438 _ACEOF
   5439 if ac_fn_c_try_compile "$LINENO"
   5440 then :
   5441   xorg_cv_cc_flag_unknown_warning_option=yes
   5442 else $as_nop
   5443   xorg_cv_cc_flag_unknown_warning_option=no
   5444 fi
   5445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5446 fi
   5447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5448 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5450 	CFLAGS="$xorg_testset_save_CFLAGS"
   5451 fi
   5452 
   5453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5456 	fi
   5457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5458 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5459 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5460 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5461 then :
   5462   printf %s "(cached) " >&6
   5463 else $as_nop
   5464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 _ACEOF
   5468 if ac_fn_c_try_compile "$LINENO"
   5469 then :
   5470   xorg_cv_cc_flag_unused_command_line_argument=yes
   5471 else $as_nop
   5472   xorg_cv_cc_flag_unused_command_line_argument=no
   5473 fi
   5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5475 fi
   5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5477 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5479 	CFLAGS="$xorg_testset_save_CFLAGS"
   5480 fi
   5481 
   5482 found="no"
   5483 
   5484 	if test $found = "no" ; then
   5485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5487 		fi
   5488 
   5489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5491 		fi
   5492 
   5493 		CFLAGS="$CFLAGS -Wformat=2"
   5494 
   5495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5496 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5497 		cacheid=xorg_cv_cc_flag__Wformat_2
   5498 		if eval test \${$cacheid+y}
   5499 then :
   5500   printf %s "(cached) " >&6
   5501 else $as_nop
   5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 int
   5506 main (void)
   5507 {
   5508 
   5509   ;
   5510   return 0;
   5511 }
   5512 _ACEOF
   5513 if ac_fn_c_try_link "$LINENO"
   5514 then :
   5515   eval $cacheid=yes
   5516 else $as_nop
   5517   eval $cacheid=no
   5518 fi
   5519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5520     conftest$ac_exeext conftest.$ac_ext
   5521 fi
   5522 
   5523 
   5524 		CFLAGS="$xorg_testset_save_CFLAGS"
   5525 
   5526 		eval supported=\$$cacheid
   5527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5528 printf "%s\n" "$supported" >&6; }
   5529 		if test "$supported" = "yes" ; then
   5530 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5531 			found="yes"
   5532 		fi
   5533 	fi
   5534 
   5535 	if test $found = "no" ; then
   5536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5538 		fi
   5539 
   5540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5542 		fi
   5543 
   5544 		CFLAGS="$CFLAGS -Wformat"
   5545 
   5546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5547 printf %s "checking if $CC supports -Wformat... " >&6; }
   5548 		cacheid=xorg_cv_cc_flag__Wformat
   5549 		if eval test \${$cacheid+y}
   5550 then :
   5551   printf %s "(cached) " >&6
   5552 else $as_nop
   5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5554 /* end confdefs.h.  */
   5555 int i;
   5556 int
   5557 main (void)
   5558 {
   5559 
   5560   ;
   5561   return 0;
   5562 }
   5563 _ACEOF
   5564 if ac_fn_c_try_link "$LINENO"
   5565 then :
   5566   eval $cacheid=yes
   5567 else $as_nop
   5568   eval $cacheid=no
   5569 fi
   5570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5571     conftest$ac_exeext conftest.$ac_ext
   5572 fi
   5573 
   5574 
   5575 		CFLAGS="$xorg_testset_save_CFLAGS"
   5576 
   5577 		eval supported=\$$cacheid
   5578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5579 printf "%s\n" "$supported" >&6; }
   5580 		if test "$supported" = "yes" ; then
   5581 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5582 			found="yes"
   5583 		fi
   5584 	fi
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 xorg_testset_save_CFLAGS="$CFLAGS"
   5603 
   5604 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5605 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5607 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5608 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5609 then :
   5610   printf %s "(cached) " >&6
   5611 else $as_nop
   5612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5613 /* end confdefs.h.  */
   5614 int i;
   5615 _ACEOF
   5616 if ac_fn_c_try_compile "$LINENO"
   5617 then :
   5618   xorg_cv_cc_flag_unknown_warning_option=yes
   5619 else $as_nop
   5620   xorg_cv_cc_flag_unknown_warning_option=no
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5623 fi
   5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5625 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5627 	CFLAGS="$xorg_testset_save_CFLAGS"
   5628 fi
   5629 
   5630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5633 	fi
   5634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5635 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5636 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5637 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5638 then :
   5639   printf %s "(cached) " >&6
   5640 else $as_nop
   5641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5642 /* end confdefs.h.  */
   5643 int i;
   5644 _ACEOF
   5645 if ac_fn_c_try_compile "$LINENO"
   5646 then :
   5647   xorg_cv_cc_flag_unused_command_line_argument=yes
   5648 else $as_nop
   5649   xorg_cv_cc_flag_unused_command_line_argument=no
   5650 fi
   5651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5652 fi
   5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5654 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5656 	CFLAGS="$xorg_testset_save_CFLAGS"
   5657 fi
   5658 
   5659 found="no"
   5660 
   5661 	if test $found = "no" ; then
   5662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5664 		fi
   5665 
   5666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5668 		fi
   5669 
   5670 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5671 
   5672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5673 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5674 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5675 		if eval test \${$cacheid+y}
   5676 then :
   5677   printf %s "(cached) " >&6
   5678 else $as_nop
   5679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 int
   5683 main (void)
   5684 {
   5685 
   5686   ;
   5687   return 0;
   5688 }
   5689 _ACEOF
   5690 if ac_fn_c_try_link "$LINENO"
   5691 then :
   5692   eval $cacheid=yes
   5693 else $as_nop
   5694   eval $cacheid=no
   5695 fi
   5696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5697     conftest$ac_exeext conftest.$ac_ext
   5698 fi
   5699 
   5700 
   5701 		CFLAGS="$xorg_testset_save_CFLAGS"
   5702 
   5703 		eval supported=\$$cacheid
   5704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5705 printf "%s\n" "$supported" >&6; }
   5706 		if test "$supported" = "yes" ; then
   5707 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5708 			found="yes"
   5709 		fi
   5710 	fi
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 xorg_testset_save_CFLAGS="$CFLAGS"
   5727 
   5728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5731 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5732 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5733 then :
   5734   printf %s "(cached) " >&6
   5735 else $as_nop
   5736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5737 /* end confdefs.h.  */
   5738 int i;
   5739 _ACEOF
   5740 if ac_fn_c_try_compile "$LINENO"
   5741 then :
   5742   xorg_cv_cc_flag_unknown_warning_option=yes
   5743 else $as_nop
   5744   xorg_cv_cc_flag_unknown_warning_option=no
   5745 fi
   5746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5747 fi
   5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5749 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5751 	CFLAGS="$xorg_testset_save_CFLAGS"
   5752 fi
   5753 
   5754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5757 	fi
   5758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5760 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5761 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5762 then :
   5763   printf %s "(cached) " >&6
   5764 else $as_nop
   5765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5766 /* end confdefs.h.  */
   5767 int i;
   5768 _ACEOF
   5769 if ac_fn_c_try_compile "$LINENO"
   5770 then :
   5771   xorg_cv_cc_flag_unused_command_line_argument=yes
   5772 else $as_nop
   5773   xorg_cv_cc_flag_unused_command_line_argument=no
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5776 fi
   5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5778 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5780 	CFLAGS="$xorg_testset_save_CFLAGS"
   5781 fi
   5782 
   5783 found="no"
   5784 
   5785 	if test $found = "no" ; then
   5786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5788 		fi
   5789 
   5790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5792 		fi
   5793 
   5794 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5795 
   5796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5797 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5798 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5799 		if eval test \${$cacheid+y}
   5800 then :
   5801   printf %s "(cached) " >&6
   5802 else $as_nop
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 int
   5807 main (void)
   5808 {
   5809 
   5810   ;
   5811   return 0;
   5812 }
   5813 _ACEOF
   5814 if ac_fn_c_try_link "$LINENO"
   5815 then :
   5816   eval $cacheid=yes
   5817 else $as_nop
   5818   eval $cacheid=no
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5821     conftest$ac_exeext conftest.$ac_ext
   5822 fi
   5823 
   5824 
   5825 		CFLAGS="$xorg_testset_save_CFLAGS"
   5826 
   5827 		eval supported=\$$cacheid
   5828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5829 printf "%s\n" "$supported" >&6; }
   5830 		if test "$supported" = "yes" ; then
   5831 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5832 			found="yes"
   5833 		fi
   5834 	fi
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 xorg_testset_save_CFLAGS="$CFLAGS"
   5851 
   5852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5855 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5856 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5857 then :
   5858   printf %s "(cached) " >&6
   5859 else $as_nop
   5860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5861 /* end confdefs.h.  */
   5862 int i;
   5863 _ACEOF
   5864 if ac_fn_c_try_compile "$LINENO"
   5865 then :
   5866   xorg_cv_cc_flag_unknown_warning_option=yes
   5867 else $as_nop
   5868   xorg_cv_cc_flag_unknown_warning_option=no
   5869 fi
   5870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5871 fi
   5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5873 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5875 	CFLAGS="$xorg_testset_save_CFLAGS"
   5876 fi
   5877 
   5878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5881 	fi
   5882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5884 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5885 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5886 then :
   5887   printf %s "(cached) " >&6
   5888 else $as_nop
   5889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5890 /* end confdefs.h.  */
   5891 int i;
   5892 _ACEOF
   5893 if ac_fn_c_try_compile "$LINENO"
   5894 then :
   5895   xorg_cv_cc_flag_unused_command_line_argument=yes
   5896 else $as_nop
   5897   xorg_cv_cc_flag_unused_command_line_argument=no
   5898 fi
   5899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5900 fi
   5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5902 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5904 	CFLAGS="$xorg_testset_save_CFLAGS"
   5905 fi
   5906 
   5907 found="no"
   5908 
   5909 	if test $found = "no" ; then
   5910 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5912 		fi
   5913 
   5914 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5916 		fi
   5917 
   5918 		CFLAGS="$CFLAGS -Wnested-externs"
   5919 
   5920 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5921 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5922 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5923 		if eval test \${$cacheid+y}
   5924 then :
   5925   printf %s "(cached) " >&6
   5926 else $as_nop
   5927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5928 /* end confdefs.h.  */
   5929 int i;
   5930 int
   5931 main (void)
   5932 {
   5933 
   5934   ;
   5935   return 0;
   5936 }
   5937 _ACEOF
   5938 if ac_fn_c_try_link "$LINENO"
   5939 then :
   5940   eval $cacheid=yes
   5941 else $as_nop
   5942   eval $cacheid=no
   5943 fi
   5944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5945     conftest$ac_exeext conftest.$ac_ext
   5946 fi
   5947 
   5948 
   5949 		CFLAGS="$xorg_testset_save_CFLAGS"
   5950 
   5951 		eval supported=\$$cacheid
   5952 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5953 printf "%s\n" "$supported" >&6; }
   5954 		if test "$supported" = "yes" ; then
   5955 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5956 			found="yes"
   5957 		fi
   5958 	fi
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 xorg_testset_save_CFLAGS="$CFLAGS"
   5975 
   5976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5979 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5980 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5981 then :
   5982   printf %s "(cached) " >&6
   5983 else $as_nop
   5984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 _ACEOF
   5988 if ac_fn_c_try_compile "$LINENO"
   5989 then :
   5990   xorg_cv_cc_flag_unknown_warning_option=yes
   5991 else $as_nop
   5992   xorg_cv_cc_flag_unknown_warning_option=no
   5993 fi
   5994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5995 fi
   5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5997 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5999 	CFLAGS="$xorg_testset_save_CFLAGS"
   6000 fi
   6001 
   6002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6005 	fi
   6006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6008 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6009 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6010 then :
   6011   printf %s "(cached) " >&6
   6012 else $as_nop
   6013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6014 /* end confdefs.h.  */
   6015 int i;
   6016 _ACEOF
   6017 if ac_fn_c_try_compile "$LINENO"
   6018 then :
   6019   xorg_cv_cc_flag_unused_command_line_argument=yes
   6020 else $as_nop
   6021   xorg_cv_cc_flag_unused_command_line_argument=no
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6024 fi
   6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6026 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6028 	CFLAGS="$xorg_testset_save_CFLAGS"
   6029 fi
   6030 
   6031 found="no"
   6032 
   6033 	if test $found = "no" ; then
   6034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6036 		fi
   6037 
   6038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6040 		fi
   6041 
   6042 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6043 
   6044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6045 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6046 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6047 		if eval test \${$cacheid+y}
   6048 then :
   6049   printf %s "(cached) " >&6
   6050 else $as_nop
   6051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6052 /* end confdefs.h.  */
   6053 int i;
   6054 int
   6055 main (void)
   6056 {
   6057 
   6058   ;
   6059   return 0;
   6060 }
   6061 _ACEOF
   6062 if ac_fn_c_try_link "$LINENO"
   6063 then :
   6064   eval $cacheid=yes
   6065 else $as_nop
   6066   eval $cacheid=no
   6067 fi
   6068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6069     conftest$ac_exeext conftest.$ac_ext
   6070 fi
   6071 
   6072 
   6073 		CFLAGS="$xorg_testset_save_CFLAGS"
   6074 
   6075 		eval supported=\$$cacheid
   6076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6077 printf "%s\n" "$supported" >&6; }
   6078 		if test "$supported" = "yes" ; then
   6079 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6080 			found="yes"
   6081 		fi
   6082 	fi
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 xorg_testset_save_CFLAGS="$CFLAGS"
   6099 
   6100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6103 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6104 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6105 then :
   6106   printf %s "(cached) " >&6
   6107 else $as_nop
   6108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6109 /* end confdefs.h.  */
   6110 int i;
   6111 _ACEOF
   6112 if ac_fn_c_try_compile "$LINENO"
   6113 then :
   6114   xorg_cv_cc_flag_unknown_warning_option=yes
   6115 else $as_nop
   6116   xorg_cv_cc_flag_unknown_warning_option=no
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6119 fi
   6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6121 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6123 	CFLAGS="$xorg_testset_save_CFLAGS"
   6124 fi
   6125 
   6126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 	fi
   6130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6132 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6133 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6134 then :
   6135   printf %s "(cached) " >&6
   6136 else $as_nop
   6137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"
   6142 then :
   6143   xorg_cv_cc_flag_unused_command_line_argument=yes
   6144 else $as_nop
   6145   xorg_cv_cc_flag_unused_command_line_argument=no
   6146 fi
   6147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6148 fi
   6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6152 	CFLAGS="$xorg_testset_save_CFLAGS"
   6153 fi
   6154 
   6155 found="no"
   6156 
   6157 	if test $found = "no" ; then
   6158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6160 		fi
   6161 
   6162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6164 		fi
   6165 
   6166 		CFLAGS="$CFLAGS -Wold-style-definition"
   6167 
   6168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6169 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6170 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6171 		if eval test \${$cacheid+y}
   6172 then :
   6173   printf %s "(cached) " >&6
   6174 else $as_nop
   6175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6176 /* end confdefs.h.  */
   6177 int i;
   6178 int
   6179 main (void)
   6180 {
   6181 
   6182   ;
   6183   return 0;
   6184 }
   6185 _ACEOF
   6186 if ac_fn_c_try_link "$LINENO"
   6187 then :
   6188   eval $cacheid=yes
   6189 else $as_nop
   6190   eval $cacheid=no
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6193     conftest$ac_exeext conftest.$ac_ext
   6194 fi
   6195 
   6196 
   6197 		CFLAGS="$xorg_testset_save_CFLAGS"
   6198 
   6199 		eval supported=\$$cacheid
   6200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6201 printf "%s\n" "$supported" >&6; }
   6202 		if test "$supported" = "yes" ; then
   6203 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6204 			found="yes"
   6205 		fi
   6206 	fi
   6207 
   6208 	if test $found = "no" ; then
   6209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6211 		fi
   6212 
   6213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6215 		fi
   6216 
   6217 		CFLAGS="$CFLAGS -fd"
   6218 
   6219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6220 printf %s "checking if $CC supports -fd... " >&6; }
   6221 		cacheid=xorg_cv_cc_flag__fd
   6222 		if eval test \${$cacheid+y}
   6223 then :
   6224   printf %s "(cached) " >&6
   6225 else $as_nop
   6226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6227 /* end confdefs.h.  */
   6228 int i;
   6229 int
   6230 main (void)
   6231 {
   6232 
   6233   ;
   6234   return 0;
   6235 }
   6236 _ACEOF
   6237 if ac_fn_c_try_link "$LINENO"
   6238 then :
   6239   eval $cacheid=yes
   6240 else $as_nop
   6241   eval $cacheid=no
   6242 fi
   6243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6244     conftest$ac_exeext conftest.$ac_ext
   6245 fi
   6246 
   6247 
   6248 		CFLAGS="$xorg_testset_save_CFLAGS"
   6249 
   6250 		eval supported=\$$cacheid
   6251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6252 printf "%s\n" "$supported" >&6; }
   6253 		if test "$supported" = "yes" ; then
   6254 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6255 			found="yes"
   6256 		fi
   6257 	fi
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 xorg_testset_save_CFLAGS="$CFLAGS"
   6274 
   6275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6280 then :
   6281   printf %s "(cached) " >&6
   6282 else $as_nop
   6283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6284 /* end confdefs.h.  */
   6285 int i;
   6286 _ACEOF
   6287 if ac_fn_c_try_compile "$LINENO"
   6288 then :
   6289   xorg_cv_cc_flag_unknown_warning_option=yes
   6290 else $as_nop
   6291   xorg_cv_cc_flag_unknown_warning_option=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6294 fi
   6295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6296 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6298 	CFLAGS="$xorg_testset_save_CFLAGS"
   6299 fi
   6300 
   6301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	fi
   6305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6309 then :
   6310   printf %s "(cached) " >&6
   6311 else $as_nop
   6312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6313 /* end confdefs.h.  */
   6314 int i;
   6315 _ACEOF
   6316 if ac_fn_c_try_compile "$LINENO"
   6317 then :
   6318   xorg_cv_cc_flag_unused_command_line_argument=yes
   6319 else $as_nop
   6320   xorg_cv_cc_flag_unused_command_line_argument=no
   6321 fi
   6322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6323 fi
   6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6327 	CFLAGS="$xorg_testset_save_CFLAGS"
   6328 fi
   6329 
   6330 found="no"
   6331 
   6332 	if test $found = "no" ; then
   6333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6335 		fi
   6336 
   6337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6339 		fi
   6340 
   6341 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6342 
   6343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6344 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6345 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6346 		if eval test \${$cacheid+y}
   6347 then :
   6348   printf %s "(cached) " >&6
   6349 else $as_nop
   6350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6351 /* end confdefs.h.  */
   6352 int i;
   6353 int
   6354 main (void)
   6355 {
   6356 
   6357   ;
   6358   return 0;
   6359 }
   6360 _ACEOF
   6361 if ac_fn_c_try_link "$LINENO"
   6362 then :
   6363   eval $cacheid=yes
   6364 else $as_nop
   6365   eval $cacheid=no
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6368     conftest$ac_exeext conftest.$ac_ext
   6369 fi
   6370 
   6371 
   6372 		CFLAGS="$xorg_testset_save_CFLAGS"
   6373 
   6374 		eval supported=\$$cacheid
   6375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6376 printf "%s\n" "$supported" >&6; }
   6377 		if test "$supported" = "yes" ; then
   6378 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6379 			found="yes"
   6380 		fi
   6381 	fi
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 # This chunk adds additional warnings that could catch undesired effects.
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 xorg_testset_save_CFLAGS="$CFLAGS"
   6402 
   6403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6406 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6407 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6408 then :
   6409   printf %s "(cached) " >&6
   6410 else $as_nop
   6411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6412 /* end confdefs.h.  */
   6413 int i;
   6414 _ACEOF
   6415 if ac_fn_c_try_compile "$LINENO"
   6416 then :
   6417   xorg_cv_cc_flag_unknown_warning_option=yes
   6418 else $as_nop
   6419   xorg_cv_cc_flag_unknown_warning_option=no
   6420 fi
   6421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6422 fi
   6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6424 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6426 	CFLAGS="$xorg_testset_save_CFLAGS"
   6427 fi
   6428 
   6429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6432 	fi
   6433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6434 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6435 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6436 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6437 then :
   6438   printf %s "(cached) " >&6
   6439 else $as_nop
   6440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6441 /* end confdefs.h.  */
   6442 int i;
   6443 _ACEOF
   6444 if ac_fn_c_try_compile "$LINENO"
   6445 then :
   6446   xorg_cv_cc_flag_unused_command_line_argument=yes
   6447 else $as_nop
   6448   xorg_cv_cc_flag_unused_command_line_argument=no
   6449 fi
   6450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6451 fi
   6452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6453 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6455 	CFLAGS="$xorg_testset_save_CFLAGS"
   6456 fi
   6457 
   6458 found="no"
   6459 
   6460 	if test $found = "no" ; then
   6461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6463 		fi
   6464 
   6465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6467 		fi
   6468 
   6469 		CFLAGS="$CFLAGS -Wunused"
   6470 
   6471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6472 printf %s "checking if $CC supports -Wunused... " >&6; }
   6473 		cacheid=xorg_cv_cc_flag__Wunused
   6474 		if eval test \${$cacheid+y}
   6475 then :
   6476   printf %s "(cached) " >&6
   6477 else $as_nop
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 int
   6482 main (void)
   6483 {
   6484 
   6485   ;
   6486   return 0;
   6487 }
   6488 _ACEOF
   6489 if ac_fn_c_try_link "$LINENO"
   6490 then :
   6491   eval $cacheid=yes
   6492 else $as_nop
   6493   eval $cacheid=no
   6494 fi
   6495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6496     conftest$ac_exeext conftest.$ac_ext
   6497 fi
   6498 
   6499 
   6500 		CFLAGS="$xorg_testset_save_CFLAGS"
   6501 
   6502 		eval supported=\$$cacheid
   6503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6504 printf "%s\n" "$supported" >&6; }
   6505 		if test "$supported" = "yes" ; then
   6506 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6507 			found="yes"
   6508 		fi
   6509 	fi
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 xorg_testset_save_CFLAGS="$CFLAGS"
   6526 
   6527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6530 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6531 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6532 then :
   6533   printf %s "(cached) " >&6
   6534 else $as_nop
   6535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6536 /* end confdefs.h.  */
   6537 int i;
   6538 _ACEOF
   6539 if ac_fn_c_try_compile "$LINENO"
   6540 then :
   6541   xorg_cv_cc_flag_unknown_warning_option=yes
   6542 else $as_nop
   6543   xorg_cv_cc_flag_unknown_warning_option=no
   6544 fi
   6545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6546 fi
   6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6548 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6550 	CFLAGS="$xorg_testset_save_CFLAGS"
   6551 fi
   6552 
   6553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6556 	fi
   6557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6559 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6560 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6561 then :
   6562   printf %s "(cached) " >&6
   6563 else $as_nop
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"
   6569 then :
   6570   xorg_cv_cc_flag_unused_command_line_argument=yes
   6571 else $as_nop
   6572   xorg_cv_cc_flag_unused_command_line_argument=no
   6573 fi
   6574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6575 fi
   6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6577 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6579 	CFLAGS="$xorg_testset_save_CFLAGS"
   6580 fi
   6581 
   6582 found="no"
   6583 
   6584 	if test $found = "no" ; then
   6585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6587 		fi
   6588 
   6589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6591 		fi
   6592 
   6593 		CFLAGS="$CFLAGS -Wuninitialized"
   6594 
   6595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6596 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6597 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6598 		if eval test \${$cacheid+y}
   6599 then :
   6600   printf %s "(cached) " >&6
   6601 else $as_nop
   6602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6603 /* end confdefs.h.  */
   6604 int i;
   6605 int
   6606 main (void)
   6607 {
   6608 
   6609   ;
   6610   return 0;
   6611 }
   6612 _ACEOF
   6613 if ac_fn_c_try_link "$LINENO"
   6614 then :
   6615   eval $cacheid=yes
   6616 else $as_nop
   6617   eval $cacheid=no
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6620     conftest$ac_exeext conftest.$ac_ext
   6621 fi
   6622 
   6623 
   6624 		CFLAGS="$xorg_testset_save_CFLAGS"
   6625 
   6626 		eval supported=\$$cacheid
   6627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6628 printf "%s\n" "$supported" >&6; }
   6629 		if test "$supported" = "yes" ; then
   6630 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6631 			found="yes"
   6632 		fi
   6633 	fi
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 xorg_testset_save_CFLAGS="$CFLAGS"
   6650 
   6651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6654 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6655 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6656 then :
   6657   printf %s "(cached) " >&6
   6658 else $as_nop
   6659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6660 /* end confdefs.h.  */
   6661 int i;
   6662 _ACEOF
   6663 if ac_fn_c_try_compile "$LINENO"
   6664 then :
   6665   xorg_cv_cc_flag_unknown_warning_option=yes
   6666 else $as_nop
   6667   xorg_cv_cc_flag_unknown_warning_option=no
   6668 fi
   6669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6670 fi
   6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6672 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6674 	CFLAGS="$xorg_testset_save_CFLAGS"
   6675 fi
   6676 
   6677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6680 	fi
   6681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6683 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6684 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6685 then :
   6686   printf %s "(cached) " >&6
   6687 else $as_nop
   6688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6689 /* end confdefs.h.  */
   6690 int i;
   6691 _ACEOF
   6692 if ac_fn_c_try_compile "$LINENO"
   6693 then :
   6694   xorg_cv_cc_flag_unused_command_line_argument=yes
   6695 else $as_nop
   6696   xorg_cv_cc_flag_unused_command_line_argument=no
   6697 fi
   6698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6699 fi
   6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6701 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6703 	CFLAGS="$xorg_testset_save_CFLAGS"
   6704 fi
   6705 
   6706 found="no"
   6707 
   6708 	if test $found = "no" ; then
   6709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6711 		fi
   6712 
   6713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6715 		fi
   6716 
   6717 		CFLAGS="$CFLAGS -Wshadow"
   6718 
   6719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6720 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6721 		cacheid=xorg_cv_cc_flag__Wshadow
   6722 		if eval test \${$cacheid+y}
   6723 then :
   6724   printf %s "(cached) " >&6
   6725 else $as_nop
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 int
   6730 main (void)
   6731 {
   6732 
   6733   ;
   6734   return 0;
   6735 }
   6736 _ACEOF
   6737 if ac_fn_c_try_link "$LINENO"
   6738 then :
   6739   eval $cacheid=yes
   6740 else $as_nop
   6741   eval $cacheid=no
   6742 fi
   6743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6744     conftest$ac_exeext conftest.$ac_ext
   6745 fi
   6746 
   6747 
   6748 		CFLAGS="$xorg_testset_save_CFLAGS"
   6749 
   6750 		eval supported=\$$cacheid
   6751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6752 printf "%s\n" "$supported" >&6; }
   6753 		if test "$supported" = "yes" ; then
   6754 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6755 			found="yes"
   6756 		fi
   6757 	fi
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 xorg_testset_save_CFLAGS="$CFLAGS"
   6774 
   6775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6778 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6779 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6780 then :
   6781   printf %s "(cached) " >&6
   6782 else $as_nop
   6783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 _ACEOF
   6787 if ac_fn_c_try_compile "$LINENO"
   6788 then :
   6789   xorg_cv_cc_flag_unknown_warning_option=yes
   6790 else $as_nop
   6791   xorg_cv_cc_flag_unknown_warning_option=no
   6792 fi
   6793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6794 fi
   6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6796 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6798 	CFLAGS="$xorg_testset_save_CFLAGS"
   6799 fi
   6800 
   6801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6804 	fi
   6805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6806 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6807 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6808 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6809 then :
   6810   printf %s "(cached) " >&6
   6811 else $as_nop
   6812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6813 /* end confdefs.h.  */
   6814 int i;
   6815 _ACEOF
   6816 if ac_fn_c_try_compile "$LINENO"
   6817 then :
   6818   xorg_cv_cc_flag_unused_command_line_argument=yes
   6819 else $as_nop
   6820   xorg_cv_cc_flag_unused_command_line_argument=no
   6821 fi
   6822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6823 fi
   6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6825 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6827 	CFLAGS="$xorg_testset_save_CFLAGS"
   6828 fi
   6829 
   6830 found="no"
   6831 
   6832 	if test $found = "no" ; then
   6833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6835 		fi
   6836 
   6837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6839 		fi
   6840 
   6841 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6842 
   6843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6844 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6845 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6846 		if eval test \${$cacheid+y}
   6847 then :
   6848   printf %s "(cached) " >&6
   6849 else $as_nop
   6850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6851 /* end confdefs.h.  */
   6852 int i;
   6853 int
   6854 main (void)
   6855 {
   6856 
   6857   ;
   6858   return 0;
   6859 }
   6860 _ACEOF
   6861 if ac_fn_c_try_link "$LINENO"
   6862 then :
   6863   eval $cacheid=yes
   6864 else $as_nop
   6865   eval $cacheid=no
   6866 fi
   6867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6868     conftest$ac_exeext conftest.$ac_ext
   6869 fi
   6870 
   6871 
   6872 		CFLAGS="$xorg_testset_save_CFLAGS"
   6873 
   6874 		eval supported=\$$cacheid
   6875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6876 printf "%s\n" "$supported" >&6; }
   6877 		if test "$supported" = "yes" ; then
   6878 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6879 			found="yes"
   6880 		fi
   6881 	fi
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 xorg_testset_save_CFLAGS="$CFLAGS"
   6898 
   6899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6902 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6903 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6904 then :
   6905   printf %s "(cached) " >&6
   6906 else $as_nop
   6907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6908 /* end confdefs.h.  */
   6909 int i;
   6910 _ACEOF
   6911 if ac_fn_c_try_compile "$LINENO"
   6912 then :
   6913   xorg_cv_cc_flag_unknown_warning_option=yes
   6914 else $as_nop
   6915   xorg_cv_cc_flag_unknown_warning_option=no
   6916 fi
   6917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6918 fi
   6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6922 	CFLAGS="$xorg_testset_save_CFLAGS"
   6923 fi
   6924 
   6925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6928 	fi
   6929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6933 then :
   6934   printf %s "(cached) " >&6
   6935 else $as_nop
   6936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937 /* end confdefs.h.  */
   6938 int i;
   6939 _ACEOF
   6940 if ac_fn_c_try_compile "$LINENO"
   6941 then :
   6942   xorg_cv_cc_flag_unused_command_line_argument=yes
   6943 else $as_nop
   6944   xorg_cv_cc_flag_unused_command_line_argument=no
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6947 fi
   6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6949 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6951 	CFLAGS="$xorg_testset_save_CFLAGS"
   6952 fi
   6953 
   6954 found="no"
   6955 
   6956 	if test $found = "no" ; then
   6957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6959 		fi
   6960 
   6961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6963 		fi
   6964 
   6965 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6966 
   6967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6968 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6969 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6970 		if eval test \${$cacheid+y}
   6971 then :
   6972   printf %s "(cached) " >&6
   6973 else $as_nop
   6974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6975 /* end confdefs.h.  */
   6976 int i;
   6977 int
   6978 main (void)
   6979 {
   6980 
   6981   ;
   6982   return 0;
   6983 }
   6984 _ACEOF
   6985 if ac_fn_c_try_link "$LINENO"
   6986 then :
   6987   eval $cacheid=yes
   6988 else $as_nop
   6989   eval $cacheid=no
   6990 fi
   6991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6992     conftest$ac_exeext conftest.$ac_ext
   6993 fi
   6994 
   6995 
   6996 		CFLAGS="$xorg_testset_save_CFLAGS"
   6997 
   6998 		eval supported=\$$cacheid
   6999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7000 printf "%s\n" "$supported" >&6; }
   7001 		if test "$supported" = "yes" ; then
   7002 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7003 			found="yes"
   7004 		fi
   7005 	fi
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 xorg_testset_save_CFLAGS="$CFLAGS"
   7022 
   7023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7026 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7027 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7028 then :
   7029   printf %s "(cached) " >&6
   7030 else $as_nop
   7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7032 /* end confdefs.h.  */
   7033 int i;
   7034 _ACEOF
   7035 if ac_fn_c_try_compile "$LINENO"
   7036 then :
   7037   xorg_cv_cc_flag_unknown_warning_option=yes
   7038 else $as_nop
   7039   xorg_cv_cc_flag_unknown_warning_option=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7042 fi
   7043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7046 	CFLAGS="$xorg_testset_save_CFLAGS"
   7047 fi
   7048 
   7049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7052 	fi
   7053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7057 then :
   7058   printf %s "(cached) " >&6
   7059 else $as_nop
   7060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"
   7065 then :
   7066   xorg_cv_cc_flag_unused_command_line_argument=yes
   7067 else $as_nop
   7068   xorg_cv_cc_flag_unused_command_line_argument=no
   7069 fi
   7070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7071 fi
   7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7075 	CFLAGS="$xorg_testset_save_CFLAGS"
   7076 fi
   7077 
   7078 found="no"
   7079 
   7080 	if test $found = "no" ; then
   7081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7083 		fi
   7084 
   7085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7087 		fi
   7088 
   7089 		CFLAGS="$CFLAGS -Wredundant-decls"
   7090 
   7091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7092 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7093 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7094 		if eval test \${$cacheid+y}
   7095 then :
   7096   printf %s "(cached) " >&6
   7097 else $as_nop
   7098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7099 /* end confdefs.h.  */
   7100 int i;
   7101 int
   7102 main (void)
   7103 {
   7104 
   7105   ;
   7106   return 0;
   7107 }
   7108 _ACEOF
   7109 if ac_fn_c_try_link "$LINENO"
   7110 then :
   7111   eval $cacheid=yes
   7112 else $as_nop
   7113   eval $cacheid=no
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7116     conftest$ac_exeext conftest.$ac_ext
   7117 fi
   7118 
   7119 
   7120 		CFLAGS="$xorg_testset_save_CFLAGS"
   7121 
   7122 		eval supported=\$$cacheid
   7123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7124 printf "%s\n" "$supported" >&6; }
   7125 		if test "$supported" = "yes" ; then
   7126 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7127 			found="yes"
   7128 		fi
   7129 	fi
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 xorg_testset_save_CFLAGS="$CFLAGS"
   7146 
   7147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7152 then :
   7153   printf %s "(cached) " >&6
   7154 else $as_nop
   7155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7156 /* end confdefs.h.  */
   7157 int i;
   7158 _ACEOF
   7159 if ac_fn_c_try_compile "$LINENO"
   7160 then :
   7161   xorg_cv_cc_flag_unknown_warning_option=yes
   7162 else $as_nop
   7163   xorg_cv_cc_flag_unknown_warning_option=no
   7164 fi
   7165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7166 fi
   7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7170 	CFLAGS="$xorg_testset_save_CFLAGS"
   7171 fi
   7172 
   7173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7176 	fi
   7177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7181 then :
   7182   printf %s "(cached) " >&6
   7183 else $as_nop
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"
   7189 then :
   7190   xorg_cv_cc_flag_unused_command_line_argument=yes
   7191 else $as_nop
   7192   xorg_cv_cc_flag_unused_command_line_argument=no
   7193 fi
   7194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7195 fi
   7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7197 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7199 	CFLAGS="$xorg_testset_save_CFLAGS"
   7200 fi
   7201 
   7202 found="no"
   7203 
   7204 	if test $found = "no" ; then
   7205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7207 		fi
   7208 
   7209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7211 		fi
   7212 
   7213 		CFLAGS="$CFLAGS -Wlogical-op"
   7214 
   7215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7216 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7217 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7218 		if eval test \${$cacheid+y}
   7219 then :
   7220   printf %s "(cached) " >&6
   7221 else $as_nop
   7222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 int
   7226 main (void)
   7227 {
   7228 
   7229   ;
   7230   return 0;
   7231 }
   7232 _ACEOF
   7233 if ac_fn_c_try_link "$LINENO"
   7234 then :
   7235   eval $cacheid=yes
   7236 else $as_nop
   7237   eval $cacheid=no
   7238 fi
   7239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7240     conftest$ac_exeext conftest.$ac_ext
   7241 fi
   7242 
   7243 
   7244 		CFLAGS="$xorg_testset_save_CFLAGS"
   7245 
   7246 		eval supported=\$$cacheid
   7247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7248 printf "%s\n" "$supported" >&6; }
   7249 		if test "$supported" = "yes" ; then
   7250 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7251 			found="yes"
   7252 		fi
   7253 	fi
   7254 
   7255 
   7256 
   7257 # These are currently disabled because they are noisy.  They will be enabled
   7258 # in the future once the codebase is sufficiently modernized to silence
   7259 # them.  For now, I don't want them to drown out the other warnings.
   7260 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7261 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7262 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7263 
   7264 # Turn some warnings into errors, so we don't accidently get successful builds
   7265 # when there are problems that should be fixed.
   7266 
   7267 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 xorg_testset_save_CFLAGS="$CFLAGS"
   7282 
   7283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7285 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7286 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7287 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7288 then :
   7289   printf %s "(cached) " >&6
   7290 else $as_nop
   7291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7292 /* end confdefs.h.  */
   7293 int i;
   7294 _ACEOF
   7295 if ac_fn_c_try_compile "$LINENO"
   7296 then :
   7297   xorg_cv_cc_flag_unknown_warning_option=yes
   7298 else $as_nop
   7299   xorg_cv_cc_flag_unknown_warning_option=no
   7300 fi
   7301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7302 fi
   7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7306 	CFLAGS="$xorg_testset_save_CFLAGS"
   7307 fi
   7308 
   7309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7312 	fi
   7313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7317 then :
   7318   printf %s "(cached) " >&6
   7319 else $as_nop
   7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 int i;
   7323 _ACEOF
   7324 if ac_fn_c_try_compile "$LINENO"
   7325 then :
   7326   xorg_cv_cc_flag_unused_command_line_argument=yes
   7327 else $as_nop
   7328   xorg_cv_cc_flag_unused_command_line_argument=no
   7329 fi
   7330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7331 fi
   7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7333 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7335 	CFLAGS="$xorg_testset_save_CFLAGS"
   7336 fi
   7337 
   7338 found="no"
   7339 
   7340 	if test $found = "no" ; then
   7341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7343 		fi
   7344 
   7345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7347 		fi
   7348 
   7349 		CFLAGS="$CFLAGS -Werror=implicit"
   7350 
   7351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7352 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7353 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7354 		if eval test \${$cacheid+y}
   7355 then :
   7356   printf %s "(cached) " >&6
   7357 else $as_nop
   7358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7359 /* end confdefs.h.  */
   7360 int i;
   7361 int
   7362 main (void)
   7363 {
   7364 
   7365   ;
   7366   return 0;
   7367 }
   7368 _ACEOF
   7369 if ac_fn_c_try_link "$LINENO"
   7370 then :
   7371   eval $cacheid=yes
   7372 else $as_nop
   7373   eval $cacheid=no
   7374 fi
   7375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7376     conftest$ac_exeext conftest.$ac_ext
   7377 fi
   7378 
   7379 
   7380 		CFLAGS="$xorg_testset_save_CFLAGS"
   7381 
   7382 		eval supported=\$$cacheid
   7383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7384 printf "%s\n" "$supported" >&6; }
   7385 		if test "$supported" = "yes" ; then
   7386 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7387 			found="yes"
   7388 		fi
   7389 	fi
   7390 
   7391 	if test $found = "no" ; then
   7392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7394 		fi
   7395 
   7396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7398 		fi
   7399 
   7400 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7401 
   7402 		{ 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
   7403 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7404 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7405 		if eval test \${$cacheid+y}
   7406 then :
   7407   printf %s "(cached) " >&6
   7408 else $as_nop
   7409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7410 /* end confdefs.h.  */
   7411 int i;
   7412 int
   7413 main (void)
   7414 {
   7415 
   7416   ;
   7417   return 0;
   7418 }
   7419 _ACEOF
   7420 if ac_fn_c_try_link "$LINENO"
   7421 then :
   7422   eval $cacheid=yes
   7423 else $as_nop
   7424   eval $cacheid=no
   7425 fi
   7426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7427     conftest$ac_exeext conftest.$ac_ext
   7428 fi
   7429 
   7430 
   7431 		CFLAGS="$xorg_testset_save_CFLAGS"
   7432 
   7433 		eval supported=\$$cacheid
   7434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7435 printf "%s\n" "$supported" >&6; }
   7436 		if test "$supported" = "yes" ; then
   7437 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7438 			found="yes"
   7439 		fi
   7440 	fi
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 xorg_testset_save_CFLAGS="$CFLAGS"
   7457 
   7458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7461 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7462 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7463 then :
   7464   printf %s "(cached) " >&6
   7465 else $as_nop
   7466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7467 /* end confdefs.h.  */
   7468 int i;
   7469 _ACEOF
   7470 if ac_fn_c_try_compile "$LINENO"
   7471 then :
   7472   xorg_cv_cc_flag_unknown_warning_option=yes
   7473 else $as_nop
   7474   xorg_cv_cc_flag_unknown_warning_option=no
   7475 fi
   7476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7477 fi
   7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7479 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7481 	CFLAGS="$xorg_testset_save_CFLAGS"
   7482 fi
   7483 
   7484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7487 	fi
   7488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7489 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7490 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7491 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7492 then :
   7493   printf %s "(cached) " >&6
   7494 else $as_nop
   7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7496 /* end confdefs.h.  */
   7497 int i;
   7498 _ACEOF
   7499 if ac_fn_c_try_compile "$LINENO"
   7500 then :
   7501   xorg_cv_cc_flag_unused_command_line_argument=yes
   7502 else $as_nop
   7503   xorg_cv_cc_flag_unused_command_line_argument=no
   7504 fi
   7505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7506 fi
   7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7508 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7510 	CFLAGS="$xorg_testset_save_CFLAGS"
   7511 fi
   7512 
   7513 found="no"
   7514 
   7515 	if test $found = "no" ; then
   7516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7518 		fi
   7519 
   7520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7522 		fi
   7523 
   7524 		CFLAGS="$CFLAGS -Werror=nonnull"
   7525 
   7526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7527 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7528 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7529 		if eval test \${$cacheid+y}
   7530 then :
   7531   printf %s "(cached) " >&6
   7532 else $as_nop
   7533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7534 /* end confdefs.h.  */
   7535 int i;
   7536 int
   7537 main (void)
   7538 {
   7539 
   7540   ;
   7541   return 0;
   7542 }
   7543 _ACEOF
   7544 if ac_fn_c_try_link "$LINENO"
   7545 then :
   7546   eval $cacheid=yes
   7547 else $as_nop
   7548   eval $cacheid=no
   7549 fi
   7550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7551     conftest$ac_exeext conftest.$ac_ext
   7552 fi
   7553 
   7554 
   7555 		CFLAGS="$xorg_testset_save_CFLAGS"
   7556 
   7557 		eval supported=\$$cacheid
   7558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7559 printf "%s\n" "$supported" >&6; }
   7560 		if test "$supported" = "yes" ; then
   7561 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7562 			found="yes"
   7563 		fi
   7564 	fi
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 xorg_testset_save_CFLAGS="$CFLAGS"
   7581 
   7582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7585 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7586 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7587 then :
   7588   printf %s "(cached) " >&6
   7589 else $as_nop
   7590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7591 /* end confdefs.h.  */
   7592 int i;
   7593 _ACEOF
   7594 if ac_fn_c_try_compile "$LINENO"
   7595 then :
   7596   xorg_cv_cc_flag_unknown_warning_option=yes
   7597 else $as_nop
   7598   xorg_cv_cc_flag_unknown_warning_option=no
   7599 fi
   7600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7601 fi
   7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7603 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7604 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7605 	CFLAGS="$xorg_testset_save_CFLAGS"
   7606 fi
   7607 
   7608 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7609 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7610 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7611 	fi
   7612 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7614 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7615 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7616 then :
   7617   printf %s "(cached) " >&6
   7618 else $as_nop
   7619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7620 /* end confdefs.h.  */
   7621 int i;
   7622 _ACEOF
   7623 if ac_fn_c_try_compile "$LINENO"
   7624 then :
   7625   xorg_cv_cc_flag_unused_command_line_argument=yes
   7626 else $as_nop
   7627   xorg_cv_cc_flag_unused_command_line_argument=no
   7628 fi
   7629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7630 fi
   7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7632 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7633 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7634 	CFLAGS="$xorg_testset_save_CFLAGS"
   7635 fi
   7636 
   7637 found="no"
   7638 
   7639 	if test $found = "no" ; then
   7640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7642 		fi
   7643 
   7644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7646 		fi
   7647 
   7648 		CFLAGS="$CFLAGS -Werror=init-self"
   7649 
   7650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7651 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7652 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7653 		if eval test \${$cacheid+y}
   7654 then :
   7655   printf %s "(cached) " >&6
   7656 else $as_nop
   7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7658 /* end confdefs.h.  */
   7659 int i;
   7660 int
   7661 main (void)
   7662 {
   7663 
   7664   ;
   7665   return 0;
   7666 }
   7667 _ACEOF
   7668 if ac_fn_c_try_link "$LINENO"
   7669 then :
   7670   eval $cacheid=yes
   7671 else $as_nop
   7672   eval $cacheid=no
   7673 fi
   7674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7675     conftest$ac_exeext conftest.$ac_ext
   7676 fi
   7677 
   7678 
   7679 		CFLAGS="$xorg_testset_save_CFLAGS"
   7680 
   7681 		eval supported=\$$cacheid
   7682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7683 printf "%s\n" "$supported" >&6; }
   7684 		if test "$supported" = "yes" ; then
   7685 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7686 			found="yes"
   7687 		fi
   7688 	fi
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 xorg_testset_save_CFLAGS="$CFLAGS"
   7705 
   7706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7709 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7710 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7711 then :
   7712   printf %s "(cached) " >&6
   7713 else $as_nop
   7714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7715 /* end confdefs.h.  */
   7716 int i;
   7717 _ACEOF
   7718 if ac_fn_c_try_compile "$LINENO"
   7719 then :
   7720   xorg_cv_cc_flag_unknown_warning_option=yes
   7721 else $as_nop
   7722   xorg_cv_cc_flag_unknown_warning_option=no
   7723 fi
   7724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7725 fi
   7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7727 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7729 	CFLAGS="$xorg_testset_save_CFLAGS"
   7730 fi
   7731 
   7732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7735 	fi
   7736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7738 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7739 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7740 then :
   7741   printf %s "(cached) " >&6
   7742 else $as_nop
   7743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7744 /* end confdefs.h.  */
   7745 int i;
   7746 _ACEOF
   7747 if ac_fn_c_try_compile "$LINENO"
   7748 then :
   7749   xorg_cv_cc_flag_unused_command_line_argument=yes
   7750 else $as_nop
   7751   xorg_cv_cc_flag_unused_command_line_argument=no
   7752 fi
   7753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7754 fi
   7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7756 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7757 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7758 	CFLAGS="$xorg_testset_save_CFLAGS"
   7759 fi
   7760 
   7761 found="no"
   7762 
   7763 	if test $found = "no" ; then
   7764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7766 		fi
   7767 
   7768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7770 		fi
   7771 
   7772 		CFLAGS="$CFLAGS -Werror=main"
   7773 
   7774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7775 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7776 		cacheid=xorg_cv_cc_flag__Werror_main
   7777 		if eval test \${$cacheid+y}
   7778 then :
   7779   printf %s "(cached) " >&6
   7780 else $as_nop
   7781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 int
   7785 main (void)
   7786 {
   7787 
   7788   ;
   7789   return 0;
   7790 }
   7791 _ACEOF
   7792 if ac_fn_c_try_link "$LINENO"
   7793 then :
   7794   eval $cacheid=yes
   7795 else $as_nop
   7796   eval $cacheid=no
   7797 fi
   7798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7799     conftest$ac_exeext conftest.$ac_ext
   7800 fi
   7801 
   7802 
   7803 		CFLAGS="$xorg_testset_save_CFLAGS"
   7804 
   7805 		eval supported=\$$cacheid
   7806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7807 printf "%s\n" "$supported" >&6; }
   7808 		if test "$supported" = "yes" ; then
   7809 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7810 			found="yes"
   7811 		fi
   7812 	fi
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 xorg_testset_save_CFLAGS="$CFLAGS"
   7829 
   7830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7833 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7834 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7835 then :
   7836   printf %s "(cached) " >&6
   7837 else $as_nop
   7838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7839 /* end confdefs.h.  */
   7840 int i;
   7841 _ACEOF
   7842 if ac_fn_c_try_compile "$LINENO"
   7843 then :
   7844   xorg_cv_cc_flag_unknown_warning_option=yes
   7845 else $as_nop
   7846   xorg_cv_cc_flag_unknown_warning_option=no
   7847 fi
   7848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7849 fi
   7850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7851 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7853 	CFLAGS="$xorg_testset_save_CFLAGS"
   7854 fi
   7855 
   7856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7859 	fi
   7860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7864 then :
   7865   printf %s "(cached) " >&6
   7866 else $as_nop
   7867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7868 /* end confdefs.h.  */
   7869 int i;
   7870 _ACEOF
   7871 if ac_fn_c_try_compile "$LINENO"
   7872 then :
   7873   xorg_cv_cc_flag_unused_command_line_argument=yes
   7874 else $as_nop
   7875   xorg_cv_cc_flag_unused_command_line_argument=no
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7878 fi
   7879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7880 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7882 	CFLAGS="$xorg_testset_save_CFLAGS"
   7883 fi
   7884 
   7885 found="no"
   7886 
   7887 	if test $found = "no" ; then
   7888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7890 		fi
   7891 
   7892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7894 		fi
   7895 
   7896 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7897 
   7898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7899 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7900 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7901 		if eval test \${$cacheid+y}
   7902 then :
   7903   printf %s "(cached) " >&6
   7904 else $as_nop
   7905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7906 /* end confdefs.h.  */
   7907 int i;
   7908 int
   7909 main (void)
   7910 {
   7911 
   7912   ;
   7913   return 0;
   7914 }
   7915 _ACEOF
   7916 if ac_fn_c_try_link "$LINENO"
   7917 then :
   7918   eval $cacheid=yes
   7919 else $as_nop
   7920   eval $cacheid=no
   7921 fi
   7922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7923     conftest$ac_exeext conftest.$ac_ext
   7924 fi
   7925 
   7926 
   7927 		CFLAGS="$xorg_testset_save_CFLAGS"
   7928 
   7929 		eval supported=\$$cacheid
   7930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7931 printf "%s\n" "$supported" >&6; }
   7932 		if test "$supported" = "yes" ; then
   7933 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7934 			found="yes"
   7935 		fi
   7936 	fi
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 xorg_testset_save_CFLAGS="$CFLAGS"
   7953 
   7954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7956 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7958 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7959 then :
   7960   printf %s "(cached) " >&6
   7961 else $as_nop
   7962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 _ACEOF
   7966 if ac_fn_c_try_compile "$LINENO"
   7967 then :
   7968   xorg_cv_cc_flag_unknown_warning_option=yes
   7969 else $as_nop
   7970   xorg_cv_cc_flag_unknown_warning_option=no
   7971 fi
   7972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7973 fi
   7974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7975 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7976 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7977 	CFLAGS="$xorg_testset_save_CFLAGS"
   7978 fi
   7979 
   7980 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7981 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7982 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7983 	fi
   7984 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7986 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7987 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7988 then :
   7989   printf %s "(cached) " >&6
   7990 else $as_nop
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 _ACEOF
   7995 if ac_fn_c_try_compile "$LINENO"
   7996 then :
   7997   xorg_cv_cc_flag_unused_command_line_argument=yes
   7998 else $as_nop
   7999   xorg_cv_cc_flag_unused_command_line_argument=no
   8000 fi
   8001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8002 fi
   8003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8004 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8006 	CFLAGS="$xorg_testset_save_CFLAGS"
   8007 fi
   8008 
   8009 found="no"
   8010 
   8011 	if test $found = "no" ; then
   8012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8014 		fi
   8015 
   8016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8018 		fi
   8019 
   8020 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8021 
   8022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8023 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8024 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8025 		if eval test \${$cacheid+y}
   8026 then :
   8027   printf %s "(cached) " >&6
   8028 else $as_nop
   8029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8030 /* end confdefs.h.  */
   8031 int i;
   8032 int
   8033 main (void)
   8034 {
   8035 
   8036   ;
   8037   return 0;
   8038 }
   8039 _ACEOF
   8040 if ac_fn_c_try_link "$LINENO"
   8041 then :
   8042   eval $cacheid=yes
   8043 else $as_nop
   8044   eval $cacheid=no
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8047     conftest$ac_exeext conftest.$ac_ext
   8048 fi
   8049 
   8050 
   8051 		CFLAGS="$xorg_testset_save_CFLAGS"
   8052 
   8053 		eval supported=\$$cacheid
   8054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8055 printf "%s\n" "$supported" >&6; }
   8056 		if test "$supported" = "yes" ; then
   8057 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8058 			found="yes"
   8059 		fi
   8060 	fi
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 xorg_testset_save_CFLAGS="$CFLAGS"
   8077 
   8078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8083 then :
   8084   printf %s "(cached) " >&6
   8085 else $as_nop
   8086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8087 /* end confdefs.h.  */
   8088 int i;
   8089 _ACEOF
   8090 if ac_fn_c_try_compile "$LINENO"
   8091 then :
   8092   xorg_cv_cc_flag_unknown_warning_option=yes
   8093 else $as_nop
   8094   xorg_cv_cc_flag_unknown_warning_option=no
   8095 fi
   8096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8097 fi
   8098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8101 	CFLAGS="$xorg_testset_save_CFLAGS"
   8102 fi
   8103 
   8104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8107 	fi
   8108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8112 then :
   8113   printf %s "(cached) " >&6
   8114 else $as_nop
   8115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8116 /* end confdefs.h.  */
   8117 int i;
   8118 _ACEOF
   8119 if ac_fn_c_try_compile "$LINENO"
   8120 then :
   8121   xorg_cv_cc_flag_unused_command_line_argument=yes
   8122 else $as_nop
   8123   xorg_cv_cc_flag_unused_command_line_argument=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8126 fi
   8127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8128 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8130 	CFLAGS="$xorg_testset_save_CFLAGS"
   8131 fi
   8132 
   8133 found="no"
   8134 
   8135 	if test $found = "no" ; then
   8136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8138 		fi
   8139 
   8140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8142 		fi
   8143 
   8144 		CFLAGS="$CFLAGS -Werror=return-type"
   8145 
   8146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8147 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8148 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8149 		if eval test \${$cacheid+y}
   8150 then :
   8151   printf %s "(cached) " >&6
   8152 else $as_nop
   8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8154 /* end confdefs.h.  */
   8155 int i;
   8156 int
   8157 main (void)
   8158 {
   8159 
   8160   ;
   8161   return 0;
   8162 }
   8163 _ACEOF
   8164 if ac_fn_c_try_link "$LINENO"
   8165 then :
   8166   eval $cacheid=yes
   8167 else $as_nop
   8168   eval $cacheid=no
   8169 fi
   8170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8171     conftest$ac_exeext conftest.$ac_ext
   8172 fi
   8173 
   8174 
   8175 		CFLAGS="$xorg_testset_save_CFLAGS"
   8176 
   8177 		eval supported=\$$cacheid
   8178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8179 printf "%s\n" "$supported" >&6; }
   8180 		if test "$supported" = "yes" ; then
   8181 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8182 			found="yes"
   8183 		fi
   8184 	fi
   8185 
   8186 	if test $found = "no" ; then
   8187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8189 		fi
   8190 
   8191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8193 		fi
   8194 
   8195 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8196 
   8197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8198 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8199 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8200 		if eval test \${$cacheid+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else $as_nop
   8204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 int i;
   8207 int
   8208 main (void)
   8209 {
   8210 
   8211   ;
   8212   return 0;
   8213 }
   8214 _ACEOF
   8215 if ac_fn_c_try_link "$LINENO"
   8216 then :
   8217   eval $cacheid=yes
   8218 else $as_nop
   8219   eval $cacheid=no
   8220 fi
   8221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8222     conftest$ac_exeext conftest.$ac_ext
   8223 fi
   8224 
   8225 
   8226 		CFLAGS="$xorg_testset_save_CFLAGS"
   8227 
   8228 		eval supported=\$$cacheid
   8229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8230 printf "%s\n" "$supported" >&6; }
   8231 		if test "$supported" = "yes" ; then
   8232 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8233 			found="yes"
   8234 		fi
   8235 	fi
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 xorg_testset_save_CFLAGS="$CFLAGS"
   8252 
   8253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8256 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8257 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8258 then :
   8259   printf %s "(cached) " >&6
   8260 else $as_nop
   8261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 int i;
   8264 _ACEOF
   8265 if ac_fn_c_try_compile "$LINENO"
   8266 then :
   8267   xorg_cv_cc_flag_unknown_warning_option=yes
   8268 else $as_nop
   8269   xorg_cv_cc_flag_unknown_warning_option=no
   8270 fi
   8271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8272 fi
   8273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8274 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8276 	CFLAGS="$xorg_testset_save_CFLAGS"
   8277 fi
   8278 
   8279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8282 	fi
   8283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8285 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8286 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8287 then :
   8288   printf %s "(cached) " >&6
   8289 else $as_nop
   8290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8291 /* end confdefs.h.  */
   8292 int i;
   8293 _ACEOF
   8294 if ac_fn_c_try_compile "$LINENO"
   8295 then :
   8296   xorg_cv_cc_flag_unused_command_line_argument=yes
   8297 else $as_nop
   8298   xorg_cv_cc_flag_unused_command_line_argument=no
   8299 fi
   8300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8301 fi
   8302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8303 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8305 	CFLAGS="$xorg_testset_save_CFLAGS"
   8306 fi
   8307 
   8308 found="no"
   8309 
   8310 	if test $found = "no" ; then
   8311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8313 		fi
   8314 
   8315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8317 		fi
   8318 
   8319 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8320 
   8321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8322 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8323 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8324 		if eval test \${$cacheid+y}
   8325 then :
   8326   printf %s "(cached) " >&6
   8327 else $as_nop
   8328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8329 /* end confdefs.h.  */
   8330 int i;
   8331 int
   8332 main (void)
   8333 {
   8334 
   8335   ;
   8336   return 0;
   8337 }
   8338 _ACEOF
   8339 if ac_fn_c_try_link "$LINENO"
   8340 then :
   8341   eval $cacheid=yes
   8342 else $as_nop
   8343   eval $cacheid=no
   8344 fi
   8345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8346     conftest$ac_exeext conftest.$ac_ext
   8347 fi
   8348 
   8349 
   8350 		CFLAGS="$xorg_testset_save_CFLAGS"
   8351 
   8352 		eval supported=\$$cacheid
   8353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8354 printf "%s\n" "$supported" >&6; }
   8355 		if test "$supported" = "yes" ; then
   8356 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8357 			found="yes"
   8358 		fi
   8359 	fi
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 xorg_testset_save_CFLAGS="$CFLAGS"
   8376 
   8377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8380 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8381 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8382 then :
   8383   printf %s "(cached) " >&6
   8384 else $as_nop
   8385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8386 /* end confdefs.h.  */
   8387 int i;
   8388 _ACEOF
   8389 if ac_fn_c_try_compile "$LINENO"
   8390 then :
   8391   xorg_cv_cc_flag_unknown_warning_option=yes
   8392 else $as_nop
   8393   xorg_cv_cc_flag_unknown_warning_option=no
   8394 fi
   8395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8396 fi
   8397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8398 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8400 	CFLAGS="$xorg_testset_save_CFLAGS"
   8401 fi
   8402 
   8403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 	fi
   8407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8409 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8410 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8411 then :
   8412   printf %s "(cached) " >&6
   8413 else $as_nop
   8414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8415 /* end confdefs.h.  */
   8416 int i;
   8417 _ACEOF
   8418 if ac_fn_c_try_compile "$LINENO"
   8419 then :
   8420   xorg_cv_cc_flag_unused_command_line_argument=yes
   8421 else $as_nop
   8422   xorg_cv_cc_flag_unused_command_line_argument=no
   8423 fi
   8424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8425 fi
   8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8427 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8429 	CFLAGS="$xorg_testset_save_CFLAGS"
   8430 fi
   8431 
   8432 found="no"
   8433 
   8434 	if test $found = "no" ; then
   8435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8437 		fi
   8438 
   8439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8441 		fi
   8442 
   8443 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8444 
   8445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8446 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8447 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8448 		if eval test \${$cacheid+y}
   8449 then :
   8450   printf %s "(cached) " >&6
   8451 else $as_nop
   8452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8453 /* end confdefs.h.  */
   8454 int i;
   8455 int
   8456 main (void)
   8457 {
   8458 
   8459   ;
   8460   return 0;
   8461 }
   8462 _ACEOF
   8463 if ac_fn_c_try_link "$LINENO"
   8464 then :
   8465   eval $cacheid=yes
   8466 else $as_nop
   8467   eval $cacheid=no
   8468 fi
   8469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8470     conftest$ac_exeext conftest.$ac_ext
   8471 fi
   8472 
   8473 
   8474 		CFLAGS="$xorg_testset_save_CFLAGS"
   8475 
   8476 		eval supported=\$$cacheid
   8477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8478 printf "%s\n" "$supported" >&6; }
   8479 		if test "$supported" = "yes" ; then
   8480 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8481 			found="yes"
   8482 		fi
   8483 	fi
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 xorg_testset_save_CFLAGS="$CFLAGS"
   8500 
   8501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8504 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8505 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8506 then :
   8507   printf %s "(cached) " >&6
   8508 else $as_nop
   8509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8510 /* end confdefs.h.  */
   8511 int i;
   8512 _ACEOF
   8513 if ac_fn_c_try_compile "$LINENO"
   8514 then :
   8515   xorg_cv_cc_flag_unknown_warning_option=yes
   8516 else $as_nop
   8517   xorg_cv_cc_flag_unknown_warning_option=no
   8518 fi
   8519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8520 fi
   8521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8522 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8524 	CFLAGS="$xorg_testset_save_CFLAGS"
   8525 fi
   8526 
   8527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8530 	fi
   8531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8532 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8533 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8534 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8535 then :
   8536   printf %s "(cached) " >&6
   8537 else $as_nop
   8538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8539 /* end confdefs.h.  */
   8540 int i;
   8541 _ACEOF
   8542 if ac_fn_c_try_compile "$LINENO"
   8543 then :
   8544   xorg_cv_cc_flag_unused_command_line_argument=yes
   8545 else $as_nop
   8546   xorg_cv_cc_flag_unused_command_line_argument=no
   8547 fi
   8548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8549 fi
   8550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8553 	CFLAGS="$xorg_testset_save_CFLAGS"
   8554 fi
   8555 
   8556 found="no"
   8557 
   8558 	if test $found = "no" ; then
   8559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8561 		fi
   8562 
   8563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8565 		fi
   8566 
   8567 		CFLAGS="$CFLAGS -Werror=write-strings"
   8568 
   8569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8570 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8571 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8572 		if eval test \${$cacheid+y}
   8573 then :
   8574   printf %s "(cached) " >&6
   8575 else $as_nop
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 int
   8580 main (void)
   8581 {
   8582 
   8583   ;
   8584   return 0;
   8585 }
   8586 _ACEOF
   8587 if ac_fn_c_try_link "$LINENO"
   8588 then :
   8589   eval $cacheid=yes
   8590 else $as_nop
   8591   eval $cacheid=no
   8592 fi
   8593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8594     conftest$ac_exeext conftest.$ac_ext
   8595 fi
   8596 
   8597 
   8598 		CFLAGS="$xorg_testset_save_CFLAGS"
   8599 
   8600 		eval supported=\$$cacheid
   8601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8602 printf "%s\n" "$supported" >&6; }
   8603 		if test "$supported" = "yes" ; then
   8604 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8605 			found="yes"
   8606 		fi
   8607 	fi
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 xorg_testset_save_CFLAGS="$CFLAGS"
   8624 
   8625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8630 then :
   8631   printf %s "(cached) " >&6
   8632 else $as_nop
   8633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8634 /* end confdefs.h.  */
   8635 int i;
   8636 _ACEOF
   8637 if ac_fn_c_try_compile "$LINENO"
   8638 then :
   8639   xorg_cv_cc_flag_unknown_warning_option=yes
   8640 else $as_nop
   8641   xorg_cv_cc_flag_unknown_warning_option=no
   8642 fi
   8643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8644 fi
   8645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8646 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8648 	CFLAGS="$xorg_testset_save_CFLAGS"
   8649 fi
   8650 
   8651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8654 	fi
   8655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8657 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8658 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8659 then :
   8660   printf %s "(cached) " >&6
   8661 else $as_nop
   8662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8663 /* end confdefs.h.  */
   8664 int i;
   8665 _ACEOF
   8666 if ac_fn_c_try_compile "$LINENO"
   8667 then :
   8668   xorg_cv_cc_flag_unused_command_line_argument=yes
   8669 else $as_nop
   8670   xorg_cv_cc_flag_unused_command_line_argument=no
   8671 fi
   8672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8673 fi
   8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8677 	CFLAGS="$xorg_testset_save_CFLAGS"
   8678 fi
   8679 
   8680 found="no"
   8681 
   8682 	if test $found = "no" ; then
   8683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8685 		fi
   8686 
   8687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8689 		fi
   8690 
   8691 		CFLAGS="$CFLAGS -Werror=address"
   8692 
   8693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8694 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8695 		cacheid=xorg_cv_cc_flag__Werror_address
   8696 		if eval test \${$cacheid+y}
   8697 then :
   8698   printf %s "(cached) " >&6
   8699 else $as_nop
   8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8701 /* end confdefs.h.  */
   8702 int i;
   8703 int
   8704 main (void)
   8705 {
   8706 
   8707   ;
   8708   return 0;
   8709 }
   8710 _ACEOF
   8711 if ac_fn_c_try_link "$LINENO"
   8712 then :
   8713   eval $cacheid=yes
   8714 else $as_nop
   8715   eval $cacheid=no
   8716 fi
   8717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8718     conftest$ac_exeext conftest.$ac_ext
   8719 fi
   8720 
   8721 
   8722 		CFLAGS="$xorg_testset_save_CFLAGS"
   8723 
   8724 		eval supported=\$$cacheid
   8725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8726 printf "%s\n" "$supported" >&6; }
   8727 		if test "$supported" = "yes" ; then
   8728 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8729 			found="yes"
   8730 		fi
   8731 	fi
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 xorg_testset_save_CFLAGS="$CFLAGS"
   8748 
   8749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8754 then :
   8755   printf %s "(cached) " >&6
   8756 else $as_nop
   8757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8758 /* end confdefs.h.  */
   8759 int i;
   8760 _ACEOF
   8761 if ac_fn_c_try_compile "$LINENO"
   8762 then :
   8763   xorg_cv_cc_flag_unknown_warning_option=yes
   8764 else $as_nop
   8765   xorg_cv_cc_flag_unknown_warning_option=no
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8768 fi
   8769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8770 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8772 	CFLAGS="$xorg_testset_save_CFLAGS"
   8773 fi
   8774 
   8775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8778 	fi
   8779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8781 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8782 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8783 then :
   8784   printf %s "(cached) " >&6
   8785 else $as_nop
   8786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8787 /* end confdefs.h.  */
   8788 int i;
   8789 _ACEOF
   8790 if ac_fn_c_try_compile "$LINENO"
   8791 then :
   8792   xorg_cv_cc_flag_unused_command_line_argument=yes
   8793 else $as_nop
   8794   xorg_cv_cc_flag_unused_command_line_argument=no
   8795 fi
   8796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8797 fi
   8798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8799 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8801 	CFLAGS="$xorg_testset_save_CFLAGS"
   8802 fi
   8803 
   8804 found="no"
   8805 
   8806 	if test $found = "no" ; then
   8807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8809 		fi
   8810 
   8811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8813 		fi
   8814 
   8815 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8816 
   8817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8818 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8819 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8820 		if eval test \${$cacheid+y}
   8821 then :
   8822   printf %s "(cached) " >&6
   8823 else $as_nop
   8824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8825 /* end confdefs.h.  */
   8826 int i;
   8827 int
   8828 main (void)
   8829 {
   8830 
   8831   ;
   8832   return 0;
   8833 }
   8834 _ACEOF
   8835 if ac_fn_c_try_link "$LINENO"
   8836 then :
   8837   eval $cacheid=yes
   8838 else $as_nop
   8839   eval $cacheid=no
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8842     conftest$ac_exeext conftest.$ac_ext
   8843 fi
   8844 
   8845 
   8846 		CFLAGS="$xorg_testset_save_CFLAGS"
   8847 
   8848 		eval supported=\$$cacheid
   8849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8850 printf "%s\n" "$supported" >&6; }
   8851 		if test "$supported" = "yes" ; then
   8852 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8853 			found="yes"
   8854 		fi
   8855 	fi
   8856 
   8857 	if test $found = "no" ; then
   8858 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8860 		fi
   8861 
   8862 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8864 		fi
   8865 
   8866 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8867 
   8868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8869 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8870 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8871 		if eval test \${$cacheid+y}
   8872 then :
   8873   printf %s "(cached) " >&6
   8874 else $as_nop
   8875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8876 /* end confdefs.h.  */
   8877 int i;
   8878 int
   8879 main (void)
   8880 {
   8881 
   8882   ;
   8883   return 0;
   8884 }
   8885 _ACEOF
   8886 if ac_fn_c_try_link "$LINENO"
   8887 then :
   8888   eval $cacheid=yes
   8889 else $as_nop
   8890   eval $cacheid=no
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8893     conftest$ac_exeext conftest.$ac_ext
   8894 fi
   8895 
   8896 
   8897 		CFLAGS="$xorg_testset_save_CFLAGS"
   8898 
   8899 		eval supported=\$$cacheid
   8900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8901 printf "%s\n" "$supported" >&6; }
   8902 		if test "$supported" = "yes" ; then
   8903 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8904 			found="yes"
   8905 		fi
   8906 	fi
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 xorg_testset_save_CFLAGS="$CFLAGS"
   8923 
   8924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8927 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8928 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8929 then :
   8930   printf %s "(cached) " >&6
   8931 else $as_nop
   8932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8933 /* end confdefs.h.  */
   8934 int i;
   8935 _ACEOF
   8936 if ac_fn_c_try_compile "$LINENO"
   8937 then :
   8938   xorg_cv_cc_flag_unknown_warning_option=yes
   8939 else $as_nop
   8940   xorg_cv_cc_flag_unknown_warning_option=no
   8941 fi
   8942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8943 fi
   8944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8945 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8947 	CFLAGS="$xorg_testset_save_CFLAGS"
   8948 fi
   8949 
   8950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8953 	fi
   8954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8956 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8957 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8958 then :
   8959   printf %s "(cached) " >&6
   8960 else $as_nop
   8961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8962 /* end confdefs.h.  */
   8963 int i;
   8964 _ACEOF
   8965 if ac_fn_c_try_compile "$LINENO"
   8966 then :
   8967   xorg_cv_cc_flag_unused_command_line_argument=yes
   8968 else $as_nop
   8969   xorg_cv_cc_flag_unused_command_line_argument=no
   8970 fi
   8971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8972 fi
   8973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8974 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8976 	CFLAGS="$xorg_testset_save_CFLAGS"
   8977 fi
   8978 
   8979 found="no"
   8980 
   8981 	if test $found = "no" ; then
   8982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8984 		fi
   8985 
   8986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8988 		fi
   8989 
   8990 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8991 
   8992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8993 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8994 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8995 		if eval test \${$cacheid+y}
   8996 then :
   8997   printf %s "(cached) " >&6
   8998 else $as_nop
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 int i;
   9002 int
   9003 main (void)
   9004 {
   9005 
   9006   ;
   9007   return 0;
   9008 }
   9009 _ACEOF
   9010 if ac_fn_c_try_link "$LINENO"
   9011 then :
   9012   eval $cacheid=yes
   9013 else $as_nop
   9014   eval $cacheid=no
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9017     conftest$ac_exeext conftest.$ac_ext
   9018 fi
   9019 
   9020 
   9021 		CFLAGS="$xorg_testset_save_CFLAGS"
   9022 
   9023 		eval supported=\$$cacheid
   9024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9025 printf "%s\n" "$supported" >&6; }
   9026 		if test "$supported" = "yes" ; then
   9027 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9028 			found="yes"
   9029 		fi
   9030 	fi
   9031 
   9032  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9033 else
   9034 { 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
   9035 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;}
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 xorg_testset_save_CFLAGS="$CFLAGS"
   9050 
   9051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9054 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9055 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9056 then :
   9057   printf %s "(cached) " >&6
   9058 else $as_nop
   9059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9060 /* end confdefs.h.  */
   9061 int i;
   9062 _ACEOF
   9063 if ac_fn_c_try_compile "$LINENO"
   9064 then :
   9065   xorg_cv_cc_flag_unknown_warning_option=yes
   9066 else $as_nop
   9067   xorg_cv_cc_flag_unknown_warning_option=no
   9068 fi
   9069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9070 fi
   9071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9072 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9074 	CFLAGS="$xorg_testset_save_CFLAGS"
   9075 fi
   9076 
   9077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9080 	fi
   9081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9083 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9084 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9085 then :
   9086   printf %s "(cached) " >&6
   9087 else $as_nop
   9088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9089 /* end confdefs.h.  */
   9090 int i;
   9091 _ACEOF
   9092 if ac_fn_c_try_compile "$LINENO"
   9093 then :
   9094   xorg_cv_cc_flag_unused_command_line_argument=yes
   9095 else $as_nop
   9096   xorg_cv_cc_flag_unused_command_line_argument=no
   9097 fi
   9098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9099 fi
   9100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9101 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9103 	CFLAGS="$xorg_testset_save_CFLAGS"
   9104 fi
   9105 
   9106 found="no"
   9107 
   9108 	if test $found = "no" ; then
   9109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9111 		fi
   9112 
   9113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9115 		fi
   9116 
   9117 		CFLAGS="$CFLAGS -Wimplicit"
   9118 
   9119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9120 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9121 		cacheid=xorg_cv_cc_flag__Wimplicit
   9122 		if eval test \${$cacheid+y}
   9123 then :
   9124   printf %s "(cached) " >&6
   9125 else $as_nop
   9126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9127 /* end confdefs.h.  */
   9128 int i;
   9129 int
   9130 main (void)
   9131 {
   9132 
   9133   ;
   9134   return 0;
   9135 }
   9136 _ACEOF
   9137 if ac_fn_c_try_link "$LINENO"
   9138 then :
   9139   eval $cacheid=yes
   9140 else $as_nop
   9141   eval $cacheid=no
   9142 fi
   9143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9144     conftest$ac_exeext conftest.$ac_ext
   9145 fi
   9146 
   9147 
   9148 		CFLAGS="$xorg_testset_save_CFLAGS"
   9149 
   9150 		eval supported=\$$cacheid
   9151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9152 printf "%s\n" "$supported" >&6; }
   9153 		if test "$supported" = "yes" ; then
   9154 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9155 			found="yes"
   9156 		fi
   9157 	fi
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 xorg_testset_save_CFLAGS="$CFLAGS"
   9174 
   9175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9180 then :
   9181   printf %s "(cached) " >&6
   9182 else $as_nop
   9183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9184 /* end confdefs.h.  */
   9185 int i;
   9186 _ACEOF
   9187 if ac_fn_c_try_compile "$LINENO"
   9188 then :
   9189   xorg_cv_cc_flag_unknown_warning_option=yes
   9190 else $as_nop
   9191   xorg_cv_cc_flag_unknown_warning_option=no
   9192 fi
   9193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9194 fi
   9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9196 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9198 	CFLAGS="$xorg_testset_save_CFLAGS"
   9199 fi
   9200 
   9201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9204 	fi
   9205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9207 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9208 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9209 then :
   9210   printf %s "(cached) " >&6
   9211 else $as_nop
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 _ACEOF
   9216 if ac_fn_c_try_compile "$LINENO"
   9217 then :
   9218   xorg_cv_cc_flag_unused_command_line_argument=yes
   9219 else $as_nop
   9220   xorg_cv_cc_flag_unused_command_line_argument=no
   9221 fi
   9222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9223 fi
   9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9227 	CFLAGS="$xorg_testset_save_CFLAGS"
   9228 fi
   9229 
   9230 found="no"
   9231 
   9232 	if test $found = "no" ; then
   9233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 		fi
   9236 
   9237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9239 		fi
   9240 
   9241 		CFLAGS="$CFLAGS -Wnonnull"
   9242 
   9243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9244 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9245 		cacheid=xorg_cv_cc_flag__Wnonnull
   9246 		if eval test \${$cacheid+y}
   9247 then :
   9248   printf %s "(cached) " >&6
   9249 else $as_nop
   9250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9251 /* end confdefs.h.  */
   9252 int i;
   9253 int
   9254 main (void)
   9255 {
   9256 
   9257   ;
   9258   return 0;
   9259 }
   9260 _ACEOF
   9261 if ac_fn_c_try_link "$LINENO"
   9262 then :
   9263   eval $cacheid=yes
   9264 else $as_nop
   9265   eval $cacheid=no
   9266 fi
   9267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9268     conftest$ac_exeext conftest.$ac_ext
   9269 fi
   9270 
   9271 
   9272 		CFLAGS="$xorg_testset_save_CFLAGS"
   9273 
   9274 		eval supported=\$$cacheid
   9275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9276 printf "%s\n" "$supported" >&6; }
   9277 		if test "$supported" = "yes" ; then
   9278 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9279 			found="yes"
   9280 		fi
   9281 	fi
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 xorg_testset_save_CFLAGS="$CFLAGS"
   9298 
   9299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9304 then :
   9305   printf %s "(cached) " >&6
   9306 else $as_nop
   9307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9308 /* end confdefs.h.  */
   9309 int i;
   9310 _ACEOF
   9311 if ac_fn_c_try_compile "$LINENO"
   9312 then :
   9313   xorg_cv_cc_flag_unknown_warning_option=yes
   9314 else $as_nop
   9315   xorg_cv_cc_flag_unknown_warning_option=no
   9316 fi
   9317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9318 fi
   9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9320 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9322 	CFLAGS="$xorg_testset_save_CFLAGS"
   9323 fi
   9324 
   9325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9328 	fi
   9329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9333 then :
   9334   printf %s "(cached) " >&6
   9335 else $as_nop
   9336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9337 /* end confdefs.h.  */
   9338 int i;
   9339 _ACEOF
   9340 if ac_fn_c_try_compile "$LINENO"
   9341 then :
   9342   xorg_cv_cc_flag_unused_command_line_argument=yes
   9343 else $as_nop
   9344   xorg_cv_cc_flag_unused_command_line_argument=no
   9345 fi
   9346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9347 fi
   9348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9351 	CFLAGS="$xorg_testset_save_CFLAGS"
   9352 fi
   9353 
   9354 found="no"
   9355 
   9356 	if test $found = "no" ; then
   9357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9359 		fi
   9360 
   9361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9363 		fi
   9364 
   9365 		CFLAGS="$CFLAGS -Winit-self"
   9366 
   9367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9368 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9369 		cacheid=xorg_cv_cc_flag__Winit_self
   9370 		if eval test \${$cacheid+y}
   9371 then :
   9372   printf %s "(cached) " >&6
   9373 else $as_nop
   9374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9375 /* end confdefs.h.  */
   9376 int i;
   9377 int
   9378 main (void)
   9379 {
   9380 
   9381   ;
   9382   return 0;
   9383 }
   9384 _ACEOF
   9385 if ac_fn_c_try_link "$LINENO"
   9386 then :
   9387   eval $cacheid=yes
   9388 else $as_nop
   9389   eval $cacheid=no
   9390 fi
   9391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9392     conftest$ac_exeext conftest.$ac_ext
   9393 fi
   9394 
   9395 
   9396 		CFLAGS="$xorg_testset_save_CFLAGS"
   9397 
   9398 		eval supported=\$$cacheid
   9399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9400 printf "%s\n" "$supported" >&6; }
   9401 		if test "$supported" = "yes" ; then
   9402 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9403 			found="yes"
   9404 		fi
   9405 	fi
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 xorg_testset_save_CFLAGS="$CFLAGS"
   9422 
   9423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9425 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9426 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9427 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9428 then :
   9429   printf %s "(cached) " >&6
   9430 else $as_nop
   9431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9432 /* end confdefs.h.  */
   9433 int i;
   9434 _ACEOF
   9435 if ac_fn_c_try_compile "$LINENO"
   9436 then :
   9437   xorg_cv_cc_flag_unknown_warning_option=yes
   9438 else $as_nop
   9439   xorg_cv_cc_flag_unknown_warning_option=no
   9440 fi
   9441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9442 fi
   9443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9444 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9446 	CFLAGS="$xorg_testset_save_CFLAGS"
   9447 fi
   9448 
   9449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9452 	fi
   9453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9455 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9456 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9457 then :
   9458   printf %s "(cached) " >&6
   9459 else $as_nop
   9460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9461 /* end confdefs.h.  */
   9462 int i;
   9463 _ACEOF
   9464 if ac_fn_c_try_compile "$LINENO"
   9465 then :
   9466   xorg_cv_cc_flag_unused_command_line_argument=yes
   9467 else $as_nop
   9468   xorg_cv_cc_flag_unused_command_line_argument=no
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9471 fi
   9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9473 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9475 	CFLAGS="$xorg_testset_save_CFLAGS"
   9476 fi
   9477 
   9478 found="no"
   9479 
   9480 	if test $found = "no" ; then
   9481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9483 		fi
   9484 
   9485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9487 		fi
   9488 
   9489 		CFLAGS="$CFLAGS -Wmain"
   9490 
   9491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9492 printf %s "checking if $CC supports -Wmain... " >&6; }
   9493 		cacheid=xorg_cv_cc_flag__Wmain
   9494 		if eval test \${$cacheid+y}
   9495 then :
   9496   printf %s "(cached) " >&6
   9497 else $as_nop
   9498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9499 /* end confdefs.h.  */
   9500 int i;
   9501 int
   9502 main (void)
   9503 {
   9504 
   9505   ;
   9506   return 0;
   9507 }
   9508 _ACEOF
   9509 if ac_fn_c_try_link "$LINENO"
   9510 then :
   9511   eval $cacheid=yes
   9512 else $as_nop
   9513   eval $cacheid=no
   9514 fi
   9515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9516     conftest$ac_exeext conftest.$ac_ext
   9517 fi
   9518 
   9519 
   9520 		CFLAGS="$xorg_testset_save_CFLAGS"
   9521 
   9522 		eval supported=\$$cacheid
   9523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9524 printf "%s\n" "$supported" >&6; }
   9525 		if test "$supported" = "yes" ; then
   9526 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9527 			found="yes"
   9528 		fi
   9529 	fi
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 xorg_testset_save_CFLAGS="$CFLAGS"
   9546 
   9547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9552 then :
   9553   printf %s "(cached) " >&6
   9554 else $as_nop
   9555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9556 /* end confdefs.h.  */
   9557 int i;
   9558 _ACEOF
   9559 if ac_fn_c_try_compile "$LINENO"
   9560 then :
   9561   xorg_cv_cc_flag_unknown_warning_option=yes
   9562 else $as_nop
   9563   xorg_cv_cc_flag_unknown_warning_option=no
   9564 fi
   9565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9566 fi
   9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9568 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9570 	CFLAGS="$xorg_testset_save_CFLAGS"
   9571 fi
   9572 
   9573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9576 	fi
   9577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9581 then :
   9582   printf %s "(cached) " >&6
   9583 else $as_nop
   9584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9585 /* end confdefs.h.  */
   9586 int i;
   9587 _ACEOF
   9588 if ac_fn_c_try_compile "$LINENO"
   9589 then :
   9590   xorg_cv_cc_flag_unused_command_line_argument=yes
   9591 else $as_nop
   9592   xorg_cv_cc_flag_unused_command_line_argument=no
   9593 fi
   9594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9595 fi
   9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9597 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9599 	CFLAGS="$xorg_testset_save_CFLAGS"
   9600 fi
   9601 
   9602 found="no"
   9603 
   9604 	if test $found = "no" ; then
   9605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9607 		fi
   9608 
   9609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9611 		fi
   9612 
   9613 		CFLAGS="$CFLAGS -Wmissing-braces"
   9614 
   9615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9616 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9617 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9618 		if eval test \${$cacheid+y}
   9619 then :
   9620   printf %s "(cached) " >&6
   9621 else $as_nop
   9622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9623 /* end confdefs.h.  */
   9624 int i;
   9625 int
   9626 main (void)
   9627 {
   9628 
   9629   ;
   9630   return 0;
   9631 }
   9632 _ACEOF
   9633 if ac_fn_c_try_link "$LINENO"
   9634 then :
   9635   eval $cacheid=yes
   9636 else $as_nop
   9637   eval $cacheid=no
   9638 fi
   9639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9640     conftest$ac_exeext conftest.$ac_ext
   9641 fi
   9642 
   9643 
   9644 		CFLAGS="$xorg_testset_save_CFLAGS"
   9645 
   9646 		eval supported=\$$cacheid
   9647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9648 printf "%s\n" "$supported" >&6; }
   9649 		if test "$supported" = "yes" ; then
   9650 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9651 			found="yes"
   9652 		fi
   9653 	fi
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 xorg_testset_save_CFLAGS="$CFLAGS"
   9670 
   9671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9676 then :
   9677   printf %s "(cached) " >&6
   9678 else $as_nop
   9679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9680 /* end confdefs.h.  */
   9681 int i;
   9682 _ACEOF
   9683 if ac_fn_c_try_compile "$LINENO"
   9684 then :
   9685   xorg_cv_cc_flag_unknown_warning_option=yes
   9686 else $as_nop
   9687   xorg_cv_cc_flag_unknown_warning_option=no
   9688 fi
   9689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9690 fi
   9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9694 	CFLAGS="$xorg_testset_save_CFLAGS"
   9695 fi
   9696 
   9697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 	fi
   9701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9705 then :
   9706   printf %s "(cached) " >&6
   9707 else $as_nop
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 _ACEOF
   9712 if ac_fn_c_try_compile "$LINENO"
   9713 then :
   9714   xorg_cv_cc_flag_unused_command_line_argument=yes
   9715 else $as_nop
   9716   xorg_cv_cc_flag_unused_command_line_argument=no
   9717 fi
   9718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9719 fi
   9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9723 	CFLAGS="$xorg_testset_save_CFLAGS"
   9724 fi
   9725 
   9726 found="no"
   9727 
   9728 	if test $found = "no" ; then
   9729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9731 		fi
   9732 
   9733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9735 		fi
   9736 
   9737 		CFLAGS="$CFLAGS -Wsequence-point"
   9738 
   9739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9740 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9741 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9742 		if eval test \${$cacheid+y}
   9743 then :
   9744   printf %s "(cached) " >&6
   9745 else $as_nop
   9746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9747 /* end confdefs.h.  */
   9748 int i;
   9749 int
   9750 main (void)
   9751 {
   9752 
   9753   ;
   9754   return 0;
   9755 }
   9756 _ACEOF
   9757 if ac_fn_c_try_link "$LINENO"
   9758 then :
   9759   eval $cacheid=yes
   9760 else $as_nop
   9761   eval $cacheid=no
   9762 fi
   9763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9764     conftest$ac_exeext conftest.$ac_ext
   9765 fi
   9766 
   9767 
   9768 		CFLAGS="$xorg_testset_save_CFLAGS"
   9769 
   9770 		eval supported=\$$cacheid
   9771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9772 printf "%s\n" "$supported" >&6; }
   9773 		if test "$supported" = "yes" ; then
   9774 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9775 			found="yes"
   9776 		fi
   9777 	fi
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 xorg_testset_save_CFLAGS="$CFLAGS"
   9794 
   9795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9800 then :
   9801   printf %s "(cached) " >&6
   9802 else $as_nop
   9803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9804 /* end confdefs.h.  */
   9805 int i;
   9806 _ACEOF
   9807 if ac_fn_c_try_compile "$LINENO"
   9808 then :
   9809   xorg_cv_cc_flag_unknown_warning_option=yes
   9810 else $as_nop
   9811   xorg_cv_cc_flag_unknown_warning_option=no
   9812 fi
   9813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9814 fi
   9815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9816 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9818 	CFLAGS="$xorg_testset_save_CFLAGS"
   9819 fi
   9820 
   9821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9824 	fi
   9825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9827 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9828 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9829 then :
   9830   printf %s "(cached) " >&6
   9831 else $as_nop
   9832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 _ACEOF
   9836 if ac_fn_c_try_compile "$LINENO"
   9837 then :
   9838   xorg_cv_cc_flag_unused_command_line_argument=yes
   9839 else $as_nop
   9840   xorg_cv_cc_flag_unused_command_line_argument=no
   9841 fi
   9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9843 fi
   9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9845 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9847 	CFLAGS="$xorg_testset_save_CFLAGS"
   9848 fi
   9849 
   9850 found="no"
   9851 
   9852 	if test $found = "no" ; then
   9853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9855 		fi
   9856 
   9857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9859 		fi
   9860 
   9861 		CFLAGS="$CFLAGS -Wreturn-type"
   9862 
   9863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9864 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9865 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9866 		if eval test \${$cacheid+y}
   9867 then :
   9868   printf %s "(cached) " >&6
   9869 else $as_nop
   9870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9871 /* end confdefs.h.  */
   9872 int i;
   9873 int
   9874 main (void)
   9875 {
   9876 
   9877   ;
   9878   return 0;
   9879 }
   9880 _ACEOF
   9881 if ac_fn_c_try_link "$LINENO"
   9882 then :
   9883   eval $cacheid=yes
   9884 else $as_nop
   9885   eval $cacheid=no
   9886 fi
   9887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9888     conftest$ac_exeext conftest.$ac_ext
   9889 fi
   9890 
   9891 
   9892 		CFLAGS="$xorg_testset_save_CFLAGS"
   9893 
   9894 		eval supported=\$$cacheid
   9895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9896 printf "%s\n" "$supported" >&6; }
   9897 		if test "$supported" = "yes" ; then
   9898 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9899 			found="yes"
   9900 		fi
   9901 	fi
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 xorg_testset_save_CFLAGS="$CFLAGS"
   9918 
   9919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9922 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9923 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9924 then :
   9925   printf %s "(cached) " >&6
   9926 else $as_nop
   9927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9928 /* end confdefs.h.  */
   9929 int i;
   9930 _ACEOF
   9931 if ac_fn_c_try_compile "$LINENO"
   9932 then :
   9933   xorg_cv_cc_flag_unknown_warning_option=yes
   9934 else $as_nop
   9935   xorg_cv_cc_flag_unknown_warning_option=no
   9936 fi
   9937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9938 fi
   9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9940 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9942 	CFLAGS="$xorg_testset_save_CFLAGS"
   9943 fi
   9944 
   9945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9948 	fi
   9949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9951 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9952 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9953 then :
   9954   printf %s "(cached) " >&6
   9955 else $as_nop
   9956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 _ACEOF
   9960 if ac_fn_c_try_compile "$LINENO"
   9961 then :
   9962   xorg_cv_cc_flag_unused_command_line_argument=yes
   9963 else $as_nop
   9964   xorg_cv_cc_flag_unused_command_line_argument=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9967 fi
   9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9969 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9971 	CFLAGS="$xorg_testset_save_CFLAGS"
   9972 fi
   9973 
   9974 found="no"
   9975 
   9976 	if test $found = "no" ; then
   9977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9979 		fi
   9980 
   9981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9983 		fi
   9984 
   9985 		CFLAGS="$CFLAGS -Wtrigraphs"
   9986 
   9987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9988 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9989 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9990 		if eval test \${$cacheid+y}
   9991 then :
   9992   printf %s "(cached) " >&6
   9993 else $as_nop
   9994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9995 /* end confdefs.h.  */
   9996 int i;
   9997 int
   9998 main (void)
   9999 {
   10000 
   10001   ;
   10002   return 0;
   10003 }
   10004 _ACEOF
   10005 if ac_fn_c_try_link "$LINENO"
   10006 then :
   10007   eval $cacheid=yes
   10008 else $as_nop
   10009   eval $cacheid=no
   10010 fi
   10011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10012     conftest$ac_exeext conftest.$ac_ext
   10013 fi
   10014 
   10015 
   10016 		CFLAGS="$xorg_testset_save_CFLAGS"
   10017 
   10018 		eval supported=\$$cacheid
   10019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10020 printf "%s\n" "$supported" >&6; }
   10021 		if test "$supported" = "yes" ; then
   10022 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10023 			found="yes"
   10024 		fi
   10025 	fi
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 xorg_testset_save_CFLAGS="$CFLAGS"
   10042 
   10043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10046 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10047 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10048 then :
   10049   printf %s "(cached) " >&6
   10050 else $as_nop
   10051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10052 /* end confdefs.h.  */
   10053 int i;
   10054 _ACEOF
   10055 if ac_fn_c_try_compile "$LINENO"
   10056 then :
   10057   xorg_cv_cc_flag_unknown_warning_option=yes
   10058 else $as_nop
   10059   xorg_cv_cc_flag_unknown_warning_option=no
   10060 fi
   10061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10062 fi
   10063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10066 	CFLAGS="$xorg_testset_save_CFLAGS"
   10067 fi
   10068 
   10069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10072 	fi
   10073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10077 then :
   10078   printf %s "(cached) " >&6
   10079 else $as_nop
   10080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10081 /* end confdefs.h.  */
   10082 int i;
   10083 _ACEOF
   10084 if ac_fn_c_try_compile "$LINENO"
   10085 then :
   10086   xorg_cv_cc_flag_unused_command_line_argument=yes
   10087 else $as_nop
   10088   xorg_cv_cc_flag_unused_command_line_argument=no
   10089 fi
   10090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10091 fi
   10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10093 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10095 	CFLAGS="$xorg_testset_save_CFLAGS"
   10096 fi
   10097 
   10098 found="no"
   10099 
   10100 	if test $found = "no" ; then
   10101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10103 		fi
   10104 
   10105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10107 		fi
   10108 
   10109 		CFLAGS="$CFLAGS -Warray-bounds"
   10110 
   10111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10112 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10113 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10114 		if eval test \${$cacheid+y}
   10115 then :
   10116   printf %s "(cached) " >&6
   10117 else $as_nop
   10118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10119 /* end confdefs.h.  */
   10120 int i;
   10121 int
   10122 main (void)
   10123 {
   10124 
   10125   ;
   10126   return 0;
   10127 }
   10128 _ACEOF
   10129 if ac_fn_c_try_link "$LINENO"
   10130 then :
   10131   eval $cacheid=yes
   10132 else $as_nop
   10133   eval $cacheid=no
   10134 fi
   10135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10136     conftest$ac_exeext conftest.$ac_ext
   10137 fi
   10138 
   10139 
   10140 		CFLAGS="$xorg_testset_save_CFLAGS"
   10141 
   10142 		eval supported=\$$cacheid
   10143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10144 printf "%s\n" "$supported" >&6; }
   10145 		if test "$supported" = "yes" ; then
   10146 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10147 			found="yes"
   10148 		fi
   10149 	fi
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 xorg_testset_save_CFLAGS="$CFLAGS"
   10166 
   10167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10170 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10171 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10172 then :
   10173   printf %s "(cached) " >&6
   10174 else $as_nop
   10175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10176 /* end confdefs.h.  */
   10177 int i;
   10178 _ACEOF
   10179 if ac_fn_c_try_compile "$LINENO"
   10180 then :
   10181   xorg_cv_cc_flag_unknown_warning_option=yes
   10182 else $as_nop
   10183   xorg_cv_cc_flag_unknown_warning_option=no
   10184 fi
   10185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10186 fi
   10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10190 	CFLAGS="$xorg_testset_save_CFLAGS"
   10191 fi
   10192 
   10193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10196 	fi
   10197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10201 then :
   10202   printf %s "(cached) " >&6
   10203 else $as_nop
   10204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10205 /* end confdefs.h.  */
   10206 int i;
   10207 _ACEOF
   10208 if ac_fn_c_try_compile "$LINENO"
   10209 then :
   10210   xorg_cv_cc_flag_unused_command_line_argument=yes
   10211 else $as_nop
   10212   xorg_cv_cc_flag_unused_command_line_argument=no
   10213 fi
   10214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10215 fi
   10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10217 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10219 	CFLAGS="$xorg_testset_save_CFLAGS"
   10220 fi
   10221 
   10222 found="no"
   10223 
   10224 	if test $found = "no" ; then
   10225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10227 		fi
   10228 
   10229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10231 		fi
   10232 
   10233 		CFLAGS="$CFLAGS -Wwrite-strings"
   10234 
   10235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10236 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10237 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10238 		if eval test \${$cacheid+y}
   10239 then :
   10240   printf %s "(cached) " >&6
   10241 else $as_nop
   10242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10243 /* end confdefs.h.  */
   10244 int i;
   10245 int
   10246 main (void)
   10247 {
   10248 
   10249   ;
   10250   return 0;
   10251 }
   10252 _ACEOF
   10253 if ac_fn_c_try_link "$LINENO"
   10254 then :
   10255   eval $cacheid=yes
   10256 else $as_nop
   10257   eval $cacheid=no
   10258 fi
   10259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10260     conftest$ac_exeext conftest.$ac_ext
   10261 fi
   10262 
   10263 
   10264 		CFLAGS="$xorg_testset_save_CFLAGS"
   10265 
   10266 		eval supported=\$$cacheid
   10267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10268 printf "%s\n" "$supported" >&6; }
   10269 		if test "$supported" = "yes" ; then
   10270 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10271 			found="yes"
   10272 		fi
   10273 	fi
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 xorg_testset_save_CFLAGS="$CFLAGS"
   10290 
   10291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10293 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10294 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10295 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10296 then :
   10297   printf %s "(cached) " >&6
   10298 else $as_nop
   10299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10300 /* end confdefs.h.  */
   10301 int i;
   10302 _ACEOF
   10303 if ac_fn_c_try_compile "$LINENO"
   10304 then :
   10305   xorg_cv_cc_flag_unknown_warning_option=yes
   10306 else $as_nop
   10307   xorg_cv_cc_flag_unknown_warning_option=no
   10308 fi
   10309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10310 fi
   10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10312 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10314 	CFLAGS="$xorg_testset_save_CFLAGS"
   10315 fi
   10316 
   10317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10320 	fi
   10321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10323 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10324 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10325 then :
   10326   printf %s "(cached) " >&6
   10327 else $as_nop
   10328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10329 /* end confdefs.h.  */
   10330 int i;
   10331 _ACEOF
   10332 if ac_fn_c_try_compile "$LINENO"
   10333 then :
   10334   xorg_cv_cc_flag_unused_command_line_argument=yes
   10335 else $as_nop
   10336   xorg_cv_cc_flag_unused_command_line_argument=no
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10339 fi
   10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10341 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10343 	CFLAGS="$xorg_testset_save_CFLAGS"
   10344 fi
   10345 
   10346 found="no"
   10347 
   10348 	if test $found = "no" ; then
   10349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 		fi
   10352 
   10353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 		fi
   10356 
   10357 		CFLAGS="$CFLAGS -Waddress"
   10358 
   10359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10360 printf %s "checking if $CC supports -Waddress... " >&6; }
   10361 		cacheid=xorg_cv_cc_flag__Waddress
   10362 		if eval test \${$cacheid+y}
   10363 then :
   10364   printf %s "(cached) " >&6
   10365 else $as_nop
   10366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 int
   10370 main (void)
   10371 {
   10372 
   10373   ;
   10374   return 0;
   10375 }
   10376 _ACEOF
   10377 if ac_fn_c_try_link "$LINENO"
   10378 then :
   10379   eval $cacheid=yes
   10380 else $as_nop
   10381   eval $cacheid=no
   10382 fi
   10383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10384     conftest$ac_exeext conftest.$ac_ext
   10385 fi
   10386 
   10387 
   10388 		CFLAGS="$xorg_testset_save_CFLAGS"
   10389 
   10390 		eval supported=\$$cacheid
   10391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10392 printf "%s\n" "$supported" >&6; }
   10393 		if test "$supported" = "yes" ; then
   10394 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10395 			found="yes"
   10396 		fi
   10397 	fi
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 xorg_testset_save_CFLAGS="$CFLAGS"
   10414 
   10415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10418 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10419 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10420 then :
   10421   printf %s "(cached) " >&6
   10422 else $as_nop
   10423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10424 /* end confdefs.h.  */
   10425 int i;
   10426 _ACEOF
   10427 if ac_fn_c_try_compile "$LINENO"
   10428 then :
   10429   xorg_cv_cc_flag_unknown_warning_option=yes
   10430 else $as_nop
   10431   xorg_cv_cc_flag_unknown_warning_option=no
   10432 fi
   10433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10434 fi
   10435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10436 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10438 	CFLAGS="$xorg_testset_save_CFLAGS"
   10439 fi
   10440 
   10441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10444 	fi
   10445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10447 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10448 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10449 then :
   10450   printf %s "(cached) " >&6
   10451 else $as_nop
   10452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10453 /* end confdefs.h.  */
   10454 int i;
   10455 _ACEOF
   10456 if ac_fn_c_try_compile "$LINENO"
   10457 then :
   10458   xorg_cv_cc_flag_unused_command_line_argument=yes
   10459 else $as_nop
   10460   xorg_cv_cc_flag_unused_command_line_argument=no
   10461 fi
   10462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10463 fi
   10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10467 	CFLAGS="$xorg_testset_save_CFLAGS"
   10468 fi
   10469 
   10470 found="no"
   10471 
   10472 	if test $found = "no" ; then
   10473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10475 		fi
   10476 
   10477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10479 		fi
   10480 
   10481 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10482 
   10483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10484 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10485 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10486 		if eval test \${$cacheid+y}
   10487 then :
   10488   printf %s "(cached) " >&6
   10489 else $as_nop
   10490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10491 /* end confdefs.h.  */
   10492 int i;
   10493 int
   10494 main (void)
   10495 {
   10496 
   10497   ;
   10498   return 0;
   10499 }
   10500 _ACEOF
   10501 if ac_fn_c_try_link "$LINENO"
   10502 then :
   10503   eval $cacheid=yes
   10504 else $as_nop
   10505   eval $cacheid=no
   10506 fi
   10507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10508     conftest$ac_exeext conftest.$ac_ext
   10509 fi
   10510 
   10511 
   10512 		CFLAGS="$xorg_testset_save_CFLAGS"
   10513 
   10514 		eval supported=\$$cacheid
   10515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10516 printf "%s\n" "$supported" >&6; }
   10517 		if test "$supported" = "yes" ; then
   10518 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10519 			found="yes"
   10520 		fi
   10521 	fi
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 xorg_testset_save_CFLAGS="$CFLAGS"
   10538 
   10539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10544 then :
   10545   printf %s "(cached) " >&6
   10546 else $as_nop
   10547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10548 /* end confdefs.h.  */
   10549 int i;
   10550 _ACEOF
   10551 if ac_fn_c_try_compile "$LINENO"
   10552 then :
   10553   xorg_cv_cc_flag_unknown_warning_option=yes
   10554 else $as_nop
   10555   xorg_cv_cc_flag_unknown_warning_option=no
   10556 fi
   10557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10558 fi
   10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10560 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10562 	CFLAGS="$xorg_testset_save_CFLAGS"
   10563 fi
   10564 
   10565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10568 	fi
   10569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10573 then :
   10574   printf %s "(cached) " >&6
   10575 else $as_nop
   10576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10577 /* end confdefs.h.  */
   10578 int i;
   10579 _ACEOF
   10580 if ac_fn_c_try_compile "$LINENO"
   10581 then :
   10582   xorg_cv_cc_flag_unused_command_line_argument=yes
   10583 else $as_nop
   10584   xorg_cv_cc_flag_unused_command_line_argument=no
   10585 fi
   10586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10587 fi
   10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10589 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10591 	CFLAGS="$xorg_testset_save_CFLAGS"
   10592 fi
   10593 
   10594 found="no"
   10595 
   10596 	if test $found = "no" ; then
   10597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10599 		fi
   10600 
   10601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10603 		fi
   10604 
   10605 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10606 
   10607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10608 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10609 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10610 		if eval test \${$cacheid+y}
   10611 then :
   10612   printf %s "(cached) " >&6
   10613 else $as_nop
   10614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10615 /* end confdefs.h.  */
   10616 int i;
   10617 int
   10618 main (void)
   10619 {
   10620 
   10621   ;
   10622   return 0;
   10623 }
   10624 _ACEOF
   10625 if ac_fn_c_try_link "$LINENO"
   10626 then :
   10627   eval $cacheid=yes
   10628 else $as_nop
   10629   eval $cacheid=no
   10630 fi
   10631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10632     conftest$ac_exeext conftest.$ac_ext
   10633 fi
   10634 
   10635 
   10636 		CFLAGS="$xorg_testset_save_CFLAGS"
   10637 
   10638 		eval supported=\$$cacheid
   10639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10640 printf "%s\n" "$supported" >&6; }
   10641 		if test "$supported" = "yes" ; then
   10642 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10643 			found="yes"
   10644 		fi
   10645 	fi
   10646 
   10647 
   10648 fi
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 		CWARNFLAGS="$BASE_CFLAGS"
   10657 		if  test "x$GCC" = xyes ; then
   10658 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10659 		fi
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 # Check whether --enable-strict-compilation was given.
   10669 if test ${enable_strict_compilation+y}
   10670 then :
   10671   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10672 else $as_nop
   10673   STRICT_COMPILE=no
   10674 fi
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 STRICT_CFLAGS=""
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 xorg_testset_save_CFLAGS="$CFLAGS"
   10696 
   10697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10702 then :
   10703   printf %s "(cached) " >&6
   10704 else $as_nop
   10705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10706 /* end confdefs.h.  */
   10707 int i;
   10708 _ACEOF
   10709 if ac_fn_c_try_compile "$LINENO"
   10710 then :
   10711   xorg_cv_cc_flag_unknown_warning_option=yes
   10712 else $as_nop
   10713   xorg_cv_cc_flag_unknown_warning_option=no
   10714 fi
   10715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10716 fi
   10717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10718 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10720 	CFLAGS="$xorg_testset_save_CFLAGS"
   10721 fi
   10722 
   10723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10726 	fi
   10727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10729 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10730 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10731 then :
   10732   printf %s "(cached) " >&6
   10733 else $as_nop
   10734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10735 /* end confdefs.h.  */
   10736 int i;
   10737 _ACEOF
   10738 if ac_fn_c_try_compile "$LINENO"
   10739 then :
   10740   xorg_cv_cc_flag_unused_command_line_argument=yes
   10741 else $as_nop
   10742   xorg_cv_cc_flag_unused_command_line_argument=no
   10743 fi
   10744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10745 fi
   10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10749 	CFLAGS="$xorg_testset_save_CFLAGS"
   10750 fi
   10751 
   10752 found="no"
   10753 
   10754 	if test $found = "no" ; then
   10755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10757 		fi
   10758 
   10759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10761 		fi
   10762 
   10763 		CFLAGS="$CFLAGS -pedantic"
   10764 
   10765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10766 printf %s "checking if $CC supports -pedantic... " >&6; }
   10767 		cacheid=xorg_cv_cc_flag__pedantic
   10768 		if eval test \${$cacheid+y}
   10769 then :
   10770   printf %s "(cached) " >&6
   10771 else $as_nop
   10772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10773 /* end confdefs.h.  */
   10774 int i;
   10775 int
   10776 main (void)
   10777 {
   10778 
   10779   ;
   10780   return 0;
   10781 }
   10782 _ACEOF
   10783 if ac_fn_c_try_link "$LINENO"
   10784 then :
   10785   eval $cacheid=yes
   10786 else $as_nop
   10787   eval $cacheid=no
   10788 fi
   10789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10790     conftest$ac_exeext conftest.$ac_ext
   10791 fi
   10792 
   10793 
   10794 		CFLAGS="$xorg_testset_save_CFLAGS"
   10795 
   10796 		eval supported=\$$cacheid
   10797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10798 printf "%s\n" "$supported" >&6; }
   10799 		if test "$supported" = "yes" ; then
   10800 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10801 			found="yes"
   10802 		fi
   10803 	fi
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 xorg_testset_save_CFLAGS="$CFLAGS"
   10820 
   10821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10824 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10825 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10826 then :
   10827   printf %s "(cached) " >&6
   10828 else $as_nop
   10829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10830 /* end confdefs.h.  */
   10831 int i;
   10832 _ACEOF
   10833 if ac_fn_c_try_compile "$LINENO"
   10834 then :
   10835   xorg_cv_cc_flag_unknown_warning_option=yes
   10836 else $as_nop
   10837   xorg_cv_cc_flag_unknown_warning_option=no
   10838 fi
   10839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10840 fi
   10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10842 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10844 	CFLAGS="$xorg_testset_save_CFLAGS"
   10845 fi
   10846 
   10847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10850 	fi
   10851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10853 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10854 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10855 then :
   10856   printf %s "(cached) " >&6
   10857 else $as_nop
   10858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10859 /* end confdefs.h.  */
   10860 int i;
   10861 _ACEOF
   10862 if ac_fn_c_try_compile "$LINENO"
   10863 then :
   10864   xorg_cv_cc_flag_unused_command_line_argument=yes
   10865 else $as_nop
   10866   xorg_cv_cc_flag_unused_command_line_argument=no
   10867 fi
   10868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10869 fi
   10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10871 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10873 	CFLAGS="$xorg_testset_save_CFLAGS"
   10874 fi
   10875 
   10876 found="no"
   10877 
   10878 	if test $found = "no" ; then
   10879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10881 		fi
   10882 
   10883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10885 		fi
   10886 
   10887 		CFLAGS="$CFLAGS -Werror"
   10888 
   10889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10890 printf %s "checking if $CC supports -Werror... " >&6; }
   10891 		cacheid=xorg_cv_cc_flag__Werror
   10892 		if eval test \${$cacheid+y}
   10893 then :
   10894   printf %s "(cached) " >&6
   10895 else $as_nop
   10896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10897 /* end confdefs.h.  */
   10898 int i;
   10899 int
   10900 main (void)
   10901 {
   10902 
   10903   ;
   10904   return 0;
   10905 }
   10906 _ACEOF
   10907 if ac_fn_c_try_link "$LINENO"
   10908 then :
   10909   eval $cacheid=yes
   10910 else $as_nop
   10911   eval $cacheid=no
   10912 fi
   10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10914     conftest$ac_exeext conftest.$ac_ext
   10915 fi
   10916 
   10917 
   10918 		CFLAGS="$xorg_testset_save_CFLAGS"
   10919 
   10920 		eval supported=\$$cacheid
   10921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10922 printf "%s\n" "$supported" >&6; }
   10923 		if test "$supported" = "yes" ; then
   10924 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10925 			found="yes"
   10926 		fi
   10927 	fi
   10928 
   10929 	if test $found = "no" ; then
   10930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10932 		fi
   10933 
   10934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10936 		fi
   10937 
   10938 		CFLAGS="$CFLAGS -errwarn"
   10939 
   10940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10941 printf %s "checking if $CC supports -errwarn... " >&6; }
   10942 		cacheid=xorg_cv_cc_flag__errwarn
   10943 		if eval test \${$cacheid+y}
   10944 then :
   10945   printf %s "(cached) " >&6
   10946 else $as_nop
   10947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10948 /* end confdefs.h.  */
   10949 int i;
   10950 int
   10951 main (void)
   10952 {
   10953 
   10954   ;
   10955   return 0;
   10956 }
   10957 _ACEOF
   10958 if ac_fn_c_try_link "$LINENO"
   10959 then :
   10960   eval $cacheid=yes
   10961 else $as_nop
   10962   eval $cacheid=no
   10963 fi
   10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10965     conftest$ac_exeext conftest.$ac_ext
   10966 fi
   10967 
   10968 
   10969 		CFLAGS="$xorg_testset_save_CFLAGS"
   10970 
   10971 		eval supported=\$$cacheid
   10972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10973 printf "%s\n" "$supported" >&6; }
   10974 		if test "$supported" = "yes" ; then
   10975 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10976 			found="yes"
   10977 		fi
   10978 	fi
   10979 
   10980 
   10981 
   10982 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10983 # activate it with -Werror, so we add it here explicitly.
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 xorg_testset_save_CFLAGS="$CFLAGS"
   10998 
   10999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11004 then :
   11005   printf %s "(cached) " >&6
   11006 else $as_nop
   11007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11008 /* end confdefs.h.  */
   11009 int i;
   11010 _ACEOF
   11011 if ac_fn_c_try_compile "$LINENO"
   11012 then :
   11013   xorg_cv_cc_flag_unknown_warning_option=yes
   11014 else $as_nop
   11015   xorg_cv_cc_flag_unknown_warning_option=no
   11016 fi
   11017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11018 fi
   11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11022 	CFLAGS="$xorg_testset_save_CFLAGS"
   11023 fi
   11024 
   11025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11028 	fi
   11029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11033 then :
   11034   printf %s "(cached) " >&6
   11035 else $as_nop
   11036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11037 /* end confdefs.h.  */
   11038 int i;
   11039 _ACEOF
   11040 if ac_fn_c_try_compile "$LINENO"
   11041 then :
   11042   xorg_cv_cc_flag_unused_command_line_argument=yes
   11043 else $as_nop
   11044   xorg_cv_cc_flag_unused_command_line_argument=no
   11045 fi
   11046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11047 fi
   11048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11051 	CFLAGS="$xorg_testset_save_CFLAGS"
   11052 fi
   11053 
   11054 found="no"
   11055 
   11056 	if test $found = "no" ; then
   11057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11059 		fi
   11060 
   11061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11063 		fi
   11064 
   11065 		CFLAGS="$CFLAGS -Werror=attributes"
   11066 
   11067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11068 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11069 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11070 		if eval test \${$cacheid+y}
   11071 then :
   11072   printf %s "(cached) " >&6
   11073 else $as_nop
   11074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11075 /* end confdefs.h.  */
   11076 int i;
   11077 int
   11078 main (void)
   11079 {
   11080 
   11081   ;
   11082   return 0;
   11083 }
   11084 _ACEOF
   11085 if ac_fn_c_try_link "$LINENO"
   11086 then :
   11087   eval $cacheid=yes
   11088 else $as_nop
   11089   eval $cacheid=no
   11090 fi
   11091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11092     conftest$ac_exeext conftest.$ac_ext
   11093 fi
   11094 
   11095 
   11096 		CFLAGS="$xorg_testset_save_CFLAGS"
   11097 
   11098 		eval supported=\$$cacheid
   11099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11100 printf "%s\n" "$supported" >&6; }
   11101 		if test "$supported" = "yes" ; then
   11102 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11103 			found="yes"
   11104 		fi
   11105 	fi
   11106 
   11107 
   11108 
   11109 if test "x$STRICT_COMPILE" = "xyes"; then
   11110     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11111     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11112 fi
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 cat >>confdefs.h <<_ACEOF
   11120 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11121 _ACEOF
   11122 
   11123 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11124 	if test "x$PVM" = "x"; then
   11125 		PVM="0"
   11126 	fi
   11127 
   11128 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11129 
   11130 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11131 	if test "x$PVP" = "x"; then
   11132 		PVP="0"
   11133 	fi
   11134 
   11135 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11136 
   11137 
   11138 
   11139 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11140 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11141 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11142 touch \$(top_srcdir)/ChangeLog; \
   11143 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11144 
   11145 
   11146 
   11147 
   11148 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11149 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11150 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11151 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11152 touch \$(top_srcdir)/INSTALL; \
   11153 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 case $host_os in
   11161     solaris*)
   11162         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11163         # check for a man page file found in later versions that use
   11164         # traditional section numbers instead
   11165         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11166 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11167 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11168 then :
   11169   printf %s "(cached) " >&6
   11170 else $as_nop
   11171   test "$cross_compiling" = yes &&
   11172   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11173 if test -r "/usr/share/man/man7/attributes.7"; then
   11174   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11175 else
   11176   ac_cv_file__usr_share_man_man7_attributes_7=no
   11177 fi
   11178 fi
   11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11180 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11181 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11182 then :
   11183   SYSV_MAN_SECTIONS=false
   11184 else $as_nop
   11185   SYSV_MAN_SECTIONS=true
   11186 fi
   11187 
   11188         ;;
   11189     *) SYSV_MAN_SECTIONS=false ;;
   11190 esac
   11191 
   11192 if test x$APP_MAN_SUFFIX = x    ; then
   11193     APP_MAN_SUFFIX=1
   11194 fi
   11195 if test x$APP_MAN_DIR = x    ; then
   11196     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11197 fi
   11198 
   11199 if test x$LIB_MAN_SUFFIX = x    ; then
   11200     LIB_MAN_SUFFIX=3
   11201 fi
   11202 if test x$LIB_MAN_DIR = x    ; then
   11203     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11204 fi
   11205 
   11206 if test x$FILE_MAN_SUFFIX = x    ; then
   11207     case $SYSV_MAN_SECTIONS in
   11208 	true)				FILE_MAN_SUFFIX=4  ;;
   11209 	*)				FILE_MAN_SUFFIX=5  ;;
   11210     esac
   11211 fi
   11212 if test x$FILE_MAN_DIR = x    ; then
   11213     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11214 fi
   11215 
   11216 if test x$MISC_MAN_SUFFIX = x    ; then
   11217     case $SYSV_MAN_SECTIONS in
   11218 	true)				MISC_MAN_SUFFIX=5  ;;
   11219 	*)				MISC_MAN_SUFFIX=7  ;;
   11220     esac
   11221 fi
   11222 if test x$MISC_MAN_DIR = x    ; then
   11223     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11224 fi
   11225 
   11226 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11227     case $SYSV_MAN_SECTIONS in
   11228 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11229 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11230     esac
   11231 fi
   11232 if test x$DRIVER_MAN_DIR = x    ; then
   11233     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11234 fi
   11235 
   11236 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11237     case $SYSV_MAN_SECTIONS in
   11238 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11239 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11240     esac
   11241 fi
   11242 if test x$ADMIN_MAN_DIR = x    ; then
   11243     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11244 fi
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 XORG_MAN_PAGE="X Version 11"
   11261 
   11262 MAN_SUBSTS="\
   11263 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11264 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11265 	-e 's|__xservername__|Xorg|g' \
   11266 	-e 's|__xconfigfile__|xorg.conf|g' \
   11267 	-e 's|__projectroot__|\$(prefix)|g' \
   11268 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11269 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11270 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11271 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11272 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11273 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11274 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11275 
   11276 
   11277 
   11278 # Check whether --enable-silent-rules was given.
   11279 if test ${enable_silent_rules+y}
   11280 then :
   11281   enableval=$enable_silent_rules;
   11282 fi
   11283 
   11284 case $enable_silent_rules in # (((
   11285   yes) AM_DEFAULT_VERBOSITY=0;;
   11286    no) AM_DEFAULT_VERBOSITY=1;;
   11287     *) AM_DEFAULT_VERBOSITY=0;;
   11288 esac
   11289 am_make=${MAKE-make}
   11290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11291 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11292 if test ${am_cv_make_support_nested_variables+y}
   11293 then :
   11294   printf %s "(cached) " >&6
   11295 else $as_nop
   11296   if printf "%s\n" 'TRUE=$(BAR$(V))
   11297 BAR0=false
   11298 BAR1=true
   11299 V=1
   11300 am__doit:
   11301 	@$(TRUE)
   11302 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11303   am_cv_make_support_nested_variables=yes
   11304 else
   11305   am_cv_make_support_nested_variables=no
   11306 fi
   11307 fi
   11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11309 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11310 if test $am_cv_make_support_nested_variables = yes; then
   11311     AM_V='$(V)'
   11312   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11313 else
   11314   AM_V=$AM_DEFAULT_VERBOSITY
   11315   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11316 fi
   11317 AM_BACKSLASH='\'
   11318 
   11319 
   11320 
   11321 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   11322 if test "x$ac_cv_func_asprintf" = xyes
   11323 then :
   11324   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   11325 
   11326 fi
   11327 
   11328 
   11329 
   11330 pkg_failed=no
   11331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RGB" >&5
   11332 printf %s "checking for RGB... " >&6; }
   11333 
   11334 if test -n "$RGB_CFLAGS"; then
   11335     pkg_cv_RGB_CFLAGS="$RGB_CFLAGS"
   11336  elif test -n "$PKG_CONFIG"; then
   11337     if test -n "$PKG_CONFIG" && \
   11338     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11339   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11340   ac_status=$?
   11341   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11342   test $ac_status = 0; }; then
   11343   pkg_cv_RGB_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   11344 		      test "x$?" != "x0" && pkg_failed=yes
   11345 else
   11346   pkg_failed=yes
   11347 fi
   11348  else
   11349     pkg_failed=untried
   11350 fi
   11351 if test -n "$RGB_LIBS"; then
   11352     pkg_cv_RGB_LIBS="$RGB_LIBS"
   11353  elif test -n "$PKG_CONFIG"; then
   11354     if test -n "$PKG_CONFIG" && \
   11355     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11356   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11357   ac_status=$?
   11358   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11359   test $ac_status = 0; }; then
   11360   pkg_cv_RGB_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   11361 		      test "x$?" != "x0" && pkg_failed=yes
   11362 else
   11363   pkg_failed=yes
   11364 fi
   11365  else
   11366     pkg_failed=untried
   11367 fi
   11368 
   11369 
   11370 
   11371 if test $pkg_failed = yes; then
   11372    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11373 printf "%s\n" "no" >&6; }
   11374 
   11375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11376         _pkg_short_errors_supported=yes
   11377 else
   11378         _pkg_short_errors_supported=no
   11379 fi
   11380         if test $_pkg_short_errors_supported = yes; then
   11381 	        RGB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   11382         else
   11383 	        RGB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   11384         fi
   11385 	# Put the nasty error message in config.log where it belongs
   11386 	echo "$RGB_PKG_ERRORS" >&5
   11387 
   11388 	as_fn_error $? "Package requirements (xproto) were not met:
   11389 
   11390 $RGB_PKG_ERRORS
   11391 
   11392 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11393 installed software in a non-standard prefix.
   11394 
   11395 Alternatively, you may set the environment variables RGB_CFLAGS
   11396 and RGB_LIBS to avoid the need to call pkg-config.
   11397 See the pkg-config man page for more details." "$LINENO" 5
   11398 elif test $pkg_failed = untried; then
   11399      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11400 printf "%s\n" "no" >&6; }
   11401 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11402 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11403 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11404 is in your PATH or set the PKG_CONFIG environment variable to the full
   11405 path to pkg-config.
   11406 
   11407 Alternatively, you may set the environment variables RGB_CFLAGS
   11408 and RGB_LIBS to avoid the need to call pkg-config.
   11409 See the pkg-config man page for more details.
   11410 
   11411 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11412 See \`config.log' for more details" "$LINENO" 5; }
   11413 else
   11414 	RGB_CFLAGS=$pkg_cv_RGB_CFLAGS
   11415 	RGB_LIBS=$pkg_cv_RGB_LIBS
   11416         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11417 printf "%s\n" "yes" >&6; }
   11418 
   11419 fi
   11420 
   11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rgb database location" >&5
   11422 printf %s "checking for rgb database location... " >&6; }
   11423 
   11424 # Check whether --with-rgb-db-dir was given.
   11425 if test ${with_rgb_db_dir+y}
   11426 then :
   11427   withval=$with_rgb_db_dir; db_path=$withval
   11428 else $as_nop
   11429   db_path=${datadir}/X11/rgb
   11430 fi
   11431 
   11432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $db_path" >&5
   11433 printf "%s\n" "$db_path" >&6; }
   11434 db_file=`basename $db_path`
   11435 db_dir=`dirname $db_path`
   11436 
   11437 
   11438 
   11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rgb database format" >&5
   11440 printf %s "checking for rgb database format... " >&6; }
   11441 
   11442 # Check whether --with-rgb-db-type was given.
   11443 if test ${with_rgb_db_type+y}
   11444 then :
   11445   withval=$with_rgb_db_type; db_type=$withval
   11446 else $as_nop
   11447   db_type="text"
   11448 fi
   11449 
   11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $db_type" >&5
   11451 printf "%s\n" "$db_type" >&6; }
   11452 
   11453 RGB_DB_TYPE=$db_type
   11454 
   11455 
   11456 # Check whether --with-rgb-db-library was given.
   11457 if test ${with_rgb_db_library+y}
   11458 then :
   11459   withval=$with_rgb_db_library; db_lib=$withval
   11460 else $as_nop
   11461   db_lib="auto"
   11462 fi
   11463 
   11464 
   11465 case $db_type in
   11466 	text)
   11467 		RGB_DB_FILES=""
   11468 
   11469 printf "%s\n" "#define USE_RGB_TXT 1" >>confdefs.h
   11470 
   11471 		;;
   11472 	dbm)
   11473 		if test "x$db_lib" = "xauto"
   11474 then :
   11475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dbminit" >&5
   11476 printf %s "checking for library containing dbminit... " >&6; }
   11477 if test ${ac_cv_search_dbminit+y}
   11478 then :
   11479   printf %s "(cached) " >&6
   11480 else $as_nop
   11481   ac_func_search_save_LIBS=$LIBS
   11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11483 /* end confdefs.h.  */
   11484 
   11485 /* Override any GCC internal prototype to avoid an error.
   11486    Use char because int might match the return type of a GCC
   11487    builtin and then its argument prototype would still apply.  */
   11488 char dbminit ();
   11489 int
   11490 main (void)
   11491 {
   11492 return dbminit ();
   11493   ;
   11494   return 0;
   11495 }
   11496 _ACEOF
   11497 for ac_lib in '' db dbm nsl
   11498 do
   11499   if test -z "$ac_lib"; then
   11500     ac_res="none required"
   11501   else
   11502     ac_res=-l$ac_lib
   11503     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11504   fi
   11505   if ac_fn_c_try_link "$LINENO"
   11506 then :
   11507   ac_cv_search_dbminit=$ac_res
   11508 fi
   11509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11510     conftest$ac_exeext
   11511   if test ${ac_cv_search_dbminit+y}
   11512 then :
   11513   break
   11514 fi
   11515 done
   11516 if test ${ac_cv_search_dbminit+y}
   11517 then :
   11518 
   11519 else $as_nop
   11520   ac_cv_search_dbminit=no
   11521 fi
   11522 rm conftest.$ac_ext
   11523 LIBS=$ac_func_search_save_LIBS
   11524 fi
   11525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbminit" >&5
   11526 printf "%s\n" "$ac_cv_search_dbminit" >&6; }
   11527 ac_res=$ac_cv_search_dbminit
   11528 if test "$ac_res" != no
   11529 then :
   11530   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11531 
   11532 else $as_nop
   11533   as_fn_error $? "dbm requested but dbminit() not found in any libraries" "$LINENO" 5
   11534 fi
   11535 
   11536 else $as_nop
   11537   as_ac_Lib=`printf "%s\n" "ac_cv_lib_$db_lib""_dbminit" | $as_tr_sh`
   11538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbminit in -l$db_lib" >&5
   11539 printf %s "checking for dbminit in -l$db_lib... " >&6; }
   11540 if eval test \${$as_ac_Lib+y}
   11541 then :
   11542   printf %s "(cached) " >&6
   11543 else $as_nop
   11544   ac_check_lib_save_LIBS=$LIBS
   11545 LIBS="-l$db_lib  $LIBS"
   11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11547 /* end confdefs.h.  */
   11548 
   11549 /* Override any GCC internal prototype to avoid an error.
   11550    Use char because int might match the return type of a GCC
   11551    builtin and then its argument prototype would still apply.  */
   11552 char dbminit ();
   11553 int
   11554 main (void)
   11555 {
   11556 return dbminit ();
   11557   ;
   11558   return 0;
   11559 }
   11560 _ACEOF
   11561 if ac_fn_c_try_link "$LINENO"
   11562 then :
   11563   eval "$as_ac_Lib=yes"
   11564 else $as_nop
   11565   eval "$as_ac_Lib=no"
   11566 fi
   11567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11568     conftest$ac_exeext conftest.$ac_ext
   11569 LIBS=$ac_check_lib_save_LIBS
   11570 fi
   11571 eval ac_res=\$$as_ac_Lib
   11572 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11573 printf "%s\n" "$ac_res" >&6; }
   11574 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
   11575 then :
   11576   cat >>confdefs.h <<_ACEOF
   11577 #define `printf "%s\n" "HAVE_LIB$db_lib" | $as_tr_cpp` 1
   11578 _ACEOF
   11579 
   11580   LIBS="-l$db_lib $LIBS"
   11581 
   11582 else $as_nop
   11583   as_fn_error $? "dbm requested but dbminit() not found when linking with -l$db_lib" "$LINENO" 5
   11584 fi
   11585 
   11586 fi
   11587 		ac_fn_c_check_header_compile "$LINENO" "dbm.h" "ac_cv_header_dbm_h" "$ac_includes_default"
   11588 if test "x$ac_cv_header_dbm_h" = xyes
   11589 then :
   11590   DBM_HEADER='<dbm.h>'
   11591 else $as_nop
   11592   ac_fn_c_check_header_compile "$LINENO" "rpcsvc/dbm.h" "ac_cv_header_rpcsvc_dbm_h" "$ac_includes_default"
   11593 if test "x$ac_cv_header_rpcsvc_dbm_h" = xyes
   11594 then :
   11595   DBM_HEADER='<rpcsvc/dbm.h>'
   11596 else $as_nop
   11597   as_fn_error $? "dbm requested but dbm.h not found" "$LINENO" 5
   11598 fi
   11599 
   11600 fi
   11601 
   11602 
   11603 pkg_failed=no
   11604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11605 printf %s "checking for XORG... " >&6; }
   11606 
   11607 if test -n "$XORG_CFLAGS"; then
   11608     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11609  elif test -n "$PKG_CONFIG"; then
   11610     if test -n "$PKG_CONFIG" && \
   11611     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
   11612   ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
   11613   ac_status=$?
   11614   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11615   test $ac_status = 0; }; then
   11616   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server" 2>/dev/null`
   11617 		      test "x$?" != "x0" && pkg_failed=yes
   11618 else
   11619   pkg_failed=yes
   11620 fi
   11621  else
   11622     pkg_failed=untried
   11623 fi
   11624 if test -n "$XORG_LIBS"; then
   11625     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11626  elif test -n "$PKG_CONFIG"; then
   11627     if test -n "$PKG_CONFIG" && \
   11628     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
   11629   ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
   11630   ac_status=$?
   11631   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11632   test $ac_status = 0; }; then
   11633   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server" 2>/dev/null`
   11634 		      test "x$?" != "x0" && pkg_failed=yes
   11635 else
   11636   pkg_failed=yes
   11637 fi
   11638  else
   11639     pkg_failed=untried
   11640 fi
   11641 
   11642 
   11643 
   11644 if test $pkg_failed = yes; then
   11645    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11646 printf "%s\n" "no" >&6; }
   11647 
   11648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11649         _pkg_short_errors_supported=yes
   11650 else
   11651         _pkg_short_errors_supported=no
   11652 fi
   11653         if test $_pkg_short_errors_supported = yes; then
   11654 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server" 2>&1`
   11655         else
   11656 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server" 2>&1`
   11657         fi
   11658 	# Put the nasty error message in config.log where it belongs
   11659 	echo "$XORG_PKG_ERRORS" >&5
   11660 
   11661 	as_fn_error $? "Package requirements (xorg-server) were not met:
   11662 
   11663 $XORG_PKG_ERRORS
   11664 
   11665 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11666 installed software in a non-standard prefix.
   11667 
   11668 Alternatively, you may set the environment variables XORG_CFLAGS
   11669 and XORG_LIBS to avoid the need to call pkg-config.
   11670 See the pkg-config man page for more details." "$LINENO" 5
   11671 elif test $pkg_failed = untried; then
   11672      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11673 printf "%s\n" "no" >&6; }
   11674 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11675 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11676 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11677 is in your PATH or set the PKG_CONFIG environment variable to the full
   11678 path to pkg-config.
   11679 
   11680 Alternatively, you may set the environment variables XORG_CFLAGS
   11681 and XORG_LIBS to avoid the need to call pkg-config.
   11682 See the pkg-config man page for more details.
   11683 
   11684 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11685 See \`config.log' for more details" "$LINENO" 5; }
   11686 else
   11687 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11688 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11689         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11690 printf "%s\n" "yes" >&6; }
   11691 
   11692 fi
   11693 		RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS"
   11694 		RGB_DB_FILES='$(db_file).dir $(db_file).pag'
   11695 		;;
   11696 	ndbm)
   11697 		# Find a dbm or ndbm implementation
   11698 		if test "x$db_lib" = "xauto"
   11699 then :
   11700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5
   11701 printf %s "checking for library containing dbm_open... " >&6; }
   11702 if test ${ac_cv_search_dbm_open+y}
   11703 then :
   11704   printf %s "(cached) " >&6
   11705 else $as_nop
   11706   ac_func_search_save_LIBS=$LIBS
   11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11708 /* end confdefs.h.  */
   11709 
   11710 /* Override any GCC internal prototype to avoid an error.
   11711    Use char because int might match the return type of a GCC
   11712    builtin and then its argument prototype would still apply.  */
   11713 char dbm_open ();
   11714 int
   11715 main (void)
   11716 {
   11717 return dbm_open ();
   11718   ;
   11719   return 0;
   11720 }
   11721 _ACEOF
   11722 for ac_lib in '' db ndbm dbm
   11723 do
   11724   if test -z "$ac_lib"; then
   11725     ac_res="none required"
   11726   else
   11727     ac_res=-l$ac_lib
   11728     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11729   fi
   11730   if ac_fn_c_try_link "$LINENO"
   11731 then :
   11732   ac_cv_search_dbm_open=$ac_res
   11733 fi
   11734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11735     conftest$ac_exeext
   11736   if test ${ac_cv_search_dbm_open+y}
   11737 then :
   11738   break
   11739 fi
   11740 done
   11741 if test ${ac_cv_search_dbm_open+y}
   11742 then :
   11743 
   11744 else $as_nop
   11745   ac_cv_search_dbm_open=no
   11746 fi
   11747 rm conftest.$ac_ext
   11748 LIBS=$ac_func_search_save_LIBS
   11749 fi
   11750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbm_open" >&5
   11751 printf "%s\n" "$ac_cv_search_dbm_open" >&6; }
   11752 ac_res=$ac_cv_search_dbm_open
   11753 if test "$ac_res" != no
   11754 then :
   11755   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11756 
   11757 else $as_nop
   11758   as_fn_error $? "ndbm requested but dbm_open() not found in any libraries" "$LINENO" 5
   11759 fi
   11760 
   11761 else $as_nop
   11762   as_ac_Lib=`printf "%s\n" "ac_cv_lib_$db_lib""_dbm_open" | $as_tr_sh`
   11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -l$db_lib" >&5
   11764 printf %s "checking for dbm_open in -l$db_lib... " >&6; }
   11765 if eval test \${$as_ac_Lib+y}
   11766 then :
   11767   printf %s "(cached) " >&6
   11768 else $as_nop
   11769   ac_check_lib_save_LIBS=$LIBS
   11770 LIBS="-l$db_lib  $LIBS"
   11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11772 /* end confdefs.h.  */
   11773 
   11774 /* Override any GCC internal prototype to avoid an error.
   11775    Use char because int might match the return type of a GCC
   11776    builtin and then its argument prototype would still apply.  */
   11777 char dbm_open ();
   11778 int
   11779 main (void)
   11780 {
   11781 return dbm_open ();
   11782   ;
   11783   return 0;
   11784 }
   11785 _ACEOF
   11786 if ac_fn_c_try_link "$LINENO"
   11787 then :
   11788   eval "$as_ac_Lib=yes"
   11789 else $as_nop
   11790   eval "$as_ac_Lib=no"
   11791 fi
   11792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11793     conftest$ac_exeext conftest.$ac_ext
   11794 LIBS=$ac_check_lib_save_LIBS
   11795 fi
   11796 eval ac_res=\$$as_ac_Lib
   11797 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11798 printf "%s\n" "$ac_res" >&6; }
   11799 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
   11800 then :
   11801   cat >>confdefs.h <<_ACEOF
   11802 #define `printf "%s\n" "HAVE_LIB$db_lib" | $as_tr_cpp` 1
   11803 _ACEOF
   11804 
   11805   LIBS="-l$db_lib $LIBS"
   11806 
   11807 else $as_nop
   11808   as_fn_error $? "ndbm requested but dbm_open() not found when linking with -l$db_lib" "$LINENO" 5
   11809 fi
   11810 
   11811 fi
   11812 
   11813 printf "%s\n" "#define NDBM 1" >>confdefs.h
   11814 
   11815 		DBM_HEADER='<ndbm.h>'
   11816 
   11817 pkg_failed=no
   11818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11819 printf %s "checking for XORG... " >&6; }
   11820 
   11821 if test -n "$XORG_CFLAGS"; then
   11822     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11823  elif test -n "$PKG_CONFIG"; then
   11824     if test -n "$PKG_CONFIG" && \
   11825     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
   11826   ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
   11827   ac_status=$?
   11828   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11829   test $ac_status = 0; }; then
   11830   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server" 2>/dev/null`
   11831 		      test "x$?" != "x0" && pkg_failed=yes
   11832 else
   11833   pkg_failed=yes
   11834 fi
   11835  else
   11836     pkg_failed=untried
   11837 fi
   11838 if test -n "$XORG_LIBS"; then
   11839     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11840  elif test -n "$PKG_CONFIG"; then
   11841     if test -n "$PKG_CONFIG" && \
   11842     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server\""; } >&5
   11843   ($PKG_CONFIG --exists --print-errors "xorg-server") 2>&5
   11844   ac_status=$?
   11845   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11846   test $ac_status = 0; }; then
   11847   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server" 2>/dev/null`
   11848 		      test "x$?" != "x0" && pkg_failed=yes
   11849 else
   11850   pkg_failed=yes
   11851 fi
   11852  else
   11853     pkg_failed=untried
   11854 fi
   11855 
   11856 
   11857 
   11858 if test $pkg_failed = yes; then
   11859    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11860 printf "%s\n" "no" >&6; }
   11861 
   11862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11863         _pkg_short_errors_supported=yes
   11864 else
   11865         _pkg_short_errors_supported=no
   11866 fi
   11867         if test $_pkg_short_errors_supported = yes; then
   11868 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server" 2>&1`
   11869         else
   11870 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server" 2>&1`
   11871         fi
   11872 	# Put the nasty error message in config.log where it belongs
   11873 	echo "$XORG_PKG_ERRORS" >&5
   11874 
   11875 	as_fn_error $? "Package requirements (xorg-server) were not met:
   11876 
   11877 $XORG_PKG_ERRORS
   11878 
   11879 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11880 installed software in a non-standard prefix.
   11881 
   11882 Alternatively, you may set the environment variables XORG_CFLAGS
   11883 and XORG_LIBS to avoid the need to call pkg-config.
   11884 See the pkg-config man page for more details." "$LINENO" 5
   11885 elif test $pkg_failed = untried; then
   11886      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11887 printf "%s\n" "no" >&6; }
   11888 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11889 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11890 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11891 is in your PATH or set the PKG_CONFIG environment variable to the full
   11892 path to pkg-config.
   11893 
   11894 Alternatively, you may set the environment variables XORG_CFLAGS
   11895 and XORG_LIBS to avoid the need to call pkg-config.
   11896 See the pkg-config man page for more details.
   11897 
   11898 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11899 See \`config.log' for more details" "$LINENO" 5; }
   11900 else
   11901 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11902 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11903         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11904 printf "%s\n" "yes" >&6; }
   11905 
   11906 fi
   11907 		RGB_CFLAGS="$RGB_CFLAGS $XORG_CFLAGS"
   11908 		RGB_DB_FILES='$(db_file).dir $(db_file).pag'
   11909 		;;
   11910 esac
   11911 if test x$DBM_HEADER != x ; then
   11912 
   11913 printf "%s\n" "#define DBM_HEADER $DBM_HEADER" >>confdefs.h
   11914 
   11915 fi
   11916 
   11917 
   11918  if test x$db_type != xtext; then
   11919   RGB_DB_TRUE=
   11920   RGB_DB_FALSE='#'
   11921 else
   11922   RGB_DB_TRUE='#'
   11923   RGB_DB_FALSE=
   11924 fi
   11925 
   11926 
   11927 ac_config_files="$ac_config_files Makefile man/Makefile"
   11928 
   11929 
   11930 cat >confcache <<\_ACEOF
   11931 # This file is a shell script that caches the results of configure
   11932 # tests run on this system so they can be shared between configure
   11933 # scripts and configure runs, see configure's option --config-cache.
   11934 # It is not useful on other systems.  If it contains results you don't
   11935 # want to keep, you may remove or edit it.
   11936 #
   11937 # config.status only pays attention to the cache file if you give it
   11938 # the --recheck option to rerun configure.
   11939 #
   11940 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11941 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11942 # following values.
   11943 
   11944 _ACEOF
   11945 
   11946 # The following way of writing the cache mishandles newlines in values,
   11947 # but we know of no workaround that is simple, portable, and efficient.
   11948 # So, we kill variables containing newlines.
   11949 # Ultrix sh set writes to stderr and can't be redirected directly,
   11950 # and sets the high bit in the cache file unless we assign to the vars.
   11951 (
   11952   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11953     eval ac_val=\$$ac_var
   11954     case $ac_val in #(
   11955     *${as_nl}*)
   11956       case $ac_var in #(
   11957       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11958 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11959       esac
   11960       case $ac_var in #(
   11961       _ | IFS | as_nl) ;; #(
   11962       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11963       *) { eval $ac_var=; unset $ac_var;} ;;
   11964       esac ;;
   11965     esac
   11966   done
   11967 
   11968   (set) 2>&1 |
   11969     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11970     *${as_nl}ac_space=\ *)
   11971       # `set' does not quote correctly, so add quotes: double-quote
   11972       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11973       sed -n \
   11974 	"s/'/'\\\\''/g;
   11975 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11976       ;; #(
   11977     *)
   11978       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11979       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11980       ;;
   11981     esac |
   11982     sort
   11983 ) |
   11984   sed '
   11985      /^ac_cv_env_/b end
   11986      t clear
   11987      :clear
   11988      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11989      t end
   11990      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11991      :end' >>confcache
   11992 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11993   if test -w "$cache_file"; then
   11994     if test "x$cache_file" != "x/dev/null"; then
   11995       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11996 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11997       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11998 	cat confcache >"$cache_file"
   11999       else
   12000         case $cache_file in #(
   12001         */* | ?:*)
   12002 	  mv -f confcache "$cache_file"$$ &&
   12003 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12004         *)
   12005 	  mv -f confcache "$cache_file" ;;
   12006 	esac
   12007       fi
   12008     fi
   12009   else
   12010     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12011 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   12012   fi
   12013 fi
   12014 rm -f confcache
   12015 
   12016 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12017 # Let make expand exec_prefix.
   12018 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12019 
   12020 DEFS=-DHAVE_CONFIG_H
   12021 
   12022 ac_libobjs=
   12023 ac_ltlibobjs=
   12024 U=
   12025 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12026   # 1. Remove the extension, and $U if already installed.
   12027   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12028   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   12029   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12030   #    will be set to the directory where LIBOBJS objects are built.
   12031   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12032   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12033 done
   12034 LIBOBJS=$ac_libobjs
   12035 
   12036 LTLIBOBJS=$ac_ltlibobjs
   12037 
   12038 
   12039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12040 printf %s "checking that generated files are newer than configure... " >&6; }
   12041    if test -n "$am_sleep_pid"; then
   12042      # Hide warnings about reused PIDs.
   12043      wait $am_sleep_pid 2>/dev/null
   12044    fi
   12045    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12046 printf "%s\n" "done" >&6; }
   12047 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12048   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12050 fi
   12051 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12052   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12054 fi
   12055  if test -n "$EXEEXT"; then
   12056   am__EXEEXT_TRUE=
   12057   am__EXEEXT_FALSE='#'
   12058 else
   12059   am__EXEEXT_TRUE='#'
   12060   am__EXEEXT_FALSE=
   12061 fi
   12062 
   12063 if test -z "${RGB_DB_TRUE}" && test -z "${RGB_DB_FALSE}"; then
   12064   as_fn_error $? "conditional \"RGB_DB\" was never defined.
   12065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12066 fi
   12067 
   12068 : "${CONFIG_STATUS=./config.status}"
   12069 ac_write_fail=0
   12070 ac_clean_files_save=$ac_clean_files
   12071 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12073 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   12074 as_write_fail=0
   12075 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12076 #! $SHELL
   12077 # Generated by $as_me.
   12078 # Run this file to recreate the current configuration.
   12079 # Compiler output produced by configure, useful for debugging
   12080 # configure, is in config.log if it exists.
   12081 
   12082 debug=false
   12083 ac_cs_recheck=false
   12084 ac_cs_silent=false
   12085 
   12086 SHELL=\${CONFIG_SHELL-$SHELL}
   12087 export SHELL
   12088 _ASEOF
   12089 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12090 ## -------------------- ##
   12091 ## M4sh Initialization. ##
   12092 ## -------------------- ##
   12093 
   12094 # Be more Bourne compatible
   12095 DUALCASE=1; export DUALCASE # for MKS sh
   12096 as_nop=:
   12097 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   12098 then :
   12099   emulate sh
   12100   NULLCMD=:
   12101   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12102   # is contrary to our usage.  Disable this feature.
   12103   alias -g '${1+"$@"}'='"$@"'
   12104   setopt NO_GLOB_SUBST
   12105 else $as_nop
   12106   case `(set -o) 2>/dev/null` in #(
   12107   *posix*) :
   12108     set -o posix ;; #(
   12109   *) :
   12110      ;;
   12111 esac
   12112 fi
   12113 
   12114 
   12115 
   12116 # Reset variables that may have inherited troublesome values from
   12117 # the environment.
   12118 
   12119 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   12120 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   12121 # side effect of setting IFS to empty, thus disabling word splitting.)
   12122 # Quoting is to prevent editors from complaining about space-tab.
   12123 as_nl='
   12124 '
   12125 export as_nl
   12126 IFS=" ""	$as_nl"
   12127 
   12128 PS1='$ '
   12129 PS2='> '
   12130 PS4='+ '
   12131 
   12132 # Ensure predictable behavior from utilities with locale-dependent output.
   12133 LC_ALL=C
   12134 export LC_ALL
   12135 LANGUAGE=C
   12136 export LANGUAGE
   12137 
   12138 # We cannot yet rely on "unset" to work, but we need these variables
   12139 # to be unset--not just set to an empty or harmless value--now, to
   12140 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12141 # also avoids known problems related to "unset" and subshell syntax
   12142 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12143 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12144 do eval test \${$as_var+y} \
   12145   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12146 done
   12147 
   12148 # Ensure that fds 0, 1, and 2 are open.
   12149 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12150 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12151 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12152 
   12153 # The user is always right.
   12154 if ${PATH_SEPARATOR+false} :; then
   12155   PATH_SEPARATOR=:
   12156   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12157     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12158       PATH_SEPARATOR=';'
   12159   }
   12160 fi
   12161 
   12162 
   12163 # Find who we are.  Look in the path if we contain no directory separator.
   12164 as_myself=
   12165 case $0 in #((
   12166   *[\\/]* ) as_myself=$0 ;;
   12167   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12168 for as_dir in $PATH
   12169 do
   12170   IFS=$as_save_IFS
   12171   case $as_dir in #(((
   12172     '') as_dir=./ ;;
   12173     */) ;;
   12174     *) as_dir=$as_dir/ ;;
   12175   esac
   12176     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12177   done
   12178 IFS=$as_save_IFS
   12179 
   12180      ;;
   12181 esac
   12182 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12183 # in which case we are not to be found in the path.
   12184 if test "x$as_myself" = x; then
   12185   as_myself=$0
   12186 fi
   12187 if test ! -f "$as_myself"; then
   12188   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12189   exit 1
   12190 fi
   12191 
   12192 
   12193 
   12194 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12195 # ----------------------------------------
   12196 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12197 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12198 # script with STATUS, using 1 if that was 0.
   12199 as_fn_error ()
   12200 {
   12201   as_status=$1; test $as_status -eq 0 && as_status=1
   12202   if test "$4"; then
   12203     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12204     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12205   fi
   12206   printf "%s\n" "$as_me: error: $2" >&2
   12207   as_fn_exit $as_status
   12208 } # as_fn_error
   12209 
   12210 
   12211 
   12212 # as_fn_set_status STATUS
   12213 # -----------------------
   12214 # Set $? to STATUS, without forking.
   12215 as_fn_set_status ()
   12216 {
   12217   return $1
   12218 } # as_fn_set_status
   12219 
   12220 # as_fn_exit STATUS
   12221 # -----------------
   12222 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12223 as_fn_exit ()
   12224 {
   12225   set +e
   12226   as_fn_set_status $1
   12227   exit $1
   12228 } # as_fn_exit
   12229 
   12230 # as_fn_unset VAR
   12231 # ---------------
   12232 # Portably unset VAR.
   12233 as_fn_unset ()
   12234 {
   12235   { eval $1=; unset $1;}
   12236 }
   12237 as_unset=as_fn_unset
   12238 
   12239 # as_fn_append VAR VALUE
   12240 # ----------------------
   12241 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12242 # advantage of any shell optimizations that allow amortized linear growth over
   12243 # repeated appends, instead of the typical quadratic growth present in naive
   12244 # implementations.
   12245 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12246 then :
   12247   eval 'as_fn_append ()
   12248   {
   12249     eval $1+=\$2
   12250   }'
   12251 else $as_nop
   12252   as_fn_append ()
   12253   {
   12254     eval $1=\$$1\$2
   12255   }
   12256 fi # as_fn_append
   12257 
   12258 # as_fn_arith ARG...
   12259 # ------------------
   12260 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12261 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12262 # must be portable across $(()) and expr.
   12263 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12264 then :
   12265   eval 'as_fn_arith ()
   12266   {
   12267     as_val=$(( $* ))
   12268   }'
   12269 else $as_nop
   12270   as_fn_arith ()
   12271   {
   12272     as_val=`expr "$@" || test $? -eq 1`
   12273   }
   12274 fi # as_fn_arith
   12275 
   12276 
   12277 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12278    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12279   as_expr=expr
   12280 else
   12281   as_expr=false
   12282 fi
   12283 
   12284 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12285   as_basename=basename
   12286 else
   12287   as_basename=false
   12288 fi
   12289 
   12290 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12291   as_dirname=dirname
   12292 else
   12293   as_dirname=false
   12294 fi
   12295 
   12296 as_me=`$as_basename -- "$0" ||
   12297 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12298 	 X"$0" : 'X\(//\)$' \| \
   12299 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12300 printf "%s\n" X/"$0" |
   12301     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12302 	    s//\1/
   12303 	    q
   12304 	  }
   12305 	  /^X\/\(\/\/\)$/{
   12306 	    s//\1/
   12307 	    q
   12308 	  }
   12309 	  /^X\/\(\/\).*/{
   12310 	    s//\1/
   12311 	    q
   12312 	  }
   12313 	  s/.*/./; q'`
   12314 
   12315 # Avoid depending upon Character Ranges.
   12316 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12317 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12318 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12319 as_cr_digits='0123456789'
   12320 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12321 
   12322 
   12323 # Determine whether it's possible to make 'echo' print without a newline.
   12324 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12325 # for compatibility with existing Makefiles.
   12326 ECHO_C= ECHO_N= ECHO_T=
   12327 case `echo -n x` in #(((((
   12328 -n*)
   12329   case `echo 'xy\c'` in
   12330   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12331   xy)  ECHO_C='\c';;
   12332   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12333        ECHO_T='	';;
   12334   esac;;
   12335 *)
   12336   ECHO_N='-n';;
   12337 esac
   12338 
   12339 # For backward compatibility with old third-party macros, we provide
   12340 # the shell variables $as_echo and $as_echo_n.  New code should use
   12341 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12342 as_echo='printf %s\n'
   12343 as_echo_n='printf %s'
   12344 
   12345 rm -f conf$$ conf$$.exe conf$$.file
   12346 if test -d conf$$.dir; then
   12347   rm -f conf$$.dir/conf$$.file
   12348 else
   12349   rm -f conf$$.dir
   12350   mkdir conf$$.dir 2>/dev/null
   12351 fi
   12352 if (echo >conf$$.file) 2>/dev/null; then
   12353   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12354     as_ln_s='ln -s'
   12355     # ... but there are two gotchas:
   12356     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12357     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12358     # In both cases, we have to default to `cp -pR'.
   12359     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12360       as_ln_s='cp -pR'
   12361   elif ln conf$$.file conf$$ 2>/dev/null; then
   12362     as_ln_s=ln
   12363   else
   12364     as_ln_s='cp -pR'
   12365   fi
   12366 else
   12367   as_ln_s='cp -pR'
   12368 fi
   12369 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12370 rmdir conf$$.dir 2>/dev/null
   12371 
   12372 
   12373 # as_fn_mkdir_p
   12374 # -------------
   12375 # Create "$as_dir" as a directory, including parents if necessary.
   12376 as_fn_mkdir_p ()
   12377 {
   12378 
   12379   case $as_dir in #(
   12380   -*) as_dir=./$as_dir;;
   12381   esac
   12382   test -d "$as_dir" || eval $as_mkdir_p || {
   12383     as_dirs=
   12384     while :; do
   12385       case $as_dir in #(
   12386       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12387       *) as_qdir=$as_dir;;
   12388       esac
   12389       as_dirs="'$as_qdir' $as_dirs"
   12390       as_dir=`$as_dirname -- "$as_dir" ||
   12391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12392 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12393 	 X"$as_dir" : 'X\(//\)$' \| \
   12394 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12395 printf "%s\n" X"$as_dir" |
   12396     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12397 	    s//\1/
   12398 	    q
   12399 	  }
   12400 	  /^X\(\/\/\)[^/].*/{
   12401 	    s//\1/
   12402 	    q
   12403 	  }
   12404 	  /^X\(\/\/\)$/{
   12405 	    s//\1/
   12406 	    q
   12407 	  }
   12408 	  /^X\(\/\).*/{
   12409 	    s//\1/
   12410 	    q
   12411 	  }
   12412 	  s/.*/./; q'`
   12413       test -d "$as_dir" && break
   12414     done
   12415     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12416   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12417 
   12418 
   12419 } # as_fn_mkdir_p
   12420 if mkdir -p . 2>/dev/null; then
   12421   as_mkdir_p='mkdir -p "$as_dir"'
   12422 else
   12423   test -d ./-p && rmdir ./-p
   12424   as_mkdir_p=false
   12425 fi
   12426 
   12427 
   12428 # as_fn_executable_p FILE
   12429 # -----------------------
   12430 # Test if FILE is an executable regular file.
   12431 as_fn_executable_p ()
   12432 {
   12433   test -f "$1" && test -x "$1"
   12434 } # as_fn_executable_p
   12435 as_test_x='test -x'
   12436 as_executable_p=as_fn_executable_p
   12437 
   12438 # Sed expression to map a string onto a valid CPP name.
   12439 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12440 
   12441 # Sed expression to map a string onto a valid variable name.
   12442 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12443 
   12444 
   12445 exec 6>&1
   12446 ## ----------------------------------- ##
   12447 ## Main body of $CONFIG_STATUS script. ##
   12448 ## ----------------------------------- ##
   12449 _ASEOF
   12450 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12451 
   12452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12453 # Save the log message, to keep $0 and so on meaningful, and to
   12454 # report actual input values of CONFIG_FILES etc. instead of their
   12455 # values after options handling.
   12456 ac_log="
   12457 This file was extended by rgb $as_me 1.1.0, which was
   12458 generated by GNU Autoconf 2.71.  Invocation command line was
   12459 
   12460   CONFIG_FILES    = $CONFIG_FILES
   12461   CONFIG_HEADERS  = $CONFIG_HEADERS
   12462   CONFIG_LINKS    = $CONFIG_LINKS
   12463   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12464   $ $0 $@
   12465 
   12466 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12467 "
   12468 
   12469 _ACEOF
   12470 
   12471 case $ac_config_files in *"
   12472 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12473 esac
   12474 
   12475 case $ac_config_headers in *"
   12476 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12477 esac
   12478 
   12479 
   12480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12481 # Files that config.status was made for.
   12482 config_files="$ac_config_files"
   12483 config_headers="$ac_config_headers"
   12484 config_commands="$ac_config_commands"
   12485 
   12486 _ACEOF
   12487 
   12488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12489 ac_cs_usage="\
   12490 \`$as_me' instantiates files and other configuration actions
   12491 from templates according to the current configuration.  Unless the files
   12492 and actions are specified as TAGs, all are instantiated by default.
   12493 
   12494 Usage: $0 [OPTION]... [TAG]...
   12495 
   12496   -h, --help       print this help, then exit
   12497   -V, --version    print version number and configuration settings, then exit
   12498       --config     print configuration, then exit
   12499   -q, --quiet, --silent
   12500                    do not print progress messages
   12501   -d, --debug      don't remove temporary files
   12502       --recheck    update $as_me by reconfiguring in the same conditions
   12503       --file=FILE[:TEMPLATE]
   12504                    instantiate the configuration file FILE
   12505       --header=FILE[:TEMPLATE]
   12506                    instantiate the configuration header FILE
   12507 
   12508 Configuration files:
   12509 $config_files
   12510 
   12511 Configuration headers:
   12512 $config_headers
   12513 
   12514 Configuration commands:
   12515 $config_commands
   12516 
   12517 Report bugs to <https://gitlab.freedesktop.org/xorg/app/rgb/-/issues>."
   12518 
   12519 _ACEOF
   12520 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12521 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12523 ac_cs_config='$ac_cs_config_escaped'
   12524 ac_cs_version="\\
   12525 rgb config.status 1.1.0
   12526 configured by $0, generated by GNU Autoconf 2.71,
   12527   with options \\"\$ac_cs_config\\"
   12528 
   12529 Copyright (C) 2021 Free Software Foundation, Inc.
   12530 This config.status script is free software; the Free Software Foundation
   12531 gives unlimited permission to copy, distribute and modify it."
   12532 
   12533 ac_pwd='$ac_pwd'
   12534 srcdir='$srcdir'
   12535 INSTALL='$INSTALL'
   12536 MKDIR_P='$MKDIR_P'
   12537 AWK='$AWK'
   12538 test -n "\$AWK" || AWK=awk
   12539 _ACEOF
   12540 
   12541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12542 # The default lists apply if the user does not specify any file.
   12543 ac_need_defaults=:
   12544 while test $# != 0
   12545 do
   12546   case $1 in
   12547   --*=?*)
   12548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12549     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12550     ac_shift=:
   12551     ;;
   12552   --*=)
   12553     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12554     ac_optarg=
   12555     ac_shift=:
   12556     ;;
   12557   *)
   12558     ac_option=$1
   12559     ac_optarg=$2
   12560     ac_shift=shift
   12561     ;;
   12562   esac
   12563 
   12564   case $ac_option in
   12565   # Handling of the options.
   12566   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12567     ac_cs_recheck=: ;;
   12568   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12569     printf "%s\n" "$ac_cs_version"; exit ;;
   12570   --config | --confi | --conf | --con | --co | --c )
   12571     printf "%s\n" "$ac_cs_config"; exit ;;
   12572   --debug | --debu | --deb | --de | --d | -d )
   12573     debug=: ;;
   12574   --file | --fil | --fi | --f )
   12575     $ac_shift
   12576     case $ac_optarg in
   12577     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12578     '') as_fn_error $? "missing file argument" ;;
   12579     esac
   12580     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12581     ac_need_defaults=false;;
   12582   --header | --heade | --head | --hea )
   12583     $ac_shift
   12584     case $ac_optarg in
   12585     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12586     esac
   12587     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12588     ac_need_defaults=false;;
   12589   --he | --h)
   12590     # Conflict between --help and --header
   12591     as_fn_error $? "ambiguous option: \`$1'
   12592 Try \`$0 --help' for more information.";;
   12593   --help | --hel | -h )
   12594     printf "%s\n" "$ac_cs_usage"; exit ;;
   12595   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12596   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12597     ac_cs_silent=: ;;
   12598 
   12599   # This is an error.
   12600   -*) as_fn_error $? "unrecognized option: \`$1'
   12601 Try \`$0 --help' for more information." ;;
   12602 
   12603   *) as_fn_append ac_config_targets " $1"
   12604      ac_need_defaults=false ;;
   12605 
   12606   esac
   12607   shift
   12608 done
   12609 
   12610 ac_configure_extra_args=
   12611 
   12612 if $ac_cs_silent; then
   12613   exec 6>/dev/null
   12614   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12615 fi
   12616 
   12617 _ACEOF
   12618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12619 if \$ac_cs_recheck; then
   12620   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12621   shift
   12622   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12623   CONFIG_SHELL='$SHELL'
   12624   export CONFIG_SHELL
   12625   exec "\$@"
   12626 fi
   12627 
   12628 _ACEOF
   12629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12630 exec 5>>config.log
   12631 {
   12632   echo
   12633   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12634 ## Running $as_me. ##
   12635 _ASBOX
   12636   printf "%s\n" "$ac_log"
   12637 } >&5
   12638 
   12639 _ACEOF
   12640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12641 #
   12642 # INIT-COMMANDS
   12643 #
   12644 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12645 
   12646 _ACEOF
   12647 
   12648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12649 
   12650 # Handling of arguments.
   12651 for ac_config_target in $ac_config_targets
   12652 do
   12653   case $ac_config_target in
   12654     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12655     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12656     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12657     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12658 
   12659   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12660   esac
   12661 done
   12662 
   12663 
   12664 # If the user did not use the arguments to specify the items to instantiate,
   12665 # then the envvar interface is used.  Set only those that are not.
   12666 # We use the long form for the default assignment because of an extremely
   12667 # bizarre bug on SunOS 4.1.3.
   12668 if $ac_need_defaults; then
   12669   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12670   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12671   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12672 fi
   12673 
   12674 # Have a temporary directory for convenience.  Make it in the build tree
   12675 # simply because there is no reason against having it here, and in addition,
   12676 # creating and moving files from /tmp can sometimes cause problems.
   12677 # Hook for its removal unless debugging.
   12678 # Note that there is a small window in which the directory will not be cleaned:
   12679 # after its creation but before its name has been assigned to `$tmp'.
   12680 $debug ||
   12681 {
   12682   tmp= ac_tmp=
   12683   trap 'exit_status=$?
   12684   : "${ac_tmp:=$tmp}"
   12685   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12686 ' 0
   12687   trap 'as_fn_exit 1' 1 2 13 15
   12688 }
   12689 # Create a (secure) tmp directory for tmp files.
   12690 
   12691 {
   12692   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12693   test -d "$tmp"
   12694 }  ||
   12695 {
   12696   tmp=./conf$$-$RANDOM
   12697   (umask 077 && mkdir "$tmp")
   12698 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12699 ac_tmp=$tmp
   12700 
   12701 # Set up the scripts for CONFIG_FILES section.
   12702 # No need to generate them if there are no CONFIG_FILES.
   12703 # This happens for instance with `./config.status config.h'.
   12704 if test -n "$CONFIG_FILES"; then
   12705 
   12706 
   12707 ac_cr=`echo X | tr X '\015'`
   12708 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12709 # But we know of no other shell where ac_cr would be empty at this
   12710 # point, so we can use a bashism as a fallback.
   12711 if test "x$ac_cr" = x; then
   12712   eval ac_cr=\$\'\\r\'
   12713 fi
   12714 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12715 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12716   ac_cs_awk_cr='\\r'
   12717 else
   12718   ac_cs_awk_cr=$ac_cr
   12719 fi
   12720 
   12721 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12722 _ACEOF
   12723 
   12724 
   12725 {
   12726   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12727   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12728   echo "_ACEOF"
   12729 } >conf$$subs.sh ||
   12730   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12731 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12732 ac_delim='%!_!# '
   12733 for ac_last_try in false false false false false :; do
   12734   . ./conf$$subs.sh ||
   12735     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12736 
   12737   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12738   if test $ac_delim_n = $ac_delim_num; then
   12739     break
   12740   elif $ac_last_try; then
   12741     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12742   else
   12743     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12744   fi
   12745 done
   12746 rm -f conf$$subs.sh
   12747 
   12748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12749 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12750 _ACEOF
   12751 sed -n '
   12752 h
   12753 s/^/S["/; s/!.*/"]=/
   12754 p
   12755 g
   12756 s/^[^!]*!//
   12757 :repl
   12758 t repl
   12759 s/'"$ac_delim"'$//
   12760 t delim
   12761 :nl
   12762 h
   12763 s/\(.\{148\}\)..*/\1/
   12764 t more1
   12765 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12766 p
   12767 n
   12768 b repl
   12769 :more1
   12770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12771 p
   12772 g
   12773 s/.\{148\}//
   12774 t nl
   12775 :delim
   12776 h
   12777 s/\(.\{148\}\)..*/\1/
   12778 t more2
   12779 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12780 p
   12781 b
   12782 :more2
   12783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12784 p
   12785 g
   12786 s/.\{148\}//
   12787 t delim
   12788 ' <conf$$subs.awk | sed '
   12789 /^[^""]/{
   12790   N
   12791   s/\n//
   12792 }
   12793 ' >>$CONFIG_STATUS || ac_write_fail=1
   12794 rm -f conf$$subs.awk
   12795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12796 _ACAWK
   12797 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12798   for (key in S) S_is_set[key] = 1
   12799   FS = ""
   12800 
   12801 }
   12802 {
   12803   line = $ 0
   12804   nfields = split(line, field, "@")
   12805   substed = 0
   12806   len = length(field[1])
   12807   for (i = 2; i < nfields; i++) {
   12808     key = field[i]
   12809     keylen = length(key)
   12810     if (S_is_set[key]) {
   12811       value = S[key]
   12812       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12813       len += length(value) + length(field[++i])
   12814       substed = 1
   12815     } else
   12816       len += 1 + keylen
   12817   }
   12818 
   12819   print line
   12820 }
   12821 
   12822 _ACAWK
   12823 _ACEOF
   12824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12825 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12826   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12827 else
   12828   cat
   12829 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12830   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12831 _ACEOF
   12832 
   12833 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12834 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12835 # trailing colons and then remove the whole line if VPATH becomes empty
   12836 # (actually we leave an empty line to preserve line numbers).
   12837 if test "x$srcdir" = x.; then
   12838   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12839 h
   12840 s///
   12841 s/^/:/
   12842 s/[	 ]*$/:/
   12843 s/:\$(srcdir):/:/g
   12844 s/:\${srcdir}:/:/g
   12845 s/:@srcdir@:/:/g
   12846 s/^:*//
   12847 s/:*$//
   12848 x
   12849 s/\(=[	 ]*\).*/\1/
   12850 G
   12851 s/\n//
   12852 s/^[^=]*=[	 ]*$//
   12853 }'
   12854 fi
   12855 
   12856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12857 fi # test -n "$CONFIG_FILES"
   12858 
   12859 # Set up the scripts for CONFIG_HEADERS section.
   12860 # No need to generate them if there are no CONFIG_HEADERS.
   12861 # This happens for instance with `./config.status Makefile'.
   12862 if test -n "$CONFIG_HEADERS"; then
   12863 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12864 BEGIN {
   12865 _ACEOF
   12866 
   12867 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12868 # here-document in config.status, that substitutes the proper values into
   12869 # config.h.in to produce config.h.
   12870 
   12871 # Create a delimiter string that does not exist in confdefs.h, to ease
   12872 # handling of long lines.
   12873 ac_delim='%!_!# '
   12874 for ac_last_try in false false :; do
   12875   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12876   if test -z "$ac_tt"; then
   12877     break
   12878   elif $ac_last_try; then
   12879     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12880   else
   12881     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12882   fi
   12883 done
   12884 
   12885 # For the awk script, D is an array of macro values keyed by name,
   12886 # likewise P contains macro parameters if any.  Preserve backslash
   12887 # newline sequences.
   12888 
   12889 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12890 sed -n '
   12891 s/.\{148\}/&'"$ac_delim"'/g
   12892 t rset
   12893 :rset
   12894 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12895 t def
   12896 d
   12897 :def
   12898 s/\\$//
   12899 t bsnl
   12900 s/["\\]/\\&/g
   12901 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12902 D["\1"]=" \3"/p
   12903 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12904 d
   12905 :bsnl
   12906 s/["\\]/\\&/g
   12907 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12908 D["\1"]=" \3\\\\\\n"\\/p
   12909 t cont
   12910 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12911 t cont
   12912 d
   12913 :cont
   12914 n
   12915 s/.\{148\}/&'"$ac_delim"'/g
   12916 t clear
   12917 :clear
   12918 s/\\$//
   12919 t bsnlc
   12920 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12921 d
   12922 :bsnlc
   12923 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12924 b cont
   12925 ' <confdefs.h | sed '
   12926 s/'"$ac_delim"'/"\\\
   12927 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12928 
   12929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12930   for (key in D) D_is_set[key] = 1
   12931   FS = ""
   12932 }
   12933 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12934   line = \$ 0
   12935   split(line, arg, " ")
   12936   if (arg[1] == "#") {
   12937     defundef = arg[2]
   12938     mac1 = arg[3]
   12939   } else {
   12940     defundef = substr(arg[1], 2)
   12941     mac1 = arg[2]
   12942   }
   12943   split(mac1, mac2, "(") #)
   12944   macro = mac2[1]
   12945   prefix = substr(line, 1, index(line, defundef) - 1)
   12946   if (D_is_set[macro]) {
   12947     # Preserve the white space surrounding the "#".
   12948     print prefix "define", macro P[macro] D[macro]
   12949     next
   12950   } else {
   12951     # Replace #undef with comments.  This is necessary, for example,
   12952     # in the case of _POSIX_SOURCE, which is predefined and required
   12953     # on some systems where configure will not decide to define it.
   12954     if (defundef == "undef") {
   12955       print "/*", prefix defundef, macro, "*/"
   12956       next
   12957     }
   12958   }
   12959 }
   12960 { print }
   12961 _ACAWK
   12962 _ACEOF
   12963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12964   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12965 fi # test -n "$CONFIG_HEADERS"
   12966 
   12967 
   12968 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12969 shift
   12970 for ac_tag
   12971 do
   12972   case $ac_tag in
   12973   :[FHLC]) ac_mode=$ac_tag; continue;;
   12974   esac
   12975   case $ac_mode$ac_tag in
   12976   :[FHL]*:*);;
   12977   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12978   :[FH]-) ac_tag=-:-;;
   12979   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12980   esac
   12981   ac_save_IFS=$IFS
   12982   IFS=:
   12983   set x $ac_tag
   12984   IFS=$ac_save_IFS
   12985   shift
   12986   ac_file=$1
   12987   shift
   12988 
   12989   case $ac_mode in
   12990   :L) ac_source=$1;;
   12991   :[FH])
   12992     ac_file_inputs=
   12993     for ac_f
   12994     do
   12995       case $ac_f in
   12996       -) ac_f="$ac_tmp/stdin";;
   12997       *) # Look for the file first in the build tree, then in the source tree
   12998 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12999 	 # because $ac_f cannot contain `:'.
   13000 	 test -f "$ac_f" ||
   13001 	   case $ac_f in
   13002 	   [\\/$]*) false;;
   13003 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13004 	   esac ||
   13005 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13006       esac
   13007       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13008       as_fn_append ac_file_inputs " '$ac_f'"
   13009     done
   13010 
   13011     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13012     # use $as_me), people would be surprised to read:
   13013     #    /* config.h.  Generated by config.status.  */
   13014     configure_input='Generated from '`
   13015 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13016 	`' by configure.'
   13017     if test x"$ac_file" != x-; then
   13018       configure_input="$ac_file.  $configure_input"
   13019       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13020 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   13021     fi
   13022     # Neutralize special characters interpreted by sed in replacement strings.
   13023     case $configure_input in #(
   13024     *\&* | *\|* | *\\* )
   13025        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   13026        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13027     *) ac_sed_conf_input=$configure_input;;
   13028     esac
   13029 
   13030     case $ac_tag in
   13031     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13032       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13033     esac
   13034     ;;
   13035   esac
   13036 
   13037   ac_dir=`$as_dirname -- "$ac_file" ||
   13038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13039 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13040 	 X"$ac_file" : 'X\(//\)$' \| \
   13041 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13042 printf "%s\n" X"$ac_file" |
   13043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13044 	    s//\1/
   13045 	    q
   13046 	  }
   13047 	  /^X\(\/\/\)[^/].*/{
   13048 	    s//\1/
   13049 	    q
   13050 	  }
   13051 	  /^X\(\/\/\)$/{
   13052 	    s//\1/
   13053 	    q
   13054 	  }
   13055 	  /^X\(\/\).*/{
   13056 	    s//\1/
   13057 	    q
   13058 	  }
   13059 	  s/.*/./; q'`
   13060   as_dir="$ac_dir"; as_fn_mkdir_p
   13061   ac_builddir=.
   13062 
   13063 case "$ac_dir" in
   13064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13065 *)
   13066   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   13067   # A ".." for each directory in $ac_dir_suffix.
   13068   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13069   case $ac_top_builddir_sub in
   13070   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13071   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13072   esac ;;
   13073 esac
   13074 ac_abs_top_builddir=$ac_pwd
   13075 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13076 # for backward compatibility:
   13077 ac_top_builddir=$ac_top_build_prefix
   13078 
   13079 case $srcdir in
   13080   .)  # We are building in place.
   13081     ac_srcdir=.
   13082     ac_top_srcdir=$ac_top_builddir_sub
   13083     ac_abs_top_srcdir=$ac_pwd ;;
   13084   [\\/]* | ?:[\\/]* )  # Absolute name.
   13085     ac_srcdir=$srcdir$ac_dir_suffix;
   13086     ac_top_srcdir=$srcdir
   13087     ac_abs_top_srcdir=$srcdir ;;
   13088   *) # Relative name.
   13089     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13090     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13091     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13092 esac
   13093 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13094 
   13095 
   13096   case $ac_mode in
   13097   :F)
   13098   #
   13099   # CONFIG_FILE
   13100   #
   13101 
   13102   case $INSTALL in
   13103   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13104   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13105   esac
   13106   ac_MKDIR_P=$MKDIR_P
   13107   case $MKDIR_P in
   13108   [\\/$]* | ?:[\\/]* ) ;;
   13109   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13110   esac
   13111 _ACEOF
   13112 
   13113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13114 # If the template does not know about datarootdir, expand it.
   13115 # FIXME: This hack should be removed a few years after 2.60.
   13116 ac_datarootdir_hack=; ac_datarootdir_seen=
   13117 ac_sed_dataroot='
   13118 /datarootdir/ {
   13119   p
   13120   q
   13121 }
   13122 /@datadir@/p
   13123 /@docdir@/p
   13124 /@infodir@/p
   13125 /@localedir@/p
   13126 /@mandir@/p'
   13127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13128 *datarootdir*) ac_datarootdir_seen=yes;;
   13129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13131 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13132 _ACEOF
   13133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13134   ac_datarootdir_hack='
   13135   s&@datadir@&$datadir&g
   13136   s&@docdir@&$docdir&g
   13137   s&@infodir@&$infodir&g
   13138   s&@localedir@&$localedir&g
   13139   s&@mandir@&$mandir&g
   13140   s&\\\${datarootdir}&$datarootdir&g' ;;
   13141 esac
   13142 _ACEOF
   13143 
   13144 # Neutralize VPATH when `$srcdir' = `.'.
   13145 # Shell code in configure.ac might set extrasub.
   13146 # FIXME: do we really want to maintain this feature?
   13147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13148 ac_sed_extra="$ac_vpsub
   13149 $extrasub
   13150 _ACEOF
   13151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13152 :t
   13153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13154 s|@configure_input@|$ac_sed_conf_input|;t t
   13155 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13157 s&@srcdir@&$ac_srcdir&;t t
   13158 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13159 s&@top_srcdir@&$ac_top_srcdir&;t t
   13160 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13161 s&@builddir@&$ac_builddir&;t t
   13162 s&@abs_builddir@&$ac_abs_builddir&;t t
   13163 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13164 s&@INSTALL@&$ac_INSTALL&;t t
   13165 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13166 $ac_datarootdir_hack
   13167 "
   13168 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13169   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13170 
   13171 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13172   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13173   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13174       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13176 which seems to be undefined.  Please make sure it is defined" >&5
   13177 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13178 which seems to be undefined.  Please make sure it is defined" >&2;}
   13179 
   13180   rm -f "$ac_tmp/stdin"
   13181   case $ac_file in
   13182   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13183   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13184   esac \
   13185   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13186  ;;
   13187   :H)
   13188   #
   13189   # CONFIG_HEADER
   13190   #
   13191   if test x"$ac_file" != x-; then
   13192     {
   13193       printf "%s\n" "/* $configure_input  */" >&1 \
   13194       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13195     } >"$ac_tmp/config.h" \
   13196       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13197     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13198       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13199 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13200     else
   13201       rm -f "$ac_file"
   13202       mv "$ac_tmp/config.h" "$ac_file" \
   13203 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13204     fi
   13205   else
   13206     printf "%s\n" "/* $configure_input  */" >&1 \
   13207       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13208       || as_fn_error $? "could not create -" "$LINENO" 5
   13209   fi
   13210 # Compute "$ac_file"'s index in $config_headers.
   13211 _am_arg="$ac_file"
   13212 _am_stamp_count=1
   13213 for _am_header in $config_headers :; do
   13214   case $_am_header in
   13215     $_am_arg | $_am_arg:* )
   13216       break ;;
   13217     * )
   13218       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13219   esac
   13220 done
   13221 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13222 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13223 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13224 	 X"$_am_arg" : 'X\(//\)$' \| \
   13225 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13226 printf "%s\n" X"$_am_arg" |
   13227     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13228 	    s//\1/
   13229 	    q
   13230 	  }
   13231 	  /^X\(\/\/\)[^/].*/{
   13232 	    s//\1/
   13233 	    q
   13234 	  }
   13235 	  /^X\(\/\/\)$/{
   13236 	    s//\1/
   13237 	    q
   13238 	  }
   13239 	  /^X\(\/\).*/{
   13240 	    s//\1/
   13241 	    q
   13242 	  }
   13243 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13244  ;;
   13245 
   13246   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13247 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13248  ;;
   13249   esac
   13250 
   13251 
   13252   case $ac_file$ac_mode in
   13253     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13254   # Older Autoconf quotes --file arguments for eval, but not when files
   13255   # are listed without --file.  Let's play safe and only enable the eval
   13256   # if we detect the quoting.
   13257   # TODO: see whether this extra hack can be removed once we start
   13258   # requiring Autoconf 2.70 or later.
   13259   case $CONFIG_FILES in #(
   13260   *\'*) :
   13261     eval set x "$CONFIG_FILES" ;; #(
   13262   *) :
   13263     set x $CONFIG_FILES ;; #(
   13264   *) :
   13265      ;;
   13266 esac
   13267   shift
   13268   # Used to flag and report bootstrapping failures.
   13269   am_rc=0
   13270   for am_mf
   13271   do
   13272     # Strip MF so we end up with the name of the file.
   13273     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13274     # Check whether this is an Automake generated Makefile which includes
   13275     # dependency-tracking related rules and includes.
   13276     # Grep'ing the whole file directly is not great: AIX grep has a line
   13277     # limit of 2048, but all sed's we know have understand at least 4000.
   13278     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13279       || continue
   13280     am_dirpart=`$as_dirname -- "$am_mf" ||
   13281 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13282 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13283 	 X"$am_mf" : 'X\(//\)$' \| \
   13284 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13285 printf "%s\n" X"$am_mf" |
   13286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13287 	    s//\1/
   13288 	    q
   13289 	  }
   13290 	  /^X\(\/\/\)[^/].*/{
   13291 	    s//\1/
   13292 	    q
   13293 	  }
   13294 	  /^X\(\/\/\)$/{
   13295 	    s//\1/
   13296 	    q
   13297 	  }
   13298 	  /^X\(\/\).*/{
   13299 	    s//\1/
   13300 	    q
   13301 	  }
   13302 	  s/.*/./; q'`
   13303     am_filepart=`$as_basename -- "$am_mf" ||
   13304 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13305 	 X"$am_mf" : 'X\(//\)$' \| \
   13306 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13307 printf "%s\n" X/"$am_mf" |
   13308     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13309 	    s//\1/
   13310 	    q
   13311 	  }
   13312 	  /^X\/\(\/\/\)$/{
   13313 	    s//\1/
   13314 	    q
   13315 	  }
   13316 	  /^X\/\(\/\).*/{
   13317 	    s//\1/
   13318 	    q
   13319 	  }
   13320 	  s/.*/./; q'`
   13321     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13322       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13323         | $MAKE -f - am--depfiles" >&5
   13324    (cd "$am_dirpart" \
   13325       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13326         | $MAKE -f - am--depfiles) >&5 2>&5
   13327    ac_status=$?
   13328    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13329    (exit $ac_status); } || am_rc=$?
   13330   done
   13331   if test $am_rc -ne 0; then
   13332     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13333 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13334 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13335     for automatic dependency tracking.  If GNU make was not used, consider
   13336     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13337     necessary).  You can also try re-running configure with the
   13338     '--disable-dependency-tracking' option to at least be able to build
   13339     the package (albeit without support for automatic dependency tracking).
   13340 See \`config.log' for more details" "$LINENO" 5; }
   13341   fi
   13342   { am_dirpart=; unset am_dirpart;}
   13343   { am_filepart=; unset am_filepart;}
   13344   { am_mf=; unset am_mf;}
   13345   { am_rc=; unset am_rc;}
   13346   rm -f conftest-deps.mk
   13347 }
   13348  ;;
   13349 
   13350   esac
   13351 done # for ac_tag
   13352 
   13353 
   13354 as_fn_exit 0
   13355 _ACEOF
   13356 ac_clean_files=$ac_clean_files_save
   13357 
   13358 test $ac_write_fail = 0 ||
   13359   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13360 
   13361 
   13362 # configure is writing to config.log, and then calls config.status.
   13363 # config.status does its own redirection, appending to config.log.
   13364 # Unfortunately, on DOS this fails, as config.log is still kept open
   13365 # by configure, so config.status won't be able to write to it; its
   13366 # output is simply discarded.  So we exec the FD to /dev/null,
   13367 # effectively closing config.log, so it can be properly (re)opened and
   13368 # appended to by config.status.  When coming back to configure, we
   13369 # need to make the FD available again.
   13370 if test "$no_create" != yes; then
   13371   ac_cs_success=:
   13372   ac_config_status_args=
   13373   test "$silent" = yes &&
   13374     ac_config_status_args="$ac_config_status_args --quiet"
   13375   exec 5>/dev/null
   13376   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13377   exec 5>>config.log
   13378   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13379   # would make configure fail if this is the last instruction.
   13380   $ac_cs_success || as_fn_exit 1
   13381 fi
   13382 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13384 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13385 fi
   13386 
   13387 
   13388