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.68 for makedepend 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='makedepend'
    563 PACKAGE_TARNAME='makedepend'
    564 PACKAGE_VERSION='1.0.5'
    565 PACKAGE_STRING='makedepend 1.0.5'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 X_LIBS
    611 X_CFLAGS
    612 LINT_FALSE
    613 LINT_TRUE
    614 LINT_FLAGS
    615 LINT
    616 MAN_SUBSTS
    617 XORG_MAN_PAGE
    618 ADMIN_MAN_DIR
    619 DRIVER_MAN_DIR
    620 MISC_MAN_DIR
    621 FILE_MAN_DIR
    622 LIB_MAN_DIR
    623 APP_MAN_DIR
    624 ADMIN_MAN_SUFFIX
    625 DRIVER_MAN_SUFFIX
    626 MISC_MAN_SUFFIX
    627 FILE_MAN_SUFFIX
    628 LIB_MAN_SUFFIX
    629 APP_MAN_SUFFIX
    630 SED
    631 host_os
    632 host_vendor
    633 host_cpu
    634 host
    635 build_os
    636 build_vendor
    637 build_cpu
    638 build
    639 INSTALL_CMD
    640 PKG_CONFIG
    641 CHANGELOG_CMD
    642 STRICT_CFLAGS
    643 CWARNFLAGS
    644 BASE_CFLAGS
    645 EGREP
    646 GREP
    647 CPP
    648 am__fastdepCC_FALSE
    649 am__fastdepCC_TRUE
    650 CCDEPMODE
    651 am__nodep
    652 AMDEPBACKSLASH
    653 AMDEP_FALSE
    654 AMDEP_TRUE
    655 am__quote
    656 am__include
    657 DEPDIR
    658 OBJEXT
    659 EXEEXT
    660 ac_ct_CC
    661 CPPFLAGS
    662 LDFLAGS
    663 CFLAGS
    664 CC
    665 AM_BACKSLASH
    666 AM_DEFAULT_VERBOSITY
    667 AM_DEFAULT_V
    668 AM_V
    669 am__untar
    670 am__tar
    671 AMTAR
    672 am__leading_dot
    673 SET_MAKE
    674 AWK
    675 mkdir_p
    676 MKDIR_P
    677 INSTALL_STRIP_PROGRAM
    678 STRIP
    679 install_sh
    680 MAKEINFO
    681 AUTOHEADER
    682 AUTOMAKE
    683 AUTOCONF
    684 ACLOCAL
    685 VERSION
    686 PACKAGE
    687 CYGPATH_W
    688 am__isrc
    689 INSTALL_DATA
    690 INSTALL_SCRIPT
    691 INSTALL_PROGRAM
    692 target_alias
    693 host_alias
    694 build_alias
    695 LIBS
    696 ECHO_T
    697 ECHO_N
    698 ECHO_C
    699 DEFS
    700 mandir
    701 localedir
    702 libdir
    703 psdir
    704 pdfdir
    705 dvidir
    706 htmldir
    707 infodir
    708 docdir
    709 oldincludedir
    710 includedir
    711 localstatedir
    712 sharedstatedir
    713 sysconfdir
    714 datadir
    715 datarootdir
    716 libexecdir
    717 sbindir
    718 bindir
    719 program_transform_name
    720 prefix
    721 exec_prefix
    722 PACKAGE_URL
    723 PACKAGE_BUGREPORT
    724 PACKAGE_STRING
    725 PACKAGE_VERSION
    726 PACKAGE_TARNAME
    727 PACKAGE_NAME
    728 PATH_SEPARATOR
    729 SHELL'
    730 ac_subst_files=''
    731 ac_user_opts='
    732 enable_option_checking
    733 enable_silent_rules
    734 enable_dependency_tracking
    735 enable_selective_werror
    736 enable_strict_compilation
    737 with_lint
    738 enable_largefile
    739 '
    740       ac_precious_vars='build_alias
    741 host_alias
    742 target_alias
    743 CC
    744 CFLAGS
    745 LDFLAGS
    746 LIBS
    747 CPPFLAGS
    748 CPP
    749 PKG_CONFIG
    750 LINT
    751 LINT_FLAGS
    752 X_CFLAGS
    753 X_LIBS'
    754 
    755 
    756 # Initialize some variables set by options.
    757 ac_init_help=
    758 ac_init_version=false
    759 ac_unrecognized_opts=
    760 ac_unrecognized_sep=
    761 # The variables have the same names as the options, with
    762 # dashes changed to underlines.
    763 cache_file=/dev/null
    764 exec_prefix=NONE
    765 no_create=
    766 no_recursion=
    767 prefix=NONE
    768 program_prefix=NONE
    769 program_suffix=NONE
    770 program_transform_name=s,x,x,
    771 silent=
    772 site=
    773 srcdir=
    774 verbose=
    775 x_includes=NONE
    776 x_libraries=NONE
    777 
    778 # Installation directory options.
    779 # These are left unexpanded so users can "make install exec_prefix=/foo"
    780 # and all the variables that are supposed to be based on exec_prefix
    781 # by default will actually change.
    782 # Use braces instead of parens because sh, perl, etc. also accept them.
    783 # (The list follows the same order as the GNU Coding Standards.)
    784 bindir='${exec_prefix}/bin'
    785 sbindir='${exec_prefix}/sbin'
    786 libexecdir='${exec_prefix}/libexec'
    787 datarootdir='${prefix}/share'
    788 datadir='${datarootdir}'
    789 sysconfdir='${prefix}/etc'
    790 sharedstatedir='${prefix}/com'
    791 localstatedir='${prefix}/var'
    792 includedir='${prefix}/include'
    793 oldincludedir='/usr/include'
    794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    795 infodir='${datarootdir}/info'
    796 htmldir='${docdir}'
    797 dvidir='${docdir}'
    798 pdfdir='${docdir}'
    799 psdir='${docdir}'
    800 libdir='${exec_prefix}/lib'
    801 localedir='${datarootdir}/locale'
    802 mandir='${datarootdir}/man'
    803 
    804 ac_prev=
    805 ac_dashdash=
    806 for ac_option
    807 do
    808   # If the previous option needs an argument, assign it.
    809   if test -n "$ac_prev"; then
    810     eval $ac_prev=\$ac_option
    811     ac_prev=
    812     continue
    813   fi
    814 
    815   case $ac_option in
    816   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    817   *=)   ac_optarg= ;;
    818   *)    ac_optarg=yes ;;
    819   esac
    820 
    821   # Accept the important Cygnus configure options, so we can diagnose typos.
    822 
    823   case $ac_dashdash$ac_option in
    824   --)
    825     ac_dashdash=yes ;;
    826 
    827   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    828     ac_prev=bindir ;;
    829   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    830     bindir=$ac_optarg ;;
    831 
    832   -build | --build | --buil | --bui | --bu)
    833     ac_prev=build_alias ;;
    834   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    835     build_alias=$ac_optarg ;;
    836 
    837   -cache-file | --cache-file | --cache-fil | --cache-fi \
    838   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    839     ac_prev=cache_file ;;
    840   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    841   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    842     cache_file=$ac_optarg ;;
    843 
    844   --config-cache | -C)
    845     cache_file=config.cache ;;
    846 
    847   -datadir | --datadir | --datadi | --datad)
    848     ac_prev=datadir ;;
    849   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    850     datadir=$ac_optarg ;;
    851 
    852   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    853   | --dataroo | --dataro | --datar)
    854     ac_prev=datarootdir ;;
    855   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    856   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    857     datarootdir=$ac_optarg ;;
    858 
    859   -disable-* | --disable-*)
    860     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    861     # Reject names that are not valid shell variable names.
    862     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    863       as_fn_error $? "invalid feature name: $ac_useropt"
    864     ac_useropt_orig=$ac_useropt
    865     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    866     case $ac_user_opts in
    867       *"
    868 "enable_$ac_useropt"
    869 "*) ;;
    870       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    871 	 ac_unrecognized_sep=', ';;
    872     esac
    873     eval enable_$ac_useropt=no ;;
    874 
    875   -docdir | --docdir | --docdi | --doc | --do)
    876     ac_prev=docdir ;;
    877   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    878     docdir=$ac_optarg ;;
    879 
    880   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    881     ac_prev=dvidir ;;
    882   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    883     dvidir=$ac_optarg ;;
    884 
    885   -enable-* | --enable-*)
    886     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    887     # Reject names that are not valid shell variable names.
    888     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       as_fn_error $? "invalid feature name: $ac_useropt"
    890     ac_useropt_orig=$ac_useropt
    891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    892     case $ac_user_opts in
    893       *"
    894 "enable_$ac_useropt"
    895 "*) ;;
    896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    897 	 ac_unrecognized_sep=', ';;
    898     esac
    899     eval enable_$ac_useropt=\$ac_optarg ;;
    900 
    901   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    902   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    903   | --exec | --exe | --ex)
    904     ac_prev=exec_prefix ;;
    905   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    906   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    907   | --exec=* | --exe=* | --ex=*)
    908     exec_prefix=$ac_optarg ;;
    909 
    910   -gas | --gas | --ga | --g)
    911     # Obsolete; use --with-gas.
    912     with_gas=yes ;;
    913 
    914   -help | --help | --hel | --he | -h)
    915     ac_init_help=long ;;
    916   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    917     ac_init_help=recursive ;;
    918   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    919     ac_init_help=short ;;
    920 
    921   -host | --host | --hos | --ho)
    922     ac_prev=host_alias ;;
    923   -host=* | --host=* | --hos=* | --ho=*)
    924     host_alias=$ac_optarg ;;
    925 
    926   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    927     ac_prev=htmldir ;;
    928   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    929   | --ht=*)
    930     htmldir=$ac_optarg ;;
    931 
    932   -includedir | --includedir | --includedi | --included | --include \
    933   | --includ | --inclu | --incl | --inc)
    934     ac_prev=includedir ;;
    935   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    936   | --includ=* | --inclu=* | --incl=* | --inc=*)
    937     includedir=$ac_optarg ;;
    938 
    939   -infodir | --infodir | --infodi | --infod | --info | --inf)
    940     ac_prev=infodir ;;
    941   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    942     infodir=$ac_optarg ;;
    943 
    944   -libdir | --libdir | --libdi | --libd)
    945     ac_prev=libdir ;;
    946   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    947     libdir=$ac_optarg ;;
    948 
    949   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    950   | --libexe | --libex | --libe)
    951     ac_prev=libexecdir ;;
    952   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    953   | --libexe=* | --libex=* | --libe=*)
    954     libexecdir=$ac_optarg ;;
    955 
    956   -localedir | --localedir | --localedi | --localed | --locale)
    957     ac_prev=localedir ;;
    958   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    959     localedir=$ac_optarg ;;
    960 
    961   -localstatedir | --localstatedir | --localstatedi | --localstated \
    962   | --localstate | --localstat | --localsta | --localst | --locals)
    963     ac_prev=localstatedir ;;
    964   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    965   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    966     localstatedir=$ac_optarg ;;
    967 
    968   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    969     ac_prev=mandir ;;
    970   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    971     mandir=$ac_optarg ;;
    972 
    973   -nfp | --nfp | --nf)
    974     # Obsolete; use --without-fp.
    975     with_fp=no ;;
    976 
    977   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    978   | --no-cr | --no-c | -n)
    979     no_create=yes ;;
    980 
    981   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    982   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    983     no_recursion=yes ;;
    984 
    985   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    986   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    987   | --oldin | --oldi | --old | --ol | --o)
    988     ac_prev=oldincludedir ;;
    989   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    990   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    991   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    992     oldincludedir=$ac_optarg ;;
    993 
    994   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    995     ac_prev=prefix ;;
    996   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    997     prefix=$ac_optarg ;;
    998 
    999   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1000   | --program-pre | --program-pr | --program-p)
   1001     ac_prev=program_prefix ;;
   1002   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1003   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1004     program_prefix=$ac_optarg ;;
   1005 
   1006   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1007   | --program-suf | --program-su | --program-s)
   1008     ac_prev=program_suffix ;;
   1009   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1010   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1011     program_suffix=$ac_optarg ;;
   1012 
   1013   -program-transform-name | --program-transform-name \
   1014   | --program-transform-nam | --program-transform-na \
   1015   | --program-transform-n | --program-transform- \
   1016   | --program-transform | --program-transfor \
   1017   | --program-transfo | --program-transf \
   1018   | --program-trans | --program-tran \
   1019   | --progr-tra | --program-tr | --program-t)
   1020     ac_prev=program_transform_name ;;
   1021   -program-transform-name=* | --program-transform-name=* \
   1022   | --program-transform-nam=* | --program-transform-na=* \
   1023   | --program-transform-n=* | --program-transform-=* \
   1024   | --program-transform=* | --program-transfor=* \
   1025   | --program-transfo=* | --program-transf=* \
   1026   | --program-trans=* | --program-tran=* \
   1027   | --progr-tra=* | --program-tr=* | --program-t=*)
   1028     program_transform_name=$ac_optarg ;;
   1029 
   1030   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1031     ac_prev=pdfdir ;;
   1032   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1033     pdfdir=$ac_optarg ;;
   1034 
   1035   -psdir | --psdir | --psdi | --psd | --ps)
   1036     ac_prev=psdir ;;
   1037   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1038     psdir=$ac_optarg ;;
   1039 
   1040   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1041   | -silent | --silent | --silen | --sile | --sil)
   1042     silent=yes ;;
   1043 
   1044   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1045     ac_prev=sbindir ;;
   1046   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1047   | --sbi=* | --sb=*)
   1048     sbindir=$ac_optarg ;;
   1049 
   1050   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1051   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1052   | --sharedst | --shareds | --shared | --share | --shar \
   1053   | --sha | --sh)
   1054     ac_prev=sharedstatedir ;;
   1055   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1056   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1057   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1058   | --sha=* | --sh=*)
   1059     sharedstatedir=$ac_optarg ;;
   1060 
   1061   -site | --site | --sit)
   1062     ac_prev=site ;;
   1063   -site=* | --site=* | --sit=*)
   1064     site=$ac_optarg ;;
   1065 
   1066   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1067     ac_prev=srcdir ;;
   1068   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1069     srcdir=$ac_optarg ;;
   1070 
   1071   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1072   | --syscon | --sysco | --sysc | --sys | --sy)
   1073     ac_prev=sysconfdir ;;
   1074   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1075   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1076     sysconfdir=$ac_optarg ;;
   1077 
   1078   -target | --target | --targe | --targ | --tar | --ta | --t)
   1079     ac_prev=target_alias ;;
   1080   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1081     target_alias=$ac_optarg ;;
   1082 
   1083   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1084     verbose=yes ;;
   1085 
   1086   -version | --version | --versio | --versi | --vers | -V)
   1087     ac_init_version=: ;;
   1088 
   1089   -with-* | --with-*)
   1090     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1091     # Reject names that are not valid shell variable names.
   1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1093       as_fn_error $? "invalid package name: $ac_useropt"
   1094     ac_useropt_orig=$ac_useropt
   1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1096     case $ac_user_opts in
   1097       *"
   1098 "with_$ac_useropt"
   1099 "*) ;;
   1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1101 	 ac_unrecognized_sep=', ';;
   1102     esac
   1103     eval with_$ac_useropt=\$ac_optarg ;;
   1104 
   1105   -without-* | --without-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=no ;;
   1120 
   1121   --x)
   1122     # Obsolete; use --with-x.
   1123     with_x=yes ;;
   1124 
   1125   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1126   | --x-incl | --x-inc | --x-in | --x-i)
   1127     ac_prev=x_includes ;;
   1128   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1129   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1130     x_includes=$ac_optarg ;;
   1131 
   1132   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1133   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1134     ac_prev=x_libraries ;;
   1135   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1136   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1137     x_libraries=$ac_optarg ;;
   1138 
   1139   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1140 Try \`$0 --help' for more information"
   1141     ;;
   1142 
   1143   *=*)
   1144     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1145     # Reject names that are not valid shell variable names.
   1146     case $ac_envvar in #(
   1147       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1148       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1149     esac
   1150     eval $ac_envvar=\$ac_optarg
   1151     export $ac_envvar ;;
   1152 
   1153   *)
   1154     # FIXME: should be removed in autoconf 3.0.
   1155     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1156     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1157       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1158     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1159     ;;
   1160 
   1161   esac
   1162 done
   1163 
   1164 if test -n "$ac_prev"; then
   1165   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1166   as_fn_error $? "missing argument to $ac_option"
   1167 fi
   1168 
   1169 if test -n "$ac_unrecognized_opts"; then
   1170   case $enable_option_checking in
   1171     no) ;;
   1172     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1173     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1174   esac
   1175 fi
   1176 
   1177 # Check all directory arguments for consistency.
   1178 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1179 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1180 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1181 		libdir localedir mandir
   1182 do
   1183   eval ac_val=\$$ac_var
   1184   # Remove trailing slashes.
   1185   case $ac_val in
   1186     */ )
   1187       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1188       eval $ac_var=\$ac_val;;
   1189   esac
   1190   # Be sure to have absolute directory names.
   1191   case $ac_val in
   1192     [\\/$]* | ?:[\\/]* )  continue;;
   1193     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1194   esac
   1195   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1196 done
   1197 
   1198 # There might be people who depend on the old broken behavior: `$host'
   1199 # used to hold the argument of --host etc.
   1200 # FIXME: To remove some day.
   1201 build=$build_alias
   1202 host=$host_alias
   1203 target=$target_alias
   1204 
   1205 # FIXME: To remove some day.
   1206 if test "x$host_alias" != x; then
   1207   if test "x$build_alias" = x; then
   1208     cross_compiling=maybe
   1209     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1210     If a cross compiler is detected then cross compile mode will be used" >&2
   1211   elif test "x$build_alias" != "x$host_alias"; then
   1212     cross_compiling=yes
   1213   fi
   1214 fi
   1215 
   1216 ac_tool_prefix=
   1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1218 
   1219 test "$silent" = yes && exec 6>/dev/null
   1220 
   1221 
   1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1223 ac_ls_di=`ls -di .` &&
   1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1225   as_fn_error $? "working directory cannot be determined"
   1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1227   as_fn_error $? "pwd does not report name of working directory"
   1228 
   1229 
   1230 # Find the source files, if location was not specified.
   1231 if test -z "$srcdir"; then
   1232   ac_srcdir_defaulted=yes
   1233   # Try the directory containing this script, then the parent directory.
   1234   ac_confdir=`$as_dirname -- "$as_myself" ||
   1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1236 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1237 	 X"$as_myself" : 'X\(//\)$' \| \
   1238 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1239 $as_echo X"$as_myself" |
   1240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)[^/].*/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\/\)$/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  /^X\(\/\).*/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  s/.*/./; q'`
   1257   srcdir=$ac_confdir
   1258   if test ! -r "$srcdir/$ac_unique_file"; then
   1259     srcdir=..
   1260   fi
   1261 else
   1262   ac_srcdir_defaulted=no
   1263 fi
   1264 if test ! -r "$srcdir/$ac_unique_file"; then
   1265   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1266   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1267 fi
   1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1269 ac_abs_confdir=`(
   1270 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1271 	pwd)`
   1272 # When building in place, set srcdir=.
   1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1274   srcdir=.
   1275 fi
   1276 # Remove unnecessary trailing slashes from srcdir.
   1277 # Double slashes in file names in object file debugging info
   1278 # mess up M-x gdb in Emacs.
   1279 case $srcdir in
   1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1281 esac
   1282 for ac_var in $ac_precious_vars; do
   1283   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1284   eval ac_env_${ac_var}_value=\$${ac_var}
   1285   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1287 done
   1288 
   1289 #
   1290 # Report the --help message.
   1291 #
   1292 if test "$ac_init_help" = "long"; then
   1293   # Omit some internal or obsolete options to make the list less imposing.
   1294   # This message is too long to be a string in the A/UX 3.1 sh.
   1295   cat <<_ACEOF
   1296 \`configure' configures makedepend 1.0.5 to adapt to many kinds of systems.
   1297 
   1298 Usage: $0 [OPTION]... [VAR=VALUE]...
   1299 
   1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1301 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1302 
   1303 Defaults for the options are specified in brackets.
   1304 
   1305 Configuration:
   1306   -h, --help              display this help and exit
   1307       --help=short        display options specific to this package
   1308       --help=recursive    display the short help of all the included packages
   1309   -V, --version           display version information and exit
   1310   -q, --quiet, --silent   do not print \`checking ...' messages
   1311       --cache-file=FILE   cache test results in FILE [disabled]
   1312   -C, --config-cache      alias for \`--cache-file=config.cache'
   1313   -n, --no-create         do not create output files
   1314       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1315 
   1316 Installation directories:
   1317   --prefix=PREFIX         install architecture-independent files in PREFIX
   1318                           [$ac_default_prefix]
   1319   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1320                           [PREFIX]
   1321 
   1322 By default, \`make install' will install all the files in
   1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1325 for instance \`--prefix=\$HOME'.
   1326 
   1327 For better control, use the options below.
   1328 
   1329 Fine tuning of the installation directories:
   1330   --bindir=DIR            user executables [EPREFIX/bin]
   1331   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1332   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1333   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1334   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1335   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1336   --libdir=DIR            object code libraries [EPREFIX/lib]
   1337   --includedir=DIR        C header files [PREFIX/include]
   1338   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1339   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1340   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1341   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1342   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1343   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1344   --docdir=DIR            documentation root [DATAROOTDIR/doc/makedepend]
   1345   --htmldir=DIR           html documentation [DOCDIR]
   1346   --dvidir=DIR            dvi documentation [DOCDIR]
   1347   --pdfdir=DIR            pdf documentation [DOCDIR]
   1348   --psdir=DIR             ps documentation [DOCDIR]
   1349 _ACEOF
   1350 
   1351   cat <<\_ACEOF
   1352 
   1353 Program names:
   1354   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1355   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1356   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1357 
   1358 System types:
   1359   --build=BUILD     configure for building on BUILD [guessed]
   1360   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1361 _ACEOF
   1362 fi
   1363 
   1364 if test -n "$ac_init_help"; then
   1365   case $ac_init_help in
   1366      short | recursive ) echo "Configuration of makedepend 1.0.5:";;
   1367    esac
   1368   cat <<\_ACEOF
   1369 
   1370 Optional Features:
   1371   --disable-option-checking  ignore unrecognized --enable/--with options
   1372   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1373   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1374   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1375   --disable-silent-rules  verbose build output (undo: "make V=0")
   1376   --enable-dependency-tracking
   1377                           do not reject slow dependency extractors
   1378   --disable-dependency-tracking
   1379                           speeds up one-time build
   1380   --disable-selective-werror
   1381                           Turn off selective compiler errors. (default:
   1382                           enabled)
   1383   --enable-strict-compilation
   1384                           Enable all warnings from compiler and make them
   1385                           errors (default: disabled)
   1386   --disable-largefile     omit support for large files
   1387 
   1388 Optional Packages:
   1389   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1390   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1391   --with-lint             Use a lint-style source code checker (default:
   1392                           disabled)
   1393 
   1394 Some influential environment variables:
   1395   CC          C compiler command
   1396   CFLAGS      C compiler flags
   1397   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1398               nonstandard directory <lib dir>
   1399   LIBS        libraries to pass to the linker, e.g. -l<library>
   1400   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1401               you have headers in a nonstandard directory <include dir>
   1402   CPP         C preprocessor
   1403   PKG_CONFIG  path to pkg-config utility
   1404   LINT        Path to a lint-style command
   1405   LINT_FLAGS  Flags for the lint-style command
   1406   X_CFLAGS    C compiler flags for X, overriding pkg-config
   1407   X_LIBS      linker flags for X, overriding pkg-config
   1408 
   1409 Use these variables to override the choices made by `configure' or to help
   1410 it to find libraries and programs with nonstandard names/locations.
   1411 
   1412 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1413 _ACEOF
   1414 ac_status=$?
   1415 fi
   1416 
   1417 if test "$ac_init_help" = "recursive"; then
   1418   # If there are subdirs, report their specific --help.
   1419   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1420     test -d "$ac_dir" ||
   1421       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1422       continue
   1423     ac_builddir=.
   1424 
   1425 case "$ac_dir" in
   1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1427 *)
   1428   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1429   # A ".." for each directory in $ac_dir_suffix.
   1430   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1431   case $ac_top_builddir_sub in
   1432   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1433   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1434   esac ;;
   1435 esac
   1436 ac_abs_top_builddir=$ac_pwd
   1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1438 # for backward compatibility:
   1439 ac_top_builddir=$ac_top_build_prefix
   1440 
   1441 case $srcdir in
   1442   .)  # We are building in place.
   1443     ac_srcdir=.
   1444     ac_top_srcdir=$ac_top_builddir_sub
   1445     ac_abs_top_srcdir=$ac_pwd ;;
   1446   [\\/]* | ?:[\\/]* )  # Absolute name.
   1447     ac_srcdir=$srcdir$ac_dir_suffix;
   1448     ac_top_srcdir=$srcdir
   1449     ac_abs_top_srcdir=$srcdir ;;
   1450   *) # Relative name.
   1451     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1452     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1453     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1454 esac
   1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1456 
   1457     cd "$ac_dir" || { ac_status=$?; continue; }
   1458     # Check for guested configure.
   1459     if test -f "$ac_srcdir/configure.gnu"; then
   1460       echo &&
   1461       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1462     elif test -f "$ac_srcdir/configure"; then
   1463       echo &&
   1464       $SHELL "$ac_srcdir/configure" --help=recursive
   1465     else
   1466       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1467     fi || ac_status=$?
   1468     cd "$ac_pwd" || { ac_status=$?; break; }
   1469   done
   1470 fi
   1471 
   1472 test -n "$ac_init_help" && exit $ac_status
   1473 if $ac_init_version; then
   1474   cat <<\_ACEOF
   1475 makedepend configure 1.0.5
   1476 generated by GNU Autoconf 2.68
   1477 
   1478 Copyright (C) 2010 Free Software Foundation, Inc.
   1479 This configure script is free software; the Free Software Foundation
   1480 gives unlimited permission to copy, distribute and modify it.
   1481 _ACEOF
   1482   exit
   1483 fi
   1484 
   1485 ## ------------------------ ##
   1486 ## Autoconf initialization. ##
   1487 ## ------------------------ ##
   1488 
   1489 # ac_fn_c_try_compile LINENO
   1490 # --------------------------
   1491 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1492 ac_fn_c_try_compile ()
   1493 {
   1494   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1495   rm -f conftest.$ac_objext
   1496   if { { ac_try="$ac_compile"
   1497 case "(($ac_try" in
   1498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1499   *) ac_try_echo=$ac_try;;
   1500 esac
   1501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1502 $as_echo "$ac_try_echo"; } >&5
   1503   (eval "$ac_compile") 2>conftest.err
   1504   ac_status=$?
   1505   if test -s conftest.err; then
   1506     grep -v '^ *+' conftest.err >conftest.er1
   1507     cat conftest.er1 >&5
   1508     mv -f conftest.er1 conftest.err
   1509   fi
   1510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1511   test $ac_status = 0; } && {
   1512 	 test -z "$ac_c_werror_flag" ||
   1513 	 test ! -s conftest.err
   1514        } && test -s conftest.$ac_objext; then :
   1515   ac_retval=0
   1516 else
   1517   $as_echo "$as_me: failed program was:" >&5
   1518 sed 's/^/| /' conftest.$ac_ext >&5
   1519 
   1520 	ac_retval=1
   1521 fi
   1522   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1523   as_fn_set_status $ac_retval
   1524 
   1525 } # ac_fn_c_try_compile
   1526 
   1527 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1528 # ---------------------------------------------
   1529 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1530 # accordingly.
   1531 ac_fn_c_check_decl ()
   1532 {
   1533   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1534   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1535   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1537 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1538 if eval \${$3+:} false; then :
   1539   $as_echo_n "(cached) " >&6
   1540 else
   1541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1542 /* end confdefs.h.  */
   1543 $4
   1544 int
   1545 main ()
   1546 {
   1547 #ifndef $as_decl_name
   1548 #ifdef __cplusplus
   1549   (void) $as_decl_use;
   1550 #else
   1551   (void) $as_decl_name;
   1552 #endif
   1553 #endif
   1554 
   1555   ;
   1556   return 0;
   1557 }
   1558 _ACEOF
   1559 if ac_fn_c_try_compile "$LINENO"; then :
   1560   eval "$3=yes"
   1561 else
   1562   eval "$3=no"
   1563 fi
   1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1565 fi
   1566 eval ac_res=\$$3
   1567 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1568 $as_echo "$ac_res" >&6; }
   1569   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1570 
   1571 } # ac_fn_c_check_decl
   1572 
   1573 # ac_fn_c_try_cpp LINENO
   1574 # ----------------------
   1575 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1576 ac_fn_c_try_cpp ()
   1577 {
   1578   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1579   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1580 case "(($ac_try" in
   1581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1582   *) ac_try_echo=$ac_try;;
   1583 esac
   1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1585 $as_echo "$ac_try_echo"; } >&5
   1586   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1587   ac_status=$?
   1588   if test -s conftest.err; then
   1589     grep -v '^ *+' conftest.err >conftest.er1
   1590     cat conftest.er1 >&5
   1591     mv -f conftest.er1 conftest.err
   1592   fi
   1593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1594   test $ac_status = 0; } > conftest.i && {
   1595 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1596 	 test ! -s conftest.err
   1597        }; then :
   1598   ac_retval=0
   1599 else
   1600   $as_echo "$as_me: failed program was:" >&5
   1601 sed 's/^/| /' conftest.$ac_ext >&5
   1602 
   1603     ac_retval=1
   1604 fi
   1605   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1606   as_fn_set_status $ac_retval
   1607 
   1608 } # ac_fn_c_try_cpp
   1609 
   1610 # ac_fn_c_try_run LINENO
   1611 # ----------------------
   1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1613 # that executables *can* be run.
   1614 ac_fn_c_try_run ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   if { { ac_try="$ac_link"
   1618 case "(($ac_try" in
   1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1620   *) ac_try_echo=$ac_try;;
   1621 esac
   1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1623 $as_echo "$ac_try_echo"; } >&5
   1624   (eval "$ac_link") 2>&5
   1625   ac_status=$?
   1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1627   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1628   { { case "(($ac_try" in
   1629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1630   *) ac_try_echo=$ac_try;;
   1631 esac
   1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1633 $as_echo "$ac_try_echo"; } >&5
   1634   (eval "$ac_try") 2>&5
   1635   ac_status=$?
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; }; }; then :
   1638   ac_retval=0
   1639 else
   1640   $as_echo "$as_me: program exited with status $ac_status" >&5
   1641        $as_echo "$as_me: failed program was:" >&5
   1642 sed 's/^/| /' conftest.$ac_ext >&5
   1643 
   1644        ac_retval=$ac_status
   1645 fi
   1646   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1648   as_fn_set_status $ac_retval
   1649 
   1650 } # ac_fn_c_try_run
   1651 
   1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1653 # -------------------------------------------------------
   1654 # Tests whether HEADER exists and can be compiled using the include files in
   1655 # INCLUDES, setting the cache variable VAR accordingly.
   1656 ac_fn_c_check_header_compile ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1660 $as_echo_n "checking for $2... " >&6; }
   1661 if eval \${$3+:} false; then :
   1662   $as_echo_n "(cached) " >&6
   1663 else
   1664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1665 /* end confdefs.h.  */
   1666 $4
   1667 #include <$2>
   1668 _ACEOF
   1669 if ac_fn_c_try_compile "$LINENO"; then :
   1670   eval "$3=yes"
   1671 else
   1672   eval "$3=no"
   1673 fi
   1674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1675 fi
   1676 eval ac_res=\$$3
   1677 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1678 $as_echo "$ac_res" >&6; }
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_compile
   1682 
   1683 # ac_fn_c_try_link LINENO
   1684 # -----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_link ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   rm -f conftest.$ac_objext conftest$ac_exeext
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 $as_echo "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>conftest.err
   1698   ac_status=$?
   1699   if test -s conftest.err; then
   1700     grep -v '^ *+' conftest.err >conftest.er1
   1701     cat conftest.er1 >&5
   1702     mv -f conftest.er1 conftest.err
   1703   fi
   1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && {
   1706 	 test -z "$ac_c_werror_flag" ||
   1707 	 test ! -s conftest.err
   1708        } && test -s conftest$ac_exeext && {
   1709 	 test "$cross_compiling" = yes ||
   1710 	 $as_test_x conftest$ac_exeext
   1711        }; then :
   1712   ac_retval=0
   1713 else
   1714   $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717 	ac_retval=1
   1718 fi
   1719   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1720   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1721   # interfere with the next link command; also delete a directory that is
   1722   # left behind by Apple's compiler.  We do this before executing the actions.
   1723   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1725   as_fn_set_status $ac_retval
   1726 
   1727 } # ac_fn_c_try_link
   1728 
   1729 # ac_fn_c_check_func LINENO FUNC VAR
   1730 # ----------------------------------
   1731 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1732 ac_fn_c_check_func ()
   1733 {
   1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1736 $as_echo_n "checking for $2... " >&6; }
   1737 if eval \${$3+:} false; then :
   1738   $as_echo_n "(cached) " >&6
   1739 else
   1740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1741 /* end confdefs.h.  */
   1742 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1743    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1744 #define $2 innocuous_$2
   1745 
   1746 /* System header to define __stub macros and hopefully few prototypes,
   1747     which can conflict with char $2 (); below.
   1748     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1749     <limits.h> exists even on freestanding compilers.  */
   1750 
   1751 #ifdef __STDC__
   1752 # include <limits.h>
   1753 #else
   1754 # include <assert.h>
   1755 #endif
   1756 
   1757 #undef $2
   1758 
   1759 /* Override any GCC internal prototype to avoid an error.
   1760    Use char because int might match the return type of a GCC
   1761    builtin and then its argument prototype would still apply.  */
   1762 #ifdef __cplusplus
   1763 extern "C"
   1764 #endif
   1765 char $2 ();
   1766 /* The GNU C library defines this for functions which it implements
   1767     to always fail with ENOSYS.  Some functions are actually named
   1768     something starting with __ and the normal name is an alias.  */
   1769 #if defined __stub_$2 || defined __stub___$2
   1770 choke me
   1771 #endif
   1772 
   1773 int
   1774 main ()
   1775 {
   1776 return $2 ();
   1777   ;
   1778   return 0;
   1779 }
   1780 _ACEOF
   1781 if ac_fn_c_try_link "$LINENO"; then :
   1782   eval "$3=yes"
   1783 else
   1784   eval "$3=no"
   1785 fi
   1786 rm -f core conftest.err conftest.$ac_objext \
   1787     conftest$ac_exeext conftest.$ac_ext
   1788 fi
   1789 eval ac_res=\$$3
   1790 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1791 $as_echo "$ac_res" >&6; }
   1792   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1793 
   1794 } # ac_fn_c_check_func
   1795 cat >config.log <<_ACEOF
   1796 This file contains any messages produced by compilers while
   1797 running configure, to aid debugging if configure makes a mistake.
   1798 
   1799 It was created by makedepend $as_me 1.0.5, which was
   1800 generated by GNU Autoconf 2.68.  Invocation command line was
   1801 
   1802   $ $0 $@
   1803 
   1804 _ACEOF
   1805 exec 5>>config.log
   1806 {
   1807 cat <<_ASUNAME
   1808 ## --------- ##
   1809 ## Platform. ##
   1810 ## --------- ##
   1811 
   1812 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1813 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1814 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1815 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1816 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1817 
   1818 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1819 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1820 
   1821 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1822 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1823 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1824 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1825 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1826 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1827 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1828 
   1829 _ASUNAME
   1830 
   1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1832 for as_dir in $PATH
   1833 do
   1834   IFS=$as_save_IFS
   1835   test -z "$as_dir" && as_dir=.
   1836     $as_echo "PATH: $as_dir"
   1837   done
   1838 IFS=$as_save_IFS
   1839 
   1840 } >&5
   1841 
   1842 cat >&5 <<_ACEOF
   1843 
   1844 
   1845 ## ----------- ##
   1846 ## Core tests. ##
   1847 ## ----------- ##
   1848 
   1849 _ACEOF
   1850 
   1851 
   1852 # Keep a trace of the command line.
   1853 # Strip out --no-create and --no-recursion so they do not pile up.
   1854 # Strip out --silent because we don't want to record it for future runs.
   1855 # Also quote any args containing shell meta-characters.
   1856 # Make two passes to allow for proper duplicate-argument suppression.
   1857 ac_configure_args=
   1858 ac_configure_args0=
   1859 ac_configure_args1=
   1860 ac_must_keep_next=false
   1861 for ac_pass in 1 2
   1862 do
   1863   for ac_arg
   1864   do
   1865     case $ac_arg in
   1866     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1867     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1868     | -silent | --silent | --silen | --sile | --sil)
   1869       continue ;;
   1870     *\'*)
   1871       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1872     esac
   1873     case $ac_pass in
   1874     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1875     2)
   1876       as_fn_append ac_configure_args1 " '$ac_arg'"
   1877       if test $ac_must_keep_next = true; then
   1878 	ac_must_keep_next=false # Got value, back to normal.
   1879       else
   1880 	case $ac_arg in
   1881 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1882 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1883 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1884 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1885 	    case "$ac_configure_args0 " in
   1886 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1887 	    esac
   1888 	    ;;
   1889 	  -* ) ac_must_keep_next=true ;;
   1890 	esac
   1891       fi
   1892       as_fn_append ac_configure_args " '$ac_arg'"
   1893       ;;
   1894     esac
   1895   done
   1896 done
   1897 { ac_configure_args0=; unset ac_configure_args0;}
   1898 { ac_configure_args1=; unset ac_configure_args1;}
   1899 
   1900 # When interrupted or exit'd, cleanup temporary files, and complete
   1901 # config.log.  We remove comments because anyway the quotes in there
   1902 # would cause problems or look ugly.
   1903 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1904 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1905 trap 'exit_status=$?
   1906   # Save into config.log some information that might help in debugging.
   1907   {
   1908     echo
   1909 
   1910     $as_echo "## ---------------- ##
   1911 ## Cache variables. ##
   1912 ## ---------------- ##"
   1913     echo
   1914     # The following way of writing the cache mishandles newlines in values,
   1915 (
   1916   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1917     eval ac_val=\$$ac_var
   1918     case $ac_val in #(
   1919     *${as_nl}*)
   1920       case $ac_var in #(
   1921       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1923       esac
   1924       case $ac_var in #(
   1925       _ | IFS | as_nl) ;; #(
   1926       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1927       *) { eval $ac_var=; unset $ac_var;} ;;
   1928       esac ;;
   1929     esac
   1930   done
   1931   (set) 2>&1 |
   1932     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1933     *${as_nl}ac_space=\ *)
   1934       sed -n \
   1935 	"s/'\''/'\''\\\\'\'''\''/g;
   1936 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1937       ;; #(
   1938     *)
   1939       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1940       ;;
   1941     esac |
   1942     sort
   1943 )
   1944     echo
   1945 
   1946     $as_echo "## ----------------- ##
   1947 ## Output variables. ##
   1948 ## ----------------- ##"
   1949     echo
   1950     for ac_var in $ac_subst_vars
   1951     do
   1952       eval ac_val=\$$ac_var
   1953       case $ac_val in
   1954       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1955       esac
   1956       $as_echo "$ac_var='\''$ac_val'\''"
   1957     done | sort
   1958     echo
   1959 
   1960     if test -n "$ac_subst_files"; then
   1961       $as_echo "## ------------------- ##
   1962 ## File substitutions. ##
   1963 ## ------------------- ##"
   1964       echo
   1965       for ac_var in $ac_subst_files
   1966       do
   1967 	eval ac_val=\$$ac_var
   1968 	case $ac_val in
   1969 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1970 	esac
   1971 	$as_echo "$ac_var='\''$ac_val'\''"
   1972       done | sort
   1973       echo
   1974     fi
   1975 
   1976     if test -s confdefs.h; then
   1977       $as_echo "## ----------- ##
   1978 ## confdefs.h. ##
   1979 ## ----------- ##"
   1980       echo
   1981       cat confdefs.h
   1982       echo
   1983     fi
   1984     test "$ac_signal" != 0 &&
   1985       $as_echo "$as_me: caught signal $ac_signal"
   1986     $as_echo "$as_me: exit $exit_status"
   1987   } >&5
   1988   rm -f core *.core core.conftest.* &&
   1989     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1990     exit $exit_status
   1991 ' 0
   1992 for ac_signal in 1 2 13 15; do
   1993   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1994 done
   1995 ac_signal=0
   1996 
   1997 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1998 rm -f -r conftest* confdefs.h
   1999 
   2000 $as_echo "/* confdefs.h */" > confdefs.h
   2001 
   2002 # Predefined preprocessor variables.
   2003 
   2004 cat >>confdefs.h <<_ACEOF
   2005 #define PACKAGE_NAME "$PACKAGE_NAME"
   2006 _ACEOF
   2007 
   2008 cat >>confdefs.h <<_ACEOF
   2009 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2010 _ACEOF
   2011 
   2012 cat >>confdefs.h <<_ACEOF
   2013 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2014 _ACEOF
   2015 
   2016 cat >>confdefs.h <<_ACEOF
   2017 #define PACKAGE_STRING "$PACKAGE_STRING"
   2018 _ACEOF
   2019 
   2020 cat >>confdefs.h <<_ACEOF
   2021 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2022 _ACEOF
   2023 
   2024 cat >>confdefs.h <<_ACEOF
   2025 #define PACKAGE_URL "$PACKAGE_URL"
   2026 _ACEOF
   2027 
   2028 
   2029 # Let the site file select an alternate cache file if it wants to.
   2030 # Prefer an explicitly selected file to automatically selected ones.
   2031 ac_site_file1=NONE
   2032 ac_site_file2=NONE
   2033 if test -n "$CONFIG_SITE"; then
   2034   # We do not want a PATH search for config.site.
   2035   case $CONFIG_SITE in #((
   2036     -*)  ac_site_file1=./$CONFIG_SITE;;
   2037     */*) ac_site_file1=$CONFIG_SITE;;
   2038     *)   ac_site_file1=./$CONFIG_SITE;;
   2039   esac
   2040 elif test "x$prefix" != xNONE; then
   2041   ac_site_file1=$prefix/share/config.site
   2042   ac_site_file2=$prefix/etc/config.site
   2043 else
   2044   ac_site_file1=$ac_default_prefix/share/config.site
   2045   ac_site_file2=$ac_default_prefix/etc/config.site
   2046 fi
   2047 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2048 do
   2049   test "x$ac_site_file" = xNONE && continue
   2050   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2051     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2052 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2053     sed 's/^/| /' "$ac_site_file" >&5
   2054     . "$ac_site_file" \
   2055       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2057 as_fn_error $? "failed to load site script $ac_site_file
   2058 See \`config.log' for more details" "$LINENO" 5; }
   2059   fi
   2060 done
   2061 
   2062 if test -r "$cache_file"; then
   2063   # Some versions of bash will fail to source /dev/null (special files
   2064   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2065   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2066     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2067 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2068     case $cache_file in
   2069       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2070       *)                      . "./$cache_file";;
   2071     esac
   2072   fi
   2073 else
   2074   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2075 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2076   >$cache_file
   2077 fi
   2078 
   2079 # Check that the precious variables saved in the cache have kept the same
   2080 # value.
   2081 ac_cache_corrupted=false
   2082 for ac_var in $ac_precious_vars; do
   2083   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2084   eval ac_new_set=\$ac_env_${ac_var}_set
   2085   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2086   eval ac_new_val=\$ac_env_${ac_var}_value
   2087   case $ac_old_set,$ac_new_set in
   2088     set,)
   2089       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2090 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2091       ac_cache_corrupted=: ;;
   2092     ,set)
   2093       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2094 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2095       ac_cache_corrupted=: ;;
   2096     ,);;
   2097     *)
   2098       if test "x$ac_old_val" != "x$ac_new_val"; then
   2099 	# differences in whitespace do not lead to failure.
   2100 	ac_old_val_w=`echo x $ac_old_val`
   2101 	ac_new_val_w=`echo x $ac_new_val`
   2102 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2103 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2104 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2105 	  ac_cache_corrupted=:
   2106 	else
   2107 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2108 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2109 	  eval $ac_var=\$ac_old_val
   2110 	fi
   2111 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2112 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2113 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2114 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2115       fi;;
   2116   esac
   2117   # Pass precious variables to config.status.
   2118   if test "$ac_new_set" = set; then
   2119     case $ac_new_val in
   2120     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2121     *) ac_arg=$ac_var=$ac_new_val ;;
   2122     esac
   2123     case " $ac_configure_args " in
   2124       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2125       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2126     esac
   2127   fi
   2128 done
   2129 if $ac_cache_corrupted; then
   2130   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2132   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2133 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2134   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2135 fi
   2136 ## -------------------- ##
   2137 ## Main body of script. ##
   2138 ## -------------------- ##
   2139 
   2140 ac_ext=c
   2141 ac_cpp='$CPP $CPPFLAGS'
   2142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2145 
   2146 
   2147 
   2148 ac_config_headers="$ac_config_headers makedepend-config.h"
   2149 
   2150 
   2151 # Initialize Automake
   2152 am__api_version='1.14'
   2153 
   2154 ac_aux_dir=
   2155 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2156   if test -f "$ac_dir/install-sh"; then
   2157     ac_aux_dir=$ac_dir
   2158     ac_install_sh="$ac_aux_dir/install-sh -c"
   2159     break
   2160   elif test -f "$ac_dir/install.sh"; then
   2161     ac_aux_dir=$ac_dir
   2162     ac_install_sh="$ac_aux_dir/install.sh -c"
   2163     break
   2164   elif test -f "$ac_dir/shtool"; then
   2165     ac_aux_dir=$ac_dir
   2166     ac_install_sh="$ac_aux_dir/shtool install -c"
   2167     break
   2168   fi
   2169 done
   2170 if test -z "$ac_aux_dir"; then
   2171   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2172 fi
   2173 
   2174 # These three variables are undocumented and unsupported,
   2175 # and are intended to be withdrawn in a future Autoconf release.
   2176 # They can cause serious problems if a builder's source tree is in a directory
   2177 # whose full name contains unusual characters.
   2178 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2179 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2180 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2181 
   2182 
   2183 # Find a good install program.  We prefer a C program (faster),
   2184 # so one script is as good as another.  But avoid the broken or
   2185 # incompatible versions:
   2186 # SysV /etc/install, /usr/sbin/install
   2187 # SunOS /usr/etc/install
   2188 # IRIX /sbin/install
   2189 # AIX /bin/install
   2190 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2191 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2192 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2193 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2194 # OS/2's system install, which has a completely different semantic
   2195 # ./install, which can be erroneously created by make from ./install.sh.
   2196 # Reject install programs that cannot install multiple files.
   2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2198 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2199 if test -z "$INSTALL"; then
   2200 if ${ac_cv_path_install+:} false; then :
   2201   $as_echo_n "(cached) " >&6
   2202 else
   2203   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2204 for as_dir in $PATH
   2205 do
   2206   IFS=$as_save_IFS
   2207   test -z "$as_dir" && as_dir=.
   2208     # Account for people who put trailing slashes in PATH elements.
   2209 case $as_dir/ in #((
   2210   ./ | .// | /[cC]/* | \
   2211   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2212   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2213   /usr/ucb/* ) ;;
   2214   *)
   2215     # OSF1 and SCO ODT 3.0 have their own names for install.
   2216     # Don't use installbsd from OSF since it installs stuff as root
   2217     # by default.
   2218     for ac_prog in ginstall scoinst install; do
   2219       for ac_exec_ext in '' $ac_executable_extensions; do
   2220 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2221 	  if test $ac_prog = install &&
   2222 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2223 	    # AIX install.  It has an incompatible calling convention.
   2224 	    :
   2225 	  elif test $ac_prog = install &&
   2226 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2227 	    # program-specific install script used by HP pwplus--don't use.
   2228 	    :
   2229 	  else
   2230 	    rm -rf conftest.one conftest.two conftest.dir
   2231 	    echo one > conftest.one
   2232 	    echo two > conftest.two
   2233 	    mkdir conftest.dir
   2234 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2235 	      test -s conftest.one && test -s conftest.two &&
   2236 	      test -s conftest.dir/conftest.one &&
   2237 	      test -s conftest.dir/conftest.two
   2238 	    then
   2239 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2240 	      break 3
   2241 	    fi
   2242 	  fi
   2243 	fi
   2244       done
   2245     done
   2246     ;;
   2247 esac
   2248 
   2249   done
   2250 IFS=$as_save_IFS
   2251 
   2252 rm -rf conftest.one conftest.two conftest.dir
   2253 
   2254 fi
   2255   if test "${ac_cv_path_install+set}" = set; then
   2256     INSTALL=$ac_cv_path_install
   2257   else
   2258     # As a last resort, use the slow shell script.  Don't cache a
   2259     # value for INSTALL within a source directory, because that will
   2260     # break other packages using the cache if that directory is
   2261     # removed, or if the value is a relative name.
   2262     INSTALL=$ac_install_sh
   2263   fi
   2264 fi
   2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2266 $as_echo "$INSTALL" >&6; }
   2267 
   2268 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2269 # It thinks the first close brace ends the variable substitution.
   2270 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2271 
   2272 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2273 
   2274 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2275 
   2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2277 $as_echo_n "checking whether build environment is sane... " >&6; }
   2278 # Reject unsafe characters in $srcdir or the absolute working directory
   2279 # name.  Accept space and tab only in the latter.
   2280 am_lf='
   2281 '
   2282 case `pwd` in
   2283   *[\\\"\#\$\&\'\`$am_lf]*)
   2284     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2285 esac
   2286 case $srcdir in
   2287   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2288     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2289 esac
   2290 
   2291 # Do 'set' in a subshell so we don't clobber the current shell's
   2292 # arguments.  Must try -L first in case configure is actually a
   2293 # symlink; some systems play weird games with the mod time of symlinks
   2294 # (eg FreeBSD returns the mod time of the symlink's containing
   2295 # directory).
   2296 if (
   2297    am_has_slept=no
   2298    for am_try in 1 2; do
   2299      echo "timestamp, slept: $am_has_slept" > conftest.file
   2300      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2301      if test "$*" = "X"; then
   2302 	# -L didn't work.
   2303 	set X `ls -t "$srcdir/configure" conftest.file`
   2304      fi
   2305      if test "$*" != "X $srcdir/configure conftest.file" \
   2306 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2307 
   2308 	# If neither matched, then we have a broken ls.  This can happen
   2309 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2310 	# broken ls alias from the environment.  This has actually
   2311 	# happened.  Such a system could not be considered "sane".
   2312 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2313   alias in your environment" "$LINENO" 5
   2314      fi
   2315      if test "$2" = conftest.file || test $am_try -eq 2; then
   2316        break
   2317      fi
   2318      # Just in case.
   2319      sleep 1
   2320      am_has_slept=yes
   2321    done
   2322    test "$2" = conftest.file
   2323    )
   2324 then
   2325    # Ok.
   2326    :
   2327 else
   2328    as_fn_error $? "newly created file is older than distributed files!
   2329 Check your system clock" "$LINENO" 5
   2330 fi
   2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2332 $as_echo "yes" >&6; }
   2333 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2334 # generated files are strictly newer.
   2335 am_sleep_pid=
   2336 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2337   ( sleep 1 ) &
   2338   am_sleep_pid=$!
   2339 fi
   2340 
   2341 rm -f conftest.file
   2342 
   2343 test "$program_prefix" != NONE &&
   2344   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2345 # Use a double $ so make ignores it.
   2346 test "$program_suffix" != NONE &&
   2347   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2348 # Double any \ or $.
   2349 # By default was `s,x,x', remove it if useless.
   2350 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2351 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2352 
   2353 # expand $ac_aux_dir to an absolute path
   2354 am_aux_dir=`cd $ac_aux_dir && pwd`
   2355 
   2356 if test x"${MISSING+set}" != xset; then
   2357   case $am_aux_dir in
   2358   *\ * | *\	*)
   2359     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2360   *)
   2361     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2362   esac
   2363 fi
   2364 # Use eval to expand $SHELL
   2365 if eval "$MISSING --is-lightweight"; then
   2366   am_missing_run="$MISSING "
   2367 else
   2368   am_missing_run=
   2369   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2370 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2371 fi
   2372 
   2373 if test x"${install_sh}" != xset; then
   2374   case $am_aux_dir in
   2375   *\ * | *\	*)
   2376     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2377   *)
   2378     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2379   esac
   2380 fi
   2381 
   2382 # Installed binaries are usually stripped using 'strip' when the user
   2383 # run "make install-strip".  However 'strip' might not be the right
   2384 # tool to use in cross-compilation environments, therefore Automake
   2385 # will honor the 'STRIP' environment variable to overrule this program.
   2386 if test "$cross_compiling" != no; then
   2387   if test -n "$ac_tool_prefix"; then
   2388   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2389 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2391 $as_echo_n "checking for $ac_word... " >&6; }
   2392 if ${ac_cv_prog_STRIP+:} false; then :
   2393   $as_echo_n "(cached) " >&6
   2394 else
   2395   if test -n "$STRIP"; then
   2396   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2397 else
   2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2399 for as_dir in $PATH
   2400 do
   2401   IFS=$as_save_IFS
   2402   test -z "$as_dir" && as_dir=.
   2403     for ac_exec_ext in '' $ac_executable_extensions; do
   2404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2405     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2407     break 2
   2408   fi
   2409 done
   2410   done
   2411 IFS=$as_save_IFS
   2412 
   2413 fi
   2414 fi
   2415 STRIP=$ac_cv_prog_STRIP
   2416 if test -n "$STRIP"; then
   2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2418 $as_echo "$STRIP" >&6; }
   2419 else
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2421 $as_echo "no" >&6; }
   2422 fi
   2423 
   2424 
   2425 fi
   2426 if test -z "$ac_cv_prog_STRIP"; then
   2427   ac_ct_STRIP=$STRIP
   2428   # Extract the first word of "strip", so it can be a program name with args.
   2429 set dummy strip; ac_word=$2
   2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2431 $as_echo_n "checking for $ac_word... " >&6; }
   2432 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2433   $as_echo_n "(cached) " >&6
   2434 else
   2435   if test -n "$ac_ct_STRIP"; then
   2436   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2437 else
   2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2439 for as_dir in $PATH
   2440 do
   2441   IFS=$as_save_IFS
   2442   test -z "$as_dir" && as_dir=.
   2443     for ac_exec_ext in '' $ac_executable_extensions; do
   2444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2445     ac_cv_prog_ac_ct_STRIP="strip"
   2446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2447     break 2
   2448   fi
   2449 done
   2450   done
   2451 IFS=$as_save_IFS
   2452 
   2453 fi
   2454 fi
   2455 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2456 if test -n "$ac_ct_STRIP"; then
   2457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2458 $as_echo "$ac_ct_STRIP" >&6; }
   2459 else
   2460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2461 $as_echo "no" >&6; }
   2462 fi
   2463 
   2464   if test "x$ac_ct_STRIP" = x; then
   2465     STRIP=":"
   2466   else
   2467     case $cross_compiling:$ac_tool_warned in
   2468 yes:)
   2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2471 ac_tool_warned=yes ;;
   2472 esac
   2473     STRIP=$ac_ct_STRIP
   2474   fi
   2475 else
   2476   STRIP="$ac_cv_prog_STRIP"
   2477 fi
   2478 
   2479 fi
   2480 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2481 
   2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2483 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2484 if test -z "$MKDIR_P"; then
   2485   if ${ac_cv_path_mkdir+:} false; then :
   2486   $as_echo_n "(cached) " >&6
   2487 else
   2488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2489 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2490 do
   2491   IFS=$as_save_IFS
   2492   test -z "$as_dir" && as_dir=.
   2493     for ac_prog in mkdir gmkdir; do
   2494 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2495 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2496 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2497 	     'mkdir (GNU coreutils) '* | \
   2498 	     'mkdir (coreutils) '* | \
   2499 	     'mkdir (fileutils) '4.1*)
   2500 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2501 	       break 3;;
   2502 	   esac
   2503 	 done
   2504        done
   2505   done
   2506 IFS=$as_save_IFS
   2507 
   2508 fi
   2509 
   2510   test -d ./--version && rmdir ./--version
   2511   if test "${ac_cv_path_mkdir+set}" = set; then
   2512     MKDIR_P="$ac_cv_path_mkdir -p"
   2513   else
   2514     # As a last resort, use the slow shell script.  Don't cache a
   2515     # value for MKDIR_P within a source directory, because that will
   2516     # break other packages using the cache if that directory is
   2517     # removed, or if the value is a relative name.
   2518     MKDIR_P="$ac_install_sh -d"
   2519   fi
   2520 fi
   2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2522 $as_echo "$MKDIR_P" >&6; }
   2523 
   2524 for ac_prog in gawk mawk nawk awk
   2525 do
   2526   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2527 set dummy $ac_prog; ac_word=$2
   2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2529 $as_echo_n "checking for $ac_word... " >&6; }
   2530 if ${ac_cv_prog_AWK+:} false; then :
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   if test -n "$AWK"; then
   2534   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2535 else
   2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2537 for as_dir in $PATH
   2538 do
   2539   IFS=$as_save_IFS
   2540   test -z "$as_dir" && as_dir=.
   2541     for ac_exec_ext in '' $ac_executable_extensions; do
   2542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2543     ac_cv_prog_AWK="$ac_prog"
   2544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2545     break 2
   2546   fi
   2547 done
   2548   done
   2549 IFS=$as_save_IFS
   2550 
   2551 fi
   2552 fi
   2553 AWK=$ac_cv_prog_AWK
   2554 if test -n "$AWK"; then
   2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2556 $as_echo "$AWK" >&6; }
   2557 else
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2559 $as_echo "no" >&6; }
   2560 fi
   2561 
   2562 
   2563   test -n "$AWK" && break
   2564 done
   2565 
   2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2567 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2568 set x ${MAKE-make}
   2569 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2570 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   cat >conftest.make <<\_ACEOF
   2574 SHELL = /bin/sh
   2575 all:
   2576 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2577 _ACEOF
   2578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2580   *@@@%%%=?*=@@@%%%*)
   2581     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2582   *)
   2583     eval ac_cv_prog_make_${ac_make}_set=no;;
   2584 esac
   2585 rm -f conftest.make
   2586 fi
   2587 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2589 $as_echo "yes" >&6; }
   2590   SET_MAKE=
   2591 else
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2593 $as_echo "no" >&6; }
   2594   SET_MAKE="MAKE=${MAKE-make}"
   2595 fi
   2596 
   2597 rm -rf .tst 2>/dev/null
   2598 mkdir .tst 2>/dev/null
   2599 if test -d .tst; then
   2600   am__leading_dot=.
   2601 else
   2602   am__leading_dot=_
   2603 fi
   2604 rmdir .tst 2>/dev/null
   2605 
   2606 # Check whether --enable-silent-rules was given.
   2607 if test "${enable_silent_rules+set}" = set; then :
   2608   enableval=$enable_silent_rules;
   2609 fi
   2610 
   2611 case $enable_silent_rules in # (((
   2612   yes) AM_DEFAULT_VERBOSITY=0;;
   2613    no) AM_DEFAULT_VERBOSITY=1;;
   2614     *) AM_DEFAULT_VERBOSITY=1;;
   2615 esac
   2616 am_make=${MAKE-make}
   2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2618 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2619 if ${am_cv_make_support_nested_variables+:} false; then :
   2620   $as_echo_n "(cached) " >&6
   2621 else
   2622   if $as_echo 'TRUE=$(BAR$(V))
   2623 BAR0=false
   2624 BAR1=true
   2625 V=1
   2626 am__doit:
   2627 	@$(TRUE)
   2628 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2629   am_cv_make_support_nested_variables=yes
   2630 else
   2631   am_cv_make_support_nested_variables=no
   2632 fi
   2633 fi
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2635 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2636 if test $am_cv_make_support_nested_variables = yes; then
   2637     AM_V='$(V)'
   2638   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2639 else
   2640   AM_V=$AM_DEFAULT_VERBOSITY
   2641   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2642 fi
   2643 AM_BACKSLASH='\'
   2644 
   2645 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2646   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2647   # is not polluted with repeated "-I."
   2648   am__isrc=' -I$(srcdir)'
   2649   # test to see if srcdir already configured
   2650   if test -f $srcdir/config.status; then
   2651     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2652   fi
   2653 fi
   2654 
   2655 # test whether we have cygpath
   2656 if test -z "$CYGPATH_W"; then
   2657   if (cygpath --version) >/dev/null 2>/dev/null; then
   2658     CYGPATH_W='cygpath -w'
   2659   else
   2660     CYGPATH_W=echo
   2661   fi
   2662 fi
   2663 
   2664 
   2665 # Define the identity of the package.
   2666  PACKAGE='makedepend'
   2667  VERSION='1.0.5'
   2668 
   2669 
   2670 cat >>confdefs.h <<_ACEOF
   2671 #define PACKAGE "$PACKAGE"
   2672 _ACEOF
   2673 
   2674 
   2675 cat >>confdefs.h <<_ACEOF
   2676 #define VERSION "$VERSION"
   2677 _ACEOF
   2678 
   2679 # Some tools Automake needs.
   2680 
   2681 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2682 
   2683 
   2684 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2685 
   2686 
   2687 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2688 
   2689 
   2690 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2691 
   2692 
   2693 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2694 
   2695 # For better backward compatibility.  To be removed once Automake 1.9.x
   2696 # dies out for good.  For more background, see:
   2697 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2698 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2699 mkdir_p='$(MKDIR_P)'
   2700 
   2701 # We need awk for the "check" target.  The system "awk" is bad on
   2702 # some platforms.
   2703 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2704 # in the wild :-(  We should find a proper way to deprecate it ...
   2705 AMTAR='$${TAR-tar}'
   2706 
   2707 
   2708 # We'll loop over all known methods to create a tar archive until one works.
   2709 _am_tools='gnutar  pax cpio none'
   2710 
   2711 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 
   2718 # POSIX will say in a future version that running "rm -f" with no argument
   2719 # is OK; and we want to be able to make that assumption in our Makefile
   2720 # recipes.  So use an aggressive probe to check that the usage we want is
   2721 # actually supported "in the wild" to an acceptable degree.
   2722 # See automake bug#10828.
   2723 # To make any issue more visible, cause the running configure to be aborted
   2724 # by default if the 'rm' program in use doesn't match our expectations; the
   2725 # user can still override this though.
   2726 if rm -f && rm -fr && rm -rf; then : OK; else
   2727   cat >&2 <<'END'
   2728 Oops!
   2729 
   2730 Your 'rm' program seems unable to run without file operands specified
   2731 on the command line, even when the '-f' option is present.  This is contrary
   2732 to the behaviour of most rm programs out there, and not conforming with
   2733 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2734 
   2735 Please tell bug-automake@gnu.org about your system, including the value
   2736 of your $PATH and any error possibly output before this message.  This
   2737 can help us improve future automake versions.
   2738 
   2739 END
   2740   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2741     echo 'Configuration will proceed anyway, since you have set the' >&2
   2742     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2743     echo >&2
   2744   else
   2745     cat >&2 <<'END'
   2746 Aborting the configuration process, to ensure you take notice of the issue.
   2747 
   2748 You can download and install GNU coreutils to get an 'rm' implementation
   2749 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2750 
   2751 If you want to complete the configuration process using your problematic
   2752 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2753 to "yes", and re-run configure.
   2754 
   2755 END
   2756     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2757   fi
   2758 fi
   2759 
   2760 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2761 
   2762 
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 
   2769 
   2770 
   2771 
   2772 
   2773 DEPDIR="${am__leading_dot}deps"
   2774 
   2775 ac_config_commands="$ac_config_commands depfiles"
   2776 
   2777 
   2778 am_make=${MAKE-make}
   2779 cat > confinc << 'END'
   2780 am__doit:
   2781 	@echo this is the am__doit target
   2782 .PHONY: am__doit
   2783 END
   2784 # If we don't find an include directive, just comment out the code.
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2786 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2787 am__include="#"
   2788 am__quote=
   2789 _am_result=none
   2790 # First try GNU make style include.
   2791 echo "include confinc" > confmf
   2792 # Ignore all kinds of additional output from 'make'.
   2793 case `$am_make -s -f confmf 2> /dev/null` in #(
   2794 *the\ am__doit\ target*)
   2795   am__include=include
   2796   am__quote=
   2797   _am_result=GNU
   2798   ;;
   2799 esac
   2800 # Now try BSD make style include.
   2801 if test "$am__include" = "#"; then
   2802    echo '.include "confinc"' > confmf
   2803    case `$am_make -s -f confmf 2> /dev/null` in #(
   2804    *the\ am__doit\ target*)
   2805      am__include=.include
   2806      am__quote="\""
   2807      _am_result=BSD
   2808      ;;
   2809    esac
   2810 fi
   2811 
   2812 
   2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2814 $as_echo "$_am_result" >&6; }
   2815 rm -f confinc confmf
   2816 
   2817 # Check whether --enable-dependency-tracking was given.
   2818 if test "${enable_dependency_tracking+set}" = set; then :
   2819   enableval=$enable_dependency_tracking;
   2820 fi
   2821 
   2822 if test "x$enable_dependency_tracking" != xno; then
   2823   am_depcomp="$ac_aux_dir/depcomp"
   2824   AMDEPBACKSLASH='\'
   2825   am__nodep='_no'
   2826 fi
   2827  if test "x$enable_dependency_tracking" != xno; then
   2828   AMDEP_TRUE=
   2829   AMDEP_FALSE='#'
   2830 else
   2831   AMDEP_TRUE='#'
   2832   AMDEP_FALSE=
   2833 fi
   2834 
   2835 
   2836 ac_ext=c
   2837 ac_cpp='$CPP $CPPFLAGS'
   2838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2841 if test -n "$ac_tool_prefix"; then
   2842   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2843 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2845 $as_echo_n "checking for $ac_word... " >&6; }
   2846 if ${ac_cv_prog_CC+:} false; then :
   2847   $as_echo_n "(cached) " >&6
   2848 else
   2849   if test -n "$CC"; then
   2850   ac_cv_prog_CC="$CC" # Let the user override the test.
   2851 else
   2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2853 for as_dir in $PATH
   2854 do
   2855   IFS=$as_save_IFS
   2856   test -z "$as_dir" && as_dir=.
   2857     for ac_exec_ext in '' $ac_executable_extensions; do
   2858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2859     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2861     break 2
   2862   fi
   2863 done
   2864   done
   2865 IFS=$as_save_IFS
   2866 
   2867 fi
   2868 fi
   2869 CC=$ac_cv_prog_CC
   2870 if test -n "$CC"; then
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2872 $as_echo "$CC" >&6; }
   2873 else
   2874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2875 $as_echo "no" >&6; }
   2876 fi
   2877 
   2878 
   2879 fi
   2880 if test -z "$ac_cv_prog_CC"; then
   2881   ac_ct_CC=$CC
   2882   # Extract the first word of "gcc", so it can be a program name with args.
   2883 set dummy gcc; ac_word=$2
   2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2885 $as_echo_n "checking for $ac_word... " >&6; }
   2886 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2887   $as_echo_n "(cached) " >&6
   2888 else
   2889   if test -n "$ac_ct_CC"; then
   2890   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2891 else
   2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2893 for as_dir in $PATH
   2894 do
   2895   IFS=$as_save_IFS
   2896   test -z "$as_dir" && as_dir=.
   2897     for ac_exec_ext in '' $ac_executable_extensions; do
   2898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2899     ac_cv_prog_ac_ct_CC="gcc"
   2900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2901     break 2
   2902   fi
   2903 done
   2904   done
   2905 IFS=$as_save_IFS
   2906 
   2907 fi
   2908 fi
   2909 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2910 if test -n "$ac_ct_CC"; then
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2912 $as_echo "$ac_ct_CC" >&6; }
   2913 else
   2914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2915 $as_echo "no" >&6; }
   2916 fi
   2917 
   2918   if test "x$ac_ct_CC" = x; then
   2919     CC=""
   2920   else
   2921     case $cross_compiling:$ac_tool_warned in
   2922 yes:)
   2923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2925 ac_tool_warned=yes ;;
   2926 esac
   2927     CC=$ac_ct_CC
   2928   fi
   2929 else
   2930   CC="$ac_cv_prog_CC"
   2931 fi
   2932 
   2933 if test -z "$CC"; then
   2934           if test -n "$ac_tool_prefix"; then
   2935     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2936 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2938 $as_echo_n "checking for $ac_word... " >&6; }
   2939 if ${ac_cv_prog_CC+:} false; then :
   2940   $as_echo_n "(cached) " >&6
   2941 else
   2942   if test -n "$CC"; then
   2943   ac_cv_prog_CC="$CC" # Let the user override the test.
   2944 else
   2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2946 for as_dir in $PATH
   2947 do
   2948   IFS=$as_save_IFS
   2949   test -z "$as_dir" && as_dir=.
   2950     for ac_exec_ext in '' $ac_executable_extensions; do
   2951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2952     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2954     break 2
   2955   fi
   2956 done
   2957   done
   2958 IFS=$as_save_IFS
   2959 
   2960 fi
   2961 fi
   2962 CC=$ac_cv_prog_CC
   2963 if test -n "$CC"; then
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2965 $as_echo "$CC" >&6; }
   2966 else
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2968 $as_echo "no" >&6; }
   2969 fi
   2970 
   2971 
   2972   fi
   2973 fi
   2974 if test -z "$CC"; then
   2975   # Extract the first word of "cc", so it can be a program name with args.
   2976 set dummy cc; ac_word=$2
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2978 $as_echo_n "checking for $ac_word... " >&6; }
   2979 if ${ac_cv_prog_CC+:} false; then :
   2980   $as_echo_n "(cached) " >&6
   2981 else
   2982   if test -n "$CC"; then
   2983   ac_cv_prog_CC="$CC" # Let the user override the test.
   2984 else
   2985   ac_prog_rejected=no
   2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2987 for as_dir in $PATH
   2988 do
   2989   IFS=$as_save_IFS
   2990   test -z "$as_dir" && as_dir=.
   2991     for ac_exec_ext in '' $ac_executable_extensions; do
   2992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2993     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2994        ac_prog_rejected=yes
   2995        continue
   2996      fi
   2997     ac_cv_prog_CC="cc"
   2998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2999     break 2
   3000   fi
   3001 done
   3002   done
   3003 IFS=$as_save_IFS
   3004 
   3005 if test $ac_prog_rejected = yes; then
   3006   # We found a bogon in the path, so make sure we never use it.
   3007   set dummy $ac_cv_prog_CC
   3008   shift
   3009   if test $# != 0; then
   3010     # We chose a different compiler from the bogus one.
   3011     # However, it has the same basename, so the bogon will be chosen
   3012     # first if we set CC to just the basename; use the full file name.
   3013     shift
   3014     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3015   fi
   3016 fi
   3017 fi
   3018 fi
   3019 CC=$ac_cv_prog_CC
   3020 if test -n "$CC"; then
   3021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3022 $as_echo "$CC" >&6; }
   3023 else
   3024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3025 $as_echo "no" >&6; }
   3026 fi
   3027 
   3028 
   3029 fi
   3030 if test -z "$CC"; then
   3031   if test -n "$ac_tool_prefix"; then
   3032   for ac_prog in cl.exe
   3033   do
   3034     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3037 $as_echo_n "checking for $ac_word... " >&6; }
   3038 if ${ac_cv_prog_CC+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$CC"; then
   3042   ac_cv_prog_CC="$CC" # Let the user override the test.
   3043 else
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   test -z "$as_dir" && as_dir=.
   3049     for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3051     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3053     break 2
   3054   fi
   3055 done
   3056   done
   3057 IFS=$as_save_IFS
   3058 
   3059 fi
   3060 fi
   3061 CC=$ac_cv_prog_CC
   3062 if test -n "$CC"; then
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3064 $as_echo "$CC" >&6; }
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 fi
   3069 
   3070 
   3071     test -n "$CC" && break
   3072   done
   3073 fi
   3074 if test -z "$CC"; then
   3075   ac_ct_CC=$CC
   3076   for ac_prog in cl.exe
   3077 do
   3078   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3079 set dummy $ac_prog; ac_word=$2
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3081 $as_echo_n "checking for $ac_word... " >&6; }
   3082 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3083   $as_echo_n "(cached) " >&6
   3084 else
   3085   if test -n "$ac_ct_CC"; then
   3086   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3087 else
   3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3089 for as_dir in $PATH
   3090 do
   3091   IFS=$as_save_IFS
   3092   test -z "$as_dir" && as_dir=.
   3093     for ac_exec_ext in '' $ac_executable_extensions; do
   3094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3095     ac_cv_prog_ac_ct_CC="$ac_prog"
   3096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3097     break 2
   3098   fi
   3099 done
   3100   done
   3101 IFS=$as_save_IFS
   3102 
   3103 fi
   3104 fi
   3105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3106 if test -n "$ac_ct_CC"; then
   3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3108 $as_echo "$ac_ct_CC" >&6; }
   3109 else
   3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3111 $as_echo "no" >&6; }
   3112 fi
   3113 
   3114 
   3115   test -n "$ac_ct_CC" && break
   3116 done
   3117 
   3118   if test "x$ac_ct_CC" = x; then
   3119     CC=""
   3120   else
   3121     case $cross_compiling:$ac_tool_warned in
   3122 yes:)
   3123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3125 ac_tool_warned=yes ;;
   3126 esac
   3127     CC=$ac_ct_CC
   3128   fi
   3129 fi
   3130 
   3131 fi
   3132 
   3133 
   3134 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3136 as_fn_error $? "no acceptable C compiler found in \$PATH
   3137 See \`config.log' for more details" "$LINENO" 5; }
   3138 
   3139 # Provide some information about the compiler.
   3140 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3141 set X $ac_compile
   3142 ac_compiler=$2
   3143 for ac_option in --version -v -V -qversion; do
   3144   { { ac_try="$ac_compiler $ac_option >&5"
   3145 case "(($ac_try" in
   3146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3147   *) ac_try_echo=$ac_try;;
   3148 esac
   3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3150 $as_echo "$ac_try_echo"; } >&5
   3151   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3152   ac_status=$?
   3153   if test -s conftest.err; then
   3154     sed '10a\
   3155 ... rest of stderr output deleted ...
   3156          10q' conftest.err >conftest.er1
   3157     cat conftest.er1 >&5
   3158   fi
   3159   rm -f conftest.er1 conftest.err
   3160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3161   test $ac_status = 0; }
   3162 done
   3163 
   3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3165 /* end confdefs.h.  */
   3166 
   3167 int
   3168 main ()
   3169 {
   3170 
   3171   ;
   3172   return 0;
   3173 }
   3174 _ACEOF
   3175 ac_clean_files_save=$ac_clean_files
   3176 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3177 # Try to create an executable without -o first, disregard a.out.
   3178 # It will help us diagnose broken compilers, and finding out an intuition
   3179 # of exeext.
   3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3181 $as_echo_n "checking whether the C compiler works... " >&6; }
   3182 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3183 
   3184 # The possible output files:
   3185 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3186 
   3187 ac_rmfiles=
   3188 for ac_file in $ac_files
   3189 do
   3190   case $ac_file in
   3191     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3192     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3193   esac
   3194 done
   3195 rm -f $ac_rmfiles
   3196 
   3197 if { { ac_try="$ac_link_default"
   3198 case "(($ac_try" in
   3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3200   *) ac_try_echo=$ac_try;;
   3201 esac
   3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3203 $as_echo "$ac_try_echo"; } >&5
   3204   (eval "$ac_link_default") 2>&5
   3205   ac_status=$?
   3206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3207   test $ac_status = 0; }; then :
   3208   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3209 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3210 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3211 # so that the user can short-circuit this test for compilers unknown to
   3212 # Autoconf.
   3213 for ac_file in $ac_files ''
   3214 do
   3215   test -f "$ac_file" || continue
   3216   case $ac_file in
   3217     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3218 	;;
   3219     [ab].out )
   3220 	# We found the default executable, but exeext='' is most
   3221 	# certainly right.
   3222 	break;;
   3223     *.* )
   3224 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3225 	then :; else
   3226 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3227 	fi
   3228 	# We set ac_cv_exeext here because the later test for it is not
   3229 	# safe: cross compilers may not add the suffix if given an `-o'
   3230 	# argument, so we may need to know it at that point already.
   3231 	# Even if this section looks crufty: it has the advantage of
   3232 	# actually working.
   3233 	break;;
   3234     * )
   3235 	break;;
   3236   esac
   3237 done
   3238 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3239 
   3240 else
   3241   ac_file=''
   3242 fi
   3243 if test -z "$ac_file"; then :
   3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3245 $as_echo "no" >&6; }
   3246 $as_echo "$as_me: failed program was:" >&5
   3247 sed 's/^/| /' conftest.$ac_ext >&5
   3248 
   3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3251 as_fn_error 77 "C compiler cannot create executables
   3252 See \`config.log' for more details" "$LINENO" 5; }
   3253 else
   3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3255 $as_echo "yes" >&6; }
   3256 fi
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3258 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3260 $as_echo "$ac_file" >&6; }
   3261 ac_exeext=$ac_cv_exeext
   3262 
   3263 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3264 ac_clean_files=$ac_clean_files_save
   3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3266 $as_echo_n "checking for suffix of executables... " >&6; }
   3267 if { { ac_try="$ac_link"
   3268 case "(($ac_try" in
   3269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3270   *) ac_try_echo=$ac_try;;
   3271 esac
   3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3273 $as_echo "$ac_try_echo"; } >&5
   3274   (eval "$ac_link") 2>&5
   3275   ac_status=$?
   3276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3277   test $ac_status = 0; }; then :
   3278   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3279 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3280 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3281 # `rm'.
   3282 for ac_file in conftest.exe conftest conftest.*; do
   3283   test -f "$ac_file" || continue
   3284   case $ac_file in
   3285     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3286     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3287 	  break;;
   3288     * ) break;;
   3289   esac
   3290 done
   3291 else
   3292   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3294 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3295 See \`config.log' for more details" "$LINENO" 5; }
   3296 fi
   3297 rm -f conftest conftest$ac_cv_exeext
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3299 $as_echo "$ac_cv_exeext" >&6; }
   3300 
   3301 rm -f conftest.$ac_ext
   3302 EXEEXT=$ac_cv_exeext
   3303 ac_exeext=$EXEEXT
   3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3305 /* end confdefs.h.  */
   3306 #include <stdio.h>
   3307 int
   3308 main ()
   3309 {
   3310 FILE *f = fopen ("conftest.out", "w");
   3311  return ferror (f) || fclose (f) != 0;
   3312 
   3313   ;
   3314   return 0;
   3315 }
   3316 _ACEOF
   3317 ac_clean_files="$ac_clean_files conftest.out"
   3318 # Check that the compiler produces executables we can run.  If not, either
   3319 # the compiler is broken, or we cross compile.
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3321 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3322 if test "$cross_compiling" != yes; then
   3323   { { ac_try="$ac_link"
   3324 case "(($ac_try" in
   3325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3326   *) ac_try_echo=$ac_try;;
   3327 esac
   3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3329 $as_echo "$ac_try_echo"; } >&5
   3330   (eval "$ac_link") 2>&5
   3331   ac_status=$?
   3332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3333   test $ac_status = 0; }
   3334   if { ac_try='./conftest$ac_cv_exeext'
   3335   { { case "(($ac_try" in
   3336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3337   *) ac_try_echo=$ac_try;;
   3338 esac
   3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3340 $as_echo "$ac_try_echo"; } >&5
   3341   (eval "$ac_try") 2>&5
   3342   ac_status=$?
   3343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3344   test $ac_status = 0; }; }; then
   3345     cross_compiling=no
   3346   else
   3347     if test "$cross_compiling" = maybe; then
   3348 	cross_compiling=yes
   3349     else
   3350 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3352 as_fn_error $? "cannot run C compiled programs.
   3353 If you meant to cross compile, use \`--host'.
   3354 See \`config.log' for more details" "$LINENO" 5; }
   3355     fi
   3356   fi
   3357 fi
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3359 $as_echo "$cross_compiling" >&6; }
   3360 
   3361 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3362 ac_clean_files=$ac_clean_files_save
   3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3364 $as_echo_n "checking for suffix of object files... " >&6; }
   3365 if ${ac_cv_objext+:} false; then :
   3366   $as_echo_n "(cached) " >&6
   3367 else
   3368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3369 /* end confdefs.h.  */
   3370 
   3371 int
   3372 main ()
   3373 {
   3374 
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 rm -f conftest.o conftest.obj
   3380 if { { ac_try="$ac_compile"
   3381 case "(($ac_try" in
   3382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3383   *) ac_try_echo=$ac_try;;
   3384 esac
   3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3386 $as_echo "$ac_try_echo"; } >&5
   3387   (eval "$ac_compile") 2>&5
   3388   ac_status=$?
   3389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3390   test $ac_status = 0; }; then :
   3391   for ac_file in conftest.o conftest.obj conftest.*; do
   3392   test -f "$ac_file" || continue;
   3393   case $ac_file in
   3394     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3395     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3396        break;;
   3397   esac
   3398 done
   3399 else
   3400   $as_echo "$as_me: failed program was:" >&5
   3401 sed 's/^/| /' conftest.$ac_ext >&5
   3402 
   3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3405 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3406 See \`config.log' for more details" "$LINENO" 5; }
   3407 fi
   3408 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3409 fi
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3411 $as_echo "$ac_cv_objext" >&6; }
   3412 OBJEXT=$ac_cv_objext
   3413 ac_objext=$OBJEXT
   3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3415 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3416 if ${ac_cv_c_compiler_gnu+:} false; then :
   3417   $as_echo_n "(cached) " >&6
   3418 else
   3419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3420 /* end confdefs.h.  */
   3421 
   3422 int
   3423 main ()
   3424 {
   3425 #ifndef __GNUC__
   3426        choke me
   3427 #endif
   3428 
   3429   ;
   3430   return 0;
   3431 }
   3432 _ACEOF
   3433 if ac_fn_c_try_compile "$LINENO"; then :
   3434   ac_compiler_gnu=yes
   3435 else
   3436   ac_compiler_gnu=no
   3437 fi
   3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3439 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3440 
   3441 fi
   3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3443 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3444 if test $ac_compiler_gnu = yes; then
   3445   GCC=yes
   3446 else
   3447   GCC=
   3448 fi
   3449 ac_test_CFLAGS=${CFLAGS+set}
   3450 ac_save_CFLAGS=$CFLAGS
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3452 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3453 if ${ac_cv_prog_cc_g+:} false; then :
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   ac_save_c_werror_flag=$ac_c_werror_flag
   3457    ac_c_werror_flag=yes
   3458    ac_cv_prog_cc_g=no
   3459    CFLAGS="-g"
   3460    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3461 /* end confdefs.h.  */
   3462 
   3463 int
   3464 main ()
   3465 {
   3466 
   3467   ;
   3468   return 0;
   3469 }
   3470 _ACEOF
   3471 if ac_fn_c_try_compile "$LINENO"; then :
   3472   ac_cv_prog_cc_g=yes
   3473 else
   3474   CFLAGS=""
   3475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3476 /* end confdefs.h.  */
   3477 
   3478 int
   3479 main ()
   3480 {
   3481 
   3482   ;
   3483   return 0;
   3484 }
   3485 _ACEOF
   3486 if ac_fn_c_try_compile "$LINENO"; then :
   3487 
   3488 else
   3489   ac_c_werror_flag=$ac_save_c_werror_flag
   3490 	 CFLAGS="-g"
   3491 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3492 /* end confdefs.h.  */
   3493 
   3494 int
   3495 main ()
   3496 {
   3497 
   3498   ;
   3499   return 0;
   3500 }
   3501 _ACEOF
   3502 if ac_fn_c_try_compile "$LINENO"; then :
   3503   ac_cv_prog_cc_g=yes
   3504 fi
   3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3506 fi
   3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3508 fi
   3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3510    ac_c_werror_flag=$ac_save_c_werror_flag
   3511 fi
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3513 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3514 if test "$ac_test_CFLAGS" = set; then
   3515   CFLAGS=$ac_save_CFLAGS
   3516 elif test $ac_cv_prog_cc_g = yes; then
   3517   if test "$GCC" = yes; then
   3518     CFLAGS="-g -O2"
   3519   else
   3520     CFLAGS="-g"
   3521   fi
   3522 else
   3523   if test "$GCC" = yes; then
   3524     CFLAGS="-O2"
   3525   else
   3526     CFLAGS=
   3527   fi
   3528 fi
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3530 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3531 if ${ac_cv_prog_cc_c89+:} false; then :
   3532   $as_echo_n "(cached) " >&6
   3533 else
   3534   ac_cv_prog_cc_c89=no
   3535 ac_save_CC=$CC
   3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3537 /* end confdefs.h.  */
   3538 #include <stdarg.h>
   3539 #include <stdio.h>
   3540 #include <sys/types.h>
   3541 #include <sys/stat.h>
   3542 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3543 struct buf { int x; };
   3544 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3545 static char *e (p, i)
   3546      char **p;
   3547      int i;
   3548 {
   3549   return p[i];
   3550 }
   3551 static char *f (char * (*g) (char **, int), char **p, ...)
   3552 {
   3553   char *s;
   3554   va_list v;
   3555   va_start (v,p);
   3556   s = g (p, va_arg (v,int));
   3557   va_end (v);
   3558   return s;
   3559 }
   3560 
   3561 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3562    function prototypes and stuff, but not '\xHH' hex character constants.
   3563    These don't provoke an error unfortunately, instead are silently treated
   3564    as 'x'.  The following induces an error, until -std is added to get
   3565    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3566    array size at least.  It's necessary to write '\x00'==0 to get something
   3567    that's true only with -std.  */
   3568 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3569 
   3570 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3571    inside strings and character constants.  */
   3572 #define FOO(x) 'x'
   3573 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3574 
   3575 int test (int i, double x);
   3576 struct s1 {int (*f) (int a);};
   3577 struct s2 {int (*f) (double a);};
   3578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3579 int argc;
   3580 char **argv;
   3581 int
   3582 main ()
   3583 {
   3584 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3585   ;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3590 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3591 do
   3592   CC="$ac_save_CC $ac_arg"
   3593   if ac_fn_c_try_compile "$LINENO"; then :
   3594   ac_cv_prog_cc_c89=$ac_arg
   3595 fi
   3596 rm -f core conftest.err conftest.$ac_objext
   3597   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3598 done
   3599 rm -f conftest.$ac_ext
   3600 CC=$ac_save_CC
   3601 
   3602 fi
   3603 # AC_CACHE_VAL
   3604 case "x$ac_cv_prog_cc_c89" in
   3605   x)
   3606     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3607 $as_echo "none needed" >&6; } ;;
   3608   xno)
   3609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3610 $as_echo "unsupported" >&6; } ;;
   3611   *)
   3612     CC="$CC $ac_cv_prog_cc_c89"
   3613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3614 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3615 esac
   3616 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3617 
   3618 fi
   3619 
   3620 ac_ext=c
   3621 ac_cpp='$CPP $CPPFLAGS'
   3622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3625 
   3626 ac_ext=c
   3627 ac_cpp='$CPP $CPPFLAGS'
   3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3632 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3633 if ${am_cv_prog_cc_c_o+:} false; then :
   3634   $as_echo_n "(cached) " >&6
   3635 else
   3636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3637 /* end confdefs.h.  */
   3638 
   3639 int
   3640 main ()
   3641 {
   3642 
   3643   ;
   3644   return 0;
   3645 }
   3646 _ACEOF
   3647   # Make sure it works both with $CC and with simple cc.
   3648   # Following AC_PROG_CC_C_O, we do the test twice because some
   3649   # compilers refuse to overwrite an existing .o file with -o,
   3650   # though they will create one.
   3651   am_cv_prog_cc_c_o=yes
   3652   for am_i in 1 2; do
   3653     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3654    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3655    ac_status=$?
   3656    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3657    (exit $ac_status); } \
   3658          && test -f conftest2.$ac_objext; then
   3659       : OK
   3660     else
   3661       am_cv_prog_cc_c_o=no
   3662       break
   3663     fi
   3664   done
   3665   rm -f core conftest*
   3666   unset am_i
   3667 fi
   3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3669 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3670 if test "$am_cv_prog_cc_c_o" != yes; then
   3671    # Losing compiler, so override with the script.
   3672    # FIXME: It is wrong to rewrite CC.
   3673    # But if we don't then we get into trouble of one sort or another.
   3674    # A longer-term fix would be to have automake use am__CC in this case,
   3675    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3676    CC="$am_aux_dir/compile $CC"
   3677 fi
   3678 ac_ext=c
   3679 ac_cpp='$CPP $CPPFLAGS'
   3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3683 
   3684 
   3685 depcc="$CC"   am_compiler_list=
   3686 
   3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3688 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3689 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3690   $as_echo_n "(cached) " >&6
   3691 else
   3692   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3693   # We make a subdir and do the tests there.  Otherwise we can end up
   3694   # making bogus files that we don't know about and never remove.  For
   3695   # instance it was reported that on HP-UX the gcc test will end up
   3696   # making a dummy file named 'D' -- because '-MD' means "put the output
   3697   # in D".
   3698   rm -rf conftest.dir
   3699   mkdir conftest.dir
   3700   # Copy depcomp to subdir because otherwise we won't find it if we're
   3701   # using a relative directory.
   3702   cp "$am_depcomp" conftest.dir
   3703   cd conftest.dir
   3704   # We will build objects and dependencies in a subdirectory because
   3705   # it helps to detect inapplicable dependency modes.  For instance
   3706   # both Tru64's cc and ICC support -MD to output dependencies as a
   3707   # side effect of compilation, but ICC will put the dependencies in
   3708   # the current directory while Tru64 will put them in the object
   3709   # directory.
   3710   mkdir sub
   3711 
   3712   am_cv_CC_dependencies_compiler_type=none
   3713   if test "$am_compiler_list" = ""; then
   3714      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3715   fi
   3716   am__universal=false
   3717   case " $depcc " in #(
   3718      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3719      esac
   3720 
   3721   for depmode in $am_compiler_list; do
   3722     # Setup a source with many dependencies, because some compilers
   3723     # like to wrap large dependency lists on column 80 (with \), and
   3724     # we should not choose a depcomp mode which is confused by this.
   3725     #
   3726     # We need to recreate these files for each test, as the compiler may
   3727     # overwrite some of them when testing with obscure command lines.
   3728     # This happens at least with the AIX C compiler.
   3729     : > sub/conftest.c
   3730     for i in 1 2 3 4 5 6; do
   3731       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3732       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3733       # Solaris 10 /bin/sh.
   3734       echo '/* dummy */' > sub/conftst$i.h
   3735     done
   3736     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3737 
   3738     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3739     # mode.  It turns out that the SunPro C++ compiler does not properly
   3740     # handle '-M -o', and we need to detect this.  Also, some Intel
   3741     # versions had trouble with output in subdirs.
   3742     am__obj=sub/conftest.${OBJEXT-o}
   3743     am__minus_obj="-o $am__obj"
   3744     case $depmode in
   3745     gcc)
   3746       # This depmode causes a compiler race in universal mode.
   3747       test "$am__universal" = false || continue
   3748       ;;
   3749     nosideeffect)
   3750       # After this tag, mechanisms are not by side-effect, so they'll
   3751       # only be used when explicitly requested.
   3752       if test "x$enable_dependency_tracking" = xyes; then
   3753 	continue
   3754       else
   3755 	break
   3756       fi
   3757       ;;
   3758     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3759       # This compiler won't grok '-c -o', but also, the minuso test has
   3760       # not run yet.  These depmodes are late enough in the game, and
   3761       # so weak that their functioning should not be impacted.
   3762       am__obj=conftest.${OBJEXT-o}
   3763       am__minus_obj=
   3764       ;;
   3765     none) break ;;
   3766     esac
   3767     if depmode=$depmode \
   3768        source=sub/conftest.c object=$am__obj \
   3769        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3770        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3771          >/dev/null 2>conftest.err &&
   3772        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3773        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3774        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3775        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3776       # icc doesn't choke on unknown options, it will just issue warnings
   3777       # or remarks (even with -Werror).  So we grep stderr for any message
   3778       # that says an option was ignored or not supported.
   3779       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3780       #   icc: Command line warning: ignoring option '-M'; no argument required
   3781       # The diagnosis changed in icc 8.0:
   3782       #   icc: Command line remark: option '-MP' not supported
   3783       if (grep 'ignoring option' conftest.err ||
   3784           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3785         am_cv_CC_dependencies_compiler_type=$depmode
   3786         break
   3787       fi
   3788     fi
   3789   done
   3790 
   3791   cd ..
   3792   rm -rf conftest.dir
   3793 else
   3794   am_cv_CC_dependencies_compiler_type=none
   3795 fi
   3796 
   3797 fi
   3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3799 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3800 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3801 
   3802  if
   3803   test "x$enable_dependency_tracking" != xno \
   3804   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3805   am__fastdepCC_TRUE=
   3806   am__fastdepCC_FALSE='#'
   3807 else
   3808   am__fastdepCC_TRUE='#'
   3809   am__fastdepCC_FALSE=
   3810 fi
   3811 
   3812 
   3813    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3814 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3815 if ${ac_cv_prog_cc_c99+:} false; then :
   3816   $as_echo_n "(cached) " >&6
   3817 else
   3818   ac_cv_prog_cc_c99=no
   3819 ac_save_CC=$CC
   3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3821 /* end confdefs.h.  */
   3822 #include <stdarg.h>
   3823 #include <stdbool.h>
   3824 #include <stdlib.h>
   3825 #include <wchar.h>
   3826 #include <stdio.h>
   3827 
   3828 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3829 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3830 #define showlist(...) puts (#__VA_ARGS__)
   3831 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3832 static void
   3833 test_varargs_macros (void)
   3834 {
   3835   int x = 1234;
   3836   int y = 5678;
   3837   debug ("Flag");
   3838   debug ("X = %d\n", x);
   3839   showlist (The first, second, and third items.);
   3840   report (x>y, "x is %d but y is %d", x, y);
   3841 }
   3842 
   3843 // Check long long types.
   3844 #define BIG64 18446744073709551615ull
   3845 #define BIG32 4294967295ul
   3846 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3847 #if !BIG_OK
   3848   your preprocessor is broken;
   3849 #endif
   3850 #if BIG_OK
   3851 #else
   3852   your preprocessor is broken;
   3853 #endif
   3854 static long long int bignum = -9223372036854775807LL;
   3855 static unsigned long long int ubignum = BIG64;
   3856 
   3857 struct incomplete_array
   3858 {
   3859   int datasize;
   3860   double data[];
   3861 };
   3862 
   3863 struct named_init {
   3864   int number;
   3865   const wchar_t *name;
   3866   double average;
   3867 };
   3868 
   3869 typedef const char *ccp;
   3870 
   3871 static inline int
   3872 test_restrict (ccp restrict text)
   3873 {
   3874   // See if C++-style comments work.
   3875   // Iterate through items via the restricted pointer.
   3876   // Also check for declarations in for loops.
   3877   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3878     continue;
   3879   return 0;
   3880 }
   3881 
   3882 // Check varargs and va_copy.
   3883 static void
   3884 test_varargs (const char *format, ...)
   3885 {
   3886   va_list args;
   3887   va_start (args, format);
   3888   va_list args_copy;
   3889   va_copy (args_copy, args);
   3890 
   3891   const char *str;
   3892   int number;
   3893   float fnumber;
   3894 
   3895   while (*format)
   3896     {
   3897       switch (*format++)
   3898 	{
   3899 	case 's': // string
   3900 	  str = va_arg (args_copy, const char *);
   3901 	  break;
   3902 	case 'd': // int
   3903 	  number = va_arg (args_copy, int);
   3904 	  break;
   3905 	case 'f': // float
   3906 	  fnumber = va_arg (args_copy, double);
   3907 	  break;
   3908 	default:
   3909 	  break;
   3910 	}
   3911     }
   3912   va_end (args_copy);
   3913   va_end (args);
   3914 }
   3915 
   3916 int
   3917 main ()
   3918 {
   3919 
   3920   // Check bool.
   3921   _Bool success = false;
   3922 
   3923   // Check restrict.
   3924   if (test_restrict ("String literal") == 0)
   3925     success = true;
   3926   char *restrict newvar = "Another string";
   3927 
   3928   // Check varargs.
   3929   test_varargs ("s, d' f .", "string", 65, 34.234);
   3930   test_varargs_macros ();
   3931 
   3932   // Check flexible array members.
   3933   struct incomplete_array *ia =
   3934     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3935   ia->datasize = 10;
   3936   for (int i = 0; i < ia->datasize; ++i)
   3937     ia->data[i] = i * 1.234;
   3938 
   3939   // Check named initializers.
   3940   struct named_init ni = {
   3941     .number = 34,
   3942     .name = L"Test wide string",
   3943     .average = 543.34343,
   3944   };
   3945 
   3946   ni.number = 58;
   3947 
   3948   int dynamic_array[ni.number];
   3949   dynamic_array[ni.number - 1] = 543;
   3950 
   3951   // work around unused variable warnings
   3952   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3953 	  || dynamic_array[ni.number - 1] != 543);
   3954 
   3955   ;
   3956   return 0;
   3957 }
   3958 _ACEOF
   3959 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3960 do
   3961   CC="$ac_save_CC $ac_arg"
   3962   if ac_fn_c_try_compile "$LINENO"; then :
   3963   ac_cv_prog_cc_c99=$ac_arg
   3964 fi
   3965 rm -f core conftest.err conftest.$ac_objext
   3966   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3967 done
   3968 rm -f conftest.$ac_ext
   3969 CC=$ac_save_CC
   3970 
   3971 fi
   3972 # AC_CACHE_VAL
   3973 case "x$ac_cv_prog_cc_c99" in
   3974   x)
   3975     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3976 $as_echo "none needed" >&6; } ;;
   3977   xno)
   3978     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3979 $as_echo "unsupported" >&6; } ;;
   3980   *)
   3981     CC="$CC $ac_cv_prog_cc_c99"
   3982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3983 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3984 esac
   3985 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3986 
   3987 fi
   3988 
   3989 
   3990 
   3991 ac_ext=c
   3992 ac_cpp='$CPP $CPPFLAGS'
   3993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3997 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3998 # On Suns, sometimes $CPP names a directory.
   3999 if test -n "$CPP" && test -d "$CPP"; then
   4000   CPP=
   4001 fi
   4002 if test -z "$CPP"; then
   4003   if ${ac_cv_prog_CPP+:} false; then :
   4004   $as_echo_n "(cached) " >&6
   4005 else
   4006       # Double quotes because CPP needs to be expanded
   4007     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4008     do
   4009       ac_preproc_ok=false
   4010 for ac_c_preproc_warn_flag in '' yes
   4011 do
   4012   # Use a header file that comes with gcc, so configuring glibc
   4013   # with a fresh cross-compiler works.
   4014   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4015   # <limits.h> exists even on freestanding compilers.
   4016   # On the NeXT, cc -E runs the code through the compiler's parser,
   4017   # not just through cpp. "Syntax error" is here to catch this case.
   4018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4019 /* end confdefs.h.  */
   4020 #ifdef __STDC__
   4021 # include <limits.h>
   4022 #else
   4023 # include <assert.h>
   4024 #endif
   4025 		     Syntax error
   4026 _ACEOF
   4027 if ac_fn_c_try_cpp "$LINENO"; then :
   4028 
   4029 else
   4030   # Broken: fails on valid input.
   4031 continue
   4032 fi
   4033 rm -f conftest.err conftest.i conftest.$ac_ext
   4034 
   4035   # OK, works on sane cases.  Now check whether nonexistent headers
   4036   # can be detected and how.
   4037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4038 /* end confdefs.h.  */
   4039 #include <ac_nonexistent.h>
   4040 _ACEOF
   4041 if ac_fn_c_try_cpp "$LINENO"; then :
   4042   # Broken: success on invalid input.
   4043 continue
   4044 else
   4045   # Passes both tests.
   4046 ac_preproc_ok=:
   4047 break
   4048 fi
   4049 rm -f conftest.err conftest.i conftest.$ac_ext
   4050 
   4051 done
   4052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4053 rm -f conftest.i conftest.err conftest.$ac_ext
   4054 if $ac_preproc_ok; then :
   4055   break
   4056 fi
   4057 
   4058     done
   4059     ac_cv_prog_CPP=$CPP
   4060 
   4061 fi
   4062   CPP=$ac_cv_prog_CPP
   4063 else
   4064   ac_cv_prog_CPP=$CPP
   4065 fi
   4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4067 $as_echo "$CPP" >&6; }
   4068 ac_preproc_ok=false
   4069 for ac_c_preproc_warn_flag in '' yes
   4070 do
   4071   # Use a header file that comes with gcc, so configuring glibc
   4072   # with a fresh cross-compiler works.
   4073   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4074   # <limits.h> exists even on freestanding compilers.
   4075   # On the NeXT, cc -E runs the code through the compiler's parser,
   4076   # not just through cpp. "Syntax error" is here to catch this case.
   4077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4078 /* end confdefs.h.  */
   4079 #ifdef __STDC__
   4080 # include <limits.h>
   4081 #else
   4082 # include <assert.h>
   4083 #endif
   4084 		     Syntax error
   4085 _ACEOF
   4086 if ac_fn_c_try_cpp "$LINENO"; then :
   4087 
   4088 else
   4089   # Broken: fails on valid input.
   4090 continue
   4091 fi
   4092 rm -f conftest.err conftest.i conftest.$ac_ext
   4093 
   4094   # OK, works on sane cases.  Now check whether nonexistent headers
   4095   # can be detected and how.
   4096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4097 /* end confdefs.h.  */
   4098 #include <ac_nonexistent.h>
   4099 _ACEOF
   4100 if ac_fn_c_try_cpp "$LINENO"; then :
   4101   # Broken: success on invalid input.
   4102 continue
   4103 else
   4104   # Passes both tests.
   4105 ac_preproc_ok=:
   4106 break
   4107 fi
   4108 rm -f conftest.err conftest.i conftest.$ac_ext
   4109 
   4110 done
   4111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4112 rm -f conftest.i conftest.err conftest.$ac_ext
   4113 if $ac_preproc_ok; then :
   4114 
   4115 else
   4116   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4118 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4119 See \`config.log' for more details" "$LINENO" 5; }
   4120 fi
   4121 
   4122 ac_ext=c
   4123 ac_cpp='$CPP $CPPFLAGS'
   4124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4127 
   4128 
   4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4130 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4131 if ${ac_cv_path_GREP+:} false; then :
   4132   $as_echo_n "(cached) " >&6
   4133 else
   4134   if test -z "$GREP"; then
   4135   ac_path_GREP_found=false
   4136   # Loop through the user's path and test for each of PROGNAME-LIST
   4137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4139 do
   4140   IFS=$as_save_IFS
   4141   test -z "$as_dir" && as_dir=.
   4142     for ac_prog in grep ggrep; do
   4143     for ac_exec_ext in '' $ac_executable_extensions; do
   4144       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4145       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4146 # Check for GNU ac_path_GREP and select it if it is found.
   4147   # Check for GNU $ac_path_GREP
   4148 case `"$ac_path_GREP" --version 2>&1` in
   4149 *GNU*)
   4150   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4151 *)
   4152   ac_count=0
   4153   $as_echo_n 0123456789 >"conftest.in"
   4154   while :
   4155   do
   4156     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4157     mv "conftest.tmp" "conftest.in"
   4158     cp "conftest.in" "conftest.nl"
   4159     $as_echo 'GREP' >> "conftest.nl"
   4160     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4161     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4162     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4163     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4164       # Best one so far, save it but keep looking for a better one
   4165       ac_cv_path_GREP="$ac_path_GREP"
   4166       ac_path_GREP_max=$ac_count
   4167     fi
   4168     # 10*(2^10) chars as input seems more than enough
   4169     test $ac_count -gt 10 && break
   4170   done
   4171   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4172 esac
   4173 
   4174       $ac_path_GREP_found && break 3
   4175     done
   4176   done
   4177   done
   4178 IFS=$as_save_IFS
   4179   if test -z "$ac_cv_path_GREP"; then
   4180     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4181   fi
   4182 else
   4183   ac_cv_path_GREP=$GREP
   4184 fi
   4185 
   4186 fi
   4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4188 $as_echo "$ac_cv_path_GREP" >&6; }
   4189  GREP="$ac_cv_path_GREP"
   4190 
   4191 
   4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4193 $as_echo_n "checking for egrep... " >&6; }
   4194 if ${ac_cv_path_EGREP+:} false; then :
   4195   $as_echo_n "(cached) " >&6
   4196 else
   4197   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4198    then ac_cv_path_EGREP="$GREP -E"
   4199    else
   4200      if test -z "$EGREP"; then
   4201   ac_path_EGREP_found=false
   4202   # Loop through the user's path and test for each of PROGNAME-LIST
   4203   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4204 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4205 do
   4206   IFS=$as_save_IFS
   4207   test -z "$as_dir" && as_dir=.
   4208     for ac_prog in egrep; do
   4209     for ac_exec_ext in '' $ac_executable_extensions; do
   4210       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4211       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4212 # Check for GNU ac_path_EGREP and select it if it is found.
   4213   # Check for GNU $ac_path_EGREP
   4214 case `"$ac_path_EGREP" --version 2>&1` in
   4215 *GNU*)
   4216   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4217 *)
   4218   ac_count=0
   4219   $as_echo_n 0123456789 >"conftest.in"
   4220   while :
   4221   do
   4222     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4223     mv "conftest.tmp" "conftest.in"
   4224     cp "conftest.in" "conftest.nl"
   4225     $as_echo 'EGREP' >> "conftest.nl"
   4226     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4227     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4228     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4229     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4230       # Best one so far, save it but keep looking for a better one
   4231       ac_cv_path_EGREP="$ac_path_EGREP"
   4232       ac_path_EGREP_max=$ac_count
   4233     fi
   4234     # 10*(2^10) chars as input seems more than enough
   4235     test $ac_count -gt 10 && break
   4236   done
   4237   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4238 esac
   4239 
   4240       $ac_path_EGREP_found && break 3
   4241     done
   4242   done
   4243   done
   4244 IFS=$as_save_IFS
   4245   if test -z "$ac_cv_path_EGREP"; then
   4246     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4247   fi
   4248 else
   4249   ac_cv_path_EGREP=$EGREP
   4250 fi
   4251 
   4252    fi
   4253 fi
   4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4255 $as_echo "$ac_cv_path_EGREP" >&6; }
   4256  EGREP="$ac_cv_path_EGREP"
   4257 
   4258 
   4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4260 $as_echo_n "checking for ANSI C header files... " >&6; }
   4261 if ${ac_cv_header_stdc+:} false; then :
   4262   $as_echo_n "(cached) " >&6
   4263 else
   4264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4265 /* end confdefs.h.  */
   4266 #include <stdlib.h>
   4267 #include <stdarg.h>
   4268 #include <string.h>
   4269 #include <float.h>
   4270 
   4271 int
   4272 main ()
   4273 {
   4274 
   4275   ;
   4276   return 0;
   4277 }
   4278 _ACEOF
   4279 if ac_fn_c_try_compile "$LINENO"; then :
   4280   ac_cv_header_stdc=yes
   4281 else
   4282   ac_cv_header_stdc=no
   4283 fi
   4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4285 
   4286 if test $ac_cv_header_stdc = yes; then
   4287   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 #include <string.h>
   4291 
   4292 _ACEOF
   4293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4294   $EGREP "memchr" >/dev/null 2>&1; then :
   4295 
   4296 else
   4297   ac_cv_header_stdc=no
   4298 fi
   4299 rm -f conftest*
   4300 
   4301 fi
   4302 
   4303 if test $ac_cv_header_stdc = yes; then
   4304   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4306 /* end confdefs.h.  */
   4307 #include <stdlib.h>
   4308 
   4309 _ACEOF
   4310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4311   $EGREP "free" >/dev/null 2>&1; then :
   4312 
   4313 else
   4314   ac_cv_header_stdc=no
   4315 fi
   4316 rm -f conftest*
   4317 
   4318 fi
   4319 
   4320 if test $ac_cv_header_stdc = yes; then
   4321   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4322   if test "$cross_compiling" = yes; then :
   4323   :
   4324 else
   4325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4326 /* end confdefs.h.  */
   4327 #include <ctype.h>
   4328 #include <stdlib.h>
   4329 #if ((' ' & 0x0FF) == 0x020)
   4330 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4331 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4332 #else
   4333 # define ISLOWER(c) \
   4334 		   (('a' <= (c) && (c) <= 'i') \
   4335 		     || ('j' <= (c) && (c) <= 'r') \
   4336 		     || ('s' <= (c) && (c) <= 'z'))
   4337 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4338 #endif
   4339 
   4340 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4341 int
   4342 main ()
   4343 {
   4344   int i;
   4345   for (i = 0; i < 256; i++)
   4346     if (XOR (islower (i), ISLOWER (i))
   4347 	|| toupper (i) != TOUPPER (i))
   4348       return 2;
   4349   return 0;
   4350 }
   4351 _ACEOF
   4352 if ac_fn_c_try_run "$LINENO"; then :
   4353 
   4354 else
   4355   ac_cv_header_stdc=no
   4356 fi
   4357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4358   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4359 fi
   4360 
   4361 fi
   4362 fi
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4364 $as_echo "$ac_cv_header_stdc" >&6; }
   4365 if test $ac_cv_header_stdc = yes; then
   4366 
   4367 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4368 
   4369 fi
   4370 
   4371 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4372 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4373 		  inttypes.h stdint.h unistd.h
   4374 do :
   4375   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4376 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4377 "
   4378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4379   cat >>confdefs.h <<_ACEOF
   4380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4381 _ACEOF
   4382 
   4383 fi
   4384 
   4385 done
   4386 
   4387 
   4388 
   4389 
   4390 
   4391 
   4392 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4393 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4394   CLANGCC="yes"
   4395 else
   4396   CLANGCC="no"
   4397 fi
   4398 
   4399 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4400 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4401   INTELCC="yes"
   4402 else
   4403   INTELCC="no"
   4404 fi
   4405 
   4406 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4407 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4408   SUNCC="yes"
   4409 else
   4410   SUNCC="no"
   4411 fi
   4412 
   4413 
   4414 
   4415 
   4416 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4417 	if test -n "$ac_tool_prefix"; then
   4418   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4419 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4421 $as_echo_n "checking for $ac_word... " >&6; }
   4422 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4423   $as_echo_n "(cached) " >&6
   4424 else
   4425   case $PKG_CONFIG in
   4426   [\\/]* | ?:[\\/]*)
   4427   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4428   ;;
   4429   *)
   4430   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4431 for as_dir in $PATH
   4432 do
   4433   IFS=$as_save_IFS
   4434   test -z "$as_dir" && as_dir=.
   4435     for ac_exec_ext in '' $ac_executable_extensions; do
   4436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4437     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4439     break 2
   4440   fi
   4441 done
   4442   done
   4443 IFS=$as_save_IFS
   4444 
   4445   ;;
   4446 esac
   4447 fi
   4448 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4449 if test -n "$PKG_CONFIG"; then
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4451 $as_echo "$PKG_CONFIG" >&6; }
   4452 else
   4453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4454 $as_echo "no" >&6; }
   4455 fi
   4456 
   4457 
   4458 fi
   4459 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4460   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4461   # Extract the first word of "pkg-config", so it can be a program name with args.
   4462 set dummy pkg-config; ac_word=$2
   4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4464 $as_echo_n "checking for $ac_word... " >&6; }
   4465 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4466   $as_echo_n "(cached) " >&6
   4467 else
   4468   case $ac_pt_PKG_CONFIG in
   4469   [\\/]* | ?:[\\/]*)
   4470   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4471   ;;
   4472   *)
   4473   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4474 for as_dir in $PATH
   4475 do
   4476   IFS=$as_save_IFS
   4477   test -z "$as_dir" && as_dir=.
   4478     for ac_exec_ext in '' $ac_executable_extensions; do
   4479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4480     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4482     break 2
   4483   fi
   4484 done
   4485   done
   4486 IFS=$as_save_IFS
   4487 
   4488   ;;
   4489 esac
   4490 fi
   4491 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4492 if test -n "$ac_pt_PKG_CONFIG"; then
   4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4494 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4495 else
   4496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4497 $as_echo "no" >&6; }
   4498 fi
   4499 
   4500   if test "x$ac_pt_PKG_CONFIG" = x; then
   4501     PKG_CONFIG=""
   4502   else
   4503     case $cross_compiling:$ac_tool_warned in
   4504 yes:)
   4505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4507 ac_tool_warned=yes ;;
   4508 esac
   4509     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4510   fi
   4511 else
   4512   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4513 fi
   4514 
   4515 fi
   4516 if test -n "$PKG_CONFIG"; then
   4517 	_pkg_min_version=0.9.0
   4518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4519 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4520 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4522 $as_echo "yes" >&6; }
   4523 	else
   4524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4525 $as_echo "no" >&6; }
   4526 		PKG_CONFIG=""
   4527 	fi
   4528 
   4529 fi
   4530 # Make sure we can run config.sub.
   4531 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4532   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4533 
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4535 $as_echo_n "checking build system type... " >&6; }
   4536 if ${ac_cv_build+:} false; then :
   4537   $as_echo_n "(cached) " >&6
   4538 else
   4539   ac_build_alias=$build_alias
   4540 test "x$ac_build_alias" = x &&
   4541   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4542 test "x$ac_build_alias" = x &&
   4543   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4544 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4545   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4546 
   4547 fi
   4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4549 $as_echo "$ac_cv_build" >&6; }
   4550 case $ac_cv_build in
   4551 *-*-*) ;;
   4552 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4553 esac
   4554 build=$ac_cv_build
   4555 ac_save_IFS=$IFS; IFS='-'
   4556 set x $ac_cv_build
   4557 shift
   4558 build_cpu=$1
   4559 build_vendor=$2
   4560 shift; shift
   4561 # Remember, the first character of IFS is used to create $*,
   4562 # except with old shells:
   4563 build_os=$*
   4564 IFS=$ac_save_IFS
   4565 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4566 
   4567 
   4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4569 $as_echo_n "checking host system type... " >&6; }
   4570 if ${ac_cv_host+:} false; then :
   4571   $as_echo_n "(cached) " >&6
   4572 else
   4573   if test "x$host_alias" = x; then
   4574   ac_cv_host=$ac_cv_build
   4575 else
   4576   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4577     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4578 fi
   4579 
   4580 fi
   4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4582 $as_echo "$ac_cv_host" >&6; }
   4583 case $ac_cv_host in
   4584 *-*-*) ;;
   4585 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4586 esac
   4587 host=$ac_cv_host
   4588 ac_save_IFS=$IFS; IFS='-'
   4589 set x $ac_cv_host
   4590 shift
   4591 host_cpu=$1
   4592 host_vendor=$2
   4593 shift; shift
   4594 # Remember, the first character of IFS is used to create $*,
   4595 # except with old shells:
   4596 host_os=$*
   4597 IFS=$ac_save_IFS
   4598 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4599 
   4600 
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4602 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4603 if ${ac_cv_path_SED+:} false; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4607      for ac_i in 1 2 3 4 5 6 7; do
   4608        ac_script="$ac_script$as_nl$ac_script"
   4609      done
   4610      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4611      { ac_script=; unset ac_script;}
   4612      if test -z "$SED"; then
   4613   ac_path_SED_found=false
   4614   # Loop through the user's path and test for each of PROGNAME-LIST
   4615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4616 for as_dir in $PATH
   4617 do
   4618   IFS=$as_save_IFS
   4619   test -z "$as_dir" && as_dir=.
   4620     for ac_prog in sed gsed; do
   4621     for ac_exec_ext in '' $ac_executable_extensions; do
   4622       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4623       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4624 # Check for GNU ac_path_SED and select it if it is found.
   4625   # Check for GNU $ac_path_SED
   4626 case `"$ac_path_SED" --version 2>&1` in
   4627 *GNU*)
   4628   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4629 *)
   4630   ac_count=0
   4631   $as_echo_n 0123456789 >"conftest.in"
   4632   while :
   4633   do
   4634     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4635     mv "conftest.tmp" "conftest.in"
   4636     cp "conftest.in" "conftest.nl"
   4637     $as_echo '' >> "conftest.nl"
   4638     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4639     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4640     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4641     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4642       # Best one so far, save it but keep looking for a better one
   4643       ac_cv_path_SED="$ac_path_SED"
   4644       ac_path_SED_max=$ac_count
   4645     fi
   4646     # 10*(2^10) chars as input seems more than enough
   4647     test $ac_count -gt 10 && break
   4648   done
   4649   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4650 esac
   4651 
   4652       $ac_path_SED_found && break 3
   4653     done
   4654   done
   4655   done
   4656 IFS=$as_save_IFS
   4657   if test -z "$ac_cv_path_SED"; then
   4658     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4659   fi
   4660 else
   4661   ac_cv_path_SED=$SED
   4662 fi
   4663 
   4664 fi
   4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4666 $as_echo "$ac_cv_path_SED" >&6; }
   4667  SED="$ac_cv_path_SED"
   4668   rm -f conftest.sed
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 
   4675 # Check whether --enable-selective-werror was given.
   4676 if test "${enable_selective_werror+set}" = set; then :
   4677   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4678 else
   4679   SELECTIVE_WERROR=yes
   4680 fi
   4681 
   4682 
   4683 
   4684 
   4685 
   4686 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4687 if test "x$SUNCC" = "xyes"; then
   4688     BASE_CFLAGS="-v"
   4689 else
   4690     BASE_CFLAGS=""
   4691 fi
   4692 
   4693 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 xorg_testset_save_CFLAGS="$CFLAGS"
   4708 
   4709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4714   $as_echo_n "(cached) " >&6
   4715 else
   4716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4717 /* end confdefs.h.  */
   4718 int i;
   4719 _ACEOF
   4720 if ac_fn_c_try_compile "$LINENO"; then :
   4721   xorg_cv_cc_flag_unknown_warning_option=yes
   4722 else
   4723   xorg_cv_cc_flag_unknown_warning_option=no
   4724 fi
   4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4726 fi
   4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4730 	CFLAGS="$xorg_testset_save_CFLAGS"
   4731 fi
   4732 
   4733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4736 	fi
   4737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4741   $as_echo_n "(cached) " >&6
   4742 else
   4743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4744 /* end confdefs.h.  */
   4745 int i;
   4746 _ACEOF
   4747 if ac_fn_c_try_compile "$LINENO"; then :
   4748   xorg_cv_cc_flag_unused_command_line_argument=yes
   4749 else
   4750   xorg_cv_cc_flag_unused_command_line_argument=no
   4751 fi
   4752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4753 fi
   4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4757 	CFLAGS="$xorg_testset_save_CFLAGS"
   4758 fi
   4759 
   4760 found="no"
   4761 
   4762 	if test $found = "no" ; then
   4763 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4765 		fi
   4766 
   4767 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4769 		fi
   4770 
   4771 		CFLAGS="$CFLAGS -Wall"
   4772 
   4773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4774 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4775 		cacheid=xorg_cv_cc_flag__Wall
   4776 		if eval \${$cacheid+:} false; then :
   4777   $as_echo_n "(cached) " >&6
   4778 else
   4779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4780 /* end confdefs.h.  */
   4781 int i;
   4782 int
   4783 main ()
   4784 {
   4785 
   4786   ;
   4787   return 0;
   4788 }
   4789 _ACEOF
   4790 if ac_fn_c_try_link "$LINENO"; then :
   4791   eval $cacheid=yes
   4792 else
   4793   eval $cacheid=no
   4794 fi
   4795 rm -f core conftest.err conftest.$ac_objext \
   4796     conftest$ac_exeext conftest.$ac_ext
   4797 fi
   4798 
   4799 
   4800 		CFLAGS="$xorg_testset_save_CFLAGS"
   4801 
   4802 		eval supported=\$$cacheid
   4803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4804 $as_echo "$supported" >&6; }
   4805 		if test "$supported" = "yes" ; then
   4806 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4807 			found="yes"
   4808 		fi
   4809 	fi
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 xorg_testset_save_CFLAGS="$CFLAGS"
   4826 
   4827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4832   $as_echo_n "(cached) " >&6
   4833 else
   4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4835 /* end confdefs.h.  */
   4836 int i;
   4837 _ACEOF
   4838 if ac_fn_c_try_compile "$LINENO"; then :
   4839   xorg_cv_cc_flag_unknown_warning_option=yes
   4840 else
   4841   xorg_cv_cc_flag_unknown_warning_option=no
   4842 fi
   4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4844 fi
   4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4848 	CFLAGS="$xorg_testset_save_CFLAGS"
   4849 fi
   4850 
   4851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4854 	fi
   4855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4859   $as_echo_n "(cached) " >&6
   4860 else
   4861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4862 /* end confdefs.h.  */
   4863 int i;
   4864 _ACEOF
   4865 if ac_fn_c_try_compile "$LINENO"; then :
   4866   xorg_cv_cc_flag_unused_command_line_argument=yes
   4867 else
   4868   xorg_cv_cc_flag_unused_command_line_argument=no
   4869 fi
   4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4871 fi
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4875 	CFLAGS="$xorg_testset_save_CFLAGS"
   4876 fi
   4877 
   4878 found="no"
   4879 
   4880 	if test $found = "no" ; then
   4881 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4883 		fi
   4884 
   4885 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4887 		fi
   4888 
   4889 		CFLAGS="$CFLAGS -Wpointer-arith"
   4890 
   4891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4892 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4893 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4894 		if eval \${$cacheid+:} false; then :
   4895   $as_echo_n "(cached) " >&6
   4896 else
   4897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4898 /* end confdefs.h.  */
   4899 int i;
   4900 int
   4901 main ()
   4902 {
   4903 
   4904   ;
   4905   return 0;
   4906 }
   4907 _ACEOF
   4908 if ac_fn_c_try_link "$LINENO"; then :
   4909   eval $cacheid=yes
   4910 else
   4911   eval $cacheid=no
   4912 fi
   4913 rm -f core conftest.err conftest.$ac_objext \
   4914     conftest$ac_exeext conftest.$ac_ext
   4915 fi
   4916 
   4917 
   4918 		CFLAGS="$xorg_testset_save_CFLAGS"
   4919 
   4920 		eval supported=\$$cacheid
   4921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4922 $as_echo "$supported" >&6; }
   4923 		if test "$supported" = "yes" ; then
   4924 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4925 			found="yes"
   4926 		fi
   4927 	fi
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 xorg_testset_save_CFLAGS="$CFLAGS"
   4944 
   4945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4950   $as_echo_n "(cached) " >&6
   4951 else
   4952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4953 /* end confdefs.h.  */
   4954 int i;
   4955 _ACEOF
   4956 if ac_fn_c_try_compile "$LINENO"; then :
   4957   xorg_cv_cc_flag_unknown_warning_option=yes
   4958 else
   4959   xorg_cv_cc_flag_unknown_warning_option=no
   4960 fi
   4961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4962 fi
   4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4966 	CFLAGS="$xorg_testset_save_CFLAGS"
   4967 fi
   4968 
   4969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4972 	fi
   4973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 int i;
   4982 _ACEOF
   4983 if ac_fn_c_try_compile "$LINENO"; then :
   4984   xorg_cv_cc_flag_unused_command_line_argument=yes
   4985 else
   4986   xorg_cv_cc_flag_unused_command_line_argument=no
   4987 fi
   4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4989 fi
   4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4993 	CFLAGS="$xorg_testset_save_CFLAGS"
   4994 fi
   4995 
   4996 found="no"
   4997 
   4998 	if test $found = "no" ; then
   4999 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5001 		fi
   5002 
   5003 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5005 		fi
   5006 
   5007 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5008 
   5009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5010 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5011 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5012 		if eval \${$cacheid+:} false; then :
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5016 /* end confdefs.h.  */
   5017 int i;
   5018 int
   5019 main ()
   5020 {
   5021 
   5022   ;
   5023   return 0;
   5024 }
   5025 _ACEOF
   5026 if ac_fn_c_try_link "$LINENO"; then :
   5027   eval $cacheid=yes
   5028 else
   5029   eval $cacheid=no
   5030 fi
   5031 rm -f core conftest.err conftest.$ac_objext \
   5032     conftest$ac_exeext conftest.$ac_ext
   5033 fi
   5034 
   5035 
   5036 		CFLAGS="$xorg_testset_save_CFLAGS"
   5037 
   5038 		eval supported=\$$cacheid
   5039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5040 $as_echo "$supported" >&6; }
   5041 		if test "$supported" = "yes" ; then
   5042 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5043 			found="yes"
   5044 		fi
   5045 	fi
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 xorg_testset_save_CFLAGS="$CFLAGS"
   5062 
   5063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5066 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5067 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5068   $as_echo_n "(cached) " >&6
   5069 else
   5070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5071 /* end confdefs.h.  */
   5072 int i;
   5073 _ACEOF
   5074 if ac_fn_c_try_compile "$LINENO"; then :
   5075   xorg_cv_cc_flag_unknown_warning_option=yes
   5076 else
   5077   xorg_cv_cc_flag_unknown_warning_option=no
   5078 fi
   5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5080 fi
   5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5082 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5084 	CFLAGS="$xorg_testset_save_CFLAGS"
   5085 fi
   5086 
   5087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5090 	fi
   5091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5093 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5094 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5095   $as_echo_n "(cached) " >&6
   5096 else
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 int i;
   5100 _ACEOF
   5101 if ac_fn_c_try_compile "$LINENO"; then :
   5102   xorg_cv_cc_flag_unused_command_line_argument=yes
   5103 else
   5104   xorg_cv_cc_flag_unused_command_line_argument=no
   5105 fi
   5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5107 fi
   5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5109 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5111 	CFLAGS="$xorg_testset_save_CFLAGS"
   5112 fi
   5113 
   5114 found="no"
   5115 
   5116 	if test $found = "no" ; then
   5117 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5119 		fi
   5120 
   5121 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5123 		fi
   5124 
   5125 		CFLAGS="$CFLAGS -Wformat=2"
   5126 
   5127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5128 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5129 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5130 		if eval \${$cacheid+:} false; then :
   5131   $as_echo_n "(cached) " >&6
   5132 else
   5133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5134 /* end confdefs.h.  */
   5135 int i;
   5136 int
   5137 main ()
   5138 {
   5139 
   5140   ;
   5141   return 0;
   5142 }
   5143 _ACEOF
   5144 if ac_fn_c_try_link "$LINENO"; then :
   5145   eval $cacheid=yes
   5146 else
   5147   eval $cacheid=no
   5148 fi
   5149 rm -f core conftest.err conftest.$ac_objext \
   5150     conftest$ac_exeext conftest.$ac_ext
   5151 fi
   5152 
   5153 
   5154 		CFLAGS="$xorg_testset_save_CFLAGS"
   5155 
   5156 		eval supported=\$$cacheid
   5157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5158 $as_echo "$supported" >&6; }
   5159 		if test "$supported" = "yes" ; then
   5160 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5161 			found="yes"
   5162 		fi
   5163 	fi
   5164 
   5165 	if test $found = "no" ; then
   5166 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5168 		fi
   5169 
   5170 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5172 		fi
   5173 
   5174 		CFLAGS="$CFLAGS -Wformat"
   5175 
   5176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5177 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5178 		cacheid=xorg_cv_cc_flag__Wformat
   5179 		if eval \${$cacheid+:} false; then :
   5180   $as_echo_n "(cached) " >&6
   5181 else
   5182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5183 /* end confdefs.h.  */
   5184 int i;
   5185 int
   5186 main ()
   5187 {
   5188 
   5189   ;
   5190   return 0;
   5191 }
   5192 _ACEOF
   5193 if ac_fn_c_try_link "$LINENO"; then :
   5194   eval $cacheid=yes
   5195 else
   5196   eval $cacheid=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext \
   5199     conftest$ac_exeext conftest.$ac_ext
   5200 fi
   5201 
   5202 
   5203 		CFLAGS="$xorg_testset_save_CFLAGS"
   5204 
   5205 		eval supported=\$$cacheid
   5206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5207 $as_echo "$supported" >&6; }
   5208 		if test "$supported" = "yes" ; then
   5209 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5210 			found="yes"
   5211 		fi
   5212 	fi
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 xorg_testset_save_CFLAGS="$CFLAGS"
   5231 
   5232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5235 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5236 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5237   $as_echo_n "(cached) " >&6
   5238 else
   5239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5240 /* end confdefs.h.  */
   5241 int i;
   5242 _ACEOF
   5243 if ac_fn_c_try_compile "$LINENO"; then :
   5244   xorg_cv_cc_flag_unknown_warning_option=yes
   5245 else
   5246   xorg_cv_cc_flag_unknown_warning_option=no
   5247 fi
   5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5249 fi
   5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5251 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5253 	CFLAGS="$xorg_testset_save_CFLAGS"
   5254 fi
   5255 
   5256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5259 	fi
   5260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5262 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5263 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5264   $as_echo_n "(cached) " >&6
   5265 else
   5266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5267 /* end confdefs.h.  */
   5268 int i;
   5269 _ACEOF
   5270 if ac_fn_c_try_compile "$LINENO"; then :
   5271   xorg_cv_cc_flag_unused_command_line_argument=yes
   5272 else
   5273   xorg_cv_cc_flag_unused_command_line_argument=no
   5274 fi
   5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5276 fi
   5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5278 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5280 	CFLAGS="$xorg_testset_save_CFLAGS"
   5281 fi
   5282 
   5283 found="no"
   5284 
   5285 	if test $found = "no" ; then
   5286 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5288 		fi
   5289 
   5290 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5292 		fi
   5293 
   5294 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5295 
   5296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5297 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5298 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5299 		if eval \${$cacheid+:} false; then :
   5300   $as_echo_n "(cached) " >&6
   5301 else
   5302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5303 /* end confdefs.h.  */
   5304 int i;
   5305 int
   5306 main ()
   5307 {
   5308 
   5309   ;
   5310   return 0;
   5311 }
   5312 _ACEOF
   5313 if ac_fn_c_try_link "$LINENO"; then :
   5314   eval $cacheid=yes
   5315 else
   5316   eval $cacheid=no
   5317 fi
   5318 rm -f core conftest.err conftest.$ac_objext \
   5319     conftest$ac_exeext conftest.$ac_ext
   5320 fi
   5321 
   5322 
   5323 		CFLAGS="$xorg_testset_save_CFLAGS"
   5324 
   5325 		eval supported=\$$cacheid
   5326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5327 $as_echo "$supported" >&6; }
   5328 		if test "$supported" = "yes" ; then
   5329 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5330 			found="yes"
   5331 		fi
   5332 	fi
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 xorg_testset_save_CFLAGS="$CFLAGS"
   5349 
   5350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5353 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5354 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5355   $as_echo_n "(cached) " >&6
   5356 else
   5357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5358 /* end confdefs.h.  */
   5359 int i;
   5360 _ACEOF
   5361 if ac_fn_c_try_compile "$LINENO"; then :
   5362   xorg_cv_cc_flag_unknown_warning_option=yes
   5363 else
   5364   xorg_cv_cc_flag_unknown_warning_option=no
   5365 fi
   5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5367 fi
   5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5369 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5371 	CFLAGS="$xorg_testset_save_CFLAGS"
   5372 fi
   5373 
   5374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5377 	fi
   5378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5380 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5381 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5382   $as_echo_n "(cached) " >&6
   5383 else
   5384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5385 /* end confdefs.h.  */
   5386 int i;
   5387 _ACEOF
   5388 if ac_fn_c_try_compile "$LINENO"; then :
   5389   xorg_cv_cc_flag_unused_command_line_argument=yes
   5390 else
   5391   xorg_cv_cc_flag_unused_command_line_argument=no
   5392 fi
   5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5394 fi
   5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5396 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5398 	CFLAGS="$xorg_testset_save_CFLAGS"
   5399 fi
   5400 
   5401 found="no"
   5402 
   5403 	if test $found = "no" ; then
   5404 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5406 		fi
   5407 
   5408 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5410 		fi
   5411 
   5412 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5413 
   5414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5415 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5416 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5417 		if eval \${$cacheid+:} false; then :
   5418   $as_echo_n "(cached) " >&6
   5419 else
   5420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5421 /* end confdefs.h.  */
   5422 int i;
   5423 int
   5424 main ()
   5425 {
   5426 
   5427   ;
   5428   return 0;
   5429 }
   5430 _ACEOF
   5431 if ac_fn_c_try_link "$LINENO"; then :
   5432   eval $cacheid=yes
   5433 else
   5434   eval $cacheid=no
   5435 fi
   5436 rm -f core conftest.err conftest.$ac_objext \
   5437     conftest$ac_exeext conftest.$ac_ext
   5438 fi
   5439 
   5440 
   5441 		CFLAGS="$xorg_testset_save_CFLAGS"
   5442 
   5443 		eval supported=\$$cacheid
   5444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5445 $as_echo "$supported" >&6; }
   5446 		if test "$supported" = "yes" ; then
   5447 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5448 			found="yes"
   5449 		fi
   5450 	fi
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 xorg_testset_save_CFLAGS="$CFLAGS"
   5467 
   5468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5471 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5472 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5476 /* end confdefs.h.  */
   5477 int i;
   5478 _ACEOF
   5479 if ac_fn_c_try_compile "$LINENO"; then :
   5480   xorg_cv_cc_flag_unknown_warning_option=yes
   5481 else
   5482   xorg_cv_cc_flag_unknown_warning_option=no
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5485 fi
   5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5487 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5489 	CFLAGS="$xorg_testset_save_CFLAGS"
   5490 fi
   5491 
   5492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5495 	fi
   5496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5498 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5499 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 _ACEOF
   5506 if ac_fn_c_try_compile "$LINENO"; then :
   5507   xorg_cv_cc_flag_unused_command_line_argument=yes
   5508 else
   5509   xorg_cv_cc_flag_unused_command_line_argument=no
   5510 fi
   5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5512 fi
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5514 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5516 	CFLAGS="$xorg_testset_save_CFLAGS"
   5517 fi
   5518 
   5519 found="no"
   5520 
   5521 	if test $found = "no" ; then
   5522 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5524 		fi
   5525 
   5526 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5528 		fi
   5529 
   5530 		CFLAGS="$CFLAGS -Wnested-externs"
   5531 
   5532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5533 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5534 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5535 		if eval \${$cacheid+:} false; then :
   5536   $as_echo_n "(cached) " >&6
   5537 else
   5538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5539 /* end confdefs.h.  */
   5540 int i;
   5541 int
   5542 main ()
   5543 {
   5544 
   5545   ;
   5546   return 0;
   5547 }
   5548 _ACEOF
   5549 if ac_fn_c_try_link "$LINENO"; then :
   5550   eval $cacheid=yes
   5551 else
   5552   eval $cacheid=no
   5553 fi
   5554 rm -f core conftest.err conftest.$ac_objext \
   5555     conftest$ac_exeext conftest.$ac_ext
   5556 fi
   5557 
   5558 
   5559 		CFLAGS="$xorg_testset_save_CFLAGS"
   5560 
   5561 		eval supported=\$$cacheid
   5562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5563 $as_echo "$supported" >&6; }
   5564 		if test "$supported" = "yes" ; then
   5565 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5566 			found="yes"
   5567 		fi
   5568 	fi
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 xorg_testset_save_CFLAGS="$CFLAGS"
   5585 
   5586 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5587 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5589 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5590 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5591   $as_echo_n "(cached) " >&6
   5592 else
   5593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5594 /* end confdefs.h.  */
   5595 int i;
   5596 _ACEOF
   5597 if ac_fn_c_try_compile "$LINENO"; then :
   5598   xorg_cv_cc_flag_unknown_warning_option=yes
   5599 else
   5600   xorg_cv_cc_flag_unknown_warning_option=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5603 fi
   5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5605 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5606 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5607 	CFLAGS="$xorg_testset_save_CFLAGS"
   5608 fi
   5609 
   5610 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5611 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5613 	fi
   5614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5616 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5617 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5618   $as_echo_n "(cached) " >&6
   5619 else
   5620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 _ACEOF
   5624 if ac_fn_c_try_compile "$LINENO"; then :
   5625   xorg_cv_cc_flag_unused_command_line_argument=yes
   5626 else
   5627   xorg_cv_cc_flag_unused_command_line_argument=no
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5630 fi
   5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5632 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5633 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5634 	CFLAGS="$xorg_testset_save_CFLAGS"
   5635 fi
   5636 
   5637 found="no"
   5638 
   5639 	if test $found = "no" ; then
   5640 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5642 		fi
   5643 
   5644 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5646 		fi
   5647 
   5648 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5649 
   5650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5651 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5652 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5653 		if eval \${$cacheid+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5657 /* end confdefs.h.  */
   5658 int i;
   5659 int
   5660 main ()
   5661 {
   5662 
   5663   ;
   5664   return 0;
   5665 }
   5666 _ACEOF
   5667 if ac_fn_c_try_link "$LINENO"; then :
   5668   eval $cacheid=yes
   5669 else
   5670   eval $cacheid=no
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext \
   5673     conftest$ac_exeext conftest.$ac_ext
   5674 fi
   5675 
   5676 
   5677 		CFLAGS="$xorg_testset_save_CFLAGS"
   5678 
   5679 		eval supported=\$$cacheid
   5680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5681 $as_echo "$supported" >&6; }
   5682 		if test "$supported" = "yes" ; then
   5683 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5684 			found="yes"
   5685 		fi
   5686 	fi
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 xorg_testset_save_CFLAGS="$CFLAGS"
   5703 
   5704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5707 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5708 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 _ACEOF
   5715 if ac_fn_c_try_compile "$LINENO"; then :
   5716   xorg_cv_cc_flag_unknown_warning_option=yes
   5717 else
   5718   xorg_cv_cc_flag_unknown_warning_option=no
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5721 fi
   5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5723 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5724 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5725 	CFLAGS="$xorg_testset_save_CFLAGS"
   5726 fi
   5727 
   5728 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5729 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5731 	fi
   5732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5734 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5735 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5736   $as_echo_n "(cached) " >&6
   5737 else
   5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5739 /* end confdefs.h.  */
   5740 int i;
   5741 _ACEOF
   5742 if ac_fn_c_try_compile "$LINENO"; then :
   5743   xorg_cv_cc_flag_unused_command_line_argument=yes
   5744 else
   5745   xorg_cv_cc_flag_unused_command_line_argument=no
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5748 fi
   5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5750 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5752 	CFLAGS="$xorg_testset_save_CFLAGS"
   5753 fi
   5754 
   5755 found="no"
   5756 
   5757 	if test $found = "no" ; then
   5758 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5760 		fi
   5761 
   5762 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 		fi
   5765 
   5766 		CFLAGS="$CFLAGS -Wold-style-definition"
   5767 
   5768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5769 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5770 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5771 		if eval \${$cacheid+:} false; then :
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5775 /* end confdefs.h.  */
   5776 int i;
   5777 int
   5778 main ()
   5779 {
   5780 
   5781   ;
   5782   return 0;
   5783 }
   5784 _ACEOF
   5785 if ac_fn_c_try_link "$LINENO"; then :
   5786   eval $cacheid=yes
   5787 else
   5788   eval $cacheid=no
   5789 fi
   5790 rm -f core conftest.err conftest.$ac_objext \
   5791     conftest$ac_exeext conftest.$ac_ext
   5792 fi
   5793 
   5794 
   5795 		CFLAGS="$xorg_testset_save_CFLAGS"
   5796 
   5797 		eval supported=\$$cacheid
   5798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5799 $as_echo "$supported" >&6; }
   5800 		if test "$supported" = "yes" ; then
   5801 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5802 			found="yes"
   5803 		fi
   5804 	fi
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 xorg_testset_save_CFLAGS="$CFLAGS"
   5821 
   5822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5825 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5826 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5827   $as_echo_n "(cached) " >&6
   5828 else
   5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5830 /* end confdefs.h.  */
   5831 int i;
   5832 _ACEOF
   5833 if ac_fn_c_try_compile "$LINENO"; then :
   5834   xorg_cv_cc_flag_unknown_warning_option=yes
   5835 else
   5836   xorg_cv_cc_flag_unknown_warning_option=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5839 fi
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5841 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5843 	CFLAGS="$xorg_testset_save_CFLAGS"
   5844 fi
   5845 
   5846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5849 	fi
   5850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5852 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5853 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 _ACEOF
   5860 if ac_fn_c_try_compile "$LINENO"; then :
   5861   xorg_cv_cc_flag_unused_command_line_argument=yes
   5862 else
   5863   xorg_cv_cc_flag_unused_command_line_argument=no
   5864 fi
   5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5866 fi
   5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5868 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5870 	CFLAGS="$xorg_testset_save_CFLAGS"
   5871 fi
   5872 
   5873 found="no"
   5874 
   5875 	if test $found = "no" ; then
   5876 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5878 		fi
   5879 
   5880 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5882 		fi
   5883 
   5884 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5885 
   5886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5887 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5888 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5889 		if eval \${$cacheid+:} false; then :
   5890   $as_echo_n "(cached) " >&6
   5891 else
   5892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5893 /* end confdefs.h.  */
   5894 int i;
   5895 int
   5896 main ()
   5897 {
   5898 
   5899   ;
   5900   return 0;
   5901 }
   5902 _ACEOF
   5903 if ac_fn_c_try_link "$LINENO"; then :
   5904   eval $cacheid=yes
   5905 else
   5906   eval $cacheid=no
   5907 fi
   5908 rm -f core conftest.err conftest.$ac_objext \
   5909     conftest$ac_exeext conftest.$ac_ext
   5910 fi
   5911 
   5912 
   5913 		CFLAGS="$xorg_testset_save_CFLAGS"
   5914 
   5915 		eval supported=\$$cacheid
   5916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5917 $as_echo "$supported" >&6; }
   5918 		if test "$supported" = "yes" ; then
   5919 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5920 			found="yes"
   5921 		fi
   5922 	fi
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 # This chunk adds additional warnings that could catch undesired effects.
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 xorg_testset_save_CFLAGS="$CFLAGS"
   5943 
   5944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5948 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5949   $as_echo_n "(cached) " >&6
   5950 else
   5951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5952 /* end confdefs.h.  */
   5953 int i;
   5954 _ACEOF
   5955 if ac_fn_c_try_compile "$LINENO"; then :
   5956   xorg_cv_cc_flag_unknown_warning_option=yes
   5957 else
   5958   xorg_cv_cc_flag_unknown_warning_option=no
   5959 fi
   5960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5961 fi
   5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5963 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5965 	CFLAGS="$xorg_testset_save_CFLAGS"
   5966 fi
   5967 
   5968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5971 	fi
   5972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5974 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5975 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5976   $as_echo_n "(cached) " >&6
   5977 else
   5978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 _ACEOF
   5982 if ac_fn_c_try_compile "$LINENO"; then :
   5983   xorg_cv_cc_flag_unused_command_line_argument=yes
   5984 else
   5985   xorg_cv_cc_flag_unused_command_line_argument=no
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5988 fi
   5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5990 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5992 	CFLAGS="$xorg_testset_save_CFLAGS"
   5993 fi
   5994 
   5995 found="no"
   5996 
   5997 	if test $found = "no" ; then
   5998 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6000 		fi
   6001 
   6002 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6004 		fi
   6005 
   6006 		CFLAGS="$CFLAGS -Wunused"
   6007 
   6008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6009 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6010 		cacheid=xorg_cv_cc_flag__Wunused
   6011 		if eval \${$cacheid+:} false; then :
   6012   $as_echo_n "(cached) " >&6
   6013 else
   6014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6015 /* end confdefs.h.  */
   6016 int i;
   6017 int
   6018 main ()
   6019 {
   6020 
   6021   ;
   6022   return 0;
   6023 }
   6024 _ACEOF
   6025 if ac_fn_c_try_link "$LINENO"; then :
   6026   eval $cacheid=yes
   6027 else
   6028   eval $cacheid=no
   6029 fi
   6030 rm -f core conftest.err conftest.$ac_objext \
   6031     conftest$ac_exeext conftest.$ac_ext
   6032 fi
   6033 
   6034 
   6035 		CFLAGS="$xorg_testset_save_CFLAGS"
   6036 
   6037 		eval supported=\$$cacheid
   6038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6039 $as_echo "$supported" >&6; }
   6040 		if test "$supported" = "yes" ; then
   6041 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6042 			found="yes"
   6043 		fi
   6044 	fi
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 xorg_testset_save_CFLAGS="$CFLAGS"
   6061 
   6062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6065 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6066 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6067   $as_echo_n "(cached) " >&6
   6068 else
   6069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6070 /* end confdefs.h.  */
   6071 int i;
   6072 _ACEOF
   6073 if ac_fn_c_try_compile "$LINENO"; then :
   6074   xorg_cv_cc_flag_unknown_warning_option=yes
   6075 else
   6076   xorg_cv_cc_flag_unknown_warning_option=no
   6077 fi
   6078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6079 fi
   6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6081 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6083 	CFLAGS="$xorg_testset_save_CFLAGS"
   6084 fi
   6085 
   6086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6089 	fi
   6090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6091 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6092 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6093 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6094   $as_echo_n "(cached) " >&6
   6095 else
   6096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6097 /* end confdefs.h.  */
   6098 int i;
   6099 _ACEOF
   6100 if ac_fn_c_try_compile "$LINENO"; then :
   6101   xorg_cv_cc_flag_unused_command_line_argument=yes
   6102 else
   6103   xorg_cv_cc_flag_unused_command_line_argument=no
   6104 fi
   6105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6106 fi
   6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6108 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6110 	CFLAGS="$xorg_testset_save_CFLAGS"
   6111 fi
   6112 
   6113 found="no"
   6114 
   6115 	if test $found = "no" ; then
   6116 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6118 		fi
   6119 
   6120 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6122 		fi
   6123 
   6124 		CFLAGS="$CFLAGS -Wuninitialized"
   6125 
   6126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6127 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6128 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6129 		if eval \${$cacheid+:} false; then :
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6133 /* end confdefs.h.  */
   6134 int i;
   6135 int
   6136 main ()
   6137 {
   6138 
   6139   ;
   6140   return 0;
   6141 }
   6142 _ACEOF
   6143 if ac_fn_c_try_link "$LINENO"; then :
   6144   eval $cacheid=yes
   6145 else
   6146   eval $cacheid=no
   6147 fi
   6148 rm -f core conftest.err conftest.$ac_objext \
   6149     conftest$ac_exeext conftest.$ac_ext
   6150 fi
   6151 
   6152 
   6153 		CFLAGS="$xorg_testset_save_CFLAGS"
   6154 
   6155 		eval supported=\$$cacheid
   6156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6157 $as_echo "$supported" >&6; }
   6158 		if test "$supported" = "yes" ; then
   6159 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6160 			found="yes"
   6161 		fi
   6162 	fi
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 xorg_testset_save_CFLAGS="$CFLAGS"
   6179 
   6180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6183 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6184 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6185   $as_echo_n "(cached) " >&6
   6186 else
   6187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6188 /* end confdefs.h.  */
   6189 int i;
   6190 _ACEOF
   6191 if ac_fn_c_try_compile "$LINENO"; then :
   6192   xorg_cv_cc_flag_unknown_warning_option=yes
   6193 else
   6194   xorg_cv_cc_flag_unknown_warning_option=no
   6195 fi
   6196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6197 fi
   6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6199 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6201 	CFLAGS="$xorg_testset_save_CFLAGS"
   6202 fi
   6203 
   6204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6207 	fi
   6208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6210 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6211 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 int i;
   6217 _ACEOF
   6218 if ac_fn_c_try_compile "$LINENO"; then :
   6219   xorg_cv_cc_flag_unused_command_line_argument=yes
   6220 else
   6221   xorg_cv_cc_flag_unused_command_line_argument=no
   6222 fi
   6223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6224 fi
   6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6226 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6228 	CFLAGS="$xorg_testset_save_CFLAGS"
   6229 fi
   6230 
   6231 found="no"
   6232 
   6233 	if test $found = "no" ; then
   6234 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6236 		fi
   6237 
   6238 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6240 		fi
   6241 
   6242 		CFLAGS="$CFLAGS -Wshadow"
   6243 
   6244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6245 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6246 		cacheid=xorg_cv_cc_flag__Wshadow
   6247 		if eval \${$cacheid+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 int i;
   6253 int
   6254 main ()
   6255 {
   6256 
   6257   ;
   6258   return 0;
   6259 }
   6260 _ACEOF
   6261 if ac_fn_c_try_link "$LINENO"; then :
   6262   eval $cacheid=yes
   6263 else
   6264   eval $cacheid=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext \
   6267     conftest$ac_exeext conftest.$ac_ext
   6268 fi
   6269 
   6270 
   6271 		CFLAGS="$xorg_testset_save_CFLAGS"
   6272 
   6273 		eval supported=\$$cacheid
   6274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6275 $as_echo "$supported" >&6; }
   6276 		if test "$supported" = "yes" ; then
   6277 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6278 			found="yes"
   6279 		fi
   6280 	fi
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 xorg_testset_save_CFLAGS="$CFLAGS"
   6297 
   6298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6303   $as_echo_n "(cached) " >&6
   6304 else
   6305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6306 /* end confdefs.h.  */
   6307 int i;
   6308 _ACEOF
   6309 if ac_fn_c_try_compile "$LINENO"; then :
   6310   xorg_cv_cc_flag_unknown_warning_option=yes
   6311 else
   6312   xorg_cv_cc_flag_unknown_warning_option=no
   6313 fi
   6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6315 fi
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6319 	CFLAGS="$xorg_testset_save_CFLAGS"
   6320 fi
   6321 
   6322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6325 	fi
   6326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6333 /* end confdefs.h.  */
   6334 int i;
   6335 _ACEOF
   6336 if ac_fn_c_try_compile "$LINENO"; then :
   6337   xorg_cv_cc_flag_unused_command_line_argument=yes
   6338 else
   6339   xorg_cv_cc_flag_unused_command_line_argument=no
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6342 fi
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6346 	CFLAGS="$xorg_testset_save_CFLAGS"
   6347 fi
   6348 
   6349 found="no"
   6350 
   6351 	if test $found = "no" ; then
   6352 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6354 		fi
   6355 
   6356 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6358 		fi
   6359 
   6360 		CFLAGS="$CFLAGS -Wcast-qual"
   6361 
   6362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6363 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6364 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6365 		if eval \${$cacheid+:} false; then :
   6366   $as_echo_n "(cached) " >&6
   6367 else
   6368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 int
   6372 main ()
   6373 {
   6374 
   6375   ;
   6376   return 0;
   6377 }
   6378 _ACEOF
   6379 if ac_fn_c_try_link "$LINENO"; then :
   6380   eval $cacheid=yes
   6381 else
   6382   eval $cacheid=no
   6383 fi
   6384 rm -f core conftest.err conftest.$ac_objext \
   6385     conftest$ac_exeext conftest.$ac_ext
   6386 fi
   6387 
   6388 
   6389 		CFLAGS="$xorg_testset_save_CFLAGS"
   6390 
   6391 		eval supported=\$$cacheid
   6392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6393 $as_echo "$supported" >&6; }
   6394 		if test "$supported" = "yes" ; then
   6395 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6396 			found="yes"
   6397 		fi
   6398 	fi
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 xorg_testset_save_CFLAGS="$CFLAGS"
   6415 
   6416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6419 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6420 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6421   $as_echo_n "(cached) " >&6
   6422 else
   6423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6424 /* end confdefs.h.  */
   6425 int i;
   6426 _ACEOF
   6427 if ac_fn_c_try_compile "$LINENO"; then :
   6428   xorg_cv_cc_flag_unknown_warning_option=yes
   6429 else
   6430   xorg_cv_cc_flag_unknown_warning_option=no
   6431 fi
   6432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6433 fi
   6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6435 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6437 	CFLAGS="$xorg_testset_save_CFLAGS"
   6438 fi
   6439 
   6440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6443 	fi
   6444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6446 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6447 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6451 /* end confdefs.h.  */
   6452 int i;
   6453 _ACEOF
   6454 if ac_fn_c_try_compile "$LINENO"; then :
   6455   xorg_cv_cc_flag_unused_command_line_argument=yes
   6456 else
   6457   xorg_cv_cc_flag_unused_command_line_argument=no
   6458 fi
   6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6460 fi
   6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6462 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6464 	CFLAGS="$xorg_testset_save_CFLAGS"
   6465 fi
   6466 
   6467 found="no"
   6468 
   6469 	if test $found = "no" ; then
   6470 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6472 		fi
   6473 
   6474 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6476 		fi
   6477 
   6478 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6479 
   6480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6481 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6482 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6483 		if eval \${$cacheid+:} false; then :
   6484   $as_echo_n "(cached) " >&6
   6485 else
   6486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 int i;
   6489 int
   6490 main ()
   6491 {
   6492 
   6493   ;
   6494   return 0;
   6495 }
   6496 _ACEOF
   6497 if ac_fn_c_try_link "$LINENO"; then :
   6498   eval $cacheid=yes
   6499 else
   6500   eval $cacheid=no
   6501 fi
   6502 rm -f core conftest.err conftest.$ac_objext \
   6503     conftest$ac_exeext conftest.$ac_ext
   6504 fi
   6505 
   6506 
   6507 		CFLAGS="$xorg_testset_save_CFLAGS"
   6508 
   6509 		eval supported=\$$cacheid
   6510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6511 $as_echo "$supported" >&6; }
   6512 		if test "$supported" = "yes" ; then
   6513 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6514 			found="yes"
   6515 		fi
   6516 	fi
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 xorg_testset_save_CFLAGS="$CFLAGS"
   6533 
   6534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6539   $as_echo_n "(cached) " >&6
   6540 else
   6541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6542 /* end confdefs.h.  */
   6543 int i;
   6544 _ACEOF
   6545 if ac_fn_c_try_compile "$LINENO"; then :
   6546   xorg_cv_cc_flag_unknown_warning_option=yes
   6547 else
   6548   xorg_cv_cc_flag_unknown_warning_option=no
   6549 fi
   6550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6551 fi
   6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6555 	CFLAGS="$xorg_testset_save_CFLAGS"
   6556 fi
   6557 
   6558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6561 	fi
   6562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 int i;
   6571 _ACEOF
   6572 if ac_fn_c_try_compile "$LINENO"; then :
   6573   xorg_cv_cc_flag_unused_command_line_argument=yes
   6574 else
   6575   xorg_cv_cc_flag_unused_command_line_argument=no
   6576 fi
   6577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6578 fi
   6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6582 	CFLAGS="$xorg_testset_save_CFLAGS"
   6583 fi
   6584 
   6585 found="no"
   6586 
   6587 	if test $found = "no" ; then
   6588 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6590 		fi
   6591 
   6592 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6594 		fi
   6595 
   6596 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6597 
   6598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6599 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6600 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6601 		if eval \${$cacheid+:} false; then :
   6602   $as_echo_n "(cached) " >&6
   6603 else
   6604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6605 /* end confdefs.h.  */
   6606 int i;
   6607 int
   6608 main ()
   6609 {
   6610 
   6611   ;
   6612   return 0;
   6613 }
   6614 _ACEOF
   6615 if ac_fn_c_try_link "$LINENO"; then :
   6616   eval $cacheid=yes
   6617 else
   6618   eval $cacheid=no
   6619 fi
   6620 rm -f core conftest.err conftest.$ac_objext \
   6621     conftest$ac_exeext conftest.$ac_ext
   6622 fi
   6623 
   6624 
   6625 		CFLAGS="$xorg_testset_save_CFLAGS"
   6626 
   6627 		eval supported=\$$cacheid
   6628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6629 $as_echo "$supported" >&6; }
   6630 		if test "$supported" = "yes" ; then
   6631 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6632 			found="yes"
   6633 		fi
   6634 	fi
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 xorg_testset_save_CFLAGS="$CFLAGS"
   6651 
   6652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6657   $as_echo_n "(cached) " >&6
   6658 else
   6659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6660 /* end confdefs.h.  */
   6661 int i;
   6662 _ACEOF
   6663 if ac_fn_c_try_compile "$LINENO"; then :
   6664   xorg_cv_cc_flag_unknown_warning_option=yes
   6665 else
   6666   xorg_cv_cc_flag_unknown_warning_option=no
   6667 fi
   6668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6669 fi
   6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6673 	CFLAGS="$xorg_testset_save_CFLAGS"
   6674 fi
   6675 
   6676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6679 	fi
   6680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 int i;
   6689 _ACEOF
   6690 if ac_fn_c_try_compile "$LINENO"; then :
   6691   xorg_cv_cc_flag_unused_command_line_argument=yes
   6692 else
   6693   xorg_cv_cc_flag_unused_command_line_argument=no
   6694 fi
   6695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6696 fi
   6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6700 	CFLAGS="$xorg_testset_save_CFLAGS"
   6701 fi
   6702 
   6703 found="no"
   6704 
   6705 	if test $found = "no" ; then
   6706 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6708 		fi
   6709 
   6710 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6712 		fi
   6713 
   6714 		CFLAGS="$CFLAGS -Wredundant-decls"
   6715 
   6716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6717 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6718 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6719 		if eval \${$cacheid+:} false; then :
   6720   $as_echo_n "(cached) " >&6
   6721 else
   6722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6723 /* end confdefs.h.  */
   6724 int i;
   6725 int
   6726 main ()
   6727 {
   6728 
   6729   ;
   6730   return 0;
   6731 }
   6732 _ACEOF
   6733 if ac_fn_c_try_link "$LINENO"; then :
   6734   eval $cacheid=yes
   6735 else
   6736   eval $cacheid=no
   6737 fi
   6738 rm -f core conftest.err conftest.$ac_objext \
   6739     conftest$ac_exeext conftest.$ac_ext
   6740 fi
   6741 
   6742 
   6743 		CFLAGS="$xorg_testset_save_CFLAGS"
   6744 
   6745 		eval supported=\$$cacheid
   6746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6747 $as_echo "$supported" >&6; }
   6748 		if test "$supported" = "yes" ; then
   6749 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6750 			found="yes"
   6751 		fi
   6752 	fi
   6753 
   6754 
   6755 
   6756 # These are currently disabled because they are noisy.  They will be enabled
   6757 # in the future once the codebase is sufficiently modernized to silence
   6758 # them.  For now, I don't want them to drown out the other warnings.
   6759 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6760 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6761 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6762 
   6763 # Turn some warnings into errors, so we don't accidently get successful builds
   6764 # when there are problems that should be fixed.
   6765 
   6766 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 xorg_testset_save_CFLAGS="$CFLAGS"
   6781 
   6782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6785 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6786 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6790 /* end confdefs.h.  */
   6791 int i;
   6792 _ACEOF
   6793 if ac_fn_c_try_compile "$LINENO"; then :
   6794   xorg_cv_cc_flag_unknown_warning_option=yes
   6795 else
   6796   xorg_cv_cc_flag_unknown_warning_option=no
   6797 fi
   6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6799 fi
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6801 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6802 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6803 	CFLAGS="$xorg_testset_save_CFLAGS"
   6804 fi
   6805 
   6806 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6807 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6808 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6809 	fi
   6810 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6812 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6813 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6814   $as_echo_n "(cached) " >&6
   6815 else
   6816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6817 /* end confdefs.h.  */
   6818 int i;
   6819 _ACEOF
   6820 if ac_fn_c_try_compile "$LINENO"; then :
   6821   xorg_cv_cc_flag_unused_command_line_argument=yes
   6822 else
   6823   xorg_cv_cc_flag_unused_command_line_argument=no
   6824 fi
   6825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6826 fi
   6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6828 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6830 	CFLAGS="$xorg_testset_save_CFLAGS"
   6831 fi
   6832 
   6833 found="no"
   6834 
   6835 	if test $found = "no" ; then
   6836 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6838 		fi
   6839 
   6840 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 		fi
   6843 
   6844 		CFLAGS="$CFLAGS -Werror=implicit"
   6845 
   6846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6847 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6848 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6849 		if eval \${$cacheid+:} false; then :
   6850   $as_echo_n "(cached) " >&6
   6851 else
   6852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6853 /* end confdefs.h.  */
   6854 int i;
   6855 int
   6856 main ()
   6857 {
   6858 
   6859   ;
   6860   return 0;
   6861 }
   6862 _ACEOF
   6863 if ac_fn_c_try_link "$LINENO"; then :
   6864   eval $cacheid=yes
   6865 else
   6866   eval $cacheid=no
   6867 fi
   6868 rm -f core conftest.err conftest.$ac_objext \
   6869     conftest$ac_exeext conftest.$ac_ext
   6870 fi
   6871 
   6872 
   6873 		CFLAGS="$xorg_testset_save_CFLAGS"
   6874 
   6875 		eval supported=\$$cacheid
   6876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6877 $as_echo "$supported" >&6; }
   6878 		if test "$supported" = "yes" ; then
   6879 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6880 			found="yes"
   6881 		fi
   6882 	fi
   6883 
   6884 	if test $found = "no" ; then
   6885 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6887 		fi
   6888 
   6889 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6891 		fi
   6892 
   6893 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6894 
   6895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6896 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6897 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6898 		if eval \${$cacheid+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 int
   6905 main ()
   6906 {
   6907 
   6908   ;
   6909   return 0;
   6910 }
   6911 _ACEOF
   6912 if ac_fn_c_try_link "$LINENO"; then :
   6913   eval $cacheid=yes
   6914 else
   6915   eval $cacheid=no
   6916 fi
   6917 rm -f core conftest.err conftest.$ac_objext \
   6918     conftest$ac_exeext conftest.$ac_ext
   6919 fi
   6920 
   6921 
   6922 		CFLAGS="$xorg_testset_save_CFLAGS"
   6923 
   6924 		eval supported=\$$cacheid
   6925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6926 $as_echo "$supported" >&6; }
   6927 		if test "$supported" = "yes" ; then
   6928 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6929 			found="yes"
   6930 		fi
   6931 	fi
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 xorg_testset_save_CFLAGS="$CFLAGS"
   6948 
   6949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6954   $as_echo_n "(cached) " >&6
   6955 else
   6956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 int i;
   6959 _ACEOF
   6960 if ac_fn_c_try_compile "$LINENO"; then :
   6961   xorg_cv_cc_flag_unknown_warning_option=yes
   6962 else
   6963   xorg_cv_cc_flag_unknown_warning_option=no
   6964 fi
   6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6966 fi
   6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6970 	CFLAGS="$xorg_testset_save_CFLAGS"
   6971 fi
   6972 
   6973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6976 	fi
   6977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6981   $as_echo_n "(cached) " >&6
   6982 else
   6983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 int i;
   6986 _ACEOF
   6987 if ac_fn_c_try_compile "$LINENO"; then :
   6988   xorg_cv_cc_flag_unused_command_line_argument=yes
   6989 else
   6990   xorg_cv_cc_flag_unused_command_line_argument=no
   6991 fi
   6992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6993 fi
   6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6997 	CFLAGS="$xorg_testset_save_CFLAGS"
   6998 fi
   6999 
   7000 found="no"
   7001 
   7002 	if test $found = "no" ; then
   7003 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7005 		fi
   7006 
   7007 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 		fi
   7010 
   7011 		CFLAGS="$CFLAGS -Werror=nonnull"
   7012 
   7013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7014 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7015 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7016 		if eval \${$cacheid+:} false; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 int
   7023 main ()
   7024 {
   7025 
   7026   ;
   7027   return 0;
   7028 }
   7029 _ACEOF
   7030 if ac_fn_c_try_link "$LINENO"; then :
   7031   eval $cacheid=yes
   7032 else
   7033   eval $cacheid=no
   7034 fi
   7035 rm -f core conftest.err conftest.$ac_objext \
   7036     conftest$ac_exeext conftest.$ac_ext
   7037 fi
   7038 
   7039 
   7040 		CFLAGS="$xorg_testset_save_CFLAGS"
   7041 
   7042 		eval supported=\$$cacheid
   7043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7044 $as_echo "$supported" >&6; }
   7045 		if test "$supported" = "yes" ; then
   7046 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7047 			found="yes"
   7048 		fi
   7049 	fi
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 xorg_testset_save_CFLAGS="$CFLAGS"
   7066 
   7067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7072   $as_echo_n "(cached) " >&6
   7073 else
   7074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 int i;
   7077 _ACEOF
   7078 if ac_fn_c_try_compile "$LINENO"; then :
   7079   xorg_cv_cc_flag_unknown_warning_option=yes
   7080 else
   7081   xorg_cv_cc_flag_unknown_warning_option=no
   7082 fi
   7083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7084 fi
   7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7088 	CFLAGS="$xorg_testset_save_CFLAGS"
   7089 fi
   7090 
   7091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7094 	fi
   7095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7102 /* end confdefs.h.  */
   7103 int i;
   7104 _ACEOF
   7105 if ac_fn_c_try_compile "$LINENO"; then :
   7106   xorg_cv_cc_flag_unused_command_line_argument=yes
   7107 else
   7108   xorg_cv_cc_flag_unused_command_line_argument=no
   7109 fi
   7110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7111 fi
   7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7115 	CFLAGS="$xorg_testset_save_CFLAGS"
   7116 fi
   7117 
   7118 found="no"
   7119 
   7120 	if test $found = "no" ; then
   7121 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7123 		fi
   7124 
   7125 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7127 		fi
   7128 
   7129 		CFLAGS="$CFLAGS -Werror=init-self"
   7130 
   7131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7132 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7133 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7134 		if eval \${$cacheid+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7138 /* end confdefs.h.  */
   7139 int i;
   7140 int
   7141 main ()
   7142 {
   7143 
   7144   ;
   7145   return 0;
   7146 }
   7147 _ACEOF
   7148 if ac_fn_c_try_link "$LINENO"; then :
   7149   eval $cacheid=yes
   7150 else
   7151   eval $cacheid=no
   7152 fi
   7153 rm -f core conftest.err conftest.$ac_objext \
   7154     conftest$ac_exeext conftest.$ac_ext
   7155 fi
   7156 
   7157 
   7158 		CFLAGS="$xorg_testset_save_CFLAGS"
   7159 
   7160 		eval supported=\$$cacheid
   7161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7162 $as_echo "$supported" >&6; }
   7163 		if test "$supported" = "yes" ; then
   7164 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7165 			found="yes"
   7166 		fi
   7167 	fi
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 xorg_testset_save_CFLAGS="$CFLAGS"
   7184 
   7185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7190   $as_echo_n "(cached) " >&6
   7191 else
   7192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 int i;
   7195 _ACEOF
   7196 if ac_fn_c_try_compile "$LINENO"; then :
   7197   xorg_cv_cc_flag_unknown_warning_option=yes
   7198 else
   7199   xorg_cv_cc_flag_unknown_warning_option=no
   7200 fi
   7201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7202 fi
   7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7206 	CFLAGS="$xorg_testset_save_CFLAGS"
   7207 fi
   7208 
   7209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7212 	fi
   7213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7217   $as_echo_n "(cached) " >&6
   7218 else
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 _ACEOF
   7223 if ac_fn_c_try_compile "$LINENO"; then :
   7224   xorg_cv_cc_flag_unused_command_line_argument=yes
   7225 else
   7226   xorg_cv_cc_flag_unused_command_line_argument=no
   7227 fi
   7228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7229 fi
   7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7233 	CFLAGS="$xorg_testset_save_CFLAGS"
   7234 fi
   7235 
   7236 found="no"
   7237 
   7238 	if test $found = "no" ; then
   7239 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7241 		fi
   7242 
   7243 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7245 		fi
   7246 
   7247 		CFLAGS="$CFLAGS -Werror=main"
   7248 
   7249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7250 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7251 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7252 		if eval \${$cacheid+:} false; then :
   7253   $as_echo_n "(cached) " >&6
   7254 else
   7255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7256 /* end confdefs.h.  */
   7257 int i;
   7258 int
   7259 main ()
   7260 {
   7261 
   7262   ;
   7263   return 0;
   7264 }
   7265 _ACEOF
   7266 if ac_fn_c_try_link "$LINENO"; then :
   7267   eval $cacheid=yes
   7268 else
   7269   eval $cacheid=no
   7270 fi
   7271 rm -f core conftest.err conftest.$ac_objext \
   7272     conftest$ac_exeext conftest.$ac_ext
   7273 fi
   7274 
   7275 
   7276 		CFLAGS="$xorg_testset_save_CFLAGS"
   7277 
   7278 		eval supported=\$$cacheid
   7279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7280 $as_echo "$supported" >&6; }
   7281 		if test "$supported" = "yes" ; then
   7282 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7283 			found="yes"
   7284 		fi
   7285 	fi
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 xorg_testset_save_CFLAGS="$CFLAGS"
   7302 
   7303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7308   $as_echo_n "(cached) " >&6
   7309 else
   7310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7311 /* end confdefs.h.  */
   7312 int i;
   7313 _ACEOF
   7314 if ac_fn_c_try_compile "$LINENO"; then :
   7315   xorg_cv_cc_flag_unknown_warning_option=yes
   7316 else
   7317   xorg_cv_cc_flag_unknown_warning_option=no
   7318 fi
   7319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7320 fi
   7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7324 	CFLAGS="$xorg_testset_save_CFLAGS"
   7325 fi
   7326 
   7327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7330 	fi
   7331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7335   $as_echo_n "(cached) " >&6
   7336 else
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 _ACEOF
   7341 if ac_fn_c_try_compile "$LINENO"; then :
   7342   xorg_cv_cc_flag_unused_command_line_argument=yes
   7343 else
   7344   xorg_cv_cc_flag_unused_command_line_argument=no
   7345 fi
   7346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7347 fi
   7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7351 	CFLAGS="$xorg_testset_save_CFLAGS"
   7352 fi
   7353 
   7354 found="no"
   7355 
   7356 	if test $found = "no" ; then
   7357 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7359 		fi
   7360 
   7361 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7363 		fi
   7364 
   7365 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7366 
   7367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7368 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7369 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7370 		if eval \${$cacheid+:} false; then :
   7371   $as_echo_n "(cached) " >&6
   7372 else
   7373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7374 /* end confdefs.h.  */
   7375 int i;
   7376 int
   7377 main ()
   7378 {
   7379 
   7380   ;
   7381   return 0;
   7382 }
   7383 _ACEOF
   7384 if ac_fn_c_try_link "$LINENO"; then :
   7385   eval $cacheid=yes
   7386 else
   7387   eval $cacheid=no
   7388 fi
   7389 rm -f core conftest.err conftest.$ac_objext \
   7390     conftest$ac_exeext conftest.$ac_ext
   7391 fi
   7392 
   7393 
   7394 		CFLAGS="$xorg_testset_save_CFLAGS"
   7395 
   7396 		eval supported=\$$cacheid
   7397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7398 $as_echo "$supported" >&6; }
   7399 		if test "$supported" = "yes" ; then
   7400 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7401 			found="yes"
   7402 		fi
   7403 	fi
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 xorg_testset_save_CFLAGS="$CFLAGS"
   7420 
   7421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7426   $as_echo_n "(cached) " >&6
   7427 else
   7428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 int i;
   7431 _ACEOF
   7432 if ac_fn_c_try_compile "$LINENO"; then :
   7433   xorg_cv_cc_flag_unknown_warning_option=yes
   7434 else
   7435   xorg_cv_cc_flag_unknown_warning_option=no
   7436 fi
   7437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7438 fi
   7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7442 	CFLAGS="$xorg_testset_save_CFLAGS"
   7443 fi
   7444 
   7445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7448 	fi
   7449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7453   $as_echo_n "(cached) " >&6
   7454 else
   7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 int i;
   7458 _ACEOF
   7459 if ac_fn_c_try_compile "$LINENO"; then :
   7460   xorg_cv_cc_flag_unused_command_line_argument=yes
   7461 else
   7462   xorg_cv_cc_flag_unused_command_line_argument=no
   7463 fi
   7464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7465 fi
   7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7469 	CFLAGS="$xorg_testset_save_CFLAGS"
   7470 fi
   7471 
   7472 found="no"
   7473 
   7474 	if test $found = "no" ; then
   7475 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7477 		fi
   7478 
   7479 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7481 		fi
   7482 
   7483 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7484 
   7485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7486 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7487 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7488 		if eval \${$cacheid+:} false; then :
   7489   $as_echo_n "(cached) " >&6
   7490 else
   7491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7492 /* end confdefs.h.  */
   7493 int i;
   7494 int
   7495 main ()
   7496 {
   7497 
   7498   ;
   7499   return 0;
   7500 }
   7501 _ACEOF
   7502 if ac_fn_c_try_link "$LINENO"; then :
   7503   eval $cacheid=yes
   7504 else
   7505   eval $cacheid=no
   7506 fi
   7507 rm -f core conftest.err conftest.$ac_objext \
   7508     conftest$ac_exeext conftest.$ac_ext
   7509 fi
   7510 
   7511 
   7512 		CFLAGS="$xorg_testset_save_CFLAGS"
   7513 
   7514 		eval supported=\$$cacheid
   7515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7516 $as_echo "$supported" >&6; }
   7517 		if test "$supported" = "yes" ; then
   7518 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7519 			found="yes"
   7520 		fi
   7521 	fi
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 xorg_testset_save_CFLAGS="$CFLAGS"
   7538 
   7539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7542 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7543 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7544   $as_echo_n "(cached) " >&6
   7545 else
   7546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7547 /* end confdefs.h.  */
   7548 int i;
   7549 _ACEOF
   7550 if ac_fn_c_try_compile "$LINENO"; then :
   7551   xorg_cv_cc_flag_unknown_warning_option=yes
   7552 else
   7553   xorg_cv_cc_flag_unknown_warning_option=no
   7554 fi
   7555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7556 fi
   7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7558 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7560 	CFLAGS="$xorg_testset_save_CFLAGS"
   7561 fi
   7562 
   7563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7566 	fi
   7567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7569 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7570 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 _ACEOF
   7577 if ac_fn_c_try_compile "$LINENO"; then :
   7578   xorg_cv_cc_flag_unused_command_line_argument=yes
   7579 else
   7580   xorg_cv_cc_flag_unused_command_line_argument=no
   7581 fi
   7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7583 fi
   7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7585 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7587 	CFLAGS="$xorg_testset_save_CFLAGS"
   7588 fi
   7589 
   7590 found="no"
   7591 
   7592 	if test $found = "no" ; then
   7593 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7595 		fi
   7596 
   7597 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7599 		fi
   7600 
   7601 		CFLAGS="$CFLAGS -Werror=return-type"
   7602 
   7603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7604 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7605 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7606 		if eval \${$cacheid+:} false; then :
   7607   $as_echo_n "(cached) " >&6
   7608 else
   7609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7610 /* end confdefs.h.  */
   7611 int i;
   7612 int
   7613 main ()
   7614 {
   7615 
   7616   ;
   7617   return 0;
   7618 }
   7619 _ACEOF
   7620 if ac_fn_c_try_link "$LINENO"; then :
   7621   eval $cacheid=yes
   7622 else
   7623   eval $cacheid=no
   7624 fi
   7625 rm -f core conftest.err conftest.$ac_objext \
   7626     conftest$ac_exeext conftest.$ac_ext
   7627 fi
   7628 
   7629 
   7630 		CFLAGS="$xorg_testset_save_CFLAGS"
   7631 
   7632 		eval supported=\$$cacheid
   7633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7634 $as_echo "$supported" >&6; }
   7635 		if test "$supported" = "yes" ; then
   7636 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7637 			found="yes"
   7638 		fi
   7639 	fi
   7640 
   7641 	if test $found = "no" ; then
   7642 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7644 		fi
   7645 
   7646 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7648 		fi
   7649 
   7650 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7651 
   7652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7653 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7654 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7655 		if eval \${$cacheid+:} false; then :
   7656   $as_echo_n "(cached) " >&6
   7657 else
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 int
   7662 main ()
   7663 {
   7664 
   7665   ;
   7666   return 0;
   7667 }
   7668 _ACEOF
   7669 if ac_fn_c_try_link "$LINENO"; then :
   7670   eval $cacheid=yes
   7671 else
   7672   eval $cacheid=no
   7673 fi
   7674 rm -f core conftest.err conftest.$ac_objext \
   7675     conftest$ac_exeext conftest.$ac_ext
   7676 fi
   7677 
   7678 
   7679 		CFLAGS="$xorg_testset_save_CFLAGS"
   7680 
   7681 		eval supported=\$$cacheid
   7682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7683 $as_echo "$supported" >&6; }
   7684 		if test "$supported" = "yes" ; then
   7685 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7686 			found="yes"
   7687 		fi
   7688 	fi
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 xorg_testset_save_CFLAGS="$CFLAGS"
   7705 
   7706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7709 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7710 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7711   $as_echo_n "(cached) " >&6
   7712 else
   7713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714 /* end confdefs.h.  */
   7715 int i;
   7716 _ACEOF
   7717 if ac_fn_c_try_compile "$LINENO"; then :
   7718   xorg_cv_cc_flag_unknown_warning_option=yes
   7719 else
   7720   xorg_cv_cc_flag_unknown_warning_option=no
   7721 fi
   7722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7723 fi
   7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7725 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7727 	CFLAGS="$xorg_testset_save_CFLAGS"
   7728 fi
   7729 
   7730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7733 	fi
   7734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7736 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7737 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7738   $as_echo_n "(cached) " >&6
   7739 else
   7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7741 /* end confdefs.h.  */
   7742 int i;
   7743 _ACEOF
   7744 if ac_fn_c_try_compile "$LINENO"; then :
   7745   xorg_cv_cc_flag_unused_command_line_argument=yes
   7746 else
   7747   xorg_cv_cc_flag_unused_command_line_argument=no
   7748 fi
   7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7750 fi
   7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7752 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7754 	CFLAGS="$xorg_testset_save_CFLAGS"
   7755 fi
   7756 
   7757 found="no"
   7758 
   7759 	if test $found = "no" ; then
   7760 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7762 		fi
   7763 
   7764 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7766 		fi
   7767 
   7768 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7769 
   7770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7771 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7772 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7773 		if eval \${$cacheid+:} false; then :
   7774   $as_echo_n "(cached) " >&6
   7775 else
   7776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7777 /* end confdefs.h.  */
   7778 int i;
   7779 int
   7780 main ()
   7781 {
   7782 
   7783   ;
   7784   return 0;
   7785 }
   7786 _ACEOF
   7787 if ac_fn_c_try_link "$LINENO"; then :
   7788   eval $cacheid=yes
   7789 else
   7790   eval $cacheid=no
   7791 fi
   7792 rm -f core conftest.err conftest.$ac_objext \
   7793     conftest$ac_exeext conftest.$ac_ext
   7794 fi
   7795 
   7796 
   7797 		CFLAGS="$xorg_testset_save_CFLAGS"
   7798 
   7799 		eval supported=\$$cacheid
   7800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7801 $as_echo "$supported" >&6; }
   7802 		if test "$supported" = "yes" ; then
   7803 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7804 			found="yes"
   7805 		fi
   7806 	fi
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 xorg_testset_save_CFLAGS="$CFLAGS"
   7823 
   7824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7827 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7828 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7829   $as_echo_n "(cached) " >&6
   7830 else
   7831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7832 /* end confdefs.h.  */
   7833 int i;
   7834 _ACEOF
   7835 if ac_fn_c_try_compile "$LINENO"; then :
   7836   xorg_cv_cc_flag_unknown_warning_option=yes
   7837 else
   7838   xorg_cv_cc_flag_unknown_warning_option=no
   7839 fi
   7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7841 fi
   7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7843 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7845 	CFLAGS="$xorg_testset_save_CFLAGS"
   7846 fi
   7847 
   7848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7851 	fi
   7852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7854 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7855 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7856   $as_echo_n "(cached) " >&6
   7857 else
   7858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7859 /* end confdefs.h.  */
   7860 int i;
   7861 _ACEOF
   7862 if ac_fn_c_try_compile "$LINENO"; then :
   7863   xorg_cv_cc_flag_unused_command_line_argument=yes
   7864 else
   7865   xorg_cv_cc_flag_unused_command_line_argument=no
   7866 fi
   7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7868 fi
   7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7870 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7872 	CFLAGS="$xorg_testset_save_CFLAGS"
   7873 fi
   7874 
   7875 found="no"
   7876 
   7877 	if test $found = "no" ; then
   7878 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7880 		fi
   7881 
   7882 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7884 		fi
   7885 
   7886 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7887 
   7888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7889 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7890 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7891 		if eval \${$cacheid+:} false; then :
   7892   $as_echo_n "(cached) " >&6
   7893 else
   7894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7895 /* end confdefs.h.  */
   7896 int i;
   7897 int
   7898 main ()
   7899 {
   7900 
   7901   ;
   7902   return 0;
   7903 }
   7904 _ACEOF
   7905 if ac_fn_c_try_link "$LINENO"; then :
   7906   eval $cacheid=yes
   7907 else
   7908   eval $cacheid=no
   7909 fi
   7910 rm -f core conftest.err conftest.$ac_objext \
   7911     conftest$ac_exeext conftest.$ac_ext
   7912 fi
   7913 
   7914 
   7915 		CFLAGS="$xorg_testset_save_CFLAGS"
   7916 
   7917 		eval supported=\$$cacheid
   7918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7919 $as_echo "$supported" >&6; }
   7920 		if test "$supported" = "yes" ; then
   7921 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7922 			found="yes"
   7923 		fi
   7924 	fi
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 xorg_testset_save_CFLAGS="$CFLAGS"
   7941 
   7942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7945 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7946 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7947   $as_echo_n "(cached) " >&6
   7948 else
   7949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7950 /* end confdefs.h.  */
   7951 int i;
   7952 _ACEOF
   7953 if ac_fn_c_try_compile "$LINENO"; then :
   7954   xorg_cv_cc_flag_unknown_warning_option=yes
   7955 else
   7956   xorg_cv_cc_flag_unknown_warning_option=no
   7957 fi
   7958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7959 fi
   7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7961 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7963 	CFLAGS="$xorg_testset_save_CFLAGS"
   7964 fi
   7965 
   7966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7969 	fi
   7970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7972 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7973 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 _ACEOF
   7980 if ac_fn_c_try_compile "$LINENO"; then :
   7981   xorg_cv_cc_flag_unused_command_line_argument=yes
   7982 else
   7983   xorg_cv_cc_flag_unused_command_line_argument=no
   7984 fi
   7985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7986 fi
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7988 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7990 	CFLAGS="$xorg_testset_save_CFLAGS"
   7991 fi
   7992 
   7993 found="no"
   7994 
   7995 	if test $found = "no" ; then
   7996 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7998 		fi
   7999 
   8000 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8002 		fi
   8003 
   8004 		CFLAGS="$CFLAGS -Werror=write-strings"
   8005 
   8006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8007 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8008 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8009 		if eval \${$cacheid+:} false; then :
   8010   $as_echo_n "(cached) " >&6
   8011 else
   8012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8013 /* end confdefs.h.  */
   8014 int i;
   8015 int
   8016 main ()
   8017 {
   8018 
   8019   ;
   8020   return 0;
   8021 }
   8022 _ACEOF
   8023 if ac_fn_c_try_link "$LINENO"; then :
   8024   eval $cacheid=yes
   8025 else
   8026   eval $cacheid=no
   8027 fi
   8028 rm -f core conftest.err conftest.$ac_objext \
   8029     conftest$ac_exeext conftest.$ac_ext
   8030 fi
   8031 
   8032 
   8033 		CFLAGS="$xorg_testset_save_CFLAGS"
   8034 
   8035 		eval supported=\$$cacheid
   8036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8037 $as_echo "$supported" >&6; }
   8038 		if test "$supported" = "yes" ; then
   8039 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8040 			found="yes"
   8041 		fi
   8042 	fi
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 xorg_testset_save_CFLAGS="$CFLAGS"
   8059 
   8060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8065   $as_echo_n "(cached) " >&6
   8066 else
   8067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8068 /* end confdefs.h.  */
   8069 int i;
   8070 _ACEOF
   8071 if ac_fn_c_try_compile "$LINENO"; then :
   8072   xorg_cv_cc_flag_unknown_warning_option=yes
   8073 else
   8074   xorg_cv_cc_flag_unknown_warning_option=no
   8075 fi
   8076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8077 fi
   8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8081 	CFLAGS="$xorg_testset_save_CFLAGS"
   8082 fi
   8083 
   8084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8087 	fi
   8088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 _ACEOF
   8098 if ac_fn_c_try_compile "$LINENO"; then :
   8099   xorg_cv_cc_flag_unused_command_line_argument=yes
   8100 else
   8101   xorg_cv_cc_flag_unused_command_line_argument=no
   8102 fi
   8103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8104 fi
   8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8108 	CFLAGS="$xorg_testset_save_CFLAGS"
   8109 fi
   8110 
   8111 found="no"
   8112 
   8113 	if test $found = "no" ; then
   8114 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8116 		fi
   8117 
   8118 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8120 		fi
   8121 
   8122 		CFLAGS="$CFLAGS -Werror=address"
   8123 
   8124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8125 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8126 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8127 		if eval \${$cacheid+:} false; then :
   8128   $as_echo_n "(cached) " >&6
   8129 else
   8130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8131 /* end confdefs.h.  */
   8132 int i;
   8133 int
   8134 main ()
   8135 {
   8136 
   8137   ;
   8138   return 0;
   8139 }
   8140 _ACEOF
   8141 if ac_fn_c_try_link "$LINENO"; then :
   8142   eval $cacheid=yes
   8143 else
   8144   eval $cacheid=no
   8145 fi
   8146 rm -f core conftest.err conftest.$ac_objext \
   8147     conftest$ac_exeext conftest.$ac_ext
   8148 fi
   8149 
   8150 
   8151 		CFLAGS="$xorg_testset_save_CFLAGS"
   8152 
   8153 		eval supported=\$$cacheid
   8154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8155 $as_echo "$supported" >&6; }
   8156 		if test "$supported" = "yes" ; then
   8157 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8158 			found="yes"
   8159 		fi
   8160 	fi
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 xorg_testset_save_CFLAGS="$CFLAGS"
   8177 
   8178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8181 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8182 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8183   $as_echo_n "(cached) " >&6
   8184 else
   8185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8186 /* end confdefs.h.  */
   8187 int i;
   8188 _ACEOF
   8189 if ac_fn_c_try_compile "$LINENO"; then :
   8190   xorg_cv_cc_flag_unknown_warning_option=yes
   8191 else
   8192   xorg_cv_cc_flag_unknown_warning_option=no
   8193 fi
   8194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8195 fi
   8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8197 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8199 	CFLAGS="$xorg_testset_save_CFLAGS"
   8200 fi
   8201 
   8202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8205 	fi
   8206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8208 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8209 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8210   $as_echo_n "(cached) " >&6
   8211 else
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 _ACEOF
   8216 if ac_fn_c_try_compile "$LINENO"; then :
   8217   xorg_cv_cc_flag_unused_command_line_argument=yes
   8218 else
   8219   xorg_cv_cc_flag_unused_command_line_argument=no
   8220 fi
   8221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8222 fi
   8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8224 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8226 	CFLAGS="$xorg_testset_save_CFLAGS"
   8227 fi
   8228 
   8229 found="no"
   8230 
   8231 	if test $found = "no" ; then
   8232 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8234 		fi
   8235 
   8236 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8238 		fi
   8239 
   8240 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8241 
   8242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8243 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8244 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8245 		if eval \${$cacheid+:} false; then :
   8246   $as_echo_n "(cached) " >&6
   8247 else
   8248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8249 /* end confdefs.h.  */
   8250 int i;
   8251 int
   8252 main ()
   8253 {
   8254 
   8255   ;
   8256   return 0;
   8257 }
   8258 _ACEOF
   8259 if ac_fn_c_try_link "$LINENO"; then :
   8260   eval $cacheid=yes
   8261 else
   8262   eval $cacheid=no
   8263 fi
   8264 rm -f core conftest.err conftest.$ac_objext \
   8265     conftest$ac_exeext conftest.$ac_ext
   8266 fi
   8267 
   8268 
   8269 		CFLAGS="$xorg_testset_save_CFLAGS"
   8270 
   8271 		eval supported=\$$cacheid
   8272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8273 $as_echo "$supported" >&6; }
   8274 		if test "$supported" = "yes" ; then
   8275 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8276 			found="yes"
   8277 		fi
   8278 	fi
   8279 
   8280 	if test $found = "no" ; then
   8281 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8283 		fi
   8284 
   8285 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8287 		fi
   8288 
   8289 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8290 
   8291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8292 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8293 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8294 		if eval \${$cacheid+:} false; then :
   8295   $as_echo_n "(cached) " >&6
   8296 else
   8297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 int i;
   8300 int
   8301 main ()
   8302 {
   8303 
   8304   ;
   8305   return 0;
   8306 }
   8307 _ACEOF
   8308 if ac_fn_c_try_link "$LINENO"; then :
   8309   eval $cacheid=yes
   8310 else
   8311   eval $cacheid=no
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext \
   8314     conftest$ac_exeext conftest.$ac_ext
   8315 fi
   8316 
   8317 
   8318 		CFLAGS="$xorg_testset_save_CFLAGS"
   8319 
   8320 		eval supported=\$$cacheid
   8321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8322 $as_echo "$supported" >&6; }
   8323 		if test "$supported" = "yes" ; then
   8324 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8325 			found="yes"
   8326 		fi
   8327 	fi
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 xorg_testset_save_CFLAGS="$CFLAGS"
   8344 
   8345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8348 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8349 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8350   $as_echo_n "(cached) " >&6
   8351 else
   8352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 int i;
   8355 _ACEOF
   8356 if ac_fn_c_try_compile "$LINENO"; then :
   8357   xorg_cv_cc_flag_unknown_warning_option=yes
   8358 else
   8359   xorg_cv_cc_flag_unknown_warning_option=no
   8360 fi
   8361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8362 fi
   8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8364 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8366 	CFLAGS="$xorg_testset_save_CFLAGS"
   8367 fi
   8368 
   8369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8372 	fi
   8373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8375 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8376 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8380 /* end confdefs.h.  */
   8381 int i;
   8382 _ACEOF
   8383 if ac_fn_c_try_compile "$LINENO"; then :
   8384   xorg_cv_cc_flag_unused_command_line_argument=yes
   8385 else
   8386   xorg_cv_cc_flag_unused_command_line_argument=no
   8387 fi
   8388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8389 fi
   8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8391 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8393 	CFLAGS="$xorg_testset_save_CFLAGS"
   8394 fi
   8395 
   8396 found="no"
   8397 
   8398 	if test $found = "no" ; then
   8399 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8401 		fi
   8402 
   8403 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8405 		fi
   8406 
   8407 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8408 
   8409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8410 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8411 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8412 		if eval \${$cacheid+:} false; then :
   8413   $as_echo_n "(cached) " >&6
   8414 else
   8415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8416 /* end confdefs.h.  */
   8417 int i;
   8418 int
   8419 main ()
   8420 {
   8421 
   8422   ;
   8423   return 0;
   8424 }
   8425 _ACEOF
   8426 if ac_fn_c_try_link "$LINENO"; then :
   8427   eval $cacheid=yes
   8428 else
   8429   eval $cacheid=no
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext \
   8432     conftest$ac_exeext conftest.$ac_ext
   8433 fi
   8434 
   8435 
   8436 		CFLAGS="$xorg_testset_save_CFLAGS"
   8437 
   8438 		eval supported=\$$cacheid
   8439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8440 $as_echo "$supported" >&6; }
   8441 		if test "$supported" = "yes" ; then
   8442 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8443 			found="yes"
   8444 		fi
   8445 	fi
   8446 
   8447  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8448 else
   8449 { $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
   8450 $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;}
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 xorg_testset_save_CFLAGS="$CFLAGS"
   8465 
   8466 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8469 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8470 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8471   $as_echo_n "(cached) " >&6
   8472 else
   8473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8474 /* end confdefs.h.  */
   8475 int i;
   8476 _ACEOF
   8477 if ac_fn_c_try_compile "$LINENO"; then :
   8478   xorg_cv_cc_flag_unknown_warning_option=yes
   8479 else
   8480   xorg_cv_cc_flag_unknown_warning_option=no
   8481 fi
   8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8483 fi
   8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8485 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8487 	CFLAGS="$xorg_testset_save_CFLAGS"
   8488 fi
   8489 
   8490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8493 	fi
   8494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8496 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8497 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8498   $as_echo_n "(cached) " >&6
   8499 else
   8500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8501 /* end confdefs.h.  */
   8502 int i;
   8503 _ACEOF
   8504 if ac_fn_c_try_compile "$LINENO"; then :
   8505   xorg_cv_cc_flag_unused_command_line_argument=yes
   8506 else
   8507   xorg_cv_cc_flag_unused_command_line_argument=no
   8508 fi
   8509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8510 fi
   8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8512 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8513 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8514 	CFLAGS="$xorg_testset_save_CFLAGS"
   8515 fi
   8516 
   8517 found="no"
   8518 
   8519 	if test $found = "no" ; then
   8520 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8521 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8522 		fi
   8523 
   8524 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8525 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8526 		fi
   8527 
   8528 		CFLAGS="$CFLAGS -Wimplicit"
   8529 
   8530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8531 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8532 		cacheid=xorg_cv_cc_flag__Wimplicit
   8533 		if eval \${$cacheid+:} false; then :
   8534   $as_echo_n "(cached) " >&6
   8535 else
   8536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8537 /* end confdefs.h.  */
   8538 int i;
   8539 int
   8540 main ()
   8541 {
   8542 
   8543   ;
   8544   return 0;
   8545 }
   8546 _ACEOF
   8547 if ac_fn_c_try_link "$LINENO"; then :
   8548   eval $cacheid=yes
   8549 else
   8550   eval $cacheid=no
   8551 fi
   8552 rm -f core conftest.err conftest.$ac_objext \
   8553     conftest$ac_exeext conftest.$ac_ext
   8554 fi
   8555 
   8556 
   8557 		CFLAGS="$xorg_testset_save_CFLAGS"
   8558 
   8559 		eval supported=\$$cacheid
   8560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8561 $as_echo "$supported" >&6; }
   8562 		if test "$supported" = "yes" ; then
   8563 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8564 			found="yes"
   8565 		fi
   8566 	fi
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 xorg_testset_save_CFLAGS="$CFLAGS"
   8583 
   8584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8587 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8588 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8589   $as_echo_n "(cached) " >&6
   8590 else
   8591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8592 /* end confdefs.h.  */
   8593 int i;
   8594 _ACEOF
   8595 if ac_fn_c_try_compile "$LINENO"; then :
   8596   xorg_cv_cc_flag_unknown_warning_option=yes
   8597 else
   8598   xorg_cv_cc_flag_unknown_warning_option=no
   8599 fi
   8600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8601 fi
   8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8603 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8604 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8605 	CFLAGS="$xorg_testset_save_CFLAGS"
   8606 fi
   8607 
   8608 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8609 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8610 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8611 	fi
   8612 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8614 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8615 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8616   $as_echo_n "(cached) " >&6
   8617 else
   8618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8619 /* end confdefs.h.  */
   8620 int i;
   8621 _ACEOF
   8622 if ac_fn_c_try_compile "$LINENO"; then :
   8623   xorg_cv_cc_flag_unused_command_line_argument=yes
   8624 else
   8625   xorg_cv_cc_flag_unused_command_line_argument=no
   8626 fi
   8627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8628 fi
   8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8630 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8632 	CFLAGS="$xorg_testset_save_CFLAGS"
   8633 fi
   8634 
   8635 found="no"
   8636 
   8637 	if test $found = "no" ; then
   8638 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8640 		fi
   8641 
   8642 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8644 		fi
   8645 
   8646 		CFLAGS="$CFLAGS -Wnonnull"
   8647 
   8648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8649 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8650 		cacheid=xorg_cv_cc_flag__Wnonnull
   8651 		if eval \${$cacheid+:} false; then :
   8652   $as_echo_n "(cached) " >&6
   8653 else
   8654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8655 /* end confdefs.h.  */
   8656 int i;
   8657 int
   8658 main ()
   8659 {
   8660 
   8661   ;
   8662   return 0;
   8663 }
   8664 _ACEOF
   8665 if ac_fn_c_try_link "$LINENO"; then :
   8666   eval $cacheid=yes
   8667 else
   8668   eval $cacheid=no
   8669 fi
   8670 rm -f core conftest.err conftest.$ac_objext \
   8671     conftest$ac_exeext conftest.$ac_ext
   8672 fi
   8673 
   8674 
   8675 		CFLAGS="$xorg_testset_save_CFLAGS"
   8676 
   8677 		eval supported=\$$cacheid
   8678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8679 $as_echo "$supported" >&6; }
   8680 		if test "$supported" = "yes" ; then
   8681 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8682 			found="yes"
   8683 		fi
   8684 	fi
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 xorg_testset_save_CFLAGS="$CFLAGS"
   8701 
   8702 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8703 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8705 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8706 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8707   $as_echo_n "(cached) " >&6
   8708 else
   8709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8710 /* end confdefs.h.  */
   8711 int i;
   8712 _ACEOF
   8713 if ac_fn_c_try_compile "$LINENO"; then :
   8714   xorg_cv_cc_flag_unknown_warning_option=yes
   8715 else
   8716   xorg_cv_cc_flag_unknown_warning_option=no
   8717 fi
   8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8719 fi
   8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8721 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8723 	CFLAGS="$xorg_testset_save_CFLAGS"
   8724 fi
   8725 
   8726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8729 	fi
   8730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8732 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8733 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8734   $as_echo_n "(cached) " >&6
   8735 else
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 _ACEOF
   8740 if ac_fn_c_try_compile "$LINENO"; then :
   8741   xorg_cv_cc_flag_unused_command_line_argument=yes
   8742 else
   8743   xorg_cv_cc_flag_unused_command_line_argument=no
   8744 fi
   8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8746 fi
   8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8748 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8749 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8750 	CFLAGS="$xorg_testset_save_CFLAGS"
   8751 fi
   8752 
   8753 found="no"
   8754 
   8755 	if test $found = "no" ; then
   8756 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8758 		fi
   8759 
   8760 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8762 		fi
   8763 
   8764 		CFLAGS="$CFLAGS -Winit-self"
   8765 
   8766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8767 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8768 		cacheid=xorg_cv_cc_flag__Winit_self
   8769 		if eval \${$cacheid+:} false; then :
   8770   $as_echo_n "(cached) " >&6
   8771 else
   8772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8773 /* end confdefs.h.  */
   8774 int i;
   8775 int
   8776 main ()
   8777 {
   8778 
   8779   ;
   8780   return 0;
   8781 }
   8782 _ACEOF
   8783 if ac_fn_c_try_link "$LINENO"; then :
   8784   eval $cacheid=yes
   8785 else
   8786   eval $cacheid=no
   8787 fi
   8788 rm -f core conftest.err conftest.$ac_objext \
   8789     conftest$ac_exeext conftest.$ac_ext
   8790 fi
   8791 
   8792 
   8793 		CFLAGS="$xorg_testset_save_CFLAGS"
   8794 
   8795 		eval supported=\$$cacheid
   8796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8797 $as_echo "$supported" >&6; }
   8798 		if test "$supported" = "yes" ; then
   8799 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8800 			found="yes"
   8801 		fi
   8802 	fi
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 xorg_testset_save_CFLAGS="$CFLAGS"
   8819 
   8820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8823 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8824 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8825   $as_echo_n "(cached) " >&6
   8826 else
   8827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8828 /* end confdefs.h.  */
   8829 int i;
   8830 _ACEOF
   8831 if ac_fn_c_try_compile "$LINENO"; then :
   8832   xorg_cv_cc_flag_unknown_warning_option=yes
   8833 else
   8834   xorg_cv_cc_flag_unknown_warning_option=no
   8835 fi
   8836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8837 fi
   8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8839 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8841 	CFLAGS="$xorg_testset_save_CFLAGS"
   8842 fi
   8843 
   8844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8847 	fi
   8848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8850 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8851 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8852   $as_echo_n "(cached) " >&6
   8853 else
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 _ACEOF
   8858 if ac_fn_c_try_compile "$LINENO"; then :
   8859   xorg_cv_cc_flag_unused_command_line_argument=yes
   8860 else
   8861   xorg_cv_cc_flag_unused_command_line_argument=no
   8862 fi
   8863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8864 fi
   8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8866 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8868 	CFLAGS="$xorg_testset_save_CFLAGS"
   8869 fi
   8870 
   8871 found="no"
   8872 
   8873 	if test $found = "no" ; then
   8874 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8876 		fi
   8877 
   8878 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8880 		fi
   8881 
   8882 		CFLAGS="$CFLAGS -Wmain"
   8883 
   8884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8885 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8886 		cacheid=xorg_cv_cc_flag__Wmain
   8887 		if eval \${$cacheid+:} false; then :
   8888   $as_echo_n "(cached) " >&6
   8889 else
   8890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8891 /* end confdefs.h.  */
   8892 int i;
   8893 int
   8894 main ()
   8895 {
   8896 
   8897   ;
   8898   return 0;
   8899 }
   8900 _ACEOF
   8901 if ac_fn_c_try_link "$LINENO"; then :
   8902   eval $cacheid=yes
   8903 else
   8904   eval $cacheid=no
   8905 fi
   8906 rm -f core conftest.err conftest.$ac_objext \
   8907     conftest$ac_exeext conftest.$ac_ext
   8908 fi
   8909 
   8910 
   8911 		CFLAGS="$xorg_testset_save_CFLAGS"
   8912 
   8913 		eval supported=\$$cacheid
   8914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8915 $as_echo "$supported" >&6; }
   8916 		if test "$supported" = "yes" ; then
   8917 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8918 			found="yes"
   8919 		fi
   8920 	fi
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 xorg_testset_save_CFLAGS="$CFLAGS"
   8937 
   8938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8941 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8942 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8943   $as_echo_n "(cached) " >&6
   8944 else
   8945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8946 /* end confdefs.h.  */
   8947 int i;
   8948 _ACEOF
   8949 if ac_fn_c_try_compile "$LINENO"; then :
   8950   xorg_cv_cc_flag_unknown_warning_option=yes
   8951 else
   8952   xorg_cv_cc_flag_unknown_warning_option=no
   8953 fi
   8954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8955 fi
   8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8957 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8959 	CFLAGS="$xorg_testset_save_CFLAGS"
   8960 fi
   8961 
   8962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8965 	fi
   8966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8968 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8969 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 _ACEOF
   8976 if ac_fn_c_try_compile "$LINENO"; then :
   8977   xorg_cv_cc_flag_unused_command_line_argument=yes
   8978 else
   8979   xorg_cv_cc_flag_unused_command_line_argument=no
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8982 fi
   8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8984 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8985 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8986 	CFLAGS="$xorg_testset_save_CFLAGS"
   8987 fi
   8988 
   8989 found="no"
   8990 
   8991 	if test $found = "no" ; then
   8992 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8993 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8994 		fi
   8995 
   8996 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8997 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8998 		fi
   8999 
   9000 		CFLAGS="$CFLAGS -Wmissing-braces"
   9001 
   9002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9003 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9004 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9005 		if eval \${$cacheid+:} false; then :
   9006   $as_echo_n "(cached) " >&6
   9007 else
   9008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9009 /* end confdefs.h.  */
   9010 int i;
   9011 int
   9012 main ()
   9013 {
   9014 
   9015   ;
   9016   return 0;
   9017 }
   9018 _ACEOF
   9019 if ac_fn_c_try_link "$LINENO"; then :
   9020   eval $cacheid=yes
   9021 else
   9022   eval $cacheid=no
   9023 fi
   9024 rm -f core conftest.err conftest.$ac_objext \
   9025     conftest$ac_exeext conftest.$ac_ext
   9026 fi
   9027 
   9028 
   9029 		CFLAGS="$xorg_testset_save_CFLAGS"
   9030 
   9031 		eval supported=\$$cacheid
   9032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9033 $as_echo "$supported" >&6; }
   9034 		if test "$supported" = "yes" ; then
   9035 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9036 			found="yes"
   9037 		fi
   9038 	fi
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 xorg_testset_save_CFLAGS="$CFLAGS"
   9055 
   9056 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9059 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9060 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9061   $as_echo_n "(cached) " >&6
   9062 else
   9063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9064 /* end confdefs.h.  */
   9065 int i;
   9066 _ACEOF
   9067 if ac_fn_c_try_compile "$LINENO"; then :
   9068   xorg_cv_cc_flag_unknown_warning_option=yes
   9069 else
   9070   xorg_cv_cc_flag_unknown_warning_option=no
   9071 fi
   9072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9073 fi
   9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9075 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9077 	CFLAGS="$xorg_testset_save_CFLAGS"
   9078 fi
   9079 
   9080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9083 	fi
   9084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9086 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9087 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9088   $as_echo_n "(cached) " >&6
   9089 else
   9090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9091 /* end confdefs.h.  */
   9092 int i;
   9093 _ACEOF
   9094 if ac_fn_c_try_compile "$LINENO"; then :
   9095   xorg_cv_cc_flag_unused_command_line_argument=yes
   9096 else
   9097   xorg_cv_cc_flag_unused_command_line_argument=no
   9098 fi
   9099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9100 fi
   9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9102 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9104 	CFLAGS="$xorg_testset_save_CFLAGS"
   9105 fi
   9106 
   9107 found="no"
   9108 
   9109 	if test $found = "no" ; then
   9110 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9112 		fi
   9113 
   9114 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9116 		fi
   9117 
   9118 		CFLAGS="$CFLAGS -Wsequence-point"
   9119 
   9120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9121 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9122 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9123 		if eval \${$cacheid+:} false; then :
   9124   $as_echo_n "(cached) " >&6
   9125 else
   9126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9127 /* end confdefs.h.  */
   9128 int i;
   9129 int
   9130 main ()
   9131 {
   9132 
   9133   ;
   9134   return 0;
   9135 }
   9136 _ACEOF
   9137 if ac_fn_c_try_link "$LINENO"; then :
   9138   eval $cacheid=yes
   9139 else
   9140   eval $cacheid=no
   9141 fi
   9142 rm -f core conftest.err conftest.$ac_objext \
   9143     conftest$ac_exeext conftest.$ac_ext
   9144 fi
   9145 
   9146 
   9147 		CFLAGS="$xorg_testset_save_CFLAGS"
   9148 
   9149 		eval supported=\$$cacheid
   9150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9151 $as_echo "$supported" >&6; }
   9152 		if test "$supported" = "yes" ; then
   9153 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9154 			found="yes"
   9155 		fi
   9156 	fi
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 xorg_testset_save_CFLAGS="$CFLAGS"
   9173 
   9174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9179   $as_echo_n "(cached) " >&6
   9180 else
   9181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9182 /* end confdefs.h.  */
   9183 int i;
   9184 _ACEOF
   9185 if ac_fn_c_try_compile "$LINENO"; then :
   9186   xorg_cv_cc_flag_unknown_warning_option=yes
   9187 else
   9188   xorg_cv_cc_flag_unknown_warning_option=no
   9189 fi
   9190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9191 fi
   9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9195 	CFLAGS="$xorg_testset_save_CFLAGS"
   9196 fi
   9197 
   9198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9201 	fi
   9202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9209 /* end confdefs.h.  */
   9210 int i;
   9211 _ACEOF
   9212 if ac_fn_c_try_compile "$LINENO"; then :
   9213   xorg_cv_cc_flag_unused_command_line_argument=yes
   9214 else
   9215   xorg_cv_cc_flag_unused_command_line_argument=no
   9216 fi
   9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9218 fi
   9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9222 	CFLAGS="$xorg_testset_save_CFLAGS"
   9223 fi
   9224 
   9225 found="no"
   9226 
   9227 	if test $found = "no" ; then
   9228 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9230 		fi
   9231 
   9232 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9234 		fi
   9235 
   9236 		CFLAGS="$CFLAGS -Wreturn-type"
   9237 
   9238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9239 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9240 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9241 		if eval \${$cacheid+:} false; then :
   9242   $as_echo_n "(cached) " >&6
   9243 else
   9244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9245 /* end confdefs.h.  */
   9246 int i;
   9247 int
   9248 main ()
   9249 {
   9250 
   9251   ;
   9252   return 0;
   9253 }
   9254 _ACEOF
   9255 if ac_fn_c_try_link "$LINENO"; then :
   9256   eval $cacheid=yes
   9257 else
   9258   eval $cacheid=no
   9259 fi
   9260 rm -f core conftest.err conftest.$ac_objext \
   9261     conftest$ac_exeext conftest.$ac_ext
   9262 fi
   9263 
   9264 
   9265 		CFLAGS="$xorg_testset_save_CFLAGS"
   9266 
   9267 		eval supported=\$$cacheid
   9268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9269 $as_echo "$supported" >&6; }
   9270 		if test "$supported" = "yes" ; then
   9271 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9272 			found="yes"
   9273 		fi
   9274 	fi
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 xorg_testset_save_CFLAGS="$CFLAGS"
   9291 
   9292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9297   $as_echo_n "(cached) " >&6
   9298 else
   9299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9300 /* end confdefs.h.  */
   9301 int i;
   9302 _ACEOF
   9303 if ac_fn_c_try_compile "$LINENO"; then :
   9304   xorg_cv_cc_flag_unknown_warning_option=yes
   9305 else
   9306   xorg_cv_cc_flag_unknown_warning_option=no
   9307 fi
   9308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9309 fi
   9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9313 	CFLAGS="$xorg_testset_save_CFLAGS"
   9314 fi
   9315 
   9316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9319 	fi
   9320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9324   $as_echo_n "(cached) " >&6
   9325 else
   9326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 _ACEOF
   9330 if ac_fn_c_try_compile "$LINENO"; then :
   9331   xorg_cv_cc_flag_unused_command_line_argument=yes
   9332 else
   9333   xorg_cv_cc_flag_unused_command_line_argument=no
   9334 fi
   9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9336 fi
   9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9340 	CFLAGS="$xorg_testset_save_CFLAGS"
   9341 fi
   9342 
   9343 found="no"
   9344 
   9345 	if test $found = "no" ; then
   9346 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9348 		fi
   9349 
   9350 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9352 		fi
   9353 
   9354 		CFLAGS="$CFLAGS -Wtrigraphs"
   9355 
   9356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9357 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9358 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9359 		if eval \${$cacheid+:} false; then :
   9360   $as_echo_n "(cached) " >&6
   9361 else
   9362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9363 /* end confdefs.h.  */
   9364 int i;
   9365 int
   9366 main ()
   9367 {
   9368 
   9369   ;
   9370   return 0;
   9371 }
   9372 _ACEOF
   9373 if ac_fn_c_try_link "$LINENO"; then :
   9374   eval $cacheid=yes
   9375 else
   9376   eval $cacheid=no
   9377 fi
   9378 rm -f core conftest.err conftest.$ac_objext \
   9379     conftest$ac_exeext conftest.$ac_ext
   9380 fi
   9381 
   9382 
   9383 		CFLAGS="$xorg_testset_save_CFLAGS"
   9384 
   9385 		eval supported=\$$cacheid
   9386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9387 $as_echo "$supported" >&6; }
   9388 		if test "$supported" = "yes" ; then
   9389 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9390 			found="yes"
   9391 		fi
   9392 	fi
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 xorg_testset_save_CFLAGS="$CFLAGS"
   9409 
   9410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9415   $as_echo_n "(cached) " >&6
   9416 else
   9417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9418 /* end confdefs.h.  */
   9419 int i;
   9420 _ACEOF
   9421 if ac_fn_c_try_compile "$LINENO"; then :
   9422   xorg_cv_cc_flag_unknown_warning_option=yes
   9423 else
   9424   xorg_cv_cc_flag_unknown_warning_option=no
   9425 fi
   9426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9427 fi
   9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9431 	CFLAGS="$xorg_testset_save_CFLAGS"
   9432 fi
   9433 
   9434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9437 	fi
   9438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9442   $as_echo_n "(cached) " >&6
   9443 else
   9444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9445 /* end confdefs.h.  */
   9446 int i;
   9447 _ACEOF
   9448 if ac_fn_c_try_compile "$LINENO"; then :
   9449   xorg_cv_cc_flag_unused_command_line_argument=yes
   9450 else
   9451   xorg_cv_cc_flag_unused_command_line_argument=no
   9452 fi
   9453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9454 fi
   9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9458 	CFLAGS="$xorg_testset_save_CFLAGS"
   9459 fi
   9460 
   9461 found="no"
   9462 
   9463 	if test $found = "no" ; then
   9464 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9466 		fi
   9467 
   9468 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9470 		fi
   9471 
   9472 		CFLAGS="$CFLAGS -Warray-bounds"
   9473 
   9474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9475 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9476 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9477 		if eval \${$cacheid+:} false; then :
   9478   $as_echo_n "(cached) " >&6
   9479 else
   9480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 int i;
   9483 int
   9484 main ()
   9485 {
   9486 
   9487   ;
   9488   return 0;
   9489 }
   9490 _ACEOF
   9491 if ac_fn_c_try_link "$LINENO"; then :
   9492   eval $cacheid=yes
   9493 else
   9494   eval $cacheid=no
   9495 fi
   9496 rm -f core conftest.err conftest.$ac_objext \
   9497     conftest$ac_exeext conftest.$ac_ext
   9498 fi
   9499 
   9500 
   9501 		CFLAGS="$xorg_testset_save_CFLAGS"
   9502 
   9503 		eval supported=\$$cacheid
   9504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9505 $as_echo "$supported" >&6; }
   9506 		if test "$supported" = "yes" ; then
   9507 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9508 			found="yes"
   9509 		fi
   9510 	fi
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 xorg_testset_save_CFLAGS="$CFLAGS"
   9527 
   9528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9533   $as_echo_n "(cached) " >&6
   9534 else
   9535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9536 /* end confdefs.h.  */
   9537 int i;
   9538 _ACEOF
   9539 if ac_fn_c_try_compile "$LINENO"; then :
   9540   xorg_cv_cc_flag_unknown_warning_option=yes
   9541 else
   9542   xorg_cv_cc_flag_unknown_warning_option=no
   9543 fi
   9544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9545 fi
   9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9549 	CFLAGS="$xorg_testset_save_CFLAGS"
   9550 fi
   9551 
   9552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9555 	fi
   9556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9560   $as_echo_n "(cached) " >&6
   9561 else
   9562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9563 /* end confdefs.h.  */
   9564 int i;
   9565 _ACEOF
   9566 if ac_fn_c_try_compile "$LINENO"; then :
   9567   xorg_cv_cc_flag_unused_command_line_argument=yes
   9568 else
   9569   xorg_cv_cc_flag_unused_command_line_argument=no
   9570 fi
   9571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9572 fi
   9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9576 	CFLAGS="$xorg_testset_save_CFLAGS"
   9577 fi
   9578 
   9579 found="no"
   9580 
   9581 	if test $found = "no" ; then
   9582 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9584 		fi
   9585 
   9586 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9588 		fi
   9589 
   9590 		CFLAGS="$CFLAGS -Wwrite-strings"
   9591 
   9592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9593 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9594 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9595 		if eval \${$cacheid+:} false; then :
   9596   $as_echo_n "(cached) " >&6
   9597 else
   9598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9599 /* end confdefs.h.  */
   9600 int i;
   9601 int
   9602 main ()
   9603 {
   9604 
   9605   ;
   9606   return 0;
   9607 }
   9608 _ACEOF
   9609 if ac_fn_c_try_link "$LINENO"; then :
   9610   eval $cacheid=yes
   9611 else
   9612   eval $cacheid=no
   9613 fi
   9614 rm -f core conftest.err conftest.$ac_objext \
   9615     conftest$ac_exeext conftest.$ac_ext
   9616 fi
   9617 
   9618 
   9619 		CFLAGS="$xorg_testset_save_CFLAGS"
   9620 
   9621 		eval supported=\$$cacheid
   9622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9623 $as_echo "$supported" >&6; }
   9624 		if test "$supported" = "yes" ; then
   9625 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9626 			found="yes"
   9627 		fi
   9628 	fi
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 xorg_testset_save_CFLAGS="$CFLAGS"
   9645 
   9646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9651   $as_echo_n "(cached) " >&6
   9652 else
   9653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9654 /* end confdefs.h.  */
   9655 int i;
   9656 _ACEOF
   9657 if ac_fn_c_try_compile "$LINENO"; then :
   9658   xorg_cv_cc_flag_unknown_warning_option=yes
   9659 else
   9660   xorg_cv_cc_flag_unknown_warning_option=no
   9661 fi
   9662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9663 fi
   9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9667 	CFLAGS="$xorg_testset_save_CFLAGS"
   9668 fi
   9669 
   9670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9673 	fi
   9674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 _ACEOF
   9684 if ac_fn_c_try_compile "$LINENO"; then :
   9685   xorg_cv_cc_flag_unused_command_line_argument=yes
   9686 else
   9687   xorg_cv_cc_flag_unused_command_line_argument=no
   9688 fi
   9689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9690 fi
   9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9694 	CFLAGS="$xorg_testset_save_CFLAGS"
   9695 fi
   9696 
   9697 found="no"
   9698 
   9699 	if test $found = "no" ; then
   9700 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9702 		fi
   9703 
   9704 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9706 		fi
   9707 
   9708 		CFLAGS="$CFLAGS -Waddress"
   9709 
   9710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9711 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9712 		cacheid=xorg_cv_cc_flag__Waddress
   9713 		if eval \${$cacheid+:} false; then :
   9714   $as_echo_n "(cached) " >&6
   9715 else
   9716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 int i;
   9719 int
   9720 main ()
   9721 {
   9722 
   9723   ;
   9724   return 0;
   9725 }
   9726 _ACEOF
   9727 if ac_fn_c_try_link "$LINENO"; then :
   9728   eval $cacheid=yes
   9729 else
   9730   eval $cacheid=no
   9731 fi
   9732 rm -f core conftest.err conftest.$ac_objext \
   9733     conftest$ac_exeext conftest.$ac_ext
   9734 fi
   9735 
   9736 
   9737 		CFLAGS="$xorg_testset_save_CFLAGS"
   9738 
   9739 		eval supported=\$$cacheid
   9740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9741 $as_echo "$supported" >&6; }
   9742 		if test "$supported" = "yes" ; then
   9743 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9744 			found="yes"
   9745 		fi
   9746 	fi
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 xorg_testset_save_CFLAGS="$CFLAGS"
   9763 
   9764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9769   $as_echo_n "(cached) " >&6
   9770 else
   9771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9772 /* end confdefs.h.  */
   9773 int i;
   9774 _ACEOF
   9775 if ac_fn_c_try_compile "$LINENO"; then :
   9776   xorg_cv_cc_flag_unknown_warning_option=yes
   9777 else
   9778   xorg_cv_cc_flag_unknown_warning_option=no
   9779 fi
   9780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9781 fi
   9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9785 	CFLAGS="$xorg_testset_save_CFLAGS"
   9786 fi
   9787 
   9788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9791 	fi
   9792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 _ACEOF
   9802 if ac_fn_c_try_compile "$LINENO"; then :
   9803   xorg_cv_cc_flag_unused_command_line_argument=yes
   9804 else
   9805   xorg_cv_cc_flag_unused_command_line_argument=no
   9806 fi
   9807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9808 fi
   9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9812 	CFLAGS="$xorg_testset_save_CFLAGS"
   9813 fi
   9814 
   9815 found="no"
   9816 
   9817 	if test $found = "no" ; then
   9818 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9820 		fi
   9821 
   9822 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9824 		fi
   9825 
   9826 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9827 
   9828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9829 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9830 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9831 		if eval \${$cacheid+:} false; then :
   9832   $as_echo_n "(cached) " >&6
   9833 else
   9834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9835 /* end confdefs.h.  */
   9836 int i;
   9837 int
   9838 main ()
   9839 {
   9840 
   9841   ;
   9842   return 0;
   9843 }
   9844 _ACEOF
   9845 if ac_fn_c_try_link "$LINENO"; then :
   9846   eval $cacheid=yes
   9847 else
   9848   eval $cacheid=no
   9849 fi
   9850 rm -f core conftest.err conftest.$ac_objext \
   9851     conftest$ac_exeext conftest.$ac_ext
   9852 fi
   9853 
   9854 
   9855 		CFLAGS="$xorg_testset_save_CFLAGS"
   9856 
   9857 		eval supported=\$$cacheid
   9858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9859 $as_echo "$supported" >&6; }
   9860 		if test "$supported" = "yes" ; then
   9861 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9862 			found="yes"
   9863 		fi
   9864 	fi
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 xorg_testset_save_CFLAGS="$CFLAGS"
   9881 
   9882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9885 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9886 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9887   $as_echo_n "(cached) " >&6
   9888 else
   9889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9890 /* end confdefs.h.  */
   9891 int i;
   9892 _ACEOF
   9893 if ac_fn_c_try_compile "$LINENO"; then :
   9894   xorg_cv_cc_flag_unknown_warning_option=yes
   9895 else
   9896   xorg_cv_cc_flag_unknown_warning_option=no
   9897 fi
   9898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9899 fi
   9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9901 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9903 	CFLAGS="$xorg_testset_save_CFLAGS"
   9904 fi
   9905 
   9906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9909 	fi
   9910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9912 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9913 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9914   $as_echo_n "(cached) " >&6
   9915 else
   9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 _ACEOF
   9920 if ac_fn_c_try_compile "$LINENO"; then :
   9921   xorg_cv_cc_flag_unused_command_line_argument=yes
   9922 else
   9923   xorg_cv_cc_flag_unused_command_line_argument=no
   9924 fi
   9925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9926 fi
   9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9928 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9930 	CFLAGS="$xorg_testset_save_CFLAGS"
   9931 fi
   9932 
   9933 found="no"
   9934 
   9935 	if test $found = "no" ; then
   9936 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9938 		fi
   9939 
   9940 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9942 		fi
   9943 
   9944 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9945 
   9946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9947 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9948 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9949 		if eval \${$cacheid+:} false; then :
   9950   $as_echo_n "(cached) " >&6
   9951 else
   9952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9953 /* end confdefs.h.  */
   9954 int i;
   9955 int
   9956 main ()
   9957 {
   9958 
   9959   ;
   9960   return 0;
   9961 }
   9962 _ACEOF
   9963 if ac_fn_c_try_link "$LINENO"; then :
   9964   eval $cacheid=yes
   9965 else
   9966   eval $cacheid=no
   9967 fi
   9968 rm -f core conftest.err conftest.$ac_objext \
   9969     conftest$ac_exeext conftest.$ac_ext
   9970 fi
   9971 
   9972 
   9973 		CFLAGS="$xorg_testset_save_CFLAGS"
   9974 
   9975 		eval supported=\$$cacheid
   9976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9977 $as_echo "$supported" >&6; }
   9978 		if test "$supported" = "yes" ; then
   9979 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9980 			found="yes"
   9981 		fi
   9982 	fi
   9983 
   9984 
   9985 fi
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 		CWARNFLAGS="$BASE_CFLAGS"
   9994 		if  test "x$GCC" = xyes ; then
   9995 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9996 		fi
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 # Check whether --enable-strict-compilation was given.
   10006 if test "${enable_strict_compilation+set}" = set; then :
   10007   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10008 else
   10009   STRICT_COMPILE=no
   10010 fi
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 STRICT_CFLAGS=""
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 xorg_testset_save_CFLAGS="$CFLAGS"
   10032 
   10033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10038   $as_echo_n "(cached) " >&6
   10039 else
   10040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10041 /* end confdefs.h.  */
   10042 int i;
   10043 _ACEOF
   10044 if ac_fn_c_try_compile "$LINENO"; then :
   10045   xorg_cv_cc_flag_unknown_warning_option=yes
   10046 else
   10047   xorg_cv_cc_flag_unknown_warning_option=no
   10048 fi
   10049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10050 fi
   10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10054 	CFLAGS="$xorg_testset_save_CFLAGS"
   10055 fi
   10056 
   10057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10060 	fi
   10061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10065   $as_echo_n "(cached) " >&6
   10066 else
   10067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10068 /* end confdefs.h.  */
   10069 int i;
   10070 _ACEOF
   10071 if ac_fn_c_try_compile "$LINENO"; then :
   10072   xorg_cv_cc_flag_unused_command_line_argument=yes
   10073 else
   10074   xorg_cv_cc_flag_unused_command_line_argument=no
   10075 fi
   10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10077 fi
   10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10081 	CFLAGS="$xorg_testset_save_CFLAGS"
   10082 fi
   10083 
   10084 found="no"
   10085 
   10086 	if test $found = "no" ; then
   10087 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10089 		fi
   10090 
   10091 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10093 		fi
   10094 
   10095 		CFLAGS="$CFLAGS -pedantic"
   10096 
   10097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10098 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10099 		cacheid=xorg_cv_cc_flag__pedantic
   10100 		if eval \${$cacheid+:} false; then :
   10101   $as_echo_n "(cached) " >&6
   10102 else
   10103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10104 /* end confdefs.h.  */
   10105 int i;
   10106 int
   10107 main ()
   10108 {
   10109 
   10110   ;
   10111   return 0;
   10112 }
   10113 _ACEOF
   10114 if ac_fn_c_try_link "$LINENO"; then :
   10115   eval $cacheid=yes
   10116 else
   10117   eval $cacheid=no
   10118 fi
   10119 rm -f core conftest.err conftest.$ac_objext \
   10120     conftest$ac_exeext conftest.$ac_ext
   10121 fi
   10122 
   10123 
   10124 		CFLAGS="$xorg_testset_save_CFLAGS"
   10125 
   10126 		eval supported=\$$cacheid
   10127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10128 $as_echo "$supported" >&6; }
   10129 		if test "$supported" = "yes" ; then
   10130 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10131 			found="yes"
   10132 		fi
   10133 	fi
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 xorg_testset_save_CFLAGS="$CFLAGS"
   10150 
   10151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10154 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10155 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10156   $as_echo_n "(cached) " >&6
   10157 else
   10158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10159 /* end confdefs.h.  */
   10160 int i;
   10161 _ACEOF
   10162 if ac_fn_c_try_compile "$LINENO"; then :
   10163   xorg_cv_cc_flag_unknown_warning_option=yes
   10164 else
   10165   xorg_cv_cc_flag_unknown_warning_option=no
   10166 fi
   10167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10168 fi
   10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10170 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10172 	CFLAGS="$xorg_testset_save_CFLAGS"
   10173 fi
   10174 
   10175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10178 	fi
   10179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10181 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10182 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10183   $as_echo_n "(cached) " >&6
   10184 else
   10185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10186 /* end confdefs.h.  */
   10187 int i;
   10188 _ACEOF
   10189 if ac_fn_c_try_compile "$LINENO"; then :
   10190   xorg_cv_cc_flag_unused_command_line_argument=yes
   10191 else
   10192   xorg_cv_cc_flag_unused_command_line_argument=no
   10193 fi
   10194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10195 fi
   10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10197 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10199 	CFLAGS="$xorg_testset_save_CFLAGS"
   10200 fi
   10201 
   10202 found="no"
   10203 
   10204 	if test $found = "no" ; then
   10205 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10207 		fi
   10208 
   10209 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10211 		fi
   10212 
   10213 		CFLAGS="$CFLAGS -Werror"
   10214 
   10215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10216 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10217 		cacheid=xorg_cv_cc_flag__Werror
   10218 		if eval \${$cacheid+:} false; then :
   10219   $as_echo_n "(cached) " >&6
   10220 else
   10221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10222 /* end confdefs.h.  */
   10223 int i;
   10224 int
   10225 main ()
   10226 {
   10227 
   10228   ;
   10229   return 0;
   10230 }
   10231 _ACEOF
   10232 if ac_fn_c_try_link "$LINENO"; then :
   10233   eval $cacheid=yes
   10234 else
   10235   eval $cacheid=no
   10236 fi
   10237 rm -f core conftest.err conftest.$ac_objext \
   10238     conftest$ac_exeext conftest.$ac_ext
   10239 fi
   10240 
   10241 
   10242 		CFLAGS="$xorg_testset_save_CFLAGS"
   10243 
   10244 		eval supported=\$$cacheid
   10245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10246 $as_echo "$supported" >&6; }
   10247 		if test "$supported" = "yes" ; then
   10248 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10249 			found="yes"
   10250 		fi
   10251 	fi
   10252 
   10253 	if test $found = "no" ; then
   10254 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10256 		fi
   10257 
   10258 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10260 		fi
   10261 
   10262 		CFLAGS="$CFLAGS -errwarn"
   10263 
   10264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10265 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10266 		cacheid=xorg_cv_cc_flag__errwarn
   10267 		if eval \${$cacheid+:} false; then :
   10268   $as_echo_n "(cached) " >&6
   10269 else
   10270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10271 /* end confdefs.h.  */
   10272 int i;
   10273 int
   10274 main ()
   10275 {
   10276 
   10277   ;
   10278   return 0;
   10279 }
   10280 _ACEOF
   10281 if ac_fn_c_try_link "$LINENO"; then :
   10282   eval $cacheid=yes
   10283 else
   10284   eval $cacheid=no
   10285 fi
   10286 rm -f core conftest.err conftest.$ac_objext \
   10287     conftest$ac_exeext conftest.$ac_ext
   10288 fi
   10289 
   10290 
   10291 		CFLAGS="$xorg_testset_save_CFLAGS"
   10292 
   10293 		eval supported=\$$cacheid
   10294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10295 $as_echo "$supported" >&6; }
   10296 		if test "$supported" = "yes" ; then
   10297 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10298 			found="yes"
   10299 		fi
   10300 	fi
   10301 
   10302 
   10303 
   10304 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10305 # activate it with -Werror, so we add it here explicitly.
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 xorg_testset_save_CFLAGS="$CFLAGS"
   10320 
   10321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10326   $as_echo_n "(cached) " >&6
   10327 else
   10328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10329 /* end confdefs.h.  */
   10330 int i;
   10331 _ACEOF
   10332 if ac_fn_c_try_compile "$LINENO"; then :
   10333   xorg_cv_cc_flag_unknown_warning_option=yes
   10334 else
   10335   xorg_cv_cc_flag_unknown_warning_option=no
   10336 fi
   10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10338 fi
   10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10342 	CFLAGS="$xorg_testset_save_CFLAGS"
   10343 fi
   10344 
   10345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10348 	fi
   10349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10353   $as_echo_n "(cached) " >&6
   10354 else
   10355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10356 /* end confdefs.h.  */
   10357 int i;
   10358 _ACEOF
   10359 if ac_fn_c_try_compile "$LINENO"; then :
   10360   xorg_cv_cc_flag_unused_command_line_argument=yes
   10361 else
   10362   xorg_cv_cc_flag_unused_command_line_argument=no
   10363 fi
   10364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10365 fi
   10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10369 	CFLAGS="$xorg_testset_save_CFLAGS"
   10370 fi
   10371 
   10372 found="no"
   10373 
   10374 	if test $found = "no" ; then
   10375 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10377 		fi
   10378 
   10379 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10381 		fi
   10382 
   10383 		CFLAGS="$CFLAGS -Werror=attributes"
   10384 
   10385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10386 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10387 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10388 		if eval \${$cacheid+:} false; then :
   10389   $as_echo_n "(cached) " >&6
   10390 else
   10391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10392 /* end confdefs.h.  */
   10393 int i;
   10394 int
   10395 main ()
   10396 {
   10397 
   10398   ;
   10399   return 0;
   10400 }
   10401 _ACEOF
   10402 if ac_fn_c_try_link "$LINENO"; then :
   10403   eval $cacheid=yes
   10404 else
   10405   eval $cacheid=no
   10406 fi
   10407 rm -f core conftest.err conftest.$ac_objext \
   10408     conftest$ac_exeext conftest.$ac_ext
   10409 fi
   10410 
   10411 
   10412 		CFLAGS="$xorg_testset_save_CFLAGS"
   10413 
   10414 		eval supported=\$$cacheid
   10415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10416 $as_echo "$supported" >&6; }
   10417 		if test "$supported" = "yes" ; then
   10418 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10419 			found="yes"
   10420 		fi
   10421 	fi
   10422 
   10423 
   10424 
   10425 if test "x$STRICT_COMPILE" = "xyes"; then
   10426     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10427     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10428 fi
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 cat >>confdefs.h <<_ACEOF
   10436 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10437 _ACEOF
   10438 
   10439 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10440 	if test "x$PVM" = "x"; then
   10441 		PVM="0"
   10442 	fi
   10443 
   10444 cat >>confdefs.h <<_ACEOF
   10445 #define PACKAGE_VERSION_MINOR $PVM
   10446 _ACEOF
   10447 
   10448 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10449 	if test "x$PVP" = "x"; then
   10450 		PVP="0"
   10451 	fi
   10452 
   10453 cat >>confdefs.h <<_ACEOF
   10454 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10455 _ACEOF
   10456 
   10457 
   10458 
   10459 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10460 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10461 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10462 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10463 
   10464 
   10465 
   10466 
   10467 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10468 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10469 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10470 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10471 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 if test x$APP_MAN_SUFFIX = x    ; then
   10479     APP_MAN_SUFFIX=1
   10480 fi
   10481 if test x$APP_MAN_DIR = x    ; then
   10482     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10483 fi
   10484 
   10485 if test x$LIB_MAN_SUFFIX = x    ; then
   10486     LIB_MAN_SUFFIX=3
   10487 fi
   10488 if test x$LIB_MAN_DIR = x    ; then
   10489     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10490 fi
   10491 
   10492 if test x$FILE_MAN_SUFFIX = x    ; then
   10493     case $host_os in
   10494 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10495 	*)		FILE_MAN_SUFFIX=5  ;;
   10496     esac
   10497 fi
   10498 if test x$FILE_MAN_DIR = x    ; then
   10499     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10500 fi
   10501 
   10502 if test x$MISC_MAN_SUFFIX = x    ; then
   10503     case $host_os in
   10504 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10505 	*)		MISC_MAN_SUFFIX=7  ;;
   10506     esac
   10507 fi
   10508 if test x$MISC_MAN_DIR = x    ; then
   10509     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10510 fi
   10511 
   10512 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10513     case $host_os in
   10514 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10515 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10516     esac
   10517 fi
   10518 if test x$DRIVER_MAN_DIR = x    ; then
   10519     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10520 fi
   10521 
   10522 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10523     case $host_os in
   10524 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10525 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10526     esac
   10527 fi
   10528 if test x$ADMIN_MAN_DIR = x    ; then
   10529     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10530 fi
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 XORG_MAN_PAGE="X Version 11"
   10547 
   10548 MAN_SUBSTS="\
   10549 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10550 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10551 	-e 's|__xservername__|Xorg|g' \
   10552 	-e 's|__xconfigfile__|xorg.conf|g' \
   10553 	-e 's|__projectroot__|\$(prefix)|g' \
   10554 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10555 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10556 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10557 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10558 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10559 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10560 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10561 
   10562 
   10563 
   10564 # Check whether --enable-silent-rules was given.
   10565 if test "${enable_silent_rules+set}" = set; then :
   10566   enableval=$enable_silent_rules;
   10567 fi
   10568 
   10569 case $enable_silent_rules in # (((
   10570   yes) AM_DEFAULT_VERBOSITY=0;;
   10571    no) AM_DEFAULT_VERBOSITY=1;;
   10572     *) AM_DEFAULT_VERBOSITY=0;;
   10573 esac
   10574 am_make=${MAKE-make}
   10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10576 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10577 if ${am_cv_make_support_nested_variables+:} false; then :
   10578   $as_echo_n "(cached) " >&6
   10579 else
   10580   if $as_echo 'TRUE=$(BAR$(V))
   10581 BAR0=false
   10582 BAR1=true
   10583 V=1
   10584 am__doit:
   10585 	@$(TRUE)
   10586 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10587   am_cv_make_support_nested_variables=yes
   10588 else
   10589   am_cv_make_support_nested_variables=no
   10590 fi
   10591 fi
   10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10593 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10594 if test $am_cv_make_support_nested_variables = yes; then
   10595     AM_V='$(V)'
   10596   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10597 else
   10598   AM_V=$AM_DEFAULT_VERBOSITY
   10599   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10600 fi
   10601 AM_BACKSLASH='\'
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 # Check whether --with-lint was given.
   10610 if test "${with_lint+set}" = set; then :
   10611   withval=$with_lint; use_lint=$withval
   10612 else
   10613   use_lint=no
   10614 fi
   10615 
   10616 
   10617 # Obtain platform specific info like program name and options
   10618 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10619 case $host_os in
   10620   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10621 	lint_name=splint
   10622 	lint_options="-badflag"
   10623 	;;
   10624   *freebsd* | *netbsd*)
   10625 	lint_name=lint
   10626 	lint_options="-u -b"
   10627 	;;
   10628   *solaris*)
   10629 	lint_name=lint
   10630 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10631 	;;
   10632 esac
   10633 
   10634 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10635 if test "x$use_lint" = x"yes" ; then
   10636    # Extract the first word of "$lint_name", so it can be a program name with args.
   10637 set dummy $lint_name; ac_word=$2
   10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10639 $as_echo_n "checking for $ac_word... " >&6; }
   10640 if ${ac_cv_path_LINT+:} false; then :
   10641   $as_echo_n "(cached) " >&6
   10642 else
   10643   case $LINT in
   10644   [\\/]* | ?:[\\/]*)
   10645   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10646   ;;
   10647   *)
   10648   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10649 for as_dir in $PATH
   10650 do
   10651   IFS=$as_save_IFS
   10652   test -z "$as_dir" && as_dir=.
   10653     for ac_exec_ext in '' $ac_executable_extensions; do
   10654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10655     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10657     break 2
   10658   fi
   10659 done
   10660   done
   10661 IFS=$as_save_IFS
   10662 
   10663   ;;
   10664 esac
   10665 fi
   10666 LINT=$ac_cv_path_LINT
   10667 if test -n "$LINT"; then
   10668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10669 $as_echo "$LINT" >&6; }
   10670 else
   10671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10672 $as_echo "no" >&6; }
   10673 fi
   10674 
   10675 
   10676    if test "x$LINT" = "x"; then
   10677         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10678    fi
   10679 elif test "x$use_lint" = x"no" ; then
   10680    if test "x$LINT" != "x"; then
   10681       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10682 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10683    fi
   10684 else
   10685    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10686 fi
   10687 
   10688 # User supplied flags override default flags
   10689 if test "x$LINT_FLAGS" != "x"; then
   10690    lint_options=$LINT_FLAGS
   10691 fi
   10692 
   10693 LINT_FLAGS=$lint_options
   10694 
   10695  if test "x$LINT" != x; then
   10696   LINT_TRUE=
   10697   LINT_FALSE='#'
   10698 else
   10699   LINT_TRUE='#'
   10700   LINT_FALSE=
   10701 fi
   10702 
   10703 
   10704 
   10705 
   10706 for ac_func in rename fchmod
   10707 do :
   10708   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10710 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10711   cat >>confdefs.h <<_ACEOF
   10712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10713 _ACEOF
   10714 
   10715 fi
   10716 done
   10717 
   10718 
   10719 # Check whether --enable-largefile was given.
   10720 if test "${enable_largefile+set}" = set; then :
   10721   enableval=$enable_largefile;
   10722 fi
   10723 
   10724 if test "$enable_largefile" != no; then
   10725 
   10726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   10727 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   10728 if ${ac_cv_sys_largefile_CC+:} false; then :
   10729   $as_echo_n "(cached) " >&6
   10730 else
   10731   ac_cv_sys_largefile_CC=no
   10732      if test "$GCC" != yes; then
   10733        ac_save_CC=$CC
   10734        while :; do
   10735 	 # IRIX 6.2 and later do not support large files by default,
   10736 	 # so use the C compiler's -n32 option if that helps.
   10737 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10738 /* end confdefs.h.  */
   10739 #include <sys/types.h>
   10740  /* Check that off_t can represent 2**63 - 1 correctly.
   10741     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10742     since some C++ compilers masquerading as C compilers
   10743     incorrectly reject 9223372036854775807.  */
   10744 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10745   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10746 		       && LARGE_OFF_T % 2147483647 == 1)
   10747 		      ? 1 : -1];
   10748 int
   10749 main ()
   10750 {
   10751 
   10752   ;
   10753   return 0;
   10754 }
   10755 _ACEOF
   10756 	 if ac_fn_c_try_compile "$LINENO"; then :
   10757   break
   10758 fi
   10759 rm -f core conftest.err conftest.$ac_objext
   10760 	 CC="$CC -n32"
   10761 	 if ac_fn_c_try_compile "$LINENO"; then :
   10762   ac_cv_sys_largefile_CC=' -n32'; break
   10763 fi
   10764 rm -f core conftest.err conftest.$ac_objext
   10765 	 break
   10766        done
   10767        CC=$ac_save_CC
   10768        rm -f conftest.$ac_ext
   10769     fi
   10770 fi
   10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   10772 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   10773   if test "$ac_cv_sys_largefile_CC" != no; then
   10774     CC=$CC$ac_cv_sys_largefile_CC
   10775   fi
   10776 
   10777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   10778 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   10779 if ${ac_cv_sys_file_offset_bits+:} false; then :
   10780   $as_echo_n "(cached) " >&6
   10781 else
   10782   while :; do
   10783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10784 /* end confdefs.h.  */
   10785 #include <sys/types.h>
   10786  /* Check that off_t can represent 2**63 - 1 correctly.
   10787     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10788     since some C++ compilers masquerading as C compilers
   10789     incorrectly reject 9223372036854775807.  */
   10790 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10791   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10792 		       && LARGE_OFF_T % 2147483647 == 1)
   10793 		      ? 1 : -1];
   10794 int
   10795 main ()
   10796 {
   10797 
   10798   ;
   10799   return 0;
   10800 }
   10801 _ACEOF
   10802 if ac_fn_c_try_compile "$LINENO"; then :
   10803   ac_cv_sys_file_offset_bits=no; break
   10804 fi
   10805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10807 /* end confdefs.h.  */
   10808 #define _FILE_OFFSET_BITS 64
   10809 #include <sys/types.h>
   10810  /* Check that off_t can represent 2**63 - 1 correctly.
   10811     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10812     since some C++ compilers masquerading as C compilers
   10813     incorrectly reject 9223372036854775807.  */
   10814 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10815   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10816 		       && LARGE_OFF_T % 2147483647 == 1)
   10817 		      ? 1 : -1];
   10818 int
   10819 main ()
   10820 {
   10821 
   10822   ;
   10823   return 0;
   10824 }
   10825 _ACEOF
   10826 if ac_fn_c_try_compile "$LINENO"; then :
   10827   ac_cv_sys_file_offset_bits=64; break
   10828 fi
   10829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10830   ac_cv_sys_file_offset_bits=unknown
   10831   break
   10832 done
   10833 fi
   10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   10835 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   10836 case $ac_cv_sys_file_offset_bits in #(
   10837   no | unknown) ;;
   10838   *)
   10839 cat >>confdefs.h <<_ACEOF
   10840 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   10841 _ACEOF
   10842 ;;
   10843 esac
   10844 rm -rf conftest*
   10845   if test $ac_cv_sys_file_offset_bits = unknown; then
   10846     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   10847 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   10848 if ${ac_cv_sys_large_files+:} false; then :
   10849   $as_echo_n "(cached) " >&6
   10850 else
   10851   while :; do
   10852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10853 /* end confdefs.h.  */
   10854 #include <sys/types.h>
   10855  /* Check that off_t can represent 2**63 - 1 correctly.
   10856     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10857     since some C++ compilers masquerading as C compilers
   10858     incorrectly reject 9223372036854775807.  */
   10859 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10860   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10861 		       && LARGE_OFF_T % 2147483647 == 1)
   10862 		      ? 1 : -1];
   10863 int
   10864 main ()
   10865 {
   10866 
   10867   ;
   10868   return 0;
   10869 }
   10870 _ACEOF
   10871 if ac_fn_c_try_compile "$LINENO"; then :
   10872   ac_cv_sys_large_files=no; break
   10873 fi
   10874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10876 /* end confdefs.h.  */
   10877 #define _LARGE_FILES 1
   10878 #include <sys/types.h>
   10879  /* Check that off_t can represent 2**63 - 1 correctly.
   10880     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10881     since some C++ compilers masquerading as C compilers
   10882     incorrectly reject 9223372036854775807.  */
   10883 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10884   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10885 		       && LARGE_OFF_T % 2147483647 == 1)
   10886 		      ? 1 : -1];
   10887 int
   10888 main ()
   10889 {
   10890 
   10891   ;
   10892   return 0;
   10893 }
   10894 _ACEOF
   10895 if ac_fn_c_try_compile "$LINENO"; then :
   10896   ac_cv_sys_large_files=1; break
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10899   ac_cv_sys_large_files=unknown
   10900   break
   10901 done
   10902 fi
   10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   10904 $as_echo "$ac_cv_sys_large_files" >&6; }
   10905 case $ac_cv_sys_large_files in #(
   10906   no | unknown) ;;
   10907   *)
   10908 cat >>confdefs.h <<_ACEOF
   10909 #define _LARGE_FILES $ac_cv_sys_large_files
   10910 _ACEOF
   10911 ;;
   10912 esac
   10913 rm -rf conftest*
   10914   fi
   10915 fi
   10916 
   10917 
   10918 
   10919 pkg_failed=no
   10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
   10921 $as_echo_n "checking for X... " >&6; }
   10922 
   10923 if test -n "$X_CFLAGS"; then
   10924     pkg_cv_X_CFLAGS="$X_CFLAGS"
   10925  elif test -n "$PKG_CONFIG"; then
   10926     if test -n "$PKG_CONFIG" && \
   10927     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
   10928   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
   10929   ac_status=$?
   10930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10931   test $ac_status = 0; }; then
   10932   pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17" 2>/dev/null`
   10933 else
   10934   pkg_failed=yes
   10935 fi
   10936  else
   10937     pkg_failed=untried
   10938 fi
   10939 if test -n "$X_LIBS"; then
   10940     pkg_cv_X_LIBS="$X_LIBS"
   10941  elif test -n "$PKG_CONFIG"; then
   10942     if test -n "$PKG_CONFIG" && \
   10943     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17\""; } >&5
   10944   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17") 2>&5
   10945   ac_status=$?
   10946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10947   test $ac_status = 0; }; then
   10948   pkg_cv_X_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17" 2>/dev/null`
   10949 else
   10950   pkg_failed=yes
   10951 fi
   10952  else
   10953     pkg_failed=untried
   10954 fi
   10955 
   10956 
   10957 
   10958 if test $pkg_failed = yes; then
   10959 
   10960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10961         _pkg_short_errors_supported=yes
   10962 else
   10963         _pkg_short_errors_supported=no
   10964 fi
   10965         if test $_pkg_short_errors_supported = yes; then
   10966 	        X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17" 2>&1`
   10967         else
   10968 	        X_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17" 2>&1`
   10969         fi
   10970 	# Put the nasty error message in config.log where it belongs
   10971 	echo "$X_PKG_ERRORS" >&5
   10972 
   10973 	as_fn_error $? "Package requirements (xproto >= 7.0.17) were not met:
   10974 
   10975 $X_PKG_ERRORS
   10976 
   10977 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10978 installed software in a non-standard prefix.
   10979 
   10980 Alternatively, you may set the environment variables X_CFLAGS
   10981 and X_LIBS to avoid the need to call pkg-config.
   10982 See the pkg-config man page for more details.
   10983 " "$LINENO" 5
   10984 elif test $pkg_failed = untried; then
   10985 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10987 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10988 is in your PATH or set the PKG_CONFIG environment variable to the full
   10989 path to pkg-config.
   10990 
   10991 Alternatively, you may set the environment variables X_CFLAGS
   10992 and X_LIBS to avoid the need to call pkg-config.
   10993 See the pkg-config man page for more details.
   10994 
   10995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10996 See \`config.log' for more details" "$LINENO" 5; }
   10997 else
   10998 	X_CFLAGS=$pkg_cv_X_CFLAGS
   10999 	X_LIBS=$pkg_cv_X_LIBS
   11000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11001 $as_echo "yes" >&6; }
   11002 	:
   11003 fi
   11004 
   11005 ac_config_files="$ac_config_files Makefile"
   11006 
   11007 cat >confcache <<\_ACEOF
   11008 # This file is a shell script that caches the results of configure
   11009 # tests run on this system so they can be shared between configure
   11010 # scripts and configure runs, see configure's option --config-cache.
   11011 # It is not useful on other systems.  If it contains results you don't
   11012 # want to keep, you may remove or edit it.
   11013 #
   11014 # config.status only pays attention to the cache file if you give it
   11015 # the --recheck option to rerun configure.
   11016 #
   11017 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11018 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11019 # following values.
   11020 
   11021 _ACEOF
   11022 
   11023 # The following way of writing the cache mishandles newlines in values,
   11024 # but we know of no workaround that is simple, portable, and efficient.
   11025 # So, we kill variables containing newlines.
   11026 # Ultrix sh set writes to stderr and can't be redirected directly,
   11027 # and sets the high bit in the cache file unless we assign to the vars.
   11028 (
   11029   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11030     eval ac_val=\$$ac_var
   11031     case $ac_val in #(
   11032     *${as_nl}*)
   11033       case $ac_var in #(
   11034       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11036       esac
   11037       case $ac_var in #(
   11038       _ | IFS | as_nl) ;; #(
   11039       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11040       *) { eval $ac_var=; unset $ac_var;} ;;
   11041       esac ;;
   11042     esac
   11043   done
   11044 
   11045   (set) 2>&1 |
   11046     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11047     *${as_nl}ac_space=\ *)
   11048       # `set' does not quote correctly, so add quotes: double-quote
   11049       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11050       sed -n \
   11051 	"s/'/'\\\\''/g;
   11052 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11053       ;; #(
   11054     *)
   11055       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11056       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11057       ;;
   11058     esac |
   11059     sort
   11060 ) |
   11061   sed '
   11062      /^ac_cv_env_/b end
   11063      t clear
   11064      :clear
   11065      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11066      t end
   11067      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11068      :end' >>confcache
   11069 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11070   if test -w "$cache_file"; then
   11071     if test "x$cache_file" != "x/dev/null"; then
   11072       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11073 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11074       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11075 	cat confcache >"$cache_file"
   11076       else
   11077         case $cache_file in #(
   11078         */* | ?:*)
   11079 	  mv -f confcache "$cache_file"$$ &&
   11080 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11081         *)
   11082 	  mv -f confcache "$cache_file" ;;
   11083 	esac
   11084       fi
   11085     fi
   11086   else
   11087     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11088 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11089   fi
   11090 fi
   11091 rm -f confcache
   11092 
   11093 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11094 # Let make expand exec_prefix.
   11095 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11096 
   11097 DEFS=-DHAVE_CONFIG_H
   11098 
   11099 ac_libobjs=
   11100 ac_ltlibobjs=
   11101 U=
   11102 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11103   # 1. Remove the extension, and $U if already installed.
   11104   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11105   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11106   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11107   #    will be set to the directory where LIBOBJS objects are built.
   11108   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11109   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11110 done
   11111 LIBOBJS=$ac_libobjs
   11112 
   11113 LTLIBOBJS=$ac_ltlibobjs
   11114 
   11115 
   11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11117 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11118    if test -n "$am_sleep_pid"; then
   11119      # Hide warnings about reused PIDs.
   11120      wait $am_sleep_pid 2>/dev/null
   11121    fi
   11122    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11123 $as_echo "done" >&6; }
   11124  if test -n "$EXEEXT"; then
   11125   am__EXEEXT_TRUE=
   11126   am__EXEEXT_FALSE='#'
   11127 else
   11128   am__EXEEXT_TRUE='#'
   11129   am__EXEEXT_FALSE=
   11130 fi
   11131 
   11132 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11133   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11135 fi
   11136 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11137   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11139 fi
   11140 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11141   as_fn_error $? "conditional \"LINT\" was never defined.
   11142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11143 fi
   11144 
   11145 : "${CONFIG_STATUS=./config.status}"
   11146 ac_write_fail=0
   11147 ac_clean_files_save=$ac_clean_files
   11148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11150 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11151 as_write_fail=0
   11152 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11153 #! $SHELL
   11154 # Generated by $as_me.
   11155 # Run this file to recreate the current configuration.
   11156 # Compiler output produced by configure, useful for debugging
   11157 # configure, is in config.log if it exists.
   11158 
   11159 debug=false
   11160 ac_cs_recheck=false
   11161 ac_cs_silent=false
   11162 
   11163 SHELL=\${CONFIG_SHELL-$SHELL}
   11164 export SHELL
   11165 _ASEOF
   11166 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11167 ## -------------------- ##
   11168 ## M4sh Initialization. ##
   11169 ## -------------------- ##
   11170 
   11171 # Be more Bourne compatible
   11172 DUALCASE=1; export DUALCASE # for MKS sh
   11173 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11174   emulate sh
   11175   NULLCMD=:
   11176   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11177   # is contrary to our usage.  Disable this feature.
   11178   alias -g '${1+"$@"}'='"$@"'
   11179   setopt NO_GLOB_SUBST
   11180 else
   11181   case `(set -o) 2>/dev/null` in #(
   11182   *posix*) :
   11183     set -o posix ;; #(
   11184   *) :
   11185      ;;
   11186 esac
   11187 fi
   11188 
   11189 
   11190 as_nl='
   11191 '
   11192 export as_nl
   11193 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11194 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11196 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11197 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11198 # but without wasting forks for bash or zsh.
   11199 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11200     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11201   as_echo='print -r --'
   11202   as_echo_n='print -rn --'
   11203 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11204   as_echo='printf %s\n'
   11205   as_echo_n='printf %s'
   11206 else
   11207   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11208     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11209     as_echo_n='/usr/ucb/echo -n'
   11210   else
   11211     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11212     as_echo_n_body='eval
   11213       arg=$1;
   11214       case $arg in #(
   11215       *"$as_nl"*)
   11216 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11217 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11218       esac;
   11219       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11220     '
   11221     export as_echo_n_body
   11222     as_echo_n='sh -c $as_echo_n_body as_echo'
   11223   fi
   11224   export as_echo_body
   11225   as_echo='sh -c $as_echo_body as_echo'
   11226 fi
   11227 
   11228 # The user is always right.
   11229 if test "${PATH_SEPARATOR+set}" != set; then
   11230   PATH_SEPARATOR=:
   11231   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11232     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11233       PATH_SEPARATOR=';'
   11234   }
   11235 fi
   11236 
   11237 
   11238 # IFS
   11239 # We need space, tab and new line, in precisely that order.  Quoting is
   11240 # there to prevent editors from complaining about space-tab.
   11241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11242 # splitting by setting IFS to empty value.)
   11243 IFS=" ""	$as_nl"
   11244 
   11245 # Find who we are.  Look in the path if we contain no directory separator.
   11246 as_myself=
   11247 case $0 in #((
   11248   *[\\/]* ) as_myself=$0 ;;
   11249   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11250 for as_dir in $PATH
   11251 do
   11252   IFS=$as_save_IFS
   11253   test -z "$as_dir" && as_dir=.
   11254     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11255   done
   11256 IFS=$as_save_IFS
   11257 
   11258      ;;
   11259 esac
   11260 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11261 # in which case we are not to be found in the path.
   11262 if test "x$as_myself" = x; then
   11263   as_myself=$0
   11264 fi
   11265 if test ! -f "$as_myself"; then
   11266   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11267   exit 1
   11268 fi
   11269 
   11270 # Unset variables that we do not need and which cause bugs (e.g. in
   11271 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11272 # suppresses any "Segmentation fault" message there.  '((' could
   11273 # trigger a bug in pdksh 5.2.14.
   11274 for as_var in BASH_ENV ENV MAIL MAILPATH
   11275 do eval test x\${$as_var+set} = xset \
   11276   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11277 done
   11278 PS1='$ '
   11279 PS2='> '
   11280 PS4='+ '
   11281 
   11282 # NLS nuisances.
   11283 LC_ALL=C
   11284 export LC_ALL
   11285 LANGUAGE=C
   11286 export LANGUAGE
   11287 
   11288 # CDPATH.
   11289 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11290 
   11291 
   11292 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11293 # ----------------------------------------
   11294 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11295 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11296 # script with STATUS, using 1 if that was 0.
   11297 as_fn_error ()
   11298 {
   11299   as_status=$1; test $as_status -eq 0 && as_status=1
   11300   if test "$4"; then
   11301     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11302     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11303   fi
   11304   $as_echo "$as_me: error: $2" >&2
   11305   as_fn_exit $as_status
   11306 } # as_fn_error
   11307 
   11308 
   11309 # as_fn_set_status STATUS
   11310 # -----------------------
   11311 # Set $? to STATUS, without forking.
   11312 as_fn_set_status ()
   11313 {
   11314   return $1
   11315 } # as_fn_set_status
   11316 
   11317 # as_fn_exit STATUS
   11318 # -----------------
   11319 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11320 as_fn_exit ()
   11321 {
   11322   set +e
   11323   as_fn_set_status $1
   11324   exit $1
   11325 } # as_fn_exit
   11326 
   11327 # as_fn_unset VAR
   11328 # ---------------
   11329 # Portably unset VAR.
   11330 as_fn_unset ()
   11331 {
   11332   { eval $1=; unset $1;}
   11333 }
   11334 as_unset=as_fn_unset
   11335 # as_fn_append VAR VALUE
   11336 # ----------------------
   11337 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11338 # advantage of any shell optimizations that allow amortized linear growth over
   11339 # repeated appends, instead of the typical quadratic growth present in naive
   11340 # implementations.
   11341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11342   eval 'as_fn_append ()
   11343   {
   11344     eval $1+=\$2
   11345   }'
   11346 else
   11347   as_fn_append ()
   11348   {
   11349     eval $1=\$$1\$2
   11350   }
   11351 fi # as_fn_append
   11352 
   11353 # as_fn_arith ARG...
   11354 # ------------------
   11355 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11357 # must be portable across $(()) and expr.
   11358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11359   eval 'as_fn_arith ()
   11360   {
   11361     as_val=$(( $* ))
   11362   }'
   11363 else
   11364   as_fn_arith ()
   11365   {
   11366     as_val=`expr "$@" || test $? -eq 1`
   11367   }
   11368 fi # as_fn_arith
   11369 
   11370 
   11371 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11372    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11373   as_expr=expr
   11374 else
   11375   as_expr=false
   11376 fi
   11377 
   11378 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11379   as_basename=basename
   11380 else
   11381   as_basename=false
   11382 fi
   11383 
   11384 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11385   as_dirname=dirname
   11386 else
   11387   as_dirname=false
   11388 fi
   11389 
   11390 as_me=`$as_basename -- "$0" ||
   11391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11392 	 X"$0" : 'X\(//\)$' \| \
   11393 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11394 $as_echo X/"$0" |
   11395     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11396 	    s//\1/
   11397 	    q
   11398 	  }
   11399 	  /^X\/\(\/\/\)$/{
   11400 	    s//\1/
   11401 	    q
   11402 	  }
   11403 	  /^X\/\(\/\).*/{
   11404 	    s//\1/
   11405 	    q
   11406 	  }
   11407 	  s/.*/./; q'`
   11408 
   11409 # Avoid depending upon Character Ranges.
   11410 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11411 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11412 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11413 as_cr_digits='0123456789'
   11414 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11415 
   11416 ECHO_C= ECHO_N= ECHO_T=
   11417 case `echo -n x` in #(((((
   11418 -n*)
   11419   case `echo 'xy\c'` in
   11420   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11421   xy)  ECHO_C='\c';;
   11422   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11423        ECHO_T='	';;
   11424   esac;;
   11425 *)
   11426   ECHO_N='-n';;
   11427 esac
   11428 
   11429 rm -f conf$$ conf$$.exe conf$$.file
   11430 if test -d conf$$.dir; then
   11431   rm -f conf$$.dir/conf$$.file
   11432 else
   11433   rm -f conf$$.dir
   11434   mkdir conf$$.dir 2>/dev/null
   11435 fi
   11436 if (echo >conf$$.file) 2>/dev/null; then
   11437   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11438     as_ln_s='ln -s'
   11439     # ... but there are two gotchas:
   11440     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11441     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11442     # In both cases, we have to default to `cp -p'.
   11443     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11444       as_ln_s='cp -p'
   11445   elif ln conf$$.file conf$$ 2>/dev/null; then
   11446     as_ln_s=ln
   11447   else
   11448     as_ln_s='cp -p'
   11449   fi
   11450 else
   11451   as_ln_s='cp -p'
   11452 fi
   11453 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11454 rmdir conf$$.dir 2>/dev/null
   11455 
   11456 
   11457 # as_fn_mkdir_p
   11458 # -------------
   11459 # Create "$as_dir" as a directory, including parents if necessary.
   11460 as_fn_mkdir_p ()
   11461 {
   11462 
   11463   case $as_dir in #(
   11464   -*) as_dir=./$as_dir;;
   11465   esac
   11466   test -d "$as_dir" || eval $as_mkdir_p || {
   11467     as_dirs=
   11468     while :; do
   11469       case $as_dir in #(
   11470       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11471       *) as_qdir=$as_dir;;
   11472       esac
   11473       as_dirs="'$as_qdir' $as_dirs"
   11474       as_dir=`$as_dirname -- "$as_dir" ||
   11475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11476 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11477 	 X"$as_dir" : 'X\(//\)$' \| \
   11478 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11479 $as_echo X"$as_dir" |
   11480     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11481 	    s//\1/
   11482 	    q
   11483 	  }
   11484 	  /^X\(\/\/\)[^/].*/{
   11485 	    s//\1/
   11486 	    q
   11487 	  }
   11488 	  /^X\(\/\/\)$/{
   11489 	    s//\1/
   11490 	    q
   11491 	  }
   11492 	  /^X\(\/\).*/{
   11493 	    s//\1/
   11494 	    q
   11495 	  }
   11496 	  s/.*/./; q'`
   11497       test -d "$as_dir" && break
   11498     done
   11499     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11500   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11501 
   11502 
   11503 } # as_fn_mkdir_p
   11504 if mkdir -p . 2>/dev/null; then
   11505   as_mkdir_p='mkdir -p "$as_dir"'
   11506 else
   11507   test -d ./-p && rmdir ./-p
   11508   as_mkdir_p=false
   11509 fi
   11510 
   11511 if test -x / >/dev/null 2>&1; then
   11512   as_test_x='test -x'
   11513 else
   11514   if ls -dL / >/dev/null 2>&1; then
   11515     as_ls_L_option=L
   11516   else
   11517     as_ls_L_option=
   11518   fi
   11519   as_test_x='
   11520     eval sh -c '\''
   11521       if test -d "$1"; then
   11522 	test -d "$1/.";
   11523       else
   11524 	case $1 in #(
   11525 	-*)set "./$1";;
   11526 	esac;
   11527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11528 	???[sx]*):;;*)false;;esac;fi
   11529     '\'' sh
   11530   '
   11531 fi
   11532 as_executable_p=$as_test_x
   11533 
   11534 # Sed expression to map a string onto a valid CPP name.
   11535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11536 
   11537 # Sed expression to map a string onto a valid variable name.
   11538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11539 
   11540 
   11541 exec 6>&1
   11542 ## ----------------------------------- ##
   11543 ## Main body of $CONFIG_STATUS script. ##
   11544 ## ----------------------------------- ##
   11545 _ASEOF
   11546 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11547 
   11548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11549 # Save the log message, to keep $0 and so on meaningful, and to
   11550 # report actual input values of CONFIG_FILES etc. instead of their
   11551 # values after options handling.
   11552 ac_log="
   11553 This file was extended by makedepend $as_me 1.0.5, which was
   11554 generated by GNU Autoconf 2.68.  Invocation command line was
   11555 
   11556   CONFIG_FILES    = $CONFIG_FILES
   11557   CONFIG_HEADERS  = $CONFIG_HEADERS
   11558   CONFIG_LINKS    = $CONFIG_LINKS
   11559   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11560   $ $0 $@
   11561 
   11562 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11563 "
   11564 
   11565 _ACEOF
   11566 
   11567 case $ac_config_files in *"
   11568 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11569 esac
   11570 
   11571 case $ac_config_headers in *"
   11572 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11573 esac
   11574 
   11575 
   11576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11577 # Files that config.status was made for.
   11578 config_files="$ac_config_files"
   11579 config_headers="$ac_config_headers"
   11580 config_commands="$ac_config_commands"
   11581 
   11582 _ACEOF
   11583 
   11584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11585 ac_cs_usage="\
   11586 \`$as_me' instantiates files and other configuration actions
   11587 from templates according to the current configuration.  Unless the files
   11588 and actions are specified as TAGs, all are instantiated by default.
   11589 
   11590 Usage: $0 [OPTION]... [TAG]...
   11591 
   11592   -h, --help       print this help, then exit
   11593   -V, --version    print version number and configuration settings, then exit
   11594       --config     print configuration, then exit
   11595   -q, --quiet, --silent
   11596                    do not print progress messages
   11597   -d, --debug      don't remove temporary files
   11598       --recheck    update $as_me by reconfiguring in the same conditions
   11599       --file=FILE[:TEMPLATE]
   11600                    instantiate the configuration file FILE
   11601       --header=FILE[:TEMPLATE]
   11602                    instantiate the configuration header FILE
   11603 
   11604 Configuration files:
   11605 $config_files
   11606 
   11607 Configuration headers:
   11608 $config_headers
   11609 
   11610 Configuration commands:
   11611 $config_commands
   11612 
   11613 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11614 
   11615 _ACEOF
   11616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11617 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11618 ac_cs_version="\\
   11619 makedepend config.status 1.0.5
   11620 configured by $0, generated by GNU Autoconf 2.68,
   11621   with options \\"\$ac_cs_config\\"
   11622 
   11623 Copyright (C) 2010 Free Software Foundation, Inc.
   11624 This config.status script is free software; the Free Software Foundation
   11625 gives unlimited permission to copy, distribute and modify it."
   11626 
   11627 ac_pwd='$ac_pwd'
   11628 srcdir='$srcdir'
   11629 INSTALL='$INSTALL'
   11630 MKDIR_P='$MKDIR_P'
   11631 AWK='$AWK'
   11632 test -n "\$AWK" || AWK=awk
   11633 _ACEOF
   11634 
   11635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11636 # The default lists apply if the user does not specify any file.
   11637 ac_need_defaults=:
   11638 while test $# != 0
   11639 do
   11640   case $1 in
   11641   --*=?*)
   11642     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11643     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11644     ac_shift=:
   11645     ;;
   11646   --*=)
   11647     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11648     ac_optarg=
   11649     ac_shift=:
   11650     ;;
   11651   *)
   11652     ac_option=$1
   11653     ac_optarg=$2
   11654     ac_shift=shift
   11655     ;;
   11656   esac
   11657 
   11658   case $ac_option in
   11659   # Handling of the options.
   11660   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11661     ac_cs_recheck=: ;;
   11662   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11663     $as_echo "$ac_cs_version"; exit ;;
   11664   --config | --confi | --conf | --con | --co | --c )
   11665     $as_echo "$ac_cs_config"; exit ;;
   11666   --debug | --debu | --deb | --de | --d | -d )
   11667     debug=: ;;
   11668   --file | --fil | --fi | --f )
   11669     $ac_shift
   11670     case $ac_optarg in
   11671     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11672     '') as_fn_error $? "missing file argument" ;;
   11673     esac
   11674     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11675     ac_need_defaults=false;;
   11676   --header | --heade | --head | --hea )
   11677     $ac_shift
   11678     case $ac_optarg in
   11679     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11680     esac
   11681     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11682     ac_need_defaults=false;;
   11683   --he | --h)
   11684     # Conflict between --help and --header
   11685     as_fn_error $? "ambiguous option: \`$1'
   11686 Try \`$0 --help' for more information.";;
   11687   --help | --hel | -h )
   11688     $as_echo "$ac_cs_usage"; exit ;;
   11689   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11690   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11691     ac_cs_silent=: ;;
   11692 
   11693   # This is an error.
   11694   -*) as_fn_error $? "unrecognized option: \`$1'
   11695 Try \`$0 --help' for more information." ;;
   11696 
   11697   *) as_fn_append ac_config_targets " $1"
   11698      ac_need_defaults=false ;;
   11699 
   11700   esac
   11701   shift
   11702 done
   11703 
   11704 ac_configure_extra_args=
   11705 
   11706 if $ac_cs_silent; then
   11707   exec 6>/dev/null
   11708   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11709 fi
   11710 
   11711 _ACEOF
   11712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11713 if \$ac_cs_recheck; then
   11714   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11715   shift
   11716   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11717   CONFIG_SHELL='$SHELL'
   11718   export CONFIG_SHELL
   11719   exec "\$@"
   11720 fi
   11721 
   11722 _ACEOF
   11723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11724 exec 5>>config.log
   11725 {
   11726   echo
   11727   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11728 ## Running $as_me. ##
   11729 _ASBOX
   11730   $as_echo "$ac_log"
   11731 } >&5
   11732 
   11733 _ACEOF
   11734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11735 #
   11736 # INIT-COMMANDS
   11737 #
   11738 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11739 
   11740 _ACEOF
   11741 
   11742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11743 
   11744 # Handling of arguments.
   11745 for ac_config_target in $ac_config_targets
   11746 do
   11747   case $ac_config_target in
   11748     "makedepend-config.h") CONFIG_HEADERS="$CONFIG_HEADERS makedepend-config.h" ;;
   11749     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11750     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11751 
   11752   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11753   esac
   11754 done
   11755 
   11756 
   11757 # If the user did not use the arguments to specify the items to instantiate,
   11758 # then the envvar interface is used.  Set only those that are not.
   11759 # We use the long form for the default assignment because of an extremely
   11760 # bizarre bug on SunOS 4.1.3.
   11761 if $ac_need_defaults; then
   11762   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11763   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11764   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11765 fi
   11766 
   11767 # Have a temporary directory for convenience.  Make it in the build tree
   11768 # simply because there is no reason against having it here, and in addition,
   11769 # creating and moving files from /tmp can sometimes cause problems.
   11770 # Hook for its removal unless debugging.
   11771 # Note that there is a small window in which the directory will not be cleaned:
   11772 # after its creation but before its name has been assigned to `$tmp'.
   11773 $debug ||
   11774 {
   11775   tmp= ac_tmp=
   11776   trap 'exit_status=$?
   11777   : "${ac_tmp:=$tmp}"
   11778   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11779 ' 0
   11780   trap 'as_fn_exit 1' 1 2 13 15
   11781 }
   11782 # Create a (secure) tmp directory for tmp files.
   11783 
   11784 {
   11785   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11786   test -d "$tmp"
   11787 }  ||
   11788 {
   11789   tmp=./conf$$-$RANDOM
   11790   (umask 077 && mkdir "$tmp")
   11791 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11792 ac_tmp=$tmp
   11793 
   11794 # Set up the scripts for CONFIG_FILES section.
   11795 # No need to generate them if there are no CONFIG_FILES.
   11796 # This happens for instance with `./config.status config.h'.
   11797 if test -n "$CONFIG_FILES"; then
   11798 
   11799 
   11800 ac_cr=`echo X | tr X '\015'`
   11801 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11802 # But we know of no other shell where ac_cr would be empty at this
   11803 # point, so we can use a bashism as a fallback.
   11804 if test "x$ac_cr" = x; then
   11805   eval ac_cr=\$\'\\r\'
   11806 fi
   11807 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11808 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11809   ac_cs_awk_cr='\\r'
   11810 else
   11811   ac_cs_awk_cr=$ac_cr
   11812 fi
   11813 
   11814 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11815 _ACEOF
   11816 
   11817 
   11818 {
   11819   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11820   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11821   echo "_ACEOF"
   11822 } >conf$$subs.sh ||
   11823   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11824 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11825 ac_delim='%!_!# '
   11826 for ac_last_try in false false false false false :; do
   11827   . ./conf$$subs.sh ||
   11828     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11829 
   11830   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11831   if test $ac_delim_n = $ac_delim_num; then
   11832     break
   11833   elif $ac_last_try; then
   11834     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11835   else
   11836     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11837   fi
   11838 done
   11839 rm -f conf$$subs.sh
   11840 
   11841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11842 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11843 _ACEOF
   11844 sed -n '
   11845 h
   11846 s/^/S["/; s/!.*/"]=/
   11847 p
   11848 g
   11849 s/^[^!]*!//
   11850 :repl
   11851 t repl
   11852 s/'"$ac_delim"'$//
   11853 t delim
   11854 :nl
   11855 h
   11856 s/\(.\{148\}\)..*/\1/
   11857 t more1
   11858 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11859 p
   11860 n
   11861 b repl
   11862 :more1
   11863 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11864 p
   11865 g
   11866 s/.\{148\}//
   11867 t nl
   11868 :delim
   11869 h
   11870 s/\(.\{148\}\)..*/\1/
   11871 t more2
   11872 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11873 p
   11874 b
   11875 :more2
   11876 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11877 p
   11878 g
   11879 s/.\{148\}//
   11880 t delim
   11881 ' <conf$$subs.awk | sed '
   11882 /^[^""]/{
   11883   N
   11884   s/\n//
   11885 }
   11886 ' >>$CONFIG_STATUS || ac_write_fail=1
   11887 rm -f conf$$subs.awk
   11888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11889 _ACAWK
   11890 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11891   for (key in S) S_is_set[key] = 1
   11892   FS = ""
   11893 
   11894 }
   11895 {
   11896   line = $ 0
   11897   nfields = split(line, field, "@")
   11898   substed = 0
   11899   len = length(field[1])
   11900   for (i = 2; i < nfields; i++) {
   11901     key = field[i]
   11902     keylen = length(key)
   11903     if (S_is_set[key]) {
   11904       value = S[key]
   11905       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11906       len += length(value) + length(field[++i])
   11907       substed = 1
   11908     } else
   11909       len += 1 + keylen
   11910   }
   11911 
   11912   print line
   11913 }
   11914 
   11915 _ACAWK
   11916 _ACEOF
   11917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11918 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11919   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11920 else
   11921   cat
   11922 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11923   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11924 _ACEOF
   11925 
   11926 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11927 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11928 # trailing colons and then remove the whole line if VPATH becomes empty
   11929 # (actually we leave an empty line to preserve line numbers).
   11930 if test "x$srcdir" = x.; then
   11931   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11932 h
   11933 s///
   11934 s/^/:/
   11935 s/[	 ]*$/:/
   11936 s/:\$(srcdir):/:/g
   11937 s/:\${srcdir}:/:/g
   11938 s/:@srcdir@:/:/g
   11939 s/^:*//
   11940 s/:*$//
   11941 x
   11942 s/\(=[	 ]*\).*/\1/
   11943 G
   11944 s/\n//
   11945 s/^[^=]*=[	 ]*$//
   11946 }'
   11947 fi
   11948 
   11949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11950 fi # test -n "$CONFIG_FILES"
   11951 
   11952 # Set up the scripts for CONFIG_HEADERS section.
   11953 # No need to generate them if there are no CONFIG_HEADERS.
   11954 # This happens for instance with `./config.status Makefile'.
   11955 if test -n "$CONFIG_HEADERS"; then
   11956 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11957 BEGIN {
   11958 _ACEOF
   11959 
   11960 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11961 # here-document in config.status, that substitutes the proper values into
   11962 # config.h.in to produce config.h.
   11963 
   11964 # Create a delimiter string that does not exist in confdefs.h, to ease
   11965 # handling of long lines.
   11966 ac_delim='%!_!# '
   11967 for ac_last_try in false false :; do
   11968   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11969   if test -z "$ac_tt"; then
   11970     break
   11971   elif $ac_last_try; then
   11972     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11973   else
   11974     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11975   fi
   11976 done
   11977 
   11978 # For the awk script, D is an array of macro values keyed by name,
   11979 # likewise P contains macro parameters if any.  Preserve backslash
   11980 # newline sequences.
   11981 
   11982 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11983 sed -n '
   11984 s/.\{148\}/&'"$ac_delim"'/g
   11985 t rset
   11986 :rset
   11987 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11988 t def
   11989 d
   11990 :def
   11991 s/\\$//
   11992 t bsnl
   11993 s/["\\]/\\&/g
   11994 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11995 D["\1"]=" \3"/p
   11996 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11997 d
   11998 :bsnl
   11999 s/["\\]/\\&/g
   12000 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12001 D["\1"]=" \3\\\\\\n"\\/p
   12002 t cont
   12003 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12004 t cont
   12005 d
   12006 :cont
   12007 n
   12008 s/.\{148\}/&'"$ac_delim"'/g
   12009 t clear
   12010 :clear
   12011 s/\\$//
   12012 t bsnlc
   12013 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12014 d
   12015 :bsnlc
   12016 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12017 b cont
   12018 ' <confdefs.h | sed '
   12019 s/'"$ac_delim"'/"\\\
   12020 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12021 
   12022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12023   for (key in D) D_is_set[key] = 1
   12024   FS = ""
   12025 }
   12026 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12027   line = \$ 0
   12028   split(line, arg, " ")
   12029   if (arg[1] == "#") {
   12030     defundef = arg[2]
   12031     mac1 = arg[3]
   12032   } else {
   12033     defundef = substr(arg[1], 2)
   12034     mac1 = arg[2]
   12035   }
   12036   split(mac1, mac2, "(") #)
   12037   macro = mac2[1]
   12038   prefix = substr(line, 1, index(line, defundef) - 1)
   12039   if (D_is_set[macro]) {
   12040     # Preserve the white space surrounding the "#".
   12041     print prefix "define", macro P[macro] D[macro]
   12042     next
   12043   } else {
   12044     # Replace #undef with comments.  This is necessary, for example,
   12045     # in the case of _POSIX_SOURCE, which is predefined and required
   12046     # on some systems where configure will not decide to define it.
   12047     if (defundef == "undef") {
   12048       print "/*", prefix defundef, macro, "*/"
   12049       next
   12050     }
   12051   }
   12052 }
   12053 { print }
   12054 _ACAWK
   12055 _ACEOF
   12056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12057   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12058 fi # test -n "$CONFIG_HEADERS"
   12059 
   12060 
   12061 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12062 shift
   12063 for ac_tag
   12064 do
   12065   case $ac_tag in
   12066   :[FHLC]) ac_mode=$ac_tag; continue;;
   12067   esac
   12068   case $ac_mode$ac_tag in
   12069   :[FHL]*:*);;
   12070   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12071   :[FH]-) ac_tag=-:-;;
   12072   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12073   esac
   12074   ac_save_IFS=$IFS
   12075   IFS=:
   12076   set x $ac_tag
   12077   IFS=$ac_save_IFS
   12078   shift
   12079   ac_file=$1
   12080   shift
   12081 
   12082   case $ac_mode in
   12083   :L) ac_source=$1;;
   12084   :[FH])
   12085     ac_file_inputs=
   12086     for ac_f
   12087     do
   12088       case $ac_f in
   12089       -) ac_f="$ac_tmp/stdin";;
   12090       *) # Look for the file first in the build tree, then in the source tree
   12091 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12092 	 # because $ac_f cannot contain `:'.
   12093 	 test -f "$ac_f" ||
   12094 	   case $ac_f in
   12095 	   [\\/$]*) false;;
   12096 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12097 	   esac ||
   12098 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12099       esac
   12100       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12101       as_fn_append ac_file_inputs " '$ac_f'"
   12102     done
   12103 
   12104     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12105     # use $as_me), people would be surprised to read:
   12106     #    /* config.h.  Generated by config.status.  */
   12107     configure_input='Generated from '`
   12108 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12109 	`' by configure.'
   12110     if test x"$ac_file" != x-; then
   12111       configure_input="$ac_file.  $configure_input"
   12112       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12113 $as_echo "$as_me: creating $ac_file" >&6;}
   12114     fi
   12115     # Neutralize special characters interpreted by sed in replacement strings.
   12116     case $configure_input in #(
   12117     *\&* | *\|* | *\\* )
   12118        ac_sed_conf_input=`$as_echo "$configure_input" |
   12119        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12120     *) ac_sed_conf_input=$configure_input;;
   12121     esac
   12122 
   12123     case $ac_tag in
   12124     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12125       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12126     esac
   12127     ;;
   12128   esac
   12129 
   12130   ac_dir=`$as_dirname -- "$ac_file" ||
   12131 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12132 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12133 	 X"$ac_file" : 'X\(//\)$' \| \
   12134 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12135 $as_echo X"$ac_file" |
   12136     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12137 	    s//\1/
   12138 	    q
   12139 	  }
   12140 	  /^X\(\/\/\)[^/].*/{
   12141 	    s//\1/
   12142 	    q
   12143 	  }
   12144 	  /^X\(\/\/\)$/{
   12145 	    s//\1/
   12146 	    q
   12147 	  }
   12148 	  /^X\(\/\).*/{
   12149 	    s//\1/
   12150 	    q
   12151 	  }
   12152 	  s/.*/./; q'`
   12153   as_dir="$ac_dir"; as_fn_mkdir_p
   12154   ac_builddir=.
   12155 
   12156 case "$ac_dir" in
   12157 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12158 *)
   12159   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12160   # A ".." for each directory in $ac_dir_suffix.
   12161   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12162   case $ac_top_builddir_sub in
   12163   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12164   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12165   esac ;;
   12166 esac
   12167 ac_abs_top_builddir=$ac_pwd
   12168 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12169 # for backward compatibility:
   12170 ac_top_builddir=$ac_top_build_prefix
   12171 
   12172 case $srcdir in
   12173   .)  # We are building in place.
   12174     ac_srcdir=.
   12175     ac_top_srcdir=$ac_top_builddir_sub
   12176     ac_abs_top_srcdir=$ac_pwd ;;
   12177   [\\/]* | ?:[\\/]* )  # Absolute name.
   12178     ac_srcdir=$srcdir$ac_dir_suffix;
   12179     ac_top_srcdir=$srcdir
   12180     ac_abs_top_srcdir=$srcdir ;;
   12181   *) # Relative name.
   12182     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12183     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12184     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12185 esac
   12186 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12187 
   12188 
   12189   case $ac_mode in
   12190   :F)
   12191   #
   12192   # CONFIG_FILE
   12193   #
   12194 
   12195   case $INSTALL in
   12196   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12197   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12198   esac
   12199   ac_MKDIR_P=$MKDIR_P
   12200   case $MKDIR_P in
   12201   [\\/$]* | ?:[\\/]* ) ;;
   12202   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12203   esac
   12204 _ACEOF
   12205 
   12206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12207 # If the template does not know about datarootdir, expand it.
   12208 # FIXME: This hack should be removed a few years after 2.60.
   12209 ac_datarootdir_hack=; ac_datarootdir_seen=
   12210 ac_sed_dataroot='
   12211 /datarootdir/ {
   12212   p
   12213   q
   12214 }
   12215 /@datadir@/p
   12216 /@docdir@/p
   12217 /@infodir@/p
   12218 /@localedir@/p
   12219 /@mandir@/p'
   12220 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12221 *datarootdir*) ac_datarootdir_seen=yes;;
   12222 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12223   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12224 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12225 _ACEOF
   12226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12227   ac_datarootdir_hack='
   12228   s&@datadir@&$datadir&g
   12229   s&@docdir@&$docdir&g
   12230   s&@infodir@&$infodir&g
   12231   s&@localedir@&$localedir&g
   12232   s&@mandir@&$mandir&g
   12233   s&\\\${datarootdir}&$datarootdir&g' ;;
   12234 esac
   12235 _ACEOF
   12236 
   12237 # Neutralize VPATH when `$srcdir' = `.'.
   12238 # Shell code in configure.ac might set extrasub.
   12239 # FIXME: do we really want to maintain this feature?
   12240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12241 ac_sed_extra="$ac_vpsub
   12242 $extrasub
   12243 _ACEOF
   12244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12245 :t
   12246 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12247 s|@configure_input@|$ac_sed_conf_input|;t t
   12248 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12249 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12250 s&@srcdir@&$ac_srcdir&;t t
   12251 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12252 s&@top_srcdir@&$ac_top_srcdir&;t t
   12253 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12254 s&@builddir@&$ac_builddir&;t t
   12255 s&@abs_builddir@&$ac_abs_builddir&;t t
   12256 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12257 s&@INSTALL@&$ac_INSTALL&;t t
   12258 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12259 $ac_datarootdir_hack
   12260 "
   12261 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12262   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12263 
   12264 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12265   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12266   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12267       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12268   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12269 which seems to be undefined.  Please make sure it is defined" >&5
   12270 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12271 which seems to be undefined.  Please make sure it is defined" >&2;}
   12272 
   12273   rm -f "$ac_tmp/stdin"
   12274   case $ac_file in
   12275   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12276   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12277   esac \
   12278   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12279  ;;
   12280   :H)
   12281   #
   12282   # CONFIG_HEADER
   12283   #
   12284   if test x"$ac_file" != x-; then
   12285     {
   12286       $as_echo "/* $configure_input  */" \
   12287       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12288     } >"$ac_tmp/config.h" \
   12289       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12290     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12291       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12292 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12293     else
   12294       rm -f "$ac_file"
   12295       mv "$ac_tmp/config.h" "$ac_file" \
   12296 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12297     fi
   12298   else
   12299     $as_echo "/* $configure_input  */" \
   12300       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12301       || as_fn_error $? "could not create -" "$LINENO" 5
   12302   fi
   12303 # Compute "$ac_file"'s index in $config_headers.
   12304 _am_arg="$ac_file"
   12305 _am_stamp_count=1
   12306 for _am_header in $config_headers :; do
   12307   case $_am_header in
   12308     $_am_arg | $_am_arg:* )
   12309       break ;;
   12310     * )
   12311       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12312   esac
   12313 done
   12314 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12315 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12316 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12317 	 X"$_am_arg" : 'X\(//\)$' \| \
   12318 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12319 $as_echo X"$_am_arg" |
   12320     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12321 	    s//\1/
   12322 	    q
   12323 	  }
   12324 	  /^X\(\/\/\)[^/].*/{
   12325 	    s//\1/
   12326 	    q
   12327 	  }
   12328 	  /^X\(\/\/\)$/{
   12329 	    s//\1/
   12330 	    q
   12331 	  }
   12332 	  /^X\(\/\).*/{
   12333 	    s//\1/
   12334 	    q
   12335 	  }
   12336 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12337  ;;
   12338 
   12339   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12340 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12341  ;;
   12342   esac
   12343 
   12344 
   12345   case $ac_file$ac_mode in
   12346     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12347   # Older Autoconf quotes --file arguments for eval, but not when files
   12348   # are listed without --file.  Let's play safe and only enable the eval
   12349   # if we detect the quoting.
   12350   case $CONFIG_FILES in
   12351   *\'*) eval set x "$CONFIG_FILES" ;;
   12352   *)   set x $CONFIG_FILES ;;
   12353   esac
   12354   shift
   12355   for mf
   12356   do
   12357     # Strip MF so we end up with the name of the file.
   12358     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12359     # Check whether this is an Automake generated Makefile or not.
   12360     # We used to match only the files named 'Makefile.in', but
   12361     # some people rename them; so instead we look at the file content.
   12362     # Grep'ing the first line is not enough: some people post-process
   12363     # each Makefile.in and add a new line on top of each file to say so.
   12364     # Grep'ing the whole file is not good either: AIX grep has a line
   12365     # limit of 2048, but all sed's we know have understand at least 4000.
   12366     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12367       dirpart=`$as_dirname -- "$mf" ||
   12368 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12369 	 X"$mf" : 'X\(//\)[^/]' \| \
   12370 	 X"$mf" : 'X\(//\)$' \| \
   12371 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12372 $as_echo X"$mf" |
   12373     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12374 	    s//\1/
   12375 	    q
   12376 	  }
   12377 	  /^X\(\/\/\)[^/].*/{
   12378 	    s//\1/
   12379 	    q
   12380 	  }
   12381 	  /^X\(\/\/\)$/{
   12382 	    s//\1/
   12383 	    q
   12384 	  }
   12385 	  /^X\(\/\).*/{
   12386 	    s//\1/
   12387 	    q
   12388 	  }
   12389 	  s/.*/./; q'`
   12390     else
   12391       continue
   12392     fi
   12393     # Extract the definition of DEPDIR, am__include, and am__quote
   12394     # from the Makefile without running 'make'.
   12395     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12396     test -z "$DEPDIR" && continue
   12397     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12398     test -z "$am__include" && continue
   12399     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12400     # Find all dependency output files, they are included files with
   12401     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12402     # simplest approach to changing $(DEPDIR) to its actual value in the
   12403     # expansion.
   12404     for file in `sed -n "
   12405       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12406 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12407       # Make sure the directory exists.
   12408       test -f "$dirpart/$file" && continue
   12409       fdir=`$as_dirname -- "$file" ||
   12410 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12411 	 X"$file" : 'X\(//\)[^/]' \| \
   12412 	 X"$file" : 'X\(//\)$' \| \
   12413 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12414 $as_echo X"$file" |
   12415     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12416 	    s//\1/
   12417 	    q
   12418 	  }
   12419 	  /^X\(\/\/\)[^/].*/{
   12420 	    s//\1/
   12421 	    q
   12422 	  }
   12423 	  /^X\(\/\/\)$/{
   12424 	    s//\1/
   12425 	    q
   12426 	  }
   12427 	  /^X\(\/\).*/{
   12428 	    s//\1/
   12429 	    q
   12430 	  }
   12431 	  s/.*/./; q'`
   12432       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12433       # echo "creating $dirpart/$file"
   12434       echo '# dummy' > "$dirpart/$file"
   12435     done
   12436   done
   12437 }
   12438  ;;
   12439 
   12440   esac
   12441 done # for ac_tag
   12442 
   12443 
   12444 as_fn_exit 0
   12445 _ACEOF
   12446 ac_clean_files=$ac_clean_files_save
   12447 
   12448 test $ac_write_fail = 0 ||
   12449   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12450 
   12451 
   12452 # configure is writing to config.log, and then calls config.status.
   12453 # config.status does its own redirection, appending to config.log.
   12454 # Unfortunately, on DOS this fails, as config.log is still kept open
   12455 # by configure, so config.status won't be able to write to it; its
   12456 # output is simply discarded.  So we exec the FD to /dev/null,
   12457 # effectively closing config.log, so it can be properly (re)opened and
   12458 # appended to by config.status.  When coming back to configure, we
   12459 # need to make the FD available again.
   12460 if test "$no_create" != yes; then
   12461   ac_cs_success=:
   12462   ac_config_status_args=
   12463   test "$silent" = yes &&
   12464     ac_config_status_args="$ac_config_status_args --quiet"
   12465   exec 5>/dev/null
   12466   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12467   exec 5>>config.log
   12468   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12469   # would make configure fail if this is the last instruction.
   12470   $ac_cs_success || as_fn_exit 1
   12471 fi
   12472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12473   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12475 fi
   12476 
   12477