Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xorg-cf-files 1.0.6.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    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   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; 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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xorg-cf-files'
    583 PACKAGE_TARNAME='xorg-cf-files'
    584 PACKAGE_VERSION='1.0.6'
    585 PACKAGE_STRING='xorg-cf-files 1.0.6'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 XCONFDIR
    631 ENCODINGSDIR
    632 FONTROOTDIR
    633 MAN_SUBSTS
    634 XORG_MAN_PAGE
    635 ADMIN_MAN_DIR
    636 DRIVER_MAN_DIR
    637 MISC_MAN_DIR
    638 FILE_MAN_DIR
    639 LIB_MAN_DIR
    640 APP_MAN_DIR
    641 ADMIN_MAN_SUFFIX
    642 DRIVER_MAN_SUFFIX
    643 MISC_MAN_SUFFIX
    644 FILE_MAN_SUFFIX
    645 LIB_MAN_SUFFIX
    646 APP_MAN_SUFFIX
    647 SED
    648 host_os
    649 host_vendor
    650 host_cpu
    651 host
    652 build_os
    653 build_vendor
    654 build_cpu
    655 build
    656 INSTALL_CMD
    657 PKG_CONFIG
    658 CHANGELOG_CMD
    659 STRICT_CFLAGS
    660 CWARNFLAGS
    661 BASE_CFLAGS
    662 EGREP
    663 GREP
    664 CPP
    665 am__fastdepCC_FALSE
    666 am__fastdepCC_TRUE
    667 CCDEPMODE
    668 am__nodep
    669 AMDEPBACKSLASH
    670 AMDEP_FALSE
    671 AMDEP_TRUE
    672 am__quote
    673 am__include
    674 DEPDIR
    675 OBJEXT
    676 EXEEXT
    677 ac_ct_CC
    678 CPPFLAGS
    679 LDFLAGS
    680 CFLAGS
    681 CC
    682 AM_BACKSLASH
    683 AM_DEFAULT_VERBOSITY
    684 AM_DEFAULT_V
    685 AM_V
    686 am__untar
    687 am__tar
    688 AMTAR
    689 am__leading_dot
    690 SET_MAKE
    691 AWK
    692 mkdir_p
    693 MKDIR_P
    694 INSTALL_STRIP_PROGRAM
    695 STRIP
    696 install_sh
    697 MAKEINFO
    698 AUTOHEADER
    699 AUTOMAKE
    700 AUTOCONF
    701 ACLOCAL
    702 VERSION
    703 PACKAGE
    704 CYGPATH_W
    705 am__isrc
    706 INSTALL_DATA
    707 INSTALL_SCRIPT
    708 INSTALL_PROGRAM
    709 target_alias
    710 host_alias
    711 build_alias
    712 LIBS
    713 ECHO_T
    714 ECHO_N
    715 ECHO_C
    716 DEFS
    717 mandir
    718 localedir
    719 libdir
    720 psdir
    721 pdfdir
    722 dvidir
    723 htmldir
    724 infodir
    725 docdir
    726 oldincludedir
    727 includedir
    728 localstatedir
    729 sharedstatedir
    730 sysconfdir
    731 datadir
    732 datarootdir
    733 libexecdir
    734 sbindir
    735 bindir
    736 program_transform_name
    737 prefix
    738 exec_prefix
    739 PACKAGE_URL
    740 PACKAGE_BUGREPORT
    741 PACKAGE_STRING
    742 PACKAGE_VERSION
    743 PACKAGE_TARNAME
    744 PACKAGE_NAME
    745 PATH_SEPARATOR
    746 SHELL'
    747 ac_subst_files=''
    748 ac_user_opts='
    749 enable_option_checking
    750 enable_silent_rules
    751 enable_dependency_tracking
    752 enable_selective_werror
    753 enable_strict_compilation
    754 with_fontrootdir
    755 with_encodingsdir
    756 with_config_dir
    757 '
    758       ac_precious_vars='build_alias
    759 host_alias
    760 target_alias
    761 CC
    762 CFLAGS
    763 LDFLAGS
    764 LIBS
    765 CPPFLAGS
    766 CPP
    767 PKG_CONFIG'
    768 
    769 
    770 # Initialize some variables set by options.
    771 ac_init_help=
    772 ac_init_version=false
    773 ac_unrecognized_opts=
    774 ac_unrecognized_sep=
    775 # The variables have the same names as the options, with
    776 # dashes changed to underlines.
    777 cache_file=/dev/null
    778 exec_prefix=NONE
    779 no_create=
    780 no_recursion=
    781 prefix=NONE
    782 program_prefix=NONE
    783 program_suffix=NONE
    784 program_transform_name=s,x,x,
    785 silent=
    786 site=
    787 srcdir=
    788 verbose=
    789 x_includes=NONE
    790 x_libraries=NONE
    791 
    792 # Installation directory options.
    793 # These are left unexpanded so users can "make install exec_prefix=/foo"
    794 # and all the variables that are supposed to be based on exec_prefix
    795 # by default will actually change.
    796 # Use braces instead of parens because sh, perl, etc. also accept them.
    797 # (The list follows the same order as the GNU Coding Standards.)
    798 bindir='${exec_prefix}/bin'
    799 sbindir='${exec_prefix}/sbin'
    800 libexecdir='${exec_prefix}/libexec'
    801 datarootdir='${prefix}/share'
    802 datadir='${datarootdir}'
    803 sysconfdir='${prefix}/etc'
    804 sharedstatedir='${prefix}/com'
    805 localstatedir='${prefix}/var'
    806 includedir='${prefix}/include'
    807 oldincludedir='/usr/include'
    808 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    809 infodir='${datarootdir}/info'
    810 htmldir='${docdir}'
    811 dvidir='${docdir}'
    812 pdfdir='${docdir}'
    813 psdir='${docdir}'
    814 libdir='${exec_prefix}/lib'
    815 localedir='${datarootdir}/locale'
    816 mandir='${datarootdir}/man'
    817 
    818 ac_prev=
    819 ac_dashdash=
    820 for ac_option
    821 do
    822   # If the previous option needs an argument, assign it.
    823   if test -n "$ac_prev"; then
    824     eval $ac_prev=\$ac_option
    825     ac_prev=
    826     continue
    827   fi
    828 
    829   case $ac_option in
    830   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    831   *=)   ac_optarg= ;;
    832   *)    ac_optarg=yes ;;
    833   esac
    834 
    835   # Accept the important Cygnus configure options, so we can diagnose typos.
    836 
    837   case $ac_dashdash$ac_option in
    838   --)
    839     ac_dashdash=yes ;;
    840 
    841   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    842     ac_prev=bindir ;;
    843   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    844     bindir=$ac_optarg ;;
    845 
    846   -build | --build | --buil | --bui | --bu)
    847     ac_prev=build_alias ;;
    848   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    849     build_alias=$ac_optarg ;;
    850 
    851   -cache-file | --cache-file | --cache-fil | --cache-fi \
    852   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    853     ac_prev=cache_file ;;
    854   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    855   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    856     cache_file=$ac_optarg ;;
    857 
    858   --config-cache | -C)
    859     cache_file=config.cache ;;
    860 
    861   -datadir | --datadir | --datadi | --datad)
    862     ac_prev=datadir ;;
    863   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    864     datadir=$ac_optarg ;;
    865 
    866   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    867   | --dataroo | --dataro | --datar)
    868     ac_prev=datarootdir ;;
    869   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    870   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    871     datarootdir=$ac_optarg ;;
    872 
    873   -disable-* | --disable-*)
    874     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    875     # Reject names that are not valid shell variable names.
    876     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    877       as_fn_error $? "invalid feature name: $ac_useropt"
    878     ac_useropt_orig=$ac_useropt
    879     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    880     case $ac_user_opts in
    881       *"
    882 "enable_$ac_useropt"
    883 "*) ;;
    884       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    885 	 ac_unrecognized_sep=', ';;
    886     esac
    887     eval enable_$ac_useropt=no ;;
    888 
    889   -docdir | --docdir | --docdi | --doc | --do)
    890     ac_prev=docdir ;;
    891   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    892     docdir=$ac_optarg ;;
    893 
    894   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    895     ac_prev=dvidir ;;
    896   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    897     dvidir=$ac_optarg ;;
    898 
    899   -enable-* | --enable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: $ac_useropt"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=\$ac_optarg ;;
    914 
    915   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    916   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    917   | --exec | --exe | --ex)
    918     ac_prev=exec_prefix ;;
    919   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    920   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    921   | --exec=* | --exe=* | --ex=*)
    922     exec_prefix=$ac_optarg ;;
    923 
    924   -gas | --gas | --ga | --g)
    925     # Obsolete; use --with-gas.
    926     with_gas=yes ;;
    927 
    928   -help | --help | --hel | --he | -h)
    929     ac_init_help=long ;;
    930   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    931     ac_init_help=recursive ;;
    932   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    933     ac_init_help=short ;;
    934 
    935   -host | --host | --hos | --ho)
    936     ac_prev=host_alias ;;
    937   -host=* | --host=* | --hos=* | --ho=*)
    938     host_alias=$ac_optarg ;;
    939 
    940   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    941     ac_prev=htmldir ;;
    942   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    943   | --ht=*)
    944     htmldir=$ac_optarg ;;
    945 
    946   -includedir | --includedir | --includedi | --included | --include \
    947   | --includ | --inclu | --incl | --inc)
    948     ac_prev=includedir ;;
    949   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    950   | --includ=* | --inclu=* | --incl=* | --inc=*)
    951     includedir=$ac_optarg ;;
    952 
    953   -infodir | --infodir | --infodi | --infod | --info | --inf)
    954     ac_prev=infodir ;;
    955   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    956     infodir=$ac_optarg ;;
    957 
    958   -libdir | --libdir | --libdi | --libd)
    959     ac_prev=libdir ;;
    960   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    961     libdir=$ac_optarg ;;
    962 
    963   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    964   | --libexe | --libex | --libe)
    965     ac_prev=libexecdir ;;
    966   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    967   | --libexe=* | --libex=* | --libe=*)
    968     libexecdir=$ac_optarg ;;
    969 
    970   -localedir | --localedir | --localedi | --localed | --locale)
    971     ac_prev=localedir ;;
    972   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    973     localedir=$ac_optarg ;;
    974 
    975   -localstatedir | --localstatedir | --localstatedi | --localstated \
    976   | --localstate | --localstat | --localsta | --localst | --locals)
    977     ac_prev=localstatedir ;;
    978   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    979   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    980     localstatedir=$ac_optarg ;;
    981 
    982   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    983     ac_prev=mandir ;;
    984   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    985     mandir=$ac_optarg ;;
    986 
    987   -nfp | --nfp | --nf)
    988     # Obsolete; use --without-fp.
    989     with_fp=no ;;
    990 
    991   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    992   | --no-cr | --no-c | -n)
    993     no_create=yes ;;
    994 
    995   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    996   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    997     no_recursion=yes ;;
    998 
    999   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1000   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1001   | --oldin | --oldi | --old | --ol | --o)
   1002     ac_prev=oldincludedir ;;
   1003   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1004   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1005   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1006     oldincludedir=$ac_optarg ;;
   1007 
   1008   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1009     ac_prev=prefix ;;
   1010   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1011     prefix=$ac_optarg ;;
   1012 
   1013   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1014   | --program-pre | --program-pr | --program-p)
   1015     ac_prev=program_prefix ;;
   1016   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1017   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1018     program_prefix=$ac_optarg ;;
   1019 
   1020   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1021   | --program-suf | --program-su | --program-s)
   1022     ac_prev=program_suffix ;;
   1023   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1024   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1025     program_suffix=$ac_optarg ;;
   1026 
   1027   -program-transform-name | --program-transform-name \
   1028   | --program-transform-nam | --program-transform-na \
   1029   | --program-transform-n | --program-transform- \
   1030   | --program-transform | --program-transfor \
   1031   | --program-transfo | --program-transf \
   1032   | --program-trans | --program-tran \
   1033   | --progr-tra | --program-tr | --program-t)
   1034     ac_prev=program_transform_name ;;
   1035   -program-transform-name=* | --program-transform-name=* \
   1036   | --program-transform-nam=* | --program-transform-na=* \
   1037   | --program-transform-n=* | --program-transform-=* \
   1038   | --program-transform=* | --program-transfor=* \
   1039   | --program-transfo=* | --program-transf=* \
   1040   | --program-trans=* | --program-tran=* \
   1041   | --progr-tra=* | --program-tr=* | --program-t=*)
   1042     program_transform_name=$ac_optarg ;;
   1043 
   1044   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1045     ac_prev=pdfdir ;;
   1046   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1047     pdfdir=$ac_optarg ;;
   1048 
   1049   -psdir | --psdir | --psdi | --psd | --ps)
   1050     ac_prev=psdir ;;
   1051   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1052     psdir=$ac_optarg ;;
   1053 
   1054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1055   | -silent | --silent | --silen | --sile | --sil)
   1056     silent=yes ;;
   1057 
   1058   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1059     ac_prev=sbindir ;;
   1060   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1061   | --sbi=* | --sb=*)
   1062     sbindir=$ac_optarg ;;
   1063 
   1064   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1065   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1066   | --sharedst | --shareds | --shared | --share | --shar \
   1067   | --sha | --sh)
   1068     ac_prev=sharedstatedir ;;
   1069   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1070   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1071   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1072   | --sha=* | --sh=*)
   1073     sharedstatedir=$ac_optarg ;;
   1074 
   1075   -site | --site | --sit)
   1076     ac_prev=site ;;
   1077   -site=* | --site=* | --sit=*)
   1078     site=$ac_optarg ;;
   1079 
   1080   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1081     ac_prev=srcdir ;;
   1082   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1083     srcdir=$ac_optarg ;;
   1084 
   1085   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1086   | --syscon | --sysco | --sysc | --sys | --sy)
   1087     ac_prev=sysconfdir ;;
   1088   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1089   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1090     sysconfdir=$ac_optarg ;;
   1091 
   1092   -target | --target | --targe | --targ | --tar | --ta | --t)
   1093     ac_prev=target_alias ;;
   1094   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1095     target_alias=$ac_optarg ;;
   1096 
   1097   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1098     verbose=yes ;;
   1099 
   1100   -version | --version | --versio | --versi | --vers | -V)
   1101     ac_init_version=: ;;
   1102 
   1103   -with-* | --with-*)
   1104     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1105     # Reject names that are not valid shell variable names.
   1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1107       as_fn_error $? "invalid package name: $ac_useropt"
   1108     ac_useropt_orig=$ac_useropt
   1109     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1110     case $ac_user_opts in
   1111       *"
   1112 "with_$ac_useropt"
   1113 "*) ;;
   1114       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1115 	 ac_unrecognized_sep=', ';;
   1116     esac
   1117     eval with_$ac_useropt=\$ac_optarg ;;
   1118 
   1119   -without-* | --without-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: $ac_useropt"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=no ;;
   1134 
   1135   --x)
   1136     # Obsolete; use --with-x.
   1137     with_x=yes ;;
   1138 
   1139   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1140   | --x-incl | --x-inc | --x-in | --x-i)
   1141     ac_prev=x_includes ;;
   1142   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1143   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1144     x_includes=$ac_optarg ;;
   1145 
   1146   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1147   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1148     ac_prev=x_libraries ;;
   1149   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1150   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1151     x_libraries=$ac_optarg ;;
   1152 
   1153   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1154 Try \`$0 --help' for more information"
   1155     ;;
   1156 
   1157   *=*)
   1158     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1159     # Reject names that are not valid shell variable names.
   1160     case $ac_envvar in #(
   1161       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1162       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1163     esac
   1164     eval $ac_envvar=\$ac_optarg
   1165     export $ac_envvar ;;
   1166 
   1167   *)
   1168     # FIXME: should be removed in autoconf 3.0.
   1169     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1170     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1171       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1172     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1173     ;;
   1174 
   1175   esac
   1176 done
   1177 
   1178 if test -n "$ac_prev"; then
   1179   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1180   as_fn_error $? "missing argument to $ac_option"
   1181 fi
   1182 
   1183 if test -n "$ac_unrecognized_opts"; then
   1184   case $enable_option_checking in
   1185     no) ;;
   1186     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1187     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1188   esac
   1189 fi
   1190 
   1191 # Check all directory arguments for consistency.
   1192 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1193 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1194 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1195 		libdir localedir mandir
   1196 do
   1197   eval ac_val=\$$ac_var
   1198   # Remove trailing slashes.
   1199   case $ac_val in
   1200     */ )
   1201       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1202       eval $ac_var=\$ac_val;;
   1203   esac
   1204   # Be sure to have absolute directory names.
   1205   case $ac_val in
   1206     [\\/$]* | ?:[\\/]* )  continue;;
   1207     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1208   esac
   1209   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1210 done
   1211 
   1212 # There might be people who depend on the old broken behavior: `$host'
   1213 # used to hold the argument of --host etc.
   1214 # FIXME: To remove some day.
   1215 build=$build_alias
   1216 host=$host_alias
   1217 target=$target_alias
   1218 
   1219 # FIXME: To remove some day.
   1220 if test "x$host_alias" != x; then
   1221   if test "x$build_alias" = x; then
   1222     cross_compiling=maybe
   1223   elif test "x$build_alias" != "x$host_alias"; then
   1224     cross_compiling=yes
   1225   fi
   1226 fi
   1227 
   1228 ac_tool_prefix=
   1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1230 
   1231 test "$silent" = yes && exec 6>/dev/null
   1232 
   1233 
   1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1235 ac_ls_di=`ls -di .` &&
   1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1237   as_fn_error $? "working directory cannot be determined"
   1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1239   as_fn_error $? "pwd does not report name of working directory"
   1240 
   1241 
   1242 # Find the source files, if location was not specified.
   1243 if test -z "$srcdir"; then
   1244   ac_srcdir_defaulted=yes
   1245   # Try the directory containing this script, then the parent directory.
   1246   ac_confdir=`$as_dirname -- "$as_myself" ||
   1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1248 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1249 	 X"$as_myself" : 'X\(//\)$' \| \
   1250 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1251 $as_echo X"$as_myself" |
   1252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  /^X\(\/\/\)[^/].*/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\).*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  s/.*/./; q'`
   1269   srcdir=$ac_confdir
   1270   if test ! -r "$srcdir/$ac_unique_file"; then
   1271     srcdir=..
   1272   fi
   1273 else
   1274   ac_srcdir_defaulted=no
   1275 fi
   1276 if test ! -r "$srcdir/$ac_unique_file"; then
   1277   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1278   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1279 fi
   1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1281 ac_abs_confdir=`(
   1282 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1283 	pwd)`
   1284 # When building in place, set srcdir=.
   1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1286   srcdir=.
   1287 fi
   1288 # Remove unnecessary trailing slashes from srcdir.
   1289 # Double slashes in file names in object file debugging info
   1290 # mess up M-x gdb in Emacs.
   1291 case $srcdir in
   1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1293 esac
   1294 for ac_var in $ac_precious_vars; do
   1295   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1296   eval ac_env_${ac_var}_value=\$${ac_var}
   1297   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1299 done
   1300 
   1301 #
   1302 # Report the --help message.
   1303 #
   1304 if test "$ac_init_help" = "long"; then
   1305   # Omit some internal or obsolete options to make the list less imposing.
   1306   # This message is too long to be a string in the A/UX 3.1 sh.
   1307   cat <<_ACEOF
   1308 \`configure' configures xorg-cf-files 1.0.6 to adapt to many kinds of systems.
   1309 
   1310 Usage: $0 [OPTION]... [VAR=VALUE]...
   1311 
   1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1313 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1314 
   1315 Defaults for the options are specified in brackets.
   1316 
   1317 Configuration:
   1318   -h, --help              display this help and exit
   1319       --help=short        display options specific to this package
   1320       --help=recursive    display the short help of all the included packages
   1321   -V, --version           display version information and exit
   1322   -q, --quiet, --silent   do not print \`checking ...' messages
   1323       --cache-file=FILE   cache test results in FILE [disabled]
   1324   -C, --config-cache      alias for \`--cache-file=config.cache'
   1325   -n, --no-create         do not create output files
   1326       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1327 
   1328 Installation directories:
   1329   --prefix=PREFIX         install architecture-independent files in PREFIX
   1330                           [$ac_default_prefix]
   1331   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1332                           [PREFIX]
   1333 
   1334 By default, \`make install' will install all the files in
   1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1337 for instance \`--prefix=\$HOME'.
   1338 
   1339 For better control, use the options below.
   1340 
   1341 Fine tuning of the installation directories:
   1342   --bindir=DIR            user executables [EPREFIX/bin]
   1343   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1344   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1345   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1346   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1347   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1348   --libdir=DIR            object code libraries [EPREFIX/lib]
   1349   --includedir=DIR        C header files [PREFIX/include]
   1350   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1351   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1352   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1353   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1354   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1355   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1356   --docdir=DIR            documentation root [DATAROOTDIR/doc/xorg-cf-files]
   1357   --htmldir=DIR           html documentation [DOCDIR]
   1358   --dvidir=DIR            dvi documentation [DOCDIR]
   1359   --pdfdir=DIR            pdf documentation [DOCDIR]
   1360   --psdir=DIR             ps documentation [DOCDIR]
   1361 _ACEOF
   1362 
   1363   cat <<\_ACEOF
   1364 
   1365 Program names:
   1366   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1367   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1368   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1369 
   1370 System types:
   1371   --build=BUILD     configure for building on BUILD [guessed]
   1372   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1373 _ACEOF
   1374 fi
   1375 
   1376 if test -n "$ac_init_help"; then
   1377   case $ac_init_help in
   1378      short | recursive ) echo "Configuration of xorg-cf-files 1.0.6:";;
   1379    esac
   1380   cat <<\_ACEOF
   1381 
   1382 Optional Features:
   1383   --disable-option-checking  ignore unrecognized --enable/--with options
   1384   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1385   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1386   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1387   --disable-silent-rules  verbose build output (undo: "make V=0")
   1388   --enable-dependency-tracking
   1389                           do not reject slow dependency extractors
   1390   --disable-dependency-tracking
   1391                           speeds up one-time build
   1392   --disable-selective-werror
   1393                           Turn off selective compiler errors. (default:
   1394                           enabled)
   1395   --enable-strict-compilation
   1396                           Enable all warnings from compiler and make them
   1397                           errors (default: disabled)
   1398 
   1399 Optional Packages:
   1400   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1401   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1402   --with-fontrootdir=DIR  Path to root directory for font files
   1403   --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
   1404   --with-config-dir=<path>
   1405                           Path to config dir (default: ${libdir}/X11/config)
   1406 
   1407 Some influential environment variables:
   1408   CC          C compiler command
   1409   CFLAGS      C compiler flags
   1410   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1411               nonstandard directory <lib dir>
   1412   LIBS        libraries to pass to the linker, e.g. -l<library>
   1413   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1414               you have headers in a nonstandard directory <include dir>
   1415   CPP         C preprocessor
   1416   PKG_CONFIG  path to pkg-config utility
   1417 
   1418 Use these variables to override the choices made by `configure' or to help
   1419 it to find libraries and programs with nonstandard names/locations.
   1420 
   1421 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1422 _ACEOF
   1423 ac_status=$?
   1424 fi
   1425 
   1426 if test "$ac_init_help" = "recursive"; then
   1427   # If there are subdirs, report their specific --help.
   1428   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1429     test -d "$ac_dir" ||
   1430       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1431       continue
   1432     ac_builddir=.
   1433 
   1434 case "$ac_dir" in
   1435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1436 *)
   1437   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1438   # A ".." for each directory in $ac_dir_suffix.
   1439   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1440   case $ac_top_builddir_sub in
   1441   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1442   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1443   esac ;;
   1444 esac
   1445 ac_abs_top_builddir=$ac_pwd
   1446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1447 # for backward compatibility:
   1448 ac_top_builddir=$ac_top_build_prefix
   1449 
   1450 case $srcdir in
   1451   .)  # We are building in place.
   1452     ac_srcdir=.
   1453     ac_top_srcdir=$ac_top_builddir_sub
   1454     ac_abs_top_srcdir=$ac_pwd ;;
   1455   [\\/]* | ?:[\\/]* )  # Absolute name.
   1456     ac_srcdir=$srcdir$ac_dir_suffix;
   1457     ac_top_srcdir=$srcdir
   1458     ac_abs_top_srcdir=$srcdir ;;
   1459   *) # Relative name.
   1460     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1461     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1462     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1463 esac
   1464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1465 
   1466     cd "$ac_dir" || { ac_status=$?; continue; }
   1467     # Check for guested configure.
   1468     if test -f "$ac_srcdir/configure.gnu"; then
   1469       echo &&
   1470       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1471     elif test -f "$ac_srcdir/configure"; then
   1472       echo &&
   1473       $SHELL "$ac_srcdir/configure" --help=recursive
   1474     else
   1475       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1476     fi || ac_status=$?
   1477     cd "$ac_pwd" || { ac_status=$?; break; }
   1478   done
   1479 fi
   1480 
   1481 test -n "$ac_init_help" && exit $ac_status
   1482 if $ac_init_version; then
   1483   cat <<\_ACEOF
   1484 xorg-cf-files configure 1.0.6
   1485 generated by GNU Autoconf 2.69
   1486 
   1487 Copyright (C) 2012 Free Software Foundation, Inc.
   1488 This configure script is free software; the Free Software Foundation
   1489 gives unlimited permission to copy, distribute and modify it.
   1490 _ACEOF
   1491   exit
   1492 fi
   1493 
   1494 ## ------------------------ ##
   1495 ## Autoconf initialization. ##
   1496 ## ------------------------ ##
   1497 
   1498 # ac_fn_c_try_compile LINENO
   1499 # --------------------------
   1500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1501 ac_fn_c_try_compile ()
   1502 {
   1503   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1504   rm -f conftest.$ac_objext
   1505   if { { ac_try="$ac_compile"
   1506 case "(($ac_try" in
   1507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1508   *) ac_try_echo=$ac_try;;
   1509 esac
   1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1511 $as_echo "$ac_try_echo"; } >&5
   1512   (eval "$ac_compile") 2>conftest.err
   1513   ac_status=$?
   1514   if test -s conftest.err; then
   1515     grep -v '^ *+' conftest.err >conftest.er1
   1516     cat conftest.er1 >&5
   1517     mv -f conftest.er1 conftest.err
   1518   fi
   1519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1520   test $ac_status = 0; } && {
   1521 	 test -z "$ac_c_werror_flag" ||
   1522 	 test ! -s conftest.err
   1523        } && test -s conftest.$ac_objext; then :
   1524   ac_retval=0
   1525 else
   1526   $as_echo "$as_me: failed program was:" >&5
   1527 sed 's/^/| /' conftest.$ac_ext >&5
   1528 
   1529 	ac_retval=1
   1530 fi
   1531   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1532   as_fn_set_status $ac_retval
   1533 
   1534 } # ac_fn_c_try_compile
   1535 
   1536 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1537 # ---------------------------------------------
   1538 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1539 # accordingly.
   1540 ac_fn_c_check_decl ()
   1541 {
   1542   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1543   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1544   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1546 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1547 if eval \${$3+:} false; then :
   1548   $as_echo_n "(cached) " >&6
   1549 else
   1550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1551 /* end confdefs.h.  */
   1552 $4
   1553 int
   1554 main ()
   1555 {
   1556 #ifndef $as_decl_name
   1557 #ifdef __cplusplus
   1558   (void) $as_decl_use;
   1559 #else
   1560   (void) $as_decl_name;
   1561 #endif
   1562 #endif
   1563 
   1564   ;
   1565   return 0;
   1566 }
   1567 _ACEOF
   1568 if ac_fn_c_try_compile "$LINENO"; then :
   1569   eval "$3=yes"
   1570 else
   1571   eval "$3=no"
   1572 fi
   1573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1574 fi
   1575 eval ac_res=\$$3
   1576 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1577 $as_echo "$ac_res" >&6; }
   1578   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1579 
   1580 } # ac_fn_c_check_decl
   1581 
   1582 # ac_fn_c_try_cpp LINENO
   1583 # ----------------------
   1584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1585 ac_fn_c_try_cpp ()
   1586 {
   1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1588   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1589 case "(($ac_try" in
   1590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1591   *) ac_try_echo=$ac_try;;
   1592 esac
   1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1594 $as_echo "$ac_try_echo"; } >&5
   1595   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1596   ac_status=$?
   1597   if test -s conftest.err; then
   1598     grep -v '^ *+' conftest.err >conftest.er1
   1599     cat conftest.er1 >&5
   1600     mv -f conftest.er1 conftest.err
   1601   fi
   1602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1603   test $ac_status = 0; } > conftest.i && {
   1604 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1605 	 test ! -s conftest.err
   1606        }; then :
   1607   ac_retval=0
   1608 else
   1609   $as_echo "$as_me: failed program was:" >&5
   1610 sed 's/^/| /' conftest.$ac_ext >&5
   1611 
   1612     ac_retval=1
   1613 fi
   1614   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1615   as_fn_set_status $ac_retval
   1616 
   1617 } # ac_fn_c_try_cpp
   1618 
   1619 # ac_fn_c_try_run LINENO
   1620 # ----------------------
   1621 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1622 # that executables *can* be run.
   1623 ac_fn_c_try_run ()
   1624 {
   1625   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1626   if { { ac_try="$ac_link"
   1627 case "(($ac_try" in
   1628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1629   *) ac_try_echo=$ac_try;;
   1630 esac
   1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1632 $as_echo "$ac_try_echo"; } >&5
   1633   (eval "$ac_link") 2>&5
   1634   ac_status=$?
   1635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1636   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1637   { { case "(($ac_try" in
   1638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1639   *) ac_try_echo=$ac_try;;
   1640 esac
   1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1642 $as_echo "$ac_try_echo"; } >&5
   1643   (eval "$ac_try") 2>&5
   1644   ac_status=$?
   1645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1646   test $ac_status = 0; }; }; then :
   1647   ac_retval=0
   1648 else
   1649   $as_echo "$as_me: program exited with status $ac_status" >&5
   1650        $as_echo "$as_me: failed program was:" >&5
   1651 sed 's/^/| /' conftest.$ac_ext >&5
   1652 
   1653        ac_retval=$ac_status
   1654 fi
   1655   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657   as_fn_set_status $ac_retval
   1658 
   1659 } # ac_fn_c_try_run
   1660 
   1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1662 # -------------------------------------------------------
   1663 # Tests whether HEADER exists and can be compiled using the include files in
   1664 # INCLUDES, setting the cache variable VAR accordingly.
   1665 ac_fn_c_check_header_compile ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1674 /* end confdefs.h.  */
   1675 $4
   1676 #include <$2>
   1677 _ACEOF
   1678 if ac_fn_c_try_compile "$LINENO"; then :
   1679   eval "$3=yes"
   1680 else
   1681   eval "$3=no"
   1682 fi
   1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1684 fi
   1685 eval ac_res=\$$3
   1686 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1687 $as_echo "$ac_res" >&6; }
   1688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1689 
   1690 } # ac_fn_c_check_header_compile
   1691 
   1692 # ac_fn_c_try_link LINENO
   1693 # -----------------------
   1694 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1695 ac_fn_c_try_link ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   rm -f conftest.$ac_objext conftest$ac_exeext
   1699   if { { ac_try="$ac_link"
   1700 case "(($ac_try" in
   1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1702   *) ac_try_echo=$ac_try;;
   1703 esac
   1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1705 $as_echo "$ac_try_echo"; } >&5
   1706   (eval "$ac_link") 2>conftest.err
   1707   ac_status=$?
   1708   if test -s conftest.err; then
   1709     grep -v '^ *+' conftest.err >conftest.er1
   1710     cat conftest.er1 >&5
   1711     mv -f conftest.er1 conftest.err
   1712   fi
   1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1714   test $ac_status = 0; } && {
   1715 	 test -z "$ac_c_werror_flag" ||
   1716 	 test ! -s conftest.err
   1717        } && test -s conftest$ac_exeext && {
   1718 	 test "$cross_compiling" = yes ||
   1719 	 test -x conftest$ac_exeext
   1720        }; then :
   1721   ac_retval=0
   1722 else
   1723   $as_echo "$as_me: failed program was:" >&5
   1724 sed 's/^/| /' conftest.$ac_ext >&5
   1725 
   1726 	ac_retval=1
   1727 fi
   1728   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1729   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1730   # interfere with the next link command; also delete a directory that is
   1731   # left behind by Apple's compiler.  We do this before executing the actions.
   1732   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1734   as_fn_set_status $ac_retval
   1735 
   1736 } # ac_fn_c_try_link
   1737 cat >config.log <<_ACEOF
   1738 This file contains any messages produced by compilers while
   1739 running configure, to aid debugging if configure makes a mistake.
   1740 
   1741 It was created by xorg-cf-files $as_me 1.0.6, which was
   1742 generated by GNU Autoconf 2.69.  Invocation command line was
   1743 
   1744   $ $0 $@
   1745 
   1746 _ACEOF
   1747 exec 5>>config.log
   1748 {
   1749 cat <<_ASUNAME
   1750 ## --------- ##
   1751 ## Platform. ##
   1752 ## --------- ##
   1753 
   1754 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1755 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1756 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1757 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1758 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1759 
   1760 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1761 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1762 
   1763 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1764 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1765 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1766 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1767 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1768 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1769 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1770 
   1771 _ASUNAME
   1772 
   1773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1774 for as_dir in $PATH
   1775 do
   1776   IFS=$as_save_IFS
   1777   test -z "$as_dir" && as_dir=.
   1778     $as_echo "PATH: $as_dir"
   1779   done
   1780 IFS=$as_save_IFS
   1781 
   1782 } >&5
   1783 
   1784 cat >&5 <<_ACEOF
   1785 
   1786 
   1787 ## ----------- ##
   1788 ## Core tests. ##
   1789 ## ----------- ##
   1790 
   1791 _ACEOF
   1792 
   1793 
   1794 # Keep a trace of the command line.
   1795 # Strip out --no-create and --no-recursion so they do not pile up.
   1796 # Strip out --silent because we don't want to record it for future runs.
   1797 # Also quote any args containing shell meta-characters.
   1798 # Make two passes to allow for proper duplicate-argument suppression.
   1799 ac_configure_args=
   1800 ac_configure_args0=
   1801 ac_configure_args1=
   1802 ac_must_keep_next=false
   1803 for ac_pass in 1 2
   1804 do
   1805   for ac_arg
   1806   do
   1807     case $ac_arg in
   1808     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1809     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1810     | -silent | --silent | --silen | --sile | --sil)
   1811       continue ;;
   1812     *\'*)
   1813       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1814     esac
   1815     case $ac_pass in
   1816     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1817     2)
   1818       as_fn_append ac_configure_args1 " '$ac_arg'"
   1819       if test $ac_must_keep_next = true; then
   1820 	ac_must_keep_next=false # Got value, back to normal.
   1821       else
   1822 	case $ac_arg in
   1823 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1824 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1825 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1826 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1827 	    case "$ac_configure_args0 " in
   1828 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1829 	    esac
   1830 	    ;;
   1831 	  -* ) ac_must_keep_next=true ;;
   1832 	esac
   1833       fi
   1834       as_fn_append ac_configure_args " '$ac_arg'"
   1835       ;;
   1836     esac
   1837   done
   1838 done
   1839 { ac_configure_args0=; unset ac_configure_args0;}
   1840 { ac_configure_args1=; unset ac_configure_args1;}
   1841 
   1842 # When interrupted or exit'd, cleanup temporary files, and complete
   1843 # config.log.  We remove comments because anyway the quotes in there
   1844 # would cause problems or look ugly.
   1845 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1846 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1847 trap 'exit_status=$?
   1848   # Save into config.log some information that might help in debugging.
   1849   {
   1850     echo
   1851 
   1852     $as_echo "## ---------------- ##
   1853 ## Cache variables. ##
   1854 ## ---------------- ##"
   1855     echo
   1856     # The following way of writing the cache mishandles newlines in values,
   1857 (
   1858   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1859     eval ac_val=\$$ac_var
   1860     case $ac_val in #(
   1861     *${as_nl}*)
   1862       case $ac_var in #(
   1863       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1864 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1865       esac
   1866       case $ac_var in #(
   1867       _ | IFS | as_nl) ;; #(
   1868       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1869       *) { eval $ac_var=; unset $ac_var;} ;;
   1870       esac ;;
   1871     esac
   1872   done
   1873   (set) 2>&1 |
   1874     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1875     *${as_nl}ac_space=\ *)
   1876       sed -n \
   1877 	"s/'\''/'\''\\\\'\'''\''/g;
   1878 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1879       ;; #(
   1880     *)
   1881       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1882       ;;
   1883     esac |
   1884     sort
   1885 )
   1886     echo
   1887 
   1888     $as_echo "## ----------------- ##
   1889 ## Output variables. ##
   1890 ## ----------------- ##"
   1891     echo
   1892     for ac_var in $ac_subst_vars
   1893     do
   1894       eval ac_val=\$$ac_var
   1895       case $ac_val in
   1896       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1897       esac
   1898       $as_echo "$ac_var='\''$ac_val'\''"
   1899     done | sort
   1900     echo
   1901 
   1902     if test -n "$ac_subst_files"; then
   1903       $as_echo "## ------------------- ##
   1904 ## File substitutions. ##
   1905 ## ------------------- ##"
   1906       echo
   1907       for ac_var in $ac_subst_files
   1908       do
   1909 	eval ac_val=\$$ac_var
   1910 	case $ac_val in
   1911 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1912 	esac
   1913 	$as_echo "$ac_var='\''$ac_val'\''"
   1914       done | sort
   1915       echo
   1916     fi
   1917 
   1918     if test -s confdefs.h; then
   1919       $as_echo "## ----------- ##
   1920 ## confdefs.h. ##
   1921 ## ----------- ##"
   1922       echo
   1923       cat confdefs.h
   1924       echo
   1925     fi
   1926     test "$ac_signal" != 0 &&
   1927       $as_echo "$as_me: caught signal $ac_signal"
   1928     $as_echo "$as_me: exit $exit_status"
   1929   } >&5
   1930   rm -f core *.core core.conftest.* &&
   1931     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1932     exit $exit_status
   1933 ' 0
   1934 for ac_signal in 1 2 13 15; do
   1935   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1936 done
   1937 ac_signal=0
   1938 
   1939 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1940 rm -f -r conftest* confdefs.h
   1941 
   1942 $as_echo "/* confdefs.h */" > confdefs.h
   1943 
   1944 # Predefined preprocessor variables.
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_NAME "$PACKAGE_NAME"
   1948 _ACEOF
   1949 
   1950 cat >>confdefs.h <<_ACEOF
   1951 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1952 _ACEOF
   1953 
   1954 cat >>confdefs.h <<_ACEOF
   1955 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1956 _ACEOF
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_STRING "$PACKAGE_STRING"
   1960 _ACEOF
   1961 
   1962 cat >>confdefs.h <<_ACEOF
   1963 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1964 _ACEOF
   1965 
   1966 cat >>confdefs.h <<_ACEOF
   1967 #define PACKAGE_URL "$PACKAGE_URL"
   1968 _ACEOF
   1969 
   1970 
   1971 # Let the site file select an alternate cache file if it wants to.
   1972 # Prefer an explicitly selected file to automatically selected ones.
   1973 ac_site_file1=NONE
   1974 ac_site_file2=NONE
   1975 if test -n "$CONFIG_SITE"; then
   1976   # We do not want a PATH search for config.site.
   1977   case $CONFIG_SITE in #((
   1978     -*)  ac_site_file1=./$CONFIG_SITE;;
   1979     */*) ac_site_file1=$CONFIG_SITE;;
   1980     *)   ac_site_file1=./$CONFIG_SITE;;
   1981   esac
   1982 elif test "x$prefix" != xNONE; then
   1983   ac_site_file1=$prefix/share/config.site
   1984   ac_site_file2=$prefix/etc/config.site
   1985 else
   1986   ac_site_file1=$ac_default_prefix/share/config.site
   1987   ac_site_file2=$ac_default_prefix/etc/config.site
   1988 fi
   1989 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1990 do
   1991   test "x$ac_site_file" = xNONE && continue
   1992   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   1993     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1994 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1995     sed 's/^/| /' "$ac_site_file" >&5
   1996     . "$ac_site_file" \
   1997       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1999 as_fn_error $? "failed to load site script $ac_site_file
   2000 See \`config.log' for more details" "$LINENO" 5; }
   2001   fi
   2002 done
   2003 
   2004 if test -r "$cache_file"; then
   2005   # Some versions of bash will fail to source /dev/null (special files
   2006   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2007   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2008     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2009 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2010     case $cache_file in
   2011       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2012       *)                      . "./$cache_file";;
   2013     esac
   2014   fi
   2015 else
   2016   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2017 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2018   >$cache_file
   2019 fi
   2020 
   2021 # Check that the precious variables saved in the cache have kept the same
   2022 # value.
   2023 ac_cache_corrupted=false
   2024 for ac_var in $ac_precious_vars; do
   2025   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2026   eval ac_new_set=\$ac_env_${ac_var}_set
   2027   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2028   eval ac_new_val=\$ac_env_${ac_var}_value
   2029   case $ac_old_set,$ac_new_set in
   2030     set,)
   2031       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2032 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2033       ac_cache_corrupted=: ;;
   2034     ,set)
   2035       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2036 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2037       ac_cache_corrupted=: ;;
   2038     ,);;
   2039     *)
   2040       if test "x$ac_old_val" != "x$ac_new_val"; then
   2041 	# differences in whitespace do not lead to failure.
   2042 	ac_old_val_w=`echo x $ac_old_val`
   2043 	ac_new_val_w=`echo x $ac_new_val`
   2044 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2045 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2046 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2047 	  ac_cache_corrupted=:
   2048 	else
   2049 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2050 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2051 	  eval $ac_var=\$ac_old_val
   2052 	fi
   2053 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2054 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2055 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2056 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2057       fi;;
   2058   esac
   2059   # Pass precious variables to config.status.
   2060   if test "$ac_new_set" = set; then
   2061     case $ac_new_val in
   2062     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2063     *) ac_arg=$ac_var=$ac_new_val ;;
   2064     esac
   2065     case " $ac_configure_args " in
   2066       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2067       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2068     esac
   2069   fi
   2070 done
   2071 if $ac_cache_corrupted; then
   2072   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2074   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2075 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2076   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2077 fi
   2078 ## -------------------- ##
   2079 ## Main body of script. ##
   2080 ## -------------------- ##
   2081 
   2082 ac_ext=c
   2083 ac_cpp='$CPP $CPPFLAGS'
   2084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2087 
   2088 
   2089 
   2090 
   2091 # Initialize Automake
   2092 am__api_version='1.15'
   2093 
   2094 ac_aux_dir=
   2095 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2096   if test -f "$ac_dir/install-sh"; then
   2097     ac_aux_dir=$ac_dir
   2098     ac_install_sh="$ac_aux_dir/install-sh -c"
   2099     break
   2100   elif test -f "$ac_dir/install.sh"; then
   2101     ac_aux_dir=$ac_dir
   2102     ac_install_sh="$ac_aux_dir/install.sh -c"
   2103     break
   2104   elif test -f "$ac_dir/shtool"; then
   2105     ac_aux_dir=$ac_dir
   2106     ac_install_sh="$ac_aux_dir/shtool install -c"
   2107     break
   2108   fi
   2109 done
   2110 if test -z "$ac_aux_dir"; then
   2111   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2112 fi
   2113 
   2114 # These three variables are undocumented and unsupported,
   2115 # and are intended to be withdrawn in a future Autoconf release.
   2116 # They can cause serious problems if a builder's source tree is in a directory
   2117 # whose full name contains unusual characters.
   2118 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2119 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2120 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2121 
   2122 
   2123 # Find a good install program.  We prefer a C program (faster),
   2124 # so one script is as good as another.  But avoid the broken or
   2125 # incompatible versions:
   2126 # SysV /etc/install, /usr/sbin/install
   2127 # SunOS /usr/etc/install
   2128 # IRIX /sbin/install
   2129 # AIX /bin/install
   2130 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2131 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2132 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2133 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2134 # OS/2's system install, which has a completely different semantic
   2135 # ./install, which can be erroneously created by make from ./install.sh.
   2136 # Reject install programs that cannot install multiple files.
   2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2138 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2139 if test -z "$INSTALL"; then
   2140 if ${ac_cv_path_install+:} false; then :
   2141   $as_echo_n "(cached) " >&6
   2142 else
   2143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2144 for as_dir in $PATH
   2145 do
   2146   IFS=$as_save_IFS
   2147   test -z "$as_dir" && as_dir=.
   2148     # Account for people who put trailing slashes in PATH elements.
   2149 case $as_dir/ in #((
   2150   ./ | .// | /[cC]/* | \
   2151   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2152   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2153   /usr/ucb/* ) ;;
   2154   *)
   2155     # OSF1 and SCO ODT 3.0 have their own names for install.
   2156     # Don't use installbsd from OSF since it installs stuff as root
   2157     # by default.
   2158     for ac_prog in ginstall scoinst install; do
   2159       for ac_exec_ext in '' $ac_executable_extensions; do
   2160 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2161 	  if test $ac_prog = install &&
   2162 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2163 	    # AIX install.  It has an incompatible calling convention.
   2164 	    :
   2165 	  elif test $ac_prog = install &&
   2166 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2167 	    # program-specific install script used by HP pwplus--don't use.
   2168 	    :
   2169 	  else
   2170 	    rm -rf conftest.one conftest.two conftest.dir
   2171 	    echo one > conftest.one
   2172 	    echo two > conftest.two
   2173 	    mkdir conftest.dir
   2174 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2175 	      test -s conftest.one && test -s conftest.two &&
   2176 	      test -s conftest.dir/conftest.one &&
   2177 	      test -s conftest.dir/conftest.two
   2178 	    then
   2179 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2180 	      break 3
   2181 	    fi
   2182 	  fi
   2183 	fi
   2184       done
   2185     done
   2186     ;;
   2187 esac
   2188 
   2189   done
   2190 IFS=$as_save_IFS
   2191 
   2192 rm -rf conftest.one conftest.two conftest.dir
   2193 
   2194 fi
   2195   if test "${ac_cv_path_install+set}" = set; then
   2196     INSTALL=$ac_cv_path_install
   2197   else
   2198     # As a last resort, use the slow shell script.  Don't cache a
   2199     # value for INSTALL within a source directory, because that will
   2200     # break other packages using the cache if that directory is
   2201     # removed, or if the value is a relative name.
   2202     INSTALL=$ac_install_sh
   2203   fi
   2204 fi
   2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2206 $as_echo "$INSTALL" >&6; }
   2207 
   2208 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2209 # It thinks the first close brace ends the variable substitution.
   2210 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2211 
   2212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2213 
   2214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2215 
   2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2217 $as_echo_n "checking whether build environment is sane... " >&6; }
   2218 # Reject unsafe characters in $srcdir or the absolute working directory
   2219 # name.  Accept space and tab only in the latter.
   2220 am_lf='
   2221 '
   2222 case `pwd` in
   2223   *[\\\"\#\$\&\'\`$am_lf]*)
   2224     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2225 esac
   2226 case $srcdir in
   2227   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2228     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2229 esac
   2230 
   2231 # Do 'set' in a subshell so we don't clobber the current shell's
   2232 # arguments.  Must try -L first in case configure is actually a
   2233 # symlink; some systems play weird games with the mod time of symlinks
   2234 # (eg FreeBSD returns the mod time of the symlink's containing
   2235 # directory).
   2236 if (
   2237    am_has_slept=no
   2238    for am_try in 1 2; do
   2239      echo "timestamp, slept: $am_has_slept" > conftest.file
   2240      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2241      if test "$*" = "X"; then
   2242 	# -L didn't work.
   2243 	set X `ls -t "$srcdir/configure" conftest.file`
   2244      fi
   2245      if test "$*" != "X $srcdir/configure conftest.file" \
   2246 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2247 
   2248 	# If neither matched, then we have a broken ls.  This can happen
   2249 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2250 	# broken ls alias from the environment.  This has actually
   2251 	# happened.  Such a system could not be considered "sane".
   2252 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2253   alias in your environment" "$LINENO" 5
   2254      fi
   2255      if test "$2" = conftest.file || test $am_try -eq 2; then
   2256        break
   2257      fi
   2258      # Just in case.
   2259      sleep 1
   2260      am_has_slept=yes
   2261    done
   2262    test "$2" = conftest.file
   2263    )
   2264 then
   2265    # Ok.
   2266    :
   2267 else
   2268    as_fn_error $? "newly created file is older than distributed files!
   2269 Check your system clock" "$LINENO" 5
   2270 fi
   2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2272 $as_echo "yes" >&6; }
   2273 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2274 # generated files are strictly newer.
   2275 am_sleep_pid=
   2276 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2277   ( sleep 1 ) &
   2278   am_sleep_pid=$!
   2279 fi
   2280 
   2281 rm -f conftest.file
   2282 
   2283 test "$program_prefix" != NONE &&
   2284   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2285 # Use a double $ so make ignores it.
   2286 test "$program_suffix" != NONE &&
   2287   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2288 # Double any \ or $.
   2289 # By default was `s,x,x', remove it if useless.
   2290 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2291 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2292 
   2293 # Expand $ac_aux_dir to an absolute path.
   2294 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2295 
   2296 if test x"${MISSING+set}" != xset; then
   2297   case $am_aux_dir in
   2298   *\ * | *\	*)
   2299     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2300   *)
   2301     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2302   esac
   2303 fi
   2304 # Use eval to expand $SHELL
   2305 if eval "$MISSING --is-lightweight"; then
   2306   am_missing_run="$MISSING "
   2307 else
   2308   am_missing_run=
   2309   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2310 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2311 fi
   2312 
   2313 if test x"${install_sh+set}" != xset; then
   2314   case $am_aux_dir in
   2315   *\ * | *\	*)
   2316     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2317   *)
   2318     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2319   esac
   2320 fi
   2321 
   2322 # Installed binaries are usually stripped using 'strip' when the user
   2323 # run "make install-strip".  However 'strip' might not be the right
   2324 # tool to use in cross-compilation environments, therefore Automake
   2325 # will honor the 'STRIP' environment variable to overrule this program.
   2326 if test "$cross_compiling" != no; then
   2327   if test -n "$ac_tool_prefix"; then
   2328   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2329 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2331 $as_echo_n "checking for $ac_word... " >&6; }
   2332 if ${ac_cv_prog_STRIP+:} false; then :
   2333   $as_echo_n "(cached) " >&6
   2334 else
   2335   if test -n "$STRIP"; then
   2336   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2337 else
   2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2339 for as_dir in $PATH
   2340 do
   2341   IFS=$as_save_IFS
   2342   test -z "$as_dir" && as_dir=.
   2343     for ac_exec_ext in '' $ac_executable_extensions; do
   2344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2345     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2347     break 2
   2348   fi
   2349 done
   2350   done
   2351 IFS=$as_save_IFS
   2352 
   2353 fi
   2354 fi
   2355 STRIP=$ac_cv_prog_STRIP
   2356 if test -n "$STRIP"; then
   2357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2358 $as_echo "$STRIP" >&6; }
   2359 else
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2361 $as_echo "no" >&6; }
   2362 fi
   2363 
   2364 
   2365 fi
   2366 if test -z "$ac_cv_prog_STRIP"; then
   2367   ac_ct_STRIP=$STRIP
   2368   # Extract the first word of "strip", so it can be a program name with args.
   2369 set dummy strip; ac_word=$2
   2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2371 $as_echo_n "checking for $ac_word... " >&6; }
   2372 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2373   $as_echo_n "(cached) " >&6
   2374 else
   2375   if test -n "$ac_ct_STRIP"; then
   2376   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2377 else
   2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2379 for as_dir in $PATH
   2380 do
   2381   IFS=$as_save_IFS
   2382   test -z "$as_dir" && as_dir=.
   2383     for ac_exec_ext in '' $ac_executable_extensions; do
   2384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2385     ac_cv_prog_ac_ct_STRIP="strip"
   2386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2387     break 2
   2388   fi
   2389 done
   2390   done
   2391 IFS=$as_save_IFS
   2392 
   2393 fi
   2394 fi
   2395 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2396 if test -n "$ac_ct_STRIP"; then
   2397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2398 $as_echo "$ac_ct_STRIP" >&6; }
   2399 else
   2400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2401 $as_echo "no" >&6; }
   2402 fi
   2403 
   2404   if test "x$ac_ct_STRIP" = x; then
   2405     STRIP=":"
   2406   else
   2407     case $cross_compiling:$ac_tool_warned in
   2408 yes:)
   2409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2411 ac_tool_warned=yes ;;
   2412 esac
   2413     STRIP=$ac_ct_STRIP
   2414   fi
   2415 else
   2416   STRIP="$ac_cv_prog_STRIP"
   2417 fi
   2418 
   2419 fi
   2420 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2421 
   2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2423 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2424 if test -z "$MKDIR_P"; then
   2425   if ${ac_cv_path_mkdir+:} false; then :
   2426   $as_echo_n "(cached) " >&6
   2427 else
   2428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2429 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2430 do
   2431   IFS=$as_save_IFS
   2432   test -z "$as_dir" && as_dir=.
   2433     for ac_prog in mkdir gmkdir; do
   2434 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2435 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2436 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2437 	     'mkdir (GNU coreutils) '* | \
   2438 	     'mkdir (coreutils) '* | \
   2439 	     'mkdir (fileutils) '4.1*)
   2440 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2441 	       break 3;;
   2442 	   esac
   2443 	 done
   2444        done
   2445   done
   2446 IFS=$as_save_IFS
   2447 
   2448 fi
   2449 
   2450   test -d ./--version && rmdir ./--version
   2451   if test "${ac_cv_path_mkdir+set}" = set; then
   2452     MKDIR_P="$ac_cv_path_mkdir -p"
   2453   else
   2454     # As a last resort, use the slow shell script.  Don't cache a
   2455     # value for MKDIR_P within a source directory, because that will
   2456     # break other packages using the cache if that directory is
   2457     # removed, or if the value is a relative name.
   2458     MKDIR_P="$ac_install_sh -d"
   2459   fi
   2460 fi
   2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2462 $as_echo "$MKDIR_P" >&6; }
   2463 
   2464 for ac_prog in gawk mawk nawk awk
   2465 do
   2466   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2467 set dummy $ac_prog; ac_word=$2
   2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2469 $as_echo_n "checking for $ac_word... " >&6; }
   2470 if ${ac_cv_prog_AWK+:} false; then :
   2471   $as_echo_n "(cached) " >&6
   2472 else
   2473   if test -n "$AWK"; then
   2474   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2475 else
   2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2477 for as_dir in $PATH
   2478 do
   2479   IFS=$as_save_IFS
   2480   test -z "$as_dir" && as_dir=.
   2481     for ac_exec_ext in '' $ac_executable_extensions; do
   2482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2483     ac_cv_prog_AWK="$ac_prog"
   2484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2485     break 2
   2486   fi
   2487 done
   2488   done
   2489 IFS=$as_save_IFS
   2490 
   2491 fi
   2492 fi
   2493 AWK=$ac_cv_prog_AWK
   2494 if test -n "$AWK"; then
   2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2496 $as_echo "$AWK" >&6; }
   2497 else
   2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2499 $as_echo "no" >&6; }
   2500 fi
   2501 
   2502 
   2503   test -n "$AWK" && break
   2504 done
   2505 
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2507 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2508 set x ${MAKE-make}
   2509 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2510 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2511   $as_echo_n "(cached) " >&6
   2512 else
   2513   cat >conftest.make <<\_ACEOF
   2514 SHELL = /bin/sh
   2515 all:
   2516 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2517 _ACEOF
   2518 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2520   *@@@%%%=?*=@@@%%%*)
   2521     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2522   *)
   2523     eval ac_cv_prog_make_${ac_make}_set=no;;
   2524 esac
   2525 rm -f conftest.make
   2526 fi
   2527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2529 $as_echo "yes" >&6; }
   2530   SET_MAKE=
   2531 else
   2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2533 $as_echo "no" >&6; }
   2534   SET_MAKE="MAKE=${MAKE-make}"
   2535 fi
   2536 
   2537 rm -rf .tst 2>/dev/null
   2538 mkdir .tst 2>/dev/null
   2539 if test -d .tst; then
   2540   am__leading_dot=.
   2541 else
   2542   am__leading_dot=_
   2543 fi
   2544 rmdir .tst 2>/dev/null
   2545 
   2546 # Check whether --enable-silent-rules was given.
   2547 if test "${enable_silent_rules+set}" = set; then :
   2548   enableval=$enable_silent_rules;
   2549 fi
   2550 
   2551 case $enable_silent_rules in # (((
   2552   yes) AM_DEFAULT_VERBOSITY=0;;
   2553    no) AM_DEFAULT_VERBOSITY=1;;
   2554     *) AM_DEFAULT_VERBOSITY=1;;
   2555 esac
   2556 am_make=${MAKE-make}
   2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2558 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2559 if ${am_cv_make_support_nested_variables+:} false; then :
   2560   $as_echo_n "(cached) " >&6
   2561 else
   2562   if $as_echo 'TRUE=$(BAR$(V))
   2563 BAR0=false
   2564 BAR1=true
   2565 V=1
   2566 am__doit:
   2567 	@$(TRUE)
   2568 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2569   am_cv_make_support_nested_variables=yes
   2570 else
   2571   am_cv_make_support_nested_variables=no
   2572 fi
   2573 fi
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2575 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2576 if test $am_cv_make_support_nested_variables = yes; then
   2577     AM_V='$(V)'
   2578   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2579 else
   2580   AM_V=$AM_DEFAULT_VERBOSITY
   2581   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2582 fi
   2583 AM_BACKSLASH='\'
   2584 
   2585 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2586   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2587   # is not polluted with repeated "-I."
   2588   am__isrc=' -I$(srcdir)'
   2589   # test to see if srcdir already configured
   2590   if test -f $srcdir/config.status; then
   2591     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2592   fi
   2593 fi
   2594 
   2595 # test whether we have cygpath
   2596 if test -z "$CYGPATH_W"; then
   2597   if (cygpath --version) >/dev/null 2>/dev/null; then
   2598     CYGPATH_W='cygpath -w'
   2599   else
   2600     CYGPATH_W=echo
   2601   fi
   2602 fi
   2603 
   2604 
   2605 # Define the identity of the package.
   2606  PACKAGE='xorg-cf-files'
   2607  VERSION='1.0.6'
   2608 
   2609 
   2610 cat >>confdefs.h <<_ACEOF
   2611 #define PACKAGE "$PACKAGE"
   2612 _ACEOF
   2613 
   2614 
   2615 cat >>confdefs.h <<_ACEOF
   2616 #define VERSION "$VERSION"
   2617 _ACEOF
   2618 
   2619 # Some tools Automake needs.
   2620 
   2621 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2622 
   2623 
   2624 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2625 
   2626 
   2627 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2628 
   2629 
   2630 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2631 
   2632 
   2633 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2634 
   2635 # For better backward compatibility.  To be removed once Automake 1.9.x
   2636 # dies out for good.  For more background, see:
   2637 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2638 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2639 mkdir_p='$(MKDIR_P)'
   2640 
   2641 # We need awk for the "check" target (and possibly the TAP driver).  The
   2642 # system "awk" is bad on some platforms.
   2643 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2644 # in the wild :-(  We should find a proper way to deprecate it ...
   2645 AMTAR='$${TAR-tar}'
   2646 
   2647 
   2648 # We'll loop over all known methods to create a tar archive until one works.
   2649 _am_tools='gnutar  pax cpio none'
   2650 
   2651 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 # POSIX will say in a future version that running "rm -f" with no argument
   2659 # is OK; and we want to be able to make that assumption in our Makefile
   2660 # recipes.  So use an aggressive probe to check that the usage we want is
   2661 # actually supported "in the wild" to an acceptable degree.
   2662 # See automake bug#10828.
   2663 # To make any issue more visible, cause the running configure to be aborted
   2664 # by default if the 'rm' program in use doesn't match our expectations; the
   2665 # user can still override this though.
   2666 if rm -f && rm -fr && rm -rf; then : OK; else
   2667   cat >&2 <<'END'
   2668 Oops!
   2669 
   2670 Your 'rm' program seems unable to run without file operands specified
   2671 on the command line, even when the '-f' option is present.  This is contrary
   2672 to the behaviour of most rm programs out there, and not conforming with
   2673 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2674 
   2675 Please tell bug-automake@gnu.org about your system, including the value
   2676 of your $PATH and any error possibly output before this message.  This
   2677 can help us improve future automake versions.
   2678 
   2679 END
   2680   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2681     echo 'Configuration will proceed anyway, since you have set the' >&2
   2682     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2683     echo >&2
   2684   else
   2685     cat >&2 <<'END'
   2686 Aborting the configuration process, to ensure you take notice of the issue.
   2687 
   2688 You can download and install GNU coreutils to get an 'rm' implementation
   2689 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2690 
   2691 If you want to complete the configuration process using your problematic
   2692 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2693 to "yes", and re-run configure.
   2694 
   2695 END
   2696     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2697   fi
   2698 fi
   2699 
   2700 
   2701 # Require xorg-macros 1.4 or later: XORG_DEFAULT_OPTIONS, XORG_INSTALL
   2702 
   2703 
   2704 
   2705 
   2706 
   2707 
   2708 
   2709 
   2710 
   2711 
   2712 
   2713 DEPDIR="${am__leading_dot}deps"
   2714 
   2715 ac_config_commands="$ac_config_commands depfiles"
   2716 
   2717 
   2718 am_make=${MAKE-make}
   2719 cat > confinc << 'END'
   2720 am__doit:
   2721 	@echo this is the am__doit target
   2722 .PHONY: am__doit
   2723 END
   2724 # If we don't find an include directive, just comment out the code.
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2726 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2727 am__include="#"
   2728 am__quote=
   2729 _am_result=none
   2730 # First try GNU make style include.
   2731 echo "include confinc" > confmf
   2732 # Ignore all kinds of additional output from 'make'.
   2733 case `$am_make -s -f confmf 2> /dev/null` in #(
   2734 *the\ am__doit\ target*)
   2735   am__include=include
   2736   am__quote=
   2737   _am_result=GNU
   2738   ;;
   2739 esac
   2740 # Now try BSD make style include.
   2741 if test "$am__include" = "#"; then
   2742    echo '.include "confinc"' > confmf
   2743    case `$am_make -s -f confmf 2> /dev/null` in #(
   2744    *the\ am__doit\ target*)
   2745      am__include=.include
   2746      am__quote="\""
   2747      _am_result=BSD
   2748      ;;
   2749    esac
   2750 fi
   2751 
   2752 
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2754 $as_echo "$_am_result" >&6; }
   2755 rm -f confinc confmf
   2756 
   2757 # Check whether --enable-dependency-tracking was given.
   2758 if test "${enable_dependency_tracking+set}" = set; then :
   2759   enableval=$enable_dependency_tracking;
   2760 fi
   2761 
   2762 if test "x$enable_dependency_tracking" != xno; then
   2763   am_depcomp="$ac_aux_dir/depcomp"
   2764   AMDEPBACKSLASH='\'
   2765   am__nodep='_no'
   2766 fi
   2767  if test "x$enable_dependency_tracking" != xno; then
   2768   AMDEP_TRUE=
   2769   AMDEP_FALSE='#'
   2770 else
   2771   AMDEP_TRUE='#'
   2772   AMDEP_FALSE=
   2773 fi
   2774 
   2775 
   2776 ac_ext=c
   2777 ac_cpp='$CPP $CPPFLAGS'
   2778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2781 if test -n "$ac_tool_prefix"; then
   2782   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2783 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2785 $as_echo_n "checking for $ac_word... " >&6; }
   2786 if ${ac_cv_prog_CC+:} false; then :
   2787   $as_echo_n "(cached) " >&6
   2788 else
   2789   if test -n "$CC"; then
   2790   ac_cv_prog_CC="$CC" # Let the user override the test.
   2791 else
   2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2793 for as_dir in $PATH
   2794 do
   2795   IFS=$as_save_IFS
   2796   test -z "$as_dir" && as_dir=.
   2797     for ac_exec_ext in '' $ac_executable_extensions; do
   2798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2799     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804   done
   2805 IFS=$as_save_IFS
   2806 
   2807 fi
   2808 fi
   2809 CC=$ac_cv_prog_CC
   2810 if test -n "$CC"; then
   2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2812 $as_echo "$CC" >&6; }
   2813 else
   2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2815 $as_echo "no" >&6; }
   2816 fi
   2817 
   2818 
   2819 fi
   2820 if test -z "$ac_cv_prog_CC"; then
   2821   ac_ct_CC=$CC
   2822   # Extract the first word of "gcc", so it can be a program name with args.
   2823 set dummy gcc; ac_word=$2
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2825 $as_echo_n "checking for $ac_word... " >&6; }
   2826 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2827   $as_echo_n "(cached) " >&6
   2828 else
   2829   if test -n "$ac_ct_CC"; then
   2830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2831 else
   2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2833 for as_dir in $PATH
   2834 do
   2835   IFS=$as_save_IFS
   2836   test -z "$as_dir" && as_dir=.
   2837     for ac_exec_ext in '' $ac_executable_extensions; do
   2838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2839     ac_cv_prog_ac_ct_CC="gcc"
   2840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2841     break 2
   2842   fi
   2843 done
   2844   done
   2845 IFS=$as_save_IFS
   2846 
   2847 fi
   2848 fi
   2849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2850 if test -n "$ac_ct_CC"; then
   2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2852 $as_echo "$ac_ct_CC" >&6; }
   2853 else
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2855 $as_echo "no" >&6; }
   2856 fi
   2857 
   2858   if test "x$ac_ct_CC" = x; then
   2859     CC=""
   2860   else
   2861     case $cross_compiling:$ac_tool_warned in
   2862 yes:)
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2865 ac_tool_warned=yes ;;
   2866 esac
   2867     CC=$ac_ct_CC
   2868   fi
   2869 else
   2870   CC="$ac_cv_prog_CC"
   2871 fi
   2872 
   2873 if test -z "$CC"; then
   2874           if test -n "$ac_tool_prefix"; then
   2875     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2876 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2878 $as_echo_n "checking for $ac_word... " >&6; }
   2879 if ${ac_cv_prog_CC+:} false; then :
   2880   $as_echo_n "(cached) " >&6
   2881 else
   2882   if test -n "$CC"; then
   2883   ac_cv_prog_CC="$CC" # Let the user override the test.
   2884 else
   2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH
   2887 do
   2888   IFS=$as_save_IFS
   2889   test -z "$as_dir" && as_dir=.
   2890     for ac_exec_ext in '' $ac_executable_extensions; do
   2891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2892     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897   done
   2898 IFS=$as_save_IFS
   2899 
   2900 fi
   2901 fi
   2902 CC=$ac_cv_prog_CC
   2903 if test -n "$CC"; then
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2905 $as_echo "$CC" >&6; }
   2906 else
   2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2908 $as_echo "no" >&6; }
   2909 fi
   2910 
   2911 
   2912   fi
   2913 fi
   2914 if test -z "$CC"; then
   2915   # Extract the first word of "cc", so it can be a program name with args.
   2916 set dummy cc; ac_word=$2
   2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2918 $as_echo_n "checking for $ac_word... " >&6; }
   2919 if ${ac_cv_prog_CC+:} false; then :
   2920   $as_echo_n "(cached) " >&6
   2921 else
   2922   if test -n "$CC"; then
   2923   ac_cv_prog_CC="$CC" # Let the user override the test.
   2924 else
   2925   ac_prog_rejected=no
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2933     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2934        ac_prog_rejected=yes
   2935        continue
   2936      fi
   2937     ac_cv_prog_CC="cc"
   2938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942   done
   2943 IFS=$as_save_IFS
   2944 
   2945 if test $ac_prog_rejected = yes; then
   2946   # We found a bogon in the path, so make sure we never use it.
   2947   set dummy $ac_cv_prog_CC
   2948   shift
   2949   if test $# != 0; then
   2950     # We chose a different compiler from the bogus one.
   2951     # However, it has the same basename, so the bogon will be chosen
   2952     # first if we set CC to just the basename; use the full file name.
   2953     shift
   2954     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2955   fi
   2956 fi
   2957 fi
   2958 fi
   2959 CC=$ac_cv_prog_CC
   2960 if test -n "$CC"; then
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2962 $as_echo "$CC" >&6; }
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966 fi
   2967 
   2968 
   2969 fi
   2970 if test -z "$CC"; then
   2971   if test -n "$ac_tool_prefix"; then
   2972   for ac_prog in cl.exe
   2973   do
   2974     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2977 $as_echo_n "checking for $ac_word... " >&6; }
   2978 if ${ac_cv_prog_CC+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   if test -n "$CC"; then
   2982   ac_cv_prog_CC="$CC" # Let the user override the test.
   2983 else
   2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH
   2986 do
   2987   IFS=$as_save_IFS
   2988   test -z "$as_dir" && as_dir=.
   2989     for ac_exec_ext in '' $ac_executable_extensions; do
   2990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2991     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2993     break 2
   2994   fi
   2995 done
   2996   done
   2997 IFS=$as_save_IFS
   2998 
   2999 fi
   3000 fi
   3001 CC=$ac_cv_prog_CC
   3002 if test -n "$CC"; then
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3004 $as_echo "$CC" >&6; }
   3005 else
   3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3007 $as_echo "no" >&6; }
   3008 fi
   3009 
   3010 
   3011     test -n "$CC" && break
   3012   done
   3013 fi
   3014 if test -z "$CC"; then
   3015   ac_ct_CC=$CC
   3016   for ac_prog in cl.exe
   3017 do
   3018   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3019 set dummy $ac_prog; ac_word=$2
   3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3021 $as_echo_n "checking for $ac_word... " >&6; }
   3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3023   $as_echo_n "(cached) " >&6
   3024 else
   3025   if test -n "$ac_ct_CC"; then
   3026   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3027 else
   3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3029 for as_dir in $PATH
   3030 do
   3031   IFS=$as_save_IFS
   3032   test -z "$as_dir" && as_dir=.
   3033     for ac_exec_ext in '' $ac_executable_extensions; do
   3034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3035     ac_cv_prog_ac_ct_CC="$ac_prog"
   3036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3037     break 2
   3038   fi
   3039 done
   3040   done
   3041 IFS=$as_save_IFS
   3042 
   3043 fi
   3044 fi
   3045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3046 if test -n "$ac_ct_CC"; then
   3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3048 $as_echo "$ac_ct_CC" >&6; }
   3049 else
   3050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3051 $as_echo "no" >&6; }
   3052 fi
   3053 
   3054 
   3055   test -n "$ac_ct_CC" && break
   3056 done
   3057 
   3058   if test "x$ac_ct_CC" = x; then
   3059     CC=""
   3060   else
   3061     case $cross_compiling:$ac_tool_warned in
   3062 yes:)
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3065 ac_tool_warned=yes ;;
   3066 esac
   3067     CC=$ac_ct_CC
   3068   fi
   3069 fi
   3070 
   3071 fi
   3072 
   3073 
   3074 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3076 as_fn_error $? "no acceptable C compiler found in \$PATH
   3077 See \`config.log' for more details" "$LINENO" 5; }
   3078 
   3079 # Provide some information about the compiler.
   3080 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3081 set X $ac_compile
   3082 ac_compiler=$2
   3083 for ac_option in --version -v -V -qversion; do
   3084   { { ac_try="$ac_compiler $ac_option >&5"
   3085 case "(($ac_try" in
   3086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3087   *) ac_try_echo=$ac_try;;
   3088 esac
   3089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3090 $as_echo "$ac_try_echo"; } >&5
   3091   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3092   ac_status=$?
   3093   if test -s conftest.err; then
   3094     sed '10a\
   3095 ... rest of stderr output deleted ...
   3096          10q' conftest.err >conftest.er1
   3097     cat conftest.er1 >&5
   3098   fi
   3099   rm -f conftest.er1 conftest.err
   3100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3101   test $ac_status = 0; }
   3102 done
   3103 
   3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3105 /* end confdefs.h.  */
   3106 
   3107 int
   3108 main ()
   3109 {
   3110 
   3111   ;
   3112   return 0;
   3113 }
   3114 _ACEOF
   3115 ac_clean_files_save=$ac_clean_files
   3116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3117 # Try to create an executable without -o first, disregard a.out.
   3118 # It will help us diagnose broken compilers, and finding out an intuition
   3119 # of exeext.
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3121 $as_echo_n "checking whether the C compiler works... " >&6; }
   3122 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3123 
   3124 # The possible output files:
   3125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3126 
   3127 ac_rmfiles=
   3128 for ac_file in $ac_files
   3129 do
   3130   case $ac_file in
   3131     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3132     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3133   esac
   3134 done
   3135 rm -f $ac_rmfiles
   3136 
   3137 if { { ac_try="$ac_link_default"
   3138 case "(($ac_try" in
   3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3140   *) ac_try_echo=$ac_try;;
   3141 esac
   3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3143 $as_echo "$ac_try_echo"; } >&5
   3144   (eval "$ac_link_default") 2>&5
   3145   ac_status=$?
   3146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3147   test $ac_status = 0; }; then :
   3148   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3150 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3151 # so that the user can short-circuit this test for compilers unknown to
   3152 # Autoconf.
   3153 for ac_file in $ac_files ''
   3154 do
   3155   test -f "$ac_file" || continue
   3156   case $ac_file in
   3157     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3158 	;;
   3159     [ab].out )
   3160 	# We found the default executable, but exeext='' is most
   3161 	# certainly right.
   3162 	break;;
   3163     *.* )
   3164 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3165 	then :; else
   3166 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3167 	fi
   3168 	# We set ac_cv_exeext here because the later test for it is not
   3169 	# safe: cross compilers may not add the suffix if given an `-o'
   3170 	# argument, so we may need to know it at that point already.
   3171 	# Even if this section looks crufty: it has the advantage of
   3172 	# actually working.
   3173 	break;;
   3174     * )
   3175 	break;;
   3176   esac
   3177 done
   3178 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3179 
   3180 else
   3181   ac_file=''
   3182 fi
   3183 if test -z "$ac_file"; then :
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3185 $as_echo "no" >&6; }
   3186 $as_echo "$as_me: failed program was:" >&5
   3187 sed 's/^/| /' conftest.$ac_ext >&5
   3188 
   3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3191 as_fn_error 77 "C compiler cannot create executables
   3192 See \`config.log' for more details" "$LINENO" 5; }
   3193 else
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3195 $as_echo "yes" >&6; }
   3196 fi
   3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3198 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3200 $as_echo "$ac_file" >&6; }
   3201 ac_exeext=$ac_cv_exeext
   3202 
   3203 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3204 ac_clean_files=$ac_clean_files_save
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3206 $as_echo_n "checking for suffix of executables... " >&6; }
   3207 if { { ac_try="$ac_link"
   3208 case "(($ac_try" in
   3209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3210   *) ac_try_echo=$ac_try;;
   3211 esac
   3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3213 $as_echo "$ac_try_echo"; } >&5
   3214   (eval "$ac_link") 2>&5
   3215   ac_status=$?
   3216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3217   test $ac_status = 0; }; then :
   3218   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3219 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3220 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3221 # `rm'.
   3222 for ac_file in conftest.exe conftest conftest.*; do
   3223   test -f "$ac_file" || continue
   3224   case $ac_file in
   3225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3226     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3227 	  break;;
   3228     * ) break;;
   3229   esac
   3230 done
   3231 else
   3232   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3234 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3235 See \`config.log' for more details" "$LINENO" 5; }
   3236 fi
   3237 rm -f conftest conftest$ac_cv_exeext
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3239 $as_echo "$ac_cv_exeext" >&6; }
   3240 
   3241 rm -f conftest.$ac_ext
   3242 EXEEXT=$ac_cv_exeext
   3243 ac_exeext=$EXEEXT
   3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3245 /* end confdefs.h.  */
   3246 #include <stdio.h>
   3247 int
   3248 main ()
   3249 {
   3250 FILE *f = fopen ("conftest.out", "w");
   3251  return ferror (f) || fclose (f) != 0;
   3252 
   3253   ;
   3254   return 0;
   3255 }
   3256 _ACEOF
   3257 ac_clean_files="$ac_clean_files conftest.out"
   3258 # Check that the compiler produces executables we can run.  If not, either
   3259 # the compiler is broken, or we cross compile.
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3261 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3262 if test "$cross_compiling" != yes; then
   3263   { { ac_try="$ac_link"
   3264 case "(($ac_try" in
   3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3266   *) ac_try_echo=$ac_try;;
   3267 esac
   3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3269 $as_echo "$ac_try_echo"; } >&5
   3270   (eval "$ac_link") 2>&5
   3271   ac_status=$?
   3272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3273   test $ac_status = 0; }
   3274   if { ac_try='./conftest$ac_cv_exeext'
   3275   { { case "(($ac_try" in
   3276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3277   *) ac_try_echo=$ac_try;;
   3278 esac
   3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3280 $as_echo "$ac_try_echo"; } >&5
   3281   (eval "$ac_try") 2>&5
   3282   ac_status=$?
   3283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3284   test $ac_status = 0; }; }; then
   3285     cross_compiling=no
   3286   else
   3287     if test "$cross_compiling" = maybe; then
   3288 	cross_compiling=yes
   3289     else
   3290 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3292 as_fn_error $? "cannot run C compiled programs.
   3293 If you meant to cross compile, use \`--host'.
   3294 See \`config.log' for more details" "$LINENO" 5; }
   3295     fi
   3296   fi
   3297 fi
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3299 $as_echo "$cross_compiling" >&6; }
   3300 
   3301 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3302 ac_clean_files=$ac_clean_files_save
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3304 $as_echo_n "checking for suffix of object files... " >&6; }
   3305 if ${ac_cv_objext+:} false; then :
   3306   $as_echo_n "(cached) " >&6
   3307 else
   3308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3309 /* end confdefs.h.  */
   3310 
   3311 int
   3312 main ()
   3313 {
   3314 
   3315   ;
   3316   return 0;
   3317 }
   3318 _ACEOF
   3319 rm -f conftest.o conftest.obj
   3320 if { { ac_try="$ac_compile"
   3321 case "(($ac_try" in
   3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3323   *) ac_try_echo=$ac_try;;
   3324 esac
   3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3326 $as_echo "$ac_try_echo"; } >&5
   3327   (eval "$ac_compile") 2>&5
   3328   ac_status=$?
   3329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3330   test $ac_status = 0; }; then :
   3331   for ac_file in conftest.o conftest.obj conftest.*; do
   3332   test -f "$ac_file" || continue;
   3333   case $ac_file in
   3334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3335     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3336        break;;
   3337   esac
   3338 done
   3339 else
   3340   $as_echo "$as_me: failed program was:" >&5
   3341 sed 's/^/| /' conftest.$ac_ext >&5
   3342 
   3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3345 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3346 See \`config.log' for more details" "$LINENO" 5; }
   3347 fi
   3348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3349 fi
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3351 $as_echo "$ac_cv_objext" >&6; }
   3352 OBJEXT=$ac_cv_objext
   3353 ac_objext=$OBJEXT
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3355 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3356 if ${ac_cv_c_compiler_gnu+:} false; then :
   3357   $as_echo_n "(cached) " >&6
   3358 else
   3359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3360 /* end confdefs.h.  */
   3361 
   3362 int
   3363 main ()
   3364 {
   3365 #ifndef __GNUC__
   3366        choke me
   3367 #endif
   3368 
   3369   ;
   3370   return 0;
   3371 }
   3372 _ACEOF
   3373 if ac_fn_c_try_compile "$LINENO"; then :
   3374   ac_compiler_gnu=yes
   3375 else
   3376   ac_compiler_gnu=no
   3377 fi
   3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3379 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3380 
   3381 fi
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3383 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3384 if test $ac_compiler_gnu = yes; then
   3385   GCC=yes
   3386 else
   3387   GCC=
   3388 fi
   3389 ac_test_CFLAGS=${CFLAGS+set}
   3390 ac_save_CFLAGS=$CFLAGS
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3392 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3393 if ${ac_cv_prog_cc_g+:} false; then :
   3394   $as_echo_n "(cached) " >&6
   3395 else
   3396   ac_save_c_werror_flag=$ac_c_werror_flag
   3397    ac_c_werror_flag=yes
   3398    ac_cv_prog_cc_g=no
   3399    CFLAGS="-g"
   3400    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main ()
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 if ac_fn_c_try_compile "$LINENO"; then :
   3412   ac_cv_prog_cc_g=yes
   3413 else
   3414   CFLAGS=""
   3415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 if ac_fn_c_try_compile "$LINENO"; then :
   3427 
   3428 else
   3429   ac_c_werror_flag=$ac_save_c_werror_flag
   3430 	 CFLAGS="-g"
   3431 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3432 /* end confdefs.h.  */
   3433 
   3434 int
   3435 main ()
   3436 {
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 if ac_fn_c_try_compile "$LINENO"; then :
   3443   ac_cv_prog_cc_g=yes
   3444 fi
   3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3446 fi
   3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3448 fi
   3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3450    ac_c_werror_flag=$ac_save_c_werror_flag
   3451 fi
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3453 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3454 if test "$ac_test_CFLAGS" = set; then
   3455   CFLAGS=$ac_save_CFLAGS
   3456 elif test $ac_cv_prog_cc_g = yes; then
   3457   if test "$GCC" = yes; then
   3458     CFLAGS="-g -O2"
   3459   else
   3460     CFLAGS="-g"
   3461   fi
   3462 else
   3463   if test "$GCC" = yes; then
   3464     CFLAGS="-O2"
   3465   else
   3466     CFLAGS=
   3467   fi
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3470 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3471 if ${ac_cv_prog_cc_c89+:} false; then :
   3472   $as_echo_n "(cached) " >&6
   3473 else
   3474   ac_cv_prog_cc_c89=no
   3475 ac_save_CC=$CC
   3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3477 /* end confdefs.h.  */
   3478 #include <stdarg.h>
   3479 #include <stdio.h>
   3480 struct stat;
   3481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3482 struct buf { int x; };
   3483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3484 static char *e (p, i)
   3485      char **p;
   3486      int i;
   3487 {
   3488   return p[i];
   3489 }
   3490 static char *f (char * (*g) (char **, int), char **p, ...)
   3491 {
   3492   char *s;
   3493   va_list v;
   3494   va_start (v,p);
   3495   s = g (p, va_arg (v,int));
   3496   va_end (v);
   3497   return s;
   3498 }
   3499 
   3500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3501    function prototypes and stuff, but not '\xHH' hex character constants.
   3502    These don't provoke an error unfortunately, instead are silently treated
   3503    as 'x'.  The following induces an error, until -std is added to get
   3504    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3505    array size at least.  It's necessary to write '\x00'==0 to get something
   3506    that's true only with -std.  */
   3507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3508 
   3509 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3510    inside strings and character constants.  */
   3511 #define FOO(x) 'x'
   3512 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3513 
   3514 int test (int i, double x);
   3515 struct s1 {int (*f) (int a);};
   3516 struct s2 {int (*f) (double a);};
   3517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3518 int argc;
   3519 char **argv;
   3520 int
   3521 main ()
   3522 {
   3523 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3524   ;
   3525   return 0;
   3526 }
   3527 _ACEOF
   3528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3529 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3530 do
   3531   CC="$ac_save_CC $ac_arg"
   3532   if ac_fn_c_try_compile "$LINENO"; then :
   3533   ac_cv_prog_cc_c89=$ac_arg
   3534 fi
   3535 rm -f core conftest.err conftest.$ac_objext
   3536   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3537 done
   3538 rm -f conftest.$ac_ext
   3539 CC=$ac_save_CC
   3540 
   3541 fi
   3542 # AC_CACHE_VAL
   3543 case "x$ac_cv_prog_cc_c89" in
   3544   x)
   3545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3546 $as_echo "none needed" >&6; } ;;
   3547   xno)
   3548     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3549 $as_echo "unsupported" >&6; } ;;
   3550   *)
   3551     CC="$CC $ac_cv_prog_cc_c89"
   3552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3554 esac
   3555 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3556 
   3557 fi
   3558 
   3559 ac_ext=c
   3560 ac_cpp='$CPP $CPPFLAGS'
   3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3564 
   3565 ac_ext=c
   3566 ac_cpp='$CPP $CPPFLAGS'
   3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3571 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3572 if ${am_cv_prog_cc_c_o+:} false; then :
   3573   $as_echo_n "(cached) " >&6
   3574 else
   3575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586   # Make sure it works both with $CC and with simple cc.
   3587   # Following AC_PROG_CC_C_O, we do the test twice because some
   3588   # compilers refuse to overwrite an existing .o file with -o,
   3589   # though they will create one.
   3590   am_cv_prog_cc_c_o=yes
   3591   for am_i in 1 2; do
   3592     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3593    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3594    ac_status=$?
   3595    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3596    (exit $ac_status); } \
   3597          && test -f conftest2.$ac_objext; then
   3598       : OK
   3599     else
   3600       am_cv_prog_cc_c_o=no
   3601       break
   3602     fi
   3603   done
   3604   rm -f core conftest*
   3605   unset am_i
   3606 fi
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3608 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3609 if test "$am_cv_prog_cc_c_o" != yes; then
   3610    # Losing compiler, so override with the script.
   3611    # FIXME: It is wrong to rewrite CC.
   3612    # But if we don't then we get into trouble of one sort or another.
   3613    # A longer-term fix would be to have automake use am__CC in this case,
   3614    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3615    CC="$am_aux_dir/compile $CC"
   3616 fi
   3617 ac_ext=c
   3618 ac_cpp='$CPP $CPPFLAGS'
   3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3622 
   3623 
   3624 depcc="$CC"   am_compiler_list=
   3625 
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3627 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3628 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3632   # We make a subdir and do the tests there.  Otherwise we can end up
   3633   # making bogus files that we don't know about and never remove.  For
   3634   # instance it was reported that on HP-UX the gcc test will end up
   3635   # making a dummy file named 'D' -- because '-MD' means "put the output
   3636   # in D".
   3637   rm -rf conftest.dir
   3638   mkdir conftest.dir
   3639   # Copy depcomp to subdir because otherwise we won't find it if we're
   3640   # using a relative directory.
   3641   cp "$am_depcomp" conftest.dir
   3642   cd conftest.dir
   3643   # We will build objects and dependencies in a subdirectory because
   3644   # it helps to detect inapplicable dependency modes.  For instance
   3645   # both Tru64's cc and ICC support -MD to output dependencies as a
   3646   # side effect of compilation, but ICC will put the dependencies in
   3647   # the current directory while Tru64 will put them in the object
   3648   # directory.
   3649   mkdir sub
   3650 
   3651   am_cv_CC_dependencies_compiler_type=none
   3652   if test "$am_compiler_list" = ""; then
   3653      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3654   fi
   3655   am__universal=false
   3656   case " $depcc " in #(
   3657      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3658      esac
   3659 
   3660   for depmode in $am_compiler_list; do
   3661     # Setup a source with many dependencies, because some compilers
   3662     # like to wrap large dependency lists on column 80 (with \), and
   3663     # we should not choose a depcomp mode which is confused by this.
   3664     #
   3665     # We need to recreate these files for each test, as the compiler may
   3666     # overwrite some of them when testing with obscure command lines.
   3667     # This happens at least with the AIX C compiler.
   3668     : > sub/conftest.c
   3669     for i in 1 2 3 4 5 6; do
   3670       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3671       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3672       # Solaris 10 /bin/sh.
   3673       echo '/* dummy */' > sub/conftst$i.h
   3674     done
   3675     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3676 
   3677     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3678     # mode.  It turns out that the SunPro C++ compiler does not properly
   3679     # handle '-M -o', and we need to detect this.  Also, some Intel
   3680     # versions had trouble with output in subdirs.
   3681     am__obj=sub/conftest.${OBJEXT-o}
   3682     am__minus_obj="-o $am__obj"
   3683     case $depmode in
   3684     gcc)
   3685       # This depmode causes a compiler race in universal mode.
   3686       test "$am__universal" = false || continue
   3687       ;;
   3688     nosideeffect)
   3689       # After this tag, mechanisms are not by side-effect, so they'll
   3690       # only be used when explicitly requested.
   3691       if test "x$enable_dependency_tracking" = xyes; then
   3692 	continue
   3693       else
   3694 	break
   3695       fi
   3696       ;;
   3697     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3698       # This compiler won't grok '-c -o', but also, the minuso test has
   3699       # not run yet.  These depmodes are late enough in the game, and
   3700       # so weak that their functioning should not be impacted.
   3701       am__obj=conftest.${OBJEXT-o}
   3702       am__minus_obj=
   3703       ;;
   3704     none) break ;;
   3705     esac
   3706     if depmode=$depmode \
   3707        source=sub/conftest.c object=$am__obj \
   3708        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3709        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3710          >/dev/null 2>conftest.err &&
   3711        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3712        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3713        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3714        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3715       # icc doesn't choke on unknown options, it will just issue warnings
   3716       # or remarks (even with -Werror).  So we grep stderr for any message
   3717       # that says an option was ignored or not supported.
   3718       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3719       #   icc: Command line warning: ignoring option '-M'; no argument required
   3720       # The diagnosis changed in icc 8.0:
   3721       #   icc: Command line remark: option '-MP' not supported
   3722       if (grep 'ignoring option' conftest.err ||
   3723           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3724         am_cv_CC_dependencies_compiler_type=$depmode
   3725         break
   3726       fi
   3727     fi
   3728   done
   3729 
   3730   cd ..
   3731   rm -rf conftest.dir
   3732 else
   3733   am_cv_CC_dependencies_compiler_type=none
   3734 fi
   3735 
   3736 fi
   3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3738 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3739 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3740 
   3741  if
   3742   test "x$enable_dependency_tracking" != xno \
   3743   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3744   am__fastdepCC_TRUE=
   3745   am__fastdepCC_FALSE='#'
   3746 else
   3747   am__fastdepCC_TRUE='#'
   3748   am__fastdepCC_FALSE=
   3749 fi
   3750 
   3751 
   3752    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3753 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3754 if ${ac_cv_prog_cc_c99+:} false; then :
   3755   $as_echo_n "(cached) " >&6
   3756 else
   3757   ac_cv_prog_cc_c99=no
   3758 ac_save_CC=$CC
   3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3760 /* end confdefs.h.  */
   3761 #include <stdarg.h>
   3762 #include <stdbool.h>
   3763 #include <stdlib.h>
   3764 #include <wchar.h>
   3765 #include <stdio.h>
   3766 
   3767 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3768 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3769 #define showlist(...) puts (#__VA_ARGS__)
   3770 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3771 static void
   3772 test_varargs_macros (void)
   3773 {
   3774   int x = 1234;
   3775   int y = 5678;
   3776   debug ("Flag");
   3777   debug ("X = %d\n", x);
   3778   showlist (The first, second, and third items.);
   3779   report (x>y, "x is %d but y is %d", x, y);
   3780 }
   3781 
   3782 // Check long long types.
   3783 #define BIG64 18446744073709551615ull
   3784 #define BIG32 4294967295ul
   3785 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3786 #if !BIG_OK
   3787   your preprocessor is broken;
   3788 #endif
   3789 #if BIG_OK
   3790 #else
   3791   your preprocessor is broken;
   3792 #endif
   3793 static long long int bignum = -9223372036854775807LL;
   3794 static unsigned long long int ubignum = BIG64;
   3795 
   3796 struct incomplete_array
   3797 {
   3798   int datasize;
   3799   double data[];
   3800 };
   3801 
   3802 struct named_init {
   3803   int number;
   3804   const wchar_t *name;
   3805   double average;
   3806 };
   3807 
   3808 typedef const char *ccp;
   3809 
   3810 static inline int
   3811 test_restrict (ccp restrict text)
   3812 {
   3813   // See if C++-style comments work.
   3814   // Iterate through items via the restricted pointer.
   3815   // Also check for declarations in for loops.
   3816   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3817     continue;
   3818   return 0;
   3819 }
   3820 
   3821 // Check varargs and va_copy.
   3822 static void
   3823 test_varargs (const char *format, ...)
   3824 {
   3825   va_list args;
   3826   va_start (args, format);
   3827   va_list args_copy;
   3828   va_copy (args_copy, args);
   3829 
   3830   const char *str;
   3831   int number;
   3832   float fnumber;
   3833 
   3834   while (*format)
   3835     {
   3836       switch (*format++)
   3837 	{
   3838 	case 's': // string
   3839 	  str = va_arg (args_copy, const char *);
   3840 	  break;
   3841 	case 'd': // int
   3842 	  number = va_arg (args_copy, int);
   3843 	  break;
   3844 	case 'f': // float
   3845 	  fnumber = va_arg (args_copy, double);
   3846 	  break;
   3847 	default:
   3848 	  break;
   3849 	}
   3850     }
   3851   va_end (args_copy);
   3852   va_end (args);
   3853 }
   3854 
   3855 int
   3856 main ()
   3857 {
   3858 
   3859   // Check bool.
   3860   _Bool success = false;
   3861 
   3862   // Check restrict.
   3863   if (test_restrict ("String literal") == 0)
   3864     success = true;
   3865   char *restrict newvar = "Another string";
   3866 
   3867   // Check varargs.
   3868   test_varargs ("s, d' f .", "string", 65, 34.234);
   3869   test_varargs_macros ();
   3870 
   3871   // Check flexible array members.
   3872   struct incomplete_array *ia =
   3873     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3874   ia->datasize = 10;
   3875   for (int i = 0; i < ia->datasize; ++i)
   3876     ia->data[i] = i * 1.234;
   3877 
   3878   // Check named initializers.
   3879   struct named_init ni = {
   3880     .number = 34,
   3881     .name = L"Test wide string",
   3882     .average = 543.34343,
   3883   };
   3884 
   3885   ni.number = 58;
   3886 
   3887   int dynamic_array[ni.number];
   3888   dynamic_array[ni.number - 1] = 543;
   3889 
   3890   // work around unused variable warnings
   3891   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3892 	  || dynamic_array[ni.number - 1] != 543);
   3893 
   3894   ;
   3895   return 0;
   3896 }
   3897 _ACEOF
   3898 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3899 do
   3900   CC="$ac_save_CC $ac_arg"
   3901   if ac_fn_c_try_compile "$LINENO"; then :
   3902   ac_cv_prog_cc_c99=$ac_arg
   3903 fi
   3904 rm -f core conftest.err conftest.$ac_objext
   3905   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3906 done
   3907 rm -f conftest.$ac_ext
   3908 CC=$ac_save_CC
   3909 
   3910 fi
   3911 # AC_CACHE_VAL
   3912 case "x$ac_cv_prog_cc_c99" in
   3913   x)
   3914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3915 $as_echo "none needed" >&6; } ;;
   3916   xno)
   3917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3918 $as_echo "unsupported" >&6; } ;;
   3919   *)
   3920     CC="$CC $ac_cv_prog_cc_c99"
   3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3922 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3923 esac
   3924 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3925 
   3926 fi
   3927 
   3928 
   3929 
   3930 ac_ext=c
   3931 ac_cpp='$CPP $CPPFLAGS'
   3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3936 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3937 # On Suns, sometimes $CPP names a directory.
   3938 if test -n "$CPP" && test -d "$CPP"; then
   3939   CPP=
   3940 fi
   3941 if test -z "$CPP"; then
   3942   if ${ac_cv_prog_CPP+:} false; then :
   3943   $as_echo_n "(cached) " >&6
   3944 else
   3945       # Double quotes because CPP needs to be expanded
   3946     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3947     do
   3948       ac_preproc_ok=false
   3949 for ac_c_preproc_warn_flag in '' yes
   3950 do
   3951   # Use a header file that comes with gcc, so configuring glibc
   3952   # with a fresh cross-compiler works.
   3953   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3954   # <limits.h> exists even on freestanding compilers.
   3955   # On the NeXT, cc -E runs the code through the compiler's parser,
   3956   # not just through cpp. "Syntax error" is here to catch this case.
   3957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3958 /* end confdefs.h.  */
   3959 #ifdef __STDC__
   3960 # include <limits.h>
   3961 #else
   3962 # include <assert.h>
   3963 #endif
   3964 		     Syntax error
   3965 _ACEOF
   3966 if ac_fn_c_try_cpp "$LINENO"; then :
   3967 
   3968 else
   3969   # Broken: fails on valid input.
   3970 continue
   3971 fi
   3972 rm -f conftest.err conftest.i conftest.$ac_ext
   3973 
   3974   # OK, works on sane cases.  Now check whether nonexistent headers
   3975   # can be detected and how.
   3976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3977 /* end confdefs.h.  */
   3978 #include <ac_nonexistent.h>
   3979 _ACEOF
   3980 if ac_fn_c_try_cpp "$LINENO"; then :
   3981   # Broken: success on invalid input.
   3982 continue
   3983 else
   3984   # Passes both tests.
   3985 ac_preproc_ok=:
   3986 break
   3987 fi
   3988 rm -f conftest.err conftest.i conftest.$ac_ext
   3989 
   3990 done
   3991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3992 rm -f conftest.i conftest.err conftest.$ac_ext
   3993 if $ac_preproc_ok; then :
   3994   break
   3995 fi
   3996 
   3997     done
   3998     ac_cv_prog_CPP=$CPP
   3999 
   4000 fi
   4001   CPP=$ac_cv_prog_CPP
   4002 else
   4003   ac_cv_prog_CPP=$CPP
   4004 fi
   4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4006 $as_echo "$CPP" >&6; }
   4007 ac_preproc_ok=false
   4008 for ac_c_preproc_warn_flag in '' yes
   4009 do
   4010   # Use a header file that comes with gcc, so configuring glibc
   4011   # with a fresh cross-compiler works.
   4012   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4013   # <limits.h> exists even on freestanding compilers.
   4014   # On the NeXT, cc -E runs the code through the compiler's parser,
   4015   # not just through cpp. "Syntax error" is here to catch this case.
   4016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4017 /* end confdefs.h.  */
   4018 #ifdef __STDC__
   4019 # include <limits.h>
   4020 #else
   4021 # include <assert.h>
   4022 #endif
   4023 		     Syntax error
   4024 _ACEOF
   4025 if ac_fn_c_try_cpp "$LINENO"; then :
   4026 
   4027 else
   4028   # Broken: fails on valid input.
   4029 continue
   4030 fi
   4031 rm -f conftest.err conftest.i conftest.$ac_ext
   4032 
   4033   # OK, works on sane cases.  Now check whether nonexistent headers
   4034   # can be detected and how.
   4035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4036 /* end confdefs.h.  */
   4037 #include <ac_nonexistent.h>
   4038 _ACEOF
   4039 if ac_fn_c_try_cpp "$LINENO"; then :
   4040   # Broken: success on invalid input.
   4041 continue
   4042 else
   4043   # Passes both tests.
   4044 ac_preproc_ok=:
   4045 break
   4046 fi
   4047 rm -f conftest.err conftest.i conftest.$ac_ext
   4048 
   4049 done
   4050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4051 rm -f conftest.i conftest.err conftest.$ac_ext
   4052 if $ac_preproc_ok; then :
   4053 
   4054 else
   4055   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4057 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4058 See \`config.log' for more details" "$LINENO" 5; }
   4059 fi
   4060 
   4061 ac_ext=c
   4062 ac_cpp='$CPP $CPPFLAGS'
   4063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4066 
   4067 
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4069 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4070 if ${ac_cv_path_GREP+:} false; then :
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   if test -z "$GREP"; then
   4074   ac_path_GREP_found=false
   4075   # Loop through the user's path and test for each of PROGNAME-LIST
   4076   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4077 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4078 do
   4079   IFS=$as_save_IFS
   4080   test -z "$as_dir" && as_dir=.
   4081     for ac_prog in grep ggrep; do
   4082     for ac_exec_ext in '' $ac_executable_extensions; do
   4083       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4084       as_fn_executable_p "$ac_path_GREP" || continue
   4085 # Check for GNU ac_path_GREP and select it if it is found.
   4086   # Check for GNU $ac_path_GREP
   4087 case `"$ac_path_GREP" --version 2>&1` in
   4088 *GNU*)
   4089   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4090 *)
   4091   ac_count=0
   4092   $as_echo_n 0123456789 >"conftest.in"
   4093   while :
   4094   do
   4095     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4096     mv "conftest.tmp" "conftest.in"
   4097     cp "conftest.in" "conftest.nl"
   4098     $as_echo 'GREP' >> "conftest.nl"
   4099     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4100     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4101     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4102     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4103       # Best one so far, save it but keep looking for a better one
   4104       ac_cv_path_GREP="$ac_path_GREP"
   4105       ac_path_GREP_max=$ac_count
   4106     fi
   4107     # 10*(2^10) chars as input seems more than enough
   4108     test $ac_count -gt 10 && break
   4109   done
   4110   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4111 esac
   4112 
   4113       $ac_path_GREP_found && break 3
   4114     done
   4115   done
   4116   done
   4117 IFS=$as_save_IFS
   4118   if test -z "$ac_cv_path_GREP"; then
   4119     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4120   fi
   4121 else
   4122   ac_cv_path_GREP=$GREP
   4123 fi
   4124 
   4125 fi
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4127 $as_echo "$ac_cv_path_GREP" >&6; }
   4128  GREP="$ac_cv_path_GREP"
   4129 
   4130 
   4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4132 $as_echo_n "checking for egrep... " >&6; }
   4133 if ${ac_cv_path_EGREP+:} false; then :
   4134   $as_echo_n "(cached) " >&6
   4135 else
   4136   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4137    then ac_cv_path_EGREP="$GREP -E"
   4138    else
   4139      if test -z "$EGREP"; then
   4140   ac_path_EGREP_found=false
   4141   # Loop through the user's path and test for each of PROGNAME-LIST
   4142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4144 do
   4145   IFS=$as_save_IFS
   4146   test -z "$as_dir" && as_dir=.
   4147     for ac_prog in egrep; do
   4148     for ac_exec_ext in '' $ac_executable_extensions; do
   4149       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4150       as_fn_executable_p "$ac_path_EGREP" || continue
   4151 # Check for GNU ac_path_EGREP and select it if it is found.
   4152   # Check for GNU $ac_path_EGREP
   4153 case `"$ac_path_EGREP" --version 2>&1` in
   4154 *GNU*)
   4155   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4156 *)
   4157   ac_count=0
   4158   $as_echo_n 0123456789 >"conftest.in"
   4159   while :
   4160   do
   4161     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4162     mv "conftest.tmp" "conftest.in"
   4163     cp "conftest.in" "conftest.nl"
   4164     $as_echo 'EGREP' >> "conftest.nl"
   4165     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4166     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4167     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4168     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4169       # Best one so far, save it but keep looking for a better one
   4170       ac_cv_path_EGREP="$ac_path_EGREP"
   4171       ac_path_EGREP_max=$ac_count
   4172     fi
   4173     # 10*(2^10) chars as input seems more than enough
   4174     test $ac_count -gt 10 && break
   4175   done
   4176   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4177 esac
   4178 
   4179       $ac_path_EGREP_found && break 3
   4180     done
   4181   done
   4182   done
   4183 IFS=$as_save_IFS
   4184   if test -z "$ac_cv_path_EGREP"; then
   4185     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4186   fi
   4187 else
   4188   ac_cv_path_EGREP=$EGREP
   4189 fi
   4190 
   4191    fi
   4192 fi
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4194 $as_echo "$ac_cv_path_EGREP" >&6; }
   4195  EGREP="$ac_cv_path_EGREP"
   4196 
   4197 
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4199 $as_echo_n "checking for ANSI C header files... " >&6; }
   4200 if ${ac_cv_header_stdc+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4204 /* end confdefs.h.  */
   4205 #include <stdlib.h>
   4206 #include <stdarg.h>
   4207 #include <string.h>
   4208 #include <float.h>
   4209 
   4210 int
   4211 main ()
   4212 {
   4213 
   4214   ;
   4215   return 0;
   4216 }
   4217 _ACEOF
   4218 if ac_fn_c_try_compile "$LINENO"; then :
   4219   ac_cv_header_stdc=yes
   4220 else
   4221   ac_cv_header_stdc=no
   4222 fi
   4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4224 
   4225 if test $ac_cv_header_stdc = yes; then
   4226   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #include <string.h>
   4230 
   4231 _ACEOF
   4232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4233   $EGREP "memchr" >/dev/null 2>&1; then :
   4234 
   4235 else
   4236   ac_cv_header_stdc=no
   4237 fi
   4238 rm -f conftest*
   4239 
   4240 fi
   4241 
   4242 if test $ac_cv_header_stdc = yes; then
   4243   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4245 /* end confdefs.h.  */
   4246 #include <stdlib.h>
   4247 
   4248 _ACEOF
   4249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4250   $EGREP "free" >/dev/null 2>&1; then :
   4251 
   4252 else
   4253   ac_cv_header_stdc=no
   4254 fi
   4255 rm -f conftest*
   4256 
   4257 fi
   4258 
   4259 if test $ac_cv_header_stdc = yes; then
   4260   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4261   if test "$cross_compiling" = yes; then :
   4262   :
   4263 else
   4264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4265 /* end confdefs.h.  */
   4266 #include <ctype.h>
   4267 #include <stdlib.h>
   4268 #if ((' ' & 0x0FF) == 0x020)
   4269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4271 #else
   4272 # define ISLOWER(c) \
   4273 		   (('a' <= (c) && (c) <= 'i') \
   4274 		     || ('j' <= (c) && (c) <= 'r') \
   4275 		     || ('s' <= (c) && (c) <= 'z'))
   4276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4277 #endif
   4278 
   4279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4280 int
   4281 main ()
   4282 {
   4283   int i;
   4284   for (i = 0; i < 256; i++)
   4285     if (XOR (islower (i), ISLOWER (i))
   4286 	|| toupper (i) != TOUPPER (i))
   4287       return 2;
   4288   return 0;
   4289 }
   4290 _ACEOF
   4291 if ac_fn_c_try_run "$LINENO"; then :
   4292 
   4293 else
   4294   ac_cv_header_stdc=no
   4295 fi
   4296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4297   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4298 fi
   4299 
   4300 fi
   4301 fi
   4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4303 $as_echo "$ac_cv_header_stdc" >&6; }
   4304 if test $ac_cv_header_stdc = yes; then
   4305 
   4306 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4307 
   4308 fi
   4309 
   4310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4311 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4312 		  inttypes.h stdint.h unistd.h
   4313 do :
   4314   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4315 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4316 "
   4317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4318   cat >>confdefs.h <<_ACEOF
   4319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4320 _ACEOF
   4321 
   4322 fi
   4323 
   4324 done
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4332 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4333   CLANGCC="yes"
   4334 else
   4335   CLANGCC="no"
   4336 fi
   4337 
   4338 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4339 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4340   INTELCC="yes"
   4341 else
   4342   INTELCC="no"
   4343 fi
   4344 
   4345 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4346 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4347   SUNCC="yes"
   4348 else
   4349   SUNCC="no"
   4350 fi
   4351 
   4352 
   4353 
   4354 
   4355 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4356 	if test -n "$ac_tool_prefix"; then
   4357   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4358 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4360 $as_echo_n "checking for $ac_word... " >&6; }
   4361 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4362   $as_echo_n "(cached) " >&6
   4363 else
   4364   case $PKG_CONFIG in
   4365   [\\/]* | ?:[\\/]*)
   4366   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4367   ;;
   4368   *)
   4369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4370 for as_dir in $PATH
   4371 do
   4372   IFS=$as_save_IFS
   4373   test -z "$as_dir" && as_dir=.
   4374     for ac_exec_ext in '' $ac_executable_extensions; do
   4375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4376     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4378     break 2
   4379   fi
   4380 done
   4381   done
   4382 IFS=$as_save_IFS
   4383 
   4384   ;;
   4385 esac
   4386 fi
   4387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4388 if test -n "$PKG_CONFIG"; then
   4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4390 $as_echo "$PKG_CONFIG" >&6; }
   4391 else
   4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4393 $as_echo "no" >&6; }
   4394 fi
   4395 
   4396 
   4397 fi
   4398 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4399   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4400   # Extract the first word of "pkg-config", so it can be a program name with args.
   4401 set dummy pkg-config; ac_word=$2
   4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4403 $as_echo_n "checking for $ac_word... " >&6; }
   4404 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4405   $as_echo_n "(cached) " >&6
   4406 else
   4407   case $ac_pt_PKG_CONFIG in
   4408   [\\/]* | ?:[\\/]*)
   4409   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4410   ;;
   4411   *)
   4412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4413 for as_dir in $PATH
   4414 do
   4415   IFS=$as_save_IFS
   4416   test -z "$as_dir" && as_dir=.
   4417     for ac_exec_ext in '' $ac_executable_extensions; do
   4418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4419     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4421     break 2
   4422   fi
   4423 done
   4424   done
   4425 IFS=$as_save_IFS
   4426 
   4427   ;;
   4428 esac
   4429 fi
   4430 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4431 if test -n "$ac_pt_PKG_CONFIG"; then
   4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4433 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4434 else
   4435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4436 $as_echo "no" >&6; }
   4437 fi
   4438 
   4439   if test "x$ac_pt_PKG_CONFIG" = x; then
   4440     PKG_CONFIG=""
   4441   else
   4442     case $cross_compiling:$ac_tool_warned in
   4443 yes:)
   4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4446 ac_tool_warned=yes ;;
   4447 esac
   4448     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4449   fi
   4450 else
   4451   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4452 fi
   4453 
   4454 fi
   4455 if test -n "$PKG_CONFIG"; then
   4456 	_pkg_min_version=0.9.0
   4457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4458 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4459 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4461 $as_echo "yes" >&6; }
   4462 	else
   4463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4464 $as_echo "no" >&6; }
   4465 		PKG_CONFIG=""
   4466 	fi
   4467 
   4468 fi
   4469 # Make sure we can run config.sub.
   4470 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4471   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4472 
   4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4474 $as_echo_n "checking build system type... " >&6; }
   4475 if ${ac_cv_build+:} false; then :
   4476   $as_echo_n "(cached) " >&6
   4477 else
   4478   ac_build_alias=$build_alias
   4479 test "x$ac_build_alias" = x &&
   4480   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4481 test "x$ac_build_alias" = x &&
   4482   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4483 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4484   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4485 
   4486 fi
   4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4488 $as_echo "$ac_cv_build" >&6; }
   4489 case $ac_cv_build in
   4490 *-*-*) ;;
   4491 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4492 esac
   4493 build=$ac_cv_build
   4494 ac_save_IFS=$IFS; IFS='-'
   4495 set x $ac_cv_build
   4496 shift
   4497 build_cpu=$1
   4498 build_vendor=$2
   4499 shift; shift
   4500 # Remember, the first character of IFS is used to create $*,
   4501 # except with old shells:
   4502 build_os=$*
   4503 IFS=$ac_save_IFS
   4504 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4505 
   4506 
   4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4508 $as_echo_n "checking host system type... " >&6; }
   4509 if ${ac_cv_host+:} false; then :
   4510   $as_echo_n "(cached) " >&6
   4511 else
   4512   if test "x$host_alias" = x; then
   4513   ac_cv_host=$ac_cv_build
   4514 else
   4515   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4516     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4517 fi
   4518 
   4519 fi
   4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4521 $as_echo "$ac_cv_host" >&6; }
   4522 case $ac_cv_host in
   4523 *-*-*) ;;
   4524 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4525 esac
   4526 host=$ac_cv_host
   4527 ac_save_IFS=$IFS; IFS='-'
   4528 set x $ac_cv_host
   4529 shift
   4530 host_cpu=$1
   4531 host_vendor=$2
   4532 shift; shift
   4533 # Remember, the first character of IFS is used to create $*,
   4534 # except with old shells:
   4535 host_os=$*
   4536 IFS=$ac_save_IFS
   4537 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4538 
   4539 
   4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4541 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4542 if ${ac_cv_path_SED+:} false; then :
   4543   $as_echo_n "(cached) " >&6
   4544 else
   4545             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4546      for ac_i in 1 2 3 4 5 6 7; do
   4547        ac_script="$ac_script$as_nl$ac_script"
   4548      done
   4549      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4550      { ac_script=; unset ac_script;}
   4551      if test -z "$SED"; then
   4552   ac_path_SED_found=false
   4553   # Loop through the user's path and test for each of PROGNAME-LIST
   4554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4555 for as_dir in $PATH
   4556 do
   4557   IFS=$as_save_IFS
   4558   test -z "$as_dir" && as_dir=.
   4559     for ac_prog in sed gsed; do
   4560     for ac_exec_ext in '' $ac_executable_extensions; do
   4561       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4562       as_fn_executable_p "$ac_path_SED" || continue
   4563 # Check for GNU ac_path_SED and select it if it is found.
   4564   # Check for GNU $ac_path_SED
   4565 case `"$ac_path_SED" --version 2>&1` in
   4566 *GNU*)
   4567   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4568 *)
   4569   ac_count=0
   4570   $as_echo_n 0123456789 >"conftest.in"
   4571   while :
   4572   do
   4573     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4574     mv "conftest.tmp" "conftest.in"
   4575     cp "conftest.in" "conftest.nl"
   4576     $as_echo '' >> "conftest.nl"
   4577     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4578     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4579     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4580     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4581       # Best one so far, save it but keep looking for a better one
   4582       ac_cv_path_SED="$ac_path_SED"
   4583       ac_path_SED_max=$ac_count
   4584     fi
   4585     # 10*(2^10) chars as input seems more than enough
   4586     test $ac_count -gt 10 && break
   4587   done
   4588   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4589 esac
   4590 
   4591       $ac_path_SED_found && break 3
   4592     done
   4593   done
   4594   done
   4595 IFS=$as_save_IFS
   4596   if test -z "$ac_cv_path_SED"; then
   4597     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4598   fi
   4599 else
   4600   ac_cv_path_SED=$SED
   4601 fi
   4602 
   4603 fi
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4605 $as_echo "$ac_cv_path_SED" >&6; }
   4606  SED="$ac_cv_path_SED"
   4607   rm -f conftest.sed
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 # Check whether --enable-selective-werror was given.
   4615 if test "${enable_selective_werror+set}" = set; then :
   4616   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4617 else
   4618   SELECTIVE_WERROR=yes
   4619 fi
   4620 
   4621 
   4622 
   4623 
   4624 
   4625 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4626 if test "x$SUNCC" = "xyes"; then
   4627     BASE_CFLAGS="-v"
   4628 else
   4629     BASE_CFLAGS=""
   4630 fi
   4631 
   4632 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 xorg_testset_save_CFLAGS="$CFLAGS"
   4647 
   4648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4656 /* end confdefs.h.  */
   4657 int i;
   4658 _ACEOF
   4659 if ac_fn_c_try_compile "$LINENO"; then :
   4660   xorg_cv_cc_flag_unknown_warning_option=yes
   4661 else
   4662   xorg_cv_cc_flag_unknown_warning_option=no
   4663 fi
   4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4665 fi
   4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4669 	CFLAGS="$xorg_testset_save_CFLAGS"
   4670 fi
   4671 
   4672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4675 	fi
   4676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4680   $as_echo_n "(cached) " >&6
   4681 else
   4682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4683 /* end confdefs.h.  */
   4684 int i;
   4685 _ACEOF
   4686 if ac_fn_c_try_compile "$LINENO"; then :
   4687   xorg_cv_cc_flag_unused_command_line_argument=yes
   4688 else
   4689   xorg_cv_cc_flag_unused_command_line_argument=no
   4690 fi
   4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4692 fi
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4696 	CFLAGS="$xorg_testset_save_CFLAGS"
   4697 fi
   4698 
   4699 found="no"
   4700 
   4701 	if test $found = "no" ; then
   4702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4704 		fi
   4705 
   4706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4708 		fi
   4709 
   4710 		CFLAGS="$CFLAGS -Wall"
   4711 
   4712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4713 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4714 		cacheid=xorg_cv_cc_flag__Wall
   4715 		if eval \${$cacheid+:} false; then :
   4716   $as_echo_n "(cached) " >&6
   4717 else
   4718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4719 /* end confdefs.h.  */
   4720 int i;
   4721 int
   4722 main ()
   4723 {
   4724 
   4725   ;
   4726   return 0;
   4727 }
   4728 _ACEOF
   4729 if ac_fn_c_try_link "$LINENO"; then :
   4730   eval $cacheid=yes
   4731 else
   4732   eval $cacheid=no
   4733 fi
   4734 rm -f core conftest.err conftest.$ac_objext \
   4735     conftest$ac_exeext conftest.$ac_ext
   4736 fi
   4737 
   4738 
   4739 		CFLAGS="$xorg_testset_save_CFLAGS"
   4740 
   4741 		eval supported=\$$cacheid
   4742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4743 $as_echo "$supported" >&6; }
   4744 		if test "$supported" = "yes" ; then
   4745 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4746 			found="yes"
   4747 		fi
   4748 	fi
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 xorg_testset_save_CFLAGS="$CFLAGS"
   4765 
   4766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4769 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4770 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4771   $as_echo_n "(cached) " >&6
   4772 else
   4773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4774 /* end confdefs.h.  */
   4775 int i;
   4776 _ACEOF
   4777 if ac_fn_c_try_compile "$LINENO"; then :
   4778   xorg_cv_cc_flag_unknown_warning_option=yes
   4779 else
   4780   xorg_cv_cc_flag_unknown_warning_option=no
   4781 fi
   4782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4783 fi
   4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4785 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4787 	CFLAGS="$xorg_testset_save_CFLAGS"
   4788 fi
   4789 
   4790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4793 	fi
   4794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4796 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4797 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4798   $as_echo_n "(cached) " >&6
   4799 else
   4800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4801 /* end confdefs.h.  */
   4802 int i;
   4803 _ACEOF
   4804 if ac_fn_c_try_compile "$LINENO"; then :
   4805   xorg_cv_cc_flag_unused_command_line_argument=yes
   4806 else
   4807   xorg_cv_cc_flag_unused_command_line_argument=no
   4808 fi
   4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4810 fi
   4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4812 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4814 	CFLAGS="$xorg_testset_save_CFLAGS"
   4815 fi
   4816 
   4817 found="no"
   4818 
   4819 	if test $found = "no" ; then
   4820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4822 		fi
   4823 
   4824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4826 		fi
   4827 
   4828 		CFLAGS="$CFLAGS -Wpointer-arith"
   4829 
   4830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4831 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4832 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4833 		if eval \${$cacheid+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4837 /* end confdefs.h.  */
   4838 int i;
   4839 int
   4840 main ()
   4841 {
   4842 
   4843   ;
   4844   return 0;
   4845 }
   4846 _ACEOF
   4847 if ac_fn_c_try_link "$LINENO"; then :
   4848   eval $cacheid=yes
   4849 else
   4850   eval $cacheid=no
   4851 fi
   4852 rm -f core conftest.err conftest.$ac_objext \
   4853     conftest$ac_exeext conftest.$ac_ext
   4854 fi
   4855 
   4856 
   4857 		CFLAGS="$xorg_testset_save_CFLAGS"
   4858 
   4859 		eval supported=\$$cacheid
   4860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4861 $as_echo "$supported" >&6; }
   4862 		if test "$supported" = "yes" ; then
   4863 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4864 			found="yes"
   4865 		fi
   4866 	fi
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 xorg_testset_save_CFLAGS="$CFLAGS"
   4883 
   4884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4887 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4888 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4889   $as_echo_n "(cached) " >&6
   4890 else
   4891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4892 /* end confdefs.h.  */
   4893 int i;
   4894 _ACEOF
   4895 if ac_fn_c_try_compile "$LINENO"; then :
   4896   xorg_cv_cc_flag_unknown_warning_option=yes
   4897 else
   4898   xorg_cv_cc_flag_unknown_warning_option=no
   4899 fi
   4900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4901 fi
   4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4903 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4905 	CFLAGS="$xorg_testset_save_CFLAGS"
   4906 fi
   4907 
   4908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4911 	fi
   4912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4914 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4915 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4916   $as_echo_n "(cached) " >&6
   4917 else
   4918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4919 /* end confdefs.h.  */
   4920 int i;
   4921 _ACEOF
   4922 if ac_fn_c_try_compile "$LINENO"; then :
   4923   xorg_cv_cc_flag_unused_command_line_argument=yes
   4924 else
   4925   xorg_cv_cc_flag_unused_command_line_argument=no
   4926 fi
   4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4928 fi
   4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4930 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4932 	CFLAGS="$xorg_testset_save_CFLAGS"
   4933 fi
   4934 
   4935 found="no"
   4936 
   4937 	if test $found = "no" ; then
   4938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4940 		fi
   4941 
   4942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4944 		fi
   4945 
   4946 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4947 
   4948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4949 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4950 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4951 		if eval \${$cacheid+:} false; then :
   4952   $as_echo_n "(cached) " >&6
   4953 else
   4954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4955 /* end confdefs.h.  */
   4956 int i;
   4957 int
   4958 main ()
   4959 {
   4960 
   4961   ;
   4962   return 0;
   4963 }
   4964 _ACEOF
   4965 if ac_fn_c_try_link "$LINENO"; then :
   4966   eval $cacheid=yes
   4967 else
   4968   eval $cacheid=no
   4969 fi
   4970 rm -f core conftest.err conftest.$ac_objext \
   4971     conftest$ac_exeext conftest.$ac_ext
   4972 fi
   4973 
   4974 
   4975 		CFLAGS="$xorg_testset_save_CFLAGS"
   4976 
   4977 		eval supported=\$$cacheid
   4978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4979 $as_echo "$supported" >&6; }
   4980 		if test "$supported" = "yes" ; then
   4981 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4982 			found="yes"
   4983 		fi
   4984 	fi
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 xorg_testset_save_CFLAGS="$CFLAGS"
   5001 
   5002 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5005 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5006 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5007   $as_echo_n "(cached) " >&6
   5008 else
   5009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 int i;
   5012 _ACEOF
   5013 if ac_fn_c_try_compile "$LINENO"; then :
   5014   xorg_cv_cc_flag_unknown_warning_option=yes
   5015 else
   5016   xorg_cv_cc_flag_unknown_warning_option=no
   5017 fi
   5018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5019 fi
   5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5021 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5022 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5023 	CFLAGS="$xorg_testset_save_CFLAGS"
   5024 fi
   5025 
   5026 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5027 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5029 	fi
   5030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5032 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5033 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5034   $as_echo_n "(cached) " >&6
   5035 else
   5036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5037 /* end confdefs.h.  */
   5038 int i;
   5039 _ACEOF
   5040 if ac_fn_c_try_compile "$LINENO"; then :
   5041   xorg_cv_cc_flag_unused_command_line_argument=yes
   5042 else
   5043   xorg_cv_cc_flag_unused_command_line_argument=no
   5044 fi
   5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5046 fi
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5048 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5049 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5050 	CFLAGS="$xorg_testset_save_CFLAGS"
   5051 fi
   5052 
   5053 found="no"
   5054 
   5055 	if test $found = "no" ; then
   5056 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5058 		fi
   5059 
   5060 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5062 		fi
   5063 
   5064 		CFLAGS="$CFLAGS -Wformat=2"
   5065 
   5066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5067 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5068 		cacheid=xorg_cv_cc_flag__Wformat_2
   5069 		if eval \${$cacheid+:} false; then :
   5070   $as_echo_n "(cached) " >&6
   5071 else
   5072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5073 /* end confdefs.h.  */
   5074 int i;
   5075 int
   5076 main ()
   5077 {
   5078 
   5079   ;
   5080   return 0;
   5081 }
   5082 _ACEOF
   5083 if ac_fn_c_try_link "$LINENO"; then :
   5084   eval $cacheid=yes
   5085 else
   5086   eval $cacheid=no
   5087 fi
   5088 rm -f core conftest.err conftest.$ac_objext \
   5089     conftest$ac_exeext conftest.$ac_ext
   5090 fi
   5091 
   5092 
   5093 		CFLAGS="$xorg_testset_save_CFLAGS"
   5094 
   5095 		eval supported=\$$cacheid
   5096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5097 $as_echo "$supported" >&6; }
   5098 		if test "$supported" = "yes" ; then
   5099 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5100 			found="yes"
   5101 		fi
   5102 	fi
   5103 
   5104 	if test $found = "no" ; then
   5105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5107 		fi
   5108 
   5109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5111 		fi
   5112 
   5113 		CFLAGS="$CFLAGS -Wformat"
   5114 
   5115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5116 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5117 		cacheid=xorg_cv_cc_flag__Wformat
   5118 		if eval \${$cacheid+:} false; then :
   5119   $as_echo_n "(cached) " >&6
   5120 else
   5121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5122 /* end confdefs.h.  */
   5123 int i;
   5124 int
   5125 main ()
   5126 {
   5127 
   5128   ;
   5129   return 0;
   5130 }
   5131 _ACEOF
   5132 if ac_fn_c_try_link "$LINENO"; then :
   5133   eval $cacheid=yes
   5134 else
   5135   eval $cacheid=no
   5136 fi
   5137 rm -f core conftest.err conftest.$ac_objext \
   5138     conftest$ac_exeext conftest.$ac_ext
   5139 fi
   5140 
   5141 
   5142 		CFLAGS="$xorg_testset_save_CFLAGS"
   5143 
   5144 		eval supported=\$$cacheid
   5145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5146 $as_echo "$supported" >&6; }
   5147 		if test "$supported" = "yes" ; then
   5148 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5149 			found="yes"
   5150 		fi
   5151 	fi
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 xorg_testset_save_CFLAGS="$CFLAGS"
   5170 
   5171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5174 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5175 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5176   $as_echo_n "(cached) " >&6
   5177 else
   5178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5179 /* end confdefs.h.  */
   5180 int i;
   5181 _ACEOF
   5182 if ac_fn_c_try_compile "$LINENO"; then :
   5183   xorg_cv_cc_flag_unknown_warning_option=yes
   5184 else
   5185   xorg_cv_cc_flag_unknown_warning_option=no
   5186 fi
   5187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5188 fi
   5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5190 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5191 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5192 	CFLAGS="$xorg_testset_save_CFLAGS"
   5193 fi
   5194 
   5195 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5196 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5197 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5198 	fi
   5199 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5200 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5201 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5202 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5203   $as_echo_n "(cached) " >&6
   5204 else
   5205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5206 /* end confdefs.h.  */
   5207 int i;
   5208 _ACEOF
   5209 if ac_fn_c_try_compile "$LINENO"; then :
   5210   xorg_cv_cc_flag_unused_command_line_argument=yes
   5211 else
   5212   xorg_cv_cc_flag_unused_command_line_argument=no
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5215 fi
   5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5217 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5219 	CFLAGS="$xorg_testset_save_CFLAGS"
   5220 fi
   5221 
   5222 found="no"
   5223 
   5224 	if test $found = "no" ; then
   5225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5227 		fi
   5228 
   5229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5231 		fi
   5232 
   5233 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5234 
   5235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5236 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5237 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5238 		if eval \${$cacheid+:} false; then :
   5239   $as_echo_n "(cached) " >&6
   5240 else
   5241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5242 /* end confdefs.h.  */
   5243 int i;
   5244 int
   5245 main ()
   5246 {
   5247 
   5248   ;
   5249   return 0;
   5250 }
   5251 _ACEOF
   5252 if ac_fn_c_try_link "$LINENO"; then :
   5253   eval $cacheid=yes
   5254 else
   5255   eval $cacheid=no
   5256 fi
   5257 rm -f core conftest.err conftest.$ac_objext \
   5258     conftest$ac_exeext conftest.$ac_ext
   5259 fi
   5260 
   5261 
   5262 		CFLAGS="$xorg_testset_save_CFLAGS"
   5263 
   5264 		eval supported=\$$cacheid
   5265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5266 $as_echo "$supported" >&6; }
   5267 		if test "$supported" = "yes" ; then
   5268 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5269 			found="yes"
   5270 		fi
   5271 	fi
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 xorg_testset_save_CFLAGS="$CFLAGS"
   5288 
   5289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5292 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5293 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5294   $as_echo_n "(cached) " >&6
   5295 else
   5296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5297 /* end confdefs.h.  */
   5298 int i;
   5299 _ACEOF
   5300 if ac_fn_c_try_compile "$LINENO"; then :
   5301   xorg_cv_cc_flag_unknown_warning_option=yes
   5302 else
   5303   xorg_cv_cc_flag_unknown_warning_option=no
   5304 fi
   5305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5306 fi
   5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5308 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5310 	CFLAGS="$xorg_testset_save_CFLAGS"
   5311 fi
   5312 
   5313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5316 	fi
   5317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5319 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5320 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5321   $as_echo_n "(cached) " >&6
   5322 else
   5323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5324 /* end confdefs.h.  */
   5325 int i;
   5326 _ACEOF
   5327 if ac_fn_c_try_compile "$LINENO"; then :
   5328   xorg_cv_cc_flag_unused_command_line_argument=yes
   5329 else
   5330   xorg_cv_cc_flag_unused_command_line_argument=no
   5331 fi
   5332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5333 fi
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5335 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5337 	CFLAGS="$xorg_testset_save_CFLAGS"
   5338 fi
   5339 
   5340 found="no"
   5341 
   5342 	if test $found = "no" ; then
   5343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5345 		fi
   5346 
   5347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5349 		fi
   5350 
   5351 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5352 
   5353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5354 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5355 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5356 		if eval \${$cacheid+:} false; then :
   5357   $as_echo_n "(cached) " >&6
   5358 else
   5359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5360 /* end confdefs.h.  */
   5361 int i;
   5362 int
   5363 main ()
   5364 {
   5365 
   5366   ;
   5367   return 0;
   5368 }
   5369 _ACEOF
   5370 if ac_fn_c_try_link "$LINENO"; then :
   5371   eval $cacheid=yes
   5372 else
   5373   eval $cacheid=no
   5374 fi
   5375 rm -f core conftest.err conftest.$ac_objext \
   5376     conftest$ac_exeext conftest.$ac_ext
   5377 fi
   5378 
   5379 
   5380 		CFLAGS="$xorg_testset_save_CFLAGS"
   5381 
   5382 		eval supported=\$$cacheid
   5383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5384 $as_echo "$supported" >&6; }
   5385 		if test "$supported" = "yes" ; then
   5386 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5387 			found="yes"
   5388 		fi
   5389 	fi
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 xorg_testset_save_CFLAGS="$CFLAGS"
   5406 
   5407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5410 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5411 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5415 /* end confdefs.h.  */
   5416 int i;
   5417 _ACEOF
   5418 if ac_fn_c_try_compile "$LINENO"; then :
   5419   xorg_cv_cc_flag_unknown_warning_option=yes
   5420 else
   5421   xorg_cv_cc_flag_unknown_warning_option=no
   5422 fi
   5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5424 fi
   5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5426 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5428 	CFLAGS="$xorg_testset_save_CFLAGS"
   5429 fi
   5430 
   5431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5434 	fi
   5435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5437 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5438 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5439   $as_echo_n "(cached) " >&6
   5440 else
   5441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5442 /* end confdefs.h.  */
   5443 int i;
   5444 _ACEOF
   5445 if ac_fn_c_try_compile "$LINENO"; then :
   5446   xorg_cv_cc_flag_unused_command_line_argument=yes
   5447 else
   5448   xorg_cv_cc_flag_unused_command_line_argument=no
   5449 fi
   5450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5451 fi
   5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5453 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5455 	CFLAGS="$xorg_testset_save_CFLAGS"
   5456 fi
   5457 
   5458 found="no"
   5459 
   5460 	if test $found = "no" ; then
   5461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5463 		fi
   5464 
   5465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5467 		fi
   5468 
   5469 		CFLAGS="$CFLAGS -Wnested-externs"
   5470 
   5471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5472 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5473 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5474 		if eval \${$cacheid+:} false; then :
   5475   $as_echo_n "(cached) " >&6
   5476 else
   5477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5478 /* end confdefs.h.  */
   5479 int i;
   5480 int
   5481 main ()
   5482 {
   5483 
   5484   ;
   5485   return 0;
   5486 }
   5487 _ACEOF
   5488 if ac_fn_c_try_link "$LINENO"; then :
   5489   eval $cacheid=yes
   5490 else
   5491   eval $cacheid=no
   5492 fi
   5493 rm -f core conftest.err conftest.$ac_objext \
   5494     conftest$ac_exeext conftest.$ac_ext
   5495 fi
   5496 
   5497 
   5498 		CFLAGS="$xorg_testset_save_CFLAGS"
   5499 
   5500 		eval supported=\$$cacheid
   5501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5502 $as_echo "$supported" >&6; }
   5503 		if test "$supported" = "yes" ; then
   5504 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5505 			found="yes"
   5506 		fi
   5507 	fi
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 xorg_testset_save_CFLAGS="$CFLAGS"
   5524 
   5525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5528 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5529 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5530   $as_echo_n "(cached) " >&6
   5531 else
   5532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5533 /* end confdefs.h.  */
   5534 int i;
   5535 _ACEOF
   5536 if ac_fn_c_try_compile "$LINENO"; then :
   5537   xorg_cv_cc_flag_unknown_warning_option=yes
   5538 else
   5539   xorg_cv_cc_flag_unknown_warning_option=no
   5540 fi
   5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5542 fi
   5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5544 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5546 	CFLAGS="$xorg_testset_save_CFLAGS"
   5547 fi
   5548 
   5549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5552 	fi
   5553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5555 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5556 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5557   $as_echo_n "(cached) " >&6
   5558 else
   5559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5560 /* end confdefs.h.  */
   5561 int i;
   5562 _ACEOF
   5563 if ac_fn_c_try_compile "$LINENO"; then :
   5564   xorg_cv_cc_flag_unused_command_line_argument=yes
   5565 else
   5566   xorg_cv_cc_flag_unused_command_line_argument=no
   5567 fi
   5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5569 fi
   5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5571 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5573 	CFLAGS="$xorg_testset_save_CFLAGS"
   5574 fi
   5575 
   5576 found="no"
   5577 
   5578 	if test $found = "no" ; then
   5579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5581 		fi
   5582 
   5583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5585 		fi
   5586 
   5587 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5588 
   5589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5590 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5591 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5592 		if eval \${$cacheid+:} false; then :
   5593   $as_echo_n "(cached) " >&6
   5594 else
   5595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5596 /* end confdefs.h.  */
   5597 int i;
   5598 int
   5599 main ()
   5600 {
   5601 
   5602   ;
   5603   return 0;
   5604 }
   5605 _ACEOF
   5606 if ac_fn_c_try_link "$LINENO"; then :
   5607   eval $cacheid=yes
   5608 else
   5609   eval $cacheid=no
   5610 fi
   5611 rm -f core conftest.err conftest.$ac_objext \
   5612     conftest$ac_exeext conftest.$ac_ext
   5613 fi
   5614 
   5615 
   5616 		CFLAGS="$xorg_testset_save_CFLAGS"
   5617 
   5618 		eval supported=\$$cacheid
   5619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5620 $as_echo "$supported" >&6; }
   5621 		if test "$supported" = "yes" ; then
   5622 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5623 			found="yes"
   5624 		fi
   5625 	fi
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 xorg_testset_save_CFLAGS="$CFLAGS"
   5642 
   5643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5646 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5647 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5648   $as_echo_n "(cached) " >&6
   5649 else
   5650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5651 /* end confdefs.h.  */
   5652 int i;
   5653 _ACEOF
   5654 if ac_fn_c_try_compile "$LINENO"; then :
   5655   xorg_cv_cc_flag_unknown_warning_option=yes
   5656 else
   5657   xorg_cv_cc_flag_unknown_warning_option=no
   5658 fi
   5659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5660 fi
   5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5662 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5664 	CFLAGS="$xorg_testset_save_CFLAGS"
   5665 fi
   5666 
   5667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5670 	fi
   5671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5673 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5674 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5675   $as_echo_n "(cached) " >&6
   5676 else
   5677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5678 /* end confdefs.h.  */
   5679 int i;
   5680 _ACEOF
   5681 if ac_fn_c_try_compile "$LINENO"; then :
   5682   xorg_cv_cc_flag_unused_command_line_argument=yes
   5683 else
   5684   xorg_cv_cc_flag_unused_command_line_argument=no
   5685 fi
   5686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5687 fi
   5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5689 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5691 	CFLAGS="$xorg_testset_save_CFLAGS"
   5692 fi
   5693 
   5694 found="no"
   5695 
   5696 	if test $found = "no" ; then
   5697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5699 		fi
   5700 
   5701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5703 		fi
   5704 
   5705 		CFLAGS="$CFLAGS -Wold-style-definition"
   5706 
   5707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5708 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5709 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5710 		if eval \${$cacheid+:} false; then :
   5711   $as_echo_n "(cached) " >&6
   5712 else
   5713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5714 /* end confdefs.h.  */
   5715 int i;
   5716 int
   5717 main ()
   5718 {
   5719 
   5720   ;
   5721   return 0;
   5722 }
   5723 _ACEOF
   5724 if ac_fn_c_try_link "$LINENO"; then :
   5725   eval $cacheid=yes
   5726 else
   5727   eval $cacheid=no
   5728 fi
   5729 rm -f core conftest.err conftest.$ac_objext \
   5730     conftest$ac_exeext conftest.$ac_ext
   5731 fi
   5732 
   5733 
   5734 		CFLAGS="$xorg_testset_save_CFLAGS"
   5735 
   5736 		eval supported=\$$cacheid
   5737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5738 $as_echo "$supported" >&6; }
   5739 		if test "$supported" = "yes" ; then
   5740 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5741 			found="yes"
   5742 		fi
   5743 	fi
   5744 
   5745 	if test $found = "no" ; then
   5746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5748 		fi
   5749 
   5750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5752 		fi
   5753 
   5754 		CFLAGS="$CFLAGS -fd"
   5755 
   5756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5757 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5758 		cacheid=xorg_cv_cc_flag__fd
   5759 		if eval \${$cacheid+:} false; then :
   5760   $as_echo_n "(cached) " >&6
   5761 else
   5762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5763 /* end confdefs.h.  */
   5764 int i;
   5765 int
   5766 main ()
   5767 {
   5768 
   5769   ;
   5770   return 0;
   5771 }
   5772 _ACEOF
   5773 if ac_fn_c_try_link "$LINENO"; then :
   5774   eval $cacheid=yes
   5775 else
   5776   eval $cacheid=no
   5777 fi
   5778 rm -f core conftest.err conftest.$ac_objext \
   5779     conftest$ac_exeext conftest.$ac_ext
   5780 fi
   5781 
   5782 
   5783 		CFLAGS="$xorg_testset_save_CFLAGS"
   5784 
   5785 		eval supported=\$$cacheid
   5786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5787 $as_echo "$supported" >&6; }
   5788 		if test "$supported" = "yes" ; then
   5789 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5790 			found="yes"
   5791 		fi
   5792 	fi
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 xorg_testset_save_CFLAGS="$CFLAGS"
   5809 
   5810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5815   $as_echo_n "(cached) " >&6
   5816 else
   5817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5818 /* end confdefs.h.  */
   5819 int i;
   5820 _ACEOF
   5821 if ac_fn_c_try_compile "$LINENO"; then :
   5822   xorg_cv_cc_flag_unknown_warning_option=yes
   5823 else
   5824   xorg_cv_cc_flag_unknown_warning_option=no
   5825 fi
   5826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5827 fi
   5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5831 	CFLAGS="$xorg_testset_save_CFLAGS"
   5832 fi
   5833 
   5834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5837 	fi
   5838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5842   $as_echo_n "(cached) " >&6
   5843 else
   5844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5845 /* end confdefs.h.  */
   5846 int i;
   5847 _ACEOF
   5848 if ac_fn_c_try_compile "$LINENO"; then :
   5849   xorg_cv_cc_flag_unused_command_line_argument=yes
   5850 else
   5851   xorg_cv_cc_flag_unused_command_line_argument=no
   5852 fi
   5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5854 fi
   5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5858 	CFLAGS="$xorg_testset_save_CFLAGS"
   5859 fi
   5860 
   5861 found="no"
   5862 
   5863 	if test $found = "no" ; then
   5864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5866 		fi
   5867 
   5868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5870 		fi
   5871 
   5872 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5873 
   5874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5875 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5876 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5877 		if eval \${$cacheid+:} false; then :
   5878   $as_echo_n "(cached) " >&6
   5879 else
   5880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5881 /* end confdefs.h.  */
   5882 int i;
   5883 int
   5884 main ()
   5885 {
   5886 
   5887   ;
   5888   return 0;
   5889 }
   5890 _ACEOF
   5891 if ac_fn_c_try_link "$LINENO"; then :
   5892   eval $cacheid=yes
   5893 else
   5894   eval $cacheid=no
   5895 fi
   5896 rm -f core conftest.err conftest.$ac_objext \
   5897     conftest$ac_exeext conftest.$ac_ext
   5898 fi
   5899 
   5900 
   5901 		CFLAGS="$xorg_testset_save_CFLAGS"
   5902 
   5903 		eval supported=\$$cacheid
   5904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5905 $as_echo "$supported" >&6; }
   5906 		if test "$supported" = "yes" ; then
   5907 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5908 			found="yes"
   5909 		fi
   5910 	fi
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 # This chunk adds additional warnings that could catch undesired effects.
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 xorg_testset_save_CFLAGS="$CFLAGS"
   5931 
   5932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5935 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5936 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5937   $as_echo_n "(cached) " >&6
   5938 else
   5939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5940 /* end confdefs.h.  */
   5941 int i;
   5942 _ACEOF
   5943 if ac_fn_c_try_compile "$LINENO"; then :
   5944   xorg_cv_cc_flag_unknown_warning_option=yes
   5945 else
   5946   xorg_cv_cc_flag_unknown_warning_option=no
   5947 fi
   5948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5949 fi
   5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5951 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5953 	CFLAGS="$xorg_testset_save_CFLAGS"
   5954 fi
   5955 
   5956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5959 	fi
   5960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5962 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5963 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5964   $as_echo_n "(cached) " >&6
   5965 else
   5966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5967 /* end confdefs.h.  */
   5968 int i;
   5969 _ACEOF
   5970 if ac_fn_c_try_compile "$LINENO"; then :
   5971   xorg_cv_cc_flag_unused_command_line_argument=yes
   5972 else
   5973   xorg_cv_cc_flag_unused_command_line_argument=no
   5974 fi
   5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5976 fi
   5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5978 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5980 	CFLAGS="$xorg_testset_save_CFLAGS"
   5981 fi
   5982 
   5983 found="no"
   5984 
   5985 	if test $found = "no" ; then
   5986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5988 		fi
   5989 
   5990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5992 		fi
   5993 
   5994 		CFLAGS="$CFLAGS -Wunused"
   5995 
   5996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5997 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5998 		cacheid=xorg_cv_cc_flag__Wunused
   5999 		if eval \${$cacheid+:} false; then :
   6000   $as_echo_n "(cached) " >&6
   6001 else
   6002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6003 /* end confdefs.h.  */
   6004 int i;
   6005 int
   6006 main ()
   6007 {
   6008 
   6009   ;
   6010   return 0;
   6011 }
   6012 _ACEOF
   6013 if ac_fn_c_try_link "$LINENO"; then :
   6014   eval $cacheid=yes
   6015 else
   6016   eval $cacheid=no
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext \
   6019     conftest$ac_exeext conftest.$ac_ext
   6020 fi
   6021 
   6022 
   6023 		CFLAGS="$xorg_testset_save_CFLAGS"
   6024 
   6025 		eval supported=\$$cacheid
   6026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6027 $as_echo "$supported" >&6; }
   6028 		if test "$supported" = "yes" ; then
   6029 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6030 			found="yes"
   6031 		fi
   6032 	fi
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 xorg_testset_save_CFLAGS="$CFLAGS"
   6049 
   6050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6053 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6054 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6058 /* end confdefs.h.  */
   6059 int i;
   6060 _ACEOF
   6061 if ac_fn_c_try_compile "$LINENO"; then :
   6062   xorg_cv_cc_flag_unknown_warning_option=yes
   6063 else
   6064   xorg_cv_cc_flag_unknown_warning_option=no
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6067 fi
   6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6069 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6071 	CFLAGS="$xorg_testset_save_CFLAGS"
   6072 fi
   6073 
   6074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6077 	fi
   6078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6080 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6081 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6082   $as_echo_n "(cached) " >&6
   6083 else
   6084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6085 /* end confdefs.h.  */
   6086 int i;
   6087 _ACEOF
   6088 if ac_fn_c_try_compile "$LINENO"; then :
   6089   xorg_cv_cc_flag_unused_command_line_argument=yes
   6090 else
   6091   xorg_cv_cc_flag_unused_command_line_argument=no
   6092 fi
   6093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6094 fi
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6096 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6098 	CFLAGS="$xorg_testset_save_CFLAGS"
   6099 fi
   6100 
   6101 found="no"
   6102 
   6103 	if test $found = "no" ; then
   6104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6106 		fi
   6107 
   6108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6110 		fi
   6111 
   6112 		CFLAGS="$CFLAGS -Wuninitialized"
   6113 
   6114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6115 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6116 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6117 		if eval \${$cacheid+:} false; then :
   6118   $as_echo_n "(cached) " >&6
   6119 else
   6120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6121 /* end confdefs.h.  */
   6122 int i;
   6123 int
   6124 main ()
   6125 {
   6126 
   6127   ;
   6128   return 0;
   6129 }
   6130 _ACEOF
   6131 if ac_fn_c_try_link "$LINENO"; then :
   6132   eval $cacheid=yes
   6133 else
   6134   eval $cacheid=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext \
   6137     conftest$ac_exeext conftest.$ac_ext
   6138 fi
   6139 
   6140 
   6141 		CFLAGS="$xorg_testset_save_CFLAGS"
   6142 
   6143 		eval supported=\$$cacheid
   6144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6145 $as_echo "$supported" >&6; }
   6146 		if test "$supported" = "yes" ; then
   6147 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6148 			found="yes"
   6149 		fi
   6150 	fi
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 xorg_testset_save_CFLAGS="$CFLAGS"
   6167 
   6168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6173   $as_echo_n "(cached) " >&6
   6174 else
   6175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6176 /* end confdefs.h.  */
   6177 int i;
   6178 _ACEOF
   6179 if ac_fn_c_try_compile "$LINENO"; then :
   6180   xorg_cv_cc_flag_unknown_warning_option=yes
   6181 else
   6182   xorg_cv_cc_flag_unknown_warning_option=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6185 fi
   6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6189 	CFLAGS="$xorg_testset_save_CFLAGS"
   6190 fi
   6191 
   6192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6195 	fi
   6196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6200   $as_echo_n "(cached) " >&6
   6201 else
   6202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6203 /* end confdefs.h.  */
   6204 int i;
   6205 _ACEOF
   6206 if ac_fn_c_try_compile "$LINENO"; then :
   6207   xorg_cv_cc_flag_unused_command_line_argument=yes
   6208 else
   6209   xorg_cv_cc_flag_unused_command_line_argument=no
   6210 fi
   6211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6212 fi
   6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6216 	CFLAGS="$xorg_testset_save_CFLAGS"
   6217 fi
   6218 
   6219 found="no"
   6220 
   6221 	if test $found = "no" ; then
   6222 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6224 		fi
   6225 
   6226 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6228 		fi
   6229 
   6230 		CFLAGS="$CFLAGS -Wshadow"
   6231 
   6232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6233 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6234 		cacheid=xorg_cv_cc_flag__Wshadow
   6235 		if eval \${$cacheid+:} false; then :
   6236   $as_echo_n "(cached) " >&6
   6237 else
   6238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6239 /* end confdefs.h.  */
   6240 int i;
   6241 int
   6242 main ()
   6243 {
   6244 
   6245   ;
   6246   return 0;
   6247 }
   6248 _ACEOF
   6249 if ac_fn_c_try_link "$LINENO"; then :
   6250   eval $cacheid=yes
   6251 else
   6252   eval $cacheid=no
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext \
   6255     conftest$ac_exeext conftest.$ac_ext
   6256 fi
   6257 
   6258 
   6259 		CFLAGS="$xorg_testset_save_CFLAGS"
   6260 
   6261 		eval supported=\$$cacheid
   6262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6263 $as_echo "$supported" >&6; }
   6264 		if test "$supported" = "yes" ; then
   6265 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6266 			found="yes"
   6267 		fi
   6268 	fi
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 xorg_testset_save_CFLAGS="$CFLAGS"
   6285 
   6286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6291   $as_echo_n "(cached) " >&6
   6292 else
   6293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6294 /* end confdefs.h.  */
   6295 int i;
   6296 _ACEOF
   6297 if ac_fn_c_try_compile "$LINENO"; then :
   6298   xorg_cv_cc_flag_unknown_warning_option=yes
   6299 else
   6300   xorg_cv_cc_flag_unknown_warning_option=no
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6303 fi
   6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6307 	CFLAGS="$xorg_testset_save_CFLAGS"
   6308 fi
   6309 
   6310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6313 	fi
   6314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6318   $as_echo_n "(cached) " >&6
   6319 else
   6320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6321 /* end confdefs.h.  */
   6322 int i;
   6323 _ACEOF
   6324 if ac_fn_c_try_compile "$LINENO"; then :
   6325   xorg_cv_cc_flag_unused_command_line_argument=yes
   6326 else
   6327   xorg_cv_cc_flag_unused_command_line_argument=no
   6328 fi
   6329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6330 fi
   6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6334 	CFLAGS="$xorg_testset_save_CFLAGS"
   6335 fi
   6336 
   6337 found="no"
   6338 
   6339 	if test $found = "no" ; then
   6340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6342 		fi
   6343 
   6344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6346 		fi
   6347 
   6348 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6349 
   6350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6351 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6352 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6353 		if eval \${$cacheid+:} false; then :
   6354   $as_echo_n "(cached) " >&6
   6355 else
   6356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6357 /* end confdefs.h.  */
   6358 int i;
   6359 int
   6360 main ()
   6361 {
   6362 
   6363   ;
   6364   return 0;
   6365 }
   6366 _ACEOF
   6367 if ac_fn_c_try_link "$LINENO"; then :
   6368   eval $cacheid=yes
   6369 else
   6370   eval $cacheid=no
   6371 fi
   6372 rm -f core conftest.err conftest.$ac_objext \
   6373     conftest$ac_exeext conftest.$ac_ext
   6374 fi
   6375 
   6376 
   6377 		CFLAGS="$xorg_testset_save_CFLAGS"
   6378 
   6379 		eval supported=\$$cacheid
   6380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6381 $as_echo "$supported" >&6; }
   6382 		if test "$supported" = "yes" ; then
   6383 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6384 			found="yes"
   6385 		fi
   6386 	fi
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 xorg_testset_save_CFLAGS="$CFLAGS"
   6403 
   6404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6409   $as_echo_n "(cached) " >&6
   6410 else
   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"; then :
   6416   xorg_cv_cc_flag_unknown_warning_option=yes
   6417 else
   6418   xorg_cv_cc_flag_unknown_warning_option=no
   6419 fi
   6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6421 fi
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6425 	CFLAGS="$xorg_testset_save_CFLAGS"
   6426 fi
   6427 
   6428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6431 	fi
   6432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6436   $as_echo_n "(cached) " >&6
   6437 else
   6438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6439 /* end confdefs.h.  */
   6440 int i;
   6441 _ACEOF
   6442 if ac_fn_c_try_compile "$LINENO"; then :
   6443   xorg_cv_cc_flag_unused_command_line_argument=yes
   6444 else
   6445   xorg_cv_cc_flag_unused_command_line_argument=no
   6446 fi
   6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6448 fi
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6452 	CFLAGS="$xorg_testset_save_CFLAGS"
   6453 fi
   6454 
   6455 found="no"
   6456 
   6457 	if test $found = "no" ; then
   6458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6460 		fi
   6461 
   6462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6464 		fi
   6465 
   6466 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6467 
   6468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6469 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6470 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6471 		if eval \${$cacheid+:} false; then :
   6472   $as_echo_n "(cached) " >&6
   6473 else
   6474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6475 /* end confdefs.h.  */
   6476 int i;
   6477 int
   6478 main ()
   6479 {
   6480 
   6481   ;
   6482   return 0;
   6483 }
   6484 _ACEOF
   6485 if ac_fn_c_try_link "$LINENO"; then :
   6486   eval $cacheid=yes
   6487 else
   6488   eval $cacheid=no
   6489 fi
   6490 rm -f core conftest.err conftest.$ac_objext \
   6491     conftest$ac_exeext conftest.$ac_ext
   6492 fi
   6493 
   6494 
   6495 		CFLAGS="$xorg_testset_save_CFLAGS"
   6496 
   6497 		eval supported=\$$cacheid
   6498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6499 $as_echo "$supported" >&6; }
   6500 		if test "$supported" = "yes" ; then
   6501 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6502 			found="yes"
   6503 		fi
   6504 	fi
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 xorg_testset_save_CFLAGS="$CFLAGS"
   6521 
   6522 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6523 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6525 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6526 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6527   $as_echo_n "(cached) " >&6
   6528 else
   6529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6530 /* end confdefs.h.  */
   6531 int i;
   6532 _ACEOF
   6533 if ac_fn_c_try_compile "$LINENO"; then :
   6534   xorg_cv_cc_flag_unknown_warning_option=yes
   6535 else
   6536   xorg_cv_cc_flag_unknown_warning_option=no
   6537 fi
   6538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6539 fi
   6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6541 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6543 	CFLAGS="$xorg_testset_save_CFLAGS"
   6544 fi
   6545 
   6546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6549 	fi
   6550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6552 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6553 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6554   $as_echo_n "(cached) " >&6
   6555 else
   6556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6557 /* end confdefs.h.  */
   6558 int i;
   6559 _ACEOF
   6560 if ac_fn_c_try_compile "$LINENO"; then :
   6561   xorg_cv_cc_flag_unused_command_line_argument=yes
   6562 else
   6563   xorg_cv_cc_flag_unused_command_line_argument=no
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6566 fi
   6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6568 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6570 	CFLAGS="$xorg_testset_save_CFLAGS"
   6571 fi
   6572 
   6573 found="no"
   6574 
   6575 	if test $found = "no" ; then
   6576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 		fi
   6579 
   6580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6582 		fi
   6583 
   6584 		CFLAGS="$CFLAGS -Wredundant-decls"
   6585 
   6586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6587 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6588 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6589 		if eval \${$cacheid+:} false; then :
   6590   $as_echo_n "(cached) " >&6
   6591 else
   6592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6593 /* end confdefs.h.  */
   6594 int i;
   6595 int
   6596 main ()
   6597 {
   6598 
   6599   ;
   6600   return 0;
   6601 }
   6602 _ACEOF
   6603 if ac_fn_c_try_link "$LINENO"; then :
   6604   eval $cacheid=yes
   6605 else
   6606   eval $cacheid=no
   6607 fi
   6608 rm -f core conftest.err conftest.$ac_objext \
   6609     conftest$ac_exeext conftest.$ac_ext
   6610 fi
   6611 
   6612 
   6613 		CFLAGS="$xorg_testset_save_CFLAGS"
   6614 
   6615 		eval supported=\$$cacheid
   6616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6617 $as_echo "$supported" >&6; }
   6618 		if test "$supported" = "yes" ; then
   6619 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6620 			found="yes"
   6621 		fi
   6622 	fi
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 xorg_testset_save_CFLAGS="$CFLAGS"
   6639 
   6640 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6641 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6643 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6644 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6645   $as_echo_n "(cached) " >&6
   6646 else
   6647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6648 /* end confdefs.h.  */
   6649 int i;
   6650 _ACEOF
   6651 if ac_fn_c_try_compile "$LINENO"; then :
   6652   xorg_cv_cc_flag_unknown_warning_option=yes
   6653 else
   6654   xorg_cv_cc_flag_unknown_warning_option=no
   6655 fi
   6656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6657 fi
   6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6659 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6661 	CFLAGS="$xorg_testset_save_CFLAGS"
   6662 fi
   6663 
   6664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6667 	fi
   6668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6670 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6671 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6672   $as_echo_n "(cached) " >&6
   6673 else
   6674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6675 /* end confdefs.h.  */
   6676 int i;
   6677 _ACEOF
   6678 if ac_fn_c_try_compile "$LINENO"; then :
   6679   xorg_cv_cc_flag_unused_command_line_argument=yes
   6680 else
   6681   xorg_cv_cc_flag_unused_command_line_argument=no
   6682 fi
   6683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6684 fi
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6686 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6688 	CFLAGS="$xorg_testset_save_CFLAGS"
   6689 fi
   6690 
   6691 found="no"
   6692 
   6693 	if test $found = "no" ; then
   6694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6696 		fi
   6697 
   6698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6700 		fi
   6701 
   6702 		CFLAGS="$CFLAGS -Wlogical-op"
   6703 
   6704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6705 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6706 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6707 		if eval \${$cacheid+:} false; then :
   6708   $as_echo_n "(cached) " >&6
   6709 else
   6710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6711 /* end confdefs.h.  */
   6712 int i;
   6713 int
   6714 main ()
   6715 {
   6716 
   6717   ;
   6718   return 0;
   6719 }
   6720 _ACEOF
   6721 if ac_fn_c_try_link "$LINENO"; then :
   6722   eval $cacheid=yes
   6723 else
   6724   eval $cacheid=no
   6725 fi
   6726 rm -f core conftest.err conftest.$ac_objext \
   6727     conftest$ac_exeext conftest.$ac_ext
   6728 fi
   6729 
   6730 
   6731 		CFLAGS="$xorg_testset_save_CFLAGS"
   6732 
   6733 		eval supported=\$$cacheid
   6734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6735 $as_echo "$supported" >&6; }
   6736 		if test "$supported" = "yes" ; then
   6737 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6738 			found="yes"
   6739 		fi
   6740 	fi
   6741 
   6742 
   6743 
   6744 # These are currently disabled because they are noisy.  They will be enabled
   6745 # in the future once the codebase is sufficiently modernized to silence
   6746 # them.  For now, I don't want them to drown out the other warnings.
   6747 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6748 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6749 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6750 
   6751 # Turn some warnings into errors, so we don't accidently get successful builds
   6752 # when there are problems that should be fixed.
   6753 
   6754 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 xorg_testset_save_CFLAGS="$CFLAGS"
   6769 
   6770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6775   $as_echo_n "(cached) " >&6
   6776 else
   6777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6778 /* end confdefs.h.  */
   6779 int i;
   6780 _ACEOF
   6781 if ac_fn_c_try_compile "$LINENO"; then :
   6782   xorg_cv_cc_flag_unknown_warning_option=yes
   6783 else
   6784   xorg_cv_cc_flag_unknown_warning_option=no
   6785 fi
   6786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6787 fi
   6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6791 	CFLAGS="$xorg_testset_save_CFLAGS"
   6792 fi
   6793 
   6794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 	fi
   6798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6802   $as_echo_n "(cached) " >&6
   6803 else
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 _ACEOF
   6808 if ac_fn_c_try_compile "$LINENO"; then :
   6809   xorg_cv_cc_flag_unused_command_line_argument=yes
   6810 else
   6811   xorg_cv_cc_flag_unused_command_line_argument=no
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6814 fi
   6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6818 	CFLAGS="$xorg_testset_save_CFLAGS"
   6819 fi
   6820 
   6821 found="no"
   6822 
   6823 	if test $found = "no" ; then
   6824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6826 		fi
   6827 
   6828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6830 		fi
   6831 
   6832 		CFLAGS="$CFLAGS -Werror=implicit"
   6833 
   6834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6835 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6836 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6837 		if eval \${$cacheid+:} false; then :
   6838   $as_echo_n "(cached) " >&6
   6839 else
   6840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6841 /* end confdefs.h.  */
   6842 int i;
   6843 int
   6844 main ()
   6845 {
   6846 
   6847   ;
   6848   return 0;
   6849 }
   6850 _ACEOF
   6851 if ac_fn_c_try_link "$LINENO"; then :
   6852   eval $cacheid=yes
   6853 else
   6854   eval $cacheid=no
   6855 fi
   6856 rm -f core conftest.err conftest.$ac_objext \
   6857     conftest$ac_exeext conftest.$ac_ext
   6858 fi
   6859 
   6860 
   6861 		CFLAGS="$xorg_testset_save_CFLAGS"
   6862 
   6863 		eval supported=\$$cacheid
   6864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6865 $as_echo "$supported" >&6; }
   6866 		if test "$supported" = "yes" ; then
   6867 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6868 			found="yes"
   6869 		fi
   6870 	fi
   6871 
   6872 	if test $found = "no" ; then
   6873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6875 		fi
   6876 
   6877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6879 		fi
   6880 
   6881 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6882 
   6883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6884 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6885 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6886 		if eval \${$cacheid+:} false; then :
   6887   $as_echo_n "(cached) " >&6
   6888 else
   6889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6890 /* end confdefs.h.  */
   6891 int i;
   6892 int
   6893 main ()
   6894 {
   6895 
   6896   ;
   6897   return 0;
   6898 }
   6899 _ACEOF
   6900 if ac_fn_c_try_link "$LINENO"; then :
   6901   eval $cacheid=yes
   6902 else
   6903   eval $cacheid=no
   6904 fi
   6905 rm -f core conftest.err conftest.$ac_objext \
   6906     conftest$ac_exeext conftest.$ac_ext
   6907 fi
   6908 
   6909 
   6910 		CFLAGS="$xorg_testset_save_CFLAGS"
   6911 
   6912 		eval supported=\$$cacheid
   6913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6914 $as_echo "$supported" >&6; }
   6915 		if test "$supported" = "yes" ; then
   6916 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6917 			found="yes"
   6918 		fi
   6919 	fi
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 xorg_testset_save_CFLAGS="$CFLAGS"
   6936 
   6937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6945 /* end confdefs.h.  */
   6946 int i;
   6947 _ACEOF
   6948 if ac_fn_c_try_compile "$LINENO"; then :
   6949   xorg_cv_cc_flag_unknown_warning_option=yes
   6950 else
   6951   xorg_cv_cc_flag_unknown_warning_option=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6954 fi
   6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6958 	CFLAGS="$xorg_testset_save_CFLAGS"
   6959 fi
   6960 
   6961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6964 	fi
   6965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6969   $as_echo_n "(cached) " >&6
   6970 else
   6971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6972 /* end confdefs.h.  */
   6973 int i;
   6974 _ACEOF
   6975 if ac_fn_c_try_compile "$LINENO"; then :
   6976   xorg_cv_cc_flag_unused_command_line_argument=yes
   6977 else
   6978   xorg_cv_cc_flag_unused_command_line_argument=no
   6979 fi
   6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6981 fi
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6985 	CFLAGS="$xorg_testset_save_CFLAGS"
   6986 fi
   6987 
   6988 found="no"
   6989 
   6990 	if test $found = "no" ; then
   6991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6993 		fi
   6994 
   6995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6997 		fi
   6998 
   6999 		CFLAGS="$CFLAGS -Werror=nonnull"
   7000 
   7001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7002 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7003 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7004 		if eval \${$cacheid+:} false; then :
   7005   $as_echo_n "(cached) " >&6
   7006 else
   7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7008 /* end confdefs.h.  */
   7009 int i;
   7010 int
   7011 main ()
   7012 {
   7013 
   7014   ;
   7015   return 0;
   7016 }
   7017 _ACEOF
   7018 if ac_fn_c_try_link "$LINENO"; then :
   7019   eval $cacheid=yes
   7020 else
   7021   eval $cacheid=no
   7022 fi
   7023 rm -f core conftest.err conftest.$ac_objext \
   7024     conftest$ac_exeext conftest.$ac_ext
   7025 fi
   7026 
   7027 
   7028 		CFLAGS="$xorg_testset_save_CFLAGS"
   7029 
   7030 		eval supported=\$$cacheid
   7031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7032 $as_echo "$supported" >&6; }
   7033 		if test "$supported" = "yes" ; then
   7034 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7035 			found="yes"
   7036 		fi
   7037 	fi
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 xorg_testset_save_CFLAGS="$CFLAGS"
   7054 
   7055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7058 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7059 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7060   $as_echo_n "(cached) " >&6
   7061 else
   7062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7063 /* end confdefs.h.  */
   7064 int i;
   7065 _ACEOF
   7066 if ac_fn_c_try_compile "$LINENO"; then :
   7067   xorg_cv_cc_flag_unknown_warning_option=yes
   7068 else
   7069   xorg_cv_cc_flag_unknown_warning_option=no
   7070 fi
   7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7072 fi
   7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7074 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7076 	CFLAGS="$xorg_testset_save_CFLAGS"
   7077 fi
   7078 
   7079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7082 	fi
   7083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7085 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7086 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7087   $as_echo_n "(cached) " >&6
   7088 else
   7089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7090 /* end confdefs.h.  */
   7091 int i;
   7092 _ACEOF
   7093 if ac_fn_c_try_compile "$LINENO"; then :
   7094   xorg_cv_cc_flag_unused_command_line_argument=yes
   7095 else
   7096   xorg_cv_cc_flag_unused_command_line_argument=no
   7097 fi
   7098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7099 fi
   7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7101 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7103 	CFLAGS="$xorg_testset_save_CFLAGS"
   7104 fi
   7105 
   7106 found="no"
   7107 
   7108 	if test $found = "no" ; then
   7109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7111 		fi
   7112 
   7113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7115 		fi
   7116 
   7117 		CFLAGS="$CFLAGS -Werror=init-self"
   7118 
   7119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7120 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7121 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7122 		if eval \${$cacheid+:} false; then :
   7123   $as_echo_n "(cached) " >&6
   7124 else
   7125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7126 /* end confdefs.h.  */
   7127 int i;
   7128 int
   7129 main ()
   7130 {
   7131 
   7132   ;
   7133   return 0;
   7134 }
   7135 _ACEOF
   7136 if ac_fn_c_try_link "$LINENO"; then :
   7137   eval $cacheid=yes
   7138 else
   7139   eval $cacheid=no
   7140 fi
   7141 rm -f core conftest.err conftest.$ac_objext \
   7142     conftest$ac_exeext conftest.$ac_ext
   7143 fi
   7144 
   7145 
   7146 		CFLAGS="$xorg_testset_save_CFLAGS"
   7147 
   7148 		eval supported=\$$cacheid
   7149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7150 $as_echo "$supported" >&6; }
   7151 		if test "$supported" = "yes" ; then
   7152 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7153 			found="yes"
   7154 		fi
   7155 	fi
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 xorg_testset_save_CFLAGS="$CFLAGS"
   7172 
   7173 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7174 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7176 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7177 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 _ACEOF
   7184 if ac_fn_c_try_compile "$LINENO"; then :
   7185   xorg_cv_cc_flag_unknown_warning_option=yes
   7186 else
   7187   xorg_cv_cc_flag_unknown_warning_option=no
   7188 fi
   7189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7190 fi
   7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7192 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7194 	CFLAGS="$xorg_testset_save_CFLAGS"
   7195 fi
   7196 
   7197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7200 	fi
   7201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7203 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7204 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7205   $as_echo_n "(cached) " >&6
   7206 else
   7207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7208 /* end confdefs.h.  */
   7209 int i;
   7210 _ACEOF
   7211 if ac_fn_c_try_compile "$LINENO"; then :
   7212   xorg_cv_cc_flag_unused_command_line_argument=yes
   7213 else
   7214   xorg_cv_cc_flag_unused_command_line_argument=no
   7215 fi
   7216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7217 fi
   7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7219 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7221 	CFLAGS="$xorg_testset_save_CFLAGS"
   7222 fi
   7223 
   7224 found="no"
   7225 
   7226 	if test $found = "no" ; then
   7227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7229 		fi
   7230 
   7231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7233 		fi
   7234 
   7235 		CFLAGS="$CFLAGS -Werror=main"
   7236 
   7237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7238 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7239 		cacheid=xorg_cv_cc_flag__Werror_main
   7240 		if eval \${$cacheid+:} false; then :
   7241   $as_echo_n "(cached) " >&6
   7242 else
   7243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7244 /* end confdefs.h.  */
   7245 int i;
   7246 int
   7247 main ()
   7248 {
   7249 
   7250   ;
   7251   return 0;
   7252 }
   7253 _ACEOF
   7254 if ac_fn_c_try_link "$LINENO"; then :
   7255   eval $cacheid=yes
   7256 else
   7257   eval $cacheid=no
   7258 fi
   7259 rm -f core conftest.err conftest.$ac_objext \
   7260     conftest$ac_exeext conftest.$ac_ext
   7261 fi
   7262 
   7263 
   7264 		CFLAGS="$xorg_testset_save_CFLAGS"
   7265 
   7266 		eval supported=\$$cacheid
   7267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7268 $as_echo "$supported" >&6; }
   7269 		if test "$supported" = "yes" ; then
   7270 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7271 			found="yes"
   7272 		fi
   7273 	fi
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 xorg_testset_save_CFLAGS="$CFLAGS"
   7290 
   7291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7294 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7295 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7296   $as_echo_n "(cached) " >&6
   7297 else
   7298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7299 /* end confdefs.h.  */
   7300 int i;
   7301 _ACEOF
   7302 if ac_fn_c_try_compile "$LINENO"; then :
   7303   xorg_cv_cc_flag_unknown_warning_option=yes
   7304 else
   7305   xorg_cv_cc_flag_unknown_warning_option=no
   7306 fi
   7307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7308 fi
   7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7310 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7312 	CFLAGS="$xorg_testset_save_CFLAGS"
   7313 fi
   7314 
   7315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7318 	fi
   7319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7322 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7323   $as_echo_n "(cached) " >&6
   7324 else
   7325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7326 /* end confdefs.h.  */
   7327 int i;
   7328 _ACEOF
   7329 if ac_fn_c_try_compile "$LINENO"; then :
   7330   xorg_cv_cc_flag_unused_command_line_argument=yes
   7331 else
   7332   xorg_cv_cc_flag_unused_command_line_argument=no
   7333 fi
   7334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7335 fi
   7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7337 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7339 	CFLAGS="$xorg_testset_save_CFLAGS"
   7340 fi
   7341 
   7342 found="no"
   7343 
   7344 	if test $found = "no" ; then
   7345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7347 		fi
   7348 
   7349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7351 		fi
   7352 
   7353 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7354 
   7355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7356 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7357 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7358 		if eval \${$cacheid+:} false; then :
   7359   $as_echo_n "(cached) " >&6
   7360 else
   7361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7362 /* end confdefs.h.  */
   7363 int i;
   7364 int
   7365 main ()
   7366 {
   7367 
   7368   ;
   7369   return 0;
   7370 }
   7371 _ACEOF
   7372 if ac_fn_c_try_link "$LINENO"; then :
   7373   eval $cacheid=yes
   7374 else
   7375   eval $cacheid=no
   7376 fi
   7377 rm -f core conftest.err conftest.$ac_objext \
   7378     conftest$ac_exeext conftest.$ac_ext
   7379 fi
   7380 
   7381 
   7382 		CFLAGS="$xorg_testset_save_CFLAGS"
   7383 
   7384 		eval supported=\$$cacheid
   7385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7386 $as_echo "$supported" >&6; }
   7387 		if test "$supported" = "yes" ; then
   7388 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7389 			found="yes"
   7390 		fi
   7391 	fi
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 xorg_testset_save_CFLAGS="$CFLAGS"
   7408 
   7409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7412 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7413 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7414   $as_echo_n "(cached) " >&6
   7415 else
   7416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7417 /* end confdefs.h.  */
   7418 int i;
   7419 _ACEOF
   7420 if ac_fn_c_try_compile "$LINENO"; then :
   7421   xorg_cv_cc_flag_unknown_warning_option=yes
   7422 else
   7423   xorg_cv_cc_flag_unknown_warning_option=no
   7424 fi
   7425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7426 fi
   7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7428 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7430 	CFLAGS="$xorg_testset_save_CFLAGS"
   7431 fi
   7432 
   7433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7436 	fi
   7437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7439 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7440 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7441   $as_echo_n "(cached) " >&6
   7442 else
   7443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7444 /* end confdefs.h.  */
   7445 int i;
   7446 _ACEOF
   7447 if ac_fn_c_try_compile "$LINENO"; then :
   7448   xorg_cv_cc_flag_unused_command_line_argument=yes
   7449 else
   7450   xorg_cv_cc_flag_unused_command_line_argument=no
   7451 fi
   7452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7453 fi
   7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7455 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7457 	CFLAGS="$xorg_testset_save_CFLAGS"
   7458 fi
   7459 
   7460 found="no"
   7461 
   7462 	if test $found = "no" ; then
   7463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7465 		fi
   7466 
   7467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7469 		fi
   7470 
   7471 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7472 
   7473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7474 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7475 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7476 		if eval \${$cacheid+:} false; then :
   7477   $as_echo_n "(cached) " >&6
   7478 else
   7479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7480 /* end confdefs.h.  */
   7481 int i;
   7482 int
   7483 main ()
   7484 {
   7485 
   7486   ;
   7487   return 0;
   7488 }
   7489 _ACEOF
   7490 if ac_fn_c_try_link "$LINENO"; then :
   7491   eval $cacheid=yes
   7492 else
   7493   eval $cacheid=no
   7494 fi
   7495 rm -f core conftest.err conftest.$ac_objext \
   7496     conftest$ac_exeext conftest.$ac_ext
   7497 fi
   7498 
   7499 
   7500 		CFLAGS="$xorg_testset_save_CFLAGS"
   7501 
   7502 		eval supported=\$$cacheid
   7503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7504 $as_echo "$supported" >&6; }
   7505 		if test "$supported" = "yes" ; then
   7506 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7507 			found="yes"
   7508 		fi
   7509 	fi
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 xorg_testset_save_CFLAGS="$CFLAGS"
   7526 
   7527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7530 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7531 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7532   $as_echo_n "(cached) " >&6
   7533 else
   7534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7535 /* end confdefs.h.  */
   7536 int i;
   7537 _ACEOF
   7538 if ac_fn_c_try_compile "$LINENO"; then :
   7539   xorg_cv_cc_flag_unknown_warning_option=yes
   7540 else
   7541   xorg_cv_cc_flag_unknown_warning_option=no
   7542 fi
   7543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7544 fi
   7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7546 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7548 	CFLAGS="$xorg_testset_save_CFLAGS"
   7549 fi
   7550 
   7551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7554 	fi
   7555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7557 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7558 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7559   $as_echo_n "(cached) " >&6
   7560 else
   7561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7562 /* end confdefs.h.  */
   7563 int i;
   7564 _ACEOF
   7565 if ac_fn_c_try_compile "$LINENO"; then :
   7566   xorg_cv_cc_flag_unused_command_line_argument=yes
   7567 else
   7568   xorg_cv_cc_flag_unused_command_line_argument=no
   7569 fi
   7570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7571 fi
   7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7573 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7575 	CFLAGS="$xorg_testset_save_CFLAGS"
   7576 fi
   7577 
   7578 found="no"
   7579 
   7580 	if test $found = "no" ; then
   7581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7583 		fi
   7584 
   7585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7587 		fi
   7588 
   7589 		CFLAGS="$CFLAGS -Werror=return-type"
   7590 
   7591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7592 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7593 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7594 		if eval \${$cacheid+:} false; then :
   7595   $as_echo_n "(cached) " >&6
   7596 else
   7597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7598 /* end confdefs.h.  */
   7599 int i;
   7600 int
   7601 main ()
   7602 {
   7603 
   7604   ;
   7605   return 0;
   7606 }
   7607 _ACEOF
   7608 if ac_fn_c_try_link "$LINENO"; then :
   7609   eval $cacheid=yes
   7610 else
   7611   eval $cacheid=no
   7612 fi
   7613 rm -f core conftest.err conftest.$ac_objext \
   7614     conftest$ac_exeext conftest.$ac_ext
   7615 fi
   7616 
   7617 
   7618 		CFLAGS="$xorg_testset_save_CFLAGS"
   7619 
   7620 		eval supported=\$$cacheid
   7621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7622 $as_echo "$supported" >&6; }
   7623 		if test "$supported" = "yes" ; then
   7624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7625 			found="yes"
   7626 		fi
   7627 	fi
   7628 
   7629 	if test $found = "no" ; then
   7630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7632 		fi
   7633 
   7634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7636 		fi
   7637 
   7638 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7639 
   7640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7641 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7642 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7643 		if eval \${$cacheid+:} false; then :
   7644   $as_echo_n "(cached) " >&6
   7645 else
   7646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7647 /* end confdefs.h.  */
   7648 int i;
   7649 int
   7650 main ()
   7651 {
   7652 
   7653   ;
   7654   return 0;
   7655 }
   7656 _ACEOF
   7657 if ac_fn_c_try_link "$LINENO"; then :
   7658   eval $cacheid=yes
   7659 else
   7660   eval $cacheid=no
   7661 fi
   7662 rm -f core conftest.err conftest.$ac_objext \
   7663     conftest$ac_exeext conftest.$ac_ext
   7664 fi
   7665 
   7666 
   7667 		CFLAGS="$xorg_testset_save_CFLAGS"
   7668 
   7669 		eval supported=\$$cacheid
   7670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7671 $as_echo "$supported" >&6; }
   7672 		if test "$supported" = "yes" ; then
   7673 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7674 			found="yes"
   7675 		fi
   7676 	fi
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 xorg_testset_save_CFLAGS="$CFLAGS"
   7693 
   7694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7699   $as_echo_n "(cached) " >&6
   7700 else
   7701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7702 /* end confdefs.h.  */
   7703 int i;
   7704 _ACEOF
   7705 if ac_fn_c_try_compile "$LINENO"; then :
   7706   xorg_cv_cc_flag_unknown_warning_option=yes
   7707 else
   7708   xorg_cv_cc_flag_unknown_warning_option=no
   7709 fi
   7710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7711 fi
   7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7715 	CFLAGS="$xorg_testset_save_CFLAGS"
   7716 fi
   7717 
   7718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7721 	fi
   7722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7726   $as_echo_n "(cached) " >&6
   7727 else
   7728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7729 /* end confdefs.h.  */
   7730 int i;
   7731 _ACEOF
   7732 if ac_fn_c_try_compile "$LINENO"; then :
   7733   xorg_cv_cc_flag_unused_command_line_argument=yes
   7734 else
   7735   xorg_cv_cc_flag_unused_command_line_argument=no
   7736 fi
   7737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7738 fi
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7742 	CFLAGS="$xorg_testset_save_CFLAGS"
   7743 fi
   7744 
   7745 found="no"
   7746 
   7747 	if test $found = "no" ; then
   7748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7750 		fi
   7751 
   7752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7754 		fi
   7755 
   7756 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7757 
   7758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7759 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7760 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7761 		if eval \${$cacheid+:} false; then :
   7762   $as_echo_n "(cached) " >&6
   7763 else
   7764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7765 /* end confdefs.h.  */
   7766 int i;
   7767 int
   7768 main ()
   7769 {
   7770 
   7771   ;
   7772   return 0;
   7773 }
   7774 _ACEOF
   7775 if ac_fn_c_try_link "$LINENO"; then :
   7776   eval $cacheid=yes
   7777 else
   7778   eval $cacheid=no
   7779 fi
   7780 rm -f core conftest.err conftest.$ac_objext \
   7781     conftest$ac_exeext conftest.$ac_ext
   7782 fi
   7783 
   7784 
   7785 		CFLAGS="$xorg_testset_save_CFLAGS"
   7786 
   7787 		eval supported=\$$cacheid
   7788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7789 $as_echo "$supported" >&6; }
   7790 		if test "$supported" = "yes" ; then
   7791 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7792 			found="yes"
   7793 		fi
   7794 	fi
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 xorg_testset_save_CFLAGS="$CFLAGS"
   7811 
   7812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7817   $as_echo_n "(cached) " >&6
   7818 else
   7819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 int i;
   7822 _ACEOF
   7823 if ac_fn_c_try_compile "$LINENO"; then :
   7824   xorg_cv_cc_flag_unknown_warning_option=yes
   7825 else
   7826   xorg_cv_cc_flag_unknown_warning_option=no
   7827 fi
   7828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7829 fi
   7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7833 	CFLAGS="$xorg_testset_save_CFLAGS"
   7834 fi
   7835 
   7836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7839 	fi
   7840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7844   $as_echo_n "(cached) " >&6
   7845 else
   7846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7847 /* end confdefs.h.  */
   7848 int i;
   7849 _ACEOF
   7850 if ac_fn_c_try_compile "$LINENO"; then :
   7851   xorg_cv_cc_flag_unused_command_line_argument=yes
   7852 else
   7853   xorg_cv_cc_flag_unused_command_line_argument=no
   7854 fi
   7855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7856 fi
   7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7860 	CFLAGS="$xorg_testset_save_CFLAGS"
   7861 fi
   7862 
   7863 found="no"
   7864 
   7865 	if test $found = "no" ; then
   7866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7868 		fi
   7869 
   7870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7872 		fi
   7873 
   7874 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7875 
   7876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7877 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7878 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7879 		if eval \${$cacheid+:} false; then :
   7880   $as_echo_n "(cached) " >&6
   7881 else
   7882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7883 /* end confdefs.h.  */
   7884 int i;
   7885 int
   7886 main ()
   7887 {
   7888 
   7889   ;
   7890   return 0;
   7891 }
   7892 _ACEOF
   7893 if ac_fn_c_try_link "$LINENO"; then :
   7894   eval $cacheid=yes
   7895 else
   7896   eval $cacheid=no
   7897 fi
   7898 rm -f core conftest.err conftest.$ac_objext \
   7899     conftest$ac_exeext conftest.$ac_ext
   7900 fi
   7901 
   7902 
   7903 		CFLAGS="$xorg_testset_save_CFLAGS"
   7904 
   7905 		eval supported=\$$cacheid
   7906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7907 $as_echo "$supported" >&6; }
   7908 		if test "$supported" = "yes" ; then
   7909 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7910 			found="yes"
   7911 		fi
   7912 	fi
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 xorg_testset_save_CFLAGS="$CFLAGS"
   7929 
   7930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7938 /* end confdefs.h.  */
   7939 int i;
   7940 _ACEOF
   7941 if ac_fn_c_try_compile "$LINENO"; then :
   7942   xorg_cv_cc_flag_unknown_warning_option=yes
   7943 else
   7944   xorg_cv_cc_flag_unknown_warning_option=no
   7945 fi
   7946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7947 fi
   7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7951 	CFLAGS="$xorg_testset_save_CFLAGS"
   7952 fi
   7953 
   7954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7957 	fi
   7958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7962   $as_echo_n "(cached) " >&6
   7963 else
   7964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7965 /* end confdefs.h.  */
   7966 int i;
   7967 _ACEOF
   7968 if ac_fn_c_try_compile "$LINENO"; then :
   7969   xorg_cv_cc_flag_unused_command_line_argument=yes
   7970 else
   7971   xorg_cv_cc_flag_unused_command_line_argument=no
   7972 fi
   7973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7974 fi
   7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7978 	CFLAGS="$xorg_testset_save_CFLAGS"
   7979 fi
   7980 
   7981 found="no"
   7982 
   7983 	if test $found = "no" ; then
   7984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7986 		fi
   7987 
   7988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7990 		fi
   7991 
   7992 		CFLAGS="$CFLAGS -Werror=write-strings"
   7993 
   7994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7995 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7996 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   7997 		if eval \${$cacheid+:} false; then :
   7998   $as_echo_n "(cached) " >&6
   7999 else
   8000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8001 /* end confdefs.h.  */
   8002 int i;
   8003 int
   8004 main ()
   8005 {
   8006 
   8007   ;
   8008   return 0;
   8009 }
   8010 _ACEOF
   8011 if ac_fn_c_try_link "$LINENO"; then :
   8012   eval $cacheid=yes
   8013 else
   8014   eval $cacheid=no
   8015 fi
   8016 rm -f core conftest.err conftest.$ac_objext \
   8017     conftest$ac_exeext conftest.$ac_ext
   8018 fi
   8019 
   8020 
   8021 		CFLAGS="$xorg_testset_save_CFLAGS"
   8022 
   8023 		eval supported=\$$cacheid
   8024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8025 $as_echo "$supported" >&6; }
   8026 		if test "$supported" = "yes" ; then
   8027 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8028 			found="yes"
   8029 		fi
   8030 	fi
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 xorg_testset_save_CFLAGS="$CFLAGS"
   8047 
   8048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8053   $as_echo_n "(cached) " >&6
   8054 else
   8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8056 /* end confdefs.h.  */
   8057 int i;
   8058 _ACEOF
   8059 if ac_fn_c_try_compile "$LINENO"; then :
   8060   xorg_cv_cc_flag_unknown_warning_option=yes
   8061 else
   8062   xorg_cv_cc_flag_unknown_warning_option=no
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8065 fi
   8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8069 	CFLAGS="$xorg_testset_save_CFLAGS"
   8070 fi
   8071 
   8072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 	fi
   8076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8080   $as_echo_n "(cached) " >&6
   8081 else
   8082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8083 /* end confdefs.h.  */
   8084 int i;
   8085 _ACEOF
   8086 if ac_fn_c_try_compile "$LINENO"; then :
   8087   xorg_cv_cc_flag_unused_command_line_argument=yes
   8088 else
   8089   xorg_cv_cc_flag_unused_command_line_argument=no
   8090 fi
   8091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8092 fi
   8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8096 	CFLAGS="$xorg_testset_save_CFLAGS"
   8097 fi
   8098 
   8099 found="no"
   8100 
   8101 	if test $found = "no" ; then
   8102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8104 		fi
   8105 
   8106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8108 		fi
   8109 
   8110 		CFLAGS="$CFLAGS -Werror=address"
   8111 
   8112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8113 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8114 		cacheid=xorg_cv_cc_flag__Werror_address
   8115 		if eval \${$cacheid+:} false; then :
   8116   $as_echo_n "(cached) " >&6
   8117 else
   8118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8119 /* end confdefs.h.  */
   8120 int i;
   8121 int
   8122 main ()
   8123 {
   8124 
   8125   ;
   8126   return 0;
   8127 }
   8128 _ACEOF
   8129 if ac_fn_c_try_link "$LINENO"; then :
   8130   eval $cacheid=yes
   8131 else
   8132   eval $cacheid=no
   8133 fi
   8134 rm -f core conftest.err conftest.$ac_objext \
   8135     conftest$ac_exeext conftest.$ac_ext
   8136 fi
   8137 
   8138 
   8139 		CFLAGS="$xorg_testset_save_CFLAGS"
   8140 
   8141 		eval supported=\$$cacheid
   8142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8143 $as_echo "$supported" >&6; }
   8144 		if test "$supported" = "yes" ; then
   8145 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8146 			found="yes"
   8147 		fi
   8148 	fi
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 xorg_testset_save_CFLAGS="$CFLAGS"
   8165 
   8166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8171   $as_echo_n "(cached) " >&6
   8172 else
   8173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8174 /* end confdefs.h.  */
   8175 int i;
   8176 _ACEOF
   8177 if ac_fn_c_try_compile "$LINENO"; then :
   8178   xorg_cv_cc_flag_unknown_warning_option=yes
   8179 else
   8180   xorg_cv_cc_flag_unknown_warning_option=no
   8181 fi
   8182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8183 fi
   8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8187 	CFLAGS="$xorg_testset_save_CFLAGS"
   8188 fi
   8189 
   8190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8193 	fi
   8194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8198   $as_echo_n "(cached) " >&6
   8199 else
   8200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8201 /* end confdefs.h.  */
   8202 int i;
   8203 _ACEOF
   8204 if ac_fn_c_try_compile "$LINENO"; then :
   8205   xorg_cv_cc_flag_unused_command_line_argument=yes
   8206 else
   8207   xorg_cv_cc_flag_unused_command_line_argument=no
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8210 fi
   8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8214 	CFLAGS="$xorg_testset_save_CFLAGS"
   8215 fi
   8216 
   8217 found="no"
   8218 
   8219 	if test $found = "no" ; then
   8220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 		fi
   8223 
   8224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8226 		fi
   8227 
   8228 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8229 
   8230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8231 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8232 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8233 		if eval \${$cacheid+:} false; then :
   8234   $as_echo_n "(cached) " >&6
   8235 else
   8236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8237 /* end confdefs.h.  */
   8238 int i;
   8239 int
   8240 main ()
   8241 {
   8242 
   8243   ;
   8244   return 0;
   8245 }
   8246 _ACEOF
   8247 if ac_fn_c_try_link "$LINENO"; then :
   8248   eval $cacheid=yes
   8249 else
   8250   eval $cacheid=no
   8251 fi
   8252 rm -f core conftest.err conftest.$ac_objext \
   8253     conftest$ac_exeext conftest.$ac_ext
   8254 fi
   8255 
   8256 
   8257 		CFLAGS="$xorg_testset_save_CFLAGS"
   8258 
   8259 		eval supported=\$$cacheid
   8260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8261 $as_echo "$supported" >&6; }
   8262 		if test "$supported" = "yes" ; then
   8263 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8264 			found="yes"
   8265 		fi
   8266 	fi
   8267 
   8268 	if test $found = "no" ; then
   8269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8271 		fi
   8272 
   8273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8275 		fi
   8276 
   8277 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8278 
   8279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8280 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8281 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8282 		if eval \${$cacheid+:} false; then :
   8283   $as_echo_n "(cached) " >&6
   8284 else
   8285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8286 /* end confdefs.h.  */
   8287 int i;
   8288 int
   8289 main ()
   8290 {
   8291 
   8292   ;
   8293   return 0;
   8294 }
   8295 _ACEOF
   8296 if ac_fn_c_try_link "$LINENO"; then :
   8297   eval $cacheid=yes
   8298 else
   8299   eval $cacheid=no
   8300 fi
   8301 rm -f core conftest.err conftest.$ac_objext \
   8302     conftest$ac_exeext conftest.$ac_ext
   8303 fi
   8304 
   8305 
   8306 		CFLAGS="$xorg_testset_save_CFLAGS"
   8307 
   8308 		eval supported=\$$cacheid
   8309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8310 $as_echo "$supported" >&6; }
   8311 		if test "$supported" = "yes" ; then
   8312 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8313 			found="yes"
   8314 		fi
   8315 	fi
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 xorg_testset_save_CFLAGS="$CFLAGS"
   8332 
   8333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8336 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8337 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8338   $as_echo_n "(cached) " >&6
   8339 else
   8340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8341 /* end confdefs.h.  */
   8342 int i;
   8343 _ACEOF
   8344 if ac_fn_c_try_compile "$LINENO"; then :
   8345   xorg_cv_cc_flag_unknown_warning_option=yes
   8346 else
   8347   xorg_cv_cc_flag_unknown_warning_option=no
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8350 fi
   8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8352 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8354 	CFLAGS="$xorg_testset_save_CFLAGS"
   8355 fi
   8356 
   8357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8360 	fi
   8361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8363 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8364 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8365   $as_echo_n "(cached) " >&6
   8366 else
   8367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8368 /* end confdefs.h.  */
   8369 int i;
   8370 _ACEOF
   8371 if ac_fn_c_try_compile "$LINENO"; then :
   8372   xorg_cv_cc_flag_unused_command_line_argument=yes
   8373 else
   8374   xorg_cv_cc_flag_unused_command_line_argument=no
   8375 fi
   8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8377 fi
   8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8379 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8381 	CFLAGS="$xorg_testset_save_CFLAGS"
   8382 fi
   8383 
   8384 found="no"
   8385 
   8386 	if test $found = "no" ; then
   8387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8389 		fi
   8390 
   8391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8393 		fi
   8394 
   8395 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8396 
   8397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8398 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8399 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8400 		if eval \${$cacheid+:} false; then :
   8401   $as_echo_n "(cached) " >&6
   8402 else
   8403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8404 /* end confdefs.h.  */
   8405 int i;
   8406 int
   8407 main ()
   8408 {
   8409 
   8410   ;
   8411   return 0;
   8412 }
   8413 _ACEOF
   8414 if ac_fn_c_try_link "$LINENO"; then :
   8415   eval $cacheid=yes
   8416 else
   8417   eval $cacheid=no
   8418 fi
   8419 rm -f core conftest.err conftest.$ac_objext \
   8420     conftest$ac_exeext conftest.$ac_ext
   8421 fi
   8422 
   8423 
   8424 		CFLAGS="$xorg_testset_save_CFLAGS"
   8425 
   8426 		eval supported=\$$cacheid
   8427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8428 $as_echo "$supported" >&6; }
   8429 		if test "$supported" = "yes" ; then
   8430 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8431 			found="yes"
   8432 		fi
   8433 	fi
   8434 
   8435  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8436 else
   8437 { $as_echo "$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
   8438 $as_echo "$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;}
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 xorg_testset_save_CFLAGS="$CFLAGS"
   8453 
   8454 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8455 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8457 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8458 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8459   $as_echo_n "(cached) " >&6
   8460 else
   8461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8462 /* end confdefs.h.  */
   8463 int i;
   8464 _ACEOF
   8465 if ac_fn_c_try_compile "$LINENO"; then :
   8466   xorg_cv_cc_flag_unknown_warning_option=yes
   8467 else
   8468   xorg_cv_cc_flag_unknown_warning_option=no
   8469 fi
   8470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8471 fi
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8473 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8475 	CFLAGS="$xorg_testset_save_CFLAGS"
   8476 fi
   8477 
   8478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8481 	fi
   8482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8484 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8485 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8486   $as_echo_n "(cached) " >&6
   8487 else
   8488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8489 /* end confdefs.h.  */
   8490 int i;
   8491 _ACEOF
   8492 if ac_fn_c_try_compile "$LINENO"; then :
   8493   xorg_cv_cc_flag_unused_command_line_argument=yes
   8494 else
   8495   xorg_cv_cc_flag_unused_command_line_argument=no
   8496 fi
   8497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8498 fi
   8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8500 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8502 	CFLAGS="$xorg_testset_save_CFLAGS"
   8503 fi
   8504 
   8505 found="no"
   8506 
   8507 	if test $found = "no" ; then
   8508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8510 		fi
   8511 
   8512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8514 		fi
   8515 
   8516 		CFLAGS="$CFLAGS -Wimplicit"
   8517 
   8518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8519 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8520 		cacheid=xorg_cv_cc_flag__Wimplicit
   8521 		if eval \${$cacheid+:} false; then :
   8522   $as_echo_n "(cached) " >&6
   8523 else
   8524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8525 /* end confdefs.h.  */
   8526 int i;
   8527 int
   8528 main ()
   8529 {
   8530 
   8531   ;
   8532   return 0;
   8533 }
   8534 _ACEOF
   8535 if ac_fn_c_try_link "$LINENO"; then :
   8536   eval $cacheid=yes
   8537 else
   8538   eval $cacheid=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext \
   8541     conftest$ac_exeext conftest.$ac_ext
   8542 fi
   8543 
   8544 
   8545 		CFLAGS="$xorg_testset_save_CFLAGS"
   8546 
   8547 		eval supported=\$$cacheid
   8548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8549 $as_echo "$supported" >&6; }
   8550 		if test "$supported" = "yes" ; then
   8551 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8552 			found="yes"
   8553 		fi
   8554 	fi
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 xorg_testset_save_CFLAGS="$CFLAGS"
   8571 
   8572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8575 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8576 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8577   $as_echo_n "(cached) " >&6
   8578 else
   8579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8580 /* end confdefs.h.  */
   8581 int i;
   8582 _ACEOF
   8583 if ac_fn_c_try_compile "$LINENO"; then :
   8584   xorg_cv_cc_flag_unknown_warning_option=yes
   8585 else
   8586   xorg_cv_cc_flag_unknown_warning_option=no
   8587 fi
   8588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8589 fi
   8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8591 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8593 	CFLAGS="$xorg_testset_save_CFLAGS"
   8594 fi
   8595 
   8596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 	fi
   8600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8602 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8603 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8604   $as_echo_n "(cached) " >&6
   8605 else
   8606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 _ACEOF
   8610 if ac_fn_c_try_compile "$LINENO"; then :
   8611   xorg_cv_cc_flag_unused_command_line_argument=yes
   8612 else
   8613   xorg_cv_cc_flag_unused_command_line_argument=no
   8614 fi
   8615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8616 fi
   8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8618 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8620 	CFLAGS="$xorg_testset_save_CFLAGS"
   8621 fi
   8622 
   8623 found="no"
   8624 
   8625 	if test $found = "no" ; then
   8626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8628 		fi
   8629 
   8630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8632 		fi
   8633 
   8634 		CFLAGS="$CFLAGS -Wnonnull"
   8635 
   8636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8637 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8638 		cacheid=xorg_cv_cc_flag__Wnonnull
   8639 		if eval \${$cacheid+:} false; then :
   8640   $as_echo_n "(cached) " >&6
   8641 else
   8642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 int
   8646 main ()
   8647 {
   8648 
   8649   ;
   8650   return 0;
   8651 }
   8652 _ACEOF
   8653 if ac_fn_c_try_link "$LINENO"; then :
   8654   eval $cacheid=yes
   8655 else
   8656   eval $cacheid=no
   8657 fi
   8658 rm -f core conftest.err conftest.$ac_objext \
   8659     conftest$ac_exeext conftest.$ac_ext
   8660 fi
   8661 
   8662 
   8663 		CFLAGS="$xorg_testset_save_CFLAGS"
   8664 
   8665 		eval supported=\$$cacheid
   8666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8667 $as_echo "$supported" >&6; }
   8668 		if test "$supported" = "yes" ; then
   8669 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8670 			found="yes"
   8671 		fi
   8672 	fi
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 xorg_testset_save_CFLAGS="$CFLAGS"
   8689 
   8690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8693 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8694 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8695   $as_echo_n "(cached) " >&6
   8696 else
   8697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8698 /* end confdefs.h.  */
   8699 int i;
   8700 _ACEOF
   8701 if ac_fn_c_try_compile "$LINENO"; then :
   8702   xorg_cv_cc_flag_unknown_warning_option=yes
   8703 else
   8704   xorg_cv_cc_flag_unknown_warning_option=no
   8705 fi
   8706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8707 fi
   8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8709 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8711 	CFLAGS="$xorg_testset_save_CFLAGS"
   8712 fi
   8713 
   8714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8717 	fi
   8718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8720 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8721 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 _ACEOF
   8728 if ac_fn_c_try_compile "$LINENO"; then :
   8729   xorg_cv_cc_flag_unused_command_line_argument=yes
   8730 else
   8731   xorg_cv_cc_flag_unused_command_line_argument=no
   8732 fi
   8733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8734 fi
   8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8736 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8738 	CFLAGS="$xorg_testset_save_CFLAGS"
   8739 fi
   8740 
   8741 found="no"
   8742 
   8743 	if test $found = "no" ; then
   8744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 		fi
   8747 
   8748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8750 		fi
   8751 
   8752 		CFLAGS="$CFLAGS -Winit-self"
   8753 
   8754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8755 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8756 		cacheid=xorg_cv_cc_flag__Winit_self
   8757 		if eval \${$cacheid+:} false; then :
   8758   $as_echo_n "(cached) " >&6
   8759 else
   8760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8761 /* end confdefs.h.  */
   8762 int i;
   8763 int
   8764 main ()
   8765 {
   8766 
   8767   ;
   8768   return 0;
   8769 }
   8770 _ACEOF
   8771 if ac_fn_c_try_link "$LINENO"; then :
   8772   eval $cacheid=yes
   8773 else
   8774   eval $cacheid=no
   8775 fi
   8776 rm -f core conftest.err conftest.$ac_objext \
   8777     conftest$ac_exeext conftest.$ac_ext
   8778 fi
   8779 
   8780 
   8781 		CFLAGS="$xorg_testset_save_CFLAGS"
   8782 
   8783 		eval supported=\$$cacheid
   8784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8785 $as_echo "$supported" >&6; }
   8786 		if test "$supported" = "yes" ; then
   8787 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8788 			found="yes"
   8789 		fi
   8790 	fi
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 xorg_testset_save_CFLAGS="$CFLAGS"
   8807 
   8808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8811 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8812 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8813   $as_echo_n "(cached) " >&6
   8814 else
   8815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8816 /* end confdefs.h.  */
   8817 int i;
   8818 _ACEOF
   8819 if ac_fn_c_try_compile "$LINENO"; then :
   8820   xorg_cv_cc_flag_unknown_warning_option=yes
   8821 else
   8822   xorg_cv_cc_flag_unknown_warning_option=no
   8823 fi
   8824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8825 fi
   8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8827 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8829 	CFLAGS="$xorg_testset_save_CFLAGS"
   8830 fi
   8831 
   8832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8835 	fi
   8836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8838 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8839 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8840   $as_echo_n "(cached) " >&6
   8841 else
   8842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8843 /* end confdefs.h.  */
   8844 int i;
   8845 _ACEOF
   8846 if ac_fn_c_try_compile "$LINENO"; then :
   8847   xorg_cv_cc_flag_unused_command_line_argument=yes
   8848 else
   8849   xorg_cv_cc_flag_unused_command_line_argument=no
   8850 fi
   8851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8852 fi
   8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8854 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8856 	CFLAGS="$xorg_testset_save_CFLAGS"
   8857 fi
   8858 
   8859 found="no"
   8860 
   8861 	if test $found = "no" ; then
   8862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8864 		fi
   8865 
   8866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8868 		fi
   8869 
   8870 		CFLAGS="$CFLAGS -Wmain"
   8871 
   8872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8873 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8874 		cacheid=xorg_cv_cc_flag__Wmain
   8875 		if eval \${$cacheid+:} false; then :
   8876   $as_echo_n "(cached) " >&6
   8877 else
   8878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8879 /* end confdefs.h.  */
   8880 int i;
   8881 int
   8882 main ()
   8883 {
   8884 
   8885   ;
   8886   return 0;
   8887 }
   8888 _ACEOF
   8889 if ac_fn_c_try_link "$LINENO"; then :
   8890   eval $cacheid=yes
   8891 else
   8892   eval $cacheid=no
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext \
   8895     conftest$ac_exeext conftest.$ac_ext
   8896 fi
   8897 
   8898 
   8899 		CFLAGS="$xorg_testset_save_CFLAGS"
   8900 
   8901 		eval supported=\$$cacheid
   8902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8903 $as_echo "$supported" >&6; }
   8904 		if test "$supported" = "yes" ; then
   8905 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8906 			found="yes"
   8907 		fi
   8908 	fi
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 xorg_testset_save_CFLAGS="$CFLAGS"
   8925 
   8926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8929 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8930 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8931   $as_echo_n "(cached) " >&6
   8932 else
   8933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8934 /* end confdefs.h.  */
   8935 int i;
   8936 _ACEOF
   8937 if ac_fn_c_try_compile "$LINENO"; then :
   8938   xorg_cv_cc_flag_unknown_warning_option=yes
   8939 else
   8940   xorg_cv_cc_flag_unknown_warning_option=no
   8941 fi
   8942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8943 fi
   8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8945 $as_echo "$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 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8956 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8957 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8958   $as_echo_n "(cached) " >&6
   8959 else
   8960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8961 /* end confdefs.h.  */
   8962 int i;
   8963 _ACEOF
   8964 if ac_fn_c_try_compile "$LINENO"; then :
   8965   xorg_cv_cc_flag_unused_command_line_argument=yes
   8966 else
   8967   xorg_cv_cc_flag_unused_command_line_argument=no
   8968 fi
   8969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8970 fi
   8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8972 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8974 	CFLAGS="$xorg_testset_save_CFLAGS"
   8975 fi
   8976 
   8977 found="no"
   8978 
   8979 	if test $found = "no" ; then
   8980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8982 		fi
   8983 
   8984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8986 		fi
   8987 
   8988 		CFLAGS="$CFLAGS -Wmissing-braces"
   8989 
   8990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8991 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8992 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8993 		if eval \${$cacheid+:} false; then :
   8994   $as_echo_n "(cached) " >&6
   8995 else
   8996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8997 /* end confdefs.h.  */
   8998 int i;
   8999 int
   9000 main ()
   9001 {
   9002 
   9003   ;
   9004   return 0;
   9005 }
   9006 _ACEOF
   9007 if ac_fn_c_try_link "$LINENO"; then :
   9008   eval $cacheid=yes
   9009 else
   9010   eval $cacheid=no
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext \
   9013     conftest$ac_exeext conftest.$ac_ext
   9014 fi
   9015 
   9016 
   9017 		CFLAGS="$xorg_testset_save_CFLAGS"
   9018 
   9019 		eval supported=\$$cacheid
   9020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9021 $as_echo "$supported" >&6; }
   9022 		if test "$supported" = "yes" ; then
   9023 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9024 			found="yes"
   9025 		fi
   9026 	fi
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 xorg_testset_save_CFLAGS="$CFLAGS"
   9043 
   9044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9047 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9048 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9049   $as_echo_n "(cached) " >&6
   9050 else
   9051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9052 /* end confdefs.h.  */
   9053 int i;
   9054 _ACEOF
   9055 if ac_fn_c_try_compile "$LINENO"; then :
   9056   xorg_cv_cc_flag_unknown_warning_option=yes
   9057 else
   9058   xorg_cv_cc_flag_unknown_warning_option=no
   9059 fi
   9060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9061 fi
   9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9063 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9065 	CFLAGS="$xorg_testset_save_CFLAGS"
   9066 fi
   9067 
   9068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9071 	fi
   9072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9074 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9075 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9076   $as_echo_n "(cached) " >&6
   9077 else
   9078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9079 /* end confdefs.h.  */
   9080 int i;
   9081 _ACEOF
   9082 if ac_fn_c_try_compile "$LINENO"; then :
   9083   xorg_cv_cc_flag_unused_command_line_argument=yes
   9084 else
   9085   xorg_cv_cc_flag_unused_command_line_argument=no
   9086 fi
   9087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9088 fi
   9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9090 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9092 	CFLAGS="$xorg_testset_save_CFLAGS"
   9093 fi
   9094 
   9095 found="no"
   9096 
   9097 	if test $found = "no" ; then
   9098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9100 		fi
   9101 
   9102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9104 		fi
   9105 
   9106 		CFLAGS="$CFLAGS -Wsequence-point"
   9107 
   9108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9109 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9110 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9111 		if eval \${$cacheid+:} false; then :
   9112   $as_echo_n "(cached) " >&6
   9113 else
   9114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9115 /* end confdefs.h.  */
   9116 int i;
   9117 int
   9118 main ()
   9119 {
   9120 
   9121   ;
   9122   return 0;
   9123 }
   9124 _ACEOF
   9125 if ac_fn_c_try_link "$LINENO"; then :
   9126   eval $cacheid=yes
   9127 else
   9128   eval $cacheid=no
   9129 fi
   9130 rm -f core conftest.err conftest.$ac_objext \
   9131     conftest$ac_exeext conftest.$ac_ext
   9132 fi
   9133 
   9134 
   9135 		CFLAGS="$xorg_testset_save_CFLAGS"
   9136 
   9137 		eval supported=\$$cacheid
   9138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9139 $as_echo "$supported" >&6; }
   9140 		if test "$supported" = "yes" ; then
   9141 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9142 			found="yes"
   9143 		fi
   9144 	fi
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 xorg_testset_save_CFLAGS="$CFLAGS"
   9161 
   9162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9165 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9166 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9167   $as_echo_n "(cached) " >&6
   9168 else
   9169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9170 /* end confdefs.h.  */
   9171 int i;
   9172 _ACEOF
   9173 if ac_fn_c_try_compile "$LINENO"; then :
   9174   xorg_cv_cc_flag_unknown_warning_option=yes
   9175 else
   9176   xorg_cv_cc_flag_unknown_warning_option=no
   9177 fi
   9178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9179 fi
   9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9181 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9183 	CFLAGS="$xorg_testset_save_CFLAGS"
   9184 fi
   9185 
   9186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 	fi
   9190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9192 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9193 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9194   $as_echo_n "(cached) " >&6
   9195 else
   9196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9197 /* end confdefs.h.  */
   9198 int i;
   9199 _ACEOF
   9200 if ac_fn_c_try_compile "$LINENO"; then :
   9201   xorg_cv_cc_flag_unused_command_line_argument=yes
   9202 else
   9203   xorg_cv_cc_flag_unused_command_line_argument=no
   9204 fi
   9205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9206 fi
   9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9208 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9210 	CFLAGS="$xorg_testset_save_CFLAGS"
   9211 fi
   9212 
   9213 found="no"
   9214 
   9215 	if test $found = "no" ; then
   9216 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 		fi
   9219 
   9220 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9222 		fi
   9223 
   9224 		CFLAGS="$CFLAGS -Wreturn-type"
   9225 
   9226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9227 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9228 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9229 		if eval \${$cacheid+:} false; then :
   9230   $as_echo_n "(cached) " >&6
   9231 else
   9232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9233 /* end confdefs.h.  */
   9234 int i;
   9235 int
   9236 main ()
   9237 {
   9238 
   9239   ;
   9240   return 0;
   9241 }
   9242 _ACEOF
   9243 if ac_fn_c_try_link "$LINENO"; then :
   9244   eval $cacheid=yes
   9245 else
   9246   eval $cacheid=no
   9247 fi
   9248 rm -f core conftest.err conftest.$ac_objext \
   9249     conftest$ac_exeext conftest.$ac_ext
   9250 fi
   9251 
   9252 
   9253 		CFLAGS="$xorg_testset_save_CFLAGS"
   9254 
   9255 		eval supported=\$$cacheid
   9256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9257 $as_echo "$supported" >&6; }
   9258 		if test "$supported" = "yes" ; then
   9259 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9260 			found="yes"
   9261 		fi
   9262 	fi
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 xorg_testset_save_CFLAGS="$CFLAGS"
   9279 
   9280 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9283 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9284 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9285   $as_echo_n "(cached) " >&6
   9286 else
   9287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 _ACEOF
   9291 if ac_fn_c_try_compile "$LINENO"; then :
   9292   xorg_cv_cc_flag_unknown_warning_option=yes
   9293 else
   9294   xorg_cv_cc_flag_unknown_warning_option=no
   9295 fi
   9296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9297 fi
   9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9299 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9301 	CFLAGS="$xorg_testset_save_CFLAGS"
   9302 fi
   9303 
   9304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9307 	fi
   9308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9310 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9311 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9312   $as_echo_n "(cached) " >&6
   9313 else
   9314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9315 /* end confdefs.h.  */
   9316 int i;
   9317 _ACEOF
   9318 if ac_fn_c_try_compile "$LINENO"; then :
   9319   xorg_cv_cc_flag_unused_command_line_argument=yes
   9320 else
   9321   xorg_cv_cc_flag_unused_command_line_argument=no
   9322 fi
   9323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9324 fi
   9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9326 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9328 	CFLAGS="$xorg_testset_save_CFLAGS"
   9329 fi
   9330 
   9331 found="no"
   9332 
   9333 	if test $found = "no" ; then
   9334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9336 		fi
   9337 
   9338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9340 		fi
   9341 
   9342 		CFLAGS="$CFLAGS -Wtrigraphs"
   9343 
   9344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9345 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9346 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9347 		if eval \${$cacheid+:} false; then :
   9348   $as_echo_n "(cached) " >&6
   9349 else
   9350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9351 /* end confdefs.h.  */
   9352 int i;
   9353 int
   9354 main ()
   9355 {
   9356 
   9357   ;
   9358   return 0;
   9359 }
   9360 _ACEOF
   9361 if ac_fn_c_try_link "$LINENO"; then :
   9362   eval $cacheid=yes
   9363 else
   9364   eval $cacheid=no
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext \
   9367     conftest$ac_exeext conftest.$ac_ext
   9368 fi
   9369 
   9370 
   9371 		CFLAGS="$xorg_testset_save_CFLAGS"
   9372 
   9373 		eval supported=\$$cacheid
   9374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9375 $as_echo "$supported" >&6; }
   9376 		if test "$supported" = "yes" ; then
   9377 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9378 			found="yes"
   9379 		fi
   9380 	fi
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 xorg_testset_save_CFLAGS="$CFLAGS"
   9397 
   9398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9401 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9402 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9403   $as_echo_n "(cached) " >&6
   9404 else
   9405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9406 /* end confdefs.h.  */
   9407 int i;
   9408 _ACEOF
   9409 if ac_fn_c_try_compile "$LINENO"; then :
   9410   xorg_cv_cc_flag_unknown_warning_option=yes
   9411 else
   9412   xorg_cv_cc_flag_unknown_warning_option=no
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9415 fi
   9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9417 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9419 	CFLAGS="$xorg_testset_save_CFLAGS"
   9420 fi
   9421 
   9422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9425 	fi
   9426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9428 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9429 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9430   $as_echo_n "(cached) " >&6
   9431 else
   9432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9433 /* end confdefs.h.  */
   9434 int i;
   9435 _ACEOF
   9436 if ac_fn_c_try_compile "$LINENO"; then :
   9437   xorg_cv_cc_flag_unused_command_line_argument=yes
   9438 else
   9439   xorg_cv_cc_flag_unused_command_line_argument=no
   9440 fi
   9441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9442 fi
   9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9444 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9446 	CFLAGS="$xorg_testset_save_CFLAGS"
   9447 fi
   9448 
   9449 found="no"
   9450 
   9451 	if test $found = "no" ; then
   9452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9454 		fi
   9455 
   9456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9458 		fi
   9459 
   9460 		CFLAGS="$CFLAGS -Warray-bounds"
   9461 
   9462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9463 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9464 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9465 		if eval \${$cacheid+:} false; then :
   9466   $as_echo_n "(cached) " >&6
   9467 else
   9468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9469 /* end confdefs.h.  */
   9470 int i;
   9471 int
   9472 main ()
   9473 {
   9474 
   9475   ;
   9476   return 0;
   9477 }
   9478 _ACEOF
   9479 if ac_fn_c_try_link "$LINENO"; then :
   9480   eval $cacheid=yes
   9481 else
   9482   eval $cacheid=no
   9483 fi
   9484 rm -f core conftest.err conftest.$ac_objext \
   9485     conftest$ac_exeext conftest.$ac_ext
   9486 fi
   9487 
   9488 
   9489 		CFLAGS="$xorg_testset_save_CFLAGS"
   9490 
   9491 		eval supported=\$$cacheid
   9492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9493 $as_echo "$supported" >&6; }
   9494 		if test "$supported" = "yes" ; then
   9495 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9496 			found="yes"
   9497 		fi
   9498 	fi
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 xorg_testset_save_CFLAGS="$CFLAGS"
   9515 
   9516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9519 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9520 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9521   $as_echo_n "(cached) " >&6
   9522 else
   9523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9524 /* end confdefs.h.  */
   9525 int i;
   9526 _ACEOF
   9527 if ac_fn_c_try_compile "$LINENO"; then :
   9528   xorg_cv_cc_flag_unknown_warning_option=yes
   9529 else
   9530   xorg_cv_cc_flag_unknown_warning_option=no
   9531 fi
   9532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9533 fi
   9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9535 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9537 	CFLAGS="$xorg_testset_save_CFLAGS"
   9538 fi
   9539 
   9540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9543 	fi
   9544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9546 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9547 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9548   $as_echo_n "(cached) " >&6
   9549 else
   9550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9551 /* end confdefs.h.  */
   9552 int i;
   9553 _ACEOF
   9554 if ac_fn_c_try_compile "$LINENO"; then :
   9555   xorg_cv_cc_flag_unused_command_line_argument=yes
   9556 else
   9557   xorg_cv_cc_flag_unused_command_line_argument=no
   9558 fi
   9559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9560 fi
   9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9562 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9564 	CFLAGS="$xorg_testset_save_CFLAGS"
   9565 fi
   9566 
   9567 found="no"
   9568 
   9569 	if test $found = "no" ; then
   9570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 		fi
   9573 
   9574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9576 		fi
   9577 
   9578 		CFLAGS="$CFLAGS -Wwrite-strings"
   9579 
   9580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9581 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9582 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9583 		if eval \${$cacheid+:} false; then :
   9584   $as_echo_n "(cached) " >&6
   9585 else
   9586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9587 /* end confdefs.h.  */
   9588 int i;
   9589 int
   9590 main ()
   9591 {
   9592 
   9593   ;
   9594   return 0;
   9595 }
   9596 _ACEOF
   9597 if ac_fn_c_try_link "$LINENO"; then :
   9598   eval $cacheid=yes
   9599 else
   9600   eval $cacheid=no
   9601 fi
   9602 rm -f core conftest.err conftest.$ac_objext \
   9603     conftest$ac_exeext conftest.$ac_ext
   9604 fi
   9605 
   9606 
   9607 		CFLAGS="$xorg_testset_save_CFLAGS"
   9608 
   9609 		eval supported=\$$cacheid
   9610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9611 $as_echo "$supported" >&6; }
   9612 		if test "$supported" = "yes" ; then
   9613 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9614 			found="yes"
   9615 		fi
   9616 	fi
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 xorg_testset_save_CFLAGS="$CFLAGS"
   9633 
   9634 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9635 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9637 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9638 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9639   $as_echo_n "(cached) " >&6
   9640 else
   9641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9642 /* end confdefs.h.  */
   9643 int i;
   9644 _ACEOF
   9645 if ac_fn_c_try_compile "$LINENO"; then :
   9646   xorg_cv_cc_flag_unknown_warning_option=yes
   9647 else
   9648   xorg_cv_cc_flag_unknown_warning_option=no
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9651 fi
   9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9653 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9655 	CFLAGS="$xorg_testset_save_CFLAGS"
   9656 fi
   9657 
   9658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9661 	fi
   9662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9664 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9665 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9666   $as_echo_n "(cached) " >&6
   9667 else
   9668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9669 /* end confdefs.h.  */
   9670 int i;
   9671 _ACEOF
   9672 if ac_fn_c_try_compile "$LINENO"; then :
   9673   xorg_cv_cc_flag_unused_command_line_argument=yes
   9674 else
   9675   xorg_cv_cc_flag_unused_command_line_argument=no
   9676 fi
   9677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9678 fi
   9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9680 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9682 	CFLAGS="$xorg_testset_save_CFLAGS"
   9683 fi
   9684 
   9685 found="no"
   9686 
   9687 	if test $found = "no" ; then
   9688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9690 		fi
   9691 
   9692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9694 		fi
   9695 
   9696 		CFLAGS="$CFLAGS -Waddress"
   9697 
   9698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9699 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9700 		cacheid=xorg_cv_cc_flag__Waddress
   9701 		if eval \${$cacheid+:} false; then :
   9702   $as_echo_n "(cached) " >&6
   9703 else
   9704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9705 /* end confdefs.h.  */
   9706 int i;
   9707 int
   9708 main ()
   9709 {
   9710 
   9711   ;
   9712   return 0;
   9713 }
   9714 _ACEOF
   9715 if ac_fn_c_try_link "$LINENO"; then :
   9716   eval $cacheid=yes
   9717 else
   9718   eval $cacheid=no
   9719 fi
   9720 rm -f core conftest.err conftest.$ac_objext \
   9721     conftest$ac_exeext conftest.$ac_ext
   9722 fi
   9723 
   9724 
   9725 		CFLAGS="$xorg_testset_save_CFLAGS"
   9726 
   9727 		eval supported=\$$cacheid
   9728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9729 $as_echo "$supported" >&6; }
   9730 		if test "$supported" = "yes" ; then
   9731 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9732 			found="yes"
   9733 		fi
   9734 	fi
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 xorg_testset_save_CFLAGS="$CFLAGS"
   9751 
   9752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9755 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9756 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9757   $as_echo_n "(cached) " >&6
   9758 else
   9759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9760 /* end confdefs.h.  */
   9761 int i;
   9762 _ACEOF
   9763 if ac_fn_c_try_compile "$LINENO"; then :
   9764   xorg_cv_cc_flag_unknown_warning_option=yes
   9765 else
   9766   xorg_cv_cc_flag_unknown_warning_option=no
   9767 fi
   9768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9769 fi
   9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9771 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9773 	CFLAGS="$xorg_testset_save_CFLAGS"
   9774 fi
   9775 
   9776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9779 	fi
   9780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9782 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9783 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9784   $as_echo_n "(cached) " >&6
   9785 else
   9786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9787 /* end confdefs.h.  */
   9788 int i;
   9789 _ACEOF
   9790 if ac_fn_c_try_compile "$LINENO"; then :
   9791   xorg_cv_cc_flag_unused_command_line_argument=yes
   9792 else
   9793   xorg_cv_cc_flag_unused_command_line_argument=no
   9794 fi
   9795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9796 fi
   9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9798 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9800 	CFLAGS="$xorg_testset_save_CFLAGS"
   9801 fi
   9802 
   9803 found="no"
   9804 
   9805 	if test $found = "no" ; then
   9806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9808 		fi
   9809 
   9810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9812 		fi
   9813 
   9814 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9815 
   9816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9817 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9818 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9819 		if eval \${$cacheid+:} false; then :
   9820   $as_echo_n "(cached) " >&6
   9821 else
   9822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9823 /* end confdefs.h.  */
   9824 int i;
   9825 int
   9826 main ()
   9827 {
   9828 
   9829   ;
   9830   return 0;
   9831 }
   9832 _ACEOF
   9833 if ac_fn_c_try_link "$LINENO"; then :
   9834   eval $cacheid=yes
   9835 else
   9836   eval $cacheid=no
   9837 fi
   9838 rm -f core conftest.err conftest.$ac_objext \
   9839     conftest$ac_exeext conftest.$ac_ext
   9840 fi
   9841 
   9842 
   9843 		CFLAGS="$xorg_testset_save_CFLAGS"
   9844 
   9845 		eval supported=\$$cacheid
   9846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9847 $as_echo "$supported" >&6; }
   9848 		if test "$supported" = "yes" ; then
   9849 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9850 			found="yes"
   9851 		fi
   9852 	fi
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 xorg_testset_save_CFLAGS="$CFLAGS"
   9869 
   9870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9873 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9874 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9875   $as_echo_n "(cached) " >&6
   9876 else
   9877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9878 /* end confdefs.h.  */
   9879 int i;
   9880 _ACEOF
   9881 if ac_fn_c_try_compile "$LINENO"; then :
   9882   xorg_cv_cc_flag_unknown_warning_option=yes
   9883 else
   9884   xorg_cv_cc_flag_unknown_warning_option=no
   9885 fi
   9886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9887 fi
   9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9889 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9891 	CFLAGS="$xorg_testset_save_CFLAGS"
   9892 fi
   9893 
   9894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9897 	fi
   9898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9900 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9901 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9902   $as_echo_n "(cached) " >&6
   9903 else
   9904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9905 /* end confdefs.h.  */
   9906 int i;
   9907 _ACEOF
   9908 if ac_fn_c_try_compile "$LINENO"; then :
   9909   xorg_cv_cc_flag_unused_command_line_argument=yes
   9910 else
   9911   xorg_cv_cc_flag_unused_command_line_argument=no
   9912 fi
   9913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9914 fi
   9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9916 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9918 	CFLAGS="$xorg_testset_save_CFLAGS"
   9919 fi
   9920 
   9921 found="no"
   9922 
   9923 	if test $found = "no" ; then
   9924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9926 		fi
   9927 
   9928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9930 		fi
   9931 
   9932 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9933 
   9934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9935 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9936 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9937 		if eval \${$cacheid+:} false; then :
   9938   $as_echo_n "(cached) " >&6
   9939 else
   9940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9941 /* end confdefs.h.  */
   9942 int i;
   9943 int
   9944 main ()
   9945 {
   9946 
   9947   ;
   9948   return 0;
   9949 }
   9950 _ACEOF
   9951 if ac_fn_c_try_link "$LINENO"; then :
   9952   eval $cacheid=yes
   9953 else
   9954   eval $cacheid=no
   9955 fi
   9956 rm -f core conftest.err conftest.$ac_objext \
   9957     conftest$ac_exeext conftest.$ac_ext
   9958 fi
   9959 
   9960 
   9961 		CFLAGS="$xorg_testset_save_CFLAGS"
   9962 
   9963 		eval supported=\$$cacheid
   9964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9965 $as_echo "$supported" >&6; }
   9966 		if test "$supported" = "yes" ; then
   9967 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9968 			found="yes"
   9969 		fi
   9970 	fi
   9971 
   9972 
   9973 fi
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 		CWARNFLAGS="$BASE_CFLAGS"
   9982 		if  test "x$GCC" = xyes ; then
   9983 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9984 		fi
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 # Check whether --enable-strict-compilation was given.
   9994 if test "${enable_strict_compilation+set}" = set; then :
   9995   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9996 else
   9997   STRICT_COMPILE=no
   9998 fi
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 STRICT_CFLAGS=""
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 xorg_testset_save_CFLAGS="$CFLAGS"
   10020 
   10021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10026   $as_echo_n "(cached) " >&6
   10027 else
   10028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10029 /* end confdefs.h.  */
   10030 int i;
   10031 _ACEOF
   10032 if ac_fn_c_try_compile "$LINENO"; then :
   10033   xorg_cv_cc_flag_unknown_warning_option=yes
   10034 else
   10035   xorg_cv_cc_flag_unknown_warning_option=no
   10036 fi
   10037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10038 fi
   10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10042 	CFLAGS="$xorg_testset_save_CFLAGS"
   10043 fi
   10044 
   10045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10048 	fi
   10049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10053   $as_echo_n "(cached) " >&6
   10054 else
   10055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10056 /* end confdefs.h.  */
   10057 int i;
   10058 _ACEOF
   10059 if ac_fn_c_try_compile "$LINENO"; then :
   10060   xorg_cv_cc_flag_unused_command_line_argument=yes
   10061 else
   10062   xorg_cv_cc_flag_unused_command_line_argument=no
   10063 fi
   10064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10065 fi
   10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10069 	CFLAGS="$xorg_testset_save_CFLAGS"
   10070 fi
   10071 
   10072 found="no"
   10073 
   10074 	if test $found = "no" ; then
   10075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10077 		fi
   10078 
   10079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10081 		fi
   10082 
   10083 		CFLAGS="$CFLAGS -pedantic"
   10084 
   10085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10086 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10087 		cacheid=xorg_cv_cc_flag__pedantic
   10088 		if eval \${$cacheid+:} false; then :
   10089   $as_echo_n "(cached) " >&6
   10090 else
   10091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10092 /* end confdefs.h.  */
   10093 int i;
   10094 int
   10095 main ()
   10096 {
   10097 
   10098   ;
   10099   return 0;
   10100 }
   10101 _ACEOF
   10102 if ac_fn_c_try_link "$LINENO"; then :
   10103   eval $cacheid=yes
   10104 else
   10105   eval $cacheid=no
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext \
   10108     conftest$ac_exeext conftest.$ac_ext
   10109 fi
   10110 
   10111 
   10112 		CFLAGS="$xorg_testset_save_CFLAGS"
   10113 
   10114 		eval supported=\$$cacheid
   10115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10116 $as_echo "$supported" >&6; }
   10117 		if test "$supported" = "yes" ; then
   10118 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10119 			found="yes"
   10120 		fi
   10121 	fi
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 xorg_testset_save_CFLAGS="$CFLAGS"
   10138 
   10139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10144   $as_echo_n "(cached) " >&6
   10145 else
   10146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10147 /* end confdefs.h.  */
   10148 int i;
   10149 _ACEOF
   10150 if ac_fn_c_try_compile "$LINENO"; then :
   10151   xorg_cv_cc_flag_unknown_warning_option=yes
   10152 else
   10153   xorg_cv_cc_flag_unknown_warning_option=no
   10154 fi
   10155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10156 fi
   10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10160 	CFLAGS="$xorg_testset_save_CFLAGS"
   10161 fi
   10162 
   10163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10166 	fi
   10167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10171   $as_echo_n "(cached) " >&6
   10172 else
   10173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10174 /* end confdefs.h.  */
   10175 int i;
   10176 _ACEOF
   10177 if ac_fn_c_try_compile "$LINENO"; then :
   10178   xorg_cv_cc_flag_unused_command_line_argument=yes
   10179 else
   10180   xorg_cv_cc_flag_unused_command_line_argument=no
   10181 fi
   10182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10183 fi
   10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10187 	CFLAGS="$xorg_testset_save_CFLAGS"
   10188 fi
   10189 
   10190 found="no"
   10191 
   10192 	if test $found = "no" ; then
   10193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10195 		fi
   10196 
   10197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10199 		fi
   10200 
   10201 		CFLAGS="$CFLAGS -Werror"
   10202 
   10203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10204 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10205 		cacheid=xorg_cv_cc_flag__Werror
   10206 		if eval \${$cacheid+:} false; then :
   10207   $as_echo_n "(cached) " >&6
   10208 else
   10209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10210 /* end confdefs.h.  */
   10211 int i;
   10212 int
   10213 main ()
   10214 {
   10215 
   10216   ;
   10217   return 0;
   10218 }
   10219 _ACEOF
   10220 if ac_fn_c_try_link "$LINENO"; then :
   10221   eval $cacheid=yes
   10222 else
   10223   eval $cacheid=no
   10224 fi
   10225 rm -f core conftest.err conftest.$ac_objext \
   10226     conftest$ac_exeext conftest.$ac_ext
   10227 fi
   10228 
   10229 
   10230 		CFLAGS="$xorg_testset_save_CFLAGS"
   10231 
   10232 		eval supported=\$$cacheid
   10233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10234 $as_echo "$supported" >&6; }
   10235 		if test "$supported" = "yes" ; then
   10236 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10237 			found="yes"
   10238 		fi
   10239 	fi
   10240 
   10241 	if test $found = "no" ; then
   10242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10244 		fi
   10245 
   10246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10248 		fi
   10249 
   10250 		CFLAGS="$CFLAGS -errwarn"
   10251 
   10252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10253 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10254 		cacheid=xorg_cv_cc_flag__errwarn
   10255 		if eval \${$cacheid+:} false; then :
   10256   $as_echo_n "(cached) " >&6
   10257 else
   10258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10259 /* end confdefs.h.  */
   10260 int i;
   10261 int
   10262 main ()
   10263 {
   10264 
   10265   ;
   10266   return 0;
   10267 }
   10268 _ACEOF
   10269 if ac_fn_c_try_link "$LINENO"; then :
   10270   eval $cacheid=yes
   10271 else
   10272   eval $cacheid=no
   10273 fi
   10274 rm -f core conftest.err conftest.$ac_objext \
   10275     conftest$ac_exeext conftest.$ac_ext
   10276 fi
   10277 
   10278 
   10279 		CFLAGS="$xorg_testset_save_CFLAGS"
   10280 
   10281 		eval supported=\$$cacheid
   10282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10283 $as_echo "$supported" >&6; }
   10284 		if test "$supported" = "yes" ; then
   10285 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10286 			found="yes"
   10287 		fi
   10288 	fi
   10289 
   10290 
   10291 
   10292 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10293 # activate it with -Werror, so we add it here explicitly.
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 xorg_testset_save_CFLAGS="$CFLAGS"
   10308 
   10309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10314   $as_echo_n "(cached) " >&6
   10315 else
   10316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10317 /* end confdefs.h.  */
   10318 int i;
   10319 _ACEOF
   10320 if ac_fn_c_try_compile "$LINENO"; then :
   10321   xorg_cv_cc_flag_unknown_warning_option=yes
   10322 else
   10323   xorg_cv_cc_flag_unknown_warning_option=no
   10324 fi
   10325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10326 fi
   10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10330 	CFLAGS="$xorg_testset_save_CFLAGS"
   10331 fi
   10332 
   10333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10336 	fi
   10337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10341   $as_echo_n "(cached) " >&6
   10342 else
   10343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10344 /* end confdefs.h.  */
   10345 int i;
   10346 _ACEOF
   10347 if ac_fn_c_try_compile "$LINENO"; then :
   10348   xorg_cv_cc_flag_unused_command_line_argument=yes
   10349 else
   10350   xorg_cv_cc_flag_unused_command_line_argument=no
   10351 fi
   10352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10353 fi
   10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10357 	CFLAGS="$xorg_testset_save_CFLAGS"
   10358 fi
   10359 
   10360 found="no"
   10361 
   10362 	if test $found = "no" ; then
   10363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10365 		fi
   10366 
   10367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10369 		fi
   10370 
   10371 		CFLAGS="$CFLAGS -Werror=attributes"
   10372 
   10373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10374 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10375 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10376 		if eval \${$cacheid+:} false; then :
   10377   $as_echo_n "(cached) " >&6
   10378 else
   10379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10380 /* end confdefs.h.  */
   10381 int i;
   10382 int
   10383 main ()
   10384 {
   10385 
   10386   ;
   10387   return 0;
   10388 }
   10389 _ACEOF
   10390 if ac_fn_c_try_link "$LINENO"; then :
   10391   eval $cacheid=yes
   10392 else
   10393   eval $cacheid=no
   10394 fi
   10395 rm -f core conftest.err conftest.$ac_objext \
   10396     conftest$ac_exeext conftest.$ac_ext
   10397 fi
   10398 
   10399 
   10400 		CFLAGS="$xorg_testset_save_CFLAGS"
   10401 
   10402 		eval supported=\$$cacheid
   10403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10404 $as_echo "$supported" >&6; }
   10405 		if test "$supported" = "yes" ; then
   10406 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10407 			found="yes"
   10408 		fi
   10409 	fi
   10410 
   10411 
   10412 
   10413 if test "x$STRICT_COMPILE" = "xyes"; then
   10414     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10415     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10416 fi
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 cat >>confdefs.h <<_ACEOF
   10424 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10425 _ACEOF
   10426 
   10427 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10428 	if test "x$PVM" = "x"; then
   10429 		PVM="0"
   10430 	fi
   10431 
   10432 cat >>confdefs.h <<_ACEOF
   10433 #define PACKAGE_VERSION_MINOR $PVM
   10434 _ACEOF
   10435 
   10436 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10437 	if test "x$PVP" = "x"; then
   10438 		PVP="0"
   10439 	fi
   10440 
   10441 cat >>confdefs.h <<_ACEOF
   10442 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10443 _ACEOF
   10444 
   10445 
   10446 
   10447 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10448 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10449 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10450 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10451 
   10452 
   10453 
   10454 
   10455 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10456 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10457 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10458 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10459 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 if test x$APP_MAN_SUFFIX = x    ; then
   10467     APP_MAN_SUFFIX=1
   10468 fi
   10469 if test x$APP_MAN_DIR = x    ; then
   10470     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10471 fi
   10472 
   10473 if test x$LIB_MAN_SUFFIX = x    ; then
   10474     LIB_MAN_SUFFIX=3
   10475 fi
   10476 if test x$LIB_MAN_DIR = x    ; then
   10477     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10478 fi
   10479 
   10480 if test x$FILE_MAN_SUFFIX = x    ; then
   10481     case $host_os in
   10482 	# Solaris 2.0 - 11 use SysV man page sections
   10483 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10484 	*)				FILE_MAN_SUFFIX=5  ;;
   10485     esac
   10486 fi
   10487 if test x$FILE_MAN_DIR = x    ; then
   10488     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10489 fi
   10490 
   10491 if test x$MISC_MAN_SUFFIX = x    ; then
   10492     case $host_os in
   10493 	# Solaris 2.0 - 11 use SysV man page sections
   10494 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10495 	*)				MISC_MAN_SUFFIX=7  ;;
   10496     esac
   10497 fi
   10498 if test x$MISC_MAN_DIR = x    ; then
   10499     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10500 fi
   10501 
   10502 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10503     case $host_os in
   10504 	# Solaris 2.0 - 11 use SysV man page sections
   10505 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10506 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10507     esac
   10508 fi
   10509 if test x$DRIVER_MAN_DIR = x    ; then
   10510     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10511 fi
   10512 
   10513 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10514     case $host_os in
   10515 	# Solaris 2.0 - 11 use SysV man page sections
   10516 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10517 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10518     esac
   10519 fi
   10520 if test x$ADMIN_MAN_DIR = x    ; then
   10521     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10522 fi
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 XORG_MAN_PAGE="X Version 11"
   10539 
   10540 MAN_SUBSTS="\
   10541 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10542 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10543 	-e 's|__xservername__|Xorg|g' \
   10544 	-e 's|__xconfigfile__|xorg.conf|g' \
   10545 	-e 's|__projectroot__|\$(prefix)|g' \
   10546 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10547 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10548 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10549 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10550 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10551 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10552 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10553 
   10554 
   10555 
   10556 # Check whether --enable-silent-rules was given.
   10557 if test "${enable_silent_rules+set}" = set; then :
   10558   enableval=$enable_silent_rules;
   10559 fi
   10560 
   10561 case $enable_silent_rules in # (((
   10562   yes) AM_DEFAULT_VERBOSITY=0;;
   10563    no) AM_DEFAULT_VERBOSITY=1;;
   10564     *) AM_DEFAULT_VERBOSITY=0;;
   10565 esac
   10566 am_make=${MAKE-make}
   10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10568 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10569 if ${am_cv_make_support_nested_variables+:} false; then :
   10570   $as_echo_n "(cached) " >&6
   10571 else
   10572   if $as_echo 'TRUE=$(BAR$(V))
   10573 BAR0=false
   10574 BAR1=true
   10575 V=1
   10576 am__doit:
   10577 	@$(TRUE)
   10578 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10579   am_cv_make_support_nested_variables=yes
   10580 else
   10581   am_cv_make_support_nested_variables=no
   10582 fi
   10583 fi
   10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10585 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10586 if test $am_cv_make_support_nested_variables = yes; then
   10587     AM_V='$(V)'
   10588   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10589 else
   10590   AM_V=$AM_DEFAULT_VERBOSITY
   10591   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10592 fi
   10593 AM_BACKSLASH='\'
   10594 
   10595 
   10596 
   10597 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   10613 $as_echo_n "checking for root directory for font files... " >&6; }
   10614 
   10615 # Check whether --with-fontrootdir was given.
   10616 if test "${with_fontrootdir+set}" = set; then :
   10617   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   10618 fi
   10619 
   10620 	# if --with-fontrootdir not specified...
   10621 	if test "x${FONTROOTDIR}" = "x"; then
   10622 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   10623 	fi
   10624 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   10625 	if test "x${FONTROOTDIR}" = "x"; then
   10626 		FONTROOTDIR="${datadir}/fonts/X11"
   10627 	fi
   10628 
   10629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   10630 $as_echo "${FONTROOTDIR}" >&6; }
   10631 
   10632 
   10633 
   10634 
   10635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
   10636 $as_echo_n "checking for directory for encodings files... " >&6; }
   10637 
   10638 # Check whether --with-encodingsdir was given.
   10639 if test "${with_encodingsdir+set}" = set; then :
   10640   withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
   10641 else
   10642   ENCODINGSDIR='${FONTROOTDIR}/encodings'
   10643 fi
   10644 
   10645 
   10646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
   10647 $as_echo "${ENCODINGSDIR}" >&6; }
   10648 
   10649 
   10650 
   10651 
   10652 DEFAULT_XCONFDIR="${libdir}/X11/config"
   10653 
   10654 # Check whether --with-config-dir was given.
   10655 if test "${with_config_dir+set}" = set; then :
   10656   withval=$with_config_dir; XCONFDIR="$withval"
   10657 else
   10658   XCONFDIR="$DEFAULT_XCONFDIR"
   10659 fi
   10660 
   10661 
   10662 
   10663 ac_config_files="$ac_config_files Makefile site.def"
   10664 
   10665 cat >confcache <<\_ACEOF
   10666 # This file is a shell script that caches the results of configure
   10667 # tests run on this system so they can be shared between configure
   10668 # scripts and configure runs, see configure's option --config-cache.
   10669 # It is not useful on other systems.  If it contains results you don't
   10670 # want to keep, you may remove or edit it.
   10671 #
   10672 # config.status only pays attention to the cache file if you give it
   10673 # the --recheck option to rerun configure.
   10674 #
   10675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10677 # following values.
   10678 
   10679 _ACEOF
   10680 
   10681 # The following way of writing the cache mishandles newlines in values,
   10682 # but we know of no workaround that is simple, portable, and efficient.
   10683 # So, we kill variables containing newlines.
   10684 # Ultrix sh set writes to stderr and can't be redirected directly,
   10685 # and sets the high bit in the cache file unless we assign to the vars.
   10686 (
   10687   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10688     eval ac_val=\$$ac_var
   10689     case $ac_val in #(
   10690     *${as_nl}*)
   10691       case $ac_var in #(
   10692       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10694       esac
   10695       case $ac_var in #(
   10696       _ | IFS | as_nl) ;; #(
   10697       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10698       *) { eval $ac_var=; unset $ac_var;} ;;
   10699       esac ;;
   10700     esac
   10701   done
   10702 
   10703   (set) 2>&1 |
   10704     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10705     *${as_nl}ac_space=\ *)
   10706       # `set' does not quote correctly, so add quotes: double-quote
   10707       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10708       sed -n \
   10709 	"s/'/'\\\\''/g;
   10710 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10711       ;; #(
   10712     *)
   10713       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10714       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10715       ;;
   10716     esac |
   10717     sort
   10718 ) |
   10719   sed '
   10720      /^ac_cv_env_/b end
   10721      t clear
   10722      :clear
   10723      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10724      t end
   10725      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10726      :end' >>confcache
   10727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10728   if test -w "$cache_file"; then
   10729     if test "x$cache_file" != "x/dev/null"; then
   10730       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10731 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10732       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10733 	cat confcache >"$cache_file"
   10734       else
   10735         case $cache_file in #(
   10736         */* | ?:*)
   10737 	  mv -f confcache "$cache_file"$$ &&
   10738 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10739         *)
   10740 	  mv -f confcache "$cache_file" ;;
   10741 	esac
   10742       fi
   10743     fi
   10744   else
   10745     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10746 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10747   fi
   10748 fi
   10749 rm -f confcache
   10750 
   10751 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10752 # Let make expand exec_prefix.
   10753 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10754 
   10755 # Transform confdefs.h into DEFS.
   10756 # Protect against shell expansion while executing Makefile rules.
   10757 # Protect against Makefile macro expansion.
   10758 #
   10759 # If the first sed substitution is executed (which looks for macros that
   10760 # take arguments), then branch to the quote section.  Otherwise,
   10761 # look for a macro that doesn't take arguments.
   10762 ac_script='
   10763 :mline
   10764 /\\$/{
   10765  N
   10766  s,\\\n,,
   10767  b mline
   10768 }
   10769 t clear
   10770 :clear
   10771 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   10772 t quote
   10773 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   10774 t quote
   10775 b any
   10776 :quote
   10777 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   10778 s/\[/\\&/g
   10779 s/\]/\\&/g
   10780 s/\$/$$/g
   10781 H
   10782 :any
   10783 ${
   10784 	g
   10785 	s/^\n//
   10786 	s/\n/ /g
   10787 	p
   10788 }
   10789 '
   10790 DEFS=`sed -n "$ac_script" confdefs.h`
   10791 
   10792 
   10793 ac_libobjs=
   10794 ac_ltlibobjs=
   10795 U=
   10796 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10797   # 1. Remove the extension, and $U if already installed.
   10798   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10799   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10800   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10801   #    will be set to the directory where LIBOBJS objects are built.
   10802   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10803   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10804 done
   10805 LIBOBJS=$ac_libobjs
   10806 
   10807 LTLIBOBJS=$ac_ltlibobjs
   10808 
   10809 
   10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   10811 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   10812    if test -n "$am_sleep_pid"; then
   10813      # Hide warnings about reused PIDs.
   10814      wait $am_sleep_pid 2>/dev/null
   10815    fi
   10816    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   10817 $as_echo "done" >&6; }
   10818  if test -n "$EXEEXT"; then
   10819   am__EXEEXT_TRUE=
   10820   am__EXEEXT_FALSE='#'
   10821 else
   10822   am__EXEEXT_TRUE='#'
   10823   am__EXEEXT_FALSE=
   10824 fi
   10825 
   10826 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10827   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10829 fi
   10830 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10831   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10833 fi
   10834 
   10835 : "${CONFIG_STATUS=./config.status}"
   10836 ac_write_fail=0
   10837 ac_clean_files_save=$ac_clean_files
   10838 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10840 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10841 as_write_fail=0
   10842 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10843 #! $SHELL
   10844 # Generated by $as_me.
   10845 # Run this file to recreate the current configuration.
   10846 # Compiler output produced by configure, useful for debugging
   10847 # configure, is in config.log if it exists.
   10848 
   10849 debug=false
   10850 ac_cs_recheck=false
   10851 ac_cs_silent=false
   10852 
   10853 SHELL=\${CONFIG_SHELL-$SHELL}
   10854 export SHELL
   10855 _ASEOF
   10856 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10857 ## -------------------- ##
   10858 ## M4sh Initialization. ##
   10859 ## -------------------- ##
   10860 
   10861 # Be more Bourne compatible
   10862 DUALCASE=1; export DUALCASE # for MKS sh
   10863 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10864   emulate sh
   10865   NULLCMD=:
   10866   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10867   # is contrary to our usage.  Disable this feature.
   10868   alias -g '${1+"$@"}'='"$@"'
   10869   setopt NO_GLOB_SUBST
   10870 else
   10871   case `(set -o) 2>/dev/null` in #(
   10872   *posix*) :
   10873     set -o posix ;; #(
   10874   *) :
   10875      ;;
   10876 esac
   10877 fi
   10878 
   10879 
   10880 as_nl='
   10881 '
   10882 export as_nl
   10883 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10884 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10885 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10887 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10888 # but without wasting forks for bash or zsh.
   10889 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10890     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10891   as_echo='print -r --'
   10892   as_echo_n='print -rn --'
   10893 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10894   as_echo='printf %s\n'
   10895   as_echo_n='printf %s'
   10896 else
   10897   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10898     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10899     as_echo_n='/usr/ucb/echo -n'
   10900   else
   10901     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10902     as_echo_n_body='eval
   10903       arg=$1;
   10904       case $arg in #(
   10905       *"$as_nl"*)
   10906 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10907 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10908       esac;
   10909       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10910     '
   10911     export as_echo_n_body
   10912     as_echo_n='sh -c $as_echo_n_body as_echo'
   10913   fi
   10914   export as_echo_body
   10915   as_echo='sh -c $as_echo_body as_echo'
   10916 fi
   10917 
   10918 # The user is always right.
   10919 if test "${PATH_SEPARATOR+set}" != set; then
   10920   PATH_SEPARATOR=:
   10921   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10922     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10923       PATH_SEPARATOR=';'
   10924   }
   10925 fi
   10926 
   10927 
   10928 # IFS
   10929 # We need space, tab and new line, in precisely that order.  Quoting is
   10930 # there to prevent editors from complaining about space-tab.
   10931 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10932 # splitting by setting IFS to empty value.)
   10933 IFS=" ""	$as_nl"
   10934 
   10935 # Find who we are.  Look in the path if we contain no directory separator.
   10936 as_myself=
   10937 case $0 in #((
   10938   *[\\/]* ) as_myself=$0 ;;
   10939   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10940 for as_dir in $PATH
   10941 do
   10942   IFS=$as_save_IFS
   10943   test -z "$as_dir" && as_dir=.
   10944     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10945   done
   10946 IFS=$as_save_IFS
   10947 
   10948      ;;
   10949 esac
   10950 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10951 # in which case we are not to be found in the path.
   10952 if test "x$as_myself" = x; then
   10953   as_myself=$0
   10954 fi
   10955 if test ! -f "$as_myself"; then
   10956   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10957   exit 1
   10958 fi
   10959 
   10960 # Unset variables that we do not need and which cause bugs (e.g. in
   10961 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   10962 # suppresses any "Segmentation fault" message there.  '((' could
   10963 # trigger a bug in pdksh 5.2.14.
   10964 for as_var in BASH_ENV ENV MAIL MAILPATH
   10965 do eval test x\${$as_var+set} = xset \
   10966   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   10967 done
   10968 PS1='$ '
   10969 PS2='> '
   10970 PS4='+ '
   10971 
   10972 # NLS nuisances.
   10973 LC_ALL=C
   10974 export LC_ALL
   10975 LANGUAGE=C
   10976 export LANGUAGE
   10977 
   10978 # CDPATH.
   10979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10980 
   10981 
   10982 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   10983 # ----------------------------------------
   10984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   10985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   10986 # script with STATUS, using 1 if that was 0.
   10987 as_fn_error ()
   10988 {
   10989   as_status=$1; test $as_status -eq 0 && as_status=1
   10990   if test "$4"; then
   10991     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   10992     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   10993   fi
   10994   $as_echo "$as_me: error: $2" >&2
   10995   as_fn_exit $as_status
   10996 } # as_fn_error
   10997 
   10998 
   10999 # as_fn_set_status STATUS
   11000 # -----------------------
   11001 # Set $? to STATUS, without forking.
   11002 as_fn_set_status ()
   11003 {
   11004   return $1
   11005 } # as_fn_set_status
   11006 
   11007 # as_fn_exit STATUS
   11008 # -----------------
   11009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11010 as_fn_exit ()
   11011 {
   11012   set +e
   11013   as_fn_set_status $1
   11014   exit $1
   11015 } # as_fn_exit
   11016 
   11017 # as_fn_unset VAR
   11018 # ---------------
   11019 # Portably unset VAR.
   11020 as_fn_unset ()
   11021 {
   11022   { eval $1=; unset $1;}
   11023 }
   11024 as_unset=as_fn_unset
   11025 # as_fn_append VAR VALUE
   11026 # ----------------------
   11027 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11028 # advantage of any shell optimizations that allow amortized linear growth over
   11029 # repeated appends, instead of the typical quadratic growth present in naive
   11030 # implementations.
   11031 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11032   eval 'as_fn_append ()
   11033   {
   11034     eval $1+=\$2
   11035   }'
   11036 else
   11037   as_fn_append ()
   11038   {
   11039     eval $1=\$$1\$2
   11040   }
   11041 fi # as_fn_append
   11042 
   11043 # as_fn_arith ARG...
   11044 # ------------------
   11045 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11047 # must be portable across $(()) and expr.
   11048 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11049   eval 'as_fn_arith ()
   11050   {
   11051     as_val=$(( $* ))
   11052   }'
   11053 else
   11054   as_fn_arith ()
   11055   {
   11056     as_val=`expr "$@" || test $? -eq 1`
   11057   }
   11058 fi # as_fn_arith
   11059 
   11060 
   11061 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11062    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11063   as_expr=expr
   11064 else
   11065   as_expr=false
   11066 fi
   11067 
   11068 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11069   as_basename=basename
   11070 else
   11071   as_basename=false
   11072 fi
   11073 
   11074 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11075   as_dirname=dirname
   11076 else
   11077   as_dirname=false
   11078 fi
   11079 
   11080 as_me=`$as_basename -- "$0" ||
   11081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11082 	 X"$0" : 'X\(//\)$' \| \
   11083 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11084 $as_echo X/"$0" |
   11085     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11086 	    s//\1/
   11087 	    q
   11088 	  }
   11089 	  /^X\/\(\/\/\)$/{
   11090 	    s//\1/
   11091 	    q
   11092 	  }
   11093 	  /^X\/\(\/\).*/{
   11094 	    s//\1/
   11095 	    q
   11096 	  }
   11097 	  s/.*/./; q'`
   11098 
   11099 # Avoid depending upon Character Ranges.
   11100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11103 as_cr_digits='0123456789'
   11104 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11105 
   11106 ECHO_C= ECHO_N= ECHO_T=
   11107 case `echo -n x` in #(((((
   11108 -n*)
   11109   case `echo 'xy\c'` in
   11110   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11111   xy)  ECHO_C='\c';;
   11112   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11113        ECHO_T='	';;
   11114   esac;;
   11115 *)
   11116   ECHO_N='-n';;
   11117 esac
   11118 
   11119 rm -f conf$$ conf$$.exe conf$$.file
   11120 if test -d conf$$.dir; then
   11121   rm -f conf$$.dir/conf$$.file
   11122 else
   11123   rm -f conf$$.dir
   11124   mkdir conf$$.dir 2>/dev/null
   11125 fi
   11126 if (echo >conf$$.file) 2>/dev/null; then
   11127   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11128     as_ln_s='ln -s'
   11129     # ... but there are two gotchas:
   11130     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11131     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11132     # In both cases, we have to default to `cp -pR'.
   11133     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11134       as_ln_s='cp -pR'
   11135   elif ln conf$$.file conf$$ 2>/dev/null; then
   11136     as_ln_s=ln
   11137   else
   11138     as_ln_s='cp -pR'
   11139   fi
   11140 else
   11141   as_ln_s='cp -pR'
   11142 fi
   11143 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11144 rmdir conf$$.dir 2>/dev/null
   11145 
   11146 
   11147 # as_fn_mkdir_p
   11148 # -------------
   11149 # Create "$as_dir" as a directory, including parents if necessary.
   11150 as_fn_mkdir_p ()
   11151 {
   11152 
   11153   case $as_dir in #(
   11154   -*) as_dir=./$as_dir;;
   11155   esac
   11156   test -d "$as_dir" || eval $as_mkdir_p || {
   11157     as_dirs=
   11158     while :; do
   11159       case $as_dir in #(
   11160       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11161       *) as_qdir=$as_dir;;
   11162       esac
   11163       as_dirs="'$as_qdir' $as_dirs"
   11164       as_dir=`$as_dirname -- "$as_dir" ||
   11165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11166 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11167 	 X"$as_dir" : 'X\(//\)$' \| \
   11168 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11169 $as_echo X"$as_dir" |
   11170     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11171 	    s//\1/
   11172 	    q
   11173 	  }
   11174 	  /^X\(\/\/\)[^/].*/{
   11175 	    s//\1/
   11176 	    q
   11177 	  }
   11178 	  /^X\(\/\/\)$/{
   11179 	    s//\1/
   11180 	    q
   11181 	  }
   11182 	  /^X\(\/\).*/{
   11183 	    s//\1/
   11184 	    q
   11185 	  }
   11186 	  s/.*/./; q'`
   11187       test -d "$as_dir" && break
   11188     done
   11189     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11190   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11191 
   11192 
   11193 } # as_fn_mkdir_p
   11194 if mkdir -p . 2>/dev/null; then
   11195   as_mkdir_p='mkdir -p "$as_dir"'
   11196 else
   11197   test -d ./-p && rmdir ./-p
   11198   as_mkdir_p=false
   11199 fi
   11200 
   11201 
   11202 # as_fn_executable_p FILE
   11203 # -----------------------
   11204 # Test if FILE is an executable regular file.
   11205 as_fn_executable_p ()
   11206 {
   11207   test -f "$1" && test -x "$1"
   11208 } # as_fn_executable_p
   11209 as_test_x='test -x'
   11210 as_executable_p=as_fn_executable_p
   11211 
   11212 # Sed expression to map a string onto a valid CPP name.
   11213 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11214 
   11215 # Sed expression to map a string onto a valid variable name.
   11216 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11217 
   11218 
   11219 exec 6>&1
   11220 ## ----------------------------------- ##
   11221 ## Main body of $CONFIG_STATUS script. ##
   11222 ## ----------------------------------- ##
   11223 _ASEOF
   11224 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11225 
   11226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11227 # Save the log message, to keep $0 and so on meaningful, and to
   11228 # report actual input values of CONFIG_FILES etc. instead of their
   11229 # values after options handling.
   11230 ac_log="
   11231 This file was extended by xorg-cf-files $as_me 1.0.6, which was
   11232 generated by GNU Autoconf 2.69.  Invocation command line was
   11233 
   11234   CONFIG_FILES    = $CONFIG_FILES
   11235   CONFIG_HEADERS  = $CONFIG_HEADERS
   11236   CONFIG_LINKS    = $CONFIG_LINKS
   11237   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11238   $ $0 $@
   11239 
   11240 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11241 "
   11242 
   11243 _ACEOF
   11244 
   11245 case $ac_config_files in *"
   11246 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11247 esac
   11248 
   11249 
   11250 
   11251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11252 # Files that config.status was made for.
   11253 config_files="$ac_config_files"
   11254 config_commands="$ac_config_commands"
   11255 
   11256 _ACEOF
   11257 
   11258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11259 ac_cs_usage="\
   11260 \`$as_me' instantiates files and other configuration actions
   11261 from templates according to the current configuration.  Unless the files
   11262 and actions are specified as TAGs, all are instantiated by default.
   11263 
   11264 Usage: $0 [OPTION]... [TAG]...
   11265 
   11266   -h, --help       print this help, then exit
   11267   -V, --version    print version number and configuration settings, then exit
   11268       --config     print configuration, then exit
   11269   -q, --quiet, --silent
   11270                    do not print progress messages
   11271   -d, --debug      don't remove temporary files
   11272       --recheck    update $as_me by reconfiguring in the same conditions
   11273       --file=FILE[:TEMPLATE]
   11274                    instantiate the configuration file FILE
   11275 
   11276 Configuration files:
   11277 $config_files
   11278 
   11279 Configuration commands:
   11280 $config_commands
   11281 
   11282 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11283 
   11284 _ACEOF
   11285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11286 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11287 ac_cs_version="\\
   11288 xorg-cf-files config.status 1.0.6
   11289 configured by $0, generated by GNU Autoconf 2.69,
   11290   with options \\"\$ac_cs_config\\"
   11291 
   11292 Copyright (C) 2012 Free Software Foundation, Inc.
   11293 This config.status script is free software; the Free Software Foundation
   11294 gives unlimited permission to copy, distribute and modify it."
   11295 
   11296 ac_pwd='$ac_pwd'
   11297 srcdir='$srcdir'
   11298 INSTALL='$INSTALL'
   11299 MKDIR_P='$MKDIR_P'
   11300 AWK='$AWK'
   11301 test -n "\$AWK" || AWK=awk
   11302 _ACEOF
   11303 
   11304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11305 # The default lists apply if the user does not specify any file.
   11306 ac_need_defaults=:
   11307 while test $# != 0
   11308 do
   11309   case $1 in
   11310   --*=?*)
   11311     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11312     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11313     ac_shift=:
   11314     ;;
   11315   --*=)
   11316     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11317     ac_optarg=
   11318     ac_shift=:
   11319     ;;
   11320   *)
   11321     ac_option=$1
   11322     ac_optarg=$2
   11323     ac_shift=shift
   11324     ;;
   11325   esac
   11326 
   11327   case $ac_option in
   11328   # Handling of the options.
   11329   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11330     ac_cs_recheck=: ;;
   11331   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11332     $as_echo "$ac_cs_version"; exit ;;
   11333   --config | --confi | --conf | --con | --co | --c )
   11334     $as_echo "$ac_cs_config"; exit ;;
   11335   --debug | --debu | --deb | --de | --d | -d )
   11336     debug=: ;;
   11337   --file | --fil | --fi | --f )
   11338     $ac_shift
   11339     case $ac_optarg in
   11340     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11341     '') as_fn_error $? "missing file argument" ;;
   11342     esac
   11343     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11344     ac_need_defaults=false;;
   11345   --he | --h |  --help | --hel | -h )
   11346     $as_echo "$ac_cs_usage"; exit ;;
   11347   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11348   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11349     ac_cs_silent=: ;;
   11350 
   11351   # This is an error.
   11352   -*) as_fn_error $? "unrecognized option: \`$1'
   11353 Try \`$0 --help' for more information." ;;
   11354 
   11355   *) as_fn_append ac_config_targets " $1"
   11356      ac_need_defaults=false ;;
   11357 
   11358   esac
   11359   shift
   11360 done
   11361 
   11362 ac_configure_extra_args=
   11363 
   11364 if $ac_cs_silent; then
   11365   exec 6>/dev/null
   11366   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11367 fi
   11368 
   11369 _ACEOF
   11370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11371 if \$ac_cs_recheck; then
   11372   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11373   shift
   11374   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11375   CONFIG_SHELL='$SHELL'
   11376   export CONFIG_SHELL
   11377   exec "\$@"
   11378 fi
   11379 
   11380 _ACEOF
   11381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11382 exec 5>>config.log
   11383 {
   11384   echo
   11385   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11386 ## Running $as_me. ##
   11387 _ASBOX
   11388   $as_echo "$ac_log"
   11389 } >&5
   11390 
   11391 _ACEOF
   11392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11393 #
   11394 # INIT-COMMANDS
   11395 #
   11396 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11397 
   11398 _ACEOF
   11399 
   11400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11401 
   11402 # Handling of arguments.
   11403 for ac_config_target in $ac_config_targets
   11404 do
   11405   case $ac_config_target in
   11406     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11407     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11408     "site.def") CONFIG_FILES="$CONFIG_FILES site.def" ;;
   11409 
   11410   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11411   esac
   11412 done
   11413 
   11414 
   11415 # If the user did not use the arguments to specify the items to instantiate,
   11416 # then the envvar interface is used.  Set only those that are not.
   11417 # We use the long form for the default assignment because of an extremely
   11418 # bizarre bug on SunOS 4.1.3.
   11419 if $ac_need_defaults; then
   11420   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11421   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11422 fi
   11423 
   11424 # Have a temporary directory for convenience.  Make it in the build tree
   11425 # simply because there is no reason against having it here, and in addition,
   11426 # creating and moving files from /tmp can sometimes cause problems.
   11427 # Hook for its removal unless debugging.
   11428 # Note that there is a small window in which the directory will not be cleaned:
   11429 # after its creation but before its name has been assigned to `$tmp'.
   11430 $debug ||
   11431 {
   11432   tmp= ac_tmp=
   11433   trap 'exit_status=$?
   11434   : "${ac_tmp:=$tmp}"
   11435   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11436 ' 0
   11437   trap 'as_fn_exit 1' 1 2 13 15
   11438 }
   11439 # Create a (secure) tmp directory for tmp files.
   11440 
   11441 {
   11442   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11443   test -d "$tmp"
   11444 }  ||
   11445 {
   11446   tmp=./conf$$-$RANDOM
   11447   (umask 077 && mkdir "$tmp")
   11448 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11449 ac_tmp=$tmp
   11450 
   11451 # Set up the scripts for CONFIG_FILES section.
   11452 # No need to generate them if there are no CONFIG_FILES.
   11453 # This happens for instance with `./config.status config.h'.
   11454 if test -n "$CONFIG_FILES"; then
   11455 
   11456 
   11457 ac_cr=`echo X | tr X '\015'`
   11458 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11459 # But we know of no other shell where ac_cr would be empty at this
   11460 # point, so we can use a bashism as a fallback.
   11461 if test "x$ac_cr" = x; then
   11462   eval ac_cr=\$\'\\r\'
   11463 fi
   11464 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11465 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11466   ac_cs_awk_cr='\\r'
   11467 else
   11468   ac_cs_awk_cr=$ac_cr
   11469 fi
   11470 
   11471 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11472 _ACEOF
   11473 
   11474 
   11475 {
   11476   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11477   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11478   echo "_ACEOF"
   11479 } >conf$$subs.sh ||
   11480   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11481 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11482 ac_delim='%!_!# '
   11483 for ac_last_try in false false false false false :; do
   11484   . ./conf$$subs.sh ||
   11485     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11486 
   11487   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11488   if test $ac_delim_n = $ac_delim_num; then
   11489     break
   11490   elif $ac_last_try; then
   11491     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11492   else
   11493     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11494   fi
   11495 done
   11496 rm -f conf$$subs.sh
   11497 
   11498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11499 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11500 _ACEOF
   11501 sed -n '
   11502 h
   11503 s/^/S["/; s/!.*/"]=/
   11504 p
   11505 g
   11506 s/^[^!]*!//
   11507 :repl
   11508 t repl
   11509 s/'"$ac_delim"'$//
   11510 t delim
   11511 :nl
   11512 h
   11513 s/\(.\{148\}\)..*/\1/
   11514 t more1
   11515 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11516 p
   11517 n
   11518 b repl
   11519 :more1
   11520 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11521 p
   11522 g
   11523 s/.\{148\}//
   11524 t nl
   11525 :delim
   11526 h
   11527 s/\(.\{148\}\)..*/\1/
   11528 t more2
   11529 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11530 p
   11531 b
   11532 :more2
   11533 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11534 p
   11535 g
   11536 s/.\{148\}//
   11537 t delim
   11538 ' <conf$$subs.awk | sed '
   11539 /^[^""]/{
   11540   N
   11541   s/\n//
   11542 }
   11543 ' >>$CONFIG_STATUS || ac_write_fail=1
   11544 rm -f conf$$subs.awk
   11545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11546 _ACAWK
   11547 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11548   for (key in S) S_is_set[key] = 1
   11549   FS = ""
   11550 
   11551 }
   11552 {
   11553   line = $ 0
   11554   nfields = split(line, field, "@")
   11555   substed = 0
   11556   len = length(field[1])
   11557   for (i = 2; i < nfields; i++) {
   11558     key = field[i]
   11559     keylen = length(key)
   11560     if (S_is_set[key]) {
   11561       value = S[key]
   11562       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11563       len += length(value) + length(field[++i])
   11564       substed = 1
   11565     } else
   11566       len += 1 + keylen
   11567   }
   11568 
   11569   print line
   11570 }
   11571 
   11572 _ACAWK
   11573 _ACEOF
   11574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11575 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11576   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11577 else
   11578   cat
   11579 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11580   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11581 _ACEOF
   11582 
   11583 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11584 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11585 # trailing colons and then remove the whole line if VPATH becomes empty
   11586 # (actually we leave an empty line to preserve line numbers).
   11587 if test "x$srcdir" = x.; then
   11588   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11589 h
   11590 s///
   11591 s/^/:/
   11592 s/[	 ]*$/:/
   11593 s/:\$(srcdir):/:/g
   11594 s/:\${srcdir}:/:/g
   11595 s/:@srcdir@:/:/g
   11596 s/^:*//
   11597 s/:*$//
   11598 x
   11599 s/\(=[	 ]*\).*/\1/
   11600 G
   11601 s/\n//
   11602 s/^[^=]*=[	 ]*$//
   11603 }'
   11604 fi
   11605 
   11606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11607 fi # test -n "$CONFIG_FILES"
   11608 
   11609 
   11610 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   11611 shift
   11612 for ac_tag
   11613 do
   11614   case $ac_tag in
   11615   :[FHLC]) ac_mode=$ac_tag; continue;;
   11616   esac
   11617   case $ac_mode$ac_tag in
   11618   :[FHL]*:*);;
   11619   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11620   :[FH]-) ac_tag=-:-;;
   11621   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11622   esac
   11623   ac_save_IFS=$IFS
   11624   IFS=:
   11625   set x $ac_tag
   11626   IFS=$ac_save_IFS
   11627   shift
   11628   ac_file=$1
   11629   shift
   11630 
   11631   case $ac_mode in
   11632   :L) ac_source=$1;;
   11633   :[FH])
   11634     ac_file_inputs=
   11635     for ac_f
   11636     do
   11637       case $ac_f in
   11638       -) ac_f="$ac_tmp/stdin";;
   11639       *) # Look for the file first in the build tree, then in the source tree
   11640 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11641 	 # because $ac_f cannot contain `:'.
   11642 	 test -f "$ac_f" ||
   11643 	   case $ac_f in
   11644 	   [\\/$]*) false;;
   11645 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11646 	   esac ||
   11647 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11648       esac
   11649       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11650       as_fn_append ac_file_inputs " '$ac_f'"
   11651     done
   11652 
   11653     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11654     # use $as_me), people would be surprised to read:
   11655     #    /* config.h.  Generated by config.status.  */
   11656     configure_input='Generated from '`
   11657 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11658 	`' by configure.'
   11659     if test x"$ac_file" != x-; then
   11660       configure_input="$ac_file.  $configure_input"
   11661       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11662 $as_echo "$as_me: creating $ac_file" >&6;}
   11663     fi
   11664     # Neutralize special characters interpreted by sed in replacement strings.
   11665     case $configure_input in #(
   11666     *\&* | *\|* | *\\* )
   11667        ac_sed_conf_input=`$as_echo "$configure_input" |
   11668        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11669     *) ac_sed_conf_input=$configure_input;;
   11670     esac
   11671 
   11672     case $ac_tag in
   11673     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11674       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11675     esac
   11676     ;;
   11677   esac
   11678 
   11679   ac_dir=`$as_dirname -- "$ac_file" ||
   11680 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11681 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11682 	 X"$ac_file" : 'X\(//\)$' \| \
   11683 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11684 $as_echo X"$ac_file" |
   11685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11686 	    s//\1/
   11687 	    q
   11688 	  }
   11689 	  /^X\(\/\/\)[^/].*/{
   11690 	    s//\1/
   11691 	    q
   11692 	  }
   11693 	  /^X\(\/\/\)$/{
   11694 	    s//\1/
   11695 	    q
   11696 	  }
   11697 	  /^X\(\/\).*/{
   11698 	    s//\1/
   11699 	    q
   11700 	  }
   11701 	  s/.*/./; q'`
   11702   as_dir="$ac_dir"; as_fn_mkdir_p
   11703   ac_builddir=.
   11704 
   11705 case "$ac_dir" in
   11706 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11707 *)
   11708   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11709   # A ".." for each directory in $ac_dir_suffix.
   11710   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11711   case $ac_top_builddir_sub in
   11712   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11713   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11714   esac ;;
   11715 esac
   11716 ac_abs_top_builddir=$ac_pwd
   11717 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11718 # for backward compatibility:
   11719 ac_top_builddir=$ac_top_build_prefix
   11720 
   11721 case $srcdir in
   11722   .)  # We are building in place.
   11723     ac_srcdir=.
   11724     ac_top_srcdir=$ac_top_builddir_sub
   11725     ac_abs_top_srcdir=$ac_pwd ;;
   11726   [\\/]* | ?:[\\/]* )  # Absolute name.
   11727     ac_srcdir=$srcdir$ac_dir_suffix;
   11728     ac_top_srcdir=$srcdir
   11729     ac_abs_top_srcdir=$srcdir ;;
   11730   *) # Relative name.
   11731     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11732     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11733     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11734 esac
   11735 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11736 
   11737 
   11738   case $ac_mode in
   11739   :F)
   11740   #
   11741   # CONFIG_FILE
   11742   #
   11743 
   11744   case $INSTALL in
   11745   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11746   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11747   esac
   11748   ac_MKDIR_P=$MKDIR_P
   11749   case $MKDIR_P in
   11750   [\\/$]* | ?:[\\/]* ) ;;
   11751   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11752   esac
   11753 _ACEOF
   11754 
   11755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11756 # If the template does not know about datarootdir, expand it.
   11757 # FIXME: This hack should be removed a few years after 2.60.
   11758 ac_datarootdir_hack=; ac_datarootdir_seen=
   11759 ac_sed_dataroot='
   11760 /datarootdir/ {
   11761   p
   11762   q
   11763 }
   11764 /@datadir@/p
   11765 /@docdir@/p
   11766 /@infodir@/p
   11767 /@localedir@/p
   11768 /@mandir@/p'
   11769 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11770 *datarootdir*) ac_datarootdir_seen=yes;;
   11771 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11772   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11773 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11774 _ACEOF
   11775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11776   ac_datarootdir_hack='
   11777   s&@datadir@&$datadir&g
   11778   s&@docdir@&$docdir&g
   11779   s&@infodir@&$infodir&g
   11780   s&@localedir@&$localedir&g
   11781   s&@mandir@&$mandir&g
   11782   s&\\\${datarootdir}&$datarootdir&g' ;;
   11783 esac
   11784 _ACEOF
   11785 
   11786 # Neutralize VPATH when `$srcdir' = `.'.
   11787 # Shell code in configure.ac might set extrasub.
   11788 # FIXME: do we really want to maintain this feature?
   11789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11790 ac_sed_extra="$ac_vpsub
   11791 $extrasub
   11792 _ACEOF
   11793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11794 :t
   11795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11796 s|@configure_input@|$ac_sed_conf_input|;t t
   11797 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11798 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11799 s&@srcdir@&$ac_srcdir&;t t
   11800 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11801 s&@top_srcdir@&$ac_top_srcdir&;t t
   11802 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11803 s&@builddir@&$ac_builddir&;t t
   11804 s&@abs_builddir@&$ac_abs_builddir&;t t
   11805 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11806 s&@INSTALL@&$ac_INSTALL&;t t
   11807 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11808 $ac_datarootdir_hack
   11809 "
   11810 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   11811   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11812 
   11813 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11814   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   11815   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   11816       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   11817   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11818 which seems to be undefined.  Please make sure it is defined" >&5
   11819 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11820 which seems to be undefined.  Please make sure it is defined" >&2;}
   11821 
   11822   rm -f "$ac_tmp/stdin"
   11823   case $ac_file in
   11824   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   11825   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   11826   esac \
   11827   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   11828  ;;
   11829 
   11830 
   11831   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   11832 $as_echo "$as_me: executing $ac_file commands" >&6;}
   11833  ;;
   11834   esac
   11835 
   11836 
   11837   case $ac_file$ac_mode in
   11838     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   11839   # Older Autoconf quotes --file arguments for eval, but not when files
   11840   # are listed without --file.  Let's play safe and only enable the eval
   11841   # if we detect the quoting.
   11842   case $CONFIG_FILES in
   11843   *\'*) eval set x "$CONFIG_FILES" ;;
   11844   *)   set x $CONFIG_FILES ;;
   11845   esac
   11846   shift
   11847   for mf
   11848   do
   11849     # Strip MF so we end up with the name of the file.
   11850     mf=`echo "$mf" | sed -e 's/:.*$//'`
   11851     # Check whether this is an Automake generated Makefile or not.
   11852     # We used to match only the files named 'Makefile.in', but
   11853     # some people rename them; so instead we look at the file content.
   11854     # Grep'ing the first line is not enough: some people post-process
   11855     # each Makefile.in and add a new line on top of each file to say so.
   11856     # Grep'ing the whole file is not good either: AIX grep has a line
   11857     # limit of 2048, but all sed's we know have understand at least 4000.
   11858     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   11859       dirpart=`$as_dirname -- "$mf" ||
   11860 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11861 	 X"$mf" : 'X\(//\)[^/]' \| \
   11862 	 X"$mf" : 'X\(//\)$' \| \
   11863 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   11864 $as_echo X"$mf" |
   11865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11866 	    s//\1/
   11867 	    q
   11868 	  }
   11869 	  /^X\(\/\/\)[^/].*/{
   11870 	    s//\1/
   11871 	    q
   11872 	  }
   11873 	  /^X\(\/\/\)$/{
   11874 	    s//\1/
   11875 	    q
   11876 	  }
   11877 	  /^X\(\/\).*/{
   11878 	    s//\1/
   11879 	    q
   11880 	  }
   11881 	  s/.*/./; q'`
   11882     else
   11883       continue
   11884     fi
   11885     # Extract the definition of DEPDIR, am__include, and am__quote
   11886     # from the Makefile without running 'make'.
   11887     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   11888     test -z "$DEPDIR" && continue
   11889     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   11890     test -z "$am__include" && continue
   11891     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   11892     # Find all dependency output files, they are included files with
   11893     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   11894     # simplest approach to changing $(DEPDIR) to its actual value in the
   11895     # expansion.
   11896     for file in `sed -n "
   11897       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   11898 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   11899       # Make sure the directory exists.
   11900       test -f "$dirpart/$file" && continue
   11901       fdir=`$as_dirname -- "$file" ||
   11902 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11903 	 X"$file" : 'X\(//\)[^/]' \| \
   11904 	 X"$file" : 'X\(//\)$' \| \
   11905 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   11906 $as_echo X"$file" |
   11907     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11908 	    s//\1/
   11909 	    q
   11910 	  }
   11911 	  /^X\(\/\/\)[^/].*/{
   11912 	    s//\1/
   11913 	    q
   11914 	  }
   11915 	  /^X\(\/\/\)$/{
   11916 	    s//\1/
   11917 	    q
   11918 	  }
   11919 	  /^X\(\/\).*/{
   11920 	    s//\1/
   11921 	    q
   11922 	  }
   11923 	  s/.*/./; q'`
   11924       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   11925       # echo "creating $dirpart/$file"
   11926       echo '# dummy' > "$dirpart/$file"
   11927     done
   11928   done
   11929 }
   11930  ;;
   11931 
   11932   esac
   11933 done # for ac_tag
   11934 
   11935 
   11936 as_fn_exit 0
   11937 _ACEOF
   11938 ac_clean_files=$ac_clean_files_save
   11939 
   11940 test $ac_write_fail = 0 ||
   11941   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   11942 
   11943 
   11944 # configure is writing to config.log, and then calls config.status.
   11945 # config.status does its own redirection, appending to config.log.
   11946 # Unfortunately, on DOS this fails, as config.log is still kept open
   11947 # by configure, so config.status won't be able to write to it; its
   11948 # output is simply discarded.  So we exec the FD to /dev/null,
   11949 # effectively closing config.log, so it can be properly (re)opened and
   11950 # appended to by config.status.  When coming back to configure, we
   11951 # need to make the FD available again.
   11952 if test "$no_create" != yes; then
   11953   ac_cs_success=:
   11954   ac_config_status_args=
   11955   test "$silent" = yes &&
   11956     ac_config_status_args="$ac_config_status_args --quiet"
   11957   exec 5>/dev/null
   11958   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11959   exec 5>>config.log
   11960   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11961   # would make configure fail if this is the last instruction.
   11962   $ac_cs_success || as_fn_exit 1
   11963 fi
   11964 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11965   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11966 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11967 fi
   11968 
   11969