Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for makedepend 1.0.4.
      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.4'
    565 PACKAGE_STRING='makedepend 1.0.4'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 X_LIBS
    610 X_CFLAGS
    611 LINT_FALSE
    612 LINT_TRUE
    613 LINT_FLAGS
    614 LINT
    615 AM_BACKSLASH
    616 AM_DEFAULT_VERBOSITY
    617 MAN_SUBSTS
    618 XORG_MAN_PAGE
    619 ADMIN_MAN_DIR
    620 DRIVER_MAN_DIR
    621 MISC_MAN_DIR
    622 FILE_MAN_DIR
    623 LIB_MAN_DIR
    624 APP_MAN_DIR
    625 ADMIN_MAN_SUFFIX
    626 DRIVER_MAN_SUFFIX
    627 MISC_MAN_SUFFIX
    628 FILE_MAN_SUFFIX
    629 LIB_MAN_SUFFIX
    630 APP_MAN_SUFFIX
    631 SED
    632 host_os
    633 host_vendor
    634 host_cpu
    635 host
    636 build_os
    637 build_vendor
    638 build_cpu
    639 build
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 EGREP
    647 GREP
    648 CPP
    649 am__fastdepCC_FALSE
    650 am__fastdepCC_TRUE
    651 CCDEPMODE
    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__untar
    666 am__tar
    667 AMTAR
    668 am__leading_dot
    669 SET_MAKE
    670 AWK
    671 mkdir_p
    672 MKDIR_P
    673 INSTALL_STRIP_PROGRAM
    674 STRIP
    675 install_sh
    676 MAKEINFO
    677 AUTOHEADER
    678 AUTOMAKE
    679 AUTOCONF
    680 ACLOCAL
    681 VERSION
    682 PACKAGE
    683 CYGPATH_W
    684 am__isrc
    685 INSTALL_DATA
    686 INSTALL_SCRIPT
    687 INSTALL_PROGRAM
    688 target_alias
    689 host_alias
    690 build_alias
    691 LIBS
    692 ECHO_T
    693 ECHO_N
    694 ECHO_C
    695 DEFS
    696 mandir
    697 localedir
    698 libdir
    699 psdir
    700 pdfdir
    701 dvidir
    702 htmldir
    703 infodir
    704 docdir
    705 oldincludedir
    706 includedir
    707 localstatedir
    708 sharedstatedir
    709 sysconfdir
    710 datadir
    711 datarootdir
    712 libexecdir
    713 sbindir
    714 bindir
    715 program_transform_name
    716 prefix
    717 exec_prefix
    718 PACKAGE_URL
    719 PACKAGE_BUGREPORT
    720 PACKAGE_STRING
    721 PACKAGE_VERSION
    722 PACKAGE_TARNAME
    723 PACKAGE_NAME
    724 PATH_SEPARATOR
    725 SHELL'
    726 ac_subst_files=''
    727 ac_user_opts='
    728 enable_option_checking
    729 enable_dependency_tracking
    730 enable_selective_werror
    731 enable_strict_compilation
    732 enable_silent_rules
    733 with_lint
    734 enable_largefile
    735 '
    736       ac_precious_vars='build_alias
    737 host_alias
    738 target_alias
    739 CC
    740 CFLAGS
    741 LDFLAGS
    742 LIBS
    743 CPPFLAGS
    744 CPP
    745 PKG_CONFIG
    746 LINT
    747 LINT_FLAGS
    748 X_CFLAGS
    749 X_LIBS'
    750 
    751 
    752 # Initialize some variables set by options.
    753 ac_init_help=
    754 ac_init_version=false
    755 ac_unrecognized_opts=
    756 ac_unrecognized_sep=
    757 # The variables have the same names as the options, with
    758 # dashes changed to underlines.
    759 cache_file=/dev/null
    760 exec_prefix=NONE
    761 no_create=
    762 no_recursion=
    763 prefix=NONE
    764 program_prefix=NONE
    765 program_suffix=NONE
    766 program_transform_name=s,x,x,
    767 silent=
    768 site=
    769 srcdir=
    770 verbose=
    771 x_includes=NONE
    772 x_libraries=NONE
    773 
    774 # Installation directory options.
    775 # These are left unexpanded so users can "make install exec_prefix=/foo"
    776 # and all the variables that are supposed to be based on exec_prefix
    777 # by default will actually change.
    778 # Use braces instead of parens because sh, perl, etc. also accept them.
    779 # (The list follows the same order as the GNU Coding Standards.)
    780 bindir='${exec_prefix}/bin'
    781 sbindir='${exec_prefix}/sbin'
    782 libexecdir='${exec_prefix}/libexec'
    783 datarootdir='${prefix}/share'
    784 datadir='${datarootdir}'
    785 sysconfdir='${prefix}/etc'
    786 sharedstatedir='${prefix}/com'
    787 localstatedir='${prefix}/var'
    788 includedir='${prefix}/include'
    789 oldincludedir='/usr/include'
    790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    791 infodir='${datarootdir}/info'
    792 htmldir='${docdir}'
    793 dvidir='${docdir}'
    794 pdfdir='${docdir}'
    795 psdir='${docdir}'
    796 libdir='${exec_prefix}/lib'
    797 localedir='${datarootdir}/locale'
    798 mandir='${datarootdir}/man'
    799 
    800 ac_prev=
    801 ac_dashdash=
    802 for ac_option
    803 do
    804   # If the previous option needs an argument, assign it.
    805   if test -n "$ac_prev"; then
    806     eval $ac_prev=\$ac_option
    807     ac_prev=
    808     continue
    809   fi
    810 
    811   case $ac_option in
    812   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    813   *=)   ac_optarg= ;;
    814   *)    ac_optarg=yes ;;
    815   esac
    816 
    817   # Accept the important Cygnus configure options, so we can diagnose typos.
    818 
    819   case $ac_dashdash$ac_option in
    820   --)
    821     ac_dashdash=yes ;;
    822 
    823   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    824     ac_prev=bindir ;;
    825   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    826     bindir=$ac_optarg ;;
    827 
    828   -build | --build | --buil | --bui | --bu)
    829     ac_prev=build_alias ;;
    830   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    831     build_alias=$ac_optarg ;;
    832 
    833   -cache-file | --cache-file | --cache-fil | --cache-fi \
    834   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    835     ac_prev=cache_file ;;
    836   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    837   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    838     cache_file=$ac_optarg ;;
    839 
    840   --config-cache | -C)
    841     cache_file=config.cache ;;
    842 
    843   -datadir | --datadir | --datadi | --datad)
    844     ac_prev=datadir ;;
    845   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    846     datadir=$ac_optarg ;;
    847 
    848   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    849   | --dataroo | --dataro | --datar)
    850     ac_prev=datarootdir ;;
    851   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    852   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    853     datarootdir=$ac_optarg ;;
    854 
    855   -disable-* | --disable-*)
    856     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    857     # Reject names that are not valid shell variable names.
    858     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    859       as_fn_error $? "invalid feature name: $ac_useropt"
    860     ac_useropt_orig=$ac_useropt
    861     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    862     case $ac_user_opts in
    863       *"
    864 "enable_$ac_useropt"
    865 "*) ;;
    866       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    867 	 ac_unrecognized_sep=', ';;
    868     esac
    869     eval enable_$ac_useropt=no ;;
    870 
    871   -docdir | --docdir | --docdi | --doc | --do)
    872     ac_prev=docdir ;;
    873   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    874     docdir=$ac_optarg ;;
    875 
    876   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    877     ac_prev=dvidir ;;
    878   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    879     dvidir=$ac_optarg ;;
    880 
    881   -enable-* | --enable-*)
    882     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    883     # Reject names that are not valid shell variable names.
    884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    885       as_fn_error $? "invalid feature name: $ac_useropt"
    886     ac_useropt_orig=$ac_useropt
    887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    888     case $ac_user_opts in
    889       *"
    890 "enable_$ac_useropt"
    891 "*) ;;
    892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    893 	 ac_unrecognized_sep=', ';;
    894     esac
    895     eval enable_$ac_useropt=\$ac_optarg ;;
    896 
    897   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    898   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    899   | --exec | --exe | --ex)
    900     ac_prev=exec_prefix ;;
    901   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    902   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    903   | --exec=* | --exe=* | --ex=*)
    904     exec_prefix=$ac_optarg ;;
    905 
    906   -gas | --gas | --ga | --g)
    907     # Obsolete; use --with-gas.
    908     with_gas=yes ;;
    909 
    910   -help | --help | --hel | --he | -h)
    911     ac_init_help=long ;;
    912   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    913     ac_init_help=recursive ;;
    914   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    915     ac_init_help=short ;;
    916 
    917   -host | --host | --hos | --ho)
    918     ac_prev=host_alias ;;
    919   -host=* | --host=* | --hos=* | --ho=*)
    920     host_alias=$ac_optarg ;;
    921 
    922   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    923     ac_prev=htmldir ;;
    924   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    925   | --ht=*)
    926     htmldir=$ac_optarg ;;
    927 
    928   -includedir | --includedir | --includedi | --included | --include \
    929   | --includ | --inclu | --incl | --inc)
    930     ac_prev=includedir ;;
    931   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    932   | --includ=* | --inclu=* | --incl=* | --inc=*)
    933     includedir=$ac_optarg ;;
    934 
    935   -infodir | --infodir | --infodi | --infod | --info | --inf)
    936     ac_prev=infodir ;;
    937   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    938     infodir=$ac_optarg ;;
    939 
    940   -libdir | --libdir | --libdi | --libd)
    941     ac_prev=libdir ;;
    942   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    943     libdir=$ac_optarg ;;
    944 
    945   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    946   | --libexe | --libex | --libe)
    947     ac_prev=libexecdir ;;
    948   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    949   | --libexe=* | --libex=* | --libe=*)
    950     libexecdir=$ac_optarg ;;
    951 
    952   -localedir | --localedir | --localedi | --localed | --locale)
    953     ac_prev=localedir ;;
    954   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    955     localedir=$ac_optarg ;;
    956 
    957   -localstatedir | --localstatedir | --localstatedi | --localstated \
    958   | --localstate | --localstat | --localsta | --localst | --locals)
    959     ac_prev=localstatedir ;;
    960   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    961   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    962     localstatedir=$ac_optarg ;;
    963 
    964   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    965     ac_prev=mandir ;;
    966   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    967     mandir=$ac_optarg ;;
    968 
    969   -nfp | --nfp | --nf)
    970     # Obsolete; use --without-fp.
    971     with_fp=no ;;
    972 
    973   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    974   | --no-cr | --no-c | -n)
    975     no_create=yes ;;
    976 
    977   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    978   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    979     no_recursion=yes ;;
    980 
    981   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    982   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    983   | --oldin | --oldi | --old | --ol | --o)
    984     ac_prev=oldincludedir ;;
    985   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    986   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    987   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    988     oldincludedir=$ac_optarg ;;
    989 
    990   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    991     ac_prev=prefix ;;
    992   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    993     prefix=$ac_optarg ;;
    994 
    995   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    996   | --program-pre | --program-pr | --program-p)
    997     ac_prev=program_prefix ;;
    998   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    999   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1000     program_prefix=$ac_optarg ;;
   1001 
   1002   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1003   | --program-suf | --program-su | --program-s)
   1004     ac_prev=program_suffix ;;
   1005   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1006   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1007     program_suffix=$ac_optarg ;;
   1008 
   1009   -program-transform-name | --program-transform-name \
   1010   | --program-transform-nam | --program-transform-na \
   1011   | --program-transform-n | --program-transform- \
   1012   | --program-transform | --program-transfor \
   1013   | --program-transfo | --program-transf \
   1014   | --program-trans | --program-tran \
   1015   | --progr-tra | --program-tr | --program-t)
   1016     ac_prev=program_transform_name ;;
   1017   -program-transform-name=* | --program-transform-name=* \
   1018   | --program-transform-nam=* | --program-transform-na=* \
   1019   | --program-transform-n=* | --program-transform-=* \
   1020   | --program-transform=* | --program-transfor=* \
   1021   | --program-transfo=* | --program-transf=* \
   1022   | --program-trans=* | --program-tran=* \
   1023   | --progr-tra=* | --program-tr=* | --program-t=*)
   1024     program_transform_name=$ac_optarg ;;
   1025 
   1026   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1027     ac_prev=pdfdir ;;
   1028   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1029     pdfdir=$ac_optarg ;;
   1030 
   1031   -psdir | --psdir | --psdi | --psd | --ps)
   1032     ac_prev=psdir ;;
   1033   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1034     psdir=$ac_optarg ;;
   1035 
   1036   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1037   | -silent | --silent | --silen | --sile | --sil)
   1038     silent=yes ;;
   1039 
   1040   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1041     ac_prev=sbindir ;;
   1042   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1043   | --sbi=* | --sb=*)
   1044     sbindir=$ac_optarg ;;
   1045 
   1046   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1047   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1048   | --sharedst | --shareds | --shared | --share | --shar \
   1049   | --sha | --sh)
   1050     ac_prev=sharedstatedir ;;
   1051   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1052   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1053   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1054   | --sha=* | --sh=*)
   1055     sharedstatedir=$ac_optarg ;;
   1056 
   1057   -site | --site | --sit)
   1058     ac_prev=site ;;
   1059   -site=* | --site=* | --sit=*)
   1060     site=$ac_optarg ;;
   1061 
   1062   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1063     ac_prev=srcdir ;;
   1064   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1065     srcdir=$ac_optarg ;;
   1066 
   1067   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1068   | --syscon | --sysco | --sysc | --sys | --sy)
   1069     ac_prev=sysconfdir ;;
   1070   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1071   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1072     sysconfdir=$ac_optarg ;;
   1073 
   1074   -target | --target | --targe | --targ | --tar | --ta | --t)
   1075     ac_prev=target_alias ;;
   1076   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1077     target_alias=$ac_optarg ;;
   1078 
   1079   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1080     verbose=yes ;;
   1081 
   1082   -version | --version | --versio | --versi | --vers | -V)
   1083     ac_init_version=: ;;
   1084 
   1085   -with-* | --with-*)
   1086     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1087     # Reject names that are not valid shell variable names.
   1088     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1089       as_fn_error $? "invalid package name: $ac_useropt"
   1090     ac_useropt_orig=$ac_useropt
   1091     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1092     case $ac_user_opts in
   1093       *"
   1094 "with_$ac_useropt"
   1095 "*) ;;
   1096       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1097 	 ac_unrecognized_sep=', ';;
   1098     esac
   1099     eval with_$ac_useropt=\$ac_optarg ;;
   1100 
   1101   -without-* | --without-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=no ;;
   1116 
   1117   --x)
   1118     # Obsolete; use --with-x.
   1119     with_x=yes ;;
   1120 
   1121   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1122   | --x-incl | --x-inc | --x-in | --x-i)
   1123     ac_prev=x_includes ;;
   1124   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1125   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1126     x_includes=$ac_optarg ;;
   1127 
   1128   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1129   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1130     ac_prev=x_libraries ;;
   1131   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1132   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1133     x_libraries=$ac_optarg ;;
   1134 
   1135   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1136 Try \`$0 --help' for more information"
   1137     ;;
   1138 
   1139   *=*)
   1140     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1141     # Reject names that are not valid shell variable names.
   1142     case $ac_envvar in #(
   1143       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1144       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1145     esac
   1146     eval $ac_envvar=\$ac_optarg
   1147     export $ac_envvar ;;
   1148 
   1149   *)
   1150     # FIXME: should be removed in autoconf 3.0.
   1151     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1152     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1153       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1154     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1155     ;;
   1156 
   1157   esac
   1158 done
   1159 
   1160 if test -n "$ac_prev"; then
   1161   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1162   as_fn_error $? "missing argument to $ac_option"
   1163 fi
   1164 
   1165 if test -n "$ac_unrecognized_opts"; then
   1166   case $enable_option_checking in
   1167     no) ;;
   1168     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1169     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1170   esac
   1171 fi
   1172 
   1173 # Check all directory arguments for consistency.
   1174 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1175 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1176 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1177 		libdir localedir mandir
   1178 do
   1179   eval ac_val=\$$ac_var
   1180   # Remove trailing slashes.
   1181   case $ac_val in
   1182     */ )
   1183       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1184       eval $ac_var=\$ac_val;;
   1185   esac
   1186   # Be sure to have absolute directory names.
   1187   case $ac_val in
   1188     [\\/$]* | ?:[\\/]* )  continue;;
   1189     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1190   esac
   1191   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1192 done
   1193 
   1194 # There might be people who depend on the old broken behavior: `$host'
   1195 # used to hold the argument of --host etc.
   1196 # FIXME: To remove some day.
   1197 build=$build_alias
   1198 host=$host_alias
   1199 target=$target_alias
   1200 
   1201 # FIXME: To remove some day.
   1202 if test "x$host_alias" != x; then
   1203   if test "x$build_alias" = x; then
   1204     cross_compiling=maybe
   1205     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1206     If a cross compiler is detected then cross compile mode will be used" >&2
   1207   elif test "x$build_alias" != "x$host_alias"; then
   1208     cross_compiling=yes
   1209   fi
   1210 fi
   1211 
   1212 ac_tool_prefix=
   1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1214 
   1215 test "$silent" = yes && exec 6>/dev/null
   1216 
   1217 
   1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1219 ac_ls_di=`ls -di .` &&
   1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1221   as_fn_error $? "working directory cannot be determined"
   1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1223   as_fn_error $? "pwd does not report name of working directory"
   1224 
   1225 
   1226 # Find the source files, if location was not specified.
   1227 if test -z "$srcdir"; then
   1228   ac_srcdir_defaulted=yes
   1229   # Try the directory containing this script, then the parent directory.
   1230   ac_confdir=`$as_dirname -- "$as_myself" ||
   1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1232 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1233 	 X"$as_myself" : 'X\(//\)$' \| \
   1234 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1235 $as_echo X"$as_myself" |
   1236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1237 	    s//\1/
   1238 	    q
   1239 	  }
   1240 	  /^X\(\/\/\)[^/].*/{
   1241 	    s//\1/
   1242 	    q
   1243 	  }
   1244 	  /^X\(\/\/\)$/{
   1245 	    s//\1/
   1246 	    q
   1247 	  }
   1248 	  /^X\(\/\).*/{
   1249 	    s//\1/
   1250 	    q
   1251 	  }
   1252 	  s/.*/./; q'`
   1253   srcdir=$ac_confdir
   1254   if test ! -r "$srcdir/$ac_unique_file"; then
   1255     srcdir=..
   1256   fi
   1257 else
   1258   ac_srcdir_defaulted=no
   1259 fi
   1260 if test ! -r "$srcdir/$ac_unique_file"; then
   1261   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1262   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1263 fi
   1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1265 ac_abs_confdir=`(
   1266 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1267 	pwd)`
   1268 # When building in place, set srcdir=.
   1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1270   srcdir=.
   1271 fi
   1272 # Remove unnecessary trailing slashes from srcdir.
   1273 # Double slashes in file names in object file debugging info
   1274 # mess up M-x gdb in Emacs.
   1275 case $srcdir in
   1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1277 esac
   1278 for ac_var in $ac_precious_vars; do
   1279   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1280   eval ac_env_${ac_var}_value=\$${ac_var}
   1281   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1282   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1283 done
   1284 
   1285 #
   1286 # Report the --help message.
   1287 #
   1288 if test "$ac_init_help" = "long"; then
   1289   # Omit some internal or obsolete options to make the list less imposing.
   1290   # This message is too long to be a string in the A/UX 3.1 sh.
   1291   cat <<_ACEOF
   1292 \`configure' configures makedepend 1.0.4 to adapt to many kinds of systems.
   1293 
   1294 Usage: $0 [OPTION]... [VAR=VALUE]...
   1295 
   1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1297 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1298 
   1299 Defaults for the options are specified in brackets.
   1300 
   1301 Configuration:
   1302   -h, --help              display this help and exit
   1303       --help=short        display options specific to this package
   1304       --help=recursive    display the short help of all the included packages
   1305   -V, --version           display version information and exit
   1306   -q, --quiet, --silent   do not print \`checking ...' messages
   1307       --cache-file=FILE   cache test results in FILE [disabled]
   1308   -C, --config-cache      alias for \`--cache-file=config.cache'
   1309   -n, --no-create         do not create output files
   1310       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1311 
   1312 Installation directories:
   1313   --prefix=PREFIX         install architecture-independent files in PREFIX
   1314                           [$ac_default_prefix]
   1315   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1316                           [PREFIX]
   1317 
   1318 By default, \`make install' will install all the files in
   1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1321 for instance \`--prefix=\$HOME'.
   1322 
   1323 For better control, use the options below.
   1324 
   1325 Fine tuning of the installation directories:
   1326   --bindir=DIR            user executables [EPREFIX/bin]
   1327   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1328   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1329   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1330   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1331   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1332   --libdir=DIR            object code libraries [EPREFIX/lib]
   1333   --includedir=DIR        C header files [PREFIX/include]
   1334   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1335   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1336   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1337   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1338   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1339   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1340   --docdir=DIR            documentation root [DATAROOTDIR/doc/makedepend]
   1341   --htmldir=DIR           html documentation [DOCDIR]
   1342   --dvidir=DIR            dvi documentation [DOCDIR]
   1343   --pdfdir=DIR            pdf documentation [DOCDIR]
   1344   --psdir=DIR             ps documentation [DOCDIR]
   1345 _ACEOF
   1346 
   1347   cat <<\_ACEOF
   1348 
   1349 Program names:
   1350   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1351   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1352   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1353 
   1354 System types:
   1355   --build=BUILD     configure for building on BUILD [guessed]
   1356   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1357 _ACEOF
   1358 fi
   1359 
   1360 if test -n "$ac_init_help"; then
   1361   case $ac_init_help in
   1362      short | recursive ) echo "Configuration of makedepend 1.0.4:";;
   1363    esac
   1364   cat <<\_ACEOF
   1365 
   1366 Optional Features:
   1367   --disable-option-checking  ignore unrecognized --enable/--with options
   1368   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1369   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1370   --disable-dependency-tracking  speeds up one-time build
   1371   --enable-dependency-tracking   do not reject slow dependency extractors
   1372   --disable-selective-werror
   1373                           Turn off selective compiler errors. (default:
   1374                           enabled)
   1375   --enable-strict-compilation
   1376                           Enable all warnings from compiler and make them
   1377                           errors (default: disabled)
   1378   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1379   --disable-silent-rules         verbose build output (undo: `make V=0')
   1380   --disable-largefile     omit support for large files
   1381 
   1382 Optional Packages:
   1383   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1384   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1385   --with-lint             Use a lint-style source code checker (default:
   1386                           disabled)
   1387 
   1388 Some influential environment variables:
   1389   CC          C compiler command
   1390   CFLAGS      C compiler flags
   1391   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1392               nonstandard directory <lib dir>
   1393   LIBS        libraries to pass to the linker, e.g. -l<library>
   1394   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1395               you have headers in a nonstandard directory <include dir>
   1396   CPP         C preprocessor
   1397   PKG_CONFIG  path to pkg-config utility
   1398   LINT        Path to a lint-style command
   1399   LINT_FLAGS  Flags for the lint-style command
   1400   X_CFLAGS    C compiler flags for X, overriding pkg-config
   1401   X_LIBS      linker flags for X, overriding pkg-config
   1402 
   1403 Use these variables to override the choices made by `configure' or to help
   1404 it to find libraries and programs with nonstandard names/locations.
   1405 
   1406 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1407 _ACEOF
   1408 ac_status=$?
   1409 fi
   1410 
   1411 if test "$ac_init_help" = "recursive"; then
   1412   # If there are subdirs, report their specific --help.
   1413   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1414     test -d "$ac_dir" ||
   1415       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1416       continue
   1417     ac_builddir=.
   1418 
   1419 case "$ac_dir" in
   1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1421 *)
   1422   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1423   # A ".." for each directory in $ac_dir_suffix.
   1424   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1425   case $ac_top_builddir_sub in
   1426   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1427   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1428   esac ;;
   1429 esac
   1430 ac_abs_top_builddir=$ac_pwd
   1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1432 # for backward compatibility:
   1433 ac_top_builddir=$ac_top_build_prefix
   1434 
   1435 case $srcdir in
   1436   .)  # We are building in place.
   1437     ac_srcdir=.
   1438     ac_top_srcdir=$ac_top_builddir_sub
   1439     ac_abs_top_srcdir=$ac_pwd ;;
   1440   [\\/]* | ?:[\\/]* )  # Absolute name.
   1441     ac_srcdir=$srcdir$ac_dir_suffix;
   1442     ac_top_srcdir=$srcdir
   1443     ac_abs_top_srcdir=$srcdir ;;
   1444   *) # Relative name.
   1445     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1446     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1447     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1448 esac
   1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1450 
   1451     cd "$ac_dir" || { ac_status=$?; continue; }
   1452     # Check for guested configure.
   1453     if test -f "$ac_srcdir/configure.gnu"; then
   1454       echo &&
   1455       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1456     elif test -f "$ac_srcdir/configure"; then
   1457       echo &&
   1458       $SHELL "$ac_srcdir/configure" --help=recursive
   1459     else
   1460       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1461     fi || ac_status=$?
   1462     cd "$ac_pwd" || { ac_status=$?; break; }
   1463   done
   1464 fi
   1465 
   1466 test -n "$ac_init_help" && exit $ac_status
   1467 if $ac_init_version; then
   1468   cat <<\_ACEOF
   1469 makedepend configure 1.0.4
   1470 generated by GNU Autoconf 2.68
   1471 
   1472 Copyright (C) 2010 Free Software Foundation, Inc.
   1473 This configure script is free software; the Free Software Foundation
   1474 gives unlimited permission to copy, distribute and modify it.
   1475 _ACEOF
   1476   exit
   1477 fi
   1478 
   1479 ## ------------------------ ##
   1480 ## Autoconf initialization. ##
   1481 ## ------------------------ ##
   1482 
   1483 # ac_fn_c_try_compile LINENO
   1484 # --------------------------
   1485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1486 ac_fn_c_try_compile ()
   1487 {
   1488   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1489   rm -f conftest.$ac_objext
   1490   if { { ac_try="$ac_compile"
   1491 case "(($ac_try" in
   1492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1493   *) ac_try_echo=$ac_try;;
   1494 esac
   1495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1496 $as_echo "$ac_try_echo"; } >&5
   1497   (eval "$ac_compile") 2>conftest.err
   1498   ac_status=$?
   1499   if test -s conftest.err; then
   1500     grep -v '^ *+' conftest.err >conftest.er1
   1501     cat conftest.er1 >&5
   1502     mv -f conftest.er1 conftest.err
   1503   fi
   1504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1505   test $ac_status = 0; } && {
   1506 	 test -z "$ac_c_werror_flag" ||
   1507 	 test ! -s conftest.err
   1508        } && test -s conftest.$ac_objext; then :
   1509   ac_retval=0
   1510 else
   1511   $as_echo "$as_me: failed program was:" >&5
   1512 sed 's/^/| /' conftest.$ac_ext >&5
   1513 
   1514 	ac_retval=1
   1515 fi
   1516   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1517   as_fn_set_status $ac_retval
   1518 
   1519 } # ac_fn_c_try_compile
   1520 
   1521 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1522 # ---------------------------------------------
   1523 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1524 # accordingly.
   1525 ac_fn_c_check_decl ()
   1526 {
   1527   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1528   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1529   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1531 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1532 if eval \${$3+:} false; then :
   1533   $as_echo_n "(cached) " >&6
   1534 else
   1535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1536 /* end confdefs.h.  */
   1537 $4
   1538 int
   1539 main ()
   1540 {
   1541 #ifndef $as_decl_name
   1542 #ifdef __cplusplus
   1543   (void) $as_decl_use;
   1544 #else
   1545   (void) $as_decl_name;
   1546 #endif
   1547 #endif
   1548 
   1549   ;
   1550   return 0;
   1551 }
   1552 _ACEOF
   1553 if ac_fn_c_try_compile "$LINENO"; then :
   1554   eval "$3=yes"
   1555 else
   1556   eval "$3=no"
   1557 fi
   1558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1559 fi
   1560 eval ac_res=\$$3
   1561 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1562 $as_echo "$ac_res" >&6; }
   1563   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1564 
   1565 } # ac_fn_c_check_decl
   1566 
   1567 # ac_fn_c_try_cpp LINENO
   1568 # ----------------------
   1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1570 ac_fn_c_try_cpp ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1574 case "(($ac_try" in
   1575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1576   *) ac_try_echo=$ac_try;;
   1577 esac
   1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1579 $as_echo "$ac_try_echo"; } >&5
   1580   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1581   ac_status=$?
   1582   if test -s conftest.err; then
   1583     grep -v '^ *+' conftest.err >conftest.er1
   1584     cat conftest.er1 >&5
   1585     mv -f conftest.er1 conftest.err
   1586   fi
   1587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1588   test $ac_status = 0; } > conftest.i && {
   1589 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1590 	 test ! -s conftest.err
   1591        }; then :
   1592   ac_retval=0
   1593 else
   1594   $as_echo "$as_me: failed program was:" >&5
   1595 sed 's/^/| /' conftest.$ac_ext >&5
   1596 
   1597     ac_retval=1
   1598 fi
   1599   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1600   as_fn_set_status $ac_retval
   1601 
   1602 } # ac_fn_c_try_cpp
   1603 
   1604 # ac_fn_c_try_run LINENO
   1605 # ----------------------
   1606 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1607 # that executables *can* be run.
   1608 ac_fn_c_try_run ()
   1609 {
   1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1611   if { { ac_try="$ac_link"
   1612 case "(($ac_try" in
   1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1614   *) ac_try_echo=$ac_try;;
   1615 esac
   1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1617 $as_echo "$ac_try_echo"; } >&5
   1618   (eval "$ac_link") 2>&5
   1619   ac_status=$?
   1620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1621   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1622   { { case "(($ac_try" in
   1623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1624   *) ac_try_echo=$ac_try;;
   1625 esac
   1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1627 $as_echo "$ac_try_echo"; } >&5
   1628   (eval "$ac_try") 2>&5
   1629   ac_status=$?
   1630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1631   test $ac_status = 0; }; }; then :
   1632   ac_retval=0
   1633 else
   1634   $as_echo "$as_me: program exited with status $ac_status" >&5
   1635        $as_echo "$as_me: failed program was:" >&5
   1636 sed 's/^/| /' conftest.$ac_ext >&5
   1637 
   1638        ac_retval=$ac_status
   1639 fi
   1640   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1641   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1642   as_fn_set_status $ac_retval
   1643 
   1644 } # ac_fn_c_try_run
   1645 
   1646 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1647 # -------------------------------------------------------
   1648 # Tests whether HEADER exists and can be compiled using the include files in
   1649 # INCLUDES, setting the cache variable VAR accordingly.
   1650 ac_fn_c_check_header_compile ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1654 $as_echo_n "checking for $2... " >&6; }
   1655 if eval \${$3+:} false; then :
   1656   $as_echo_n "(cached) " >&6
   1657 else
   1658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1659 /* end confdefs.h.  */
   1660 $4
   1661 #include <$2>
   1662 _ACEOF
   1663 if ac_fn_c_try_compile "$LINENO"; then :
   1664   eval "$3=yes"
   1665 else
   1666   eval "$3=no"
   1667 fi
   1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1669 fi
   1670 eval ac_res=\$$3
   1671 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1672 $as_echo "$ac_res" >&6; }
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674 
   1675 } # ac_fn_c_check_header_compile
   1676 
   1677 # ac_fn_c_try_link LINENO
   1678 # -----------------------
   1679 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1680 ac_fn_c_try_link ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   rm -f conftest.$ac_objext conftest$ac_exeext
   1684   if { { ac_try="$ac_link"
   1685 case "(($ac_try" in
   1686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1687   *) ac_try_echo=$ac_try;;
   1688 esac
   1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1690 $as_echo "$ac_try_echo"; } >&5
   1691   (eval "$ac_link") 2>conftest.err
   1692   ac_status=$?
   1693   if test -s conftest.err; then
   1694     grep -v '^ *+' conftest.err >conftest.er1
   1695     cat conftest.er1 >&5
   1696     mv -f conftest.er1 conftest.err
   1697   fi
   1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1699   test $ac_status = 0; } && {
   1700 	 test -z "$ac_c_werror_flag" ||
   1701 	 test ! -s conftest.err
   1702        } && test -s conftest$ac_exeext && {
   1703 	 test "$cross_compiling" = yes ||
   1704 	 $as_test_x conftest$ac_exeext
   1705        }; then :
   1706   ac_retval=0
   1707 else
   1708   $as_echo "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711 	ac_retval=1
   1712 fi
   1713   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1714   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1715   # interfere with the next link command; also delete a directory that is
   1716   # left behind by Apple's compiler.  We do this before executing the actions.
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_link
   1722 
   1723 # ac_fn_c_check_func LINENO FUNC VAR
   1724 # ----------------------------------
   1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1726 ac_fn_c_check_func ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1738 #define $2 innocuous_$2
   1739 
   1740 /* System header to define __stub macros and hopefully few prototypes,
   1741     which can conflict with char $2 (); below.
   1742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1743     <limits.h> exists even on freestanding compilers.  */
   1744 
   1745 #ifdef __STDC__
   1746 # include <limits.h>
   1747 #else
   1748 # include <assert.h>
   1749 #endif
   1750 
   1751 #undef $2
   1752 
   1753 /* Override any GCC internal prototype to avoid an error.
   1754    Use char because int might match the return type of a GCC
   1755    builtin and then its argument prototype would still apply.  */
   1756 #ifdef __cplusplus
   1757 extern "C"
   1758 #endif
   1759 char $2 ();
   1760 /* The GNU C library defines this for functions which it implements
   1761     to always fail with ENOSYS.  Some functions are actually named
   1762     something starting with __ and the normal name is an alias.  */
   1763 #if defined __stub_$2 || defined __stub___$2
   1764 choke me
   1765 #endif
   1766 
   1767 int
   1768 main ()
   1769 {
   1770 return $2 ();
   1771   ;
   1772   return 0;
   1773 }
   1774 _ACEOF
   1775 if ac_fn_c_try_link "$LINENO"; then :
   1776   eval "$3=yes"
   1777 else
   1778   eval "$3=no"
   1779 fi
   1780 rm -f core conftest.err conftest.$ac_objext \
   1781     conftest$ac_exeext conftest.$ac_ext
   1782 fi
   1783 eval ac_res=\$$3
   1784 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1785 $as_echo "$ac_res" >&6; }
   1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1787 
   1788 } # ac_fn_c_check_func
   1789 cat >config.log <<_ACEOF
   1790 This file contains any messages produced by compilers while
   1791 running configure, to aid debugging if configure makes a mistake.
   1792 
   1793 It was created by makedepend $as_me 1.0.4, which was
   1794 generated by GNU Autoconf 2.68.  Invocation command line was
   1795 
   1796   $ $0 $@
   1797 
   1798 _ACEOF
   1799 exec 5>>config.log
   1800 {
   1801 cat <<_ASUNAME
   1802 ## --------- ##
   1803 ## Platform. ##
   1804 ## --------- ##
   1805 
   1806 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1807 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1808 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1809 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1810 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1811 
   1812 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1813 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1814 
   1815 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1816 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1817 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1818 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1819 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1820 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1821 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1822 
   1823 _ASUNAME
   1824 
   1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1826 for as_dir in $PATH
   1827 do
   1828   IFS=$as_save_IFS
   1829   test -z "$as_dir" && as_dir=.
   1830     $as_echo "PATH: $as_dir"
   1831   done
   1832 IFS=$as_save_IFS
   1833 
   1834 } >&5
   1835 
   1836 cat >&5 <<_ACEOF
   1837 
   1838 
   1839 ## ----------- ##
   1840 ## Core tests. ##
   1841 ## ----------- ##
   1842 
   1843 _ACEOF
   1844 
   1845 
   1846 # Keep a trace of the command line.
   1847 # Strip out --no-create and --no-recursion so they do not pile up.
   1848 # Strip out --silent because we don't want to record it for future runs.
   1849 # Also quote any args containing shell meta-characters.
   1850 # Make two passes to allow for proper duplicate-argument suppression.
   1851 ac_configure_args=
   1852 ac_configure_args0=
   1853 ac_configure_args1=
   1854 ac_must_keep_next=false
   1855 for ac_pass in 1 2
   1856 do
   1857   for ac_arg
   1858   do
   1859     case $ac_arg in
   1860     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1861     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1862     | -silent | --silent | --silen | --sile | --sil)
   1863       continue ;;
   1864     *\'*)
   1865       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1866     esac
   1867     case $ac_pass in
   1868     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1869     2)
   1870       as_fn_append ac_configure_args1 " '$ac_arg'"
   1871       if test $ac_must_keep_next = true; then
   1872 	ac_must_keep_next=false # Got value, back to normal.
   1873       else
   1874 	case $ac_arg in
   1875 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1876 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1877 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1878 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1879 	    case "$ac_configure_args0 " in
   1880 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1881 	    esac
   1882 	    ;;
   1883 	  -* ) ac_must_keep_next=true ;;
   1884 	esac
   1885       fi
   1886       as_fn_append ac_configure_args " '$ac_arg'"
   1887       ;;
   1888     esac
   1889   done
   1890 done
   1891 { ac_configure_args0=; unset ac_configure_args0;}
   1892 { ac_configure_args1=; unset ac_configure_args1;}
   1893 
   1894 # When interrupted or exit'd, cleanup temporary files, and complete
   1895 # config.log.  We remove comments because anyway the quotes in there
   1896 # would cause problems or look ugly.
   1897 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1898 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1899 trap 'exit_status=$?
   1900   # Save into config.log some information that might help in debugging.
   1901   {
   1902     echo
   1903 
   1904     $as_echo "## ---------------- ##
   1905 ## Cache variables. ##
   1906 ## ---------------- ##"
   1907     echo
   1908     # The following way of writing the cache mishandles newlines in values,
   1909 (
   1910   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1911     eval ac_val=\$$ac_var
   1912     case $ac_val in #(
   1913     *${as_nl}*)
   1914       case $ac_var in #(
   1915       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1916 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1917       esac
   1918       case $ac_var in #(
   1919       _ | IFS | as_nl) ;; #(
   1920       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1921       *) { eval $ac_var=; unset $ac_var;} ;;
   1922       esac ;;
   1923     esac
   1924   done
   1925   (set) 2>&1 |
   1926     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1927     *${as_nl}ac_space=\ *)
   1928       sed -n \
   1929 	"s/'\''/'\''\\\\'\'''\''/g;
   1930 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1931       ;; #(
   1932     *)
   1933       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1934       ;;
   1935     esac |
   1936     sort
   1937 )
   1938     echo
   1939 
   1940     $as_echo "## ----------------- ##
   1941 ## Output variables. ##
   1942 ## ----------------- ##"
   1943     echo
   1944     for ac_var in $ac_subst_vars
   1945     do
   1946       eval ac_val=\$$ac_var
   1947       case $ac_val in
   1948       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1949       esac
   1950       $as_echo "$ac_var='\''$ac_val'\''"
   1951     done | sort
   1952     echo
   1953 
   1954     if test -n "$ac_subst_files"; then
   1955       $as_echo "## ------------------- ##
   1956 ## File substitutions. ##
   1957 ## ------------------- ##"
   1958       echo
   1959       for ac_var in $ac_subst_files
   1960       do
   1961 	eval ac_val=\$$ac_var
   1962 	case $ac_val in
   1963 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1964 	esac
   1965 	$as_echo "$ac_var='\''$ac_val'\''"
   1966       done | sort
   1967       echo
   1968     fi
   1969 
   1970     if test -s confdefs.h; then
   1971       $as_echo "## ----------- ##
   1972 ## confdefs.h. ##
   1973 ## ----------- ##"
   1974       echo
   1975       cat confdefs.h
   1976       echo
   1977     fi
   1978     test "$ac_signal" != 0 &&
   1979       $as_echo "$as_me: caught signal $ac_signal"
   1980     $as_echo "$as_me: exit $exit_status"
   1981   } >&5
   1982   rm -f core *.core core.conftest.* &&
   1983     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1984     exit $exit_status
   1985 ' 0
   1986 for ac_signal in 1 2 13 15; do
   1987   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1988 done
   1989 ac_signal=0
   1990 
   1991 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1992 rm -f -r conftest* confdefs.h
   1993 
   1994 $as_echo "/* confdefs.h */" > confdefs.h
   1995 
   1996 # Predefined preprocessor variables.
   1997 
   1998 cat >>confdefs.h <<_ACEOF
   1999 #define PACKAGE_NAME "$PACKAGE_NAME"
   2000 _ACEOF
   2001 
   2002 cat >>confdefs.h <<_ACEOF
   2003 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2004 _ACEOF
   2005 
   2006 cat >>confdefs.h <<_ACEOF
   2007 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2008 _ACEOF
   2009 
   2010 cat >>confdefs.h <<_ACEOF
   2011 #define PACKAGE_STRING "$PACKAGE_STRING"
   2012 _ACEOF
   2013 
   2014 cat >>confdefs.h <<_ACEOF
   2015 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2016 _ACEOF
   2017 
   2018 cat >>confdefs.h <<_ACEOF
   2019 #define PACKAGE_URL "$PACKAGE_URL"
   2020 _ACEOF
   2021 
   2022 
   2023 # Let the site file select an alternate cache file if it wants to.
   2024 # Prefer an explicitly selected file to automatically selected ones.
   2025 ac_site_file1=NONE
   2026 ac_site_file2=NONE
   2027 if test -n "$CONFIG_SITE"; then
   2028   # We do not want a PATH search for config.site.
   2029   case $CONFIG_SITE in #((
   2030     -*)  ac_site_file1=./$CONFIG_SITE;;
   2031     */*) ac_site_file1=$CONFIG_SITE;;
   2032     *)   ac_site_file1=./$CONFIG_SITE;;
   2033   esac
   2034 elif test "x$prefix" != xNONE; then
   2035   ac_site_file1=$prefix/share/config.site
   2036   ac_site_file2=$prefix/etc/config.site
   2037 else
   2038   ac_site_file1=$ac_default_prefix/share/config.site
   2039   ac_site_file2=$ac_default_prefix/etc/config.site
   2040 fi
   2041 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2042 do
   2043   test "x$ac_site_file" = xNONE && continue
   2044   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2045     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2046 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2047     sed 's/^/| /' "$ac_site_file" >&5
   2048     . "$ac_site_file" \
   2049       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2051 as_fn_error $? "failed to load site script $ac_site_file
   2052 See \`config.log' for more details" "$LINENO" 5; }
   2053   fi
   2054 done
   2055 
   2056 if test -r "$cache_file"; then
   2057   # Some versions of bash will fail to source /dev/null (special files
   2058   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2059   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2060     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2061 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2062     case $cache_file in
   2063       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2064       *)                      . "./$cache_file";;
   2065     esac
   2066   fi
   2067 else
   2068   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2069 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2070   >$cache_file
   2071 fi
   2072 
   2073 # Check that the precious variables saved in the cache have kept the same
   2074 # value.
   2075 ac_cache_corrupted=false
   2076 for ac_var in $ac_precious_vars; do
   2077   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2078   eval ac_new_set=\$ac_env_${ac_var}_set
   2079   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2080   eval ac_new_val=\$ac_env_${ac_var}_value
   2081   case $ac_old_set,$ac_new_set in
   2082     set,)
   2083       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2084 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2085       ac_cache_corrupted=: ;;
   2086     ,set)
   2087       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2088 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2089       ac_cache_corrupted=: ;;
   2090     ,);;
   2091     *)
   2092       if test "x$ac_old_val" != "x$ac_new_val"; then
   2093 	# differences in whitespace do not lead to failure.
   2094 	ac_old_val_w=`echo x $ac_old_val`
   2095 	ac_new_val_w=`echo x $ac_new_val`
   2096 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2097 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2098 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2099 	  ac_cache_corrupted=:
   2100 	else
   2101 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2102 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2103 	  eval $ac_var=\$ac_old_val
   2104 	fi
   2105 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2106 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2107 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2108 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2109       fi;;
   2110   esac
   2111   # Pass precious variables to config.status.
   2112   if test "$ac_new_set" = set; then
   2113     case $ac_new_val in
   2114     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2115     *) ac_arg=$ac_var=$ac_new_val ;;
   2116     esac
   2117     case " $ac_configure_args " in
   2118       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2119       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2120     esac
   2121   fi
   2122 done
   2123 if $ac_cache_corrupted; then
   2124   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2126   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2127 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2128   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2129 fi
   2130 ## -------------------- ##
   2131 ## Main body of script. ##
   2132 ## -------------------- ##
   2133 
   2134 ac_ext=c
   2135 ac_cpp='$CPP $CPPFLAGS'
   2136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2139 
   2140 
   2141 am__api_version='1.11'
   2142 
   2143 ac_aux_dir=
   2144 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2145   if test -f "$ac_dir/install-sh"; then
   2146     ac_aux_dir=$ac_dir
   2147     ac_install_sh="$ac_aux_dir/install-sh -c"
   2148     break
   2149   elif test -f "$ac_dir/install.sh"; then
   2150     ac_aux_dir=$ac_dir
   2151     ac_install_sh="$ac_aux_dir/install.sh -c"
   2152     break
   2153   elif test -f "$ac_dir/shtool"; then
   2154     ac_aux_dir=$ac_dir
   2155     ac_install_sh="$ac_aux_dir/shtool install -c"
   2156     break
   2157   fi
   2158 done
   2159 if test -z "$ac_aux_dir"; then
   2160   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2161 fi
   2162 
   2163 # These three variables are undocumented and unsupported,
   2164 # and are intended to be withdrawn in a future Autoconf release.
   2165 # They can cause serious problems if a builder's source tree is in a directory
   2166 # whose full name contains unusual characters.
   2167 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2168 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2169 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2170 
   2171 
   2172 # Find a good install program.  We prefer a C program (faster),
   2173 # so one script is as good as another.  But avoid the broken or
   2174 # incompatible versions:
   2175 # SysV /etc/install, /usr/sbin/install
   2176 # SunOS /usr/etc/install
   2177 # IRIX /sbin/install
   2178 # AIX /bin/install
   2179 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2180 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2181 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2182 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2183 # OS/2's system install, which has a completely different semantic
   2184 # ./install, which can be erroneously created by make from ./install.sh.
   2185 # Reject install programs that cannot install multiple files.
   2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2187 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2188 if test -z "$INSTALL"; then
   2189 if ${ac_cv_path_install+:} false; then :
   2190   $as_echo_n "(cached) " >&6
   2191 else
   2192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2193 for as_dir in $PATH
   2194 do
   2195   IFS=$as_save_IFS
   2196   test -z "$as_dir" && as_dir=.
   2197     # Account for people who put trailing slashes in PATH elements.
   2198 case $as_dir/ in #((
   2199   ./ | .// | /[cC]/* | \
   2200   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2201   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2202   /usr/ucb/* ) ;;
   2203   *)
   2204     # OSF1 and SCO ODT 3.0 have their own names for install.
   2205     # Don't use installbsd from OSF since it installs stuff as root
   2206     # by default.
   2207     for ac_prog in ginstall scoinst install; do
   2208       for ac_exec_ext in '' $ac_executable_extensions; do
   2209 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2210 	  if test $ac_prog = install &&
   2211 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2212 	    # AIX install.  It has an incompatible calling convention.
   2213 	    :
   2214 	  elif test $ac_prog = install &&
   2215 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2216 	    # program-specific install script used by HP pwplus--don't use.
   2217 	    :
   2218 	  else
   2219 	    rm -rf conftest.one conftest.two conftest.dir
   2220 	    echo one > conftest.one
   2221 	    echo two > conftest.two
   2222 	    mkdir conftest.dir
   2223 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2224 	      test -s conftest.one && test -s conftest.two &&
   2225 	      test -s conftest.dir/conftest.one &&
   2226 	      test -s conftest.dir/conftest.two
   2227 	    then
   2228 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2229 	      break 3
   2230 	    fi
   2231 	  fi
   2232 	fi
   2233       done
   2234     done
   2235     ;;
   2236 esac
   2237 
   2238   done
   2239 IFS=$as_save_IFS
   2240 
   2241 rm -rf conftest.one conftest.two conftest.dir
   2242 
   2243 fi
   2244   if test "${ac_cv_path_install+set}" = set; then
   2245     INSTALL=$ac_cv_path_install
   2246   else
   2247     # As a last resort, use the slow shell script.  Don't cache a
   2248     # value for INSTALL within a source directory, because that will
   2249     # break other packages using the cache if that directory is
   2250     # removed, or if the value is a relative name.
   2251     INSTALL=$ac_install_sh
   2252   fi
   2253 fi
   2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2255 $as_echo "$INSTALL" >&6; }
   2256 
   2257 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2258 # It thinks the first close brace ends the variable substitution.
   2259 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2260 
   2261 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2262 
   2263 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2264 
   2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2266 $as_echo_n "checking whether build environment is sane... " >&6; }
   2267 # Just in case
   2268 sleep 1
   2269 echo timestamp > conftest.file
   2270 # Reject unsafe characters in $srcdir or the absolute working directory
   2271 # name.  Accept space and tab only in the latter.
   2272 am_lf='
   2273 '
   2274 case `pwd` in
   2275   *[\\\"\#\$\&\'\`$am_lf]*)
   2276     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2277 esac
   2278 case $srcdir in
   2279   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2280     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2281 esac
   2282 
   2283 # Do `set' in a subshell so we don't clobber the current shell's
   2284 # arguments.  Must try -L first in case configure is actually a
   2285 # symlink; some systems play weird games with the mod time of symlinks
   2286 # (eg FreeBSD returns the mod time of the symlink's containing
   2287 # directory).
   2288 if (
   2289    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2290    if test "$*" = "X"; then
   2291       # -L didn't work.
   2292       set X `ls -t "$srcdir/configure" conftest.file`
   2293    fi
   2294    rm -f conftest.file
   2295    if test "$*" != "X $srcdir/configure conftest.file" \
   2296       && test "$*" != "X conftest.file $srcdir/configure"; then
   2297 
   2298       # If neither matched, then we have a broken ls.  This can happen
   2299       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2300       # broken ls alias from the environment.  This has actually
   2301       # happened.  Such a system could not be considered "sane".
   2302       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2303 alias in your environment" "$LINENO" 5
   2304    fi
   2305 
   2306    test "$2" = conftest.file
   2307    )
   2308 then
   2309    # Ok.
   2310    :
   2311 else
   2312    as_fn_error $? "newly created file is older than distributed files!
   2313 Check your system clock" "$LINENO" 5
   2314 fi
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2316 $as_echo "yes" >&6; }
   2317 test "$program_prefix" != NONE &&
   2318   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2319 # Use a double $ so make ignores it.
   2320 test "$program_suffix" != NONE &&
   2321   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2322 # Double any \ or $.
   2323 # By default was `s,x,x', remove it if useless.
   2324 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2325 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2326 
   2327 # expand $ac_aux_dir to an absolute path
   2328 am_aux_dir=`cd $ac_aux_dir && pwd`
   2329 
   2330 if test x"${MISSING+set}" != xset; then
   2331   case $am_aux_dir in
   2332   *\ * | *\	*)
   2333     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2334   *)
   2335     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2336   esac
   2337 fi
   2338 # Use eval to expand $SHELL
   2339 if eval "$MISSING --run true"; then
   2340   am_missing_run="$MISSING --run "
   2341 else
   2342   am_missing_run=
   2343   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2344 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2345 fi
   2346 
   2347 if test x"${install_sh}" != xset; then
   2348   case $am_aux_dir in
   2349   *\ * | *\	*)
   2350     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2351   *)
   2352     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2353   esac
   2354 fi
   2355 
   2356 # Installed binaries are usually stripped using `strip' when the user
   2357 # run `make install-strip'.  However `strip' might not be the right
   2358 # tool to use in cross-compilation environments, therefore Automake
   2359 # will honor the `STRIP' environment variable to overrule this program.
   2360 if test "$cross_compiling" != no; then
   2361   if test -n "$ac_tool_prefix"; then
   2362   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2363 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2365 $as_echo_n "checking for $ac_word... " >&6; }
   2366 if ${ac_cv_prog_STRIP+:} false; then :
   2367   $as_echo_n "(cached) " >&6
   2368 else
   2369   if test -n "$STRIP"; then
   2370   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2371 else
   2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2373 for as_dir in $PATH
   2374 do
   2375   IFS=$as_save_IFS
   2376   test -z "$as_dir" && as_dir=.
   2377     for ac_exec_ext in '' $ac_executable_extensions; do
   2378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2379     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2381     break 2
   2382   fi
   2383 done
   2384   done
   2385 IFS=$as_save_IFS
   2386 
   2387 fi
   2388 fi
   2389 STRIP=$ac_cv_prog_STRIP
   2390 if test -n "$STRIP"; then
   2391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2392 $as_echo "$STRIP" >&6; }
   2393 else
   2394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2395 $as_echo "no" >&6; }
   2396 fi
   2397 
   2398 
   2399 fi
   2400 if test -z "$ac_cv_prog_STRIP"; then
   2401   ac_ct_STRIP=$STRIP
   2402   # Extract the first word of "strip", so it can be a program name with args.
   2403 set dummy strip; ac_word=$2
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2405 $as_echo_n "checking for $ac_word... " >&6; }
   2406 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2407   $as_echo_n "(cached) " >&6
   2408 else
   2409   if test -n "$ac_ct_STRIP"; then
   2410   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2411 else
   2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2413 for as_dir in $PATH
   2414 do
   2415   IFS=$as_save_IFS
   2416   test -z "$as_dir" && as_dir=.
   2417     for ac_exec_ext in '' $ac_executable_extensions; do
   2418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2419     ac_cv_prog_ac_ct_STRIP="strip"
   2420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2421     break 2
   2422   fi
   2423 done
   2424   done
   2425 IFS=$as_save_IFS
   2426 
   2427 fi
   2428 fi
   2429 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2430 if test -n "$ac_ct_STRIP"; then
   2431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2432 $as_echo "$ac_ct_STRIP" >&6; }
   2433 else
   2434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2435 $as_echo "no" >&6; }
   2436 fi
   2437 
   2438   if test "x$ac_ct_STRIP" = x; then
   2439     STRIP=":"
   2440   else
   2441     case $cross_compiling:$ac_tool_warned in
   2442 yes:)
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2445 ac_tool_warned=yes ;;
   2446 esac
   2447     STRIP=$ac_ct_STRIP
   2448   fi
   2449 else
   2450   STRIP="$ac_cv_prog_STRIP"
   2451 fi
   2452 
   2453 fi
   2454 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2455 
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2457 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2458 if test -z "$MKDIR_P"; then
   2459   if ${ac_cv_path_mkdir+:} false; then :
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2463 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2464 do
   2465   IFS=$as_save_IFS
   2466   test -z "$as_dir" && as_dir=.
   2467     for ac_prog in mkdir gmkdir; do
   2468 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2469 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2470 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2471 	     'mkdir (GNU coreutils) '* | \
   2472 	     'mkdir (coreutils) '* | \
   2473 	     'mkdir (fileutils) '4.1*)
   2474 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2475 	       break 3;;
   2476 	   esac
   2477 	 done
   2478        done
   2479   done
   2480 IFS=$as_save_IFS
   2481 
   2482 fi
   2483 
   2484   test -d ./--version && rmdir ./--version
   2485   if test "${ac_cv_path_mkdir+set}" = set; then
   2486     MKDIR_P="$ac_cv_path_mkdir -p"
   2487   else
   2488     # As a last resort, use the slow shell script.  Don't cache a
   2489     # value for MKDIR_P within a source directory, because that will
   2490     # break other packages using the cache if that directory is
   2491     # removed, or if the value is a relative name.
   2492     MKDIR_P="$ac_install_sh -d"
   2493   fi
   2494 fi
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2496 $as_echo "$MKDIR_P" >&6; }
   2497 
   2498 mkdir_p="$MKDIR_P"
   2499 case $mkdir_p in
   2500   [\\/$]* | ?:[\\/]*) ;;
   2501   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2502 esac
   2503 
   2504 for ac_prog in gawk mawk nawk awk
   2505 do
   2506   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2507 set dummy $ac_prog; ac_word=$2
   2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2509 $as_echo_n "checking for $ac_word... " >&6; }
   2510 if ${ac_cv_prog_AWK+:} false; then :
   2511   $as_echo_n "(cached) " >&6
   2512 else
   2513   if test -n "$AWK"; then
   2514   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2515 else
   2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2517 for as_dir in $PATH
   2518 do
   2519   IFS=$as_save_IFS
   2520   test -z "$as_dir" && as_dir=.
   2521     for ac_exec_ext in '' $ac_executable_extensions; do
   2522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2523     ac_cv_prog_AWK="$ac_prog"
   2524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2525     break 2
   2526   fi
   2527 done
   2528   done
   2529 IFS=$as_save_IFS
   2530 
   2531 fi
   2532 fi
   2533 AWK=$ac_cv_prog_AWK
   2534 if test -n "$AWK"; then
   2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2536 $as_echo "$AWK" >&6; }
   2537 else
   2538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2539 $as_echo "no" >&6; }
   2540 fi
   2541 
   2542 
   2543   test -n "$AWK" && break
   2544 done
   2545 
   2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2547 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2548 set x ${MAKE-make}
   2549 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2550 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2551   $as_echo_n "(cached) " >&6
   2552 else
   2553   cat >conftest.make <<\_ACEOF
   2554 SHELL = /bin/sh
   2555 all:
   2556 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2557 _ACEOF
   2558 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2559 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2560   *@@@%%%=?*=@@@%%%*)
   2561     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2562   *)
   2563     eval ac_cv_prog_make_${ac_make}_set=no;;
   2564 esac
   2565 rm -f conftest.make
   2566 fi
   2567 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2569 $as_echo "yes" >&6; }
   2570   SET_MAKE=
   2571 else
   2572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2573 $as_echo "no" >&6; }
   2574   SET_MAKE="MAKE=${MAKE-make}"
   2575 fi
   2576 
   2577 rm -rf .tst 2>/dev/null
   2578 mkdir .tst 2>/dev/null
   2579 if test -d .tst; then
   2580   am__leading_dot=.
   2581 else
   2582   am__leading_dot=_
   2583 fi
   2584 rmdir .tst 2>/dev/null
   2585 
   2586 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2587   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2588   # is not polluted with repeated "-I."
   2589   am__isrc=' -I$(srcdir)'
   2590   # test to see if srcdir already configured
   2591   if test -f $srcdir/config.status; then
   2592     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2593   fi
   2594 fi
   2595 
   2596 # test whether we have cygpath
   2597 if test -z "$CYGPATH_W"; then
   2598   if (cygpath --version) >/dev/null 2>/dev/null; then
   2599     CYGPATH_W='cygpath -w'
   2600   else
   2601     CYGPATH_W=echo
   2602   fi
   2603 fi
   2604 
   2605 
   2606 # Define the identity of the package.
   2607  PACKAGE='makedepend'
   2608  VERSION='1.0.4'
   2609 
   2610 
   2611 cat >>confdefs.h <<_ACEOF
   2612 #define PACKAGE "$PACKAGE"
   2613 _ACEOF
   2614 
   2615 
   2616 cat >>confdefs.h <<_ACEOF
   2617 #define VERSION "$VERSION"
   2618 _ACEOF
   2619 
   2620 # Some tools Automake needs.
   2621 
   2622 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2623 
   2624 
   2625 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2626 
   2627 
   2628 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2629 
   2630 
   2631 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2632 
   2633 
   2634 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2635 
   2636 # We need awk for the "check" target.  The system "awk" is bad on
   2637 # some platforms.
   2638 # Always define AMTAR for backward compatibility.
   2639 
   2640 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2641 
   2642 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2643 
   2644 
   2645 
   2646 
   2647 
   2648 ac_config_headers="$ac_config_headers makedepend-config.h"
   2649 
   2650 
   2651 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 
   2663 
   2664 ac_ext=c
   2665 ac_cpp='$CPP $CPPFLAGS'
   2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2669 if test -n "$ac_tool_prefix"; then
   2670   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2673 $as_echo_n "checking for $ac_word... " >&6; }
   2674 if ${ac_cv_prog_CC+:} false; then :
   2675   $as_echo_n "(cached) " >&6
   2676 else
   2677   if test -n "$CC"; then
   2678   ac_cv_prog_CC="$CC" # Let the user override the test.
   2679 else
   2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2681 for as_dir in $PATH
   2682 do
   2683   IFS=$as_save_IFS
   2684   test -z "$as_dir" && as_dir=.
   2685     for ac_exec_ext in '' $ac_executable_extensions; do
   2686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2687     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2689     break 2
   2690   fi
   2691 done
   2692   done
   2693 IFS=$as_save_IFS
   2694 
   2695 fi
   2696 fi
   2697 CC=$ac_cv_prog_CC
   2698 if test -n "$CC"; then
   2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2700 $as_echo "$CC" >&6; }
   2701 else
   2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2703 $as_echo "no" >&6; }
   2704 fi
   2705 
   2706 
   2707 fi
   2708 if test -z "$ac_cv_prog_CC"; then
   2709   ac_ct_CC=$CC
   2710   # Extract the first word of "gcc", so it can be a program name with args.
   2711 set dummy gcc; ac_word=$2
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2713 $as_echo_n "checking for $ac_word... " >&6; }
   2714 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2715   $as_echo_n "(cached) " >&6
   2716 else
   2717   if test -n "$ac_ct_CC"; then
   2718   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2719 else
   2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2721 for as_dir in $PATH
   2722 do
   2723   IFS=$as_save_IFS
   2724   test -z "$as_dir" && as_dir=.
   2725     for ac_exec_ext in '' $ac_executable_extensions; do
   2726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2727     ac_cv_prog_ac_ct_CC="gcc"
   2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2729     break 2
   2730   fi
   2731 done
   2732   done
   2733 IFS=$as_save_IFS
   2734 
   2735 fi
   2736 fi
   2737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2738 if test -n "$ac_ct_CC"; then
   2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2740 $as_echo "$ac_ct_CC" >&6; }
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 $as_echo "no" >&6; }
   2744 fi
   2745 
   2746   if test "x$ac_ct_CC" = x; then
   2747     CC=""
   2748   else
   2749     case $cross_compiling:$ac_tool_warned in
   2750 yes:)
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2753 ac_tool_warned=yes ;;
   2754 esac
   2755     CC=$ac_ct_CC
   2756   fi
   2757 else
   2758   CC="$ac_cv_prog_CC"
   2759 fi
   2760 
   2761 if test -z "$CC"; then
   2762           if test -n "$ac_tool_prefix"; then
   2763     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2764 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2766 $as_echo_n "checking for $ac_word... " >&6; }
   2767 if ${ac_cv_prog_CC+:} false; then :
   2768   $as_echo_n "(cached) " >&6
   2769 else
   2770   if test -n "$CC"; then
   2771   ac_cv_prog_CC="$CC" # Let the user override the test.
   2772 else
   2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2774 for as_dir in $PATH
   2775 do
   2776   IFS=$as_save_IFS
   2777   test -z "$as_dir" && as_dir=.
   2778     for ac_exec_ext in '' $ac_executable_extensions; do
   2779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2780     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2782     break 2
   2783   fi
   2784 done
   2785   done
   2786 IFS=$as_save_IFS
   2787 
   2788 fi
   2789 fi
   2790 CC=$ac_cv_prog_CC
   2791 if test -n "$CC"; then
   2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2793 $as_echo "$CC" >&6; }
   2794 else
   2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2796 $as_echo "no" >&6; }
   2797 fi
   2798 
   2799 
   2800   fi
   2801 fi
   2802 if test -z "$CC"; then
   2803   # Extract the first word of "cc", so it can be a program name with args.
   2804 set dummy cc; ac_word=$2
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2806 $as_echo_n "checking for $ac_word... " >&6; }
   2807 if ${ac_cv_prog_CC+:} false; then :
   2808   $as_echo_n "(cached) " >&6
   2809 else
   2810   if test -n "$CC"; then
   2811   ac_cv_prog_CC="$CC" # Let the user override the test.
   2812 else
   2813   ac_prog_rejected=no
   2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2815 for as_dir in $PATH
   2816 do
   2817   IFS=$as_save_IFS
   2818   test -z "$as_dir" && as_dir=.
   2819     for ac_exec_ext in '' $ac_executable_extensions; do
   2820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2821     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2822        ac_prog_rejected=yes
   2823        continue
   2824      fi
   2825     ac_cv_prog_CC="cc"
   2826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2827     break 2
   2828   fi
   2829 done
   2830   done
   2831 IFS=$as_save_IFS
   2832 
   2833 if test $ac_prog_rejected = yes; then
   2834   # We found a bogon in the path, so make sure we never use it.
   2835   set dummy $ac_cv_prog_CC
   2836   shift
   2837   if test $# != 0; then
   2838     # We chose a different compiler from the bogus one.
   2839     # However, it has the same basename, so the bogon will be chosen
   2840     # first if we set CC to just the basename; use the full file name.
   2841     shift
   2842     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2843   fi
   2844 fi
   2845 fi
   2846 fi
   2847 CC=$ac_cv_prog_CC
   2848 if test -n "$CC"; then
   2849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2850 $as_echo "$CC" >&6; }
   2851 else
   2852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2853 $as_echo "no" >&6; }
   2854 fi
   2855 
   2856 
   2857 fi
   2858 if test -z "$CC"; then
   2859   if test -n "$ac_tool_prefix"; then
   2860   for ac_prog in cl.exe
   2861   do
   2862     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2865 $as_echo_n "checking for $ac_word... " >&6; }
   2866 if ${ac_cv_prog_CC+:} false; then :
   2867   $as_echo_n "(cached) " >&6
   2868 else
   2869   if test -n "$CC"; then
   2870   ac_cv_prog_CC="$CC" # Let the user override the test.
   2871 else
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 for as_dir in $PATH
   2874 do
   2875   IFS=$as_save_IFS
   2876   test -z "$as_dir" && as_dir=.
   2877     for ac_exec_ext in '' $ac_executable_extensions; do
   2878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2879     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2881     break 2
   2882   fi
   2883 done
   2884   done
   2885 IFS=$as_save_IFS
   2886 
   2887 fi
   2888 fi
   2889 CC=$ac_cv_prog_CC
   2890 if test -n "$CC"; then
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2892 $as_echo "$CC" >&6; }
   2893 else
   2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2895 $as_echo "no" >&6; }
   2896 fi
   2897 
   2898 
   2899     test -n "$CC" && break
   2900   done
   2901 fi
   2902 if test -z "$CC"; then
   2903   ac_ct_CC=$CC
   2904   for ac_prog in cl.exe
   2905 do
   2906   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2907 set dummy $ac_prog; ac_word=$2
   2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2909 $as_echo_n "checking for $ac_word... " >&6; }
   2910 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2911   $as_echo_n "(cached) " >&6
   2912 else
   2913   if test -n "$ac_ct_CC"; then
   2914   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2915 else
   2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2917 for as_dir in $PATH
   2918 do
   2919   IFS=$as_save_IFS
   2920   test -z "$as_dir" && as_dir=.
   2921     for ac_exec_ext in '' $ac_executable_extensions; do
   2922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2923     ac_cv_prog_ac_ct_CC="$ac_prog"
   2924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2925     break 2
   2926   fi
   2927 done
   2928   done
   2929 IFS=$as_save_IFS
   2930 
   2931 fi
   2932 fi
   2933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2934 if test -n "$ac_ct_CC"; then
   2935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2936 $as_echo "$ac_ct_CC" >&6; }
   2937 else
   2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2939 $as_echo "no" >&6; }
   2940 fi
   2941 
   2942 
   2943   test -n "$ac_ct_CC" && break
   2944 done
   2945 
   2946   if test "x$ac_ct_CC" = x; then
   2947     CC=""
   2948   else
   2949     case $cross_compiling:$ac_tool_warned in
   2950 yes:)
   2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2953 ac_tool_warned=yes ;;
   2954 esac
   2955     CC=$ac_ct_CC
   2956   fi
   2957 fi
   2958 
   2959 fi
   2960 
   2961 
   2962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2964 as_fn_error $? "no acceptable C compiler found in \$PATH
   2965 See \`config.log' for more details" "$LINENO" 5; }
   2966 
   2967 # Provide some information about the compiler.
   2968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2969 set X $ac_compile
   2970 ac_compiler=$2
   2971 for ac_option in --version -v -V -qversion; do
   2972   { { ac_try="$ac_compiler $ac_option >&5"
   2973 case "(($ac_try" in
   2974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2975   *) ac_try_echo=$ac_try;;
   2976 esac
   2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2978 $as_echo "$ac_try_echo"; } >&5
   2979   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2980   ac_status=$?
   2981   if test -s conftest.err; then
   2982     sed '10a\
   2983 ... rest of stderr output deleted ...
   2984          10q' conftest.err >conftest.er1
   2985     cat conftest.er1 >&5
   2986   fi
   2987   rm -f conftest.er1 conftest.err
   2988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2989   test $ac_status = 0; }
   2990 done
   2991 
   2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2993 /* end confdefs.h.  */
   2994 
   2995 int
   2996 main ()
   2997 {
   2998 
   2999   ;
   3000   return 0;
   3001 }
   3002 _ACEOF
   3003 ac_clean_files_save=$ac_clean_files
   3004 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3005 # Try to create an executable without -o first, disregard a.out.
   3006 # It will help us diagnose broken compilers, and finding out an intuition
   3007 # of exeext.
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3009 $as_echo_n "checking whether the C compiler works... " >&6; }
   3010 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3011 
   3012 # The possible output files:
   3013 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3014 
   3015 ac_rmfiles=
   3016 for ac_file in $ac_files
   3017 do
   3018   case $ac_file in
   3019     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3020     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3021   esac
   3022 done
   3023 rm -f $ac_rmfiles
   3024 
   3025 if { { ac_try="$ac_link_default"
   3026 case "(($ac_try" in
   3027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3028   *) ac_try_echo=$ac_try;;
   3029 esac
   3030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3031 $as_echo "$ac_try_echo"; } >&5
   3032   (eval "$ac_link_default") 2>&5
   3033   ac_status=$?
   3034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3035   test $ac_status = 0; }; then :
   3036   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3038 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3039 # so that the user can short-circuit this test for compilers unknown to
   3040 # Autoconf.
   3041 for ac_file in $ac_files ''
   3042 do
   3043   test -f "$ac_file" || continue
   3044   case $ac_file in
   3045     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3046 	;;
   3047     [ab].out )
   3048 	# We found the default executable, but exeext='' is most
   3049 	# certainly right.
   3050 	break;;
   3051     *.* )
   3052 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3053 	then :; else
   3054 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3055 	fi
   3056 	# We set ac_cv_exeext here because the later test for it is not
   3057 	# safe: cross compilers may not add the suffix if given an `-o'
   3058 	# argument, so we may need to know it at that point already.
   3059 	# Even if this section looks crufty: it has the advantage of
   3060 	# actually working.
   3061 	break;;
   3062     * )
   3063 	break;;
   3064   esac
   3065 done
   3066 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3067 
   3068 else
   3069   ac_file=''
   3070 fi
   3071 if test -z "$ac_file"; then :
   3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3073 $as_echo "no" >&6; }
   3074 $as_echo "$as_me: failed program was:" >&5
   3075 sed 's/^/| /' conftest.$ac_ext >&5
   3076 
   3077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3079 as_fn_error 77 "C compiler cannot create executables
   3080 See \`config.log' for more details" "$LINENO" 5; }
   3081 else
   3082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3083 $as_echo "yes" >&6; }
   3084 fi
   3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3086 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3088 $as_echo "$ac_file" >&6; }
   3089 ac_exeext=$ac_cv_exeext
   3090 
   3091 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3092 ac_clean_files=$ac_clean_files_save
   3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3094 $as_echo_n "checking for suffix of executables... " >&6; }
   3095 if { { ac_try="$ac_link"
   3096 case "(($ac_try" in
   3097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3098   *) ac_try_echo=$ac_try;;
   3099 esac
   3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3101 $as_echo "$ac_try_echo"; } >&5
   3102   (eval "$ac_link") 2>&5
   3103   ac_status=$?
   3104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3105   test $ac_status = 0; }; then :
   3106   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3107 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3108 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3109 # `rm'.
   3110 for ac_file in conftest.exe conftest conftest.*; do
   3111   test -f "$ac_file" || continue
   3112   case $ac_file in
   3113     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3114     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3115 	  break;;
   3116     * ) break;;
   3117   esac
   3118 done
   3119 else
   3120   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3122 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3123 See \`config.log' for more details" "$LINENO" 5; }
   3124 fi
   3125 rm -f conftest conftest$ac_cv_exeext
   3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3127 $as_echo "$ac_cv_exeext" >&6; }
   3128 
   3129 rm -f conftest.$ac_ext
   3130 EXEEXT=$ac_cv_exeext
   3131 ac_exeext=$EXEEXT
   3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3133 /* end confdefs.h.  */
   3134 #include <stdio.h>
   3135 int
   3136 main ()
   3137 {
   3138 FILE *f = fopen ("conftest.out", "w");
   3139  return ferror (f) || fclose (f) != 0;
   3140 
   3141   ;
   3142   return 0;
   3143 }
   3144 _ACEOF
   3145 ac_clean_files="$ac_clean_files conftest.out"
   3146 # Check that the compiler produces executables we can run.  If not, either
   3147 # the compiler is broken, or we cross compile.
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3149 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3150 if test "$cross_compiling" != yes; then
   3151   { { ac_try="$ac_link"
   3152 case "(($ac_try" in
   3153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3154   *) ac_try_echo=$ac_try;;
   3155 esac
   3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3157 $as_echo "$ac_try_echo"; } >&5
   3158   (eval "$ac_link") 2>&5
   3159   ac_status=$?
   3160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3161   test $ac_status = 0; }
   3162   if { ac_try='./conftest$ac_cv_exeext'
   3163   { { case "(($ac_try" in
   3164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3165   *) ac_try_echo=$ac_try;;
   3166 esac
   3167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3168 $as_echo "$ac_try_echo"; } >&5
   3169   (eval "$ac_try") 2>&5
   3170   ac_status=$?
   3171   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3172   test $ac_status = 0; }; }; then
   3173     cross_compiling=no
   3174   else
   3175     if test "$cross_compiling" = maybe; then
   3176 	cross_compiling=yes
   3177     else
   3178 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3180 as_fn_error $? "cannot run C compiled programs.
   3181 If you meant to cross compile, use \`--host'.
   3182 See \`config.log' for more details" "$LINENO" 5; }
   3183     fi
   3184   fi
   3185 fi
   3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3187 $as_echo "$cross_compiling" >&6; }
   3188 
   3189 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3190 ac_clean_files=$ac_clean_files_save
   3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3192 $as_echo_n "checking for suffix of object files... " >&6; }
   3193 if ${ac_cv_objext+:} false; then :
   3194   $as_echo_n "(cached) " >&6
   3195 else
   3196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3197 /* end confdefs.h.  */
   3198 
   3199 int
   3200 main ()
   3201 {
   3202 
   3203   ;
   3204   return 0;
   3205 }
   3206 _ACEOF
   3207 rm -f conftest.o conftest.obj
   3208 if { { ac_try="$ac_compile"
   3209 case "(($ac_try" in
   3210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3211   *) ac_try_echo=$ac_try;;
   3212 esac
   3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3214 $as_echo "$ac_try_echo"; } >&5
   3215   (eval "$ac_compile") 2>&5
   3216   ac_status=$?
   3217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3218   test $ac_status = 0; }; then :
   3219   for ac_file in conftest.o conftest.obj conftest.*; do
   3220   test -f "$ac_file" || continue;
   3221   case $ac_file in
   3222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3223     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3224        break;;
   3225   esac
   3226 done
   3227 else
   3228   $as_echo "$as_me: failed program was:" >&5
   3229 sed 's/^/| /' conftest.$ac_ext >&5
   3230 
   3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3233 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3234 See \`config.log' for more details" "$LINENO" 5; }
   3235 fi
   3236 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3237 fi
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3239 $as_echo "$ac_cv_objext" >&6; }
   3240 OBJEXT=$ac_cv_objext
   3241 ac_objext=$OBJEXT
   3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3243 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3244 if ${ac_cv_c_compiler_gnu+:} false; then :
   3245   $as_echo_n "(cached) " >&6
   3246 else
   3247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3248 /* end confdefs.h.  */
   3249 
   3250 int
   3251 main ()
   3252 {
   3253 #ifndef __GNUC__
   3254        choke me
   3255 #endif
   3256 
   3257   ;
   3258   return 0;
   3259 }
   3260 _ACEOF
   3261 if ac_fn_c_try_compile "$LINENO"; then :
   3262   ac_compiler_gnu=yes
   3263 else
   3264   ac_compiler_gnu=no
   3265 fi
   3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3267 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3268 
   3269 fi
   3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3271 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3272 if test $ac_compiler_gnu = yes; then
   3273   GCC=yes
   3274 else
   3275   GCC=
   3276 fi
   3277 ac_test_CFLAGS=${CFLAGS+set}
   3278 ac_save_CFLAGS=$CFLAGS
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3280 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3281 if ${ac_cv_prog_cc_g+:} false; then :
   3282   $as_echo_n "(cached) " >&6
   3283 else
   3284   ac_save_c_werror_flag=$ac_c_werror_flag
   3285    ac_c_werror_flag=yes
   3286    ac_cv_prog_cc_g=no
   3287    CFLAGS="-g"
   3288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3289 /* end confdefs.h.  */
   3290 
   3291 int
   3292 main ()
   3293 {
   3294 
   3295   ;
   3296   return 0;
   3297 }
   3298 _ACEOF
   3299 if ac_fn_c_try_compile "$LINENO"; then :
   3300   ac_cv_prog_cc_g=yes
   3301 else
   3302   CFLAGS=""
   3303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3304 /* end confdefs.h.  */
   3305 
   3306 int
   3307 main ()
   3308 {
   3309 
   3310   ;
   3311   return 0;
   3312 }
   3313 _ACEOF
   3314 if ac_fn_c_try_compile "$LINENO"; then :
   3315 
   3316 else
   3317   ac_c_werror_flag=$ac_save_c_werror_flag
   3318 	 CFLAGS="-g"
   3319 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3320 /* end confdefs.h.  */
   3321 
   3322 int
   3323 main ()
   3324 {
   3325 
   3326   ;
   3327   return 0;
   3328 }
   3329 _ACEOF
   3330 if ac_fn_c_try_compile "$LINENO"; then :
   3331   ac_cv_prog_cc_g=yes
   3332 fi
   3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3334 fi
   3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3336 fi
   3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3338    ac_c_werror_flag=$ac_save_c_werror_flag
   3339 fi
   3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3341 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3342 if test "$ac_test_CFLAGS" = set; then
   3343   CFLAGS=$ac_save_CFLAGS
   3344 elif test $ac_cv_prog_cc_g = yes; then
   3345   if test "$GCC" = yes; then
   3346     CFLAGS="-g -O2"
   3347   else
   3348     CFLAGS="-g"
   3349   fi
   3350 else
   3351   if test "$GCC" = yes; then
   3352     CFLAGS="-O2"
   3353   else
   3354     CFLAGS=
   3355   fi
   3356 fi
   3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3358 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3359 if ${ac_cv_prog_cc_c89+:} false; then :
   3360   $as_echo_n "(cached) " >&6
   3361 else
   3362   ac_cv_prog_cc_c89=no
   3363 ac_save_CC=$CC
   3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3365 /* end confdefs.h.  */
   3366 #include <stdarg.h>
   3367 #include <stdio.h>
   3368 #include <sys/types.h>
   3369 #include <sys/stat.h>
   3370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3371 struct buf { int x; };
   3372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3373 static char *e (p, i)
   3374      char **p;
   3375      int i;
   3376 {
   3377   return p[i];
   3378 }
   3379 static char *f (char * (*g) (char **, int), char **p, ...)
   3380 {
   3381   char *s;
   3382   va_list v;
   3383   va_start (v,p);
   3384   s = g (p, va_arg (v,int));
   3385   va_end (v);
   3386   return s;
   3387 }
   3388 
   3389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3390    function prototypes and stuff, but not '\xHH' hex character constants.
   3391    These don't provoke an error unfortunately, instead are silently treated
   3392    as 'x'.  The following induces an error, until -std is added to get
   3393    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3394    array size at least.  It's necessary to write '\x00'==0 to get something
   3395    that's true only with -std.  */
   3396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3397 
   3398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3399    inside strings and character constants.  */
   3400 #define FOO(x) 'x'
   3401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3402 
   3403 int test (int i, double x);
   3404 struct s1 {int (*f) (int a);};
   3405 struct s2 {int (*f) (double a);};
   3406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3407 int argc;
   3408 char **argv;
   3409 int
   3410 main ()
   3411 {
   3412 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3413   ;
   3414   return 0;
   3415 }
   3416 _ACEOF
   3417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3418 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3419 do
   3420   CC="$ac_save_CC $ac_arg"
   3421   if ac_fn_c_try_compile "$LINENO"; then :
   3422   ac_cv_prog_cc_c89=$ac_arg
   3423 fi
   3424 rm -f core conftest.err conftest.$ac_objext
   3425   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3426 done
   3427 rm -f conftest.$ac_ext
   3428 CC=$ac_save_CC
   3429 
   3430 fi
   3431 # AC_CACHE_VAL
   3432 case "x$ac_cv_prog_cc_c89" in
   3433   x)
   3434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3435 $as_echo "none needed" >&6; } ;;
   3436   xno)
   3437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3438 $as_echo "unsupported" >&6; } ;;
   3439   *)
   3440     CC="$CC $ac_cv_prog_cc_c89"
   3441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3443 esac
   3444 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3445 
   3446 fi
   3447 
   3448 ac_ext=c
   3449 ac_cpp='$CPP $CPPFLAGS'
   3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3453 DEPDIR="${am__leading_dot}deps"
   3454 
   3455 ac_config_commands="$ac_config_commands depfiles"
   3456 
   3457 
   3458 am_make=${MAKE-make}
   3459 cat > confinc << 'END'
   3460 am__doit:
   3461 	@echo this is the am__doit target
   3462 .PHONY: am__doit
   3463 END
   3464 # If we don't find an include directive, just comment out the code.
   3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3466 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3467 am__include="#"
   3468 am__quote=
   3469 _am_result=none
   3470 # First try GNU make style include.
   3471 echo "include confinc" > confmf
   3472 # Ignore all kinds of additional output from `make'.
   3473 case `$am_make -s -f confmf 2> /dev/null` in #(
   3474 *the\ am__doit\ target*)
   3475   am__include=include
   3476   am__quote=
   3477   _am_result=GNU
   3478   ;;
   3479 esac
   3480 # Now try BSD make style include.
   3481 if test "$am__include" = "#"; then
   3482    echo '.include "confinc"' > confmf
   3483    case `$am_make -s -f confmf 2> /dev/null` in #(
   3484    *the\ am__doit\ target*)
   3485      am__include=.include
   3486      am__quote="\""
   3487      _am_result=BSD
   3488      ;;
   3489    esac
   3490 fi
   3491 
   3492 
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3494 $as_echo "$_am_result" >&6; }
   3495 rm -f confinc confmf
   3496 
   3497 # Check whether --enable-dependency-tracking was given.
   3498 if test "${enable_dependency_tracking+set}" = set; then :
   3499   enableval=$enable_dependency_tracking;
   3500 fi
   3501 
   3502 if test "x$enable_dependency_tracking" != xno; then
   3503   am_depcomp="$ac_aux_dir/depcomp"
   3504   AMDEPBACKSLASH='\'
   3505 fi
   3506  if test "x$enable_dependency_tracking" != xno; then
   3507   AMDEP_TRUE=
   3508   AMDEP_FALSE='#'
   3509 else
   3510   AMDEP_TRUE='#'
   3511   AMDEP_FALSE=
   3512 fi
   3513 
   3514 
   3515 
   3516 depcc="$CC"   am_compiler_list=
   3517 
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3519 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3520 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3521   $as_echo_n "(cached) " >&6
   3522 else
   3523   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3524   # We make a subdir and do the tests there.  Otherwise we can end up
   3525   # making bogus files that we don't know about and never remove.  For
   3526   # instance it was reported that on HP-UX the gcc test will end up
   3527   # making a dummy file named `D' -- because `-MD' means `put the output
   3528   # in D'.
   3529   mkdir conftest.dir
   3530   # Copy depcomp to subdir because otherwise we won't find it if we're
   3531   # using a relative directory.
   3532   cp "$am_depcomp" conftest.dir
   3533   cd conftest.dir
   3534   # We will build objects and dependencies in a subdirectory because
   3535   # it helps to detect inapplicable dependency modes.  For instance
   3536   # both Tru64's cc and ICC support -MD to output dependencies as a
   3537   # side effect of compilation, but ICC will put the dependencies in
   3538   # the current directory while Tru64 will put them in the object
   3539   # directory.
   3540   mkdir sub
   3541 
   3542   am_cv_CC_dependencies_compiler_type=none
   3543   if test "$am_compiler_list" = ""; then
   3544      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3545   fi
   3546   am__universal=false
   3547   case " $depcc " in #(
   3548      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3549      esac
   3550 
   3551   for depmode in $am_compiler_list; do
   3552     # Setup a source with many dependencies, because some compilers
   3553     # like to wrap large dependency lists on column 80 (with \), and
   3554     # we should not choose a depcomp mode which is confused by this.
   3555     #
   3556     # We need to recreate these files for each test, as the compiler may
   3557     # overwrite some of them when testing with obscure command lines.
   3558     # This happens at least with the AIX C compiler.
   3559     : > sub/conftest.c
   3560     for i in 1 2 3 4 5 6; do
   3561       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3562       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3563       # Solaris 8's {/usr,}/bin/sh.
   3564       touch sub/conftst$i.h
   3565     done
   3566     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3567 
   3568     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3569     # mode.  It turns out that the SunPro C++ compiler does not properly
   3570     # handle `-M -o', and we need to detect this.  Also, some Intel
   3571     # versions had trouble with output in subdirs
   3572     am__obj=sub/conftest.${OBJEXT-o}
   3573     am__minus_obj="-o $am__obj"
   3574     case $depmode in
   3575     gcc)
   3576       # This depmode causes a compiler race in universal mode.
   3577       test "$am__universal" = false || continue
   3578       ;;
   3579     nosideeffect)
   3580       # after this tag, mechanisms are not by side-effect, so they'll
   3581       # only be used when explicitly requested
   3582       if test "x$enable_dependency_tracking" = xyes; then
   3583 	continue
   3584       else
   3585 	break
   3586       fi
   3587       ;;
   3588     msvisualcpp | msvcmsys)
   3589       # This compiler won't grok `-c -o', but also, the minuso test has
   3590       # not run yet.  These depmodes are late enough in the game, and
   3591       # so weak that their functioning should not be impacted.
   3592       am__obj=conftest.${OBJEXT-o}
   3593       am__minus_obj=
   3594       ;;
   3595     none) break ;;
   3596     esac
   3597     if depmode=$depmode \
   3598        source=sub/conftest.c object=$am__obj \
   3599        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3600        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3601          >/dev/null 2>conftest.err &&
   3602        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3603        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3604        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3605        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3606       # icc doesn't choke on unknown options, it will just issue warnings
   3607       # or remarks (even with -Werror).  So we grep stderr for any message
   3608       # that says an option was ignored or not supported.
   3609       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3610       #   icc: Command line warning: ignoring option '-M'; no argument required
   3611       # The diagnosis changed in icc 8.0:
   3612       #   icc: Command line remark: option '-MP' not supported
   3613       if (grep 'ignoring option' conftest.err ||
   3614           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3615         am_cv_CC_dependencies_compiler_type=$depmode
   3616         break
   3617       fi
   3618     fi
   3619   done
   3620 
   3621   cd ..
   3622   rm -rf conftest.dir
   3623 else
   3624   am_cv_CC_dependencies_compiler_type=none
   3625 fi
   3626 
   3627 fi
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3629 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3630 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3631 
   3632  if
   3633   test "x$enable_dependency_tracking" != xno \
   3634   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3635   am__fastdepCC_TRUE=
   3636   am__fastdepCC_FALSE='#'
   3637 else
   3638   am__fastdepCC_TRUE='#'
   3639   am__fastdepCC_FALSE=
   3640 fi
   3641 
   3642 
   3643    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3644 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3645 if ${ac_cv_prog_cc_c99+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   ac_cv_prog_cc_c99=no
   3649 ac_save_CC=$CC
   3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3651 /* end confdefs.h.  */
   3652 #include <stdarg.h>
   3653 #include <stdbool.h>
   3654 #include <stdlib.h>
   3655 #include <wchar.h>
   3656 #include <stdio.h>
   3657 
   3658 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3659 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3660 #define showlist(...) puts (#__VA_ARGS__)
   3661 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3662 static void
   3663 test_varargs_macros (void)
   3664 {
   3665   int x = 1234;
   3666   int y = 5678;
   3667   debug ("Flag");
   3668   debug ("X = %d\n", x);
   3669   showlist (The first, second, and third items.);
   3670   report (x>y, "x is %d but y is %d", x, y);
   3671 }
   3672 
   3673 // Check long long types.
   3674 #define BIG64 18446744073709551615ull
   3675 #define BIG32 4294967295ul
   3676 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3677 #if !BIG_OK
   3678   your preprocessor is broken;
   3679 #endif
   3680 #if BIG_OK
   3681 #else
   3682   your preprocessor is broken;
   3683 #endif
   3684 static long long int bignum = -9223372036854775807LL;
   3685 static unsigned long long int ubignum = BIG64;
   3686 
   3687 struct incomplete_array
   3688 {
   3689   int datasize;
   3690   double data[];
   3691 };
   3692 
   3693 struct named_init {
   3694   int number;
   3695   const wchar_t *name;
   3696   double average;
   3697 };
   3698 
   3699 typedef const char *ccp;
   3700 
   3701 static inline int
   3702 test_restrict (ccp restrict text)
   3703 {
   3704   // See if C++-style comments work.
   3705   // Iterate through items via the restricted pointer.
   3706   // Also check for declarations in for loops.
   3707   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3708     continue;
   3709   return 0;
   3710 }
   3711 
   3712 // Check varargs and va_copy.
   3713 static void
   3714 test_varargs (const char *format, ...)
   3715 {
   3716   va_list args;
   3717   va_start (args, format);
   3718   va_list args_copy;
   3719   va_copy (args_copy, args);
   3720 
   3721   const char *str;
   3722   int number;
   3723   float fnumber;
   3724 
   3725   while (*format)
   3726     {
   3727       switch (*format++)
   3728 	{
   3729 	case 's': // string
   3730 	  str = va_arg (args_copy, const char *);
   3731 	  break;
   3732 	case 'd': // int
   3733 	  number = va_arg (args_copy, int);
   3734 	  break;
   3735 	case 'f': // float
   3736 	  fnumber = va_arg (args_copy, double);
   3737 	  break;
   3738 	default:
   3739 	  break;
   3740 	}
   3741     }
   3742   va_end (args_copy);
   3743   va_end (args);
   3744 }
   3745 
   3746 int
   3747 main ()
   3748 {
   3749 
   3750   // Check bool.
   3751   _Bool success = false;
   3752 
   3753   // Check restrict.
   3754   if (test_restrict ("String literal") == 0)
   3755     success = true;
   3756   char *restrict newvar = "Another string";
   3757 
   3758   // Check varargs.
   3759   test_varargs ("s, d' f .", "string", 65, 34.234);
   3760   test_varargs_macros ();
   3761 
   3762   // Check flexible array members.
   3763   struct incomplete_array *ia =
   3764     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3765   ia->datasize = 10;
   3766   for (int i = 0; i < ia->datasize; ++i)
   3767     ia->data[i] = i * 1.234;
   3768 
   3769   // Check named initializers.
   3770   struct named_init ni = {
   3771     .number = 34,
   3772     .name = L"Test wide string",
   3773     .average = 543.34343,
   3774   };
   3775 
   3776   ni.number = 58;
   3777 
   3778   int dynamic_array[ni.number];
   3779   dynamic_array[ni.number - 1] = 543;
   3780 
   3781   // work around unused variable warnings
   3782   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3783 	  || dynamic_array[ni.number - 1] != 543);
   3784 
   3785   ;
   3786   return 0;
   3787 }
   3788 _ACEOF
   3789 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3790 do
   3791   CC="$ac_save_CC $ac_arg"
   3792   if ac_fn_c_try_compile "$LINENO"; then :
   3793   ac_cv_prog_cc_c99=$ac_arg
   3794 fi
   3795 rm -f core conftest.err conftest.$ac_objext
   3796   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3797 done
   3798 rm -f conftest.$ac_ext
   3799 CC=$ac_save_CC
   3800 
   3801 fi
   3802 # AC_CACHE_VAL
   3803 case "x$ac_cv_prog_cc_c99" in
   3804   x)
   3805     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3806 $as_echo "none needed" >&6; } ;;
   3807   xno)
   3808     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3809 $as_echo "unsupported" >&6; } ;;
   3810   *)
   3811     CC="$CC $ac_cv_prog_cc_c99"
   3812     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3813 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3814 esac
   3815 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3816 
   3817 fi
   3818 
   3819 
   3820 
   3821 ac_ext=c
   3822 ac_cpp='$CPP $CPPFLAGS'
   3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3827 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3828 # On Suns, sometimes $CPP names a directory.
   3829 if test -n "$CPP" && test -d "$CPP"; then
   3830   CPP=
   3831 fi
   3832 if test -z "$CPP"; then
   3833   if ${ac_cv_prog_CPP+:} false; then :
   3834   $as_echo_n "(cached) " >&6
   3835 else
   3836       # Double quotes because CPP needs to be expanded
   3837     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3838     do
   3839       ac_preproc_ok=false
   3840 for ac_c_preproc_warn_flag in '' yes
   3841 do
   3842   # Use a header file that comes with gcc, so configuring glibc
   3843   # with a fresh cross-compiler works.
   3844   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3845   # <limits.h> exists even on freestanding compilers.
   3846   # On the NeXT, cc -E runs the code through the compiler's parser,
   3847   # not just through cpp. "Syntax error" is here to catch this case.
   3848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3849 /* end confdefs.h.  */
   3850 #ifdef __STDC__
   3851 # include <limits.h>
   3852 #else
   3853 # include <assert.h>
   3854 #endif
   3855 		     Syntax error
   3856 _ACEOF
   3857 if ac_fn_c_try_cpp "$LINENO"; then :
   3858 
   3859 else
   3860   # Broken: fails on valid input.
   3861 continue
   3862 fi
   3863 rm -f conftest.err conftest.i conftest.$ac_ext
   3864 
   3865   # OK, works on sane cases.  Now check whether nonexistent headers
   3866   # can be detected and how.
   3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3868 /* end confdefs.h.  */
   3869 #include <ac_nonexistent.h>
   3870 _ACEOF
   3871 if ac_fn_c_try_cpp "$LINENO"; then :
   3872   # Broken: success on invalid input.
   3873 continue
   3874 else
   3875   # Passes both tests.
   3876 ac_preproc_ok=:
   3877 break
   3878 fi
   3879 rm -f conftest.err conftest.i conftest.$ac_ext
   3880 
   3881 done
   3882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3883 rm -f conftest.i conftest.err conftest.$ac_ext
   3884 if $ac_preproc_ok; then :
   3885   break
   3886 fi
   3887 
   3888     done
   3889     ac_cv_prog_CPP=$CPP
   3890 
   3891 fi
   3892   CPP=$ac_cv_prog_CPP
   3893 else
   3894   ac_cv_prog_CPP=$CPP
   3895 fi
   3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3897 $as_echo "$CPP" >&6; }
   3898 ac_preproc_ok=false
   3899 for ac_c_preproc_warn_flag in '' yes
   3900 do
   3901   # Use a header file that comes with gcc, so configuring glibc
   3902   # with a fresh cross-compiler works.
   3903   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3904   # <limits.h> exists even on freestanding compilers.
   3905   # On the NeXT, cc -E runs the code through the compiler's parser,
   3906   # not just through cpp. "Syntax error" is here to catch this case.
   3907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3908 /* end confdefs.h.  */
   3909 #ifdef __STDC__
   3910 # include <limits.h>
   3911 #else
   3912 # include <assert.h>
   3913 #endif
   3914 		     Syntax error
   3915 _ACEOF
   3916 if ac_fn_c_try_cpp "$LINENO"; then :
   3917 
   3918 else
   3919   # Broken: fails on valid input.
   3920 continue
   3921 fi
   3922 rm -f conftest.err conftest.i conftest.$ac_ext
   3923 
   3924   # OK, works on sane cases.  Now check whether nonexistent headers
   3925   # can be detected and how.
   3926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3927 /* end confdefs.h.  */
   3928 #include <ac_nonexistent.h>
   3929 _ACEOF
   3930 if ac_fn_c_try_cpp "$LINENO"; then :
   3931   # Broken: success on invalid input.
   3932 continue
   3933 else
   3934   # Passes both tests.
   3935 ac_preproc_ok=:
   3936 break
   3937 fi
   3938 rm -f conftest.err conftest.i conftest.$ac_ext
   3939 
   3940 done
   3941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3942 rm -f conftest.i conftest.err conftest.$ac_ext
   3943 if $ac_preproc_ok; then :
   3944 
   3945 else
   3946   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3948 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3949 See \`config.log' for more details" "$LINENO" 5; }
   3950 fi
   3951 
   3952 ac_ext=c
   3953 ac_cpp='$CPP $CPPFLAGS'
   3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3957 
   3958 
   3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3960 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3961 if ${ac_cv_path_GREP+:} false; then :
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964   if test -z "$GREP"; then
   3965   ac_path_GREP_found=false
   3966   # Loop through the user's path and test for each of PROGNAME-LIST
   3967   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3969 do
   3970   IFS=$as_save_IFS
   3971   test -z "$as_dir" && as_dir=.
   3972     for ac_prog in grep ggrep; do
   3973     for ac_exec_ext in '' $ac_executable_extensions; do
   3974       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3975       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3976 # Check for GNU ac_path_GREP and select it if it is found.
   3977   # Check for GNU $ac_path_GREP
   3978 case `"$ac_path_GREP" --version 2>&1` in
   3979 *GNU*)
   3980   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3981 *)
   3982   ac_count=0
   3983   $as_echo_n 0123456789 >"conftest.in"
   3984   while :
   3985   do
   3986     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3987     mv "conftest.tmp" "conftest.in"
   3988     cp "conftest.in" "conftest.nl"
   3989     $as_echo 'GREP' >> "conftest.nl"
   3990     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3991     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3992     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3993     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3994       # Best one so far, save it but keep looking for a better one
   3995       ac_cv_path_GREP="$ac_path_GREP"
   3996       ac_path_GREP_max=$ac_count
   3997     fi
   3998     # 10*(2^10) chars as input seems more than enough
   3999     test $ac_count -gt 10 && break
   4000   done
   4001   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4002 esac
   4003 
   4004       $ac_path_GREP_found && break 3
   4005     done
   4006   done
   4007   done
   4008 IFS=$as_save_IFS
   4009   if test -z "$ac_cv_path_GREP"; then
   4010     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4011   fi
   4012 else
   4013   ac_cv_path_GREP=$GREP
   4014 fi
   4015 
   4016 fi
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4018 $as_echo "$ac_cv_path_GREP" >&6; }
   4019  GREP="$ac_cv_path_GREP"
   4020 
   4021 
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4023 $as_echo_n "checking for egrep... " >&6; }
   4024 if ${ac_cv_path_EGREP+:} false; then :
   4025   $as_echo_n "(cached) " >&6
   4026 else
   4027   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4028    then ac_cv_path_EGREP="$GREP -E"
   4029    else
   4030      if test -z "$EGREP"; then
   4031   ac_path_EGREP_found=false
   4032   # Loop through the user's path and test for each of PROGNAME-LIST
   4033   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4035 do
   4036   IFS=$as_save_IFS
   4037   test -z "$as_dir" && as_dir=.
   4038     for ac_prog in egrep; do
   4039     for ac_exec_ext in '' $ac_executable_extensions; do
   4040       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4041       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4042 # Check for GNU ac_path_EGREP and select it if it is found.
   4043   # Check for GNU $ac_path_EGREP
   4044 case `"$ac_path_EGREP" --version 2>&1` in
   4045 *GNU*)
   4046   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4047 *)
   4048   ac_count=0
   4049   $as_echo_n 0123456789 >"conftest.in"
   4050   while :
   4051   do
   4052     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4053     mv "conftest.tmp" "conftest.in"
   4054     cp "conftest.in" "conftest.nl"
   4055     $as_echo 'EGREP' >> "conftest.nl"
   4056     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4057     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4058     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4059     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4060       # Best one so far, save it but keep looking for a better one
   4061       ac_cv_path_EGREP="$ac_path_EGREP"
   4062       ac_path_EGREP_max=$ac_count
   4063     fi
   4064     # 10*(2^10) chars as input seems more than enough
   4065     test $ac_count -gt 10 && break
   4066   done
   4067   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4068 esac
   4069 
   4070       $ac_path_EGREP_found && break 3
   4071     done
   4072   done
   4073   done
   4074 IFS=$as_save_IFS
   4075   if test -z "$ac_cv_path_EGREP"; then
   4076     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4077   fi
   4078 else
   4079   ac_cv_path_EGREP=$EGREP
   4080 fi
   4081 
   4082    fi
   4083 fi
   4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4085 $as_echo "$ac_cv_path_EGREP" >&6; }
   4086  EGREP="$ac_cv_path_EGREP"
   4087 
   4088 
   4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4090 $as_echo_n "checking for ANSI C header files... " >&6; }
   4091 if ${ac_cv_header_stdc+:} false; then :
   4092   $as_echo_n "(cached) " >&6
   4093 else
   4094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4095 /* end confdefs.h.  */
   4096 #include <stdlib.h>
   4097 #include <stdarg.h>
   4098 #include <string.h>
   4099 #include <float.h>
   4100 
   4101 int
   4102 main ()
   4103 {
   4104 
   4105   ;
   4106   return 0;
   4107 }
   4108 _ACEOF
   4109 if ac_fn_c_try_compile "$LINENO"; then :
   4110   ac_cv_header_stdc=yes
   4111 else
   4112   ac_cv_header_stdc=no
   4113 fi
   4114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4115 
   4116 if test $ac_cv_header_stdc = yes; then
   4117   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4119 /* end confdefs.h.  */
   4120 #include <string.h>
   4121 
   4122 _ACEOF
   4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4124   $EGREP "memchr" >/dev/null 2>&1; then :
   4125 
   4126 else
   4127   ac_cv_header_stdc=no
   4128 fi
   4129 rm -f conftest*
   4130 
   4131 fi
   4132 
   4133 if test $ac_cv_header_stdc = yes; then
   4134   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4136 /* end confdefs.h.  */
   4137 #include <stdlib.h>
   4138 
   4139 _ACEOF
   4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4141   $EGREP "free" >/dev/null 2>&1; then :
   4142 
   4143 else
   4144   ac_cv_header_stdc=no
   4145 fi
   4146 rm -f conftest*
   4147 
   4148 fi
   4149 
   4150 if test $ac_cv_header_stdc = yes; then
   4151   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4152   if test "$cross_compiling" = yes; then :
   4153   :
   4154 else
   4155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4156 /* end confdefs.h.  */
   4157 #include <ctype.h>
   4158 #include <stdlib.h>
   4159 #if ((' ' & 0x0FF) == 0x020)
   4160 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4161 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4162 #else
   4163 # define ISLOWER(c) \
   4164 		   (('a' <= (c) && (c) <= 'i') \
   4165 		     || ('j' <= (c) && (c) <= 'r') \
   4166 		     || ('s' <= (c) && (c) <= 'z'))
   4167 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4168 #endif
   4169 
   4170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4171 int
   4172 main ()
   4173 {
   4174   int i;
   4175   for (i = 0; i < 256; i++)
   4176     if (XOR (islower (i), ISLOWER (i))
   4177 	|| toupper (i) != TOUPPER (i))
   4178       return 2;
   4179   return 0;
   4180 }
   4181 _ACEOF
   4182 if ac_fn_c_try_run "$LINENO"; then :
   4183 
   4184 else
   4185   ac_cv_header_stdc=no
   4186 fi
   4187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4188   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4189 fi
   4190 
   4191 fi
   4192 fi
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4194 $as_echo "$ac_cv_header_stdc" >&6; }
   4195 if test $ac_cv_header_stdc = yes; then
   4196 
   4197 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4198 
   4199 fi
   4200 
   4201 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4202 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4203 		  inttypes.h stdint.h unistd.h
   4204 do :
   4205   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4206 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4207 "
   4208 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4209   cat >>confdefs.h <<_ACEOF
   4210 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4211 _ACEOF
   4212 
   4213 fi
   4214 
   4215 done
   4216 
   4217 
   4218 
   4219 
   4220 
   4221 
   4222 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4223 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4224   CLANGCC="yes"
   4225 else
   4226   CLANGCC="no"
   4227 fi
   4228 
   4229 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4230 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4231   INTELCC="yes"
   4232 else
   4233   INTELCC="no"
   4234 fi
   4235 
   4236 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4237 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4238   SUNCC="yes"
   4239 else
   4240   SUNCC="no"
   4241 fi
   4242 
   4243 
   4244 
   4245 
   4246 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4247 	if test -n "$ac_tool_prefix"; then
   4248   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4249 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4251 $as_echo_n "checking for $ac_word... " >&6; }
   4252 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4253   $as_echo_n "(cached) " >&6
   4254 else
   4255   case $PKG_CONFIG in
   4256   [\\/]* | ?:[\\/]*)
   4257   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4258   ;;
   4259   *)
   4260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4261 for as_dir in $PATH
   4262 do
   4263   IFS=$as_save_IFS
   4264   test -z "$as_dir" && as_dir=.
   4265     for ac_exec_ext in '' $ac_executable_extensions; do
   4266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4267     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4269     break 2
   4270   fi
   4271 done
   4272   done
   4273 IFS=$as_save_IFS
   4274 
   4275   ;;
   4276 esac
   4277 fi
   4278 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4279 if test -n "$PKG_CONFIG"; then
   4280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4281 $as_echo "$PKG_CONFIG" >&6; }
   4282 else
   4283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4284 $as_echo "no" >&6; }
   4285 fi
   4286 
   4287 
   4288 fi
   4289 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4290   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4291   # Extract the first word of "pkg-config", so it can be a program name with args.
   4292 set dummy pkg-config; ac_word=$2
   4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4294 $as_echo_n "checking for $ac_word... " >&6; }
   4295 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4296   $as_echo_n "(cached) " >&6
   4297 else
   4298   case $ac_pt_PKG_CONFIG in
   4299   [\\/]* | ?:[\\/]*)
   4300   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4301   ;;
   4302   *)
   4303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4304 for as_dir in $PATH
   4305 do
   4306   IFS=$as_save_IFS
   4307   test -z "$as_dir" && as_dir=.
   4308     for ac_exec_ext in '' $ac_executable_extensions; do
   4309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4310     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4312     break 2
   4313   fi
   4314 done
   4315   done
   4316 IFS=$as_save_IFS
   4317 
   4318   ;;
   4319 esac
   4320 fi
   4321 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4322 if test -n "$ac_pt_PKG_CONFIG"; then
   4323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4324 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4325 else
   4326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4327 $as_echo "no" >&6; }
   4328 fi
   4329 
   4330   if test "x$ac_pt_PKG_CONFIG" = x; then
   4331     PKG_CONFIG=""
   4332   else
   4333     case $cross_compiling:$ac_tool_warned in
   4334 yes:)
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4337 ac_tool_warned=yes ;;
   4338 esac
   4339     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4340   fi
   4341 else
   4342   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4343 fi
   4344 
   4345 fi
   4346 if test -n "$PKG_CONFIG"; then
   4347 	_pkg_min_version=0.9.0
   4348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4349 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4350 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4352 $as_echo "yes" >&6; }
   4353 	else
   4354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4355 $as_echo "no" >&6; }
   4356 		PKG_CONFIG=""
   4357 	fi
   4358 
   4359 fi
   4360 # Make sure we can run config.sub.
   4361 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4362   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4363 
   4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4365 $as_echo_n "checking build system type... " >&6; }
   4366 if ${ac_cv_build+:} false; then :
   4367   $as_echo_n "(cached) " >&6
   4368 else
   4369   ac_build_alias=$build_alias
   4370 test "x$ac_build_alias" = x &&
   4371   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4372 test "x$ac_build_alias" = x &&
   4373   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4374 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4375   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4376 
   4377 fi
   4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4379 $as_echo "$ac_cv_build" >&6; }
   4380 case $ac_cv_build in
   4381 *-*-*) ;;
   4382 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4383 esac
   4384 build=$ac_cv_build
   4385 ac_save_IFS=$IFS; IFS='-'
   4386 set x $ac_cv_build
   4387 shift
   4388 build_cpu=$1
   4389 build_vendor=$2
   4390 shift; shift
   4391 # Remember, the first character of IFS is used to create $*,
   4392 # except with old shells:
   4393 build_os=$*
   4394 IFS=$ac_save_IFS
   4395 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4396 
   4397 
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4399 $as_echo_n "checking host system type... " >&6; }
   4400 if ${ac_cv_host+:} false; then :
   4401   $as_echo_n "(cached) " >&6
   4402 else
   4403   if test "x$host_alias" = x; then
   4404   ac_cv_host=$ac_cv_build
   4405 else
   4406   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4407     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4408 fi
   4409 
   4410 fi
   4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4412 $as_echo "$ac_cv_host" >&6; }
   4413 case $ac_cv_host in
   4414 *-*-*) ;;
   4415 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4416 esac
   4417 host=$ac_cv_host
   4418 ac_save_IFS=$IFS; IFS='-'
   4419 set x $ac_cv_host
   4420 shift
   4421 host_cpu=$1
   4422 host_vendor=$2
   4423 shift; shift
   4424 # Remember, the first character of IFS is used to create $*,
   4425 # except with old shells:
   4426 host_os=$*
   4427 IFS=$ac_save_IFS
   4428 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4429 
   4430 
   4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4432 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4433 if ${ac_cv_path_SED+:} false; then :
   4434   $as_echo_n "(cached) " >&6
   4435 else
   4436             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4437      for ac_i in 1 2 3 4 5 6 7; do
   4438        ac_script="$ac_script$as_nl$ac_script"
   4439      done
   4440      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4441      { ac_script=; unset ac_script;}
   4442      if test -z "$SED"; then
   4443   ac_path_SED_found=false
   4444   # Loop through the user's path and test for each of PROGNAME-LIST
   4445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4446 for as_dir in $PATH
   4447 do
   4448   IFS=$as_save_IFS
   4449   test -z "$as_dir" && as_dir=.
   4450     for ac_prog in sed gsed; do
   4451     for ac_exec_ext in '' $ac_executable_extensions; do
   4452       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4453       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4454 # Check for GNU ac_path_SED and select it if it is found.
   4455   # Check for GNU $ac_path_SED
   4456 case `"$ac_path_SED" --version 2>&1` in
   4457 *GNU*)
   4458   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4459 *)
   4460   ac_count=0
   4461   $as_echo_n 0123456789 >"conftest.in"
   4462   while :
   4463   do
   4464     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4465     mv "conftest.tmp" "conftest.in"
   4466     cp "conftest.in" "conftest.nl"
   4467     $as_echo '' >> "conftest.nl"
   4468     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4469     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4470     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4471     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4472       # Best one so far, save it but keep looking for a better one
   4473       ac_cv_path_SED="$ac_path_SED"
   4474       ac_path_SED_max=$ac_count
   4475     fi
   4476     # 10*(2^10) chars as input seems more than enough
   4477     test $ac_count -gt 10 && break
   4478   done
   4479   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4480 esac
   4481 
   4482       $ac_path_SED_found && break 3
   4483     done
   4484   done
   4485   done
   4486 IFS=$as_save_IFS
   4487   if test -z "$ac_cv_path_SED"; then
   4488     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4489   fi
   4490 else
   4491   ac_cv_path_SED=$SED
   4492 fi
   4493 
   4494 fi
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4496 $as_echo "$ac_cv_path_SED" >&6; }
   4497  SED="$ac_cv_path_SED"
   4498   rm -f conftest.sed
   4499 
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 # Check whether --enable-selective-werror was given.
   4506 if test "${enable_selective_werror+set}" = set; then :
   4507   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4508 else
   4509   SELECTIVE_WERROR=yes
   4510 fi
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4517 if test "x$SUNCC" = "xyes"; then
   4518     BASE_CFLAGS="-v"
   4519 else
   4520     BASE_CFLAGS=""
   4521 fi
   4522 
   4523 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4524 
   4525 
   4526 
   4527 
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 xorg_testset_save_CFLAGS="$CFLAGS"
   4536 
   4537 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4540 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4541 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4542   $as_echo_n "(cached) " >&6
   4543 else
   4544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4545 /* end confdefs.h.  */
   4546 int i;
   4547 _ACEOF
   4548 if ac_fn_c_try_compile "$LINENO"; then :
   4549   xorg_cv_compiler_flag_unknown_warning_option=yes
   4550 else
   4551   xorg_cv_compiler_flag_unknown_warning_option=no
   4552 fi
   4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4554 fi
   4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4556 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4557 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4558 	CFLAGS="$xorg_testset_save_CFLAGS"
   4559 fi
   4560 
   4561 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4562 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4564 	fi
   4565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4567 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4568 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4569   $as_echo_n "(cached) " >&6
   4570 else
   4571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4572 /* end confdefs.h.  */
   4573 int i;
   4574 _ACEOF
   4575 if ac_fn_c_try_compile "$LINENO"; then :
   4576   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4577 else
   4578   xorg_cv_compiler_flag_unused_command_line_argument=no
   4579 fi
   4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4581 fi
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4583 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4584 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4585 	CFLAGS="$xorg_testset_save_CFLAGS"
   4586 fi
   4587 
   4588 found="no"
   4589 
   4590 	if test $found = "no" ; then
   4591 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4593 		fi
   4594 
   4595 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4597 		fi
   4598 
   4599 		CFLAGS="$CFLAGS -Wall"
   4600 
   4601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4602 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4603 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   4604 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4605   $as_echo_n "(cached) " >&6
   4606 else
   4607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4608 /* end confdefs.h.  */
   4609 int i;
   4610 int
   4611 main ()
   4612 {
   4613 
   4614   ;
   4615   return 0;
   4616 }
   4617 _ACEOF
   4618 if ac_fn_c_try_link "$LINENO"; then :
   4619   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4620 else
   4621   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4622 fi
   4623 rm -f core conftest.err conftest.$ac_objext \
   4624     conftest$ac_exeext conftest.$ac_ext
   4625 fi
   4626 
   4627 
   4628 		CFLAGS="$xorg_testset_save_CFLAGS"
   4629 
   4630 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4632 $as_echo "$supported" >&6; }
   4633 		if test "$supported" = "yes" ; then
   4634 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4635 			found="yes"
   4636 		fi
   4637 	fi
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 xorg_testset_save_CFLAGS="$CFLAGS"
   4652 
   4653 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4656 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4657 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4658   $as_echo_n "(cached) " >&6
   4659 else
   4660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4661 /* end confdefs.h.  */
   4662 int i;
   4663 _ACEOF
   4664 if ac_fn_c_try_compile "$LINENO"; then :
   4665   xorg_cv_compiler_flag_unknown_warning_option=yes
   4666 else
   4667   xorg_cv_compiler_flag_unknown_warning_option=no
   4668 fi
   4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4670 fi
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4672 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4673 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4674 	CFLAGS="$xorg_testset_save_CFLAGS"
   4675 fi
   4676 
   4677 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4678 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4680 	fi
   4681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4683 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4684 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4685   $as_echo_n "(cached) " >&6
   4686 else
   4687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4688 /* end confdefs.h.  */
   4689 int i;
   4690 _ACEOF
   4691 if ac_fn_c_try_compile "$LINENO"; then :
   4692   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4693 else
   4694   xorg_cv_compiler_flag_unused_command_line_argument=no
   4695 fi
   4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4697 fi
   4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4699 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4700 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4701 	CFLAGS="$xorg_testset_save_CFLAGS"
   4702 fi
   4703 
   4704 found="no"
   4705 
   4706 	if test $found = "no" ; then
   4707 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4709 		fi
   4710 
   4711 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4713 		fi
   4714 
   4715 		CFLAGS="$CFLAGS -Wpointer-arith"
   4716 
   4717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4718 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4719 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   4720 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4721   $as_echo_n "(cached) " >&6
   4722 else
   4723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4724 /* end confdefs.h.  */
   4725 int i;
   4726 int
   4727 main ()
   4728 {
   4729 
   4730   ;
   4731   return 0;
   4732 }
   4733 _ACEOF
   4734 if ac_fn_c_try_link "$LINENO"; then :
   4735   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4736 else
   4737   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4738 fi
   4739 rm -f core conftest.err conftest.$ac_objext \
   4740     conftest$ac_exeext conftest.$ac_ext
   4741 fi
   4742 
   4743 
   4744 		CFLAGS="$xorg_testset_save_CFLAGS"
   4745 
   4746 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4748 $as_echo "$supported" >&6; }
   4749 		if test "$supported" = "yes" ; then
   4750 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4751 			found="yes"
   4752 		fi
   4753 	fi
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 xorg_testset_save_CFLAGS="$CFLAGS"
   4768 
   4769 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4772 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4773 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4774   $as_echo_n "(cached) " >&6
   4775 else
   4776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4777 /* end confdefs.h.  */
   4778 int i;
   4779 _ACEOF
   4780 if ac_fn_c_try_compile "$LINENO"; then :
   4781   xorg_cv_compiler_flag_unknown_warning_option=yes
   4782 else
   4783   xorg_cv_compiler_flag_unknown_warning_option=no
   4784 fi
   4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4786 fi
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4788 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4789 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4790 	CFLAGS="$xorg_testset_save_CFLAGS"
   4791 fi
   4792 
   4793 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4794 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4796 	fi
   4797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4799 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4800 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4801   $as_echo_n "(cached) " >&6
   4802 else
   4803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4804 /* end confdefs.h.  */
   4805 int i;
   4806 _ACEOF
   4807 if ac_fn_c_try_compile "$LINENO"; then :
   4808   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4809 else
   4810   xorg_cv_compiler_flag_unused_command_line_argument=no
   4811 fi
   4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4813 fi
   4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4815 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4816 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4817 	CFLAGS="$xorg_testset_save_CFLAGS"
   4818 fi
   4819 
   4820 found="no"
   4821 
   4822 	if test $found = "no" ; then
   4823 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4825 		fi
   4826 
   4827 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4829 		fi
   4830 
   4831 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4832 
   4833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4834 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4835 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   4836 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4837   $as_echo_n "(cached) " >&6
   4838 else
   4839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4840 /* end confdefs.h.  */
   4841 int i;
   4842 int
   4843 main ()
   4844 {
   4845 
   4846   ;
   4847   return 0;
   4848 }
   4849 _ACEOF
   4850 if ac_fn_c_try_link "$LINENO"; then :
   4851   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4852 else
   4853   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4854 fi
   4855 rm -f core conftest.err conftest.$ac_objext \
   4856     conftest$ac_exeext conftest.$ac_ext
   4857 fi
   4858 
   4859 
   4860 		CFLAGS="$xorg_testset_save_CFLAGS"
   4861 
   4862 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4864 $as_echo "$supported" >&6; }
   4865 		if test "$supported" = "yes" ; then
   4866 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4867 			found="yes"
   4868 		fi
   4869 	fi
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 xorg_testset_save_CFLAGS="$CFLAGS"
   4884 
   4885 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4888 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4889 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4893 /* end confdefs.h.  */
   4894 int i;
   4895 _ACEOF
   4896 if ac_fn_c_try_compile "$LINENO"; then :
   4897   xorg_cv_compiler_flag_unknown_warning_option=yes
   4898 else
   4899   xorg_cv_compiler_flag_unknown_warning_option=no
   4900 fi
   4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4902 fi
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4904 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4905 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4906 	CFLAGS="$xorg_testset_save_CFLAGS"
   4907 fi
   4908 
   4909 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4910 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4912 	fi
   4913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4915 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4916 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4917   $as_echo_n "(cached) " >&6
   4918 else
   4919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4920 /* end confdefs.h.  */
   4921 int i;
   4922 _ACEOF
   4923 if ac_fn_c_try_compile "$LINENO"; then :
   4924   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4925 else
   4926   xorg_cv_compiler_flag_unused_command_line_argument=no
   4927 fi
   4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4929 fi
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4931 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4932 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4933 	CFLAGS="$xorg_testset_save_CFLAGS"
   4934 fi
   4935 
   4936 found="no"
   4937 
   4938 	if test $found = "no" ; then
   4939 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4941 		fi
   4942 
   4943 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4945 		fi
   4946 
   4947 		CFLAGS="$CFLAGS -Wformat=2"
   4948 
   4949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4950 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4951 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   4952 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4953   $as_echo_n "(cached) " >&6
   4954 else
   4955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4956 /* end confdefs.h.  */
   4957 int i;
   4958 int
   4959 main ()
   4960 {
   4961 
   4962   ;
   4963   return 0;
   4964 }
   4965 _ACEOF
   4966 if ac_fn_c_try_link "$LINENO"; then :
   4967   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4968 else
   4969   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4970 fi
   4971 rm -f core conftest.err conftest.$ac_objext \
   4972     conftest$ac_exeext conftest.$ac_ext
   4973 fi
   4974 
   4975 
   4976 		CFLAGS="$xorg_testset_save_CFLAGS"
   4977 
   4978 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4980 $as_echo "$supported" >&6; }
   4981 		if test "$supported" = "yes" ; then
   4982 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4983 			found="yes"
   4984 		fi
   4985 	fi
   4986 
   4987 	if test $found = "no" ; then
   4988 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4990 		fi
   4991 
   4992 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4994 		fi
   4995 
   4996 		CFLAGS="$CFLAGS -Wformat"
   4997 
   4998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4999 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5000 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   5001 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5005 /* end confdefs.h.  */
   5006 int i;
   5007 int
   5008 main ()
   5009 {
   5010 
   5011   ;
   5012   return 0;
   5013 }
   5014 _ACEOF
   5015 if ac_fn_c_try_link "$LINENO"; then :
   5016   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5017 else
   5018   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5019 fi
   5020 rm -f core conftest.err conftest.$ac_objext \
   5021     conftest$ac_exeext conftest.$ac_ext
   5022 fi
   5023 
   5024 
   5025 		CFLAGS="$xorg_testset_save_CFLAGS"
   5026 
   5027 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5029 $as_echo "$supported" >&6; }
   5030 		if test "$supported" = "yes" ; then
   5031 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5032 			found="yes"
   5033 		fi
   5034 	fi
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 xorg_testset_save_CFLAGS="$CFLAGS"
   5051 
   5052 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5055 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5056 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5057   $as_echo_n "(cached) " >&6
   5058 else
   5059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 int i;
   5062 _ACEOF
   5063 if ac_fn_c_try_compile "$LINENO"; then :
   5064   xorg_cv_compiler_flag_unknown_warning_option=yes
   5065 else
   5066   xorg_cv_compiler_flag_unknown_warning_option=no
   5067 fi
   5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5069 fi
   5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5071 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5072 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5073 	CFLAGS="$xorg_testset_save_CFLAGS"
   5074 fi
   5075 
   5076 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5077 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5079 	fi
   5080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5082 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5083 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5084   $as_echo_n "(cached) " >&6
   5085 else
   5086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5087 /* end confdefs.h.  */
   5088 int i;
   5089 _ACEOF
   5090 if ac_fn_c_try_compile "$LINENO"; then :
   5091   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5092 else
   5093   xorg_cv_compiler_flag_unused_command_line_argument=no
   5094 fi
   5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5096 fi
   5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5098 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5099 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5100 	CFLAGS="$xorg_testset_save_CFLAGS"
   5101 fi
   5102 
   5103 found="no"
   5104 
   5105 	if test $found = "no" ; then
   5106 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5108 		fi
   5109 
   5110 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5112 		fi
   5113 
   5114 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5115 
   5116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5117 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5118 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   5119 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5120   $as_echo_n "(cached) " >&6
   5121 else
   5122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5123 /* end confdefs.h.  */
   5124 int i;
   5125 int
   5126 main ()
   5127 {
   5128 
   5129   ;
   5130   return 0;
   5131 }
   5132 _ACEOF
   5133 if ac_fn_c_try_link "$LINENO"; then :
   5134   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5135 else
   5136   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext \
   5139     conftest$ac_exeext conftest.$ac_ext
   5140 fi
   5141 
   5142 
   5143 		CFLAGS="$xorg_testset_save_CFLAGS"
   5144 
   5145 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5147 $as_echo "$supported" >&6; }
   5148 		if test "$supported" = "yes" ; then
   5149 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5150 			found="yes"
   5151 		fi
   5152 	fi
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 xorg_testset_save_CFLAGS="$CFLAGS"
   5167 
   5168 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5171 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5172 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5173   $as_echo_n "(cached) " >&6
   5174 else
   5175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5176 /* end confdefs.h.  */
   5177 int i;
   5178 _ACEOF
   5179 if ac_fn_c_try_compile "$LINENO"; then :
   5180   xorg_cv_compiler_flag_unknown_warning_option=yes
   5181 else
   5182   xorg_cv_compiler_flag_unknown_warning_option=no
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5185 fi
   5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5187 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5188 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5189 	CFLAGS="$xorg_testset_save_CFLAGS"
   5190 fi
   5191 
   5192 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5193 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5195 	fi
   5196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5198 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5199 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5200   $as_echo_n "(cached) " >&6
   5201 else
   5202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5203 /* end confdefs.h.  */
   5204 int i;
   5205 _ACEOF
   5206 if ac_fn_c_try_compile "$LINENO"; then :
   5207   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5208 else
   5209   xorg_cv_compiler_flag_unused_command_line_argument=no
   5210 fi
   5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5212 fi
   5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5214 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5215 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5216 	CFLAGS="$xorg_testset_save_CFLAGS"
   5217 fi
   5218 
   5219 found="no"
   5220 
   5221 	if test $found = "no" ; then
   5222 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5224 		fi
   5225 
   5226 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5228 		fi
   5229 
   5230 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5231 
   5232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5233 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5234 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   5235 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5236   $as_echo_n "(cached) " >&6
   5237 else
   5238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5239 /* end confdefs.h.  */
   5240 int i;
   5241 int
   5242 main ()
   5243 {
   5244 
   5245   ;
   5246   return 0;
   5247 }
   5248 _ACEOF
   5249 if ac_fn_c_try_link "$LINENO"; then :
   5250   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5251 else
   5252   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5253 fi
   5254 rm -f core conftest.err conftest.$ac_objext \
   5255     conftest$ac_exeext conftest.$ac_ext
   5256 fi
   5257 
   5258 
   5259 		CFLAGS="$xorg_testset_save_CFLAGS"
   5260 
   5261 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5263 $as_echo "$supported" >&6; }
   5264 		if test "$supported" = "yes" ; then
   5265 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5266 			found="yes"
   5267 		fi
   5268 	fi
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 xorg_testset_save_CFLAGS="$CFLAGS"
   5283 
   5284 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5287 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5288 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5289   $as_echo_n "(cached) " >&6
   5290 else
   5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 _ACEOF
   5295 if ac_fn_c_try_compile "$LINENO"; then :
   5296   xorg_cv_compiler_flag_unknown_warning_option=yes
   5297 else
   5298   xorg_cv_compiler_flag_unknown_warning_option=no
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5301 fi
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5303 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5304 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5305 	CFLAGS="$xorg_testset_save_CFLAGS"
   5306 fi
   5307 
   5308 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5309 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5311 	fi
   5312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5314 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5315 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5316   $as_echo_n "(cached) " >&6
   5317 else
   5318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5319 /* end confdefs.h.  */
   5320 int i;
   5321 _ACEOF
   5322 if ac_fn_c_try_compile "$LINENO"; then :
   5323   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5324 else
   5325   xorg_cv_compiler_flag_unused_command_line_argument=no
   5326 fi
   5327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5328 fi
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5330 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5331 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5332 	CFLAGS="$xorg_testset_save_CFLAGS"
   5333 fi
   5334 
   5335 found="no"
   5336 
   5337 	if test $found = "no" ; then
   5338 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5340 		fi
   5341 
   5342 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5344 		fi
   5345 
   5346 		CFLAGS="$CFLAGS -Wnested-externs"
   5347 
   5348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5349 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5350 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   5351 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5352   $as_echo_n "(cached) " >&6
   5353 else
   5354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 int
   5358 main ()
   5359 {
   5360 
   5361   ;
   5362   return 0;
   5363 }
   5364 _ACEOF
   5365 if ac_fn_c_try_link "$LINENO"; then :
   5366   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5367 else
   5368   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5369 fi
   5370 rm -f core conftest.err conftest.$ac_objext \
   5371     conftest$ac_exeext conftest.$ac_ext
   5372 fi
   5373 
   5374 
   5375 		CFLAGS="$xorg_testset_save_CFLAGS"
   5376 
   5377 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5379 $as_echo "$supported" >&6; }
   5380 		if test "$supported" = "yes" ; then
   5381 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5382 			found="yes"
   5383 		fi
   5384 	fi
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 xorg_testset_save_CFLAGS="$CFLAGS"
   5399 
   5400 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5403 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5404 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5405   $as_echo_n "(cached) " >&6
   5406 else
   5407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5408 /* end confdefs.h.  */
   5409 int i;
   5410 _ACEOF
   5411 if ac_fn_c_try_compile "$LINENO"; then :
   5412   xorg_cv_compiler_flag_unknown_warning_option=yes
   5413 else
   5414   xorg_cv_compiler_flag_unknown_warning_option=no
   5415 fi
   5416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5417 fi
   5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5419 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5420 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5421 	CFLAGS="$xorg_testset_save_CFLAGS"
   5422 fi
   5423 
   5424 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5425 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5427 	fi
   5428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5430 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5431 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"; then :
   5439   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5440 else
   5441   xorg_cv_compiler_flag_unused_command_line_argument=no
   5442 fi
   5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5444 fi
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5446 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5447 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5448 	CFLAGS="$xorg_testset_save_CFLAGS"
   5449 fi
   5450 
   5451 found="no"
   5452 
   5453 	if test $found = "no" ; then
   5454 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5456 		fi
   5457 
   5458 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5460 		fi
   5461 
   5462 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5463 
   5464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5465 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5466 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   5467 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5468   $as_echo_n "(cached) " >&6
   5469 else
   5470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5471 /* end confdefs.h.  */
   5472 int i;
   5473 int
   5474 main ()
   5475 {
   5476 
   5477   ;
   5478   return 0;
   5479 }
   5480 _ACEOF
   5481 if ac_fn_c_try_link "$LINENO"; then :
   5482   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5483 else
   5484   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5485 fi
   5486 rm -f core conftest.err conftest.$ac_objext \
   5487     conftest$ac_exeext conftest.$ac_ext
   5488 fi
   5489 
   5490 
   5491 		CFLAGS="$xorg_testset_save_CFLAGS"
   5492 
   5493 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5495 $as_echo "$supported" >&6; }
   5496 		if test "$supported" = "yes" ; then
   5497 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5498 			found="yes"
   5499 		fi
   5500 	fi
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 xorg_testset_save_CFLAGS="$CFLAGS"
   5515 
   5516 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5519 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5520 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"; then :
   5528   xorg_cv_compiler_flag_unknown_warning_option=yes
   5529 else
   5530   xorg_cv_compiler_flag_unknown_warning_option=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5533 fi
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5535 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5536 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5537 	CFLAGS="$xorg_testset_save_CFLAGS"
   5538 fi
   5539 
   5540 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5541 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	fi
   5544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5546 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5547 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"; then :
   5555   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5556 else
   5557   xorg_cv_compiler_flag_unused_command_line_argument=no
   5558 fi
   5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5562 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5563 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5564 	CFLAGS="$xorg_testset_save_CFLAGS"
   5565 fi
   5566 
   5567 found="no"
   5568 
   5569 	if test $found = "no" ; then
   5570 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 		fi
   5573 
   5574 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5576 		fi
   5577 
   5578 		CFLAGS="$CFLAGS -Wold-style-definition"
   5579 
   5580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5581 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5582 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   5583 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5587 /* end confdefs.h.  */
   5588 int i;
   5589 int
   5590 main ()
   5591 {
   5592 
   5593   ;
   5594   return 0;
   5595 }
   5596 _ACEOF
   5597 if ac_fn_c_try_link "$LINENO"; then :
   5598   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5599 else
   5600   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext \
   5603     conftest$ac_exeext conftest.$ac_ext
   5604 fi
   5605 
   5606 
   5607 		CFLAGS="$xorg_testset_save_CFLAGS"
   5608 
   5609 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5611 $as_echo "$supported" >&6; }
   5612 		if test "$supported" = "yes" ; then
   5613 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5614 			found="yes"
   5615 		fi
   5616 	fi
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 xorg_testset_save_CFLAGS="$CFLAGS"
   5631 
   5632 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5635 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5636 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5637   $as_echo_n "(cached) " >&6
   5638 else
   5639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5640 /* end confdefs.h.  */
   5641 int i;
   5642 _ACEOF
   5643 if ac_fn_c_try_compile "$LINENO"; then :
   5644   xorg_cv_compiler_flag_unknown_warning_option=yes
   5645 else
   5646   xorg_cv_compiler_flag_unknown_warning_option=no
   5647 fi
   5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5649 fi
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5651 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5652 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5653 	CFLAGS="$xorg_testset_save_CFLAGS"
   5654 fi
   5655 
   5656 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5657 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5659 	fi
   5660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5662 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5663 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 int i;
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"; then :
   5671   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5672 else
   5673   xorg_cv_compiler_flag_unused_command_line_argument=no
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5676 fi
   5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5678 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5679 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5680 	CFLAGS="$xorg_testset_save_CFLAGS"
   5681 fi
   5682 
   5683 found="no"
   5684 
   5685 	if test $found = "no" ; then
   5686 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5688 		fi
   5689 
   5690 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5692 		fi
   5693 
   5694 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5695 
   5696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5697 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5698 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   5699 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5700   $as_echo_n "(cached) " >&6
   5701 else
   5702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5703 /* end confdefs.h.  */
   5704 int i;
   5705 int
   5706 main ()
   5707 {
   5708 
   5709   ;
   5710   return 0;
   5711 }
   5712 _ACEOF
   5713 if ac_fn_c_try_link "$LINENO"; then :
   5714   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5715 else
   5716   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5717 fi
   5718 rm -f core conftest.err conftest.$ac_objext \
   5719     conftest$ac_exeext conftest.$ac_ext
   5720 fi
   5721 
   5722 
   5723 		CFLAGS="$xorg_testset_save_CFLAGS"
   5724 
   5725 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5727 $as_echo "$supported" >&6; }
   5728 		if test "$supported" = "yes" ; then
   5729 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5730 			found="yes"
   5731 		fi
   5732 	fi
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 # This chunk adds additional warnings that could catch undesired effects.
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 xorg_testset_save_CFLAGS="$CFLAGS"
   5751 
   5752 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5755 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5756 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"; then :
   5764   xorg_cv_compiler_flag_unknown_warning_option=yes
   5765 else
   5766   xorg_cv_compiler_flag_unknown_warning_option=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 fi
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5771 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5772 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5773 	CFLAGS="$xorg_testset_save_CFLAGS"
   5774 fi
   5775 
   5776 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5777 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 	fi
   5780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5782 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5783 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5787 /* end confdefs.h.  */
   5788 int i;
   5789 _ACEOF
   5790 if ac_fn_c_try_compile "$LINENO"; then :
   5791   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5792 else
   5793   xorg_cv_compiler_flag_unused_command_line_argument=no
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5796 fi
   5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5798 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5799 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5800 	CFLAGS="$xorg_testset_save_CFLAGS"
   5801 fi
   5802 
   5803 found="no"
   5804 
   5805 	if test $found = "no" ; then
   5806 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 		fi
   5809 
   5810 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5812 		fi
   5813 
   5814 		CFLAGS="$CFLAGS -Wunused"
   5815 
   5816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5817 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5818 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   5819 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 int
   5826 main ()
   5827 {
   5828 
   5829   ;
   5830   return 0;
   5831 }
   5832 _ACEOF
   5833 if ac_fn_c_try_link "$LINENO"; then :
   5834   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5835 else
   5836   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext \
   5839     conftest$ac_exeext conftest.$ac_ext
   5840 fi
   5841 
   5842 
   5843 		CFLAGS="$xorg_testset_save_CFLAGS"
   5844 
   5845 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5847 $as_echo "$supported" >&6; }
   5848 		if test "$supported" = "yes" ; then
   5849 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5850 			found="yes"
   5851 		fi
   5852 	fi
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 xorg_testset_save_CFLAGS="$CFLAGS"
   5867 
   5868 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5871 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5872 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5873   $as_echo_n "(cached) " >&6
   5874 else
   5875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5876 /* end confdefs.h.  */
   5877 int i;
   5878 _ACEOF
   5879 if ac_fn_c_try_compile "$LINENO"; then :
   5880   xorg_cv_compiler_flag_unknown_warning_option=yes
   5881 else
   5882   xorg_cv_compiler_flag_unknown_warning_option=no
   5883 fi
   5884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5885 fi
   5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5887 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5888 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5889 	CFLAGS="$xorg_testset_save_CFLAGS"
   5890 fi
   5891 
   5892 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5893 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5895 	fi
   5896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5898 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5899 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5900   $as_echo_n "(cached) " >&6
   5901 else
   5902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5903 /* end confdefs.h.  */
   5904 int i;
   5905 _ACEOF
   5906 if ac_fn_c_try_compile "$LINENO"; then :
   5907   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5908 else
   5909   xorg_cv_compiler_flag_unused_command_line_argument=no
   5910 fi
   5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5912 fi
   5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5914 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5915 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5916 	CFLAGS="$xorg_testset_save_CFLAGS"
   5917 fi
   5918 
   5919 found="no"
   5920 
   5921 	if test $found = "no" ; then
   5922 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5924 		fi
   5925 
   5926 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5928 		fi
   5929 
   5930 		CFLAGS="$CFLAGS -Wuninitialized"
   5931 
   5932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5933 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5934 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   5935 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5936   $as_echo_n "(cached) " >&6
   5937 else
   5938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5939 /* end confdefs.h.  */
   5940 int i;
   5941 int
   5942 main ()
   5943 {
   5944 
   5945   ;
   5946   return 0;
   5947 }
   5948 _ACEOF
   5949 if ac_fn_c_try_link "$LINENO"; then :
   5950   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5951 else
   5952   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5953 fi
   5954 rm -f core conftest.err conftest.$ac_objext \
   5955     conftest$ac_exeext conftest.$ac_ext
   5956 fi
   5957 
   5958 
   5959 		CFLAGS="$xorg_testset_save_CFLAGS"
   5960 
   5961 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5963 $as_echo "$supported" >&6; }
   5964 		if test "$supported" = "yes" ; then
   5965 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5966 			found="yes"
   5967 		fi
   5968 	fi
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 xorg_testset_save_CFLAGS="$CFLAGS"
   5983 
   5984 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5987 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5988 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5989   $as_echo_n "(cached) " >&6
   5990 else
   5991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5992 /* end confdefs.h.  */
   5993 int i;
   5994 _ACEOF
   5995 if ac_fn_c_try_compile "$LINENO"; then :
   5996   xorg_cv_compiler_flag_unknown_warning_option=yes
   5997 else
   5998   xorg_cv_compiler_flag_unknown_warning_option=no
   5999 fi
   6000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6001 fi
   6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6003 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6004 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6005 	CFLAGS="$xorg_testset_save_CFLAGS"
   6006 fi
   6007 
   6008 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6009 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6011 	fi
   6012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6014 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6015 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6016   $as_echo_n "(cached) " >&6
   6017 else
   6018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6019 /* end confdefs.h.  */
   6020 int i;
   6021 _ACEOF
   6022 if ac_fn_c_try_compile "$LINENO"; then :
   6023   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6024 else
   6025   xorg_cv_compiler_flag_unused_command_line_argument=no
   6026 fi
   6027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6028 fi
   6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6030 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6031 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6032 	CFLAGS="$xorg_testset_save_CFLAGS"
   6033 fi
   6034 
   6035 found="no"
   6036 
   6037 	if test $found = "no" ; then
   6038 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6040 		fi
   6041 
   6042 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6044 		fi
   6045 
   6046 		CFLAGS="$CFLAGS -Wshadow"
   6047 
   6048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6049 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6050 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   6051 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6052   $as_echo_n "(cached) " >&6
   6053 else
   6054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6055 /* end confdefs.h.  */
   6056 int i;
   6057 int
   6058 main ()
   6059 {
   6060 
   6061   ;
   6062   return 0;
   6063 }
   6064 _ACEOF
   6065 if ac_fn_c_try_link "$LINENO"; then :
   6066   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6067 else
   6068   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext \
   6071     conftest$ac_exeext conftest.$ac_ext
   6072 fi
   6073 
   6074 
   6075 		CFLAGS="$xorg_testset_save_CFLAGS"
   6076 
   6077 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6079 $as_echo "$supported" >&6; }
   6080 		if test "$supported" = "yes" ; then
   6081 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6082 			found="yes"
   6083 		fi
   6084 	fi
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 xorg_testset_save_CFLAGS="$CFLAGS"
   6099 
   6100 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6103 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6104 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 _ACEOF
   6111 if ac_fn_c_try_compile "$LINENO"; then :
   6112   xorg_cv_compiler_flag_unknown_warning_option=yes
   6113 else
   6114   xorg_cv_compiler_flag_unknown_warning_option=no
   6115 fi
   6116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6117 fi
   6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6119 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6120 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6121 	CFLAGS="$xorg_testset_save_CFLAGS"
   6122 fi
   6123 
   6124 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6125 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6127 	fi
   6128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6130 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6131 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6132   $as_echo_n "(cached) " >&6
   6133 else
   6134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6135 /* end confdefs.h.  */
   6136 int i;
   6137 _ACEOF
   6138 if ac_fn_c_try_compile "$LINENO"; then :
   6139   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6140 else
   6141   xorg_cv_compiler_flag_unused_command_line_argument=no
   6142 fi
   6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6144 fi
   6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6146 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6147 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6148 	CFLAGS="$xorg_testset_save_CFLAGS"
   6149 fi
   6150 
   6151 found="no"
   6152 
   6153 	if test $found = "no" ; then
   6154 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6156 		fi
   6157 
   6158 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6160 		fi
   6161 
   6162 		CFLAGS="$CFLAGS -Wcast-qual"
   6163 
   6164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6165 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6166 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   6167 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6168   $as_echo_n "(cached) " >&6
   6169 else
   6170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6171 /* end confdefs.h.  */
   6172 int i;
   6173 int
   6174 main ()
   6175 {
   6176 
   6177   ;
   6178   return 0;
   6179 }
   6180 _ACEOF
   6181 if ac_fn_c_try_link "$LINENO"; then :
   6182   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6183 else
   6184   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6185 fi
   6186 rm -f core conftest.err conftest.$ac_objext \
   6187     conftest$ac_exeext conftest.$ac_ext
   6188 fi
   6189 
   6190 
   6191 		CFLAGS="$xorg_testset_save_CFLAGS"
   6192 
   6193 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6195 $as_echo "$supported" >&6; }
   6196 		if test "$supported" = "yes" ; then
   6197 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6198 			found="yes"
   6199 		fi
   6200 	fi
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 xorg_testset_save_CFLAGS="$CFLAGS"
   6215 
   6216 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6219 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6220 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6221   $as_echo_n "(cached) " >&6
   6222 else
   6223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6224 /* end confdefs.h.  */
   6225 int i;
   6226 _ACEOF
   6227 if ac_fn_c_try_compile "$LINENO"; then :
   6228   xorg_cv_compiler_flag_unknown_warning_option=yes
   6229 else
   6230   xorg_cv_compiler_flag_unknown_warning_option=no
   6231 fi
   6232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6233 fi
   6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6235 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6236 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6237 	CFLAGS="$xorg_testset_save_CFLAGS"
   6238 fi
   6239 
   6240 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6241 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6243 	fi
   6244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6246 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6247 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} 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 _ACEOF
   6254 if ac_fn_c_try_compile "$LINENO"; then :
   6255   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6256 else
   6257   xorg_cv_compiler_flag_unused_command_line_argument=no
   6258 fi
   6259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6260 fi
   6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6262 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6263 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6264 	CFLAGS="$xorg_testset_save_CFLAGS"
   6265 fi
   6266 
   6267 found="no"
   6268 
   6269 	if test $found = "no" ; then
   6270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6272 		fi
   6273 
   6274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6276 		fi
   6277 
   6278 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6279 
   6280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6281 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6282 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   6283 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6284   $as_echo_n "(cached) " >&6
   6285 else
   6286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6287 /* end confdefs.h.  */
   6288 int i;
   6289 int
   6290 main ()
   6291 {
   6292 
   6293   ;
   6294   return 0;
   6295 }
   6296 _ACEOF
   6297 if ac_fn_c_try_link "$LINENO"; then :
   6298   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6299 else
   6300   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext \
   6303     conftest$ac_exeext conftest.$ac_ext
   6304 fi
   6305 
   6306 
   6307 		CFLAGS="$xorg_testset_save_CFLAGS"
   6308 
   6309 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6311 $as_echo "$supported" >&6; }
   6312 		if test "$supported" = "yes" ; then
   6313 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6314 			found="yes"
   6315 		fi
   6316 	fi
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 xorg_testset_save_CFLAGS="$CFLAGS"
   6331 
   6332 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6335 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6336 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6337   $as_echo_n "(cached) " >&6
   6338 else
   6339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"; then :
   6344   xorg_cv_compiler_flag_unknown_warning_option=yes
   6345 else
   6346   xorg_cv_compiler_flag_unknown_warning_option=no
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6349 fi
   6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6351 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6352 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6353 	CFLAGS="$xorg_testset_save_CFLAGS"
   6354 fi
   6355 
   6356 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6357 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 	fi
   6360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6362 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6363 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6364   $as_echo_n "(cached) " >&6
   6365 else
   6366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 int i;
   6369 _ACEOF
   6370 if ac_fn_c_try_compile "$LINENO"; then :
   6371   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6372 else
   6373   xorg_cv_compiler_flag_unused_command_line_argument=no
   6374 fi
   6375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6376 fi
   6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6378 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6379 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6380 	CFLAGS="$xorg_testset_save_CFLAGS"
   6381 fi
   6382 
   6383 found="no"
   6384 
   6385 	if test $found = "no" ; then
   6386 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6388 		fi
   6389 
   6390 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6392 		fi
   6393 
   6394 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6395 
   6396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6397 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6398 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   6399 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 int
   6406 main ()
   6407 {
   6408 
   6409   ;
   6410   return 0;
   6411 }
   6412 _ACEOF
   6413 if ac_fn_c_try_link "$LINENO"; then :
   6414   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6415 else
   6416   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6417 fi
   6418 rm -f core conftest.err conftest.$ac_objext \
   6419     conftest$ac_exeext conftest.$ac_ext
   6420 fi
   6421 
   6422 
   6423 		CFLAGS="$xorg_testset_save_CFLAGS"
   6424 
   6425 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6427 $as_echo "$supported" >&6; }
   6428 		if test "$supported" = "yes" ; then
   6429 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6430 			found="yes"
   6431 		fi
   6432 	fi
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 xorg_testset_save_CFLAGS="$CFLAGS"
   6447 
   6448 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6451 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6452 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6453   $as_echo_n "(cached) " >&6
   6454 else
   6455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6456 /* end confdefs.h.  */
   6457 int i;
   6458 _ACEOF
   6459 if ac_fn_c_try_compile "$LINENO"; then :
   6460   xorg_cv_compiler_flag_unknown_warning_option=yes
   6461 else
   6462   xorg_cv_compiler_flag_unknown_warning_option=no
   6463 fi
   6464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6465 fi
   6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6467 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6468 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6469 	CFLAGS="$xorg_testset_save_CFLAGS"
   6470 fi
   6471 
   6472 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6473 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 	fi
   6476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6478 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6479 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 _ACEOF
   6486 if ac_fn_c_try_compile "$LINENO"; then :
   6487   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6488 else
   6489   xorg_cv_compiler_flag_unused_command_line_argument=no
   6490 fi
   6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6492 fi
   6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6494 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6495 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6496 	CFLAGS="$xorg_testset_save_CFLAGS"
   6497 fi
   6498 
   6499 found="no"
   6500 
   6501 	if test $found = "no" ; then
   6502 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 		fi
   6505 
   6506 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6508 		fi
   6509 
   6510 		CFLAGS="$CFLAGS -Wredundant-decls"
   6511 
   6512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6513 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6514 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   6515 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6516   $as_echo_n "(cached) " >&6
   6517 else
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 int
   6522 main ()
   6523 {
   6524 
   6525   ;
   6526   return 0;
   6527 }
   6528 _ACEOF
   6529 if ac_fn_c_try_link "$LINENO"; then :
   6530   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6531 else
   6532   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6533 fi
   6534 rm -f core conftest.err conftest.$ac_objext \
   6535     conftest$ac_exeext conftest.$ac_ext
   6536 fi
   6537 
   6538 
   6539 		CFLAGS="$xorg_testset_save_CFLAGS"
   6540 
   6541 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6543 $as_echo "$supported" >&6; }
   6544 		if test "$supported" = "yes" ; then
   6545 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6546 			found="yes"
   6547 		fi
   6548 	fi
   6549 
   6550 
   6551 
   6552 # These are currently disabled because they are noisy.  They will be enabled
   6553 # in the future once the codebase is sufficiently modernized to silence
   6554 # them.  For now, I don't want them to drown out the other warnings.
   6555 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6556 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6557 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6558 
   6559 # Turn some warnings into errors, so we don't accidently get successful builds
   6560 # when there are problems that should be fixed.
   6561 
   6562 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 xorg_testset_save_CFLAGS="$CFLAGS"
   6575 
   6576 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6579 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6580 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 _ACEOF
   6587 if ac_fn_c_try_compile "$LINENO"; then :
   6588   xorg_cv_compiler_flag_unknown_warning_option=yes
   6589 else
   6590   xorg_cv_compiler_flag_unknown_warning_option=no
   6591 fi
   6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6593 fi
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6595 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6596 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6597 	CFLAGS="$xorg_testset_save_CFLAGS"
   6598 fi
   6599 
   6600 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6601 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6603 	fi
   6604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6606 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6607 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6608   $as_echo_n "(cached) " >&6
   6609 else
   6610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6611 /* end confdefs.h.  */
   6612 int i;
   6613 _ACEOF
   6614 if ac_fn_c_try_compile "$LINENO"; then :
   6615   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6616 else
   6617   xorg_cv_compiler_flag_unused_command_line_argument=no
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6620 fi
   6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6622 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6623 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6624 	CFLAGS="$xorg_testset_save_CFLAGS"
   6625 fi
   6626 
   6627 found="no"
   6628 
   6629 	if test $found = "no" ; then
   6630 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6632 		fi
   6633 
   6634 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6636 		fi
   6637 
   6638 		CFLAGS="$CFLAGS -Werror=implicit"
   6639 
   6640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6641 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6642 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   6643 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6644   $as_echo_n "(cached) " >&6
   6645 else
   6646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6647 /* end confdefs.h.  */
   6648 int i;
   6649 int
   6650 main ()
   6651 {
   6652 
   6653   ;
   6654   return 0;
   6655 }
   6656 _ACEOF
   6657 if ac_fn_c_try_link "$LINENO"; then :
   6658   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6659 else
   6660   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6661 fi
   6662 rm -f core conftest.err conftest.$ac_objext \
   6663     conftest$ac_exeext conftest.$ac_ext
   6664 fi
   6665 
   6666 
   6667 		CFLAGS="$xorg_testset_save_CFLAGS"
   6668 
   6669 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6671 $as_echo "$supported" >&6; }
   6672 		if test "$supported" = "yes" ; then
   6673 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6674 			found="yes"
   6675 		fi
   6676 	fi
   6677 
   6678 	if test $found = "no" ; then
   6679 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6681 		fi
   6682 
   6683 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6685 		fi
   6686 
   6687 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6688 
   6689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6690 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6691 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   6692 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6693   $as_echo_n "(cached) " >&6
   6694 else
   6695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6696 /* end confdefs.h.  */
   6697 int i;
   6698 int
   6699 main ()
   6700 {
   6701 
   6702   ;
   6703   return 0;
   6704 }
   6705 _ACEOF
   6706 if ac_fn_c_try_link "$LINENO"; then :
   6707   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6708 else
   6709   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6710 fi
   6711 rm -f core conftest.err conftest.$ac_objext \
   6712     conftest$ac_exeext conftest.$ac_ext
   6713 fi
   6714 
   6715 
   6716 		CFLAGS="$xorg_testset_save_CFLAGS"
   6717 
   6718 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6720 $as_echo "$supported" >&6; }
   6721 		if test "$supported" = "yes" ; then
   6722 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6723 			found="yes"
   6724 		fi
   6725 	fi
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 xorg_testset_save_CFLAGS="$CFLAGS"
   6740 
   6741 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6744 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6745 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6746   $as_echo_n "(cached) " >&6
   6747 else
   6748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6749 /* end confdefs.h.  */
   6750 int i;
   6751 _ACEOF
   6752 if ac_fn_c_try_compile "$LINENO"; then :
   6753   xorg_cv_compiler_flag_unknown_warning_option=yes
   6754 else
   6755   xorg_cv_compiler_flag_unknown_warning_option=no
   6756 fi
   6757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6758 fi
   6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6760 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6761 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6762 	CFLAGS="$xorg_testset_save_CFLAGS"
   6763 fi
   6764 
   6765 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6766 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6768 	fi
   6769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6771 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6772 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6773   $as_echo_n "(cached) " >&6
   6774 else
   6775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6776 /* end confdefs.h.  */
   6777 int i;
   6778 _ACEOF
   6779 if ac_fn_c_try_compile "$LINENO"; then :
   6780   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6781 else
   6782   xorg_cv_compiler_flag_unused_command_line_argument=no
   6783 fi
   6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6785 fi
   6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6787 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6788 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6789 	CFLAGS="$xorg_testset_save_CFLAGS"
   6790 fi
   6791 
   6792 found="no"
   6793 
   6794 	if test $found = "no" ; then
   6795 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 		fi
   6798 
   6799 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6801 		fi
   6802 
   6803 		CFLAGS="$CFLAGS -Werror=nonnull"
   6804 
   6805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6806 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6807 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   6808 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6809   $as_echo_n "(cached) " >&6
   6810 else
   6811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6812 /* end confdefs.h.  */
   6813 int i;
   6814 int
   6815 main ()
   6816 {
   6817 
   6818   ;
   6819   return 0;
   6820 }
   6821 _ACEOF
   6822 if ac_fn_c_try_link "$LINENO"; then :
   6823   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6824 else
   6825   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6826 fi
   6827 rm -f core conftest.err conftest.$ac_objext \
   6828     conftest$ac_exeext conftest.$ac_ext
   6829 fi
   6830 
   6831 
   6832 		CFLAGS="$xorg_testset_save_CFLAGS"
   6833 
   6834 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6836 $as_echo "$supported" >&6; }
   6837 		if test "$supported" = "yes" ; then
   6838 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6839 			found="yes"
   6840 		fi
   6841 	fi
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 xorg_testset_save_CFLAGS="$CFLAGS"
   6856 
   6857 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6860 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6861 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6862   $as_echo_n "(cached) " >&6
   6863 else
   6864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6865 /* end confdefs.h.  */
   6866 int i;
   6867 _ACEOF
   6868 if ac_fn_c_try_compile "$LINENO"; then :
   6869   xorg_cv_compiler_flag_unknown_warning_option=yes
   6870 else
   6871   xorg_cv_compiler_flag_unknown_warning_option=no
   6872 fi
   6873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6874 fi
   6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6876 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6877 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6878 	CFLAGS="$xorg_testset_save_CFLAGS"
   6879 fi
   6880 
   6881 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6882 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6884 	fi
   6885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6887 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6888 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6889   $as_echo_n "(cached) " >&6
   6890 else
   6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 int i;
   6894 _ACEOF
   6895 if ac_fn_c_try_compile "$LINENO"; then :
   6896   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6897 else
   6898   xorg_cv_compiler_flag_unused_command_line_argument=no
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6901 fi
   6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6903 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6904 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6905 	CFLAGS="$xorg_testset_save_CFLAGS"
   6906 fi
   6907 
   6908 found="no"
   6909 
   6910 	if test $found = "no" ; then
   6911 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 		fi
   6914 
   6915 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6917 		fi
   6918 
   6919 		CFLAGS="$CFLAGS -Werror=init-self"
   6920 
   6921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6922 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6923 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   6924 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6925   $as_echo_n "(cached) " >&6
   6926 else
   6927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6928 /* end confdefs.h.  */
   6929 int i;
   6930 int
   6931 main ()
   6932 {
   6933 
   6934   ;
   6935   return 0;
   6936 }
   6937 _ACEOF
   6938 if ac_fn_c_try_link "$LINENO"; then :
   6939   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6940 else
   6941   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6942 fi
   6943 rm -f core conftest.err conftest.$ac_objext \
   6944     conftest$ac_exeext conftest.$ac_ext
   6945 fi
   6946 
   6947 
   6948 		CFLAGS="$xorg_testset_save_CFLAGS"
   6949 
   6950 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6952 $as_echo "$supported" >&6; }
   6953 		if test "$supported" = "yes" ; then
   6954 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6955 			found="yes"
   6956 		fi
   6957 	fi
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 xorg_testset_save_CFLAGS="$CFLAGS"
   6972 
   6973 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6976 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6977 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6978   $as_echo_n "(cached) " >&6
   6979 else
   6980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6981 /* end confdefs.h.  */
   6982 int i;
   6983 _ACEOF
   6984 if ac_fn_c_try_compile "$LINENO"; then :
   6985   xorg_cv_compiler_flag_unknown_warning_option=yes
   6986 else
   6987   xorg_cv_compiler_flag_unknown_warning_option=no
   6988 fi
   6989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6990 fi
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6992 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6993 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6994 	CFLAGS="$xorg_testset_save_CFLAGS"
   6995 fi
   6996 
   6997 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6998 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7000 	fi
   7001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7003 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7004 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7005   $as_echo_n "(cached) " >&6
   7006 else
   7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7008 /* end confdefs.h.  */
   7009 int i;
   7010 _ACEOF
   7011 if ac_fn_c_try_compile "$LINENO"; then :
   7012   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7013 else
   7014   xorg_cv_compiler_flag_unused_command_line_argument=no
   7015 fi
   7016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7017 fi
   7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7019 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7020 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7021 	CFLAGS="$xorg_testset_save_CFLAGS"
   7022 fi
   7023 
   7024 found="no"
   7025 
   7026 	if test $found = "no" ; then
   7027 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7029 		fi
   7030 
   7031 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7033 		fi
   7034 
   7035 		CFLAGS="$CFLAGS -Werror=main"
   7036 
   7037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7038 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7039 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   7040 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7041   $as_echo_n "(cached) " >&6
   7042 else
   7043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7044 /* end confdefs.h.  */
   7045 int i;
   7046 int
   7047 main ()
   7048 {
   7049 
   7050   ;
   7051   return 0;
   7052 }
   7053 _ACEOF
   7054 if ac_fn_c_try_link "$LINENO"; then :
   7055   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7056 else
   7057   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7058 fi
   7059 rm -f core conftest.err conftest.$ac_objext \
   7060     conftest$ac_exeext conftest.$ac_ext
   7061 fi
   7062 
   7063 
   7064 		CFLAGS="$xorg_testset_save_CFLAGS"
   7065 
   7066 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7068 $as_echo "$supported" >&6; }
   7069 		if test "$supported" = "yes" ; then
   7070 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7071 			found="yes"
   7072 		fi
   7073 	fi
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 xorg_testset_save_CFLAGS="$CFLAGS"
   7088 
   7089 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7090 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7091 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7092 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7093 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7094   $as_echo_n "(cached) " >&6
   7095 else
   7096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7097 /* end confdefs.h.  */
   7098 int i;
   7099 _ACEOF
   7100 if ac_fn_c_try_compile "$LINENO"; then :
   7101   xorg_cv_compiler_flag_unknown_warning_option=yes
   7102 else
   7103   xorg_cv_compiler_flag_unknown_warning_option=no
   7104 fi
   7105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7106 fi
   7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7108 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7109 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7110 	CFLAGS="$xorg_testset_save_CFLAGS"
   7111 fi
   7112 
   7113 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7114 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7115 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7116 	fi
   7117 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7119 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7120 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7121   $as_echo_n "(cached) " >&6
   7122 else
   7123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 _ACEOF
   7127 if ac_fn_c_try_compile "$LINENO"; then :
   7128   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7129 else
   7130   xorg_cv_compiler_flag_unused_command_line_argument=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7133 fi
   7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7135 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7136 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7137 	CFLAGS="$xorg_testset_save_CFLAGS"
   7138 fi
   7139 
   7140 found="no"
   7141 
   7142 	if test $found = "no" ; then
   7143 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7144 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7145 		fi
   7146 
   7147 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7148 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7149 		fi
   7150 
   7151 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7152 
   7153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7154 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7155 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   7156 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7157   $as_echo_n "(cached) " >&6
   7158 else
   7159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7160 /* end confdefs.h.  */
   7161 int i;
   7162 int
   7163 main ()
   7164 {
   7165 
   7166   ;
   7167   return 0;
   7168 }
   7169 _ACEOF
   7170 if ac_fn_c_try_link "$LINENO"; then :
   7171   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7172 else
   7173   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7174 fi
   7175 rm -f core conftest.err conftest.$ac_objext \
   7176     conftest$ac_exeext conftest.$ac_ext
   7177 fi
   7178 
   7179 
   7180 		CFLAGS="$xorg_testset_save_CFLAGS"
   7181 
   7182 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7184 $as_echo "$supported" >&6; }
   7185 		if test "$supported" = "yes" ; then
   7186 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7187 			found="yes"
   7188 		fi
   7189 	fi
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 xorg_testset_save_CFLAGS="$CFLAGS"
   7204 
   7205 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7208 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7209 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7210   $as_echo_n "(cached) " >&6
   7211 else
   7212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7213 /* end confdefs.h.  */
   7214 int i;
   7215 _ACEOF
   7216 if ac_fn_c_try_compile "$LINENO"; then :
   7217   xorg_cv_compiler_flag_unknown_warning_option=yes
   7218 else
   7219   xorg_cv_compiler_flag_unknown_warning_option=no
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7222 fi
   7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7224 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7225 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7226 	CFLAGS="$xorg_testset_save_CFLAGS"
   7227 fi
   7228 
   7229 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7230 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7232 	fi
   7233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7235 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7236 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7237   $as_echo_n "(cached) " >&6
   7238 else
   7239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7240 /* end confdefs.h.  */
   7241 int i;
   7242 _ACEOF
   7243 if ac_fn_c_try_compile "$LINENO"; then :
   7244   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7245 else
   7246   xorg_cv_compiler_flag_unused_command_line_argument=no
   7247 fi
   7248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7249 fi
   7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7251 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7252 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7253 	CFLAGS="$xorg_testset_save_CFLAGS"
   7254 fi
   7255 
   7256 found="no"
   7257 
   7258 	if test $found = "no" ; then
   7259 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7261 		fi
   7262 
   7263 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7265 		fi
   7266 
   7267 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7268 
   7269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7270 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7271 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   7272 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7273   $as_echo_n "(cached) " >&6
   7274 else
   7275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7276 /* end confdefs.h.  */
   7277 int i;
   7278 int
   7279 main ()
   7280 {
   7281 
   7282   ;
   7283   return 0;
   7284 }
   7285 _ACEOF
   7286 if ac_fn_c_try_link "$LINENO"; then :
   7287   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7288 else
   7289   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7290 fi
   7291 rm -f core conftest.err conftest.$ac_objext \
   7292     conftest$ac_exeext conftest.$ac_ext
   7293 fi
   7294 
   7295 
   7296 		CFLAGS="$xorg_testset_save_CFLAGS"
   7297 
   7298 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7300 $as_echo "$supported" >&6; }
   7301 		if test "$supported" = "yes" ; then
   7302 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7303 			found="yes"
   7304 		fi
   7305 	fi
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 xorg_testset_save_CFLAGS="$CFLAGS"
   7320 
   7321 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7324 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7325 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7329 /* end confdefs.h.  */
   7330 int i;
   7331 _ACEOF
   7332 if ac_fn_c_try_compile "$LINENO"; then :
   7333   xorg_cv_compiler_flag_unknown_warning_option=yes
   7334 else
   7335   xorg_cv_compiler_flag_unknown_warning_option=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7338 fi
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7340 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7341 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7342 	CFLAGS="$xorg_testset_save_CFLAGS"
   7343 fi
   7344 
   7345 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7346 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7348 	fi
   7349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7351 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7352 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7353   $as_echo_n "(cached) " >&6
   7354 else
   7355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7356 /* end confdefs.h.  */
   7357 int i;
   7358 _ACEOF
   7359 if ac_fn_c_try_compile "$LINENO"; then :
   7360   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7361 else
   7362   xorg_cv_compiler_flag_unused_command_line_argument=no
   7363 fi
   7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7365 fi
   7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7367 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7368 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7369 	CFLAGS="$xorg_testset_save_CFLAGS"
   7370 fi
   7371 
   7372 found="no"
   7373 
   7374 	if test $found = "no" ; then
   7375 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 		fi
   7378 
   7379 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7381 		fi
   7382 
   7383 		CFLAGS="$CFLAGS -Werror=return-type"
   7384 
   7385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7386 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7387 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   7388 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7389   $as_echo_n "(cached) " >&6
   7390 else
   7391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7392 /* end confdefs.h.  */
   7393 int i;
   7394 int
   7395 main ()
   7396 {
   7397 
   7398   ;
   7399   return 0;
   7400 }
   7401 _ACEOF
   7402 if ac_fn_c_try_link "$LINENO"; then :
   7403   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7404 else
   7405   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7406 fi
   7407 rm -f core conftest.err conftest.$ac_objext \
   7408     conftest$ac_exeext conftest.$ac_ext
   7409 fi
   7410 
   7411 
   7412 		CFLAGS="$xorg_testset_save_CFLAGS"
   7413 
   7414 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7416 $as_echo "$supported" >&6; }
   7417 		if test "$supported" = "yes" ; then
   7418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7419 			found="yes"
   7420 		fi
   7421 	fi
   7422 
   7423 	if test $found = "no" ; then
   7424 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 		fi
   7427 
   7428 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7430 		fi
   7431 
   7432 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7433 
   7434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7435 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7436 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   7437 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7438   $as_echo_n "(cached) " >&6
   7439 else
   7440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7441 /* end confdefs.h.  */
   7442 int i;
   7443 int
   7444 main ()
   7445 {
   7446 
   7447   ;
   7448   return 0;
   7449 }
   7450 _ACEOF
   7451 if ac_fn_c_try_link "$LINENO"; then :
   7452   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7453 else
   7454   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7455 fi
   7456 rm -f core conftest.err conftest.$ac_objext \
   7457     conftest$ac_exeext conftest.$ac_ext
   7458 fi
   7459 
   7460 
   7461 		CFLAGS="$xorg_testset_save_CFLAGS"
   7462 
   7463 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7465 $as_echo "$supported" >&6; }
   7466 		if test "$supported" = "yes" ; then
   7467 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7468 			found="yes"
   7469 		fi
   7470 	fi
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 xorg_testset_save_CFLAGS="$CFLAGS"
   7485 
   7486 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7489 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7490 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7491   $as_echo_n "(cached) " >&6
   7492 else
   7493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7494 /* end confdefs.h.  */
   7495 int i;
   7496 _ACEOF
   7497 if ac_fn_c_try_compile "$LINENO"; then :
   7498   xorg_cv_compiler_flag_unknown_warning_option=yes
   7499 else
   7500   xorg_cv_compiler_flag_unknown_warning_option=no
   7501 fi
   7502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7503 fi
   7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7505 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7506 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7507 	CFLAGS="$xorg_testset_save_CFLAGS"
   7508 fi
   7509 
   7510 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7511 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7512 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7513 	fi
   7514 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7516 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7517 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7518   $as_echo_n "(cached) " >&6
   7519 else
   7520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7521 /* end confdefs.h.  */
   7522 int i;
   7523 _ACEOF
   7524 if ac_fn_c_try_compile "$LINENO"; then :
   7525   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7526 else
   7527   xorg_cv_compiler_flag_unused_command_line_argument=no
   7528 fi
   7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7530 fi
   7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7532 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7533 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7534 	CFLAGS="$xorg_testset_save_CFLAGS"
   7535 fi
   7536 
   7537 found="no"
   7538 
   7539 	if test $found = "no" ; then
   7540 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7542 		fi
   7543 
   7544 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7546 		fi
   7547 
   7548 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7549 
   7550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7551 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7552 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   7553 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7557 /* end confdefs.h.  */
   7558 int i;
   7559 int
   7560 main ()
   7561 {
   7562 
   7563   ;
   7564   return 0;
   7565 }
   7566 _ACEOF
   7567 if ac_fn_c_try_link "$LINENO"; then :
   7568   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7569 else
   7570   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7571 fi
   7572 rm -f core conftest.err conftest.$ac_objext \
   7573     conftest$ac_exeext conftest.$ac_ext
   7574 fi
   7575 
   7576 
   7577 		CFLAGS="$xorg_testset_save_CFLAGS"
   7578 
   7579 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7581 $as_echo "$supported" >&6; }
   7582 		if test "$supported" = "yes" ; then
   7583 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7584 			found="yes"
   7585 		fi
   7586 	fi
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 xorg_testset_save_CFLAGS="$CFLAGS"
   7601 
   7602 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7604 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7605 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7606 if ${xorg_cv_compiler_flag_unknown_warning_option+:} 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 _ACEOF
   7613 if ac_fn_c_try_compile "$LINENO"; then :
   7614   xorg_cv_compiler_flag_unknown_warning_option=yes
   7615 else
   7616   xorg_cv_compiler_flag_unknown_warning_option=no
   7617 fi
   7618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7619 fi
   7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7621 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7622 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7623 	CFLAGS="$xorg_testset_save_CFLAGS"
   7624 fi
   7625 
   7626 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7627 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7629 	fi
   7630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7632 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7633 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 _ACEOF
   7640 if ac_fn_c_try_compile "$LINENO"; then :
   7641   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7642 else
   7643   xorg_cv_compiler_flag_unused_command_line_argument=no
   7644 fi
   7645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7646 fi
   7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7648 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7649 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7650 	CFLAGS="$xorg_testset_save_CFLAGS"
   7651 fi
   7652 
   7653 found="no"
   7654 
   7655 	if test $found = "no" ; then
   7656 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7658 		fi
   7659 
   7660 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7662 		fi
   7663 
   7664 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7665 
   7666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7667 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7668 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   7669 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7670   $as_echo_n "(cached) " >&6
   7671 else
   7672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7673 /* end confdefs.h.  */
   7674 int i;
   7675 int
   7676 main ()
   7677 {
   7678 
   7679   ;
   7680   return 0;
   7681 }
   7682 _ACEOF
   7683 if ac_fn_c_try_link "$LINENO"; then :
   7684   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7685 else
   7686   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7687 fi
   7688 rm -f core conftest.err conftest.$ac_objext \
   7689     conftest$ac_exeext conftest.$ac_ext
   7690 fi
   7691 
   7692 
   7693 		CFLAGS="$xorg_testset_save_CFLAGS"
   7694 
   7695 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7697 $as_echo "$supported" >&6; }
   7698 		if test "$supported" = "yes" ; then
   7699 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7700 			found="yes"
   7701 		fi
   7702 	fi
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 xorg_testset_save_CFLAGS="$CFLAGS"
   7717 
   7718 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7721 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7722 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7723   $as_echo_n "(cached) " >&6
   7724 else
   7725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7726 /* end confdefs.h.  */
   7727 int i;
   7728 _ACEOF
   7729 if ac_fn_c_try_compile "$LINENO"; then :
   7730   xorg_cv_compiler_flag_unknown_warning_option=yes
   7731 else
   7732   xorg_cv_compiler_flag_unknown_warning_option=no
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7735 fi
   7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7737 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7738 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7739 	CFLAGS="$xorg_testset_save_CFLAGS"
   7740 fi
   7741 
   7742 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7743 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7745 	fi
   7746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7748 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7749 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7750   $as_echo_n "(cached) " >&6
   7751 else
   7752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7753 /* end confdefs.h.  */
   7754 int i;
   7755 _ACEOF
   7756 if ac_fn_c_try_compile "$LINENO"; then :
   7757   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7758 else
   7759   xorg_cv_compiler_flag_unused_command_line_argument=no
   7760 fi
   7761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7762 fi
   7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7764 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7765 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7766 	CFLAGS="$xorg_testset_save_CFLAGS"
   7767 fi
   7768 
   7769 found="no"
   7770 
   7771 	if test $found = "no" ; then
   7772 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7774 		fi
   7775 
   7776 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7778 		fi
   7779 
   7780 		CFLAGS="$CFLAGS -Werror=write-strings"
   7781 
   7782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7783 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7784 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   7785 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7786   $as_echo_n "(cached) " >&6
   7787 else
   7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 int
   7792 main ()
   7793 {
   7794 
   7795   ;
   7796   return 0;
   7797 }
   7798 _ACEOF
   7799 if ac_fn_c_try_link "$LINENO"; then :
   7800   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7801 else
   7802   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7803 fi
   7804 rm -f core conftest.err conftest.$ac_objext \
   7805     conftest$ac_exeext conftest.$ac_ext
   7806 fi
   7807 
   7808 
   7809 		CFLAGS="$xorg_testset_save_CFLAGS"
   7810 
   7811 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7813 $as_echo "$supported" >&6; }
   7814 		if test "$supported" = "yes" ; then
   7815 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7816 			found="yes"
   7817 		fi
   7818 	fi
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 xorg_testset_save_CFLAGS="$CFLAGS"
   7833 
   7834 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7837 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7838 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 _ACEOF
   7845 if ac_fn_c_try_compile "$LINENO"; then :
   7846   xorg_cv_compiler_flag_unknown_warning_option=yes
   7847 else
   7848   xorg_cv_compiler_flag_unknown_warning_option=no
   7849 fi
   7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7851 fi
   7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7853 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7854 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7855 	CFLAGS="$xorg_testset_save_CFLAGS"
   7856 fi
   7857 
   7858 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7859 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7861 	fi
   7862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7864 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7865 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 _ACEOF
   7872 if ac_fn_c_try_compile "$LINENO"; then :
   7873   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7874 else
   7875   xorg_cv_compiler_flag_unused_command_line_argument=no
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7878 fi
   7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7880 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7881 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7882 	CFLAGS="$xorg_testset_save_CFLAGS"
   7883 fi
   7884 
   7885 found="no"
   7886 
   7887 	if test $found = "no" ; then
   7888 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7890 		fi
   7891 
   7892 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7894 		fi
   7895 
   7896 		CFLAGS="$CFLAGS -Werror=address"
   7897 
   7898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7899 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7900 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   7901 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7902   $as_echo_n "(cached) " >&6
   7903 else
   7904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7905 /* end confdefs.h.  */
   7906 int i;
   7907 int
   7908 main ()
   7909 {
   7910 
   7911   ;
   7912   return 0;
   7913 }
   7914 _ACEOF
   7915 if ac_fn_c_try_link "$LINENO"; then :
   7916   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7917 else
   7918   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7919 fi
   7920 rm -f core conftest.err conftest.$ac_objext \
   7921     conftest$ac_exeext conftest.$ac_ext
   7922 fi
   7923 
   7924 
   7925 		CFLAGS="$xorg_testset_save_CFLAGS"
   7926 
   7927 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7929 $as_echo "$supported" >&6; }
   7930 		if test "$supported" = "yes" ; then
   7931 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7932 			found="yes"
   7933 		fi
   7934 	fi
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 xorg_testset_save_CFLAGS="$CFLAGS"
   7949 
   7950 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7953 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7954 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7955   $as_echo_n "(cached) " >&6
   7956 else
   7957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7958 /* end confdefs.h.  */
   7959 int i;
   7960 _ACEOF
   7961 if ac_fn_c_try_compile "$LINENO"; then :
   7962   xorg_cv_compiler_flag_unknown_warning_option=yes
   7963 else
   7964   xorg_cv_compiler_flag_unknown_warning_option=no
   7965 fi
   7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7967 fi
   7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7969 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7970 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7971 	CFLAGS="$xorg_testset_save_CFLAGS"
   7972 fi
   7973 
   7974 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7975 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7977 	fi
   7978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7980 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7981 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7982   $as_echo_n "(cached) " >&6
   7983 else
   7984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7985 /* end confdefs.h.  */
   7986 int i;
   7987 _ACEOF
   7988 if ac_fn_c_try_compile "$LINENO"; then :
   7989   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7990 else
   7991   xorg_cv_compiler_flag_unused_command_line_argument=no
   7992 fi
   7993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7994 fi
   7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7996 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7997 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7998 	CFLAGS="$xorg_testset_save_CFLAGS"
   7999 fi
   8000 
   8001 found="no"
   8002 
   8003 	if test $found = "no" ; then
   8004 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8006 		fi
   8007 
   8008 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8010 		fi
   8011 
   8012 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8013 
   8014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8015 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8016 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   8017 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8018   $as_echo_n "(cached) " >&6
   8019 else
   8020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8021 /* end confdefs.h.  */
   8022 int i;
   8023 int
   8024 main ()
   8025 {
   8026 
   8027   ;
   8028   return 0;
   8029 }
   8030 _ACEOF
   8031 if ac_fn_c_try_link "$LINENO"; then :
   8032   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8033 else
   8034   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8035 fi
   8036 rm -f core conftest.err conftest.$ac_objext \
   8037     conftest$ac_exeext conftest.$ac_ext
   8038 fi
   8039 
   8040 
   8041 		CFLAGS="$xorg_testset_save_CFLAGS"
   8042 
   8043 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8045 $as_echo "$supported" >&6; }
   8046 		if test "$supported" = "yes" ; then
   8047 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8048 			found="yes"
   8049 		fi
   8050 	fi
   8051 
   8052 	if test $found = "no" ; then
   8053 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8055 		fi
   8056 
   8057 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8059 		fi
   8060 
   8061 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8062 
   8063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8064 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8065 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   8066 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8067   $as_echo_n "(cached) " >&6
   8068 else
   8069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8070 /* end confdefs.h.  */
   8071 int i;
   8072 int
   8073 main ()
   8074 {
   8075 
   8076   ;
   8077   return 0;
   8078 }
   8079 _ACEOF
   8080 if ac_fn_c_try_link "$LINENO"; then :
   8081   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8082 else
   8083   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8084 fi
   8085 rm -f core conftest.err conftest.$ac_objext \
   8086     conftest$ac_exeext conftest.$ac_ext
   8087 fi
   8088 
   8089 
   8090 		CFLAGS="$xorg_testset_save_CFLAGS"
   8091 
   8092 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8094 $as_echo "$supported" >&6; }
   8095 		if test "$supported" = "yes" ; then
   8096 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8097 			found="yes"
   8098 		fi
   8099 	fi
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 xorg_testset_save_CFLAGS="$CFLAGS"
   8114 
   8115 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8118 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8119 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8120   $as_echo_n "(cached) " >&6
   8121 else
   8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8123 /* end confdefs.h.  */
   8124 int i;
   8125 _ACEOF
   8126 if ac_fn_c_try_compile "$LINENO"; then :
   8127   xorg_cv_compiler_flag_unknown_warning_option=yes
   8128 else
   8129   xorg_cv_compiler_flag_unknown_warning_option=no
   8130 fi
   8131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8132 fi
   8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8134 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8135 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8136 	CFLAGS="$xorg_testset_save_CFLAGS"
   8137 fi
   8138 
   8139 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8140 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8142 	fi
   8143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8145 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8146 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8147   $as_echo_n "(cached) " >&6
   8148 else
   8149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8150 /* end confdefs.h.  */
   8151 int i;
   8152 _ACEOF
   8153 if ac_fn_c_try_compile "$LINENO"; then :
   8154   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8155 else
   8156   xorg_cv_compiler_flag_unused_command_line_argument=no
   8157 fi
   8158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8159 fi
   8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8161 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8162 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8163 	CFLAGS="$xorg_testset_save_CFLAGS"
   8164 fi
   8165 
   8166 found="no"
   8167 
   8168 	if test $found = "no" ; then
   8169 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8171 		fi
   8172 
   8173 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8175 		fi
   8176 
   8177 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8178 
   8179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8180 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8181 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   8182 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   8189 main ()
   8190 {
   8191 
   8192   ;
   8193   return 0;
   8194 }
   8195 _ACEOF
   8196 if ac_fn_c_try_link "$LINENO"; then :
   8197   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8198 else
   8199   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8200 fi
   8201 rm -f core conftest.err conftest.$ac_objext \
   8202     conftest$ac_exeext conftest.$ac_ext
   8203 fi
   8204 
   8205 
   8206 		CFLAGS="$xorg_testset_save_CFLAGS"
   8207 
   8208 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8210 $as_echo "$supported" >&6; }
   8211 		if test "$supported" = "yes" ; then
   8212 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8213 			found="yes"
   8214 		fi
   8215 	fi
   8216 
   8217  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8218 else
   8219 { $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
   8220 $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;}
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 xorg_testset_save_CFLAGS="$CFLAGS"
   8233 
   8234 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8237 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8238 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8239   $as_echo_n "(cached) " >&6
   8240 else
   8241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8242 /* end confdefs.h.  */
   8243 int i;
   8244 _ACEOF
   8245 if ac_fn_c_try_compile "$LINENO"; then :
   8246   xorg_cv_compiler_flag_unknown_warning_option=yes
   8247 else
   8248   xorg_cv_compiler_flag_unknown_warning_option=no
   8249 fi
   8250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8251 fi
   8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8253 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8254 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8255 	CFLAGS="$xorg_testset_save_CFLAGS"
   8256 fi
   8257 
   8258 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8259 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8261 	fi
   8262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8264 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8265 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8266   $as_echo_n "(cached) " >&6
   8267 else
   8268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 _ACEOF
   8272 if ac_fn_c_try_compile "$LINENO"; then :
   8273   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8274 else
   8275   xorg_cv_compiler_flag_unused_command_line_argument=no
   8276 fi
   8277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8278 fi
   8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8280 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8281 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8282 	CFLAGS="$xorg_testset_save_CFLAGS"
   8283 fi
   8284 
   8285 found="no"
   8286 
   8287 	if test $found = "no" ; then
   8288 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8290 		fi
   8291 
   8292 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8294 		fi
   8295 
   8296 		CFLAGS="$CFLAGS -Wimplicit"
   8297 
   8298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8299 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8300 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   8301 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8302   $as_echo_n "(cached) " >&6
   8303 else
   8304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8305 /* end confdefs.h.  */
   8306 int i;
   8307 int
   8308 main ()
   8309 {
   8310 
   8311   ;
   8312   return 0;
   8313 }
   8314 _ACEOF
   8315 if ac_fn_c_try_link "$LINENO"; then :
   8316   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8317 else
   8318   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8319 fi
   8320 rm -f core conftest.err conftest.$ac_objext \
   8321     conftest$ac_exeext conftest.$ac_ext
   8322 fi
   8323 
   8324 
   8325 		CFLAGS="$xorg_testset_save_CFLAGS"
   8326 
   8327 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8329 $as_echo "$supported" >&6; }
   8330 		if test "$supported" = "yes" ; then
   8331 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8332 			found="yes"
   8333 		fi
   8334 	fi
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 xorg_testset_save_CFLAGS="$CFLAGS"
   8349 
   8350 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8353 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8354 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"; then :
   8362   xorg_cv_compiler_flag_unknown_warning_option=yes
   8363 else
   8364   xorg_cv_compiler_flag_unknown_warning_option=no
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8369 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8370 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8371 	CFLAGS="$xorg_testset_save_CFLAGS"
   8372 fi
   8373 
   8374 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8375 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8377 	fi
   8378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8380 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8381 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8382   $as_echo_n "(cached) " >&6
   8383 else
   8384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8385 /* end confdefs.h.  */
   8386 int i;
   8387 _ACEOF
   8388 if ac_fn_c_try_compile "$LINENO"; then :
   8389   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8390 else
   8391   xorg_cv_compiler_flag_unused_command_line_argument=no
   8392 fi
   8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8394 fi
   8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8396 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8397 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8398 	CFLAGS="$xorg_testset_save_CFLAGS"
   8399 fi
   8400 
   8401 found="no"
   8402 
   8403 	if test $found = "no" ; then
   8404 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 		fi
   8407 
   8408 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8410 		fi
   8411 
   8412 		CFLAGS="$CFLAGS -Wnonnull"
   8413 
   8414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8415 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8416 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   8417 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8418   $as_echo_n "(cached) " >&6
   8419 else
   8420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 int
   8424 main ()
   8425 {
   8426 
   8427   ;
   8428   return 0;
   8429 }
   8430 _ACEOF
   8431 if ac_fn_c_try_link "$LINENO"; then :
   8432   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8433 else
   8434   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext \
   8437     conftest$ac_exeext conftest.$ac_ext
   8438 fi
   8439 
   8440 
   8441 		CFLAGS="$xorg_testset_save_CFLAGS"
   8442 
   8443 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8445 $as_echo "$supported" >&6; }
   8446 		if test "$supported" = "yes" ; then
   8447 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8448 			found="yes"
   8449 		fi
   8450 	fi
   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_unknown_warning_option" = "x" ; then
   8467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8469 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8470 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   8479 else
   8480   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   8485 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8486 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8487 	CFLAGS="$xorg_testset_save_CFLAGS"
   8488 fi
   8489 
   8490 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8491 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   8496 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8497 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   8506 else
   8507   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   8512 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8513 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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 -Winit-self"
   8529 
   8530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8531 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8532 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   8533 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   8549 else
   8550   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Winit-self"
   8564 			found="yes"
   8565 		fi
   8566 	fi
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 xorg_testset_save_CFLAGS="$CFLAGS"
   8581 
   8582 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8585 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8586 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8587   $as_echo_n "(cached) " >&6
   8588 else
   8589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8590 /* end confdefs.h.  */
   8591 int i;
   8592 _ACEOF
   8593 if ac_fn_c_try_compile "$LINENO"; then :
   8594   xorg_cv_compiler_flag_unknown_warning_option=yes
   8595 else
   8596   xorg_cv_compiler_flag_unknown_warning_option=no
   8597 fi
   8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8599 fi
   8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8601 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8602 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8603 	CFLAGS="$xorg_testset_save_CFLAGS"
   8604 fi
   8605 
   8606 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8607 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8609 	fi
   8610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8612 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8613 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8614   $as_echo_n "(cached) " >&6
   8615 else
   8616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8617 /* end confdefs.h.  */
   8618 int i;
   8619 _ACEOF
   8620 if ac_fn_c_try_compile "$LINENO"; then :
   8621   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8622 else
   8623   xorg_cv_compiler_flag_unused_command_line_argument=no
   8624 fi
   8625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8626 fi
   8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8628 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8629 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8630 	CFLAGS="$xorg_testset_save_CFLAGS"
   8631 fi
   8632 
   8633 found="no"
   8634 
   8635 	if test $found = "no" ; then
   8636 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8638 		fi
   8639 
   8640 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8642 		fi
   8643 
   8644 		CFLAGS="$CFLAGS -Wmain"
   8645 
   8646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8647 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8648 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   8649 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8650   $as_echo_n "(cached) " >&6
   8651 else
   8652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8653 /* end confdefs.h.  */
   8654 int i;
   8655 int
   8656 main ()
   8657 {
   8658 
   8659   ;
   8660   return 0;
   8661 }
   8662 _ACEOF
   8663 if ac_fn_c_try_link "$LINENO"; then :
   8664   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8665 else
   8666   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext \
   8669     conftest$ac_exeext conftest.$ac_ext
   8670 fi
   8671 
   8672 
   8673 		CFLAGS="$xorg_testset_save_CFLAGS"
   8674 
   8675 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8677 $as_echo "$supported" >&6; }
   8678 		if test "$supported" = "yes" ; then
   8679 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8680 			found="yes"
   8681 		fi
   8682 	fi
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 xorg_testset_save_CFLAGS="$CFLAGS"
   8697 
   8698 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8701 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8702 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8703   $as_echo_n "(cached) " >&6
   8704 else
   8705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8706 /* end confdefs.h.  */
   8707 int i;
   8708 _ACEOF
   8709 if ac_fn_c_try_compile "$LINENO"; then :
   8710   xorg_cv_compiler_flag_unknown_warning_option=yes
   8711 else
   8712   xorg_cv_compiler_flag_unknown_warning_option=no
   8713 fi
   8714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8715 fi
   8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8717 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8718 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8719 	CFLAGS="$xorg_testset_save_CFLAGS"
   8720 fi
   8721 
   8722 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8723 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8725 	fi
   8726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8728 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8729 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8733 /* end confdefs.h.  */
   8734 int i;
   8735 _ACEOF
   8736 if ac_fn_c_try_compile "$LINENO"; then :
   8737   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8738 else
   8739   xorg_cv_compiler_flag_unused_command_line_argument=no
   8740 fi
   8741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8742 fi
   8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8744 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8745 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8746 	CFLAGS="$xorg_testset_save_CFLAGS"
   8747 fi
   8748 
   8749 found="no"
   8750 
   8751 	if test $found = "no" ; then
   8752 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8754 		fi
   8755 
   8756 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8758 		fi
   8759 
   8760 		CFLAGS="$CFLAGS -Wmissing-braces"
   8761 
   8762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8763 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8764 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   8765 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8766   $as_echo_n "(cached) " >&6
   8767 else
   8768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8769 /* end confdefs.h.  */
   8770 int i;
   8771 int
   8772 main ()
   8773 {
   8774 
   8775   ;
   8776   return 0;
   8777 }
   8778 _ACEOF
   8779 if ac_fn_c_try_link "$LINENO"; then :
   8780   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8781 else
   8782   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8783 fi
   8784 rm -f core conftest.err conftest.$ac_objext \
   8785     conftest$ac_exeext conftest.$ac_ext
   8786 fi
   8787 
   8788 
   8789 		CFLAGS="$xorg_testset_save_CFLAGS"
   8790 
   8791 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8793 $as_echo "$supported" >&6; }
   8794 		if test "$supported" = "yes" ; then
   8795 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8796 			found="yes"
   8797 		fi
   8798 	fi
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 xorg_testset_save_CFLAGS="$CFLAGS"
   8813 
   8814 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8817 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8818 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8819   $as_echo_n "(cached) " >&6
   8820 else
   8821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8822 /* end confdefs.h.  */
   8823 int i;
   8824 _ACEOF
   8825 if ac_fn_c_try_compile "$LINENO"; then :
   8826   xorg_cv_compiler_flag_unknown_warning_option=yes
   8827 else
   8828   xorg_cv_compiler_flag_unknown_warning_option=no
   8829 fi
   8830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8831 fi
   8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8833 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8834 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8835 	CFLAGS="$xorg_testset_save_CFLAGS"
   8836 fi
   8837 
   8838 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8839 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8841 	fi
   8842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8844 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8845 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8846   $as_echo_n "(cached) " >&6
   8847 else
   8848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8849 /* end confdefs.h.  */
   8850 int i;
   8851 _ACEOF
   8852 if ac_fn_c_try_compile "$LINENO"; then :
   8853   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8854 else
   8855   xorg_cv_compiler_flag_unused_command_line_argument=no
   8856 fi
   8857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8858 fi
   8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8860 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8861 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8862 	CFLAGS="$xorg_testset_save_CFLAGS"
   8863 fi
   8864 
   8865 found="no"
   8866 
   8867 	if test $found = "no" ; then
   8868 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8870 		fi
   8871 
   8872 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8874 		fi
   8875 
   8876 		CFLAGS="$CFLAGS -Wsequence-point"
   8877 
   8878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8879 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8880 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   8881 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8885 /* end confdefs.h.  */
   8886 int i;
   8887 int
   8888 main ()
   8889 {
   8890 
   8891   ;
   8892   return 0;
   8893 }
   8894 _ACEOF
   8895 if ac_fn_c_try_link "$LINENO"; then :
   8896   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8897 else
   8898   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8899 fi
   8900 rm -f core conftest.err conftest.$ac_objext \
   8901     conftest$ac_exeext conftest.$ac_ext
   8902 fi
   8903 
   8904 
   8905 		CFLAGS="$xorg_testset_save_CFLAGS"
   8906 
   8907 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8909 $as_echo "$supported" >&6; }
   8910 		if test "$supported" = "yes" ; then
   8911 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8912 			found="yes"
   8913 		fi
   8914 	fi
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 xorg_testset_save_CFLAGS="$CFLAGS"
   8929 
   8930 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8933 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8934 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8935   $as_echo_n "(cached) " >&6
   8936 else
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 _ACEOF
   8941 if ac_fn_c_try_compile "$LINENO"; then :
   8942   xorg_cv_compiler_flag_unknown_warning_option=yes
   8943 else
   8944   xorg_cv_compiler_flag_unknown_warning_option=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8947 fi
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8949 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8950 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8951 	CFLAGS="$xorg_testset_save_CFLAGS"
   8952 fi
   8953 
   8954 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8955 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	fi
   8958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8960 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8961 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8962   $as_echo_n "(cached) " >&6
   8963 else
   8964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8965 /* end confdefs.h.  */
   8966 int i;
   8967 _ACEOF
   8968 if ac_fn_c_try_compile "$LINENO"; then :
   8969   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8970 else
   8971   xorg_cv_compiler_flag_unused_command_line_argument=no
   8972 fi
   8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8974 fi
   8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8976 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8977 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8978 	CFLAGS="$xorg_testset_save_CFLAGS"
   8979 fi
   8980 
   8981 found="no"
   8982 
   8983 	if test $found = "no" ; then
   8984 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8986 		fi
   8987 
   8988 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8990 		fi
   8991 
   8992 		CFLAGS="$CFLAGS -Wreturn-type"
   8993 
   8994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   8995 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   8996 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   8997 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 int
   9004 main ()
   9005 {
   9006 
   9007   ;
   9008   return 0;
   9009 }
   9010 _ACEOF
   9011 if ac_fn_c_try_link "$LINENO"; then :
   9012   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9013 else
   9014   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext \
   9017     conftest$ac_exeext conftest.$ac_ext
   9018 fi
   9019 
   9020 
   9021 		CFLAGS="$xorg_testset_save_CFLAGS"
   9022 
   9023 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9025 $as_echo "$supported" >&6; }
   9026 		if test "$supported" = "yes" ; then
   9027 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9028 			found="yes"
   9029 		fi
   9030 	fi
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 xorg_testset_save_CFLAGS="$CFLAGS"
   9045 
   9046 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9049 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9050 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9051   $as_echo_n "(cached) " >&6
   9052 else
   9053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9054 /* end confdefs.h.  */
   9055 int i;
   9056 _ACEOF
   9057 if ac_fn_c_try_compile "$LINENO"; then :
   9058   xorg_cv_compiler_flag_unknown_warning_option=yes
   9059 else
   9060   xorg_cv_compiler_flag_unknown_warning_option=no
   9061 fi
   9062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9063 fi
   9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9065 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9066 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9067 	CFLAGS="$xorg_testset_save_CFLAGS"
   9068 fi
   9069 
   9070 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9071 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9073 	fi
   9074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9076 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9077 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9078   $as_echo_n "(cached) " >&6
   9079 else
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 _ACEOF
   9084 if ac_fn_c_try_compile "$LINENO"; then :
   9085   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9086 else
   9087   xorg_cv_compiler_flag_unused_command_line_argument=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9090 fi
   9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9092 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9093 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9094 	CFLAGS="$xorg_testset_save_CFLAGS"
   9095 fi
   9096 
   9097 found="no"
   9098 
   9099 	if test $found = "no" ; then
   9100 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9102 		fi
   9103 
   9104 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9106 		fi
   9107 
   9108 		CFLAGS="$CFLAGS -Wtrigraphs"
   9109 
   9110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9111 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9112 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   9113 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9114   $as_echo_n "(cached) " >&6
   9115 else
   9116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9117 /* end confdefs.h.  */
   9118 int i;
   9119 int
   9120 main ()
   9121 {
   9122 
   9123   ;
   9124   return 0;
   9125 }
   9126 _ACEOF
   9127 if ac_fn_c_try_link "$LINENO"; then :
   9128   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9129 else
   9130   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9131 fi
   9132 rm -f core conftest.err conftest.$ac_objext \
   9133     conftest$ac_exeext conftest.$ac_ext
   9134 fi
   9135 
   9136 
   9137 		CFLAGS="$xorg_testset_save_CFLAGS"
   9138 
   9139 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9141 $as_echo "$supported" >&6; }
   9142 		if test "$supported" = "yes" ; then
   9143 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9144 			found="yes"
   9145 		fi
   9146 	fi
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 xorg_testset_save_CFLAGS="$CFLAGS"
   9161 
   9162 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9165 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9166 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9167   $as_echo_n "(cached) " >&6
   9168 else
   9169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9170 /* end confdefs.h.  */
   9171 int i;
   9172 _ACEOF
   9173 if ac_fn_c_try_compile "$LINENO"; then :
   9174   xorg_cv_compiler_flag_unknown_warning_option=yes
   9175 else
   9176   xorg_cv_compiler_flag_unknown_warning_option=no
   9177 fi
   9178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9179 fi
   9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9181 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9182 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9183 	CFLAGS="$xorg_testset_save_CFLAGS"
   9184 fi
   9185 
   9186 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9187 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 	fi
   9190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9192 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9193 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9194   $as_echo_n "(cached) " >&6
   9195 else
   9196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9197 /* end confdefs.h.  */
   9198 int i;
   9199 _ACEOF
   9200 if ac_fn_c_try_compile "$LINENO"; then :
   9201   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9202 else
   9203   xorg_cv_compiler_flag_unused_command_line_argument=no
   9204 fi
   9205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9206 fi
   9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9208 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9209 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9210 	CFLAGS="$xorg_testset_save_CFLAGS"
   9211 fi
   9212 
   9213 found="no"
   9214 
   9215 	if test $found = "no" ; then
   9216 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 		fi
   9219 
   9220 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9222 		fi
   9223 
   9224 		CFLAGS="$CFLAGS -Warray-bounds"
   9225 
   9226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9227 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9228 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   9229 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9230   $as_echo_n "(cached) " >&6
   9231 else
   9232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9233 /* end confdefs.h.  */
   9234 int i;
   9235 int
   9236 main ()
   9237 {
   9238 
   9239   ;
   9240   return 0;
   9241 }
   9242 _ACEOF
   9243 if ac_fn_c_try_link "$LINENO"; then :
   9244   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9245 else
   9246   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9247 fi
   9248 rm -f core conftest.err conftest.$ac_objext \
   9249     conftest$ac_exeext conftest.$ac_ext
   9250 fi
   9251 
   9252 
   9253 		CFLAGS="$xorg_testset_save_CFLAGS"
   9254 
   9255 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9257 $as_echo "$supported" >&6; }
   9258 		if test "$supported" = "yes" ; then
   9259 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9260 			found="yes"
   9261 		fi
   9262 	fi
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 xorg_testset_save_CFLAGS="$CFLAGS"
   9277 
   9278 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9281 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9282 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9283   $as_echo_n "(cached) " >&6
   9284 else
   9285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9286 /* end confdefs.h.  */
   9287 int i;
   9288 _ACEOF
   9289 if ac_fn_c_try_compile "$LINENO"; then :
   9290   xorg_cv_compiler_flag_unknown_warning_option=yes
   9291 else
   9292   xorg_cv_compiler_flag_unknown_warning_option=no
   9293 fi
   9294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9295 fi
   9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9297 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9298 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9299 	CFLAGS="$xorg_testset_save_CFLAGS"
   9300 fi
   9301 
   9302 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9303 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9305 	fi
   9306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9308 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9309 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9310   $as_echo_n "(cached) " >&6
   9311 else
   9312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 _ACEOF
   9316 if ac_fn_c_try_compile "$LINENO"; then :
   9317   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9318 else
   9319   xorg_cv_compiler_flag_unused_command_line_argument=no
   9320 fi
   9321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9322 fi
   9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9324 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9325 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9326 	CFLAGS="$xorg_testset_save_CFLAGS"
   9327 fi
   9328 
   9329 found="no"
   9330 
   9331 	if test $found = "no" ; then
   9332 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9334 		fi
   9335 
   9336 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9338 		fi
   9339 
   9340 		CFLAGS="$CFLAGS -Wwrite-strings"
   9341 
   9342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9343 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9344 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   9345 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9346   $as_echo_n "(cached) " >&6
   9347 else
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 int
   9352 main ()
   9353 {
   9354 
   9355   ;
   9356   return 0;
   9357 }
   9358 _ACEOF
   9359 if ac_fn_c_try_link "$LINENO"; then :
   9360   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9361 else
   9362   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9363 fi
   9364 rm -f core conftest.err conftest.$ac_objext \
   9365     conftest$ac_exeext conftest.$ac_ext
   9366 fi
   9367 
   9368 
   9369 		CFLAGS="$xorg_testset_save_CFLAGS"
   9370 
   9371 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9373 $as_echo "$supported" >&6; }
   9374 		if test "$supported" = "yes" ; then
   9375 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9376 			found="yes"
   9377 		fi
   9378 	fi
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 xorg_testset_save_CFLAGS="$CFLAGS"
   9393 
   9394 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9397 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9398 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9399   $as_echo_n "(cached) " >&6
   9400 else
   9401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9402 /* end confdefs.h.  */
   9403 int i;
   9404 _ACEOF
   9405 if ac_fn_c_try_compile "$LINENO"; then :
   9406   xorg_cv_compiler_flag_unknown_warning_option=yes
   9407 else
   9408   xorg_cv_compiler_flag_unknown_warning_option=no
   9409 fi
   9410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9411 fi
   9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9413 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9414 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9415 	CFLAGS="$xorg_testset_save_CFLAGS"
   9416 fi
   9417 
   9418 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9419 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9421 	fi
   9422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9424 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9425 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9426   $as_echo_n "(cached) " >&6
   9427 else
   9428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9429 /* end confdefs.h.  */
   9430 int i;
   9431 _ACEOF
   9432 if ac_fn_c_try_compile "$LINENO"; then :
   9433   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9434 else
   9435   xorg_cv_compiler_flag_unused_command_line_argument=no
   9436 fi
   9437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9438 fi
   9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9440 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9441 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9442 	CFLAGS="$xorg_testset_save_CFLAGS"
   9443 fi
   9444 
   9445 found="no"
   9446 
   9447 	if test $found = "no" ; then
   9448 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9450 		fi
   9451 
   9452 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9454 		fi
   9455 
   9456 		CFLAGS="$CFLAGS -Waddress"
   9457 
   9458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9459 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9460 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   9461 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9462   $as_echo_n "(cached) " >&6
   9463 else
   9464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9465 /* end confdefs.h.  */
   9466 int i;
   9467 int
   9468 main ()
   9469 {
   9470 
   9471   ;
   9472   return 0;
   9473 }
   9474 _ACEOF
   9475 if ac_fn_c_try_link "$LINENO"; then :
   9476   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9477 else
   9478   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9479 fi
   9480 rm -f core conftest.err conftest.$ac_objext \
   9481     conftest$ac_exeext conftest.$ac_ext
   9482 fi
   9483 
   9484 
   9485 		CFLAGS="$xorg_testset_save_CFLAGS"
   9486 
   9487 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9489 $as_echo "$supported" >&6; }
   9490 		if test "$supported" = "yes" ; then
   9491 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9492 			found="yes"
   9493 		fi
   9494 	fi
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 xorg_testset_save_CFLAGS="$CFLAGS"
   9509 
   9510 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9511 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9513 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9514 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9515   $as_echo_n "(cached) " >&6
   9516 else
   9517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9518 /* end confdefs.h.  */
   9519 int i;
   9520 _ACEOF
   9521 if ac_fn_c_try_compile "$LINENO"; then :
   9522   xorg_cv_compiler_flag_unknown_warning_option=yes
   9523 else
   9524   xorg_cv_compiler_flag_unknown_warning_option=no
   9525 fi
   9526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9527 fi
   9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9529 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9530 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9531 	CFLAGS="$xorg_testset_save_CFLAGS"
   9532 fi
   9533 
   9534 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9535 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9536 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9537 	fi
   9538 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9540 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9541 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9542   $as_echo_n "(cached) " >&6
   9543 else
   9544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9545 /* end confdefs.h.  */
   9546 int i;
   9547 _ACEOF
   9548 if ac_fn_c_try_compile "$LINENO"; then :
   9549   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9550 else
   9551   xorg_cv_compiler_flag_unused_command_line_argument=no
   9552 fi
   9553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9554 fi
   9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9556 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9557 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9558 	CFLAGS="$xorg_testset_save_CFLAGS"
   9559 fi
   9560 
   9561 found="no"
   9562 
   9563 	if test $found = "no" ; then
   9564 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9565 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9566 		fi
   9567 
   9568 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9569 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9570 		fi
   9571 
   9572 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9573 
   9574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9575 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9576 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   9577 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9578   $as_echo_n "(cached) " >&6
   9579 else
   9580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9581 /* end confdefs.h.  */
   9582 int i;
   9583 int
   9584 main ()
   9585 {
   9586 
   9587   ;
   9588   return 0;
   9589 }
   9590 _ACEOF
   9591 if ac_fn_c_try_link "$LINENO"; then :
   9592   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9593 else
   9594   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9595 fi
   9596 rm -f core conftest.err conftest.$ac_objext \
   9597     conftest$ac_exeext conftest.$ac_ext
   9598 fi
   9599 
   9600 
   9601 		CFLAGS="$xorg_testset_save_CFLAGS"
   9602 
   9603 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9605 $as_echo "$supported" >&6; }
   9606 		if test "$supported" = "yes" ; then
   9607 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9608 			found="yes"
   9609 		fi
   9610 	fi
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 xorg_testset_save_CFLAGS="$CFLAGS"
   9625 
   9626 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9629 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9630 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9631   $as_echo_n "(cached) " >&6
   9632 else
   9633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9634 /* end confdefs.h.  */
   9635 int i;
   9636 _ACEOF
   9637 if ac_fn_c_try_compile "$LINENO"; then :
   9638   xorg_cv_compiler_flag_unknown_warning_option=yes
   9639 else
   9640   xorg_cv_compiler_flag_unknown_warning_option=no
   9641 fi
   9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9643 fi
   9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9645 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9646 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9647 	CFLAGS="$xorg_testset_save_CFLAGS"
   9648 fi
   9649 
   9650 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9651 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9653 	fi
   9654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9656 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9657 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9658   $as_echo_n "(cached) " >&6
   9659 else
   9660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9661 /* end confdefs.h.  */
   9662 int i;
   9663 _ACEOF
   9664 if ac_fn_c_try_compile "$LINENO"; then :
   9665   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9666 else
   9667   xorg_cv_compiler_flag_unused_command_line_argument=no
   9668 fi
   9669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9670 fi
   9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9672 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9673 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9674 	CFLAGS="$xorg_testset_save_CFLAGS"
   9675 fi
   9676 
   9677 found="no"
   9678 
   9679 	if test $found = "no" ; then
   9680 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9682 		fi
   9683 
   9684 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9686 		fi
   9687 
   9688 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9689 
   9690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9691 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9692 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   9693 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9694   $as_echo_n "(cached) " >&6
   9695 else
   9696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9697 /* end confdefs.h.  */
   9698 int i;
   9699 int
   9700 main ()
   9701 {
   9702 
   9703   ;
   9704   return 0;
   9705 }
   9706 _ACEOF
   9707 if ac_fn_c_try_link "$LINENO"; then :
   9708   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9709 else
   9710   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext \
   9713     conftest$ac_exeext conftest.$ac_ext
   9714 fi
   9715 
   9716 
   9717 		CFLAGS="$xorg_testset_save_CFLAGS"
   9718 
   9719 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9721 $as_echo "$supported" >&6; }
   9722 		if test "$supported" = "yes" ; then
   9723 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9724 			found="yes"
   9725 		fi
   9726 	fi
   9727 
   9728 
   9729 fi
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 		CWARNFLAGS="$BASE_CFLAGS"
   9738 		if  test "x$GCC" = xyes ; then
   9739 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9740 		fi
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 # Check whether --enable-strict-compilation was given.
   9750 if test "${enable_strict_compilation+set}" = set; then :
   9751   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9752 else
   9753   STRICT_COMPILE=no
   9754 fi
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 STRICT_CFLAGS=""
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 xorg_testset_save_CFLAGS="$CFLAGS"
   9774 
   9775 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9778 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9779 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 int i;
   9785 _ACEOF
   9786 if ac_fn_c_try_compile "$LINENO"; then :
   9787   xorg_cv_compiler_flag_unknown_warning_option=yes
   9788 else
   9789   xorg_cv_compiler_flag_unknown_warning_option=no
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9792 fi
   9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9794 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9795 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9796 	CFLAGS="$xorg_testset_save_CFLAGS"
   9797 fi
   9798 
   9799 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9800 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9802 	fi
   9803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9805 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9806 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9807   $as_echo_n "(cached) " >&6
   9808 else
   9809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9810 /* end confdefs.h.  */
   9811 int i;
   9812 _ACEOF
   9813 if ac_fn_c_try_compile "$LINENO"; then :
   9814   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9815 else
   9816   xorg_cv_compiler_flag_unused_command_line_argument=no
   9817 fi
   9818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9819 fi
   9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9821 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9822 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9823 	CFLAGS="$xorg_testset_save_CFLAGS"
   9824 fi
   9825 
   9826 found="no"
   9827 
   9828 	if test $found = "no" ; then
   9829 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 		fi
   9832 
   9833 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 		fi
   9836 
   9837 		CFLAGS="$CFLAGS -pedantic"
   9838 
   9839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9840 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9841 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   9842 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9843   $as_echo_n "(cached) " >&6
   9844 else
   9845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9846 /* end confdefs.h.  */
   9847 int i;
   9848 int
   9849 main ()
   9850 {
   9851 
   9852   ;
   9853   return 0;
   9854 }
   9855 _ACEOF
   9856 if ac_fn_c_try_link "$LINENO"; then :
   9857   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9858 else
   9859   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9860 fi
   9861 rm -f core conftest.err conftest.$ac_objext \
   9862     conftest$ac_exeext conftest.$ac_ext
   9863 fi
   9864 
   9865 
   9866 		CFLAGS="$xorg_testset_save_CFLAGS"
   9867 
   9868 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9870 $as_echo "$supported" >&6; }
   9871 		if test "$supported" = "yes" ; then
   9872 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9873 			found="yes"
   9874 		fi
   9875 	fi
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 xorg_testset_save_CFLAGS="$CFLAGS"
   9890 
   9891 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9894 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9895 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9896   $as_echo_n "(cached) " >&6
   9897 else
   9898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9899 /* end confdefs.h.  */
   9900 int i;
   9901 _ACEOF
   9902 if ac_fn_c_try_compile "$LINENO"; then :
   9903   xorg_cv_compiler_flag_unknown_warning_option=yes
   9904 else
   9905   xorg_cv_compiler_flag_unknown_warning_option=no
   9906 fi
   9907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9908 fi
   9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9910 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9911 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9912 	CFLAGS="$xorg_testset_save_CFLAGS"
   9913 fi
   9914 
   9915 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9916 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9918 	fi
   9919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9921 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9922 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9923   $as_echo_n "(cached) " >&6
   9924 else
   9925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9926 /* end confdefs.h.  */
   9927 int i;
   9928 _ACEOF
   9929 if ac_fn_c_try_compile "$LINENO"; then :
   9930   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9931 else
   9932   xorg_cv_compiler_flag_unused_command_line_argument=no
   9933 fi
   9934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9935 fi
   9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9937 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9938 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9939 	CFLAGS="$xorg_testset_save_CFLAGS"
   9940 fi
   9941 
   9942 found="no"
   9943 
   9944 	if test $found = "no" ; then
   9945 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9947 		fi
   9948 
   9949 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9951 		fi
   9952 
   9953 		CFLAGS="$CFLAGS -Werror"
   9954 
   9955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9956 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9957 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   9958 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9959   $as_echo_n "(cached) " >&6
   9960 else
   9961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9962 /* end confdefs.h.  */
   9963 int i;
   9964 int
   9965 main ()
   9966 {
   9967 
   9968   ;
   9969   return 0;
   9970 }
   9971 _ACEOF
   9972 if ac_fn_c_try_link "$LINENO"; then :
   9973   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9974 else
   9975   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9976 fi
   9977 rm -f core conftest.err conftest.$ac_objext \
   9978     conftest$ac_exeext conftest.$ac_ext
   9979 fi
   9980 
   9981 
   9982 		CFLAGS="$xorg_testset_save_CFLAGS"
   9983 
   9984 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9986 $as_echo "$supported" >&6; }
   9987 		if test "$supported" = "yes" ; then
   9988 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   9989 			found="yes"
   9990 		fi
   9991 	fi
   9992 
   9993 	if test $found = "no" ; then
   9994 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9996 		fi
   9997 
   9998 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10000 		fi
   10001 
   10002 		CFLAGS="$CFLAGS -errwarn"
   10003 
   10004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10005 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10006 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   10007 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10008   $as_echo_n "(cached) " >&6
   10009 else
   10010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10011 /* end confdefs.h.  */
   10012 int i;
   10013 int
   10014 main ()
   10015 {
   10016 
   10017   ;
   10018   return 0;
   10019 }
   10020 _ACEOF
   10021 if ac_fn_c_try_link "$LINENO"; then :
   10022   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10023 else
   10024   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10025 fi
   10026 rm -f core conftest.err conftest.$ac_objext \
   10027     conftest$ac_exeext conftest.$ac_ext
   10028 fi
   10029 
   10030 
   10031 		CFLAGS="$xorg_testset_save_CFLAGS"
   10032 
   10033 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10035 $as_echo "$supported" >&6; }
   10036 		if test "$supported" = "yes" ; then
   10037 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10038 			found="yes"
   10039 		fi
   10040 	fi
   10041 
   10042 
   10043 
   10044 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10045 # activate it with -Werror, so we add it here explicitly.
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 xorg_testset_save_CFLAGS="$CFLAGS"
   10058 
   10059 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   10060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   10062 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   10063 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   10064   $as_echo_n "(cached) " >&6
   10065 else
   10066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10067 /* end confdefs.h.  */
   10068 int i;
   10069 _ACEOF
   10070 if ac_fn_c_try_compile "$LINENO"; then :
   10071   xorg_cv_compiler_flag_unknown_warning_option=yes
   10072 else
   10073   xorg_cv_compiler_flag_unknown_warning_option=no
   10074 fi
   10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10076 fi
   10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   10078 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   10079 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   10080 	CFLAGS="$xorg_testset_save_CFLAGS"
   10081 fi
   10082 
   10083 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   10084 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10086 	fi
   10087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   10089 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   10090 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 _ACEOF
   10097 if ac_fn_c_try_compile "$LINENO"; then :
   10098   xorg_cv_compiler_flag_unused_command_line_argument=yes
   10099 else
   10100   xorg_cv_compiler_flag_unused_command_line_argument=no
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10103 fi
   10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   10105 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   10106 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   10107 	CFLAGS="$xorg_testset_save_CFLAGS"
   10108 fi
   10109 
   10110 found="no"
   10111 
   10112 	if test $found = "no" ; then
   10113 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10115 		fi
   10116 
   10117 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10119 		fi
   10120 
   10121 		CFLAGS="$CFLAGS -Werror=attributes"
   10122 
   10123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10124 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10125 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   10126 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10127   $as_echo_n "(cached) " >&6
   10128 else
   10129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10130 /* end confdefs.h.  */
   10131 int i;
   10132 int
   10133 main ()
   10134 {
   10135 
   10136   ;
   10137   return 0;
   10138 }
   10139 _ACEOF
   10140 if ac_fn_c_try_link "$LINENO"; then :
   10141   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10142 else
   10143   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10144 fi
   10145 rm -f core conftest.err conftest.$ac_objext \
   10146     conftest$ac_exeext conftest.$ac_ext
   10147 fi
   10148 
   10149 
   10150 		CFLAGS="$xorg_testset_save_CFLAGS"
   10151 
   10152 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10154 $as_echo "$supported" >&6; }
   10155 		if test "$supported" = "yes" ; then
   10156 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10157 			found="yes"
   10158 		fi
   10159 	fi
   10160 
   10161 
   10162 
   10163 if test "x$STRICT_COMPILE" = "xyes"; then
   10164     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10165     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10166 fi
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 cat >>confdefs.h <<_ACEOF
   10174 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10175 _ACEOF
   10176 
   10177 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10178 	if test "x$PVM" = "x"; then
   10179 		PVM="0"
   10180 	fi
   10181 
   10182 cat >>confdefs.h <<_ACEOF
   10183 #define PACKAGE_VERSION_MINOR $PVM
   10184 _ACEOF
   10185 
   10186 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10187 	if test "x$PVP" = "x"; then
   10188 		PVP="0"
   10189 	fi
   10190 
   10191 cat >>confdefs.h <<_ACEOF
   10192 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10193 _ACEOF
   10194 
   10195 
   10196 
   10197 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10198 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10199 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10200 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10201 
   10202 
   10203 
   10204 
   10205 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10206 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10207 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10208 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10209 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 if test x$APP_MAN_SUFFIX = x    ; then
   10217     APP_MAN_SUFFIX=1
   10218 fi
   10219 if test x$APP_MAN_DIR = x    ; then
   10220     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10221 fi
   10222 
   10223 if test x$LIB_MAN_SUFFIX = x    ; then
   10224     LIB_MAN_SUFFIX=3
   10225 fi
   10226 if test x$LIB_MAN_DIR = x    ; then
   10227     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10228 fi
   10229 
   10230 if test x$FILE_MAN_SUFFIX = x    ; then
   10231     case $host_os in
   10232 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10233 	*)		FILE_MAN_SUFFIX=5  ;;
   10234     esac
   10235 fi
   10236 if test x$FILE_MAN_DIR = x    ; then
   10237     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10238 fi
   10239 
   10240 if test x$MISC_MAN_SUFFIX = x    ; then
   10241     case $host_os in
   10242 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10243 	*)		MISC_MAN_SUFFIX=7  ;;
   10244     esac
   10245 fi
   10246 if test x$MISC_MAN_DIR = x    ; then
   10247     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10248 fi
   10249 
   10250 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10251     case $host_os in
   10252 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10253 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10254     esac
   10255 fi
   10256 if test x$DRIVER_MAN_DIR = x    ; then
   10257     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10258 fi
   10259 
   10260 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10261     case $host_os in
   10262 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10263 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10264     esac
   10265 fi
   10266 if test x$ADMIN_MAN_DIR = x    ; then
   10267     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10268 fi
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 XORG_MAN_PAGE="X Version 11"
   10285 
   10286 MAN_SUBSTS="\
   10287 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10288 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10289 	-e 's|__xservername__|Xorg|g' \
   10290 	-e 's|__xconfigfile__|xorg.conf|g' \
   10291 	-e 's|__projectroot__|\$(prefix)|g' \
   10292 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10293 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10294 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10295 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10296 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10297 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10298 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10299 
   10300 
   10301 
   10302 # Check whether --enable-silent-rules was given.
   10303 if test "${enable_silent_rules+set}" = set; then :
   10304   enableval=$enable_silent_rules;
   10305 fi
   10306 
   10307 case $enable_silent_rules in
   10308 yes) AM_DEFAULT_VERBOSITY=0;;
   10309 no)  AM_DEFAULT_VERBOSITY=1;;
   10310 *)   AM_DEFAULT_VERBOSITY=0;;
   10311 esac
   10312 AM_BACKSLASH='\'
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 # Check whether --with-lint was given.
   10321 if test "${with_lint+set}" = set; then :
   10322   withval=$with_lint; use_lint=$withval
   10323 else
   10324   use_lint=no
   10325 fi
   10326 
   10327 
   10328 # Obtain platform specific info like program name and options
   10329 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10330 case $host_os in
   10331   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10332 	lint_name=splint
   10333 	lint_options="-badflag"
   10334 	;;
   10335   *freebsd* | *netbsd*)
   10336 	lint_name=lint
   10337 	lint_options="-u -b"
   10338 	;;
   10339   *solaris*)
   10340 	lint_name=lint
   10341 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10342 	;;
   10343 esac
   10344 
   10345 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10346 if test "x$use_lint" = x"yes" ; then
   10347    # Extract the first word of "$lint_name", so it can be a program name with args.
   10348 set dummy $lint_name; ac_word=$2
   10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10350 $as_echo_n "checking for $ac_word... " >&6; }
   10351 if ${ac_cv_path_LINT+:} false; then :
   10352   $as_echo_n "(cached) " >&6
   10353 else
   10354   case $LINT in
   10355   [\\/]* | ?:[\\/]*)
   10356   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10357   ;;
   10358   *)
   10359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10360 for as_dir in $PATH
   10361 do
   10362   IFS=$as_save_IFS
   10363   test -z "$as_dir" && as_dir=.
   10364     for ac_exec_ext in '' $ac_executable_extensions; do
   10365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10366     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10368     break 2
   10369   fi
   10370 done
   10371   done
   10372 IFS=$as_save_IFS
   10373 
   10374   ;;
   10375 esac
   10376 fi
   10377 LINT=$ac_cv_path_LINT
   10378 if test -n "$LINT"; then
   10379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10380 $as_echo "$LINT" >&6; }
   10381 else
   10382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10383 $as_echo "no" >&6; }
   10384 fi
   10385 
   10386 
   10387    if test "x$LINT" = "x"; then
   10388         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10389    fi
   10390 elif test "x$use_lint" = x"no" ; then
   10391    if test "x$LINT" != "x"; then
   10392       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10393 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10394    fi
   10395 else
   10396    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10397 fi
   10398 
   10399 # User supplied flags override default flags
   10400 if test "x$LINT_FLAGS" != "x"; then
   10401    lint_options=$LINT_FLAGS
   10402 fi
   10403 
   10404 LINT_FLAGS=$lint_options
   10405 
   10406  if test "x$LINT" != x; then
   10407   LINT_TRUE=
   10408   LINT_FALSE='#'
   10409 else
   10410   LINT_TRUE='#'
   10411   LINT_FALSE=
   10412 fi
   10413 
   10414 
   10415 
   10416 
   10417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   10418 $as_echo_n "checking return type of signal handlers... " >&6; }
   10419 if ${ac_cv_type_signal+:} false; then :
   10420   $as_echo_n "(cached) " >&6
   10421 else
   10422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10423 /* end confdefs.h.  */
   10424 #include <sys/types.h>
   10425 #include <signal.h>
   10426 
   10427 int
   10428 main ()
   10429 {
   10430 return *(signal (0, 0)) (0) == 1;
   10431   ;
   10432   return 0;
   10433 }
   10434 _ACEOF
   10435 if ac_fn_c_try_compile "$LINENO"; then :
   10436   ac_cv_type_signal=int
   10437 else
   10438   ac_cv_type_signal=void
   10439 fi
   10440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10441 fi
   10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   10443 $as_echo "$ac_cv_type_signal" >&6; }
   10444 
   10445 cat >>confdefs.h <<_ACEOF
   10446 #define RETSIGTYPE $ac_cv_type_signal
   10447 _ACEOF
   10448 
   10449 
   10450 
   10451 for ac_func in rename fchmod
   10452 do :
   10453   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10456   cat >>confdefs.h <<_ACEOF
   10457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10458 _ACEOF
   10459 
   10460 fi
   10461 done
   10462 
   10463 
   10464 # Check whether --enable-largefile was given.
   10465 if test "${enable_largefile+set}" = set; then :
   10466   enableval=$enable_largefile;
   10467 fi
   10468 
   10469 if test "$enable_largefile" != no; then
   10470 
   10471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   10472 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   10473 if ${ac_cv_sys_largefile_CC+:} false; then :
   10474   $as_echo_n "(cached) " >&6
   10475 else
   10476   ac_cv_sys_largefile_CC=no
   10477      if test "$GCC" != yes; then
   10478        ac_save_CC=$CC
   10479        while :; do
   10480 	 # IRIX 6.2 and later do not support large files by default,
   10481 	 # so use the C compiler's -n32 option if that helps.
   10482 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10483 /* end confdefs.h.  */
   10484 #include <sys/types.h>
   10485  /* Check that off_t can represent 2**63 - 1 correctly.
   10486     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10487     since some C++ compilers masquerading as C compilers
   10488     incorrectly reject 9223372036854775807.  */
   10489 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10490   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10491 		       && LARGE_OFF_T % 2147483647 == 1)
   10492 		      ? 1 : -1];
   10493 int
   10494 main ()
   10495 {
   10496 
   10497   ;
   10498   return 0;
   10499 }
   10500 _ACEOF
   10501 	 if ac_fn_c_try_compile "$LINENO"; then :
   10502   break
   10503 fi
   10504 rm -f core conftest.err conftest.$ac_objext
   10505 	 CC="$CC -n32"
   10506 	 if ac_fn_c_try_compile "$LINENO"; then :
   10507   ac_cv_sys_largefile_CC=' -n32'; break
   10508 fi
   10509 rm -f core conftest.err conftest.$ac_objext
   10510 	 break
   10511        done
   10512        CC=$ac_save_CC
   10513        rm -f conftest.$ac_ext
   10514     fi
   10515 fi
   10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   10517 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   10518   if test "$ac_cv_sys_largefile_CC" != no; then
   10519     CC=$CC$ac_cv_sys_largefile_CC
   10520   fi
   10521 
   10522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   10523 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   10524 if ${ac_cv_sys_file_offset_bits+:} false; then :
   10525   $as_echo_n "(cached) " >&6
   10526 else
   10527   while :; do
   10528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10529 /* end confdefs.h.  */
   10530 #include <sys/types.h>
   10531  /* Check that off_t can represent 2**63 - 1 correctly.
   10532     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10533     since some C++ compilers masquerading as C compilers
   10534     incorrectly reject 9223372036854775807.  */
   10535 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10536   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10537 		       && LARGE_OFF_T % 2147483647 == 1)
   10538 		      ? 1 : -1];
   10539 int
   10540 main ()
   10541 {
   10542 
   10543   ;
   10544   return 0;
   10545 }
   10546 _ACEOF
   10547 if ac_fn_c_try_compile "$LINENO"; then :
   10548   ac_cv_sys_file_offset_bits=no; break
   10549 fi
   10550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10552 /* end confdefs.h.  */
   10553 #define _FILE_OFFSET_BITS 64
   10554 #include <sys/types.h>
   10555  /* Check that off_t can represent 2**63 - 1 correctly.
   10556     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10557     since some C++ compilers masquerading as C compilers
   10558     incorrectly reject 9223372036854775807.  */
   10559 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10560   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10561 		       && LARGE_OFF_T % 2147483647 == 1)
   10562 		      ? 1 : -1];
   10563 int
   10564 main ()
   10565 {
   10566 
   10567   ;
   10568   return 0;
   10569 }
   10570 _ACEOF
   10571 if ac_fn_c_try_compile "$LINENO"; then :
   10572   ac_cv_sys_file_offset_bits=64; break
   10573 fi
   10574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10575   ac_cv_sys_file_offset_bits=unknown
   10576   break
   10577 done
   10578 fi
   10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   10580 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   10581 case $ac_cv_sys_file_offset_bits in #(
   10582   no | unknown) ;;
   10583   *)
   10584 cat >>confdefs.h <<_ACEOF
   10585 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   10586 _ACEOF
   10587 ;;
   10588 esac
   10589 rm -rf conftest*
   10590   if test $ac_cv_sys_file_offset_bits = unknown; then
   10591     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   10592 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   10593 if ${ac_cv_sys_large_files+:} false; then :
   10594   $as_echo_n "(cached) " >&6
   10595 else
   10596   while :; do
   10597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10598 /* end confdefs.h.  */
   10599 #include <sys/types.h>
   10600  /* Check that off_t can represent 2**63 - 1 correctly.
   10601     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10602     since some C++ compilers masquerading as C compilers
   10603     incorrectly reject 9223372036854775807.  */
   10604 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10605   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10606 		       && LARGE_OFF_T % 2147483647 == 1)
   10607 		      ? 1 : -1];
   10608 int
   10609 main ()
   10610 {
   10611 
   10612   ;
   10613   return 0;
   10614 }
   10615 _ACEOF
   10616 if ac_fn_c_try_compile "$LINENO"; then :
   10617   ac_cv_sys_large_files=no; break
   10618 fi
   10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10621 /* end confdefs.h.  */
   10622 #define _LARGE_FILES 1
   10623 #include <sys/types.h>
   10624  /* Check that off_t can represent 2**63 - 1 correctly.
   10625     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   10626     since some C++ compilers masquerading as C compilers
   10627     incorrectly reject 9223372036854775807.  */
   10628 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   10629   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   10630 		       && LARGE_OFF_T % 2147483647 == 1)
   10631 		      ? 1 : -1];
   10632 int
   10633 main ()
   10634 {
   10635 
   10636   ;
   10637   return 0;
   10638 }
   10639 _ACEOF
   10640 if ac_fn_c_try_compile "$LINENO"; then :
   10641   ac_cv_sys_large_files=1; break
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10644   ac_cv_sys_large_files=unknown
   10645   break
   10646 done
   10647 fi
   10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   10649 $as_echo "$ac_cv_sys_large_files" >&6; }
   10650 case $ac_cv_sys_large_files in #(
   10651   no | unknown) ;;
   10652   *)
   10653 cat >>confdefs.h <<_ACEOF
   10654 #define _LARGE_FILES $ac_cv_sys_large_files
   10655 _ACEOF
   10656 ;;
   10657 esac
   10658 rm -rf conftest*
   10659   fi
   10660 fi
   10661 
   10662 
   10663 
   10664 pkg_failed=no
   10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
   10666 $as_echo_n "checking for X... " >&6; }
   10667 
   10668 if test -n "$X_CFLAGS"; then
   10669     pkg_cv_X_CFLAGS="$X_CFLAGS"
   10670  elif test -n "$PKG_CONFIG"; then
   10671     if test -n "$PKG_CONFIG" && \
   10672     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   10673   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   10674   ac_status=$?
   10675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10676   test $ac_status = 0; }; then
   10677   pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   10678 else
   10679   pkg_failed=yes
   10680 fi
   10681  else
   10682     pkg_failed=untried
   10683 fi
   10684 if test -n "$X_LIBS"; then
   10685     pkg_cv_X_LIBS="$X_LIBS"
   10686  elif test -n "$PKG_CONFIG"; then
   10687     if test -n "$PKG_CONFIG" && \
   10688     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   10689   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   10690   ac_status=$?
   10691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10692   test $ac_status = 0; }; then
   10693   pkg_cv_X_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   10694 else
   10695   pkg_failed=yes
   10696 fi
   10697  else
   10698     pkg_failed=untried
   10699 fi
   10700 
   10701 
   10702 
   10703 if test $pkg_failed = yes; then
   10704 
   10705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10706         _pkg_short_errors_supported=yes
   10707 else
   10708         _pkg_short_errors_supported=no
   10709 fi
   10710         if test $_pkg_short_errors_supported = yes; then
   10711 	        X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   10712         else
   10713 	        X_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   10714         fi
   10715 	# Put the nasty error message in config.log where it belongs
   10716 	echo "$X_PKG_ERRORS" >&5
   10717 
   10718 	as_fn_error $? "Package requirements (xproto) were not met:
   10719 
   10720 $X_PKG_ERRORS
   10721 
   10722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10723 installed software in a non-standard prefix.
   10724 
   10725 Alternatively, you may set the environment variables X_CFLAGS
   10726 and X_LIBS to avoid the need to call pkg-config.
   10727 See the pkg-config man page for more details.
   10728 " "$LINENO" 5
   10729 elif test $pkg_failed = untried; then
   10730 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10732 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10733 is in your PATH or set the PKG_CONFIG environment variable to the full
   10734 path to pkg-config.
   10735 
   10736 Alternatively, you may set the environment variables X_CFLAGS
   10737 and X_LIBS to avoid the need to call pkg-config.
   10738 See the pkg-config man page for more details.
   10739 
   10740 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10741 See \`config.log' for more details" "$LINENO" 5; }
   10742 else
   10743 	X_CFLAGS=$pkg_cv_X_CFLAGS
   10744 	X_LIBS=$pkg_cv_X_LIBS
   10745         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10746 $as_echo "yes" >&6; }
   10747 	:
   10748 fi
   10749 
   10750 
   10751 ac_config_files="$ac_config_files Makefile"
   10752 
   10753 cat >confcache <<\_ACEOF
   10754 # This file is a shell script that caches the results of configure
   10755 # tests run on this system so they can be shared between configure
   10756 # scripts and configure runs, see configure's option --config-cache.
   10757 # It is not useful on other systems.  If it contains results you don't
   10758 # want to keep, you may remove or edit it.
   10759 #
   10760 # config.status only pays attention to the cache file if you give it
   10761 # the --recheck option to rerun configure.
   10762 #
   10763 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10764 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10765 # following values.
   10766 
   10767 _ACEOF
   10768 
   10769 # The following way of writing the cache mishandles newlines in values,
   10770 # but we know of no workaround that is simple, portable, and efficient.
   10771 # So, we kill variables containing newlines.
   10772 # Ultrix sh set writes to stderr and can't be redirected directly,
   10773 # and sets the high bit in the cache file unless we assign to the vars.
   10774 (
   10775   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10776     eval ac_val=\$$ac_var
   10777     case $ac_val in #(
   10778     *${as_nl}*)
   10779       case $ac_var in #(
   10780       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10781 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10782       esac
   10783       case $ac_var in #(
   10784       _ | IFS | as_nl) ;; #(
   10785       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10786       *) { eval $ac_var=; unset $ac_var;} ;;
   10787       esac ;;
   10788     esac
   10789   done
   10790 
   10791   (set) 2>&1 |
   10792     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10793     *${as_nl}ac_space=\ *)
   10794       # `set' does not quote correctly, so add quotes: double-quote
   10795       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10796       sed -n \
   10797 	"s/'/'\\\\''/g;
   10798 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10799       ;; #(
   10800     *)
   10801       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10802       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10803       ;;
   10804     esac |
   10805     sort
   10806 ) |
   10807   sed '
   10808      /^ac_cv_env_/b end
   10809      t clear
   10810      :clear
   10811      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10812      t end
   10813      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10814      :end' >>confcache
   10815 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10816   if test -w "$cache_file"; then
   10817     if test "x$cache_file" != "x/dev/null"; then
   10818       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   10819 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10820       if test ! -f "$cache_file" || test -h "$cache_file"; then
   10821 	cat confcache >"$cache_file"
   10822       else
   10823         case $cache_file in #(
   10824         */* | ?:*)
   10825 	  mv -f confcache "$cache_file"$$ &&
   10826 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   10827         *)
   10828 	  mv -f confcache "$cache_file" ;;
   10829 	esac
   10830       fi
   10831     fi
   10832   else
   10833     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   10834 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10835   fi
   10836 fi
   10837 rm -f confcache
   10838 
   10839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10840 # Let make expand exec_prefix.
   10841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10842 
   10843 DEFS=-DHAVE_CONFIG_H
   10844 
   10845 ac_libobjs=
   10846 ac_ltlibobjs=
   10847 U=
   10848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10849   # 1. Remove the extension, and $U if already installed.
   10850   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10851   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10852   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10853   #    will be set to the directory where LIBOBJS objects are built.
   10854   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10855   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   10856 done
   10857 LIBOBJS=$ac_libobjs
   10858 
   10859 LTLIBOBJS=$ac_ltlibobjs
   10860 
   10861 
   10862  if test -n "$EXEEXT"; then
   10863   am__EXEEXT_TRUE=
   10864   am__EXEEXT_FALSE='#'
   10865 else
   10866   am__EXEEXT_TRUE='#'
   10867   am__EXEEXT_FALSE=
   10868 fi
   10869 
   10870 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   10871   as_fn_error $? "conditional \"AMDEP\" was never defined.
   10872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10873 fi
   10874 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   10875   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   10876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10877 fi
   10878 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   10879   as_fn_error $? "conditional \"LINT\" was never defined.
   10880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   10881 fi
   10882 
   10883 : "${CONFIG_STATUS=./config.status}"
   10884 ac_write_fail=0
   10885 ac_clean_files_save=$ac_clean_files
   10886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10887 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   10888 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10889 as_write_fail=0
   10890 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   10891 #! $SHELL
   10892 # Generated by $as_me.
   10893 # Run this file to recreate the current configuration.
   10894 # Compiler output produced by configure, useful for debugging
   10895 # configure, is in config.log if it exists.
   10896 
   10897 debug=false
   10898 ac_cs_recheck=false
   10899 ac_cs_silent=false
   10900 
   10901 SHELL=\${CONFIG_SHELL-$SHELL}
   10902 export SHELL
   10903 _ASEOF
   10904 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   10905 ## -------------------- ##
   10906 ## M4sh Initialization. ##
   10907 ## -------------------- ##
   10908 
   10909 # Be more Bourne compatible
   10910 DUALCASE=1; export DUALCASE # for MKS sh
   10911 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   10912   emulate sh
   10913   NULLCMD=:
   10914   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10915   # is contrary to our usage.  Disable this feature.
   10916   alias -g '${1+"$@"}'='"$@"'
   10917   setopt NO_GLOB_SUBST
   10918 else
   10919   case `(set -o) 2>/dev/null` in #(
   10920   *posix*) :
   10921     set -o posix ;; #(
   10922   *) :
   10923      ;;
   10924 esac
   10925 fi
   10926 
   10927 
   10928 as_nl='
   10929 '
   10930 export as_nl
   10931 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10932 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10933 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10934 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10935 # Prefer a ksh shell builtin over an external printf program on Solaris,
   10936 # but without wasting forks for bash or zsh.
   10937 if test -z "$BASH_VERSION$ZSH_VERSION" \
   10938     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   10939   as_echo='print -r --'
   10940   as_echo_n='print -rn --'
   10941 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10942   as_echo='printf %s\n'
   10943   as_echo_n='printf %s'
   10944 else
   10945   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10946     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10947     as_echo_n='/usr/ucb/echo -n'
   10948   else
   10949     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10950     as_echo_n_body='eval
   10951       arg=$1;
   10952       case $arg in #(
   10953       *"$as_nl"*)
   10954 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10955 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10956       esac;
   10957       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10958     '
   10959     export as_echo_n_body
   10960     as_echo_n='sh -c $as_echo_n_body as_echo'
   10961   fi
   10962   export as_echo_body
   10963   as_echo='sh -c $as_echo_body as_echo'
   10964 fi
   10965 
   10966 # The user is always right.
   10967 if test "${PATH_SEPARATOR+set}" != set; then
   10968   PATH_SEPARATOR=:
   10969   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10970     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10971       PATH_SEPARATOR=';'
   10972   }
   10973 fi
   10974 
   10975 
   10976 # IFS
   10977 # We need space, tab and new line, in precisely that order.  Quoting is
   10978 # there to prevent editors from complaining about space-tab.
   10979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10980 # splitting by setting IFS to empty value.)
   10981 IFS=" ""	$as_nl"
   10982 
   10983 # Find who we are.  Look in the path if we contain no directory separator.
   10984 as_myself=
   10985 case $0 in #((
   10986   *[\\/]* ) as_myself=$0 ;;
   10987   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10988 for as_dir in $PATH
   10989 do
   10990   IFS=$as_save_IFS
   10991   test -z "$as_dir" && as_dir=.
   10992     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10993   done
   10994 IFS=$as_save_IFS
   10995 
   10996      ;;
   10997 esac
   10998 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10999 # in which case we are not to be found in the path.
   11000 if test "x$as_myself" = x; then
   11001   as_myself=$0
   11002 fi
   11003 if test ! -f "$as_myself"; then
   11004   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11005   exit 1
   11006 fi
   11007 
   11008 # Unset variables that we do not need and which cause bugs (e.g. in
   11009 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11010 # suppresses any "Segmentation fault" message there.  '((' could
   11011 # trigger a bug in pdksh 5.2.14.
   11012 for as_var in BASH_ENV ENV MAIL MAILPATH
   11013 do eval test x\${$as_var+set} = xset \
   11014   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11015 done
   11016 PS1='$ '
   11017 PS2='> '
   11018 PS4='+ '
   11019 
   11020 # NLS nuisances.
   11021 LC_ALL=C
   11022 export LC_ALL
   11023 LANGUAGE=C
   11024 export LANGUAGE
   11025 
   11026 # CDPATH.
   11027 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11028 
   11029 
   11030 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11031 # ----------------------------------------
   11032 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11033 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11034 # script with STATUS, using 1 if that was 0.
   11035 as_fn_error ()
   11036 {
   11037   as_status=$1; test $as_status -eq 0 && as_status=1
   11038   if test "$4"; then
   11039     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11040     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11041   fi
   11042   $as_echo "$as_me: error: $2" >&2
   11043   as_fn_exit $as_status
   11044 } # as_fn_error
   11045 
   11046 
   11047 # as_fn_set_status STATUS
   11048 # -----------------------
   11049 # Set $? to STATUS, without forking.
   11050 as_fn_set_status ()
   11051 {
   11052   return $1
   11053 } # as_fn_set_status
   11054 
   11055 # as_fn_exit STATUS
   11056 # -----------------
   11057 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11058 as_fn_exit ()
   11059 {
   11060   set +e
   11061   as_fn_set_status $1
   11062   exit $1
   11063 } # as_fn_exit
   11064 
   11065 # as_fn_unset VAR
   11066 # ---------------
   11067 # Portably unset VAR.
   11068 as_fn_unset ()
   11069 {
   11070   { eval $1=; unset $1;}
   11071 }
   11072 as_unset=as_fn_unset
   11073 # as_fn_append VAR VALUE
   11074 # ----------------------
   11075 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11076 # advantage of any shell optimizations that allow amortized linear growth over
   11077 # repeated appends, instead of the typical quadratic growth present in naive
   11078 # implementations.
   11079 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11080   eval 'as_fn_append ()
   11081   {
   11082     eval $1+=\$2
   11083   }'
   11084 else
   11085   as_fn_append ()
   11086   {
   11087     eval $1=\$$1\$2
   11088   }
   11089 fi # as_fn_append
   11090 
   11091 # as_fn_arith ARG...
   11092 # ------------------
   11093 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11094 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11095 # must be portable across $(()) and expr.
   11096 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11097   eval 'as_fn_arith ()
   11098   {
   11099     as_val=$(( $* ))
   11100   }'
   11101 else
   11102   as_fn_arith ()
   11103   {
   11104     as_val=`expr "$@" || test $? -eq 1`
   11105   }
   11106 fi # as_fn_arith
   11107 
   11108 
   11109 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11110    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11111   as_expr=expr
   11112 else
   11113   as_expr=false
   11114 fi
   11115 
   11116 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11117   as_basename=basename
   11118 else
   11119   as_basename=false
   11120 fi
   11121 
   11122 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11123   as_dirname=dirname
   11124 else
   11125   as_dirname=false
   11126 fi
   11127 
   11128 as_me=`$as_basename -- "$0" ||
   11129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11130 	 X"$0" : 'X\(//\)$' \| \
   11131 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11132 $as_echo X/"$0" |
   11133     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11134 	    s//\1/
   11135 	    q
   11136 	  }
   11137 	  /^X\/\(\/\/\)$/{
   11138 	    s//\1/
   11139 	    q
   11140 	  }
   11141 	  /^X\/\(\/\).*/{
   11142 	    s//\1/
   11143 	    q
   11144 	  }
   11145 	  s/.*/./; q'`
   11146 
   11147 # Avoid depending upon Character Ranges.
   11148 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11149 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11150 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11151 as_cr_digits='0123456789'
   11152 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11153 
   11154 ECHO_C= ECHO_N= ECHO_T=
   11155 case `echo -n x` in #(((((
   11156 -n*)
   11157   case `echo 'xy\c'` in
   11158   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11159   xy)  ECHO_C='\c';;
   11160   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11161        ECHO_T='	';;
   11162   esac;;
   11163 *)
   11164   ECHO_N='-n';;
   11165 esac
   11166 
   11167 rm -f conf$$ conf$$.exe conf$$.file
   11168 if test -d conf$$.dir; then
   11169   rm -f conf$$.dir/conf$$.file
   11170 else
   11171   rm -f conf$$.dir
   11172   mkdir conf$$.dir 2>/dev/null
   11173 fi
   11174 if (echo >conf$$.file) 2>/dev/null; then
   11175   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11176     as_ln_s='ln -s'
   11177     # ... but there are two gotchas:
   11178     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11179     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11180     # In both cases, we have to default to `cp -p'.
   11181     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11182       as_ln_s='cp -p'
   11183   elif ln conf$$.file conf$$ 2>/dev/null; then
   11184     as_ln_s=ln
   11185   else
   11186     as_ln_s='cp -p'
   11187   fi
   11188 else
   11189   as_ln_s='cp -p'
   11190 fi
   11191 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11192 rmdir conf$$.dir 2>/dev/null
   11193 
   11194 
   11195 # as_fn_mkdir_p
   11196 # -------------
   11197 # Create "$as_dir" as a directory, including parents if necessary.
   11198 as_fn_mkdir_p ()
   11199 {
   11200 
   11201   case $as_dir in #(
   11202   -*) as_dir=./$as_dir;;
   11203   esac
   11204   test -d "$as_dir" || eval $as_mkdir_p || {
   11205     as_dirs=
   11206     while :; do
   11207       case $as_dir in #(
   11208       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11209       *) as_qdir=$as_dir;;
   11210       esac
   11211       as_dirs="'$as_qdir' $as_dirs"
   11212       as_dir=`$as_dirname -- "$as_dir" ||
   11213 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11214 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11215 	 X"$as_dir" : 'X\(//\)$' \| \
   11216 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11217 $as_echo X"$as_dir" |
   11218     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11219 	    s//\1/
   11220 	    q
   11221 	  }
   11222 	  /^X\(\/\/\)[^/].*/{
   11223 	    s//\1/
   11224 	    q
   11225 	  }
   11226 	  /^X\(\/\/\)$/{
   11227 	    s//\1/
   11228 	    q
   11229 	  }
   11230 	  /^X\(\/\).*/{
   11231 	    s//\1/
   11232 	    q
   11233 	  }
   11234 	  s/.*/./; q'`
   11235       test -d "$as_dir" && break
   11236     done
   11237     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11238   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11239 
   11240 
   11241 } # as_fn_mkdir_p
   11242 if mkdir -p . 2>/dev/null; then
   11243   as_mkdir_p='mkdir -p "$as_dir"'
   11244 else
   11245   test -d ./-p && rmdir ./-p
   11246   as_mkdir_p=false
   11247 fi
   11248 
   11249 if test -x / >/dev/null 2>&1; then
   11250   as_test_x='test -x'
   11251 else
   11252   if ls -dL / >/dev/null 2>&1; then
   11253     as_ls_L_option=L
   11254   else
   11255     as_ls_L_option=
   11256   fi
   11257   as_test_x='
   11258     eval sh -c '\''
   11259       if test -d "$1"; then
   11260 	test -d "$1/.";
   11261       else
   11262 	case $1 in #(
   11263 	-*)set "./$1";;
   11264 	esac;
   11265 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11266 	???[sx]*):;;*)false;;esac;fi
   11267     '\'' sh
   11268   '
   11269 fi
   11270 as_executable_p=$as_test_x
   11271 
   11272 # Sed expression to map a string onto a valid CPP name.
   11273 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11274 
   11275 # Sed expression to map a string onto a valid variable name.
   11276 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11277 
   11278 
   11279 exec 6>&1
   11280 ## ----------------------------------- ##
   11281 ## Main body of $CONFIG_STATUS script. ##
   11282 ## ----------------------------------- ##
   11283 _ASEOF
   11284 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11285 
   11286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11287 # Save the log message, to keep $0 and so on meaningful, and to
   11288 # report actual input values of CONFIG_FILES etc. instead of their
   11289 # values after options handling.
   11290 ac_log="
   11291 This file was extended by makedepend $as_me 1.0.4, which was
   11292 generated by GNU Autoconf 2.68.  Invocation command line was
   11293 
   11294   CONFIG_FILES    = $CONFIG_FILES
   11295   CONFIG_HEADERS  = $CONFIG_HEADERS
   11296   CONFIG_LINKS    = $CONFIG_LINKS
   11297   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11298   $ $0 $@
   11299 
   11300 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11301 "
   11302 
   11303 _ACEOF
   11304 
   11305 case $ac_config_files in *"
   11306 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11307 esac
   11308 
   11309 case $ac_config_headers in *"
   11310 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11311 esac
   11312 
   11313 
   11314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11315 # Files that config.status was made for.
   11316 config_files="$ac_config_files"
   11317 config_headers="$ac_config_headers"
   11318 config_commands="$ac_config_commands"
   11319 
   11320 _ACEOF
   11321 
   11322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11323 ac_cs_usage="\
   11324 \`$as_me' instantiates files and other configuration actions
   11325 from templates according to the current configuration.  Unless the files
   11326 and actions are specified as TAGs, all are instantiated by default.
   11327 
   11328 Usage: $0 [OPTION]... [TAG]...
   11329 
   11330   -h, --help       print this help, then exit
   11331   -V, --version    print version number and configuration settings, then exit
   11332       --config     print configuration, then exit
   11333   -q, --quiet, --silent
   11334                    do not print progress messages
   11335   -d, --debug      don't remove temporary files
   11336       --recheck    update $as_me by reconfiguring in the same conditions
   11337       --file=FILE[:TEMPLATE]
   11338                    instantiate the configuration file FILE
   11339       --header=FILE[:TEMPLATE]
   11340                    instantiate the configuration header FILE
   11341 
   11342 Configuration files:
   11343 $config_files
   11344 
   11345 Configuration headers:
   11346 $config_headers
   11347 
   11348 Configuration commands:
   11349 $config_commands
   11350 
   11351 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11352 
   11353 _ACEOF
   11354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11355 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11356 ac_cs_version="\\
   11357 makedepend config.status 1.0.4
   11358 configured by $0, generated by GNU Autoconf 2.68,
   11359   with options \\"\$ac_cs_config\\"
   11360 
   11361 Copyright (C) 2010 Free Software Foundation, Inc.
   11362 This config.status script is free software; the Free Software Foundation
   11363 gives unlimited permission to copy, distribute and modify it."
   11364 
   11365 ac_pwd='$ac_pwd'
   11366 srcdir='$srcdir'
   11367 INSTALL='$INSTALL'
   11368 MKDIR_P='$MKDIR_P'
   11369 AWK='$AWK'
   11370 test -n "\$AWK" || AWK=awk
   11371 _ACEOF
   11372 
   11373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11374 # The default lists apply if the user does not specify any file.
   11375 ac_need_defaults=:
   11376 while test $# != 0
   11377 do
   11378   case $1 in
   11379   --*=?*)
   11380     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11381     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11382     ac_shift=:
   11383     ;;
   11384   --*=)
   11385     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11386     ac_optarg=
   11387     ac_shift=:
   11388     ;;
   11389   *)
   11390     ac_option=$1
   11391     ac_optarg=$2
   11392     ac_shift=shift
   11393     ;;
   11394   esac
   11395 
   11396   case $ac_option in
   11397   # Handling of the options.
   11398   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11399     ac_cs_recheck=: ;;
   11400   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11401     $as_echo "$ac_cs_version"; exit ;;
   11402   --config | --confi | --conf | --con | --co | --c )
   11403     $as_echo "$ac_cs_config"; exit ;;
   11404   --debug | --debu | --deb | --de | --d | -d )
   11405     debug=: ;;
   11406   --file | --fil | --fi | --f )
   11407     $ac_shift
   11408     case $ac_optarg in
   11409     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11410     '') as_fn_error $? "missing file argument" ;;
   11411     esac
   11412     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11413     ac_need_defaults=false;;
   11414   --header | --heade | --head | --hea )
   11415     $ac_shift
   11416     case $ac_optarg in
   11417     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11418     esac
   11419     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11420     ac_need_defaults=false;;
   11421   --he | --h)
   11422     # Conflict between --help and --header
   11423     as_fn_error $? "ambiguous option: \`$1'
   11424 Try \`$0 --help' for more information.";;
   11425   --help | --hel | -h )
   11426     $as_echo "$ac_cs_usage"; exit ;;
   11427   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11428   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11429     ac_cs_silent=: ;;
   11430 
   11431   # This is an error.
   11432   -*) as_fn_error $? "unrecognized option: \`$1'
   11433 Try \`$0 --help' for more information." ;;
   11434 
   11435   *) as_fn_append ac_config_targets " $1"
   11436      ac_need_defaults=false ;;
   11437 
   11438   esac
   11439   shift
   11440 done
   11441 
   11442 ac_configure_extra_args=
   11443 
   11444 if $ac_cs_silent; then
   11445   exec 6>/dev/null
   11446   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11447 fi
   11448 
   11449 _ACEOF
   11450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11451 if \$ac_cs_recheck; then
   11452   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11453   shift
   11454   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11455   CONFIG_SHELL='$SHELL'
   11456   export CONFIG_SHELL
   11457   exec "\$@"
   11458 fi
   11459 
   11460 _ACEOF
   11461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11462 exec 5>>config.log
   11463 {
   11464   echo
   11465   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11466 ## Running $as_me. ##
   11467 _ASBOX
   11468   $as_echo "$ac_log"
   11469 } >&5
   11470 
   11471 _ACEOF
   11472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11473 #
   11474 # INIT-COMMANDS
   11475 #
   11476 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11477 
   11478 _ACEOF
   11479 
   11480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11481 
   11482 # Handling of arguments.
   11483 for ac_config_target in $ac_config_targets
   11484 do
   11485   case $ac_config_target in
   11486     "makedepend-config.h") CONFIG_HEADERS="$CONFIG_HEADERS makedepend-config.h" ;;
   11487     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11488     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11489 
   11490   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11491   esac
   11492 done
   11493 
   11494 
   11495 # If the user did not use the arguments to specify the items to instantiate,
   11496 # then the envvar interface is used.  Set only those that are not.
   11497 # We use the long form for the default assignment because of an extremely
   11498 # bizarre bug on SunOS 4.1.3.
   11499 if $ac_need_defaults; then
   11500   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11501   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11502   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11503 fi
   11504 
   11505 # Have a temporary directory for convenience.  Make it in the build tree
   11506 # simply because there is no reason against having it here, and in addition,
   11507 # creating and moving files from /tmp can sometimes cause problems.
   11508 # Hook for its removal unless debugging.
   11509 # Note that there is a small window in which the directory will not be cleaned:
   11510 # after its creation but before its name has been assigned to `$tmp'.
   11511 $debug ||
   11512 {
   11513   tmp= ac_tmp=
   11514   trap 'exit_status=$?
   11515   : "${ac_tmp:=$tmp}"
   11516   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11517 ' 0
   11518   trap 'as_fn_exit 1' 1 2 13 15
   11519 }
   11520 # Create a (secure) tmp directory for tmp files.
   11521 
   11522 {
   11523   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11524   test -d "$tmp"
   11525 }  ||
   11526 {
   11527   tmp=./conf$$-$RANDOM
   11528   (umask 077 && mkdir "$tmp")
   11529 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11530 ac_tmp=$tmp
   11531 
   11532 # Set up the scripts for CONFIG_FILES section.
   11533 # No need to generate them if there are no CONFIG_FILES.
   11534 # This happens for instance with `./config.status config.h'.
   11535 if test -n "$CONFIG_FILES"; then
   11536 
   11537 
   11538 ac_cr=`echo X | tr X '\015'`
   11539 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11540 # But we know of no other shell where ac_cr would be empty at this
   11541 # point, so we can use a bashism as a fallback.
   11542 if test "x$ac_cr" = x; then
   11543   eval ac_cr=\$\'\\r\'
   11544 fi
   11545 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11546 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11547   ac_cs_awk_cr='\\r'
   11548 else
   11549   ac_cs_awk_cr=$ac_cr
   11550 fi
   11551 
   11552 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11553 _ACEOF
   11554 
   11555 
   11556 {
   11557   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11558   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11559   echo "_ACEOF"
   11560 } >conf$$subs.sh ||
   11561   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11562 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11563 ac_delim='%!_!# '
   11564 for ac_last_try in false false false false false :; do
   11565   . ./conf$$subs.sh ||
   11566     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11567 
   11568   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11569   if test $ac_delim_n = $ac_delim_num; then
   11570     break
   11571   elif $ac_last_try; then
   11572     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11573   else
   11574     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11575   fi
   11576 done
   11577 rm -f conf$$subs.sh
   11578 
   11579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11580 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11581 _ACEOF
   11582 sed -n '
   11583 h
   11584 s/^/S["/; s/!.*/"]=/
   11585 p
   11586 g
   11587 s/^[^!]*!//
   11588 :repl
   11589 t repl
   11590 s/'"$ac_delim"'$//
   11591 t delim
   11592 :nl
   11593 h
   11594 s/\(.\{148\}\)..*/\1/
   11595 t more1
   11596 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11597 p
   11598 n
   11599 b repl
   11600 :more1
   11601 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11602 p
   11603 g
   11604 s/.\{148\}//
   11605 t nl
   11606 :delim
   11607 h
   11608 s/\(.\{148\}\)..*/\1/
   11609 t more2
   11610 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11611 p
   11612 b
   11613 :more2
   11614 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11615 p
   11616 g
   11617 s/.\{148\}//
   11618 t delim
   11619 ' <conf$$subs.awk | sed '
   11620 /^[^""]/{
   11621   N
   11622   s/\n//
   11623 }
   11624 ' >>$CONFIG_STATUS || ac_write_fail=1
   11625 rm -f conf$$subs.awk
   11626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11627 _ACAWK
   11628 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11629   for (key in S) S_is_set[key] = 1
   11630   FS = ""
   11631 
   11632 }
   11633 {
   11634   line = $ 0
   11635   nfields = split(line, field, "@")
   11636   substed = 0
   11637   len = length(field[1])
   11638   for (i = 2; i < nfields; i++) {
   11639     key = field[i]
   11640     keylen = length(key)
   11641     if (S_is_set[key]) {
   11642       value = S[key]
   11643       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11644       len += length(value) + length(field[++i])
   11645       substed = 1
   11646     } else
   11647       len += 1 + keylen
   11648   }
   11649 
   11650   print line
   11651 }
   11652 
   11653 _ACAWK
   11654 _ACEOF
   11655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11656 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11657   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11658 else
   11659   cat
   11660 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11661   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11662 _ACEOF
   11663 
   11664 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11665 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11666 # trailing colons and then remove the whole line if VPATH becomes empty
   11667 # (actually we leave an empty line to preserve line numbers).
   11668 if test "x$srcdir" = x.; then
   11669   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11670 h
   11671 s///
   11672 s/^/:/
   11673 s/[	 ]*$/:/
   11674 s/:\$(srcdir):/:/g
   11675 s/:\${srcdir}:/:/g
   11676 s/:@srcdir@:/:/g
   11677 s/^:*//
   11678 s/:*$//
   11679 x
   11680 s/\(=[	 ]*\).*/\1/
   11681 G
   11682 s/\n//
   11683 s/^[^=]*=[	 ]*$//
   11684 }'
   11685 fi
   11686 
   11687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11688 fi # test -n "$CONFIG_FILES"
   11689 
   11690 # Set up the scripts for CONFIG_HEADERS section.
   11691 # No need to generate them if there are no CONFIG_HEADERS.
   11692 # This happens for instance with `./config.status Makefile'.
   11693 if test -n "$CONFIG_HEADERS"; then
   11694 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11695 BEGIN {
   11696 _ACEOF
   11697 
   11698 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11699 # here-document in config.status, that substitutes the proper values into
   11700 # config.h.in to produce config.h.
   11701 
   11702 # Create a delimiter string that does not exist in confdefs.h, to ease
   11703 # handling of long lines.
   11704 ac_delim='%!_!# '
   11705 for ac_last_try in false false :; do
   11706   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11707   if test -z "$ac_tt"; then
   11708     break
   11709   elif $ac_last_try; then
   11710     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11711   else
   11712     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11713   fi
   11714 done
   11715 
   11716 # For the awk script, D is an array of macro values keyed by name,
   11717 # likewise P contains macro parameters if any.  Preserve backslash
   11718 # newline sequences.
   11719 
   11720 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11721 sed -n '
   11722 s/.\{148\}/&'"$ac_delim"'/g
   11723 t rset
   11724 :rset
   11725 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11726 t def
   11727 d
   11728 :def
   11729 s/\\$//
   11730 t bsnl
   11731 s/["\\]/\\&/g
   11732 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11733 D["\1"]=" \3"/p
   11734 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11735 d
   11736 :bsnl
   11737 s/["\\]/\\&/g
   11738 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11739 D["\1"]=" \3\\\\\\n"\\/p
   11740 t cont
   11741 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11742 t cont
   11743 d
   11744 :cont
   11745 n
   11746 s/.\{148\}/&'"$ac_delim"'/g
   11747 t clear
   11748 :clear
   11749 s/\\$//
   11750 t bsnlc
   11751 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11752 d
   11753 :bsnlc
   11754 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11755 b cont
   11756 ' <confdefs.h | sed '
   11757 s/'"$ac_delim"'/"\\\
   11758 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11759 
   11760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11761   for (key in D) D_is_set[key] = 1
   11762   FS = ""
   11763 }
   11764 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11765   line = \$ 0
   11766   split(line, arg, " ")
   11767   if (arg[1] == "#") {
   11768     defundef = arg[2]
   11769     mac1 = arg[3]
   11770   } else {
   11771     defundef = substr(arg[1], 2)
   11772     mac1 = arg[2]
   11773   }
   11774   split(mac1, mac2, "(") #)
   11775   macro = mac2[1]
   11776   prefix = substr(line, 1, index(line, defundef) - 1)
   11777   if (D_is_set[macro]) {
   11778     # Preserve the white space surrounding the "#".
   11779     print prefix "define", macro P[macro] D[macro]
   11780     next
   11781   } else {
   11782     # Replace #undef with comments.  This is necessary, for example,
   11783     # in the case of _POSIX_SOURCE, which is predefined and required
   11784     # on some systems where configure will not decide to define it.
   11785     if (defundef == "undef") {
   11786       print "/*", prefix defundef, macro, "*/"
   11787       next
   11788     }
   11789   }
   11790 }
   11791 { print }
   11792 _ACAWK
   11793 _ACEOF
   11794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11795   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   11796 fi # test -n "$CONFIG_HEADERS"
   11797 
   11798 
   11799 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   11800 shift
   11801 for ac_tag
   11802 do
   11803   case $ac_tag in
   11804   :[FHLC]) ac_mode=$ac_tag; continue;;
   11805   esac
   11806   case $ac_mode$ac_tag in
   11807   :[FHL]*:*);;
   11808   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   11809   :[FH]-) ac_tag=-:-;;
   11810   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11811   esac
   11812   ac_save_IFS=$IFS
   11813   IFS=:
   11814   set x $ac_tag
   11815   IFS=$ac_save_IFS
   11816   shift
   11817   ac_file=$1
   11818   shift
   11819 
   11820   case $ac_mode in
   11821   :L) ac_source=$1;;
   11822   :[FH])
   11823     ac_file_inputs=
   11824     for ac_f
   11825     do
   11826       case $ac_f in
   11827       -) ac_f="$ac_tmp/stdin";;
   11828       *) # Look for the file first in the build tree, then in the source tree
   11829 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11830 	 # because $ac_f cannot contain `:'.
   11831 	 test -f "$ac_f" ||
   11832 	   case $ac_f in
   11833 	   [\\/$]*) false;;
   11834 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11835 	   esac ||
   11836 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   11837       esac
   11838       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11839       as_fn_append ac_file_inputs " '$ac_f'"
   11840     done
   11841 
   11842     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11843     # use $as_me), people would be surprised to read:
   11844     #    /* config.h.  Generated by config.status.  */
   11845     configure_input='Generated from '`
   11846 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11847 	`' by configure.'
   11848     if test x"$ac_file" != x-; then
   11849       configure_input="$ac_file.  $configure_input"
   11850       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   11851 $as_echo "$as_me: creating $ac_file" >&6;}
   11852     fi
   11853     # Neutralize special characters interpreted by sed in replacement strings.
   11854     case $configure_input in #(
   11855     *\&* | *\|* | *\\* )
   11856        ac_sed_conf_input=`$as_echo "$configure_input" |
   11857        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11858     *) ac_sed_conf_input=$configure_input;;
   11859     esac
   11860 
   11861     case $ac_tag in
   11862     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   11863       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   11864     esac
   11865     ;;
   11866   esac
   11867 
   11868   ac_dir=`$as_dirname -- "$ac_file" ||
   11869 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11870 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11871 	 X"$ac_file" : 'X\(//\)$' \| \
   11872 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11873 $as_echo X"$ac_file" |
   11874     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11875 	    s//\1/
   11876 	    q
   11877 	  }
   11878 	  /^X\(\/\/\)[^/].*/{
   11879 	    s//\1/
   11880 	    q
   11881 	  }
   11882 	  /^X\(\/\/\)$/{
   11883 	    s//\1/
   11884 	    q
   11885 	  }
   11886 	  /^X\(\/\).*/{
   11887 	    s//\1/
   11888 	    q
   11889 	  }
   11890 	  s/.*/./; q'`
   11891   as_dir="$ac_dir"; as_fn_mkdir_p
   11892   ac_builddir=.
   11893 
   11894 case "$ac_dir" in
   11895 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11896 *)
   11897   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11898   # A ".." for each directory in $ac_dir_suffix.
   11899   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11900   case $ac_top_builddir_sub in
   11901   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11902   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11903   esac ;;
   11904 esac
   11905 ac_abs_top_builddir=$ac_pwd
   11906 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11907 # for backward compatibility:
   11908 ac_top_builddir=$ac_top_build_prefix
   11909 
   11910 case $srcdir in
   11911   .)  # We are building in place.
   11912     ac_srcdir=.
   11913     ac_top_srcdir=$ac_top_builddir_sub
   11914     ac_abs_top_srcdir=$ac_pwd ;;
   11915   [\\/]* | ?:[\\/]* )  # Absolute name.
   11916     ac_srcdir=$srcdir$ac_dir_suffix;
   11917     ac_top_srcdir=$srcdir
   11918     ac_abs_top_srcdir=$srcdir ;;
   11919   *) # Relative name.
   11920     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11921     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11922     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11923 esac
   11924 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11925 
   11926 
   11927   case $ac_mode in
   11928   :F)
   11929   #
   11930   # CONFIG_FILE
   11931   #
   11932 
   11933   case $INSTALL in
   11934   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11935   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11936   esac
   11937   ac_MKDIR_P=$MKDIR_P
   11938   case $MKDIR_P in
   11939   [\\/$]* | ?:[\\/]* ) ;;
   11940   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   11941   esac
   11942 _ACEOF
   11943 
   11944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11945 # If the template does not know about datarootdir, expand it.
   11946 # FIXME: This hack should be removed a few years after 2.60.
   11947 ac_datarootdir_hack=; ac_datarootdir_seen=
   11948 ac_sed_dataroot='
   11949 /datarootdir/ {
   11950   p
   11951   q
   11952 }
   11953 /@datadir@/p
   11954 /@docdir@/p
   11955 /@infodir@/p
   11956 /@localedir@/p
   11957 /@mandir@/p'
   11958 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11959 *datarootdir*) ac_datarootdir_seen=yes;;
   11960 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11961   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11962 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11963 _ACEOF
   11964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11965   ac_datarootdir_hack='
   11966   s&@datadir@&$datadir&g
   11967   s&@docdir@&$docdir&g
   11968   s&@infodir@&$infodir&g
   11969   s&@localedir@&$localedir&g
   11970   s&@mandir@&$mandir&g
   11971   s&\\\${datarootdir}&$datarootdir&g' ;;
   11972 esac
   11973 _ACEOF
   11974 
   11975 # Neutralize VPATH when `$srcdir' = `.'.
   11976 # Shell code in configure.ac might set extrasub.
   11977 # FIXME: do we really want to maintain this feature?
   11978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11979 ac_sed_extra="$ac_vpsub
   11980 $extrasub
   11981 _ACEOF
   11982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11983 :t
   11984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11985 s|@configure_input@|$ac_sed_conf_input|;t t
   11986 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11987 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11988 s&@srcdir@&$ac_srcdir&;t t
   11989 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11990 s&@top_srcdir@&$ac_top_srcdir&;t t
   11991 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11992 s&@builddir@&$ac_builddir&;t t
   11993 s&@abs_builddir@&$ac_abs_builddir&;t t
   11994 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11995 s&@INSTALL@&$ac_INSTALL&;t t
   11996 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   11997 $ac_datarootdir_hack
   11998 "
   11999 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12000   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12001 
   12002 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12003   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12004   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12005       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12006   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12007 which seems to be undefined.  Please make sure it is defined" >&5
   12008 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12009 which seems to be undefined.  Please make sure it is defined" >&2;}
   12010 
   12011   rm -f "$ac_tmp/stdin"
   12012   case $ac_file in
   12013   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12014   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12015   esac \
   12016   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12017  ;;
   12018   :H)
   12019   #
   12020   # CONFIG_HEADER
   12021   #
   12022   if test x"$ac_file" != x-; then
   12023     {
   12024       $as_echo "/* $configure_input  */" \
   12025       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12026     } >"$ac_tmp/config.h" \
   12027       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12028     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12029       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12030 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12031     else
   12032       rm -f "$ac_file"
   12033       mv "$ac_tmp/config.h" "$ac_file" \
   12034 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12035     fi
   12036   else
   12037     $as_echo "/* $configure_input  */" \
   12038       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12039       || as_fn_error $? "could not create -" "$LINENO" 5
   12040   fi
   12041 # Compute "$ac_file"'s index in $config_headers.
   12042 _am_arg="$ac_file"
   12043 _am_stamp_count=1
   12044 for _am_header in $config_headers :; do
   12045   case $_am_header in
   12046     $_am_arg | $_am_arg:* )
   12047       break ;;
   12048     * )
   12049       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12050   esac
   12051 done
   12052 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12053 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12054 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12055 	 X"$_am_arg" : 'X\(//\)$' \| \
   12056 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12057 $as_echo X"$_am_arg" |
   12058     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12059 	    s//\1/
   12060 	    q
   12061 	  }
   12062 	  /^X\(\/\/\)[^/].*/{
   12063 	    s//\1/
   12064 	    q
   12065 	  }
   12066 	  /^X\(\/\/\)$/{
   12067 	    s//\1/
   12068 	    q
   12069 	  }
   12070 	  /^X\(\/\).*/{
   12071 	    s//\1/
   12072 	    q
   12073 	  }
   12074 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12075  ;;
   12076 
   12077   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12078 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12079  ;;
   12080   esac
   12081 
   12082 
   12083   case $ac_file$ac_mode in
   12084     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12085   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12086   # are listed without --file.  Let's play safe and only enable the eval
   12087   # if we detect the quoting.
   12088   case $CONFIG_FILES in
   12089   *\'*) eval set x "$CONFIG_FILES" ;;
   12090   *)   set x $CONFIG_FILES ;;
   12091   esac
   12092   shift
   12093   for mf
   12094   do
   12095     # Strip MF so we end up with the name of the file.
   12096     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12097     # Check whether this is an Automake generated Makefile or not.
   12098     # We used to match only the files named `Makefile.in', but
   12099     # some people rename them; so instead we look at the file content.
   12100     # Grep'ing the first line is not enough: some people post-process
   12101     # each Makefile.in and add a new line on top of each file to say so.
   12102     # Grep'ing the whole file is not good either: AIX grep has a line
   12103     # limit of 2048, but all sed's we know have understand at least 4000.
   12104     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12105       dirpart=`$as_dirname -- "$mf" ||
   12106 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12107 	 X"$mf" : 'X\(//\)[^/]' \| \
   12108 	 X"$mf" : 'X\(//\)$' \| \
   12109 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12110 $as_echo X"$mf" |
   12111     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12112 	    s//\1/
   12113 	    q
   12114 	  }
   12115 	  /^X\(\/\/\)[^/].*/{
   12116 	    s//\1/
   12117 	    q
   12118 	  }
   12119 	  /^X\(\/\/\)$/{
   12120 	    s//\1/
   12121 	    q
   12122 	  }
   12123 	  /^X\(\/\).*/{
   12124 	    s//\1/
   12125 	    q
   12126 	  }
   12127 	  s/.*/./; q'`
   12128     else
   12129       continue
   12130     fi
   12131     # Extract the definition of DEPDIR, am__include, and am__quote
   12132     # from the Makefile without running `make'.
   12133     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12134     test -z "$DEPDIR" && continue
   12135     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12136     test -z "am__include" && continue
   12137     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12138     # When using ansi2knr, U may be empty or an underscore; expand it
   12139     U=`sed -n 's/^U = //p' < "$mf"`
   12140     # Find all dependency output files, they are included files with
   12141     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12142     # simplest approach to changing $(DEPDIR) to its actual value in the
   12143     # expansion.
   12144     for file in `sed -n "
   12145       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12146 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12147       # Make sure the directory exists.
   12148       test -f "$dirpart/$file" && continue
   12149       fdir=`$as_dirname -- "$file" ||
   12150 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12151 	 X"$file" : 'X\(//\)[^/]' \| \
   12152 	 X"$file" : 'X\(//\)$' \| \
   12153 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12154 $as_echo X"$file" |
   12155     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12156 	    s//\1/
   12157 	    q
   12158 	  }
   12159 	  /^X\(\/\/\)[^/].*/{
   12160 	    s//\1/
   12161 	    q
   12162 	  }
   12163 	  /^X\(\/\/\)$/{
   12164 	    s//\1/
   12165 	    q
   12166 	  }
   12167 	  /^X\(\/\).*/{
   12168 	    s//\1/
   12169 	    q
   12170 	  }
   12171 	  s/.*/./; q'`
   12172       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12173       # echo "creating $dirpart/$file"
   12174       echo '# dummy' > "$dirpart/$file"
   12175     done
   12176   done
   12177 }
   12178  ;;
   12179 
   12180   esac
   12181 done # for ac_tag
   12182 
   12183 
   12184 as_fn_exit 0
   12185 _ACEOF
   12186 ac_clean_files=$ac_clean_files_save
   12187 
   12188 test $ac_write_fail = 0 ||
   12189   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12190 
   12191 
   12192 # configure is writing to config.log, and then calls config.status.
   12193 # config.status does its own redirection, appending to config.log.
   12194 # Unfortunately, on DOS this fails, as config.log is still kept open
   12195 # by configure, so config.status won't be able to write to it; its
   12196 # output is simply discarded.  So we exec the FD to /dev/null,
   12197 # effectively closing config.log, so it can be properly (re)opened and
   12198 # appended to by config.status.  When coming back to configure, we
   12199 # need to make the FD available again.
   12200 if test "$no_create" != yes; then
   12201   ac_cs_success=:
   12202   ac_config_status_args=
   12203   test "$silent" = yes &&
   12204     ac_config_status_args="$ac_config_status_args --quiet"
   12205   exec 5>/dev/null
   12206   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12207   exec 5>>config.log
   12208   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12209   # would make configure fail if this is the last instruction.
   12210   $ac_cs_success || as_fn_exit 1
   12211 fi
   12212 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12213   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12214 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12215 fi
   12216 
   12217