Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for imake 1.0.6.
      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='imake'
    563 PACKAGE_TARNAME='imake'
    564 PACKAGE_VERSION='1.0.6'
    565 PACKAGE_STRING='imake 1.0.6'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 XPROTO_LIBS
    611 XPROTO_CFLAGS
    612 BUILD_MKHTMLINDEX_FALSE
    613 BUILD_MKHTMLINDEX_TRUE
    614 BUILD_CLEANLINKS_FALSE
    615 BUILD_CLEANLINKS_TRUE
    616 BUILD_MKDIRHIER_FALSE
    617 BUILD_MKDIRHIER_TRUE
    618 BUILD_MERGELIB_FALSE
    619 BUILD_MERGELIB_TRUE
    620 BUILD_CCMAKEDEP_FALSE
    621 BUILD_CCMAKEDEP_TRUE
    622 BUILD_XMKMF_FALSE
    623 BUILD_XMKMF_TRUE
    624 BUILD_MAKEG_FALSE
    625 BUILD_MAKEG_TRUE
    626 BUILD_REVPATH_FALSE
    627 BUILD_REVPATH_TRUE
    628 RANLIB
    629 ARCMD
    630 PREPROCESSCMD_MKDEPEND
    631 XCONFDIR
    632 HAS_PERL_FALSE
    633 HAS_PERL_TRUE
    634 HAS_PERL
    635 CPP_PROGRAM
    636 RAWCPPFLAGS
    637 RAWCPP
    638 MAN_SUBSTS
    639 XORG_MAN_PAGE
    640 ADMIN_MAN_DIR
    641 DRIVER_MAN_DIR
    642 MISC_MAN_DIR
    643 FILE_MAN_DIR
    644 LIB_MAN_DIR
    645 APP_MAN_DIR
    646 ADMIN_MAN_SUFFIX
    647 DRIVER_MAN_SUFFIX
    648 MISC_MAN_SUFFIX
    649 FILE_MAN_SUFFIX
    650 LIB_MAN_SUFFIX
    651 APP_MAN_SUFFIX
    652 SED
    653 host_os
    654 host_vendor
    655 host_cpu
    656 host
    657 build_os
    658 build_vendor
    659 build_cpu
    660 build
    661 INSTALL_CMD
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 EGREP
    668 GREP
    669 CPP
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 OBJEXT
    681 EXEEXT
    682 ac_ct_CC
    683 CPPFLAGS
    684 LDFLAGS
    685 CFLAGS
    686 CC
    687 MAINT
    688 MAINTAINER_MODE_FALSE
    689 MAINTAINER_MODE_TRUE
    690 AM_BACKSLASH
    691 AM_DEFAULT_VERBOSITY
    692 AM_DEFAULT_V
    693 AM_V
    694 am__untar
    695 am__tar
    696 AMTAR
    697 am__leading_dot
    698 SET_MAKE
    699 AWK
    700 mkdir_p
    701 MKDIR_P
    702 INSTALL_STRIP_PROGRAM
    703 STRIP
    704 install_sh
    705 MAKEINFO
    706 AUTOHEADER
    707 AUTOMAKE
    708 AUTOCONF
    709 ACLOCAL
    710 VERSION
    711 PACKAGE
    712 CYGPATH_W
    713 am__isrc
    714 INSTALL_DATA
    715 INSTALL_SCRIPT
    716 INSTALL_PROGRAM
    717 target_alias
    718 host_alias
    719 build_alias
    720 LIBS
    721 ECHO_T
    722 ECHO_N
    723 ECHO_C
    724 DEFS
    725 mandir
    726 localedir
    727 libdir
    728 psdir
    729 pdfdir
    730 dvidir
    731 htmldir
    732 infodir
    733 docdir
    734 oldincludedir
    735 includedir
    736 localstatedir
    737 sharedstatedir
    738 sysconfdir
    739 datadir
    740 datarootdir
    741 libexecdir
    742 sbindir
    743 bindir
    744 program_transform_name
    745 prefix
    746 exec_prefix
    747 PACKAGE_URL
    748 PACKAGE_BUGREPORT
    749 PACKAGE_STRING
    750 PACKAGE_VERSION
    751 PACKAGE_TARNAME
    752 PACKAGE_NAME
    753 PATH_SEPARATOR
    754 SHELL'
    755 ac_subst_files=''
    756 ac_user_opts='
    757 enable_option_checking
    758 enable_silent_rules
    759 enable_maintainer_mode
    760 enable_dependency_tracking
    761 enable_selective_werror
    762 enable_strict_compilation
    763 with_config_dir
    764 with_script_preproc_cmd
    765 with_create_lib_cmd
    766 with_clean_lib_cmd
    767 enable_revpath
    768 enable_makeg
    769 enable_xmkmf
    770 enable_ccmakedep
    771 enable_mergelib
    772 enable_mkdirhier
    773 enable_cleanlinks
    774 enable_mkhtmlindex
    775 '
    776       ac_precious_vars='build_alias
    777 host_alias
    778 target_alias
    779 CC
    780 CFLAGS
    781 LDFLAGS
    782 LIBS
    783 CPPFLAGS
    784 CPP
    785 PKG_CONFIG
    786 XPROTO_CFLAGS
    787 XPROTO_LIBS'
    788 
    789 
    790 # Initialize some variables set by options.
    791 ac_init_help=
    792 ac_init_version=false
    793 ac_unrecognized_opts=
    794 ac_unrecognized_sep=
    795 # The variables have the same names as the options, with
    796 # dashes changed to underlines.
    797 cache_file=/dev/null
    798 exec_prefix=NONE
    799 no_create=
    800 no_recursion=
    801 prefix=NONE
    802 program_prefix=NONE
    803 program_suffix=NONE
    804 program_transform_name=s,x,x,
    805 silent=
    806 site=
    807 srcdir=
    808 verbose=
    809 x_includes=NONE
    810 x_libraries=NONE
    811 
    812 # Installation directory options.
    813 # These are left unexpanded so users can "make install exec_prefix=/foo"
    814 # and all the variables that are supposed to be based on exec_prefix
    815 # by default will actually change.
    816 # Use braces instead of parens because sh, perl, etc. also accept them.
    817 # (The list follows the same order as the GNU Coding Standards.)
    818 bindir='${exec_prefix}/bin'
    819 sbindir='${exec_prefix}/sbin'
    820 libexecdir='${exec_prefix}/libexec'
    821 datarootdir='${prefix}/share'
    822 datadir='${datarootdir}'
    823 sysconfdir='${prefix}/etc'
    824 sharedstatedir='${prefix}/com'
    825 localstatedir='${prefix}/var'
    826 includedir='${prefix}/include'
    827 oldincludedir='/usr/include'
    828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    829 infodir='${datarootdir}/info'
    830 htmldir='${docdir}'
    831 dvidir='${docdir}'
    832 pdfdir='${docdir}'
    833 psdir='${docdir}'
    834 libdir='${exec_prefix}/lib'
    835 localedir='${datarootdir}/locale'
    836 mandir='${datarootdir}/man'
    837 
    838 ac_prev=
    839 ac_dashdash=
    840 for ac_option
    841 do
    842   # If the previous option needs an argument, assign it.
    843   if test -n "$ac_prev"; then
    844     eval $ac_prev=\$ac_option
    845     ac_prev=
    846     continue
    847   fi
    848 
    849   case $ac_option in
    850   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    851   *=)   ac_optarg= ;;
    852   *)    ac_optarg=yes ;;
    853   esac
    854 
    855   # Accept the important Cygnus configure options, so we can diagnose typos.
    856 
    857   case $ac_dashdash$ac_option in
    858   --)
    859     ac_dashdash=yes ;;
    860 
    861   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    862     ac_prev=bindir ;;
    863   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    864     bindir=$ac_optarg ;;
    865 
    866   -build | --build | --buil | --bui | --bu)
    867     ac_prev=build_alias ;;
    868   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    869     build_alias=$ac_optarg ;;
    870 
    871   -cache-file | --cache-file | --cache-fil | --cache-fi \
    872   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    873     ac_prev=cache_file ;;
    874   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    875   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    876     cache_file=$ac_optarg ;;
    877 
    878   --config-cache | -C)
    879     cache_file=config.cache ;;
    880 
    881   -datadir | --datadir | --datadi | --datad)
    882     ac_prev=datadir ;;
    883   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    884     datadir=$ac_optarg ;;
    885 
    886   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    887   | --dataroo | --dataro | --datar)
    888     ac_prev=datarootdir ;;
    889   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    890   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    891     datarootdir=$ac_optarg ;;
    892 
    893   -disable-* | --disable-*)
    894     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    895     # Reject names that are not valid shell variable names.
    896     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    897       as_fn_error $? "invalid feature name: $ac_useropt"
    898     ac_useropt_orig=$ac_useropt
    899     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    900     case $ac_user_opts in
    901       *"
    902 "enable_$ac_useropt"
    903 "*) ;;
    904       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    905 	 ac_unrecognized_sep=', ';;
    906     esac
    907     eval enable_$ac_useropt=no ;;
    908 
    909   -docdir | --docdir | --docdi | --doc | --do)
    910     ac_prev=docdir ;;
    911   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    912     docdir=$ac_optarg ;;
    913 
    914   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    915     ac_prev=dvidir ;;
    916   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    917     dvidir=$ac_optarg ;;
    918 
    919   -enable-* | --enable-*)
    920     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    921     # Reject names that are not valid shell variable names.
    922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    923       as_fn_error $? "invalid feature name: $ac_useropt"
    924     ac_useropt_orig=$ac_useropt
    925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    926     case $ac_user_opts in
    927       *"
    928 "enable_$ac_useropt"
    929 "*) ;;
    930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    931 	 ac_unrecognized_sep=', ';;
    932     esac
    933     eval enable_$ac_useropt=\$ac_optarg ;;
    934 
    935   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    936   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    937   | --exec | --exe | --ex)
    938     ac_prev=exec_prefix ;;
    939   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    940   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    941   | --exec=* | --exe=* | --ex=*)
    942     exec_prefix=$ac_optarg ;;
    943 
    944   -gas | --gas | --ga | --g)
    945     # Obsolete; use --with-gas.
    946     with_gas=yes ;;
    947 
    948   -help | --help | --hel | --he | -h)
    949     ac_init_help=long ;;
    950   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    951     ac_init_help=recursive ;;
    952   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    953     ac_init_help=short ;;
    954 
    955   -host | --host | --hos | --ho)
    956     ac_prev=host_alias ;;
    957   -host=* | --host=* | --hos=* | --ho=*)
    958     host_alias=$ac_optarg ;;
    959 
    960   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    961     ac_prev=htmldir ;;
    962   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    963   | --ht=*)
    964     htmldir=$ac_optarg ;;
    965 
    966   -includedir | --includedir | --includedi | --included | --include \
    967   | --includ | --inclu | --incl | --inc)
    968     ac_prev=includedir ;;
    969   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    970   | --includ=* | --inclu=* | --incl=* | --inc=*)
    971     includedir=$ac_optarg ;;
    972 
    973   -infodir | --infodir | --infodi | --infod | --info | --inf)
    974     ac_prev=infodir ;;
    975   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    976     infodir=$ac_optarg ;;
    977 
    978   -libdir | --libdir | --libdi | --libd)
    979     ac_prev=libdir ;;
    980   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    981     libdir=$ac_optarg ;;
    982 
    983   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    984   | --libexe | --libex | --libe)
    985     ac_prev=libexecdir ;;
    986   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    987   | --libexe=* | --libex=* | --libe=*)
    988     libexecdir=$ac_optarg ;;
    989 
    990   -localedir | --localedir | --localedi | --localed | --locale)
    991     ac_prev=localedir ;;
    992   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    993     localedir=$ac_optarg ;;
    994 
    995   -localstatedir | --localstatedir | --localstatedi | --localstated \
    996   | --localstate | --localstat | --localsta | --localst | --locals)
    997     ac_prev=localstatedir ;;
    998   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    999   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1000     localstatedir=$ac_optarg ;;
   1001 
   1002   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1003     ac_prev=mandir ;;
   1004   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1005     mandir=$ac_optarg ;;
   1006 
   1007   -nfp | --nfp | --nf)
   1008     # Obsolete; use --without-fp.
   1009     with_fp=no ;;
   1010 
   1011   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1012   | --no-cr | --no-c | -n)
   1013     no_create=yes ;;
   1014 
   1015   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1016   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1017     no_recursion=yes ;;
   1018 
   1019   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1020   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1021   | --oldin | --oldi | --old | --ol | --o)
   1022     ac_prev=oldincludedir ;;
   1023   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1024   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1025   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1026     oldincludedir=$ac_optarg ;;
   1027 
   1028   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1029     ac_prev=prefix ;;
   1030   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1031     prefix=$ac_optarg ;;
   1032 
   1033   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1034   | --program-pre | --program-pr | --program-p)
   1035     ac_prev=program_prefix ;;
   1036   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1037   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1038     program_prefix=$ac_optarg ;;
   1039 
   1040   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1041   | --program-suf | --program-su | --program-s)
   1042     ac_prev=program_suffix ;;
   1043   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1044   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1045     program_suffix=$ac_optarg ;;
   1046 
   1047   -program-transform-name | --program-transform-name \
   1048   | --program-transform-nam | --program-transform-na \
   1049   | --program-transform-n | --program-transform- \
   1050   | --program-transform | --program-transfor \
   1051   | --program-transfo | --program-transf \
   1052   | --program-trans | --program-tran \
   1053   | --progr-tra | --program-tr | --program-t)
   1054     ac_prev=program_transform_name ;;
   1055   -program-transform-name=* | --program-transform-name=* \
   1056   | --program-transform-nam=* | --program-transform-na=* \
   1057   | --program-transform-n=* | --program-transform-=* \
   1058   | --program-transform=* | --program-transfor=* \
   1059   | --program-transfo=* | --program-transf=* \
   1060   | --program-trans=* | --program-tran=* \
   1061   | --progr-tra=* | --program-tr=* | --program-t=*)
   1062     program_transform_name=$ac_optarg ;;
   1063 
   1064   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1065     ac_prev=pdfdir ;;
   1066   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1067     pdfdir=$ac_optarg ;;
   1068 
   1069   -psdir | --psdir | --psdi | --psd | --ps)
   1070     ac_prev=psdir ;;
   1071   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1072     psdir=$ac_optarg ;;
   1073 
   1074   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1075   | -silent | --silent | --silen | --sile | --sil)
   1076     silent=yes ;;
   1077 
   1078   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1079     ac_prev=sbindir ;;
   1080   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1081   | --sbi=* | --sb=*)
   1082     sbindir=$ac_optarg ;;
   1083 
   1084   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1085   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1086   | --sharedst | --shareds | --shared | --share | --shar \
   1087   | --sha | --sh)
   1088     ac_prev=sharedstatedir ;;
   1089   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1090   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1091   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1092   | --sha=* | --sh=*)
   1093     sharedstatedir=$ac_optarg ;;
   1094 
   1095   -site | --site | --sit)
   1096     ac_prev=site ;;
   1097   -site=* | --site=* | --sit=*)
   1098     site=$ac_optarg ;;
   1099 
   1100   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1101     ac_prev=srcdir ;;
   1102   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1103     srcdir=$ac_optarg ;;
   1104 
   1105   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1106   | --syscon | --sysco | --sysc | --sys | --sy)
   1107     ac_prev=sysconfdir ;;
   1108   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1109   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1110     sysconfdir=$ac_optarg ;;
   1111 
   1112   -target | --target | --targe | --targ | --tar | --ta | --t)
   1113     ac_prev=target_alias ;;
   1114   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1115     target_alias=$ac_optarg ;;
   1116 
   1117   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1118     verbose=yes ;;
   1119 
   1120   -version | --version | --versio | --versi | --vers | -V)
   1121     ac_init_version=: ;;
   1122 
   1123   -with-* | --with-*)
   1124     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1125     # Reject names that are not valid shell variable names.
   1126     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1127       as_fn_error $? "invalid package name: $ac_useropt"
   1128     ac_useropt_orig=$ac_useropt
   1129     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1130     case $ac_user_opts in
   1131       *"
   1132 "with_$ac_useropt"
   1133 "*) ;;
   1134       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1135 	 ac_unrecognized_sep=', ';;
   1136     esac
   1137     eval with_$ac_useropt=\$ac_optarg ;;
   1138 
   1139   -without-* | --without-*)
   1140     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1141     # Reject names that are not valid shell variable names.
   1142     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1143       as_fn_error $? "invalid package name: $ac_useropt"
   1144     ac_useropt_orig=$ac_useropt
   1145     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1146     case $ac_user_opts in
   1147       *"
   1148 "with_$ac_useropt"
   1149 "*) ;;
   1150       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1151 	 ac_unrecognized_sep=', ';;
   1152     esac
   1153     eval with_$ac_useropt=no ;;
   1154 
   1155   --x)
   1156     # Obsolete; use --with-x.
   1157     with_x=yes ;;
   1158 
   1159   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1160   | --x-incl | --x-inc | --x-in | --x-i)
   1161     ac_prev=x_includes ;;
   1162   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1163   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1164     x_includes=$ac_optarg ;;
   1165 
   1166   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1167   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1168     ac_prev=x_libraries ;;
   1169   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1170   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1171     x_libraries=$ac_optarg ;;
   1172 
   1173   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1174 Try \`$0 --help' for more information"
   1175     ;;
   1176 
   1177   *=*)
   1178     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1179     # Reject names that are not valid shell variable names.
   1180     case $ac_envvar in #(
   1181       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1182       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1183     esac
   1184     eval $ac_envvar=\$ac_optarg
   1185     export $ac_envvar ;;
   1186 
   1187   *)
   1188     # FIXME: should be removed in autoconf 3.0.
   1189     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1190     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1191       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1192     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1193     ;;
   1194 
   1195   esac
   1196 done
   1197 
   1198 if test -n "$ac_prev"; then
   1199   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1200   as_fn_error $? "missing argument to $ac_option"
   1201 fi
   1202 
   1203 if test -n "$ac_unrecognized_opts"; then
   1204   case $enable_option_checking in
   1205     no) ;;
   1206     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1207     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1208   esac
   1209 fi
   1210 
   1211 # Check all directory arguments for consistency.
   1212 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1213 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1214 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1215 		libdir localedir mandir
   1216 do
   1217   eval ac_val=\$$ac_var
   1218   # Remove trailing slashes.
   1219   case $ac_val in
   1220     */ )
   1221       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1222       eval $ac_var=\$ac_val;;
   1223   esac
   1224   # Be sure to have absolute directory names.
   1225   case $ac_val in
   1226     [\\/$]* | ?:[\\/]* )  continue;;
   1227     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1228   esac
   1229   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1230 done
   1231 
   1232 # There might be people who depend on the old broken behavior: `$host'
   1233 # used to hold the argument of --host etc.
   1234 # FIXME: To remove some day.
   1235 build=$build_alias
   1236 host=$host_alias
   1237 target=$target_alias
   1238 
   1239 # FIXME: To remove some day.
   1240 if test "x$host_alias" != x; then
   1241   if test "x$build_alias" = x; then
   1242     cross_compiling=maybe
   1243     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1244     If a cross compiler is detected then cross compile mode will be used" >&2
   1245   elif test "x$build_alias" != "x$host_alias"; then
   1246     cross_compiling=yes
   1247   fi
   1248 fi
   1249 
   1250 ac_tool_prefix=
   1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1252 
   1253 test "$silent" = yes && exec 6>/dev/null
   1254 
   1255 
   1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1257 ac_ls_di=`ls -di .` &&
   1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1259   as_fn_error $? "working directory cannot be determined"
   1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1261   as_fn_error $? "pwd does not report name of working directory"
   1262 
   1263 
   1264 # Find the source files, if location was not specified.
   1265 if test -z "$srcdir"; then
   1266   ac_srcdir_defaulted=yes
   1267   # Try the directory containing this script, then the parent directory.
   1268   ac_confdir=`$as_dirname -- "$as_myself" ||
   1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1270 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1271 	 X"$as_myself" : 'X\(//\)$' \| \
   1272 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1273 $as_echo X"$as_myself" |
   1274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)[^/].*/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)$/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\).*/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  s/.*/./; q'`
   1291   srcdir=$ac_confdir
   1292   if test ! -r "$srcdir/$ac_unique_file"; then
   1293     srcdir=..
   1294   fi
   1295 else
   1296   ac_srcdir_defaulted=no
   1297 fi
   1298 if test ! -r "$srcdir/$ac_unique_file"; then
   1299   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1300   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1301 fi
   1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1303 ac_abs_confdir=`(
   1304 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1305 	pwd)`
   1306 # When building in place, set srcdir=.
   1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1308   srcdir=.
   1309 fi
   1310 # Remove unnecessary trailing slashes from srcdir.
   1311 # Double slashes in file names in object file debugging info
   1312 # mess up M-x gdb in Emacs.
   1313 case $srcdir in
   1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1315 esac
   1316 for ac_var in $ac_precious_vars; do
   1317   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_env_${ac_var}_value=\$${ac_var}
   1319   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1320   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1321 done
   1322 
   1323 #
   1324 # Report the --help message.
   1325 #
   1326 if test "$ac_init_help" = "long"; then
   1327   # Omit some internal or obsolete options to make the list less imposing.
   1328   # This message is too long to be a string in the A/UX 3.1 sh.
   1329   cat <<_ACEOF
   1330 \`configure' configures imake 1.0.6 to adapt to many kinds of systems.
   1331 
   1332 Usage: $0 [OPTION]... [VAR=VALUE]...
   1333 
   1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1335 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1336 
   1337 Defaults for the options are specified in brackets.
   1338 
   1339 Configuration:
   1340   -h, --help              display this help and exit
   1341       --help=short        display options specific to this package
   1342       --help=recursive    display the short help of all the included packages
   1343   -V, --version           display version information and exit
   1344   -q, --quiet, --silent   do not print \`checking ...' messages
   1345       --cache-file=FILE   cache test results in FILE [disabled]
   1346   -C, --config-cache      alias for \`--cache-file=config.cache'
   1347   -n, --no-create         do not create output files
   1348       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1349 
   1350 Installation directories:
   1351   --prefix=PREFIX         install architecture-independent files in PREFIX
   1352                           [$ac_default_prefix]
   1353   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1354                           [PREFIX]
   1355 
   1356 By default, \`make install' will install all the files in
   1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1359 for instance \`--prefix=\$HOME'.
   1360 
   1361 For better control, use the options below.
   1362 
   1363 Fine tuning of the installation directories:
   1364   --bindir=DIR            user executables [EPREFIX/bin]
   1365   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1366   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1367   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1368   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1369   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1370   --libdir=DIR            object code libraries [EPREFIX/lib]
   1371   --includedir=DIR        C header files [PREFIX/include]
   1372   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1373   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1374   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1375   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1376   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1377   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1378   --docdir=DIR            documentation root [DATAROOTDIR/doc/imake]
   1379   --htmldir=DIR           html documentation [DOCDIR]
   1380   --dvidir=DIR            dvi documentation [DOCDIR]
   1381   --pdfdir=DIR            pdf documentation [DOCDIR]
   1382   --psdir=DIR             ps documentation [DOCDIR]
   1383 _ACEOF
   1384 
   1385   cat <<\_ACEOF
   1386 
   1387 Program names:
   1388   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1389   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1390   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1391 
   1392 System types:
   1393   --build=BUILD     configure for building on BUILD [guessed]
   1394   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1395 _ACEOF
   1396 fi
   1397 
   1398 if test -n "$ac_init_help"; then
   1399   case $ac_init_help in
   1400      short | recursive ) echo "Configuration of imake 1.0.6:";;
   1401    esac
   1402   cat <<\_ACEOF
   1403 
   1404 Optional Features:
   1405   --disable-option-checking  ignore unrecognized --enable/--with options
   1406   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1407   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1408   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1409   --disable-silent-rules  verbose build output (undo: "make V=0")
   1410   --enable-maintainer-mode
   1411                           enable make rules and dependencies not useful (and
   1412                           sometimes confusing) to the casual installer
   1413   --enable-dependency-tracking
   1414                           do not reject slow dependency extractors
   1415   --disable-dependency-tracking
   1416                           speeds up one-time build
   1417   --disable-selective-werror
   1418                           Turn off selective compiler errors. (default:
   1419                           enabled)
   1420   --enable-strict-compilation
   1421                           Enable all warnings from compiler and make them
   1422                           errors (default: disabled)
   1423   --disable-revpath       Build revpath (default: enabled)
   1424   --disable-makeg         Build makeg (default: enabled)
   1425   --disable-xmkmf         Build xmkmf (default: enabled)
   1426   --disable-ccmakedep     Build ccmakedep (default: enabled)
   1427   --disable-mergelib      Build mergelib (default: enabled)
   1428   --disable-mkdirhier     Build mkdirhier (default: enabled)
   1429   --disable-cleanlinks    Build cleanlinks (default: enabled)
   1430   --disable-mkhtmlindex   Build mkhtmlindex (default: enabled)
   1431 
   1432 Optional Packages:
   1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1435   --with-config-dir=<path>
   1436                           Path to config dir (default: ${libdir}/X11/config)
   1437   --with-script-preproc-cmd=CMD
   1438                           Preprocessor command to run on scripts (default:
   1439                           "gcc -E")
   1440   --with-create-lib-cmd=CMD
   1441                           Command to create libraries (default: "ar clq")
   1442   --with-clean-lib-cmd=CMD
   1443                           Command to clean up libraries (default: "ranlib")
   1444 
   1445 Some influential environment variables:
   1446   CC          C compiler command
   1447   CFLAGS      C compiler flags
   1448   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1449               nonstandard directory <lib dir>
   1450   LIBS        libraries to pass to the linker, e.g. -l<library>
   1451   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1452               you have headers in a nonstandard directory <include dir>
   1453   CPP         C preprocessor
   1454   PKG_CONFIG  path to pkg-config utility
   1455   XPROTO_CFLAGS
   1456               C compiler flags for XPROTO, overriding pkg-config
   1457   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1458 
   1459 Use these variables to override the choices made by `configure' or to help
   1460 it to find libraries and programs with nonstandard names/locations.
   1461 
   1462 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1463 _ACEOF
   1464 ac_status=$?
   1465 fi
   1466 
   1467 if test "$ac_init_help" = "recursive"; then
   1468   # If there are subdirs, report their specific --help.
   1469   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1470     test -d "$ac_dir" ||
   1471       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1472       continue
   1473     ac_builddir=.
   1474 
   1475 case "$ac_dir" in
   1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1477 *)
   1478   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1479   # A ".." for each directory in $ac_dir_suffix.
   1480   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1481   case $ac_top_builddir_sub in
   1482   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1483   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1484   esac ;;
   1485 esac
   1486 ac_abs_top_builddir=$ac_pwd
   1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1488 # for backward compatibility:
   1489 ac_top_builddir=$ac_top_build_prefix
   1490 
   1491 case $srcdir in
   1492   .)  # We are building in place.
   1493     ac_srcdir=.
   1494     ac_top_srcdir=$ac_top_builddir_sub
   1495     ac_abs_top_srcdir=$ac_pwd ;;
   1496   [\\/]* | ?:[\\/]* )  # Absolute name.
   1497     ac_srcdir=$srcdir$ac_dir_suffix;
   1498     ac_top_srcdir=$srcdir
   1499     ac_abs_top_srcdir=$srcdir ;;
   1500   *) # Relative name.
   1501     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1502     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1503     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1504 esac
   1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1506 
   1507     cd "$ac_dir" || { ac_status=$?; continue; }
   1508     # Check for guested configure.
   1509     if test -f "$ac_srcdir/configure.gnu"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1512     elif test -f "$ac_srcdir/configure"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure" --help=recursive
   1515     else
   1516       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1517     fi || ac_status=$?
   1518     cd "$ac_pwd" || { ac_status=$?; break; }
   1519   done
   1520 fi
   1521 
   1522 test -n "$ac_init_help" && exit $ac_status
   1523 if $ac_init_version; then
   1524   cat <<\_ACEOF
   1525 imake configure 1.0.6
   1526 generated by GNU Autoconf 2.68
   1527 
   1528 Copyright (C) 2010 Free Software Foundation, Inc.
   1529 This configure script is free software; the Free Software Foundation
   1530 gives unlimited permission to copy, distribute and modify it.
   1531 _ACEOF
   1532   exit
   1533 fi
   1534 
   1535 ## ------------------------ ##
   1536 ## Autoconf initialization. ##
   1537 ## ------------------------ ##
   1538 
   1539 # ac_fn_c_try_compile LINENO
   1540 # --------------------------
   1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1542 ac_fn_c_try_compile ()
   1543 {
   1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1545   rm -f conftest.$ac_objext
   1546   if { { ac_try="$ac_compile"
   1547 case "(($ac_try" in
   1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1549   *) ac_try_echo=$ac_try;;
   1550 esac
   1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1552 $as_echo "$ac_try_echo"; } >&5
   1553   (eval "$ac_compile") 2>conftest.err
   1554   ac_status=$?
   1555   if test -s conftest.err; then
   1556     grep -v '^ *+' conftest.err >conftest.er1
   1557     cat conftest.er1 >&5
   1558     mv -f conftest.er1 conftest.err
   1559   fi
   1560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1561   test $ac_status = 0; } && {
   1562 	 test -z "$ac_c_werror_flag" ||
   1563 	 test ! -s conftest.err
   1564        } && test -s conftest.$ac_objext; then :
   1565   ac_retval=0
   1566 else
   1567   $as_echo "$as_me: failed program was:" >&5
   1568 sed 's/^/| /' conftest.$ac_ext >&5
   1569 
   1570 	ac_retval=1
   1571 fi
   1572   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1573   as_fn_set_status $ac_retval
   1574 
   1575 } # ac_fn_c_try_compile
   1576 
   1577 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1578 # ---------------------------------------------
   1579 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1580 # accordingly.
   1581 ac_fn_c_check_decl ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1585   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1587 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1588 if eval \${$3+:} false; then :
   1589   $as_echo_n "(cached) " >&6
   1590 else
   1591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1592 /* end confdefs.h.  */
   1593 $4
   1594 int
   1595 main ()
   1596 {
   1597 #ifndef $as_decl_name
   1598 #ifdef __cplusplus
   1599   (void) $as_decl_use;
   1600 #else
   1601   (void) $as_decl_name;
   1602 #endif
   1603 #endif
   1604 
   1605   ;
   1606   return 0;
   1607 }
   1608 _ACEOF
   1609 if ac_fn_c_try_compile "$LINENO"; then :
   1610   eval "$3=yes"
   1611 else
   1612   eval "$3=no"
   1613 fi
   1614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1615 fi
   1616 eval ac_res=\$$3
   1617 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1618 $as_echo "$ac_res" >&6; }
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620 
   1621 } # ac_fn_c_check_decl
   1622 
   1623 # ac_fn_c_try_cpp LINENO
   1624 # ----------------------
   1625 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1626 ac_fn_c_try_cpp ()
   1627 {
   1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1629   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1630 case "(($ac_try" in
   1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1632   *) ac_try_echo=$ac_try;;
   1633 esac
   1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1635 $as_echo "$ac_try_echo"; } >&5
   1636   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1637   ac_status=$?
   1638   if test -s conftest.err; then
   1639     grep -v '^ *+' conftest.err >conftest.er1
   1640     cat conftest.er1 >&5
   1641     mv -f conftest.er1 conftest.err
   1642   fi
   1643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1644   test $ac_status = 0; } > conftest.i && {
   1645 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1646 	 test ! -s conftest.err
   1647        }; then :
   1648   ac_retval=0
   1649 else
   1650   $as_echo "$as_me: failed program was:" >&5
   1651 sed 's/^/| /' conftest.$ac_ext >&5
   1652 
   1653     ac_retval=1
   1654 fi
   1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1656   as_fn_set_status $ac_retval
   1657 
   1658 } # ac_fn_c_try_cpp
   1659 
   1660 # ac_fn_c_try_run LINENO
   1661 # ----------------------
   1662 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1663 # that executables *can* be run.
   1664 ac_fn_c_try_run ()
   1665 {
   1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1667   if { { ac_try="$ac_link"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 $as_echo "$ac_try_echo"; } >&5
   1674   (eval "$ac_link") 2>&5
   1675   ac_status=$?
   1676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1678   { { case "(($ac_try" in
   1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1680   *) ac_try_echo=$ac_try;;
   1681 esac
   1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1683 $as_echo "$ac_try_echo"; } >&5
   1684   (eval "$ac_try") 2>&5
   1685   ac_status=$?
   1686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1687   test $ac_status = 0; }; }; then :
   1688   ac_retval=0
   1689 else
   1690   $as_echo "$as_me: program exited with status $ac_status" >&5
   1691        $as_echo "$as_me: failed program was:" >&5
   1692 sed 's/^/| /' conftest.$ac_ext >&5
   1693 
   1694        ac_retval=$ac_status
   1695 fi
   1696   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1698   as_fn_set_status $ac_retval
   1699 
   1700 } # ac_fn_c_try_run
   1701 
   1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1703 # -------------------------------------------------------
   1704 # Tests whether HEADER exists and can be compiled using the include files in
   1705 # INCLUDES, setting the cache variable VAR accordingly.
   1706 ac_fn_c_check_header_compile ()
   1707 {
   1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1710 $as_echo_n "checking for $2... " >&6; }
   1711 if eval \${$3+:} false; then :
   1712   $as_echo_n "(cached) " >&6
   1713 else
   1714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1715 /* end confdefs.h.  */
   1716 $4
   1717 #include <$2>
   1718 _ACEOF
   1719 if ac_fn_c_try_compile "$LINENO"; then :
   1720   eval "$3=yes"
   1721 else
   1722   eval "$3=no"
   1723 fi
   1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1725 fi
   1726 eval ac_res=\$$3
   1727 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1728 $as_echo "$ac_res" >&6; }
   1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1730 
   1731 } # ac_fn_c_check_header_compile
   1732 
   1733 # ac_fn_c_try_link LINENO
   1734 # -----------------------
   1735 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1736 ac_fn_c_try_link ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   rm -f conftest.$ac_objext conftest$ac_exeext
   1740   if { { ac_try="$ac_link"
   1741 case "(($ac_try" in
   1742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1743   *) ac_try_echo=$ac_try;;
   1744 esac
   1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1746 $as_echo "$ac_try_echo"; } >&5
   1747   (eval "$ac_link") 2>conftest.err
   1748   ac_status=$?
   1749   if test -s conftest.err; then
   1750     grep -v '^ *+' conftest.err >conftest.er1
   1751     cat conftest.er1 >&5
   1752     mv -f conftest.er1 conftest.err
   1753   fi
   1754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1755   test $ac_status = 0; } && {
   1756 	 test -z "$ac_c_werror_flag" ||
   1757 	 test ! -s conftest.err
   1758        } && test -s conftest$ac_exeext && {
   1759 	 test "$cross_compiling" = yes ||
   1760 	 $as_test_x conftest$ac_exeext
   1761        }; then :
   1762   ac_retval=0
   1763 else
   1764   $as_echo "$as_me: failed program was:" >&5
   1765 sed 's/^/| /' conftest.$ac_ext >&5
   1766 
   1767 	ac_retval=1
   1768 fi
   1769   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1770   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1771   # interfere with the next link command; also delete a directory that is
   1772   # left behind by Apple's compiler.  We do this before executing the actions.
   1773   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1774   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1775   as_fn_set_status $ac_retval
   1776 
   1777 } # ac_fn_c_try_link
   1778 
   1779 # ac_fn_c_check_func LINENO FUNC VAR
   1780 # ----------------------------------
   1781 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1782 ac_fn_c_check_func ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1786 $as_echo_n "checking for $2... " >&6; }
   1787 if eval \${$3+:} false; then :
   1788   $as_echo_n "(cached) " >&6
   1789 else
   1790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1791 /* end confdefs.h.  */
   1792 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1794 #define $2 innocuous_$2
   1795 
   1796 /* System header to define __stub macros and hopefully few prototypes,
   1797     which can conflict with char $2 (); below.
   1798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1799     <limits.h> exists even on freestanding compilers.  */
   1800 
   1801 #ifdef __STDC__
   1802 # include <limits.h>
   1803 #else
   1804 # include <assert.h>
   1805 #endif
   1806 
   1807 #undef $2
   1808 
   1809 /* Override any GCC internal prototype to avoid an error.
   1810    Use char because int might match the return type of a GCC
   1811    builtin and then its argument prototype would still apply.  */
   1812 #ifdef __cplusplus
   1813 extern "C"
   1814 #endif
   1815 char $2 ();
   1816 /* The GNU C library defines this for functions which it implements
   1817     to always fail with ENOSYS.  Some functions are actually named
   1818     something starting with __ and the normal name is an alias.  */
   1819 #if defined __stub_$2 || defined __stub___$2
   1820 choke me
   1821 #endif
   1822 
   1823 int
   1824 main ()
   1825 {
   1826 return $2 ();
   1827   ;
   1828   return 0;
   1829 }
   1830 _ACEOF
   1831 if ac_fn_c_try_link "$LINENO"; then :
   1832   eval "$3=yes"
   1833 else
   1834   eval "$3=no"
   1835 fi
   1836 rm -f core conftest.err conftest.$ac_objext \
   1837     conftest$ac_exeext conftest.$ac_ext
   1838 fi
   1839 eval ac_res=\$$3
   1840 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1841 $as_echo "$ac_res" >&6; }
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843 
   1844 } # ac_fn_c_check_func
   1845 cat >config.log <<_ACEOF
   1846 This file contains any messages produced by compilers while
   1847 running configure, to aid debugging if configure makes a mistake.
   1848 
   1849 It was created by imake $as_me 1.0.6, which was
   1850 generated by GNU Autoconf 2.68.  Invocation command line was
   1851 
   1852   $ $0 $@
   1853 
   1854 _ACEOF
   1855 exec 5>>config.log
   1856 {
   1857 cat <<_ASUNAME
   1858 ## --------- ##
   1859 ## Platform. ##
   1860 ## --------- ##
   1861 
   1862 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1863 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1864 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1865 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1866 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1867 
   1868 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1869 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1870 
   1871 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1872 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1873 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1874 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1875 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1876 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1877 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1878 
   1879 _ASUNAME
   1880 
   1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1882 for as_dir in $PATH
   1883 do
   1884   IFS=$as_save_IFS
   1885   test -z "$as_dir" && as_dir=.
   1886     $as_echo "PATH: $as_dir"
   1887   done
   1888 IFS=$as_save_IFS
   1889 
   1890 } >&5
   1891 
   1892 cat >&5 <<_ACEOF
   1893 
   1894 
   1895 ## ----------- ##
   1896 ## Core tests. ##
   1897 ## ----------- ##
   1898 
   1899 _ACEOF
   1900 
   1901 
   1902 # Keep a trace of the command line.
   1903 # Strip out --no-create and --no-recursion so they do not pile up.
   1904 # Strip out --silent because we don't want to record it for future runs.
   1905 # Also quote any args containing shell meta-characters.
   1906 # Make two passes to allow for proper duplicate-argument suppression.
   1907 ac_configure_args=
   1908 ac_configure_args0=
   1909 ac_configure_args1=
   1910 ac_must_keep_next=false
   1911 for ac_pass in 1 2
   1912 do
   1913   for ac_arg
   1914   do
   1915     case $ac_arg in
   1916     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1917     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1918     | -silent | --silent | --silen | --sile | --sil)
   1919       continue ;;
   1920     *\'*)
   1921       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1922     esac
   1923     case $ac_pass in
   1924     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1925     2)
   1926       as_fn_append ac_configure_args1 " '$ac_arg'"
   1927       if test $ac_must_keep_next = true; then
   1928 	ac_must_keep_next=false # Got value, back to normal.
   1929       else
   1930 	case $ac_arg in
   1931 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1932 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1933 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1934 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1935 	    case "$ac_configure_args0 " in
   1936 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1937 	    esac
   1938 	    ;;
   1939 	  -* ) ac_must_keep_next=true ;;
   1940 	esac
   1941       fi
   1942       as_fn_append ac_configure_args " '$ac_arg'"
   1943       ;;
   1944     esac
   1945   done
   1946 done
   1947 { ac_configure_args0=; unset ac_configure_args0;}
   1948 { ac_configure_args1=; unset ac_configure_args1;}
   1949 
   1950 # When interrupted or exit'd, cleanup temporary files, and complete
   1951 # config.log.  We remove comments because anyway the quotes in there
   1952 # would cause problems or look ugly.
   1953 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1954 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1955 trap 'exit_status=$?
   1956   # Save into config.log some information that might help in debugging.
   1957   {
   1958     echo
   1959 
   1960     $as_echo "## ---------------- ##
   1961 ## Cache variables. ##
   1962 ## ---------------- ##"
   1963     echo
   1964     # The following way of writing the cache mishandles newlines in values,
   1965 (
   1966   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1967     eval ac_val=\$$ac_var
   1968     case $ac_val in #(
   1969     *${as_nl}*)
   1970       case $ac_var in #(
   1971       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1972 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1973       esac
   1974       case $ac_var in #(
   1975       _ | IFS | as_nl) ;; #(
   1976       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1977       *) { eval $ac_var=; unset $ac_var;} ;;
   1978       esac ;;
   1979     esac
   1980   done
   1981   (set) 2>&1 |
   1982     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1983     *${as_nl}ac_space=\ *)
   1984       sed -n \
   1985 	"s/'\''/'\''\\\\'\'''\''/g;
   1986 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1987       ;; #(
   1988     *)
   1989       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1990       ;;
   1991     esac |
   1992     sort
   1993 )
   1994     echo
   1995 
   1996     $as_echo "## ----------------- ##
   1997 ## Output variables. ##
   1998 ## ----------------- ##"
   1999     echo
   2000     for ac_var in $ac_subst_vars
   2001     do
   2002       eval ac_val=\$$ac_var
   2003       case $ac_val in
   2004       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2005       esac
   2006       $as_echo "$ac_var='\''$ac_val'\''"
   2007     done | sort
   2008     echo
   2009 
   2010     if test -n "$ac_subst_files"; then
   2011       $as_echo "## ------------------- ##
   2012 ## File substitutions. ##
   2013 ## ------------------- ##"
   2014       echo
   2015       for ac_var in $ac_subst_files
   2016       do
   2017 	eval ac_val=\$$ac_var
   2018 	case $ac_val in
   2019 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2020 	esac
   2021 	$as_echo "$ac_var='\''$ac_val'\''"
   2022       done | sort
   2023       echo
   2024     fi
   2025 
   2026     if test -s confdefs.h; then
   2027       $as_echo "## ----------- ##
   2028 ## confdefs.h. ##
   2029 ## ----------- ##"
   2030       echo
   2031       cat confdefs.h
   2032       echo
   2033     fi
   2034     test "$ac_signal" != 0 &&
   2035       $as_echo "$as_me: caught signal $ac_signal"
   2036     $as_echo "$as_me: exit $exit_status"
   2037   } >&5
   2038   rm -f core *.core core.conftest.* &&
   2039     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2040     exit $exit_status
   2041 ' 0
   2042 for ac_signal in 1 2 13 15; do
   2043   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2044 done
   2045 ac_signal=0
   2046 
   2047 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2048 rm -f -r conftest* confdefs.h
   2049 
   2050 $as_echo "/* confdefs.h */" > confdefs.h
   2051 
   2052 # Predefined preprocessor variables.
   2053 
   2054 cat >>confdefs.h <<_ACEOF
   2055 #define PACKAGE_NAME "$PACKAGE_NAME"
   2056 _ACEOF
   2057 
   2058 cat >>confdefs.h <<_ACEOF
   2059 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2060 _ACEOF
   2061 
   2062 cat >>confdefs.h <<_ACEOF
   2063 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2064 _ACEOF
   2065 
   2066 cat >>confdefs.h <<_ACEOF
   2067 #define PACKAGE_STRING "$PACKAGE_STRING"
   2068 _ACEOF
   2069 
   2070 cat >>confdefs.h <<_ACEOF
   2071 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2072 _ACEOF
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_URL "$PACKAGE_URL"
   2076 _ACEOF
   2077 
   2078 
   2079 # Let the site file select an alternate cache file if it wants to.
   2080 # Prefer an explicitly selected file to automatically selected ones.
   2081 ac_site_file1=NONE
   2082 ac_site_file2=NONE
   2083 if test -n "$CONFIG_SITE"; then
   2084   # We do not want a PATH search for config.site.
   2085   case $CONFIG_SITE in #((
   2086     -*)  ac_site_file1=./$CONFIG_SITE;;
   2087     */*) ac_site_file1=$CONFIG_SITE;;
   2088     *)   ac_site_file1=./$CONFIG_SITE;;
   2089   esac
   2090 elif test "x$prefix" != xNONE; then
   2091   ac_site_file1=$prefix/share/config.site
   2092   ac_site_file2=$prefix/etc/config.site
   2093 else
   2094   ac_site_file1=$ac_default_prefix/share/config.site
   2095   ac_site_file2=$ac_default_prefix/etc/config.site
   2096 fi
   2097 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2098 do
   2099   test "x$ac_site_file" = xNONE && continue
   2100   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2102 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2103     sed 's/^/| /' "$ac_site_file" >&5
   2104     . "$ac_site_file" \
   2105       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2107 as_fn_error $? "failed to load site script $ac_site_file
   2108 See \`config.log' for more details" "$LINENO" 5; }
   2109   fi
   2110 done
   2111 
   2112 if test -r "$cache_file"; then
   2113   # Some versions of bash will fail to source /dev/null (special files
   2114   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2115   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2116     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2117 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2118     case $cache_file in
   2119       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2120       *)                      . "./$cache_file";;
   2121     esac
   2122   fi
   2123 else
   2124   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2125 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2126   >$cache_file
   2127 fi
   2128 
   2129 # Check that the precious variables saved in the cache have kept the same
   2130 # value.
   2131 ac_cache_corrupted=false
   2132 for ac_var in $ac_precious_vars; do
   2133   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2134   eval ac_new_set=\$ac_env_${ac_var}_set
   2135   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2136   eval ac_new_val=\$ac_env_${ac_var}_value
   2137   case $ac_old_set,$ac_new_set in
   2138     set,)
   2139       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2140 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2141       ac_cache_corrupted=: ;;
   2142     ,set)
   2143       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2144 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2145       ac_cache_corrupted=: ;;
   2146     ,);;
   2147     *)
   2148       if test "x$ac_old_val" != "x$ac_new_val"; then
   2149 	# differences in whitespace do not lead to failure.
   2150 	ac_old_val_w=`echo x $ac_old_val`
   2151 	ac_new_val_w=`echo x $ac_new_val`
   2152 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2153 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2154 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2155 	  ac_cache_corrupted=:
   2156 	else
   2157 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2158 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2159 	  eval $ac_var=\$ac_old_val
   2160 	fi
   2161 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2162 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2163 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2164 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2165       fi;;
   2166   esac
   2167   # Pass precious variables to config.status.
   2168   if test "$ac_new_set" = set; then
   2169     case $ac_new_val in
   2170     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2171     *) ac_arg=$ac_var=$ac_new_val ;;
   2172     esac
   2173     case " $ac_configure_args " in
   2174       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2175       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2176     esac
   2177   fi
   2178 done
   2179 if $ac_cache_corrupted; then
   2180   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2182   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2183 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2184   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2185 fi
   2186 ## -------------------- ##
   2187 ## Main body of script. ##
   2188 ## -------------------- ##
   2189 
   2190 ac_ext=c
   2191 ac_cpp='$CPP $CPPFLAGS'
   2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2195 
   2196 
   2197 
   2198 ac_config_headers="$ac_config_headers config.h"
   2199 
   2200 
   2201 # Initialize Automake
   2202 am__api_version='1.14'
   2203 
   2204 ac_aux_dir=
   2205 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2206   if test -f "$ac_dir/install-sh"; then
   2207     ac_aux_dir=$ac_dir
   2208     ac_install_sh="$ac_aux_dir/install-sh -c"
   2209     break
   2210   elif test -f "$ac_dir/install.sh"; then
   2211     ac_aux_dir=$ac_dir
   2212     ac_install_sh="$ac_aux_dir/install.sh -c"
   2213     break
   2214   elif test -f "$ac_dir/shtool"; then
   2215     ac_aux_dir=$ac_dir
   2216     ac_install_sh="$ac_aux_dir/shtool install -c"
   2217     break
   2218   fi
   2219 done
   2220 if test -z "$ac_aux_dir"; then
   2221   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2222 fi
   2223 
   2224 # These three variables are undocumented and unsupported,
   2225 # and are intended to be withdrawn in a future Autoconf release.
   2226 # They can cause serious problems if a builder's source tree is in a directory
   2227 # whose full name contains unusual characters.
   2228 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2229 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2230 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2231 
   2232 
   2233 # Find a good install program.  We prefer a C program (faster),
   2234 # so one script is as good as another.  But avoid the broken or
   2235 # incompatible versions:
   2236 # SysV /etc/install, /usr/sbin/install
   2237 # SunOS /usr/etc/install
   2238 # IRIX /sbin/install
   2239 # AIX /bin/install
   2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2244 # OS/2's system install, which has a completely different semantic
   2245 # ./install, which can be erroneously created by make from ./install.sh.
   2246 # Reject install programs that cannot install multiple files.
   2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2249 if test -z "$INSTALL"; then
   2250 if ${ac_cv_path_install+:} false; then :
   2251   $as_echo_n "(cached) " >&6
   2252 else
   2253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2254 for as_dir in $PATH
   2255 do
   2256   IFS=$as_save_IFS
   2257   test -z "$as_dir" && as_dir=.
   2258     # Account for people who put trailing slashes in PATH elements.
   2259 case $as_dir/ in #((
   2260   ./ | .// | /[cC]/* | \
   2261   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2262   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2263   /usr/ucb/* ) ;;
   2264   *)
   2265     # OSF1 and SCO ODT 3.0 have their own names for install.
   2266     # Don't use installbsd from OSF since it installs stuff as root
   2267     # by default.
   2268     for ac_prog in ginstall scoinst install; do
   2269       for ac_exec_ext in '' $ac_executable_extensions; do
   2270 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2271 	  if test $ac_prog = install &&
   2272 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2273 	    # AIX install.  It has an incompatible calling convention.
   2274 	    :
   2275 	  elif test $ac_prog = install &&
   2276 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2277 	    # program-specific install script used by HP pwplus--don't use.
   2278 	    :
   2279 	  else
   2280 	    rm -rf conftest.one conftest.two conftest.dir
   2281 	    echo one > conftest.one
   2282 	    echo two > conftest.two
   2283 	    mkdir conftest.dir
   2284 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2285 	      test -s conftest.one && test -s conftest.two &&
   2286 	      test -s conftest.dir/conftest.one &&
   2287 	      test -s conftest.dir/conftest.two
   2288 	    then
   2289 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2290 	      break 3
   2291 	    fi
   2292 	  fi
   2293 	fi
   2294       done
   2295     done
   2296     ;;
   2297 esac
   2298 
   2299   done
   2300 IFS=$as_save_IFS
   2301 
   2302 rm -rf conftest.one conftest.two conftest.dir
   2303 
   2304 fi
   2305   if test "${ac_cv_path_install+set}" = set; then
   2306     INSTALL=$ac_cv_path_install
   2307   else
   2308     # As a last resort, use the slow shell script.  Don't cache a
   2309     # value for INSTALL within a source directory, because that will
   2310     # break other packages using the cache if that directory is
   2311     # removed, or if the value is a relative name.
   2312     INSTALL=$ac_install_sh
   2313   fi
   2314 fi
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2316 $as_echo "$INSTALL" >&6; }
   2317 
   2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2319 # It thinks the first close brace ends the variable substitution.
   2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2321 
   2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2323 
   2324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2325 
   2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2327 $as_echo_n "checking whether build environment is sane... " >&6; }
   2328 # Reject unsafe characters in $srcdir or the absolute working directory
   2329 # name.  Accept space and tab only in the latter.
   2330 am_lf='
   2331 '
   2332 case `pwd` in
   2333   *[\\\"\#\$\&\'\`$am_lf]*)
   2334     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2335 esac
   2336 case $srcdir in
   2337   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2338     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2339 esac
   2340 
   2341 # Do 'set' in a subshell so we don't clobber the current shell's
   2342 # arguments.  Must try -L first in case configure is actually a
   2343 # symlink; some systems play weird games with the mod time of symlinks
   2344 # (eg FreeBSD returns the mod time of the symlink's containing
   2345 # directory).
   2346 if (
   2347    am_has_slept=no
   2348    for am_try in 1 2; do
   2349      echo "timestamp, slept: $am_has_slept" > conftest.file
   2350      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2351      if test "$*" = "X"; then
   2352 	# -L didn't work.
   2353 	set X `ls -t "$srcdir/configure" conftest.file`
   2354      fi
   2355      if test "$*" != "X $srcdir/configure conftest.file" \
   2356 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2357 
   2358 	# If neither matched, then we have a broken ls.  This can happen
   2359 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2360 	# broken ls alias from the environment.  This has actually
   2361 	# happened.  Such a system could not be considered "sane".
   2362 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2363   alias in your environment" "$LINENO" 5
   2364      fi
   2365      if test "$2" = conftest.file || test $am_try -eq 2; then
   2366        break
   2367      fi
   2368      # Just in case.
   2369      sleep 1
   2370      am_has_slept=yes
   2371    done
   2372    test "$2" = conftest.file
   2373    )
   2374 then
   2375    # Ok.
   2376    :
   2377 else
   2378    as_fn_error $? "newly created file is older than distributed files!
   2379 Check your system clock" "$LINENO" 5
   2380 fi
   2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2382 $as_echo "yes" >&6; }
   2383 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2384 # generated files are strictly newer.
   2385 am_sleep_pid=
   2386 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2387   ( sleep 1 ) &
   2388   am_sleep_pid=$!
   2389 fi
   2390 
   2391 rm -f conftest.file
   2392 
   2393 test "$program_prefix" != NONE &&
   2394   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2395 # Use a double $ so make ignores it.
   2396 test "$program_suffix" != NONE &&
   2397   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2398 # Double any \ or $.
   2399 # By default was `s,x,x', remove it if useless.
   2400 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2401 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2402 
   2403 # expand $ac_aux_dir to an absolute path
   2404 am_aux_dir=`cd $ac_aux_dir && pwd`
   2405 
   2406 if test x"${MISSING+set}" != xset; then
   2407   case $am_aux_dir in
   2408   *\ * | *\	*)
   2409     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2410   *)
   2411     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2412   esac
   2413 fi
   2414 # Use eval to expand $SHELL
   2415 if eval "$MISSING --is-lightweight"; then
   2416   am_missing_run="$MISSING "
   2417 else
   2418   am_missing_run=
   2419   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2420 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2421 fi
   2422 
   2423 if test x"${install_sh}" != xset; then
   2424   case $am_aux_dir in
   2425   *\ * | *\	*)
   2426     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2427   *)
   2428     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2429   esac
   2430 fi
   2431 
   2432 # Installed binaries are usually stripped using 'strip' when the user
   2433 # run "make install-strip".  However 'strip' might not be the right
   2434 # tool to use in cross-compilation environments, therefore Automake
   2435 # will honor the 'STRIP' environment variable to overrule this program.
   2436 if test "$cross_compiling" != no; then
   2437   if test -n "$ac_tool_prefix"; then
   2438   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2439 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2441 $as_echo_n "checking for $ac_word... " >&6; }
   2442 if ${ac_cv_prog_STRIP+:} false; then :
   2443   $as_echo_n "(cached) " >&6
   2444 else
   2445   if test -n "$STRIP"; then
   2446   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2447 else
   2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2449 for as_dir in $PATH
   2450 do
   2451   IFS=$as_save_IFS
   2452   test -z "$as_dir" && as_dir=.
   2453     for ac_exec_ext in '' $ac_executable_extensions; do
   2454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2455     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2457     break 2
   2458   fi
   2459 done
   2460   done
   2461 IFS=$as_save_IFS
   2462 
   2463 fi
   2464 fi
   2465 STRIP=$ac_cv_prog_STRIP
   2466 if test -n "$STRIP"; then
   2467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2468 $as_echo "$STRIP" >&6; }
   2469 else
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2471 $as_echo "no" >&6; }
   2472 fi
   2473 
   2474 
   2475 fi
   2476 if test -z "$ac_cv_prog_STRIP"; then
   2477   ac_ct_STRIP=$STRIP
   2478   # Extract the first word of "strip", so it can be a program name with args.
   2479 set dummy strip; ac_word=$2
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2481 $as_echo_n "checking for $ac_word... " >&6; }
   2482 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2483   $as_echo_n "(cached) " >&6
   2484 else
   2485   if test -n "$ac_ct_STRIP"; then
   2486   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2487 else
   2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2489 for as_dir in $PATH
   2490 do
   2491   IFS=$as_save_IFS
   2492   test -z "$as_dir" && as_dir=.
   2493     for ac_exec_ext in '' $ac_executable_extensions; do
   2494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2495     ac_cv_prog_ac_ct_STRIP="strip"
   2496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2497     break 2
   2498   fi
   2499 done
   2500   done
   2501 IFS=$as_save_IFS
   2502 
   2503 fi
   2504 fi
   2505 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2506 if test -n "$ac_ct_STRIP"; then
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2508 $as_echo "$ac_ct_STRIP" >&6; }
   2509 else
   2510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2511 $as_echo "no" >&6; }
   2512 fi
   2513 
   2514   if test "x$ac_ct_STRIP" = x; then
   2515     STRIP=":"
   2516   else
   2517     case $cross_compiling:$ac_tool_warned in
   2518 yes:)
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2521 ac_tool_warned=yes ;;
   2522 esac
   2523     STRIP=$ac_ct_STRIP
   2524   fi
   2525 else
   2526   STRIP="$ac_cv_prog_STRIP"
   2527 fi
   2528 
   2529 fi
   2530 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2531 
   2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2533 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2534 if test -z "$MKDIR_P"; then
   2535   if ${ac_cv_path_mkdir+:} false; then :
   2536   $as_echo_n "(cached) " >&6
   2537 else
   2538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2539 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2540 do
   2541   IFS=$as_save_IFS
   2542   test -z "$as_dir" && as_dir=.
   2543     for ac_prog in mkdir gmkdir; do
   2544 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2545 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2546 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2547 	     'mkdir (GNU coreutils) '* | \
   2548 	     'mkdir (coreutils) '* | \
   2549 	     'mkdir (fileutils) '4.1*)
   2550 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2551 	       break 3;;
   2552 	   esac
   2553 	 done
   2554        done
   2555   done
   2556 IFS=$as_save_IFS
   2557 
   2558 fi
   2559 
   2560   test -d ./--version && rmdir ./--version
   2561   if test "${ac_cv_path_mkdir+set}" = set; then
   2562     MKDIR_P="$ac_cv_path_mkdir -p"
   2563   else
   2564     # As a last resort, use the slow shell script.  Don't cache a
   2565     # value for MKDIR_P within a source directory, because that will
   2566     # break other packages using the cache if that directory is
   2567     # removed, or if the value is a relative name.
   2568     MKDIR_P="$ac_install_sh -d"
   2569   fi
   2570 fi
   2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2572 $as_echo "$MKDIR_P" >&6; }
   2573 
   2574 for ac_prog in gawk mawk nawk awk
   2575 do
   2576   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2577 set dummy $ac_prog; ac_word=$2
   2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2579 $as_echo_n "checking for $ac_word... " >&6; }
   2580 if ${ac_cv_prog_AWK+:} false; then :
   2581   $as_echo_n "(cached) " >&6
   2582 else
   2583   if test -n "$AWK"; then
   2584   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2585 else
   2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2587 for as_dir in $PATH
   2588 do
   2589   IFS=$as_save_IFS
   2590   test -z "$as_dir" && as_dir=.
   2591     for ac_exec_ext in '' $ac_executable_extensions; do
   2592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2593     ac_cv_prog_AWK="$ac_prog"
   2594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2595     break 2
   2596   fi
   2597 done
   2598   done
   2599 IFS=$as_save_IFS
   2600 
   2601 fi
   2602 fi
   2603 AWK=$ac_cv_prog_AWK
   2604 if test -n "$AWK"; then
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2606 $as_echo "$AWK" >&6; }
   2607 else
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2609 $as_echo "no" >&6; }
   2610 fi
   2611 
   2612 
   2613   test -n "$AWK" && break
   2614 done
   2615 
   2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2617 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2618 set x ${MAKE-make}
   2619 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2620 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2621   $as_echo_n "(cached) " >&6
   2622 else
   2623   cat >conftest.make <<\_ACEOF
   2624 SHELL = /bin/sh
   2625 all:
   2626 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2627 _ACEOF
   2628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2630   *@@@%%%=?*=@@@%%%*)
   2631     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2632   *)
   2633     eval ac_cv_prog_make_${ac_make}_set=no;;
   2634 esac
   2635 rm -f conftest.make
   2636 fi
   2637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2639 $as_echo "yes" >&6; }
   2640   SET_MAKE=
   2641 else
   2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2643 $as_echo "no" >&6; }
   2644   SET_MAKE="MAKE=${MAKE-make}"
   2645 fi
   2646 
   2647 rm -rf .tst 2>/dev/null
   2648 mkdir .tst 2>/dev/null
   2649 if test -d .tst; then
   2650   am__leading_dot=.
   2651 else
   2652   am__leading_dot=_
   2653 fi
   2654 rmdir .tst 2>/dev/null
   2655 
   2656 # Check whether --enable-silent-rules was given.
   2657 if test "${enable_silent_rules+set}" = set; then :
   2658   enableval=$enable_silent_rules;
   2659 fi
   2660 
   2661 case $enable_silent_rules in # (((
   2662   yes) AM_DEFAULT_VERBOSITY=0;;
   2663    no) AM_DEFAULT_VERBOSITY=1;;
   2664     *) AM_DEFAULT_VERBOSITY=1;;
   2665 esac
   2666 am_make=${MAKE-make}
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2668 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2669 if ${am_cv_make_support_nested_variables+:} false; then :
   2670   $as_echo_n "(cached) " >&6
   2671 else
   2672   if $as_echo 'TRUE=$(BAR$(V))
   2673 BAR0=false
   2674 BAR1=true
   2675 V=1
   2676 am__doit:
   2677 	@$(TRUE)
   2678 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2679   am_cv_make_support_nested_variables=yes
   2680 else
   2681   am_cv_make_support_nested_variables=no
   2682 fi
   2683 fi
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2685 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2686 if test $am_cv_make_support_nested_variables = yes; then
   2687     AM_V='$(V)'
   2688   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2689 else
   2690   AM_V=$AM_DEFAULT_VERBOSITY
   2691   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2692 fi
   2693 AM_BACKSLASH='\'
   2694 
   2695 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2696   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2697   # is not polluted with repeated "-I."
   2698   am__isrc=' -I$(srcdir)'
   2699   # test to see if srcdir already configured
   2700   if test -f $srcdir/config.status; then
   2701     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2702   fi
   2703 fi
   2704 
   2705 # test whether we have cygpath
   2706 if test -z "$CYGPATH_W"; then
   2707   if (cygpath --version) >/dev/null 2>/dev/null; then
   2708     CYGPATH_W='cygpath -w'
   2709   else
   2710     CYGPATH_W=echo
   2711   fi
   2712 fi
   2713 
   2714 
   2715 # Define the identity of the package.
   2716  PACKAGE='imake'
   2717  VERSION='1.0.6'
   2718 
   2719 
   2720 cat >>confdefs.h <<_ACEOF
   2721 #define PACKAGE "$PACKAGE"
   2722 _ACEOF
   2723 
   2724 
   2725 cat >>confdefs.h <<_ACEOF
   2726 #define VERSION "$VERSION"
   2727 _ACEOF
   2728 
   2729 # Some tools Automake needs.
   2730 
   2731 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2732 
   2733 
   2734 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2735 
   2736 
   2737 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2738 
   2739 
   2740 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2741 
   2742 
   2743 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2744 
   2745 # For better backward compatibility.  To be removed once Automake 1.9.x
   2746 # dies out for good.  For more background, see:
   2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2748 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2749 mkdir_p='$(MKDIR_P)'
   2750 
   2751 # We need awk for the "check" target.  The system "awk" is bad on
   2752 # some platforms.
   2753 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2754 # in the wild :-(  We should find a proper way to deprecate it ...
   2755 AMTAR='$${TAR-tar}'
   2756 
   2757 
   2758 # We'll loop over all known methods to create a tar archive until one works.
   2759 _am_tools='gnutar  pax cpio none'
   2760 
   2761 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2762 
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 # POSIX will say in a future version that running "rm -f" with no argument
   2769 # is OK; and we want to be able to make that assumption in our Makefile
   2770 # recipes.  So use an aggressive probe to check that the usage we want is
   2771 # actually supported "in the wild" to an acceptable degree.
   2772 # See automake bug#10828.
   2773 # To make any issue more visible, cause the running configure to be aborted
   2774 # by default if the 'rm' program in use doesn't match our expectations; the
   2775 # user can still override this though.
   2776 if rm -f && rm -fr && rm -rf; then : OK; else
   2777   cat >&2 <<'END'
   2778 Oops!
   2779 
   2780 Your 'rm' program seems unable to run without file operands specified
   2781 on the command line, even when the '-f' option is present.  This is contrary
   2782 to the behaviour of most rm programs out there, and not conforming with
   2783 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2784 
   2785 Please tell bug-automake@gnu.org about your system, including the value
   2786 of your $PATH and any error possibly output before this message.  This
   2787 can help us improve future automake versions.
   2788 
   2789 END
   2790   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2791     echo 'Configuration will proceed anyway, since you have set the' >&2
   2792     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2793     echo >&2
   2794   else
   2795     cat >&2 <<'END'
   2796 Aborting the configuration process, to ensure you take notice of the issue.
   2797 
   2798 You can download and install GNU coreutils to get an 'rm' implementation
   2799 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2800 
   2801 If you want to complete the configuration process using your problematic
   2802 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2803 to "yes", and re-run configure.
   2804 
   2805 END
   2806     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2807   fi
   2808 fi
   2809 
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2811 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2812     # Check whether --enable-maintainer-mode was given.
   2813 if test "${enable_maintainer_mode+set}" = set; then :
   2814   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2815 else
   2816   USE_MAINTAINER_MODE=no
   2817 fi
   2818 
   2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2820 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2821    if test $USE_MAINTAINER_MODE = yes; then
   2822   MAINTAINER_MODE_TRUE=
   2823   MAINTAINER_MODE_FALSE='#'
   2824 else
   2825   MAINTAINER_MODE_TRUE='#'
   2826   MAINTAINER_MODE_FALSE=
   2827 fi
   2828 
   2829   MAINT=$MAINTAINER_MODE_TRUE
   2830 
   2831 
   2832 
   2833 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 DEPDIR="${am__leading_dot}deps"
   2846 
   2847 ac_config_commands="$ac_config_commands depfiles"
   2848 
   2849 
   2850 am_make=${MAKE-make}
   2851 cat > confinc << 'END'
   2852 am__doit:
   2853 	@echo this is the am__doit target
   2854 .PHONY: am__doit
   2855 END
   2856 # If we don't find an include directive, just comment out the code.
   2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2858 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2859 am__include="#"
   2860 am__quote=
   2861 _am_result=none
   2862 # First try GNU make style include.
   2863 echo "include confinc" > confmf
   2864 # Ignore all kinds of additional output from 'make'.
   2865 case `$am_make -s -f confmf 2> /dev/null` in #(
   2866 *the\ am__doit\ target*)
   2867   am__include=include
   2868   am__quote=
   2869   _am_result=GNU
   2870   ;;
   2871 esac
   2872 # Now try BSD make style include.
   2873 if test "$am__include" = "#"; then
   2874    echo '.include "confinc"' > confmf
   2875    case `$am_make -s -f confmf 2> /dev/null` in #(
   2876    *the\ am__doit\ target*)
   2877      am__include=.include
   2878      am__quote="\""
   2879      _am_result=BSD
   2880      ;;
   2881    esac
   2882 fi
   2883 
   2884 
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2886 $as_echo "$_am_result" >&6; }
   2887 rm -f confinc confmf
   2888 
   2889 # Check whether --enable-dependency-tracking was given.
   2890 if test "${enable_dependency_tracking+set}" = set; then :
   2891   enableval=$enable_dependency_tracking;
   2892 fi
   2893 
   2894 if test "x$enable_dependency_tracking" != xno; then
   2895   am_depcomp="$ac_aux_dir/depcomp"
   2896   AMDEPBACKSLASH='\'
   2897   am__nodep='_no'
   2898 fi
   2899  if test "x$enable_dependency_tracking" != xno; then
   2900   AMDEP_TRUE=
   2901   AMDEP_FALSE='#'
   2902 else
   2903   AMDEP_TRUE='#'
   2904   AMDEP_FALSE=
   2905 fi
   2906 
   2907 
   2908 ac_ext=c
   2909 ac_cpp='$CPP $CPPFLAGS'
   2910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2913 if test -n "$ac_tool_prefix"; then
   2914   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2915 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2917 $as_echo_n "checking for $ac_word... " >&6; }
   2918 if ${ac_cv_prog_CC+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   if test -n "$CC"; then
   2922   ac_cv_prog_CC="$CC" # Let the user override the test.
   2923 else
   2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2925 for as_dir in $PATH
   2926 do
   2927   IFS=$as_save_IFS
   2928   test -z "$as_dir" && as_dir=.
   2929     for ac_exec_ext in '' $ac_executable_extensions; do
   2930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2931     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2933     break 2
   2934   fi
   2935 done
   2936   done
   2937 IFS=$as_save_IFS
   2938 
   2939 fi
   2940 fi
   2941 CC=$ac_cv_prog_CC
   2942 if test -n "$CC"; then
   2943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2944 $as_echo "$CC" >&6; }
   2945 else
   2946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2947 $as_echo "no" >&6; }
   2948 fi
   2949 
   2950 
   2951 fi
   2952 if test -z "$ac_cv_prog_CC"; then
   2953   ac_ct_CC=$CC
   2954   # Extract the first word of "gcc", so it can be a program name with args.
   2955 set dummy gcc; ac_word=$2
   2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2957 $as_echo_n "checking for $ac_word... " >&6; }
   2958 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2959   $as_echo_n "(cached) " >&6
   2960 else
   2961   if test -n "$ac_ct_CC"; then
   2962   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2963 else
   2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2965 for as_dir in $PATH
   2966 do
   2967   IFS=$as_save_IFS
   2968   test -z "$as_dir" && as_dir=.
   2969     for ac_exec_ext in '' $ac_executable_extensions; do
   2970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2971     ac_cv_prog_ac_ct_CC="gcc"
   2972     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2973     break 2
   2974   fi
   2975 done
   2976   done
   2977 IFS=$as_save_IFS
   2978 
   2979 fi
   2980 fi
   2981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2982 if test -n "$ac_ct_CC"; then
   2983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2984 $as_echo "$ac_ct_CC" >&6; }
   2985 else
   2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2987 $as_echo "no" >&6; }
   2988 fi
   2989 
   2990   if test "x$ac_ct_CC" = x; then
   2991     CC=""
   2992   else
   2993     case $cross_compiling:$ac_tool_warned in
   2994 yes:)
   2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2997 ac_tool_warned=yes ;;
   2998 esac
   2999     CC=$ac_ct_CC
   3000   fi
   3001 else
   3002   CC="$ac_cv_prog_CC"
   3003 fi
   3004 
   3005 if test -z "$CC"; then
   3006           if test -n "$ac_tool_prefix"; then
   3007     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3008 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3010 $as_echo_n "checking for $ac_word... " >&6; }
   3011 if ${ac_cv_prog_CC+:} false; then :
   3012   $as_echo_n "(cached) " >&6
   3013 else
   3014   if test -n "$CC"; then
   3015   ac_cv_prog_CC="$CC" # Let the user override the test.
   3016 else
   3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   test -z "$as_dir" && as_dir=.
   3022     for ac_exec_ext in '' $ac_executable_extensions; do
   3023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3024     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3026     break 2
   3027   fi
   3028 done
   3029   done
   3030 IFS=$as_save_IFS
   3031 
   3032 fi
   3033 fi
   3034 CC=$ac_cv_prog_CC
   3035 if test -n "$CC"; then
   3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3037 $as_echo "$CC" >&6; }
   3038 else
   3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3040 $as_echo "no" >&6; }
   3041 fi
   3042 
   3043 
   3044   fi
   3045 fi
   3046 if test -z "$CC"; then
   3047   # Extract the first word of "cc", so it can be a program name with args.
   3048 set dummy cc; ac_word=$2
   3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3050 $as_echo_n "checking for $ac_word... " >&6; }
   3051 if ${ac_cv_prog_CC+:} false; then :
   3052   $as_echo_n "(cached) " >&6
   3053 else
   3054   if test -n "$CC"; then
   3055   ac_cv_prog_CC="$CC" # Let the user override the test.
   3056 else
   3057   ac_prog_rejected=no
   3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3059 for as_dir in $PATH
   3060 do
   3061   IFS=$as_save_IFS
   3062   test -z "$as_dir" && as_dir=.
   3063     for ac_exec_ext in '' $ac_executable_extensions; do
   3064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3065     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3066        ac_prog_rejected=yes
   3067        continue
   3068      fi
   3069     ac_cv_prog_CC="cc"
   3070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3071     break 2
   3072   fi
   3073 done
   3074   done
   3075 IFS=$as_save_IFS
   3076 
   3077 if test $ac_prog_rejected = yes; then
   3078   # We found a bogon in the path, so make sure we never use it.
   3079   set dummy $ac_cv_prog_CC
   3080   shift
   3081   if test $# != 0; then
   3082     # We chose a different compiler from the bogus one.
   3083     # However, it has the same basename, so the bogon will be chosen
   3084     # first if we set CC to just the basename; use the full file name.
   3085     shift
   3086     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3087   fi
   3088 fi
   3089 fi
   3090 fi
   3091 CC=$ac_cv_prog_CC
   3092 if test -n "$CC"; then
   3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3094 $as_echo "$CC" >&6; }
   3095 else
   3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3097 $as_echo "no" >&6; }
   3098 fi
   3099 
   3100 
   3101 fi
   3102 if test -z "$CC"; then
   3103   if test -n "$ac_tool_prefix"; then
   3104   for ac_prog in cl.exe
   3105   do
   3106     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3109 $as_echo_n "checking for $ac_word... " >&6; }
   3110 if ${ac_cv_prog_CC+:} false; then :
   3111   $as_echo_n "(cached) " >&6
   3112 else
   3113   if test -n "$CC"; then
   3114   ac_cv_prog_CC="$CC" # Let the user override the test.
   3115 else
   3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3117 for as_dir in $PATH
   3118 do
   3119   IFS=$as_save_IFS
   3120   test -z "$as_dir" && as_dir=.
   3121     for ac_exec_ext in '' $ac_executable_extensions; do
   3122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3123     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3125     break 2
   3126   fi
   3127 done
   3128   done
   3129 IFS=$as_save_IFS
   3130 
   3131 fi
   3132 fi
   3133 CC=$ac_cv_prog_CC
   3134 if test -n "$CC"; then
   3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3136 $as_echo "$CC" >&6; }
   3137 else
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3139 $as_echo "no" >&6; }
   3140 fi
   3141 
   3142 
   3143     test -n "$CC" && break
   3144   done
   3145 fi
   3146 if test -z "$CC"; then
   3147   ac_ct_CC=$CC
   3148   for ac_prog in cl.exe
   3149 do
   3150   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3151 set dummy $ac_prog; ac_word=$2
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3153 $as_echo_n "checking for $ac_word... " >&6; }
   3154 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3155   $as_echo_n "(cached) " >&6
   3156 else
   3157   if test -n "$ac_ct_CC"; then
   3158   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3159 else
   3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3161 for as_dir in $PATH
   3162 do
   3163   IFS=$as_save_IFS
   3164   test -z "$as_dir" && as_dir=.
   3165     for ac_exec_ext in '' $ac_executable_extensions; do
   3166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3167     ac_cv_prog_ac_ct_CC="$ac_prog"
   3168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3169     break 2
   3170   fi
   3171 done
   3172   done
   3173 IFS=$as_save_IFS
   3174 
   3175 fi
   3176 fi
   3177 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3178 if test -n "$ac_ct_CC"; then
   3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3180 $as_echo "$ac_ct_CC" >&6; }
   3181 else
   3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3183 $as_echo "no" >&6; }
   3184 fi
   3185 
   3186 
   3187   test -n "$ac_ct_CC" && break
   3188 done
   3189 
   3190   if test "x$ac_ct_CC" = x; then
   3191     CC=""
   3192   else
   3193     case $cross_compiling:$ac_tool_warned in
   3194 yes:)
   3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3197 ac_tool_warned=yes ;;
   3198 esac
   3199     CC=$ac_ct_CC
   3200   fi
   3201 fi
   3202 
   3203 fi
   3204 
   3205 
   3206 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3208 as_fn_error $? "no acceptable C compiler found in \$PATH
   3209 See \`config.log' for more details" "$LINENO" 5; }
   3210 
   3211 # Provide some information about the compiler.
   3212 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3213 set X $ac_compile
   3214 ac_compiler=$2
   3215 for ac_option in --version -v -V -qversion; do
   3216   { { ac_try="$ac_compiler $ac_option >&5"
   3217 case "(($ac_try" in
   3218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3219   *) ac_try_echo=$ac_try;;
   3220 esac
   3221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3222 $as_echo "$ac_try_echo"; } >&5
   3223   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3224   ac_status=$?
   3225   if test -s conftest.err; then
   3226     sed '10a\
   3227 ... rest of stderr output deleted ...
   3228          10q' conftest.err >conftest.er1
   3229     cat conftest.er1 >&5
   3230   fi
   3231   rm -f conftest.er1 conftest.err
   3232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3233   test $ac_status = 0; }
   3234 done
   3235 
   3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3237 /* end confdefs.h.  */
   3238 
   3239 int
   3240 main ()
   3241 {
   3242 
   3243   ;
   3244   return 0;
   3245 }
   3246 _ACEOF
   3247 ac_clean_files_save=$ac_clean_files
   3248 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3249 # Try to create an executable without -o first, disregard a.out.
   3250 # It will help us diagnose broken compilers, and finding out an intuition
   3251 # of exeext.
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3253 $as_echo_n "checking whether the C compiler works... " >&6; }
   3254 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3255 
   3256 # The possible output files:
   3257 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3258 
   3259 ac_rmfiles=
   3260 for ac_file in $ac_files
   3261 do
   3262   case $ac_file in
   3263     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3264     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3265   esac
   3266 done
   3267 rm -f $ac_rmfiles
   3268 
   3269 if { { ac_try="$ac_link_default"
   3270 case "(($ac_try" in
   3271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3272   *) ac_try_echo=$ac_try;;
   3273 esac
   3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3275 $as_echo "$ac_try_echo"; } >&5
   3276   (eval "$ac_link_default") 2>&5
   3277   ac_status=$?
   3278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3279   test $ac_status = 0; }; then :
   3280   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3281 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3282 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3283 # so that the user can short-circuit this test for compilers unknown to
   3284 # Autoconf.
   3285 for ac_file in $ac_files ''
   3286 do
   3287   test -f "$ac_file" || continue
   3288   case $ac_file in
   3289     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3290 	;;
   3291     [ab].out )
   3292 	# We found the default executable, but exeext='' is most
   3293 	# certainly right.
   3294 	break;;
   3295     *.* )
   3296 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3297 	then :; else
   3298 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3299 	fi
   3300 	# We set ac_cv_exeext here because the later test for it is not
   3301 	# safe: cross compilers may not add the suffix if given an `-o'
   3302 	# argument, so we may need to know it at that point already.
   3303 	# Even if this section looks crufty: it has the advantage of
   3304 	# actually working.
   3305 	break;;
   3306     * )
   3307 	break;;
   3308   esac
   3309 done
   3310 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3311 
   3312 else
   3313   ac_file=''
   3314 fi
   3315 if test -z "$ac_file"; then :
   3316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3317 $as_echo "no" >&6; }
   3318 $as_echo "$as_me: failed program was:" >&5
   3319 sed 's/^/| /' conftest.$ac_ext >&5
   3320 
   3321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3323 as_fn_error 77 "C compiler cannot create executables
   3324 See \`config.log' for more details" "$LINENO" 5; }
   3325 else
   3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3327 $as_echo "yes" >&6; }
   3328 fi
   3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3330 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3332 $as_echo "$ac_file" >&6; }
   3333 ac_exeext=$ac_cv_exeext
   3334 
   3335 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3336 ac_clean_files=$ac_clean_files_save
   3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3338 $as_echo_n "checking for suffix of executables... " >&6; }
   3339 if { { ac_try="$ac_link"
   3340 case "(($ac_try" in
   3341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3342   *) ac_try_echo=$ac_try;;
   3343 esac
   3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3345 $as_echo "$ac_try_echo"; } >&5
   3346   (eval "$ac_link") 2>&5
   3347   ac_status=$?
   3348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3349   test $ac_status = 0; }; then :
   3350   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3351 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3352 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3353 # `rm'.
   3354 for ac_file in conftest.exe conftest conftest.*; do
   3355   test -f "$ac_file" || continue
   3356   case $ac_file in
   3357     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3358     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3359 	  break;;
   3360     * ) break;;
   3361   esac
   3362 done
   3363 else
   3364   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3366 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3367 See \`config.log' for more details" "$LINENO" 5; }
   3368 fi
   3369 rm -f conftest conftest$ac_cv_exeext
   3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3371 $as_echo "$ac_cv_exeext" >&6; }
   3372 
   3373 rm -f conftest.$ac_ext
   3374 EXEEXT=$ac_cv_exeext
   3375 ac_exeext=$EXEEXT
   3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 #include <stdio.h>
   3379 int
   3380 main ()
   3381 {
   3382 FILE *f = fopen ("conftest.out", "w");
   3383  return ferror (f) || fclose (f) != 0;
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 ac_clean_files="$ac_clean_files conftest.out"
   3390 # Check that the compiler produces executables we can run.  If not, either
   3391 # the compiler is broken, or we cross compile.
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3393 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3394 if test "$cross_compiling" != yes; then
   3395   { { ac_try="$ac_link"
   3396 case "(($ac_try" in
   3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3398   *) ac_try_echo=$ac_try;;
   3399 esac
   3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3401 $as_echo "$ac_try_echo"; } >&5
   3402   (eval "$ac_link") 2>&5
   3403   ac_status=$?
   3404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3405   test $ac_status = 0; }
   3406   if { ac_try='./conftest$ac_cv_exeext'
   3407   { { case "(($ac_try" in
   3408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3409   *) ac_try_echo=$ac_try;;
   3410 esac
   3411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3412 $as_echo "$ac_try_echo"; } >&5
   3413   (eval "$ac_try") 2>&5
   3414   ac_status=$?
   3415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3416   test $ac_status = 0; }; }; then
   3417     cross_compiling=no
   3418   else
   3419     if test "$cross_compiling" = maybe; then
   3420 	cross_compiling=yes
   3421     else
   3422 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3424 as_fn_error $? "cannot run C compiled programs.
   3425 If you meant to cross compile, use \`--host'.
   3426 See \`config.log' for more details" "$LINENO" 5; }
   3427     fi
   3428   fi
   3429 fi
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3431 $as_echo "$cross_compiling" >&6; }
   3432 
   3433 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3434 ac_clean_files=$ac_clean_files_save
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3436 $as_echo_n "checking for suffix of object files... " >&6; }
   3437 if ${ac_cv_objext+:} false; then :
   3438   $as_echo_n "(cached) " >&6
   3439 else
   3440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3441 /* end confdefs.h.  */
   3442 
   3443 int
   3444 main ()
   3445 {
   3446 
   3447   ;
   3448   return 0;
   3449 }
   3450 _ACEOF
   3451 rm -f conftest.o conftest.obj
   3452 if { { ac_try="$ac_compile"
   3453 case "(($ac_try" in
   3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3455   *) ac_try_echo=$ac_try;;
   3456 esac
   3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3458 $as_echo "$ac_try_echo"; } >&5
   3459   (eval "$ac_compile") 2>&5
   3460   ac_status=$?
   3461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3462   test $ac_status = 0; }; then :
   3463   for ac_file in conftest.o conftest.obj conftest.*; do
   3464   test -f "$ac_file" || continue;
   3465   case $ac_file in
   3466     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3467     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3468        break;;
   3469   esac
   3470 done
   3471 else
   3472   $as_echo "$as_me: failed program was:" >&5
   3473 sed 's/^/| /' conftest.$ac_ext >&5
   3474 
   3475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3477 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3478 See \`config.log' for more details" "$LINENO" 5; }
   3479 fi
   3480 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3481 fi
   3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3483 $as_echo "$ac_cv_objext" >&6; }
   3484 OBJEXT=$ac_cv_objext
   3485 ac_objext=$OBJEXT
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3487 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3488 if ${ac_cv_c_compiler_gnu+:} false; then :
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3492 /* end confdefs.h.  */
   3493 
   3494 int
   3495 main ()
   3496 {
   3497 #ifndef __GNUC__
   3498        choke me
   3499 #endif
   3500 
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 if ac_fn_c_try_compile "$LINENO"; then :
   3506   ac_compiler_gnu=yes
   3507 else
   3508   ac_compiler_gnu=no
   3509 fi
   3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3511 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3512 
   3513 fi
   3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3515 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3516 if test $ac_compiler_gnu = yes; then
   3517   GCC=yes
   3518 else
   3519   GCC=
   3520 fi
   3521 ac_test_CFLAGS=${CFLAGS+set}
   3522 ac_save_CFLAGS=$CFLAGS
   3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3524 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3525 if ${ac_cv_prog_cc_g+:} false; then :
   3526   $as_echo_n "(cached) " >&6
   3527 else
   3528   ac_save_c_werror_flag=$ac_c_werror_flag
   3529    ac_c_werror_flag=yes
   3530    ac_cv_prog_cc_g=no
   3531    CFLAGS="-g"
   3532    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3533 /* end confdefs.h.  */
   3534 
   3535 int
   3536 main ()
   3537 {
   3538 
   3539   ;
   3540   return 0;
   3541 }
   3542 _ACEOF
   3543 if ac_fn_c_try_compile "$LINENO"; then :
   3544   ac_cv_prog_cc_g=yes
   3545 else
   3546   CFLAGS=""
   3547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3548 /* end confdefs.h.  */
   3549 
   3550 int
   3551 main ()
   3552 {
   3553 
   3554   ;
   3555   return 0;
   3556 }
   3557 _ACEOF
   3558 if ac_fn_c_try_compile "$LINENO"; then :
   3559 
   3560 else
   3561   ac_c_werror_flag=$ac_save_c_werror_flag
   3562 	 CFLAGS="-g"
   3563 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575   ac_cv_prog_cc_g=yes
   3576 fi
   3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3578 fi
   3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3580 fi
   3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3582    ac_c_werror_flag=$ac_save_c_werror_flag
   3583 fi
   3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3585 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3586 if test "$ac_test_CFLAGS" = set; then
   3587   CFLAGS=$ac_save_CFLAGS
   3588 elif test $ac_cv_prog_cc_g = yes; then
   3589   if test "$GCC" = yes; then
   3590     CFLAGS="-g -O2"
   3591   else
   3592     CFLAGS="-g"
   3593   fi
   3594 else
   3595   if test "$GCC" = yes; then
   3596     CFLAGS="-O2"
   3597   else
   3598     CFLAGS=
   3599   fi
   3600 fi
   3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3602 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3603 if ${ac_cv_prog_cc_c89+:} false; then :
   3604   $as_echo_n "(cached) " >&6
   3605 else
   3606   ac_cv_prog_cc_c89=no
   3607 ac_save_CC=$CC
   3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3609 /* end confdefs.h.  */
   3610 #include <stdarg.h>
   3611 #include <stdio.h>
   3612 #include <sys/types.h>
   3613 #include <sys/stat.h>
   3614 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3615 struct buf { int x; };
   3616 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3617 static char *e (p, i)
   3618      char **p;
   3619      int i;
   3620 {
   3621   return p[i];
   3622 }
   3623 static char *f (char * (*g) (char **, int), char **p, ...)
   3624 {
   3625   char *s;
   3626   va_list v;
   3627   va_start (v,p);
   3628   s = g (p, va_arg (v,int));
   3629   va_end (v);
   3630   return s;
   3631 }
   3632 
   3633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3634    function prototypes and stuff, but not '\xHH' hex character constants.
   3635    These don't provoke an error unfortunately, instead are silently treated
   3636    as 'x'.  The following induces an error, until -std is added to get
   3637    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3638    array size at least.  It's necessary to write '\x00'==0 to get something
   3639    that's true only with -std.  */
   3640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3641 
   3642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3643    inside strings and character constants.  */
   3644 #define FOO(x) 'x'
   3645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3646 
   3647 int test (int i, double x);
   3648 struct s1 {int (*f) (int a);};
   3649 struct s2 {int (*f) (double a);};
   3650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3651 int argc;
   3652 char **argv;
   3653 int
   3654 main ()
   3655 {
   3656 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3657   ;
   3658   return 0;
   3659 }
   3660 _ACEOF
   3661 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3662 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3663 do
   3664   CC="$ac_save_CC $ac_arg"
   3665   if ac_fn_c_try_compile "$LINENO"; then :
   3666   ac_cv_prog_cc_c89=$ac_arg
   3667 fi
   3668 rm -f core conftest.err conftest.$ac_objext
   3669   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3670 done
   3671 rm -f conftest.$ac_ext
   3672 CC=$ac_save_CC
   3673 
   3674 fi
   3675 # AC_CACHE_VAL
   3676 case "x$ac_cv_prog_cc_c89" in
   3677   x)
   3678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3679 $as_echo "none needed" >&6; } ;;
   3680   xno)
   3681     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3682 $as_echo "unsupported" >&6; } ;;
   3683   *)
   3684     CC="$CC $ac_cv_prog_cc_c89"
   3685     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3686 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3687 esac
   3688 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3689 
   3690 fi
   3691 
   3692 ac_ext=c
   3693 ac_cpp='$CPP $CPPFLAGS'
   3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3697 
   3698 ac_ext=c
   3699 ac_cpp='$CPP $CPPFLAGS'
   3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3704 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3705 if ${am_cv_prog_cc_c_o+:} false; then :
   3706   $as_echo_n "(cached) " >&6
   3707 else
   3708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3709 /* end confdefs.h.  */
   3710 
   3711 int
   3712 main ()
   3713 {
   3714 
   3715   ;
   3716   return 0;
   3717 }
   3718 _ACEOF
   3719   # Make sure it works both with $CC and with simple cc.
   3720   # Following AC_PROG_CC_C_O, we do the test twice because some
   3721   # compilers refuse to overwrite an existing .o file with -o,
   3722   # though they will create one.
   3723   am_cv_prog_cc_c_o=yes
   3724   for am_i in 1 2; do
   3725     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3726    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3727    ac_status=$?
   3728    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3729    (exit $ac_status); } \
   3730          && test -f conftest2.$ac_objext; then
   3731       : OK
   3732     else
   3733       am_cv_prog_cc_c_o=no
   3734       break
   3735     fi
   3736   done
   3737   rm -f core conftest*
   3738   unset am_i
   3739 fi
   3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3741 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3742 if test "$am_cv_prog_cc_c_o" != yes; then
   3743    # Losing compiler, so override with the script.
   3744    # FIXME: It is wrong to rewrite CC.
   3745    # But if we don't then we get into trouble of one sort or another.
   3746    # A longer-term fix would be to have automake use am__CC in this case,
   3747    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3748    CC="$am_aux_dir/compile $CC"
   3749 fi
   3750 ac_ext=c
   3751 ac_cpp='$CPP $CPPFLAGS'
   3752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3755 
   3756 
   3757 depcc="$CC"   am_compiler_list=
   3758 
   3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3760 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3761 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3762   $as_echo_n "(cached) " >&6
   3763 else
   3764   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3765   # We make a subdir and do the tests there.  Otherwise we can end up
   3766   # making bogus files that we don't know about and never remove.  For
   3767   # instance it was reported that on HP-UX the gcc test will end up
   3768   # making a dummy file named 'D' -- because '-MD' means "put the output
   3769   # in D".
   3770   rm -rf conftest.dir
   3771   mkdir conftest.dir
   3772   # Copy depcomp to subdir because otherwise we won't find it if we're
   3773   # using a relative directory.
   3774   cp "$am_depcomp" conftest.dir
   3775   cd conftest.dir
   3776   # We will build objects and dependencies in a subdirectory because
   3777   # it helps to detect inapplicable dependency modes.  For instance
   3778   # both Tru64's cc and ICC support -MD to output dependencies as a
   3779   # side effect of compilation, but ICC will put the dependencies in
   3780   # the current directory while Tru64 will put them in the object
   3781   # directory.
   3782   mkdir sub
   3783 
   3784   am_cv_CC_dependencies_compiler_type=none
   3785   if test "$am_compiler_list" = ""; then
   3786      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3787   fi
   3788   am__universal=false
   3789   case " $depcc " in #(
   3790      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3791      esac
   3792 
   3793   for depmode in $am_compiler_list; do
   3794     # Setup a source with many dependencies, because some compilers
   3795     # like to wrap large dependency lists on column 80 (with \), and
   3796     # we should not choose a depcomp mode which is confused by this.
   3797     #
   3798     # We need to recreate these files for each test, as the compiler may
   3799     # overwrite some of them when testing with obscure command lines.
   3800     # This happens at least with the AIX C compiler.
   3801     : > sub/conftest.c
   3802     for i in 1 2 3 4 5 6; do
   3803       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3804       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3805       # Solaris 10 /bin/sh.
   3806       echo '/* dummy */' > sub/conftst$i.h
   3807     done
   3808     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3809 
   3810     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3811     # mode.  It turns out that the SunPro C++ compiler does not properly
   3812     # handle '-M -o', and we need to detect this.  Also, some Intel
   3813     # versions had trouble with output in subdirs.
   3814     am__obj=sub/conftest.${OBJEXT-o}
   3815     am__minus_obj="-o $am__obj"
   3816     case $depmode in
   3817     gcc)
   3818       # This depmode causes a compiler race in universal mode.
   3819       test "$am__universal" = false || continue
   3820       ;;
   3821     nosideeffect)
   3822       # After this tag, mechanisms are not by side-effect, so they'll
   3823       # only be used when explicitly requested.
   3824       if test "x$enable_dependency_tracking" = xyes; then
   3825 	continue
   3826       else
   3827 	break
   3828       fi
   3829       ;;
   3830     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3831       # This compiler won't grok '-c -o', but also, the minuso test has
   3832       # not run yet.  These depmodes are late enough in the game, and
   3833       # so weak that their functioning should not be impacted.
   3834       am__obj=conftest.${OBJEXT-o}
   3835       am__minus_obj=
   3836       ;;
   3837     none) break ;;
   3838     esac
   3839     if depmode=$depmode \
   3840        source=sub/conftest.c object=$am__obj \
   3841        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3842        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3843          >/dev/null 2>conftest.err &&
   3844        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3845        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3846        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3847        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3848       # icc doesn't choke on unknown options, it will just issue warnings
   3849       # or remarks (even with -Werror).  So we grep stderr for any message
   3850       # that says an option was ignored or not supported.
   3851       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3852       #   icc: Command line warning: ignoring option '-M'; no argument required
   3853       # The diagnosis changed in icc 8.0:
   3854       #   icc: Command line remark: option '-MP' not supported
   3855       if (grep 'ignoring option' conftest.err ||
   3856           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3857         am_cv_CC_dependencies_compiler_type=$depmode
   3858         break
   3859       fi
   3860     fi
   3861   done
   3862 
   3863   cd ..
   3864   rm -rf conftest.dir
   3865 else
   3866   am_cv_CC_dependencies_compiler_type=none
   3867 fi
   3868 
   3869 fi
   3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3871 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3872 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3873 
   3874  if
   3875   test "x$enable_dependency_tracking" != xno \
   3876   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3877   am__fastdepCC_TRUE=
   3878   am__fastdepCC_FALSE='#'
   3879 else
   3880   am__fastdepCC_TRUE='#'
   3881   am__fastdepCC_FALSE=
   3882 fi
   3883 
   3884 
   3885    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3886 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3887 if ${ac_cv_prog_cc_c99+:} false; then :
   3888   $as_echo_n "(cached) " >&6
   3889 else
   3890   ac_cv_prog_cc_c99=no
   3891 ac_save_CC=$CC
   3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3893 /* end confdefs.h.  */
   3894 #include <stdarg.h>
   3895 #include <stdbool.h>
   3896 #include <stdlib.h>
   3897 #include <wchar.h>
   3898 #include <stdio.h>
   3899 
   3900 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3901 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3902 #define showlist(...) puts (#__VA_ARGS__)
   3903 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3904 static void
   3905 test_varargs_macros (void)
   3906 {
   3907   int x = 1234;
   3908   int y = 5678;
   3909   debug ("Flag");
   3910   debug ("X = %d\n", x);
   3911   showlist (The first, second, and third items.);
   3912   report (x>y, "x is %d but y is %d", x, y);
   3913 }
   3914 
   3915 // Check long long types.
   3916 #define BIG64 18446744073709551615ull
   3917 #define BIG32 4294967295ul
   3918 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3919 #if !BIG_OK
   3920   your preprocessor is broken;
   3921 #endif
   3922 #if BIG_OK
   3923 #else
   3924   your preprocessor is broken;
   3925 #endif
   3926 static long long int bignum = -9223372036854775807LL;
   3927 static unsigned long long int ubignum = BIG64;
   3928 
   3929 struct incomplete_array
   3930 {
   3931   int datasize;
   3932   double data[];
   3933 };
   3934 
   3935 struct named_init {
   3936   int number;
   3937   const wchar_t *name;
   3938   double average;
   3939 };
   3940 
   3941 typedef const char *ccp;
   3942 
   3943 static inline int
   3944 test_restrict (ccp restrict text)
   3945 {
   3946   // See if C++-style comments work.
   3947   // Iterate through items via the restricted pointer.
   3948   // Also check for declarations in for loops.
   3949   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3950     continue;
   3951   return 0;
   3952 }
   3953 
   3954 // Check varargs and va_copy.
   3955 static void
   3956 test_varargs (const char *format, ...)
   3957 {
   3958   va_list args;
   3959   va_start (args, format);
   3960   va_list args_copy;
   3961   va_copy (args_copy, args);
   3962 
   3963   const char *str;
   3964   int number;
   3965   float fnumber;
   3966 
   3967   while (*format)
   3968     {
   3969       switch (*format++)
   3970 	{
   3971 	case 's': // string
   3972 	  str = va_arg (args_copy, const char *);
   3973 	  break;
   3974 	case 'd': // int
   3975 	  number = va_arg (args_copy, int);
   3976 	  break;
   3977 	case 'f': // float
   3978 	  fnumber = va_arg (args_copy, double);
   3979 	  break;
   3980 	default:
   3981 	  break;
   3982 	}
   3983     }
   3984   va_end (args_copy);
   3985   va_end (args);
   3986 }
   3987 
   3988 int
   3989 main ()
   3990 {
   3991 
   3992   // Check bool.
   3993   _Bool success = false;
   3994 
   3995   // Check restrict.
   3996   if (test_restrict ("String literal") == 0)
   3997     success = true;
   3998   char *restrict newvar = "Another string";
   3999 
   4000   // Check varargs.
   4001   test_varargs ("s, d' f .", "string", 65, 34.234);
   4002   test_varargs_macros ();
   4003 
   4004   // Check flexible array members.
   4005   struct incomplete_array *ia =
   4006     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4007   ia->datasize = 10;
   4008   for (int i = 0; i < ia->datasize; ++i)
   4009     ia->data[i] = i * 1.234;
   4010 
   4011   // Check named initializers.
   4012   struct named_init ni = {
   4013     .number = 34,
   4014     .name = L"Test wide string",
   4015     .average = 543.34343,
   4016   };
   4017 
   4018   ni.number = 58;
   4019 
   4020   int dynamic_array[ni.number];
   4021   dynamic_array[ni.number - 1] = 543;
   4022 
   4023   // work around unused variable warnings
   4024   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4025 	  || dynamic_array[ni.number - 1] != 543);
   4026 
   4027   ;
   4028   return 0;
   4029 }
   4030 _ACEOF
   4031 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4032 do
   4033   CC="$ac_save_CC $ac_arg"
   4034   if ac_fn_c_try_compile "$LINENO"; then :
   4035   ac_cv_prog_cc_c99=$ac_arg
   4036 fi
   4037 rm -f core conftest.err conftest.$ac_objext
   4038   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4039 done
   4040 rm -f conftest.$ac_ext
   4041 CC=$ac_save_CC
   4042 
   4043 fi
   4044 # AC_CACHE_VAL
   4045 case "x$ac_cv_prog_cc_c99" in
   4046   x)
   4047     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4048 $as_echo "none needed" >&6; } ;;
   4049   xno)
   4050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4051 $as_echo "unsupported" >&6; } ;;
   4052   *)
   4053     CC="$CC $ac_cv_prog_cc_c99"
   4054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4055 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4056 esac
   4057 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4058 
   4059 fi
   4060 
   4061 
   4062 
   4063 ac_ext=c
   4064 ac_cpp='$CPP $CPPFLAGS'
   4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4069 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4070 # On Suns, sometimes $CPP names a directory.
   4071 if test -n "$CPP" && test -d "$CPP"; then
   4072   CPP=
   4073 fi
   4074 if test -z "$CPP"; then
   4075   if ${ac_cv_prog_CPP+:} false; then :
   4076   $as_echo_n "(cached) " >&6
   4077 else
   4078       # Double quotes because CPP needs to be expanded
   4079     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4080     do
   4081       ac_preproc_ok=false
   4082 for ac_c_preproc_warn_flag in '' yes
   4083 do
   4084   # Use a header file that comes with gcc, so configuring glibc
   4085   # with a fresh cross-compiler works.
   4086   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4087   # <limits.h> exists even on freestanding compilers.
   4088   # On the NeXT, cc -E runs the code through the compiler's parser,
   4089   # not just through cpp. "Syntax error" is here to catch this case.
   4090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4091 /* end confdefs.h.  */
   4092 #ifdef __STDC__
   4093 # include <limits.h>
   4094 #else
   4095 # include <assert.h>
   4096 #endif
   4097 		     Syntax error
   4098 _ACEOF
   4099 if ac_fn_c_try_cpp "$LINENO"; then :
   4100 
   4101 else
   4102   # Broken: fails on valid input.
   4103 continue
   4104 fi
   4105 rm -f conftest.err conftest.i conftest.$ac_ext
   4106 
   4107   # OK, works on sane cases.  Now check whether nonexistent headers
   4108   # can be detected and how.
   4109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4110 /* end confdefs.h.  */
   4111 #include <ac_nonexistent.h>
   4112 _ACEOF
   4113 if ac_fn_c_try_cpp "$LINENO"; then :
   4114   # Broken: success on invalid input.
   4115 continue
   4116 else
   4117   # Passes both tests.
   4118 ac_preproc_ok=:
   4119 break
   4120 fi
   4121 rm -f conftest.err conftest.i conftest.$ac_ext
   4122 
   4123 done
   4124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4125 rm -f conftest.i conftest.err conftest.$ac_ext
   4126 if $ac_preproc_ok; then :
   4127   break
   4128 fi
   4129 
   4130     done
   4131     ac_cv_prog_CPP=$CPP
   4132 
   4133 fi
   4134   CPP=$ac_cv_prog_CPP
   4135 else
   4136   ac_cv_prog_CPP=$CPP
   4137 fi
   4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4139 $as_echo "$CPP" >&6; }
   4140 ac_preproc_ok=false
   4141 for ac_c_preproc_warn_flag in '' yes
   4142 do
   4143   # Use a header file that comes with gcc, so configuring glibc
   4144   # with a fresh cross-compiler works.
   4145   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4146   # <limits.h> exists even on freestanding compilers.
   4147   # On the NeXT, cc -E runs the code through the compiler's parser,
   4148   # not just through cpp. "Syntax error" is here to catch this case.
   4149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4150 /* end confdefs.h.  */
   4151 #ifdef __STDC__
   4152 # include <limits.h>
   4153 #else
   4154 # include <assert.h>
   4155 #endif
   4156 		     Syntax error
   4157 _ACEOF
   4158 if ac_fn_c_try_cpp "$LINENO"; then :
   4159 
   4160 else
   4161   # Broken: fails on valid input.
   4162 continue
   4163 fi
   4164 rm -f conftest.err conftest.i conftest.$ac_ext
   4165 
   4166   # OK, works on sane cases.  Now check whether nonexistent headers
   4167   # can be detected and how.
   4168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4169 /* end confdefs.h.  */
   4170 #include <ac_nonexistent.h>
   4171 _ACEOF
   4172 if ac_fn_c_try_cpp "$LINENO"; then :
   4173   # Broken: success on invalid input.
   4174 continue
   4175 else
   4176   # Passes both tests.
   4177 ac_preproc_ok=:
   4178 break
   4179 fi
   4180 rm -f conftest.err conftest.i conftest.$ac_ext
   4181 
   4182 done
   4183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4184 rm -f conftest.i conftest.err conftest.$ac_ext
   4185 if $ac_preproc_ok; then :
   4186 
   4187 else
   4188   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4190 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4191 See \`config.log' for more details" "$LINENO" 5; }
   4192 fi
   4193 
   4194 ac_ext=c
   4195 ac_cpp='$CPP $CPPFLAGS'
   4196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4199 
   4200 
   4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4202 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4203 if ${ac_cv_path_GREP+:} false; then :
   4204   $as_echo_n "(cached) " >&6
   4205 else
   4206   if test -z "$GREP"; then
   4207   ac_path_GREP_found=false
   4208   # Loop through the user's path and test for each of PROGNAME-LIST
   4209   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4210 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4211 do
   4212   IFS=$as_save_IFS
   4213   test -z "$as_dir" && as_dir=.
   4214     for ac_prog in grep ggrep; do
   4215     for ac_exec_ext in '' $ac_executable_extensions; do
   4216       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4217       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4218 # Check for GNU ac_path_GREP and select it if it is found.
   4219   # Check for GNU $ac_path_GREP
   4220 case `"$ac_path_GREP" --version 2>&1` in
   4221 *GNU*)
   4222   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4223 *)
   4224   ac_count=0
   4225   $as_echo_n 0123456789 >"conftest.in"
   4226   while :
   4227   do
   4228     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4229     mv "conftest.tmp" "conftest.in"
   4230     cp "conftest.in" "conftest.nl"
   4231     $as_echo 'GREP' >> "conftest.nl"
   4232     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4233     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4234     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4235     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4236       # Best one so far, save it but keep looking for a better one
   4237       ac_cv_path_GREP="$ac_path_GREP"
   4238       ac_path_GREP_max=$ac_count
   4239     fi
   4240     # 10*(2^10) chars as input seems more than enough
   4241     test $ac_count -gt 10 && break
   4242   done
   4243   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4244 esac
   4245 
   4246       $ac_path_GREP_found && break 3
   4247     done
   4248   done
   4249   done
   4250 IFS=$as_save_IFS
   4251   if test -z "$ac_cv_path_GREP"; then
   4252     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4253   fi
   4254 else
   4255   ac_cv_path_GREP=$GREP
   4256 fi
   4257 
   4258 fi
   4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4260 $as_echo "$ac_cv_path_GREP" >&6; }
   4261  GREP="$ac_cv_path_GREP"
   4262 
   4263 
   4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4265 $as_echo_n "checking for egrep... " >&6; }
   4266 if ${ac_cv_path_EGREP+:} false; then :
   4267   $as_echo_n "(cached) " >&6
   4268 else
   4269   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4270    then ac_cv_path_EGREP="$GREP -E"
   4271    else
   4272      if test -z "$EGREP"; then
   4273   ac_path_EGREP_found=false
   4274   # Loop through the user's path and test for each of PROGNAME-LIST
   4275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4276 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4277 do
   4278   IFS=$as_save_IFS
   4279   test -z "$as_dir" && as_dir=.
   4280     for ac_prog in egrep; do
   4281     for ac_exec_ext in '' $ac_executable_extensions; do
   4282       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4283       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4284 # Check for GNU ac_path_EGREP and select it if it is found.
   4285   # Check for GNU $ac_path_EGREP
   4286 case `"$ac_path_EGREP" --version 2>&1` in
   4287 *GNU*)
   4288   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4289 *)
   4290   ac_count=0
   4291   $as_echo_n 0123456789 >"conftest.in"
   4292   while :
   4293   do
   4294     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4295     mv "conftest.tmp" "conftest.in"
   4296     cp "conftest.in" "conftest.nl"
   4297     $as_echo 'EGREP' >> "conftest.nl"
   4298     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4299     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4300     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4301     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4302       # Best one so far, save it but keep looking for a better one
   4303       ac_cv_path_EGREP="$ac_path_EGREP"
   4304       ac_path_EGREP_max=$ac_count
   4305     fi
   4306     # 10*(2^10) chars as input seems more than enough
   4307     test $ac_count -gt 10 && break
   4308   done
   4309   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4310 esac
   4311 
   4312       $ac_path_EGREP_found && break 3
   4313     done
   4314   done
   4315   done
   4316 IFS=$as_save_IFS
   4317   if test -z "$ac_cv_path_EGREP"; then
   4318     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4319   fi
   4320 else
   4321   ac_cv_path_EGREP=$EGREP
   4322 fi
   4323 
   4324    fi
   4325 fi
   4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4327 $as_echo "$ac_cv_path_EGREP" >&6; }
   4328  EGREP="$ac_cv_path_EGREP"
   4329 
   4330 
   4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4332 $as_echo_n "checking for ANSI C header files... " >&6; }
   4333 if ${ac_cv_header_stdc+:} false; then :
   4334   $as_echo_n "(cached) " >&6
   4335 else
   4336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4337 /* end confdefs.h.  */
   4338 #include <stdlib.h>
   4339 #include <stdarg.h>
   4340 #include <string.h>
   4341 #include <float.h>
   4342 
   4343 int
   4344 main ()
   4345 {
   4346 
   4347   ;
   4348   return 0;
   4349 }
   4350 _ACEOF
   4351 if ac_fn_c_try_compile "$LINENO"; then :
   4352   ac_cv_header_stdc=yes
   4353 else
   4354   ac_cv_header_stdc=no
   4355 fi
   4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4357 
   4358 if test $ac_cv_header_stdc = yes; then
   4359   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4361 /* end confdefs.h.  */
   4362 #include <string.h>
   4363 
   4364 _ACEOF
   4365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4366   $EGREP "memchr" >/dev/null 2>&1; then :
   4367 
   4368 else
   4369   ac_cv_header_stdc=no
   4370 fi
   4371 rm -f conftest*
   4372 
   4373 fi
   4374 
   4375 if test $ac_cv_header_stdc = yes; then
   4376   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4378 /* end confdefs.h.  */
   4379 #include <stdlib.h>
   4380 
   4381 _ACEOF
   4382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4383   $EGREP "free" >/dev/null 2>&1; then :
   4384 
   4385 else
   4386   ac_cv_header_stdc=no
   4387 fi
   4388 rm -f conftest*
   4389 
   4390 fi
   4391 
   4392 if test $ac_cv_header_stdc = yes; then
   4393   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4394   if test "$cross_compiling" = yes; then :
   4395   :
   4396 else
   4397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4398 /* end confdefs.h.  */
   4399 #include <ctype.h>
   4400 #include <stdlib.h>
   4401 #if ((' ' & 0x0FF) == 0x020)
   4402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4404 #else
   4405 # define ISLOWER(c) \
   4406 		   (('a' <= (c) && (c) <= 'i') \
   4407 		     || ('j' <= (c) && (c) <= 'r') \
   4408 		     || ('s' <= (c) && (c) <= 'z'))
   4409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4410 #endif
   4411 
   4412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4413 int
   4414 main ()
   4415 {
   4416   int i;
   4417   for (i = 0; i < 256; i++)
   4418     if (XOR (islower (i), ISLOWER (i))
   4419 	|| toupper (i) != TOUPPER (i))
   4420       return 2;
   4421   return 0;
   4422 }
   4423 _ACEOF
   4424 if ac_fn_c_try_run "$LINENO"; then :
   4425 
   4426 else
   4427   ac_cv_header_stdc=no
   4428 fi
   4429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4430   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4431 fi
   4432 
   4433 fi
   4434 fi
   4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4436 $as_echo "$ac_cv_header_stdc" >&6; }
   4437 if test $ac_cv_header_stdc = yes; then
   4438 
   4439 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4440 
   4441 fi
   4442 
   4443 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4444 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4445 		  inttypes.h stdint.h unistd.h
   4446 do :
   4447   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4449 "
   4450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4451   cat >>confdefs.h <<_ACEOF
   4452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4453 _ACEOF
   4454 
   4455 fi
   4456 
   4457 done
   4458 
   4459 
   4460 
   4461 
   4462 
   4463 
   4464 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4465 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4466   CLANGCC="yes"
   4467 else
   4468   CLANGCC="no"
   4469 fi
   4470 
   4471 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4472 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4473   INTELCC="yes"
   4474 else
   4475   INTELCC="no"
   4476 fi
   4477 
   4478 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4479 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4480   SUNCC="yes"
   4481 else
   4482   SUNCC="no"
   4483 fi
   4484 
   4485 
   4486 
   4487 
   4488 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4489 	if test -n "$ac_tool_prefix"; then
   4490   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4491 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4493 $as_echo_n "checking for $ac_word... " >&6; }
   4494 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4495   $as_echo_n "(cached) " >&6
   4496 else
   4497   case $PKG_CONFIG in
   4498   [\\/]* | ?:[\\/]*)
   4499   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4500   ;;
   4501   *)
   4502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4503 for as_dir in $PATH
   4504 do
   4505   IFS=$as_save_IFS
   4506   test -z "$as_dir" && as_dir=.
   4507     for ac_exec_ext in '' $ac_executable_extensions; do
   4508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4509     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4511     break 2
   4512   fi
   4513 done
   4514   done
   4515 IFS=$as_save_IFS
   4516 
   4517   ;;
   4518 esac
   4519 fi
   4520 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4521 if test -n "$PKG_CONFIG"; then
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4523 $as_echo "$PKG_CONFIG" >&6; }
   4524 else
   4525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4526 $as_echo "no" >&6; }
   4527 fi
   4528 
   4529 
   4530 fi
   4531 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4532   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4533   # Extract the first word of "pkg-config", so it can be a program name with args.
   4534 set dummy pkg-config; ac_word=$2
   4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4536 $as_echo_n "checking for $ac_word... " >&6; }
   4537 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4538   $as_echo_n "(cached) " >&6
   4539 else
   4540   case $ac_pt_PKG_CONFIG in
   4541   [\\/]* | ?:[\\/]*)
   4542   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4543   ;;
   4544   *)
   4545   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4546 for as_dir in $PATH
   4547 do
   4548   IFS=$as_save_IFS
   4549   test -z "$as_dir" && as_dir=.
   4550     for ac_exec_ext in '' $ac_executable_extensions; do
   4551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4552     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4554     break 2
   4555   fi
   4556 done
   4557   done
   4558 IFS=$as_save_IFS
   4559 
   4560   ;;
   4561 esac
   4562 fi
   4563 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4564 if test -n "$ac_pt_PKG_CONFIG"; then
   4565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4566 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4567 else
   4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4569 $as_echo "no" >&6; }
   4570 fi
   4571 
   4572   if test "x$ac_pt_PKG_CONFIG" = x; then
   4573     PKG_CONFIG=""
   4574   else
   4575     case $cross_compiling:$ac_tool_warned in
   4576 yes:)
   4577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4579 ac_tool_warned=yes ;;
   4580 esac
   4581     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4582   fi
   4583 else
   4584   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4585 fi
   4586 
   4587 fi
   4588 if test -n "$PKG_CONFIG"; then
   4589 	_pkg_min_version=0.9.0
   4590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4591 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4592 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4594 $as_echo "yes" >&6; }
   4595 	else
   4596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4597 $as_echo "no" >&6; }
   4598 		PKG_CONFIG=""
   4599 	fi
   4600 
   4601 fi
   4602 # Make sure we can run config.sub.
   4603 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4604   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4605 
   4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4607 $as_echo_n "checking build system type... " >&6; }
   4608 if ${ac_cv_build+:} false; then :
   4609   $as_echo_n "(cached) " >&6
   4610 else
   4611   ac_build_alias=$build_alias
   4612 test "x$ac_build_alias" = x &&
   4613   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4614 test "x$ac_build_alias" = x &&
   4615   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4616 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4617   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4618 
   4619 fi
   4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4621 $as_echo "$ac_cv_build" >&6; }
   4622 case $ac_cv_build in
   4623 *-*-*) ;;
   4624 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4625 esac
   4626 build=$ac_cv_build
   4627 ac_save_IFS=$IFS; IFS='-'
   4628 set x $ac_cv_build
   4629 shift
   4630 build_cpu=$1
   4631 build_vendor=$2
   4632 shift; shift
   4633 # Remember, the first character of IFS is used to create $*,
   4634 # except with old shells:
   4635 build_os=$*
   4636 IFS=$ac_save_IFS
   4637 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4638 
   4639 
   4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4641 $as_echo_n "checking host system type... " >&6; }
   4642 if ${ac_cv_host+:} false; then :
   4643   $as_echo_n "(cached) " >&6
   4644 else
   4645   if test "x$host_alias" = x; then
   4646   ac_cv_host=$ac_cv_build
   4647 else
   4648   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4649     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4650 fi
   4651 
   4652 fi
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4654 $as_echo "$ac_cv_host" >&6; }
   4655 case $ac_cv_host in
   4656 *-*-*) ;;
   4657 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4658 esac
   4659 host=$ac_cv_host
   4660 ac_save_IFS=$IFS; IFS='-'
   4661 set x $ac_cv_host
   4662 shift
   4663 host_cpu=$1
   4664 host_vendor=$2
   4665 shift; shift
   4666 # Remember, the first character of IFS is used to create $*,
   4667 # except with old shells:
   4668 host_os=$*
   4669 IFS=$ac_save_IFS
   4670 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4671 
   4672 
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4674 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4675 if ${ac_cv_path_SED+:} false; then :
   4676   $as_echo_n "(cached) " >&6
   4677 else
   4678             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4679      for ac_i in 1 2 3 4 5 6 7; do
   4680        ac_script="$ac_script$as_nl$ac_script"
   4681      done
   4682      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4683      { ac_script=; unset ac_script;}
   4684      if test -z "$SED"; then
   4685   ac_path_SED_found=false
   4686   # Loop through the user's path and test for each of PROGNAME-LIST
   4687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4688 for as_dir in $PATH
   4689 do
   4690   IFS=$as_save_IFS
   4691   test -z "$as_dir" && as_dir=.
   4692     for ac_prog in sed gsed; do
   4693     for ac_exec_ext in '' $ac_executable_extensions; do
   4694       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4695       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4696 # Check for GNU ac_path_SED and select it if it is found.
   4697   # Check for GNU $ac_path_SED
   4698 case `"$ac_path_SED" --version 2>&1` in
   4699 *GNU*)
   4700   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4701 *)
   4702   ac_count=0
   4703   $as_echo_n 0123456789 >"conftest.in"
   4704   while :
   4705   do
   4706     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4707     mv "conftest.tmp" "conftest.in"
   4708     cp "conftest.in" "conftest.nl"
   4709     $as_echo '' >> "conftest.nl"
   4710     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4711     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4712     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4713     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4714       # Best one so far, save it but keep looking for a better one
   4715       ac_cv_path_SED="$ac_path_SED"
   4716       ac_path_SED_max=$ac_count
   4717     fi
   4718     # 10*(2^10) chars as input seems more than enough
   4719     test $ac_count -gt 10 && break
   4720   done
   4721   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4722 esac
   4723 
   4724       $ac_path_SED_found && break 3
   4725     done
   4726   done
   4727   done
   4728 IFS=$as_save_IFS
   4729   if test -z "$ac_cv_path_SED"; then
   4730     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4731   fi
   4732 else
   4733   ac_cv_path_SED=$SED
   4734 fi
   4735 
   4736 fi
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4738 $as_echo "$ac_cv_path_SED" >&6; }
   4739  SED="$ac_cv_path_SED"
   4740   rm -f conftest.sed
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 # Check whether --enable-selective-werror was given.
   4748 if test "${enable_selective_werror+set}" = set; then :
   4749   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4750 else
   4751   SELECTIVE_WERROR=yes
   4752 fi
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4759 if test "x$SUNCC" = "xyes"; then
   4760     BASE_CFLAGS="-v"
   4761 else
   4762     BASE_CFLAGS=""
   4763 fi
   4764 
   4765 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 xorg_testset_save_CFLAGS="$CFLAGS"
   4780 
   4781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4784 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4785 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4786   $as_echo_n "(cached) " >&6
   4787 else
   4788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4789 /* end confdefs.h.  */
   4790 int i;
   4791 _ACEOF
   4792 if ac_fn_c_try_compile "$LINENO"; then :
   4793   xorg_cv_cc_flag_unknown_warning_option=yes
   4794 else
   4795   xorg_cv_cc_flag_unknown_warning_option=no
   4796 fi
   4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4798 fi
   4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4800 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4802 	CFLAGS="$xorg_testset_save_CFLAGS"
   4803 fi
   4804 
   4805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4808 	fi
   4809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4811 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4812 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4813   $as_echo_n "(cached) " >&6
   4814 else
   4815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4816 /* end confdefs.h.  */
   4817 int i;
   4818 _ACEOF
   4819 if ac_fn_c_try_compile "$LINENO"; then :
   4820   xorg_cv_cc_flag_unused_command_line_argument=yes
   4821 else
   4822   xorg_cv_cc_flag_unused_command_line_argument=no
   4823 fi
   4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4825 fi
   4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4827 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4829 	CFLAGS="$xorg_testset_save_CFLAGS"
   4830 fi
   4831 
   4832 found="no"
   4833 
   4834 	if test $found = "no" ; then
   4835 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4837 		fi
   4838 
   4839 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4841 		fi
   4842 
   4843 		CFLAGS="$CFLAGS -Wall"
   4844 
   4845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4846 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4847 		cacheid=xorg_cv_cc_flag__Wall
   4848 		if eval \${$cacheid+:} false; then :
   4849   $as_echo_n "(cached) " >&6
   4850 else
   4851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4852 /* end confdefs.h.  */
   4853 int i;
   4854 int
   4855 main ()
   4856 {
   4857 
   4858   ;
   4859   return 0;
   4860 }
   4861 _ACEOF
   4862 if ac_fn_c_try_link "$LINENO"; then :
   4863   eval $cacheid=yes
   4864 else
   4865   eval $cacheid=no
   4866 fi
   4867 rm -f core conftest.err conftest.$ac_objext \
   4868     conftest$ac_exeext conftest.$ac_ext
   4869 fi
   4870 
   4871 
   4872 		CFLAGS="$xorg_testset_save_CFLAGS"
   4873 
   4874 		eval supported=\$$cacheid
   4875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4876 $as_echo "$supported" >&6; }
   4877 		if test "$supported" = "yes" ; then
   4878 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4879 			found="yes"
   4880 		fi
   4881 	fi
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 xorg_testset_save_CFLAGS="$CFLAGS"
   4898 
   4899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4901 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4902 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4903 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4904   $as_echo_n "(cached) " >&6
   4905 else
   4906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4907 /* end confdefs.h.  */
   4908 int i;
   4909 _ACEOF
   4910 if ac_fn_c_try_compile "$LINENO"; then :
   4911   xorg_cv_cc_flag_unknown_warning_option=yes
   4912 else
   4913   xorg_cv_cc_flag_unknown_warning_option=no
   4914 fi
   4915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4916 fi
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4918 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4920 	CFLAGS="$xorg_testset_save_CFLAGS"
   4921 fi
   4922 
   4923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4926 	fi
   4927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4929 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4930 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4931   $as_echo_n "(cached) " >&6
   4932 else
   4933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4934 /* end confdefs.h.  */
   4935 int i;
   4936 _ACEOF
   4937 if ac_fn_c_try_compile "$LINENO"; then :
   4938   xorg_cv_cc_flag_unused_command_line_argument=yes
   4939 else
   4940   xorg_cv_cc_flag_unused_command_line_argument=no
   4941 fi
   4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4943 fi
   4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4945 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4947 	CFLAGS="$xorg_testset_save_CFLAGS"
   4948 fi
   4949 
   4950 found="no"
   4951 
   4952 	if test $found = "no" ; then
   4953 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4955 		fi
   4956 
   4957 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4959 		fi
   4960 
   4961 		CFLAGS="$CFLAGS -Wpointer-arith"
   4962 
   4963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4964 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4965 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4966 		if eval \${$cacheid+:} false; then :
   4967   $as_echo_n "(cached) " >&6
   4968 else
   4969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4970 /* end confdefs.h.  */
   4971 int i;
   4972 int
   4973 main ()
   4974 {
   4975 
   4976   ;
   4977   return 0;
   4978 }
   4979 _ACEOF
   4980 if ac_fn_c_try_link "$LINENO"; then :
   4981   eval $cacheid=yes
   4982 else
   4983   eval $cacheid=no
   4984 fi
   4985 rm -f core conftest.err conftest.$ac_objext \
   4986     conftest$ac_exeext conftest.$ac_ext
   4987 fi
   4988 
   4989 
   4990 		CFLAGS="$xorg_testset_save_CFLAGS"
   4991 
   4992 		eval supported=\$$cacheid
   4993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4994 $as_echo "$supported" >&6; }
   4995 		if test "$supported" = "yes" ; then
   4996 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4997 			found="yes"
   4998 		fi
   4999 	fi
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 xorg_testset_save_CFLAGS="$CFLAGS"
   5016 
   5017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5020 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5021 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5022   $as_echo_n "(cached) " >&6
   5023 else
   5024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5025 /* end confdefs.h.  */
   5026 int i;
   5027 _ACEOF
   5028 if ac_fn_c_try_compile "$LINENO"; then :
   5029   xorg_cv_cc_flag_unknown_warning_option=yes
   5030 else
   5031   xorg_cv_cc_flag_unknown_warning_option=no
   5032 fi
   5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5034 fi
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5036 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5038 	CFLAGS="$xorg_testset_save_CFLAGS"
   5039 fi
   5040 
   5041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5044 	fi
   5045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5047 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5048 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5049   $as_echo_n "(cached) " >&6
   5050 else
   5051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5052 /* end confdefs.h.  */
   5053 int i;
   5054 _ACEOF
   5055 if ac_fn_c_try_compile "$LINENO"; then :
   5056   xorg_cv_cc_flag_unused_command_line_argument=yes
   5057 else
   5058   xorg_cv_cc_flag_unused_command_line_argument=no
   5059 fi
   5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5061 fi
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5063 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5065 	CFLAGS="$xorg_testset_save_CFLAGS"
   5066 fi
   5067 
   5068 found="no"
   5069 
   5070 	if test $found = "no" ; then
   5071 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5073 		fi
   5074 
   5075 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5077 		fi
   5078 
   5079 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5080 
   5081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5082 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5083 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5084 		if eval \${$cacheid+:} false; then :
   5085   $as_echo_n "(cached) " >&6
   5086 else
   5087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5088 /* end confdefs.h.  */
   5089 int i;
   5090 int
   5091 main ()
   5092 {
   5093 
   5094   ;
   5095   return 0;
   5096 }
   5097 _ACEOF
   5098 if ac_fn_c_try_link "$LINENO"; then :
   5099   eval $cacheid=yes
   5100 else
   5101   eval $cacheid=no
   5102 fi
   5103 rm -f core conftest.err conftest.$ac_objext \
   5104     conftest$ac_exeext conftest.$ac_ext
   5105 fi
   5106 
   5107 
   5108 		CFLAGS="$xorg_testset_save_CFLAGS"
   5109 
   5110 		eval supported=\$$cacheid
   5111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5112 $as_echo "$supported" >&6; }
   5113 		if test "$supported" = "yes" ; then
   5114 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5115 			found="yes"
   5116 		fi
   5117 	fi
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 xorg_testset_save_CFLAGS="$CFLAGS"
   5134 
   5135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5138 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5139 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5140   $as_echo_n "(cached) " >&6
   5141 else
   5142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5143 /* end confdefs.h.  */
   5144 int i;
   5145 _ACEOF
   5146 if ac_fn_c_try_compile "$LINENO"; then :
   5147   xorg_cv_cc_flag_unknown_warning_option=yes
   5148 else
   5149   xorg_cv_cc_flag_unknown_warning_option=no
   5150 fi
   5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5152 fi
   5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5154 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5156 	CFLAGS="$xorg_testset_save_CFLAGS"
   5157 fi
   5158 
   5159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5162 	fi
   5163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5165 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5166 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5167   $as_echo_n "(cached) " >&6
   5168 else
   5169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5170 /* end confdefs.h.  */
   5171 int i;
   5172 _ACEOF
   5173 if ac_fn_c_try_compile "$LINENO"; then :
   5174   xorg_cv_cc_flag_unused_command_line_argument=yes
   5175 else
   5176   xorg_cv_cc_flag_unused_command_line_argument=no
   5177 fi
   5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5179 fi
   5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5181 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5183 	CFLAGS="$xorg_testset_save_CFLAGS"
   5184 fi
   5185 
   5186 found="no"
   5187 
   5188 	if test $found = "no" ; then
   5189 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5191 		fi
   5192 
   5193 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5195 		fi
   5196 
   5197 		CFLAGS="$CFLAGS -Wformat=2"
   5198 
   5199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5200 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5201 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5202 		if eval \${$cacheid+:} false; then :
   5203   $as_echo_n "(cached) " >&6
   5204 else
   5205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5206 /* end confdefs.h.  */
   5207 int i;
   5208 int
   5209 main ()
   5210 {
   5211 
   5212   ;
   5213   return 0;
   5214 }
   5215 _ACEOF
   5216 if ac_fn_c_try_link "$LINENO"; then :
   5217   eval $cacheid=yes
   5218 else
   5219   eval $cacheid=no
   5220 fi
   5221 rm -f core conftest.err conftest.$ac_objext \
   5222     conftest$ac_exeext conftest.$ac_ext
   5223 fi
   5224 
   5225 
   5226 		CFLAGS="$xorg_testset_save_CFLAGS"
   5227 
   5228 		eval supported=\$$cacheid
   5229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5230 $as_echo "$supported" >&6; }
   5231 		if test "$supported" = "yes" ; then
   5232 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5233 			found="yes"
   5234 		fi
   5235 	fi
   5236 
   5237 	if test $found = "no" ; then
   5238 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5240 		fi
   5241 
   5242 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5244 		fi
   5245 
   5246 		CFLAGS="$CFLAGS -Wformat"
   5247 
   5248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5249 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5250 		cacheid=xorg_cv_cc_flag__Wformat
   5251 		if eval \${$cacheid+:} false; then :
   5252   $as_echo_n "(cached) " >&6
   5253 else
   5254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5255 /* end confdefs.h.  */
   5256 int i;
   5257 int
   5258 main ()
   5259 {
   5260 
   5261   ;
   5262   return 0;
   5263 }
   5264 _ACEOF
   5265 if ac_fn_c_try_link "$LINENO"; then :
   5266   eval $cacheid=yes
   5267 else
   5268   eval $cacheid=no
   5269 fi
   5270 rm -f core conftest.err conftest.$ac_objext \
   5271     conftest$ac_exeext conftest.$ac_ext
   5272 fi
   5273 
   5274 
   5275 		CFLAGS="$xorg_testset_save_CFLAGS"
   5276 
   5277 		eval supported=\$$cacheid
   5278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5279 $as_echo "$supported" >&6; }
   5280 		if test "$supported" = "yes" ; then
   5281 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5282 			found="yes"
   5283 		fi
   5284 	fi
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 xorg_testset_save_CFLAGS="$CFLAGS"
   5303 
   5304 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5305 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5307 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5308 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 int i;
   5314 _ACEOF
   5315 if ac_fn_c_try_compile "$LINENO"; then :
   5316   xorg_cv_cc_flag_unknown_warning_option=yes
   5317 else
   5318   xorg_cv_cc_flag_unknown_warning_option=no
   5319 fi
   5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5321 fi
   5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5323 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5325 	CFLAGS="$xorg_testset_save_CFLAGS"
   5326 fi
   5327 
   5328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5331 	fi
   5332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5334 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5335 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5336   $as_echo_n "(cached) " >&6
   5337 else
   5338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5339 /* end confdefs.h.  */
   5340 int i;
   5341 _ACEOF
   5342 if ac_fn_c_try_compile "$LINENO"; then :
   5343   xorg_cv_cc_flag_unused_command_line_argument=yes
   5344 else
   5345   xorg_cv_cc_flag_unused_command_line_argument=no
   5346 fi
   5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5348 fi
   5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5350 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5352 	CFLAGS="$xorg_testset_save_CFLAGS"
   5353 fi
   5354 
   5355 found="no"
   5356 
   5357 	if test $found = "no" ; then
   5358 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5360 		fi
   5361 
   5362 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5364 		fi
   5365 
   5366 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5367 
   5368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5369 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5370 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5371 		if eval \${$cacheid+:} false; then :
   5372   $as_echo_n "(cached) " >&6
   5373 else
   5374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5375 /* end confdefs.h.  */
   5376 int i;
   5377 int
   5378 main ()
   5379 {
   5380 
   5381   ;
   5382   return 0;
   5383 }
   5384 _ACEOF
   5385 if ac_fn_c_try_link "$LINENO"; then :
   5386   eval $cacheid=yes
   5387 else
   5388   eval $cacheid=no
   5389 fi
   5390 rm -f core conftest.err conftest.$ac_objext \
   5391     conftest$ac_exeext conftest.$ac_ext
   5392 fi
   5393 
   5394 
   5395 		CFLAGS="$xorg_testset_save_CFLAGS"
   5396 
   5397 		eval supported=\$$cacheid
   5398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5399 $as_echo "$supported" >&6; }
   5400 		if test "$supported" = "yes" ; then
   5401 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5402 			found="yes"
   5403 		fi
   5404 	fi
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 xorg_testset_save_CFLAGS="$CFLAGS"
   5421 
   5422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5425 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5426 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5430 /* end confdefs.h.  */
   5431 int i;
   5432 _ACEOF
   5433 if ac_fn_c_try_compile "$LINENO"; then :
   5434   xorg_cv_cc_flag_unknown_warning_option=yes
   5435 else
   5436   xorg_cv_cc_flag_unknown_warning_option=no
   5437 fi
   5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5439 fi
   5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5441 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5443 	CFLAGS="$xorg_testset_save_CFLAGS"
   5444 fi
   5445 
   5446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5449 	fi
   5450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5452 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5453 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5457 /* end confdefs.h.  */
   5458 int i;
   5459 _ACEOF
   5460 if ac_fn_c_try_compile "$LINENO"; then :
   5461   xorg_cv_cc_flag_unused_command_line_argument=yes
   5462 else
   5463   xorg_cv_cc_flag_unused_command_line_argument=no
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5466 fi
   5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5468 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5470 	CFLAGS="$xorg_testset_save_CFLAGS"
   5471 fi
   5472 
   5473 found="no"
   5474 
   5475 	if test $found = "no" ; then
   5476 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5478 		fi
   5479 
   5480 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5482 		fi
   5483 
   5484 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5485 
   5486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5487 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5488 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5489 		if eval \${$cacheid+:} false; then :
   5490   $as_echo_n "(cached) " >&6
   5491 else
   5492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5493 /* end confdefs.h.  */
   5494 int i;
   5495 int
   5496 main ()
   5497 {
   5498 
   5499   ;
   5500   return 0;
   5501 }
   5502 _ACEOF
   5503 if ac_fn_c_try_link "$LINENO"; then :
   5504   eval $cacheid=yes
   5505 else
   5506   eval $cacheid=no
   5507 fi
   5508 rm -f core conftest.err conftest.$ac_objext \
   5509     conftest$ac_exeext conftest.$ac_ext
   5510 fi
   5511 
   5512 
   5513 		CFLAGS="$xorg_testset_save_CFLAGS"
   5514 
   5515 		eval supported=\$$cacheid
   5516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5517 $as_echo "$supported" >&6; }
   5518 		if test "$supported" = "yes" ; then
   5519 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5520 			found="yes"
   5521 		fi
   5522 	fi
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 xorg_testset_save_CFLAGS="$CFLAGS"
   5539 
   5540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5543 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5544 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5545   $as_echo_n "(cached) " >&6
   5546 else
   5547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5548 /* end confdefs.h.  */
   5549 int i;
   5550 _ACEOF
   5551 if ac_fn_c_try_compile "$LINENO"; then :
   5552   xorg_cv_cc_flag_unknown_warning_option=yes
   5553 else
   5554   xorg_cv_cc_flag_unknown_warning_option=no
   5555 fi
   5556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5557 fi
   5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5559 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5560 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5561 	CFLAGS="$xorg_testset_save_CFLAGS"
   5562 fi
   5563 
   5564 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5565 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5566 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5567 	fi
   5568 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5570 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5571 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5572   $as_echo_n "(cached) " >&6
   5573 else
   5574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5575 /* end confdefs.h.  */
   5576 int i;
   5577 _ACEOF
   5578 if ac_fn_c_try_compile "$LINENO"; then :
   5579   xorg_cv_cc_flag_unused_command_line_argument=yes
   5580 else
   5581   xorg_cv_cc_flag_unused_command_line_argument=no
   5582 fi
   5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5584 fi
   5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5586 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5588 	CFLAGS="$xorg_testset_save_CFLAGS"
   5589 fi
   5590 
   5591 found="no"
   5592 
   5593 	if test $found = "no" ; then
   5594 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5596 		fi
   5597 
   5598 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5600 		fi
   5601 
   5602 		CFLAGS="$CFLAGS -Wnested-externs"
   5603 
   5604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5605 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5606 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5607 		if eval \${$cacheid+:} false; then :
   5608   $as_echo_n "(cached) " >&6
   5609 else
   5610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5611 /* end confdefs.h.  */
   5612 int i;
   5613 int
   5614 main ()
   5615 {
   5616 
   5617   ;
   5618   return 0;
   5619 }
   5620 _ACEOF
   5621 if ac_fn_c_try_link "$LINENO"; then :
   5622   eval $cacheid=yes
   5623 else
   5624   eval $cacheid=no
   5625 fi
   5626 rm -f core conftest.err conftest.$ac_objext \
   5627     conftest$ac_exeext conftest.$ac_ext
   5628 fi
   5629 
   5630 
   5631 		CFLAGS="$xorg_testset_save_CFLAGS"
   5632 
   5633 		eval supported=\$$cacheid
   5634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5635 $as_echo "$supported" >&6; }
   5636 		if test "$supported" = "yes" ; then
   5637 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5638 			found="yes"
   5639 		fi
   5640 	fi
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 xorg_testset_save_CFLAGS="$CFLAGS"
   5657 
   5658 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5661 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5662 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5663   $as_echo_n "(cached) " >&6
   5664 else
   5665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5666 /* end confdefs.h.  */
   5667 int i;
   5668 _ACEOF
   5669 if ac_fn_c_try_compile "$LINENO"; then :
   5670   xorg_cv_cc_flag_unknown_warning_option=yes
   5671 else
   5672   xorg_cv_cc_flag_unknown_warning_option=no
   5673 fi
   5674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5675 fi
   5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5677 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5678 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5679 	CFLAGS="$xorg_testset_save_CFLAGS"
   5680 fi
   5681 
   5682 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5683 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5685 	fi
   5686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5688 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5689 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5690   $as_echo_n "(cached) " >&6
   5691 else
   5692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5693 /* end confdefs.h.  */
   5694 int i;
   5695 _ACEOF
   5696 if ac_fn_c_try_compile "$LINENO"; then :
   5697   xorg_cv_cc_flag_unused_command_line_argument=yes
   5698 else
   5699   xorg_cv_cc_flag_unused_command_line_argument=no
   5700 fi
   5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5702 fi
   5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5704 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5706 	CFLAGS="$xorg_testset_save_CFLAGS"
   5707 fi
   5708 
   5709 found="no"
   5710 
   5711 	if test $found = "no" ; then
   5712 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5714 		fi
   5715 
   5716 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5718 		fi
   5719 
   5720 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5721 
   5722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5723 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5724 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5725 		if eval \${$cacheid+:} false; then :
   5726   $as_echo_n "(cached) " >&6
   5727 else
   5728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5729 /* end confdefs.h.  */
   5730 int i;
   5731 int
   5732 main ()
   5733 {
   5734 
   5735   ;
   5736   return 0;
   5737 }
   5738 _ACEOF
   5739 if ac_fn_c_try_link "$LINENO"; then :
   5740   eval $cacheid=yes
   5741 else
   5742   eval $cacheid=no
   5743 fi
   5744 rm -f core conftest.err conftest.$ac_objext \
   5745     conftest$ac_exeext conftest.$ac_ext
   5746 fi
   5747 
   5748 
   5749 		CFLAGS="$xorg_testset_save_CFLAGS"
   5750 
   5751 		eval supported=\$$cacheid
   5752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5753 $as_echo "$supported" >&6; }
   5754 		if test "$supported" = "yes" ; then
   5755 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5756 			found="yes"
   5757 		fi
   5758 	fi
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 xorg_testset_save_CFLAGS="$CFLAGS"
   5775 
   5776 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5777 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5779 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5780 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5781   $as_echo_n "(cached) " >&6
   5782 else
   5783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5784 /* end confdefs.h.  */
   5785 int i;
   5786 _ACEOF
   5787 if ac_fn_c_try_compile "$LINENO"; then :
   5788   xorg_cv_cc_flag_unknown_warning_option=yes
   5789 else
   5790   xorg_cv_cc_flag_unknown_warning_option=no
   5791 fi
   5792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5793 fi
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5795 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5797 	CFLAGS="$xorg_testset_save_CFLAGS"
   5798 fi
   5799 
   5800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5803 	fi
   5804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5806 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5807 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5808   $as_echo_n "(cached) " >&6
   5809 else
   5810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5811 /* end confdefs.h.  */
   5812 int i;
   5813 _ACEOF
   5814 if ac_fn_c_try_compile "$LINENO"; then :
   5815   xorg_cv_cc_flag_unused_command_line_argument=yes
   5816 else
   5817   xorg_cv_cc_flag_unused_command_line_argument=no
   5818 fi
   5819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5820 fi
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5822 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5824 	CFLAGS="$xorg_testset_save_CFLAGS"
   5825 fi
   5826 
   5827 found="no"
   5828 
   5829 	if test $found = "no" ; then
   5830 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5832 		fi
   5833 
   5834 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5836 		fi
   5837 
   5838 		CFLAGS="$CFLAGS -Wold-style-definition"
   5839 
   5840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5841 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5842 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5843 		if eval \${$cacheid+:} false; then :
   5844   $as_echo_n "(cached) " >&6
   5845 else
   5846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5847 /* end confdefs.h.  */
   5848 int i;
   5849 int
   5850 main ()
   5851 {
   5852 
   5853   ;
   5854   return 0;
   5855 }
   5856 _ACEOF
   5857 if ac_fn_c_try_link "$LINENO"; then :
   5858   eval $cacheid=yes
   5859 else
   5860   eval $cacheid=no
   5861 fi
   5862 rm -f core conftest.err conftest.$ac_objext \
   5863     conftest$ac_exeext conftest.$ac_ext
   5864 fi
   5865 
   5866 
   5867 		CFLAGS="$xorg_testset_save_CFLAGS"
   5868 
   5869 		eval supported=\$$cacheid
   5870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5871 $as_echo "$supported" >&6; }
   5872 		if test "$supported" = "yes" ; then
   5873 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5874 			found="yes"
   5875 		fi
   5876 	fi
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 xorg_testset_save_CFLAGS="$CFLAGS"
   5893 
   5894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5897 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5898 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5899   $as_echo_n "(cached) " >&6
   5900 else
   5901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5902 /* end confdefs.h.  */
   5903 int i;
   5904 _ACEOF
   5905 if ac_fn_c_try_compile "$LINENO"; then :
   5906   xorg_cv_cc_flag_unknown_warning_option=yes
   5907 else
   5908   xorg_cv_cc_flag_unknown_warning_option=no
   5909 fi
   5910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5911 fi
   5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5913 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5915 	CFLAGS="$xorg_testset_save_CFLAGS"
   5916 fi
   5917 
   5918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 	fi
   5922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5924 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5925 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5926   $as_echo_n "(cached) " >&6
   5927 else
   5928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5929 /* end confdefs.h.  */
   5930 int i;
   5931 _ACEOF
   5932 if ac_fn_c_try_compile "$LINENO"; then :
   5933   xorg_cv_cc_flag_unused_command_line_argument=yes
   5934 else
   5935   xorg_cv_cc_flag_unused_command_line_argument=no
   5936 fi
   5937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5938 fi
   5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5940 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5942 	CFLAGS="$xorg_testset_save_CFLAGS"
   5943 fi
   5944 
   5945 found="no"
   5946 
   5947 	if test $found = "no" ; then
   5948 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5950 		fi
   5951 
   5952 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5954 		fi
   5955 
   5956 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5957 
   5958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5959 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5960 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5961 		if eval \${$cacheid+:} false; then :
   5962   $as_echo_n "(cached) " >&6
   5963 else
   5964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5965 /* end confdefs.h.  */
   5966 int i;
   5967 int
   5968 main ()
   5969 {
   5970 
   5971   ;
   5972   return 0;
   5973 }
   5974 _ACEOF
   5975 if ac_fn_c_try_link "$LINENO"; then :
   5976   eval $cacheid=yes
   5977 else
   5978   eval $cacheid=no
   5979 fi
   5980 rm -f core conftest.err conftest.$ac_objext \
   5981     conftest$ac_exeext conftest.$ac_ext
   5982 fi
   5983 
   5984 
   5985 		CFLAGS="$xorg_testset_save_CFLAGS"
   5986 
   5987 		eval supported=\$$cacheid
   5988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5989 $as_echo "$supported" >&6; }
   5990 		if test "$supported" = "yes" ; then
   5991 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5992 			found="yes"
   5993 		fi
   5994 	fi
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 # This chunk adds additional warnings that could catch undesired effects.
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 xorg_testset_save_CFLAGS="$CFLAGS"
   6015 
   6016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6019 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6020 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6021   $as_echo_n "(cached) " >&6
   6022 else
   6023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6024 /* end confdefs.h.  */
   6025 int i;
   6026 _ACEOF
   6027 if ac_fn_c_try_compile "$LINENO"; then :
   6028   xorg_cv_cc_flag_unknown_warning_option=yes
   6029 else
   6030   xorg_cv_cc_flag_unknown_warning_option=no
   6031 fi
   6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6033 fi
   6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6035 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6037 	CFLAGS="$xorg_testset_save_CFLAGS"
   6038 fi
   6039 
   6040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6043 	fi
   6044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6046 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6047 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6048   $as_echo_n "(cached) " >&6
   6049 else
   6050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6051 /* end confdefs.h.  */
   6052 int i;
   6053 _ACEOF
   6054 if ac_fn_c_try_compile "$LINENO"; then :
   6055   xorg_cv_cc_flag_unused_command_line_argument=yes
   6056 else
   6057   xorg_cv_cc_flag_unused_command_line_argument=no
   6058 fi
   6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6060 fi
   6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6062 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6064 	CFLAGS="$xorg_testset_save_CFLAGS"
   6065 fi
   6066 
   6067 found="no"
   6068 
   6069 	if test $found = "no" ; then
   6070 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6072 		fi
   6073 
   6074 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6076 		fi
   6077 
   6078 		CFLAGS="$CFLAGS -Wunused"
   6079 
   6080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6081 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6082 		cacheid=xorg_cv_cc_flag__Wunused
   6083 		if eval \${$cacheid+:} false; then :
   6084   $as_echo_n "(cached) " >&6
   6085 else
   6086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6087 /* end confdefs.h.  */
   6088 int i;
   6089 int
   6090 main ()
   6091 {
   6092 
   6093   ;
   6094   return 0;
   6095 }
   6096 _ACEOF
   6097 if ac_fn_c_try_link "$LINENO"; then :
   6098   eval $cacheid=yes
   6099 else
   6100   eval $cacheid=no
   6101 fi
   6102 rm -f core conftest.err conftest.$ac_objext \
   6103     conftest$ac_exeext conftest.$ac_ext
   6104 fi
   6105 
   6106 
   6107 		CFLAGS="$xorg_testset_save_CFLAGS"
   6108 
   6109 		eval supported=\$$cacheid
   6110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6111 $as_echo "$supported" >&6; }
   6112 		if test "$supported" = "yes" ; then
   6113 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6114 			found="yes"
   6115 		fi
   6116 	fi
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 xorg_testset_save_CFLAGS="$CFLAGS"
   6133 
   6134 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6137 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6138 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6139   $as_echo_n "(cached) " >&6
   6140 else
   6141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6142 /* end confdefs.h.  */
   6143 int i;
   6144 _ACEOF
   6145 if ac_fn_c_try_compile "$LINENO"; then :
   6146   xorg_cv_cc_flag_unknown_warning_option=yes
   6147 else
   6148   xorg_cv_cc_flag_unknown_warning_option=no
   6149 fi
   6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6151 fi
   6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6153 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6155 	CFLAGS="$xorg_testset_save_CFLAGS"
   6156 fi
   6157 
   6158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6161 	fi
   6162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6164 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6165 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6166   $as_echo_n "(cached) " >&6
   6167 else
   6168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6169 /* end confdefs.h.  */
   6170 int i;
   6171 _ACEOF
   6172 if ac_fn_c_try_compile "$LINENO"; then :
   6173   xorg_cv_cc_flag_unused_command_line_argument=yes
   6174 else
   6175   xorg_cv_cc_flag_unused_command_line_argument=no
   6176 fi
   6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6178 fi
   6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6180 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6181 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6182 	CFLAGS="$xorg_testset_save_CFLAGS"
   6183 fi
   6184 
   6185 found="no"
   6186 
   6187 	if test $found = "no" ; then
   6188 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6190 		fi
   6191 
   6192 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6194 		fi
   6195 
   6196 		CFLAGS="$CFLAGS -Wuninitialized"
   6197 
   6198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6199 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6200 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6201 		if eval \${$cacheid+:} false; then :
   6202   $as_echo_n "(cached) " >&6
   6203 else
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 int i;
   6207 int
   6208 main ()
   6209 {
   6210 
   6211   ;
   6212   return 0;
   6213 }
   6214 _ACEOF
   6215 if ac_fn_c_try_link "$LINENO"; then :
   6216   eval $cacheid=yes
   6217 else
   6218   eval $cacheid=no
   6219 fi
   6220 rm -f core conftest.err conftest.$ac_objext \
   6221     conftest$ac_exeext conftest.$ac_ext
   6222 fi
   6223 
   6224 
   6225 		CFLAGS="$xorg_testset_save_CFLAGS"
   6226 
   6227 		eval supported=\$$cacheid
   6228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6229 $as_echo "$supported" >&6; }
   6230 		if test "$supported" = "yes" ; then
   6231 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6232 			found="yes"
   6233 		fi
   6234 	fi
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 xorg_testset_save_CFLAGS="$CFLAGS"
   6251 
   6252 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6253 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6255 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6256 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6257   $as_echo_n "(cached) " >&6
   6258 else
   6259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 int i;
   6262 _ACEOF
   6263 if ac_fn_c_try_compile "$LINENO"; then :
   6264   xorg_cv_cc_flag_unknown_warning_option=yes
   6265 else
   6266   xorg_cv_cc_flag_unknown_warning_option=no
   6267 fi
   6268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6269 fi
   6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6271 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6273 	CFLAGS="$xorg_testset_save_CFLAGS"
   6274 fi
   6275 
   6276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 	fi
   6280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6282 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6283 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6290 if ac_fn_c_try_compile "$LINENO"; then :
   6291   xorg_cv_cc_flag_unused_command_line_argument=yes
   6292 else
   6293   xorg_cv_cc_flag_unused_command_line_argument=no
   6294 fi
   6295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6296 fi
   6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6298 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6300 	CFLAGS="$xorg_testset_save_CFLAGS"
   6301 fi
   6302 
   6303 found="no"
   6304 
   6305 	if test $found = "no" ; then
   6306 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6308 		fi
   6309 
   6310 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6312 		fi
   6313 
   6314 		CFLAGS="$CFLAGS -Wshadow"
   6315 
   6316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6317 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6318 		cacheid=xorg_cv_cc_flag__Wshadow
   6319 		if eval \${$cacheid+:} false; then :
   6320   $as_echo_n "(cached) " >&6
   6321 else
   6322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6323 /* end confdefs.h.  */
   6324 int i;
   6325 int
   6326 main ()
   6327 {
   6328 
   6329   ;
   6330   return 0;
   6331 }
   6332 _ACEOF
   6333 if ac_fn_c_try_link "$LINENO"; then :
   6334   eval $cacheid=yes
   6335 else
   6336   eval $cacheid=no
   6337 fi
   6338 rm -f core conftest.err conftest.$ac_objext \
   6339     conftest$ac_exeext conftest.$ac_ext
   6340 fi
   6341 
   6342 
   6343 		CFLAGS="$xorg_testset_save_CFLAGS"
   6344 
   6345 		eval supported=\$$cacheid
   6346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6347 $as_echo "$supported" >&6; }
   6348 		if test "$supported" = "yes" ; then
   6349 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6350 			found="yes"
   6351 		fi
   6352 	fi
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 xorg_testset_save_CFLAGS="$CFLAGS"
   6369 
   6370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6373 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6374 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6375   $as_echo_n "(cached) " >&6
   6376 else
   6377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6378 /* end confdefs.h.  */
   6379 int i;
   6380 _ACEOF
   6381 if ac_fn_c_try_compile "$LINENO"; then :
   6382   xorg_cv_cc_flag_unknown_warning_option=yes
   6383 else
   6384   xorg_cv_cc_flag_unknown_warning_option=no
   6385 fi
   6386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6387 fi
   6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6389 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6391 	CFLAGS="$xorg_testset_save_CFLAGS"
   6392 fi
   6393 
   6394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 	fi
   6398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6400 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6401 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6402   $as_echo_n "(cached) " >&6
   6403 else
   6404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6405 /* end confdefs.h.  */
   6406 int i;
   6407 _ACEOF
   6408 if ac_fn_c_try_compile "$LINENO"; then :
   6409   xorg_cv_cc_flag_unused_command_line_argument=yes
   6410 else
   6411   xorg_cv_cc_flag_unused_command_line_argument=no
   6412 fi
   6413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6414 fi
   6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6416 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6418 	CFLAGS="$xorg_testset_save_CFLAGS"
   6419 fi
   6420 
   6421 found="no"
   6422 
   6423 	if test $found = "no" ; then
   6424 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6426 		fi
   6427 
   6428 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6430 		fi
   6431 
   6432 		CFLAGS="$CFLAGS -Wcast-qual"
   6433 
   6434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6435 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6436 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6437 		if eval \${$cacheid+:} false; then :
   6438   $as_echo_n "(cached) " >&6
   6439 else
   6440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6441 /* end confdefs.h.  */
   6442 int i;
   6443 int
   6444 main ()
   6445 {
   6446 
   6447   ;
   6448   return 0;
   6449 }
   6450 _ACEOF
   6451 if ac_fn_c_try_link "$LINENO"; then :
   6452   eval $cacheid=yes
   6453 else
   6454   eval $cacheid=no
   6455 fi
   6456 rm -f core conftest.err conftest.$ac_objext \
   6457     conftest$ac_exeext conftest.$ac_ext
   6458 fi
   6459 
   6460 
   6461 		CFLAGS="$xorg_testset_save_CFLAGS"
   6462 
   6463 		eval supported=\$$cacheid
   6464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6465 $as_echo "$supported" >&6; }
   6466 		if test "$supported" = "yes" ; then
   6467 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6468 			found="yes"
   6469 		fi
   6470 	fi
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 xorg_testset_save_CFLAGS="$CFLAGS"
   6487 
   6488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6491 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6492 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6493   $as_echo_n "(cached) " >&6
   6494 else
   6495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6496 /* end confdefs.h.  */
   6497 int i;
   6498 _ACEOF
   6499 if ac_fn_c_try_compile "$LINENO"; then :
   6500   xorg_cv_cc_flag_unknown_warning_option=yes
   6501 else
   6502   xorg_cv_cc_flag_unknown_warning_option=no
   6503 fi
   6504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6505 fi
   6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6507 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6509 	CFLAGS="$xorg_testset_save_CFLAGS"
   6510 fi
   6511 
   6512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6515 	fi
   6516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6518 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6519 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6520   $as_echo_n "(cached) " >&6
   6521 else
   6522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6523 /* end confdefs.h.  */
   6524 int i;
   6525 _ACEOF
   6526 if ac_fn_c_try_compile "$LINENO"; then :
   6527   xorg_cv_cc_flag_unused_command_line_argument=yes
   6528 else
   6529   xorg_cv_cc_flag_unused_command_line_argument=no
   6530 fi
   6531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6532 fi
   6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6534 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6536 	CFLAGS="$xorg_testset_save_CFLAGS"
   6537 fi
   6538 
   6539 found="no"
   6540 
   6541 	if test $found = "no" ; then
   6542 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6544 		fi
   6545 
   6546 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6548 		fi
   6549 
   6550 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6551 
   6552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6553 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6554 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6555 		if eval \${$cacheid+:} false; then :
   6556   $as_echo_n "(cached) " >&6
   6557 else
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 int
   6562 main ()
   6563 {
   6564 
   6565   ;
   6566   return 0;
   6567 }
   6568 _ACEOF
   6569 if ac_fn_c_try_link "$LINENO"; then :
   6570   eval $cacheid=yes
   6571 else
   6572   eval $cacheid=no
   6573 fi
   6574 rm -f core conftest.err conftest.$ac_objext \
   6575     conftest$ac_exeext conftest.$ac_ext
   6576 fi
   6577 
   6578 
   6579 		CFLAGS="$xorg_testset_save_CFLAGS"
   6580 
   6581 		eval supported=\$$cacheid
   6582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6583 $as_echo "$supported" >&6; }
   6584 		if test "$supported" = "yes" ; then
   6585 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6586 			found="yes"
   6587 		fi
   6588 	fi
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 xorg_testset_save_CFLAGS="$CFLAGS"
   6605 
   6606 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6609 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6610 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6611   $as_echo_n "(cached) " >&6
   6612 else
   6613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6614 /* end confdefs.h.  */
   6615 int i;
   6616 _ACEOF
   6617 if ac_fn_c_try_compile "$LINENO"; then :
   6618   xorg_cv_cc_flag_unknown_warning_option=yes
   6619 else
   6620   xorg_cv_cc_flag_unknown_warning_option=no
   6621 fi
   6622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6623 fi
   6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6625 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6626 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6627 	CFLAGS="$xorg_testset_save_CFLAGS"
   6628 fi
   6629 
   6630 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6631 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 	fi
   6634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6636 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6637 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6638   $as_echo_n "(cached) " >&6
   6639 else
   6640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6641 /* end confdefs.h.  */
   6642 int i;
   6643 _ACEOF
   6644 if ac_fn_c_try_compile "$LINENO"; then :
   6645   xorg_cv_cc_flag_unused_command_line_argument=yes
   6646 else
   6647   xorg_cv_cc_flag_unused_command_line_argument=no
   6648 fi
   6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6650 fi
   6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6652 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6654 	CFLAGS="$xorg_testset_save_CFLAGS"
   6655 fi
   6656 
   6657 found="no"
   6658 
   6659 	if test $found = "no" ; then
   6660 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6662 		fi
   6663 
   6664 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6666 		fi
   6667 
   6668 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6669 
   6670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6671 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6672 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6673 		if eval \${$cacheid+:} false; then :
   6674   $as_echo_n "(cached) " >&6
   6675 else
   6676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 int
   6680 main ()
   6681 {
   6682 
   6683   ;
   6684   return 0;
   6685 }
   6686 _ACEOF
   6687 if ac_fn_c_try_link "$LINENO"; then :
   6688   eval $cacheid=yes
   6689 else
   6690   eval $cacheid=no
   6691 fi
   6692 rm -f core conftest.err conftest.$ac_objext \
   6693     conftest$ac_exeext conftest.$ac_ext
   6694 fi
   6695 
   6696 
   6697 		CFLAGS="$xorg_testset_save_CFLAGS"
   6698 
   6699 		eval supported=\$$cacheid
   6700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6701 $as_echo "$supported" >&6; }
   6702 		if test "$supported" = "yes" ; then
   6703 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6704 			found="yes"
   6705 		fi
   6706 	fi
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 xorg_testset_save_CFLAGS="$CFLAGS"
   6723 
   6724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6727 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6728 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6729   $as_echo_n "(cached) " >&6
   6730 else
   6731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6732 /* end confdefs.h.  */
   6733 int i;
   6734 _ACEOF
   6735 if ac_fn_c_try_compile "$LINENO"; then :
   6736   xorg_cv_cc_flag_unknown_warning_option=yes
   6737 else
   6738   xorg_cv_cc_flag_unknown_warning_option=no
   6739 fi
   6740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6741 fi
   6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6743 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6744 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6745 	CFLAGS="$xorg_testset_save_CFLAGS"
   6746 fi
   6747 
   6748 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6749 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6750 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 	fi
   6752 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6754 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6755 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6756   $as_echo_n "(cached) " >&6
   6757 else
   6758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6759 /* end confdefs.h.  */
   6760 int i;
   6761 _ACEOF
   6762 if ac_fn_c_try_compile "$LINENO"; then :
   6763   xorg_cv_cc_flag_unused_command_line_argument=yes
   6764 else
   6765   xorg_cv_cc_flag_unused_command_line_argument=no
   6766 fi
   6767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6768 fi
   6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6770 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6772 	CFLAGS="$xorg_testset_save_CFLAGS"
   6773 fi
   6774 
   6775 found="no"
   6776 
   6777 	if test $found = "no" ; then
   6778 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6780 		fi
   6781 
   6782 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6784 		fi
   6785 
   6786 		CFLAGS="$CFLAGS -Wredundant-decls"
   6787 
   6788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6789 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6790 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6791 		if eval \${$cacheid+:} false; then :
   6792   $as_echo_n "(cached) " >&6
   6793 else
   6794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6795 /* end confdefs.h.  */
   6796 int i;
   6797 int
   6798 main ()
   6799 {
   6800 
   6801   ;
   6802   return 0;
   6803 }
   6804 _ACEOF
   6805 if ac_fn_c_try_link "$LINENO"; then :
   6806   eval $cacheid=yes
   6807 else
   6808   eval $cacheid=no
   6809 fi
   6810 rm -f core conftest.err conftest.$ac_objext \
   6811     conftest$ac_exeext conftest.$ac_ext
   6812 fi
   6813 
   6814 
   6815 		CFLAGS="$xorg_testset_save_CFLAGS"
   6816 
   6817 		eval supported=\$$cacheid
   6818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6819 $as_echo "$supported" >&6; }
   6820 		if test "$supported" = "yes" ; then
   6821 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6822 			found="yes"
   6823 		fi
   6824 	fi
   6825 
   6826 
   6827 
   6828 # These are currently disabled because they are noisy.  They will be enabled
   6829 # in the future once the codebase is sufficiently modernized to silence
   6830 # them.  For now, I don't want them to drown out the other warnings.
   6831 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6832 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6833 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6834 
   6835 # Turn some warnings into errors, so we don't accidently get successful builds
   6836 # when there are problems that should be fixed.
   6837 
   6838 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 xorg_testset_save_CFLAGS="$CFLAGS"
   6853 
   6854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6859   $as_echo_n "(cached) " >&6
   6860 else
   6861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6862 /* end confdefs.h.  */
   6863 int i;
   6864 _ACEOF
   6865 if ac_fn_c_try_compile "$LINENO"; then :
   6866   xorg_cv_cc_flag_unknown_warning_option=yes
   6867 else
   6868   xorg_cv_cc_flag_unknown_warning_option=no
   6869 fi
   6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6871 fi
   6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6875 	CFLAGS="$xorg_testset_save_CFLAGS"
   6876 fi
   6877 
   6878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6881 	fi
   6882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6886   $as_echo_n "(cached) " >&6
   6887 else
   6888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6889 /* end confdefs.h.  */
   6890 int i;
   6891 _ACEOF
   6892 if ac_fn_c_try_compile "$LINENO"; then :
   6893   xorg_cv_cc_flag_unused_command_line_argument=yes
   6894 else
   6895   xorg_cv_cc_flag_unused_command_line_argument=no
   6896 fi
   6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6898 fi
   6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6902 	CFLAGS="$xorg_testset_save_CFLAGS"
   6903 fi
   6904 
   6905 found="no"
   6906 
   6907 	if test $found = "no" ; then
   6908 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6910 		fi
   6911 
   6912 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6914 		fi
   6915 
   6916 		CFLAGS="$CFLAGS -Werror=implicit"
   6917 
   6918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6919 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6920 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6921 		if eval \${$cacheid+:} false; then :
   6922   $as_echo_n "(cached) " >&6
   6923 else
   6924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6925 /* end confdefs.h.  */
   6926 int i;
   6927 int
   6928 main ()
   6929 {
   6930 
   6931   ;
   6932   return 0;
   6933 }
   6934 _ACEOF
   6935 if ac_fn_c_try_link "$LINENO"; then :
   6936   eval $cacheid=yes
   6937 else
   6938   eval $cacheid=no
   6939 fi
   6940 rm -f core conftest.err conftest.$ac_objext \
   6941     conftest$ac_exeext conftest.$ac_ext
   6942 fi
   6943 
   6944 
   6945 		CFLAGS="$xorg_testset_save_CFLAGS"
   6946 
   6947 		eval supported=\$$cacheid
   6948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6949 $as_echo "$supported" >&6; }
   6950 		if test "$supported" = "yes" ; then
   6951 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6952 			found="yes"
   6953 		fi
   6954 	fi
   6955 
   6956 	if test $found = "no" ; then
   6957 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6959 		fi
   6960 
   6961 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6963 		fi
   6964 
   6965 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6966 
   6967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6968 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6969 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6970 		if eval \${$cacheid+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 int i;
   6976 int
   6977 main ()
   6978 {
   6979 
   6980   ;
   6981   return 0;
   6982 }
   6983 _ACEOF
   6984 if ac_fn_c_try_link "$LINENO"; then :
   6985   eval $cacheid=yes
   6986 else
   6987   eval $cacheid=no
   6988 fi
   6989 rm -f core conftest.err conftest.$ac_objext \
   6990     conftest$ac_exeext conftest.$ac_ext
   6991 fi
   6992 
   6993 
   6994 		CFLAGS="$xorg_testset_save_CFLAGS"
   6995 
   6996 		eval supported=\$$cacheid
   6997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6998 $as_echo "$supported" >&6; }
   6999 		if test "$supported" = "yes" ; then
   7000 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7001 			found="yes"
   7002 		fi
   7003 	fi
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 xorg_testset_save_CFLAGS="$CFLAGS"
   7020 
   7021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7026   $as_echo_n "(cached) " >&6
   7027 else
   7028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7029 /* end confdefs.h.  */
   7030 int i;
   7031 _ACEOF
   7032 if ac_fn_c_try_compile "$LINENO"; then :
   7033   xorg_cv_cc_flag_unknown_warning_option=yes
   7034 else
   7035   xorg_cv_cc_flag_unknown_warning_option=no
   7036 fi
   7037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7038 fi
   7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7042 	CFLAGS="$xorg_testset_save_CFLAGS"
   7043 fi
   7044 
   7045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7048 	fi
   7049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7053   $as_echo_n "(cached) " >&6
   7054 else
   7055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7056 /* end confdefs.h.  */
   7057 int i;
   7058 _ACEOF
   7059 if ac_fn_c_try_compile "$LINENO"; then :
   7060   xorg_cv_cc_flag_unused_command_line_argument=yes
   7061 else
   7062   xorg_cv_cc_flag_unused_command_line_argument=no
   7063 fi
   7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7065 fi
   7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7069 	CFLAGS="$xorg_testset_save_CFLAGS"
   7070 fi
   7071 
   7072 found="no"
   7073 
   7074 	if test $found = "no" ; then
   7075 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7077 		fi
   7078 
   7079 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7081 		fi
   7082 
   7083 		CFLAGS="$CFLAGS -Werror=nonnull"
   7084 
   7085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7086 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7087 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7088 		if eval \${$cacheid+:} false; then :
   7089   $as_echo_n "(cached) " >&6
   7090 else
   7091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7092 /* end confdefs.h.  */
   7093 int i;
   7094 int
   7095 main ()
   7096 {
   7097 
   7098   ;
   7099   return 0;
   7100 }
   7101 _ACEOF
   7102 if ac_fn_c_try_link "$LINENO"; then :
   7103   eval $cacheid=yes
   7104 else
   7105   eval $cacheid=no
   7106 fi
   7107 rm -f core conftest.err conftest.$ac_objext \
   7108     conftest$ac_exeext conftest.$ac_ext
   7109 fi
   7110 
   7111 
   7112 		CFLAGS="$xorg_testset_save_CFLAGS"
   7113 
   7114 		eval supported=\$$cacheid
   7115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7116 $as_echo "$supported" >&6; }
   7117 		if test "$supported" = "yes" ; then
   7118 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7119 			found="yes"
   7120 		fi
   7121 	fi
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 xorg_testset_save_CFLAGS="$CFLAGS"
   7138 
   7139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7144   $as_echo_n "(cached) " >&6
   7145 else
   7146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7147 /* end confdefs.h.  */
   7148 int i;
   7149 _ACEOF
   7150 if ac_fn_c_try_compile "$LINENO"; then :
   7151   xorg_cv_cc_flag_unknown_warning_option=yes
   7152 else
   7153   xorg_cv_cc_flag_unknown_warning_option=no
   7154 fi
   7155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7156 fi
   7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7160 	CFLAGS="$xorg_testset_save_CFLAGS"
   7161 fi
   7162 
   7163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 	fi
   7167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7171   $as_echo_n "(cached) " >&6
   7172 else
   7173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7174 /* end confdefs.h.  */
   7175 int i;
   7176 _ACEOF
   7177 if ac_fn_c_try_compile "$LINENO"; then :
   7178   xorg_cv_cc_flag_unused_command_line_argument=yes
   7179 else
   7180   xorg_cv_cc_flag_unused_command_line_argument=no
   7181 fi
   7182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7183 fi
   7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7187 	CFLAGS="$xorg_testset_save_CFLAGS"
   7188 fi
   7189 
   7190 found="no"
   7191 
   7192 	if test $found = "no" ; then
   7193 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7195 		fi
   7196 
   7197 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7199 		fi
   7200 
   7201 		CFLAGS="$CFLAGS -Werror=init-self"
   7202 
   7203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7204 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7205 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7206 		if eval \${$cacheid+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7210 /* end confdefs.h.  */
   7211 int i;
   7212 int
   7213 main ()
   7214 {
   7215 
   7216   ;
   7217   return 0;
   7218 }
   7219 _ACEOF
   7220 if ac_fn_c_try_link "$LINENO"; then :
   7221   eval $cacheid=yes
   7222 else
   7223   eval $cacheid=no
   7224 fi
   7225 rm -f core conftest.err conftest.$ac_objext \
   7226     conftest$ac_exeext conftest.$ac_ext
   7227 fi
   7228 
   7229 
   7230 		CFLAGS="$xorg_testset_save_CFLAGS"
   7231 
   7232 		eval supported=\$$cacheid
   7233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7234 $as_echo "$supported" >&6; }
   7235 		if test "$supported" = "yes" ; then
   7236 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7237 			found="yes"
   7238 		fi
   7239 	fi
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 xorg_testset_save_CFLAGS="$CFLAGS"
   7256 
   7257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7260 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7261 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7262   $as_echo_n "(cached) " >&6
   7263 else
   7264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7265 /* end confdefs.h.  */
   7266 int i;
   7267 _ACEOF
   7268 if ac_fn_c_try_compile "$LINENO"; then :
   7269   xorg_cv_cc_flag_unknown_warning_option=yes
   7270 else
   7271   xorg_cv_cc_flag_unknown_warning_option=no
   7272 fi
   7273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7274 fi
   7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7276 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7278 	CFLAGS="$xorg_testset_save_CFLAGS"
   7279 fi
   7280 
   7281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 	fi
   7285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7287 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7288 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7289   $as_echo_n "(cached) " >&6
   7290 else
   7291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7292 /* end confdefs.h.  */
   7293 int i;
   7294 _ACEOF
   7295 if ac_fn_c_try_compile "$LINENO"; then :
   7296   xorg_cv_cc_flag_unused_command_line_argument=yes
   7297 else
   7298   xorg_cv_cc_flag_unused_command_line_argument=no
   7299 fi
   7300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7301 fi
   7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7303 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7305 	CFLAGS="$xorg_testset_save_CFLAGS"
   7306 fi
   7307 
   7308 found="no"
   7309 
   7310 	if test $found = "no" ; then
   7311 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7313 		fi
   7314 
   7315 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7317 		fi
   7318 
   7319 		CFLAGS="$CFLAGS -Werror=main"
   7320 
   7321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7322 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7323 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7324 		if eval \${$cacheid+:} false; then :
   7325   $as_echo_n "(cached) " >&6
   7326 else
   7327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7328 /* end confdefs.h.  */
   7329 int i;
   7330 int
   7331 main ()
   7332 {
   7333 
   7334   ;
   7335   return 0;
   7336 }
   7337 _ACEOF
   7338 if ac_fn_c_try_link "$LINENO"; then :
   7339   eval $cacheid=yes
   7340 else
   7341   eval $cacheid=no
   7342 fi
   7343 rm -f core conftest.err conftest.$ac_objext \
   7344     conftest$ac_exeext conftest.$ac_ext
   7345 fi
   7346 
   7347 
   7348 		CFLAGS="$xorg_testset_save_CFLAGS"
   7349 
   7350 		eval supported=\$$cacheid
   7351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7352 $as_echo "$supported" >&6; }
   7353 		if test "$supported" = "yes" ; then
   7354 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7355 			found="yes"
   7356 		fi
   7357 	fi
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 xorg_testset_save_CFLAGS="$CFLAGS"
   7374 
   7375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7378 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7379 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7380   $as_echo_n "(cached) " >&6
   7381 else
   7382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7383 /* end confdefs.h.  */
   7384 int i;
   7385 _ACEOF
   7386 if ac_fn_c_try_compile "$LINENO"; then :
   7387   xorg_cv_cc_flag_unknown_warning_option=yes
   7388 else
   7389   xorg_cv_cc_flag_unknown_warning_option=no
   7390 fi
   7391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7392 fi
   7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7394 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7396 	CFLAGS="$xorg_testset_save_CFLAGS"
   7397 fi
   7398 
   7399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7402 	fi
   7403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7405 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7406 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7407   $as_echo_n "(cached) " >&6
   7408 else
   7409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7410 /* end confdefs.h.  */
   7411 int i;
   7412 _ACEOF
   7413 if ac_fn_c_try_compile "$LINENO"; then :
   7414   xorg_cv_cc_flag_unused_command_line_argument=yes
   7415 else
   7416   xorg_cv_cc_flag_unused_command_line_argument=no
   7417 fi
   7418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7419 fi
   7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7421 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7423 	CFLAGS="$xorg_testset_save_CFLAGS"
   7424 fi
   7425 
   7426 found="no"
   7427 
   7428 	if test $found = "no" ; then
   7429 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7431 		fi
   7432 
   7433 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7435 		fi
   7436 
   7437 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7438 
   7439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7440 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7441 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7442 		if eval \${$cacheid+:} false; then :
   7443   $as_echo_n "(cached) " >&6
   7444 else
   7445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7446 /* end confdefs.h.  */
   7447 int i;
   7448 int
   7449 main ()
   7450 {
   7451 
   7452   ;
   7453   return 0;
   7454 }
   7455 _ACEOF
   7456 if ac_fn_c_try_link "$LINENO"; then :
   7457   eval $cacheid=yes
   7458 else
   7459   eval $cacheid=no
   7460 fi
   7461 rm -f core conftest.err conftest.$ac_objext \
   7462     conftest$ac_exeext conftest.$ac_ext
   7463 fi
   7464 
   7465 
   7466 		CFLAGS="$xorg_testset_save_CFLAGS"
   7467 
   7468 		eval supported=\$$cacheid
   7469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7470 $as_echo "$supported" >&6; }
   7471 		if test "$supported" = "yes" ; then
   7472 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7473 			found="yes"
   7474 		fi
   7475 	fi
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 xorg_testset_save_CFLAGS="$CFLAGS"
   7492 
   7493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7498   $as_echo_n "(cached) " >&6
   7499 else
   7500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7501 /* end confdefs.h.  */
   7502 int i;
   7503 _ACEOF
   7504 if ac_fn_c_try_compile "$LINENO"; then :
   7505   xorg_cv_cc_flag_unknown_warning_option=yes
   7506 else
   7507   xorg_cv_cc_flag_unknown_warning_option=no
   7508 fi
   7509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7510 fi
   7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7514 	CFLAGS="$xorg_testset_save_CFLAGS"
   7515 fi
   7516 
   7517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7520 	fi
   7521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7525   $as_echo_n "(cached) " >&6
   7526 else
   7527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7528 /* end confdefs.h.  */
   7529 int i;
   7530 _ACEOF
   7531 if ac_fn_c_try_compile "$LINENO"; then :
   7532   xorg_cv_cc_flag_unused_command_line_argument=yes
   7533 else
   7534   xorg_cv_cc_flag_unused_command_line_argument=no
   7535 fi
   7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7537 fi
   7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7541 	CFLAGS="$xorg_testset_save_CFLAGS"
   7542 fi
   7543 
   7544 found="no"
   7545 
   7546 	if test $found = "no" ; then
   7547 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7549 		fi
   7550 
   7551 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7553 		fi
   7554 
   7555 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7556 
   7557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7558 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7559 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7560 		if eval \${$cacheid+:} false; then :
   7561   $as_echo_n "(cached) " >&6
   7562 else
   7563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7564 /* end confdefs.h.  */
   7565 int i;
   7566 int
   7567 main ()
   7568 {
   7569 
   7570   ;
   7571   return 0;
   7572 }
   7573 _ACEOF
   7574 if ac_fn_c_try_link "$LINENO"; then :
   7575   eval $cacheid=yes
   7576 else
   7577   eval $cacheid=no
   7578 fi
   7579 rm -f core conftest.err conftest.$ac_objext \
   7580     conftest$ac_exeext conftest.$ac_ext
   7581 fi
   7582 
   7583 
   7584 		CFLAGS="$xorg_testset_save_CFLAGS"
   7585 
   7586 		eval supported=\$$cacheid
   7587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7588 $as_echo "$supported" >&6; }
   7589 		if test "$supported" = "yes" ; then
   7590 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7591 			found="yes"
   7592 		fi
   7593 	fi
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 xorg_testset_save_CFLAGS="$CFLAGS"
   7610 
   7611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7614 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7615 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7616   $as_echo_n "(cached) " >&6
   7617 else
   7618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7619 /* end confdefs.h.  */
   7620 int i;
   7621 _ACEOF
   7622 if ac_fn_c_try_compile "$LINENO"; then :
   7623   xorg_cv_cc_flag_unknown_warning_option=yes
   7624 else
   7625   xorg_cv_cc_flag_unknown_warning_option=no
   7626 fi
   7627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7628 fi
   7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7630 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7632 	CFLAGS="$xorg_testset_save_CFLAGS"
   7633 fi
   7634 
   7635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7638 	fi
   7639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7641 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7642 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7643   $as_echo_n "(cached) " >&6
   7644 else
   7645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7646 /* end confdefs.h.  */
   7647 int i;
   7648 _ACEOF
   7649 if ac_fn_c_try_compile "$LINENO"; then :
   7650   xorg_cv_cc_flag_unused_command_line_argument=yes
   7651 else
   7652   xorg_cv_cc_flag_unused_command_line_argument=no
   7653 fi
   7654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7655 fi
   7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7657 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7659 	CFLAGS="$xorg_testset_save_CFLAGS"
   7660 fi
   7661 
   7662 found="no"
   7663 
   7664 	if test $found = "no" ; then
   7665 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7667 		fi
   7668 
   7669 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7671 		fi
   7672 
   7673 		CFLAGS="$CFLAGS -Werror=return-type"
   7674 
   7675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7676 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7677 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7678 		if eval \${$cacheid+:} false; then :
   7679   $as_echo_n "(cached) " >&6
   7680 else
   7681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7682 /* end confdefs.h.  */
   7683 int i;
   7684 int
   7685 main ()
   7686 {
   7687 
   7688   ;
   7689   return 0;
   7690 }
   7691 _ACEOF
   7692 if ac_fn_c_try_link "$LINENO"; then :
   7693   eval $cacheid=yes
   7694 else
   7695   eval $cacheid=no
   7696 fi
   7697 rm -f core conftest.err conftest.$ac_objext \
   7698     conftest$ac_exeext conftest.$ac_ext
   7699 fi
   7700 
   7701 
   7702 		CFLAGS="$xorg_testset_save_CFLAGS"
   7703 
   7704 		eval supported=\$$cacheid
   7705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7706 $as_echo "$supported" >&6; }
   7707 		if test "$supported" = "yes" ; then
   7708 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7709 			found="yes"
   7710 		fi
   7711 	fi
   7712 
   7713 	if test $found = "no" ; then
   7714 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7715 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7716 		fi
   7717 
   7718 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7719 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7720 		fi
   7721 
   7722 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7723 
   7724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7725 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7726 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7727 		if eval \${$cacheid+:} false; then :
   7728   $as_echo_n "(cached) " >&6
   7729 else
   7730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7731 /* end confdefs.h.  */
   7732 int i;
   7733 int
   7734 main ()
   7735 {
   7736 
   7737   ;
   7738   return 0;
   7739 }
   7740 _ACEOF
   7741 if ac_fn_c_try_link "$LINENO"; then :
   7742   eval $cacheid=yes
   7743 else
   7744   eval $cacheid=no
   7745 fi
   7746 rm -f core conftest.err conftest.$ac_objext \
   7747     conftest$ac_exeext conftest.$ac_ext
   7748 fi
   7749 
   7750 
   7751 		CFLAGS="$xorg_testset_save_CFLAGS"
   7752 
   7753 		eval supported=\$$cacheid
   7754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7755 $as_echo "$supported" >&6; }
   7756 		if test "$supported" = "yes" ; then
   7757 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7758 			found="yes"
   7759 		fi
   7760 	fi
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 xorg_testset_save_CFLAGS="$CFLAGS"
   7777 
   7778 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7779 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7781 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7782 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7783   $as_echo_n "(cached) " >&6
   7784 else
   7785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7786 /* end confdefs.h.  */
   7787 int i;
   7788 _ACEOF
   7789 if ac_fn_c_try_compile "$LINENO"; then :
   7790   xorg_cv_cc_flag_unknown_warning_option=yes
   7791 else
   7792   xorg_cv_cc_flag_unknown_warning_option=no
   7793 fi
   7794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7795 fi
   7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7797 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7799 	CFLAGS="$xorg_testset_save_CFLAGS"
   7800 fi
   7801 
   7802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7805 	fi
   7806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7808 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7809 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7810   $as_echo_n "(cached) " >&6
   7811 else
   7812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7813 /* end confdefs.h.  */
   7814 int i;
   7815 _ACEOF
   7816 if ac_fn_c_try_compile "$LINENO"; then :
   7817   xorg_cv_cc_flag_unused_command_line_argument=yes
   7818 else
   7819   xorg_cv_cc_flag_unused_command_line_argument=no
   7820 fi
   7821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7822 fi
   7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7824 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7826 	CFLAGS="$xorg_testset_save_CFLAGS"
   7827 fi
   7828 
   7829 found="no"
   7830 
   7831 	if test $found = "no" ; then
   7832 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7834 		fi
   7835 
   7836 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7838 		fi
   7839 
   7840 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7841 
   7842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7843 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7844 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7845 		if eval \${$cacheid+:} false; then :
   7846   $as_echo_n "(cached) " >&6
   7847 else
   7848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7849 /* end confdefs.h.  */
   7850 int i;
   7851 int
   7852 main ()
   7853 {
   7854 
   7855   ;
   7856   return 0;
   7857 }
   7858 _ACEOF
   7859 if ac_fn_c_try_link "$LINENO"; then :
   7860   eval $cacheid=yes
   7861 else
   7862   eval $cacheid=no
   7863 fi
   7864 rm -f core conftest.err conftest.$ac_objext \
   7865     conftest$ac_exeext conftest.$ac_ext
   7866 fi
   7867 
   7868 
   7869 		CFLAGS="$xorg_testset_save_CFLAGS"
   7870 
   7871 		eval supported=\$$cacheid
   7872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7873 $as_echo "$supported" >&6; }
   7874 		if test "$supported" = "yes" ; then
   7875 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7876 			found="yes"
   7877 		fi
   7878 	fi
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 xorg_testset_save_CFLAGS="$CFLAGS"
   7895 
   7896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7899 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7900 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7901   $as_echo_n "(cached) " >&6
   7902 else
   7903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904 /* end confdefs.h.  */
   7905 int i;
   7906 _ACEOF
   7907 if ac_fn_c_try_compile "$LINENO"; then :
   7908   xorg_cv_cc_flag_unknown_warning_option=yes
   7909 else
   7910   xorg_cv_cc_flag_unknown_warning_option=no
   7911 fi
   7912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7913 fi
   7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7915 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7917 	CFLAGS="$xorg_testset_save_CFLAGS"
   7918 fi
   7919 
   7920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 	fi
   7924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7926 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7927 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7928   $as_echo_n "(cached) " >&6
   7929 else
   7930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7931 /* end confdefs.h.  */
   7932 int i;
   7933 _ACEOF
   7934 if ac_fn_c_try_compile "$LINENO"; then :
   7935   xorg_cv_cc_flag_unused_command_line_argument=yes
   7936 else
   7937   xorg_cv_cc_flag_unused_command_line_argument=no
   7938 fi
   7939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7940 fi
   7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7942 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7944 	CFLAGS="$xorg_testset_save_CFLAGS"
   7945 fi
   7946 
   7947 found="no"
   7948 
   7949 	if test $found = "no" ; then
   7950 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7952 		fi
   7953 
   7954 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7956 		fi
   7957 
   7958 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7959 
   7960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7961 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7962 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7963 		if eval \${$cacheid+:} false; then :
   7964   $as_echo_n "(cached) " >&6
   7965 else
   7966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7967 /* end confdefs.h.  */
   7968 int i;
   7969 int
   7970 main ()
   7971 {
   7972 
   7973   ;
   7974   return 0;
   7975 }
   7976 _ACEOF
   7977 if ac_fn_c_try_link "$LINENO"; then :
   7978   eval $cacheid=yes
   7979 else
   7980   eval $cacheid=no
   7981 fi
   7982 rm -f core conftest.err conftest.$ac_objext \
   7983     conftest$ac_exeext conftest.$ac_ext
   7984 fi
   7985 
   7986 
   7987 		CFLAGS="$xorg_testset_save_CFLAGS"
   7988 
   7989 		eval supported=\$$cacheid
   7990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7991 $as_echo "$supported" >&6; }
   7992 		if test "$supported" = "yes" ; then
   7993 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7994 			found="yes"
   7995 		fi
   7996 	fi
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 xorg_testset_save_CFLAGS="$CFLAGS"
   8013 
   8014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8019   $as_echo_n "(cached) " >&6
   8020 else
   8021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8022 /* end confdefs.h.  */
   8023 int i;
   8024 _ACEOF
   8025 if ac_fn_c_try_compile "$LINENO"; then :
   8026   xorg_cv_cc_flag_unknown_warning_option=yes
   8027 else
   8028   xorg_cv_cc_flag_unknown_warning_option=no
   8029 fi
   8030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8031 fi
   8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8035 	CFLAGS="$xorg_testset_save_CFLAGS"
   8036 fi
   8037 
   8038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8041 	fi
   8042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8046   $as_echo_n "(cached) " >&6
   8047 else
   8048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 _ACEOF
   8052 if ac_fn_c_try_compile "$LINENO"; then :
   8053   xorg_cv_cc_flag_unused_command_line_argument=yes
   8054 else
   8055   xorg_cv_cc_flag_unused_command_line_argument=no
   8056 fi
   8057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8058 fi
   8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8062 	CFLAGS="$xorg_testset_save_CFLAGS"
   8063 fi
   8064 
   8065 found="no"
   8066 
   8067 	if test $found = "no" ; then
   8068 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8070 		fi
   8071 
   8072 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8074 		fi
   8075 
   8076 		CFLAGS="$CFLAGS -Werror=write-strings"
   8077 
   8078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8079 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8080 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8081 		if eval \${$cacheid+:} false; then :
   8082   $as_echo_n "(cached) " >&6
   8083 else
   8084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8085 /* end confdefs.h.  */
   8086 int i;
   8087 int
   8088 main ()
   8089 {
   8090 
   8091   ;
   8092   return 0;
   8093 }
   8094 _ACEOF
   8095 if ac_fn_c_try_link "$LINENO"; then :
   8096   eval $cacheid=yes
   8097 else
   8098   eval $cacheid=no
   8099 fi
   8100 rm -f core conftest.err conftest.$ac_objext \
   8101     conftest$ac_exeext conftest.$ac_ext
   8102 fi
   8103 
   8104 
   8105 		CFLAGS="$xorg_testset_save_CFLAGS"
   8106 
   8107 		eval supported=\$$cacheid
   8108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8109 $as_echo "$supported" >&6; }
   8110 		if test "$supported" = "yes" ; then
   8111 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8112 			found="yes"
   8113 		fi
   8114 	fi
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 xorg_testset_save_CFLAGS="$CFLAGS"
   8131 
   8132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8137   $as_echo_n "(cached) " >&6
   8138 else
   8139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8140 /* end confdefs.h.  */
   8141 int i;
   8142 _ACEOF
   8143 if ac_fn_c_try_compile "$LINENO"; then :
   8144   xorg_cv_cc_flag_unknown_warning_option=yes
   8145 else
   8146   xorg_cv_cc_flag_unknown_warning_option=no
   8147 fi
   8148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8149 fi
   8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8153 	CFLAGS="$xorg_testset_save_CFLAGS"
   8154 fi
   8155 
   8156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8159 	fi
   8160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8164   $as_echo_n "(cached) " >&6
   8165 else
   8166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8167 /* end confdefs.h.  */
   8168 int i;
   8169 _ACEOF
   8170 if ac_fn_c_try_compile "$LINENO"; then :
   8171   xorg_cv_cc_flag_unused_command_line_argument=yes
   8172 else
   8173   xorg_cv_cc_flag_unused_command_line_argument=no
   8174 fi
   8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8176 fi
   8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8180 	CFLAGS="$xorg_testset_save_CFLAGS"
   8181 fi
   8182 
   8183 found="no"
   8184 
   8185 	if test $found = "no" ; then
   8186 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8188 		fi
   8189 
   8190 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8192 		fi
   8193 
   8194 		CFLAGS="$CFLAGS -Werror=address"
   8195 
   8196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8197 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8198 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8199 		if eval \${$cacheid+:} false; then :
   8200   $as_echo_n "(cached) " >&6
   8201 else
   8202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8203 /* end confdefs.h.  */
   8204 int i;
   8205 int
   8206 main ()
   8207 {
   8208 
   8209   ;
   8210   return 0;
   8211 }
   8212 _ACEOF
   8213 if ac_fn_c_try_link "$LINENO"; then :
   8214   eval $cacheid=yes
   8215 else
   8216   eval $cacheid=no
   8217 fi
   8218 rm -f core conftest.err conftest.$ac_objext \
   8219     conftest$ac_exeext conftest.$ac_ext
   8220 fi
   8221 
   8222 
   8223 		CFLAGS="$xorg_testset_save_CFLAGS"
   8224 
   8225 		eval supported=\$$cacheid
   8226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8227 $as_echo "$supported" >&6; }
   8228 		if test "$supported" = "yes" ; then
   8229 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8230 			found="yes"
   8231 		fi
   8232 	fi
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 
   8248 xorg_testset_save_CFLAGS="$CFLAGS"
   8249 
   8250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8253 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8254 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8255   $as_echo_n "(cached) " >&6
   8256 else
   8257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8258 /* end confdefs.h.  */
   8259 int i;
   8260 _ACEOF
   8261 if ac_fn_c_try_compile "$LINENO"; then :
   8262   xorg_cv_cc_flag_unknown_warning_option=yes
   8263 else
   8264   xorg_cv_cc_flag_unknown_warning_option=no
   8265 fi
   8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8267 fi
   8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8269 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8270 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8271 	CFLAGS="$xorg_testset_save_CFLAGS"
   8272 fi
   8273 
   8274 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8275 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8276 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8277 	fi
   8278 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8280 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8281 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8285 /* end confdefs.h.  */
   8286 int i;
   8287 _ACEOF
   8288 if ac_fn_c_try_compile "$LINENO"; then :
   8289   xorg_cv_cc_flag_unused_command_line_argument=yes
   8290 else
   8291   xorg_cv_cc_flag_unused_command_line_argument=no
   8292 fi
   8293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8294 fi
   8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8296 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8298 	CFLAGS="$xorg_testset_save_CFLAGS"
   8299 fi
   8300 
   8301 found="no"
   8302 
   8303 	if test $found = "no" ; then
   8304 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8306 		fi
   8307 
   8308 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8310 		fi
   8311 
   8312 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8313 
   8314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8315 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8316 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8317 		if eval \${$cacheid+:} false; then :
   8318   $as_echo_n "(cached) " >&6
   8319 else
   8320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8321 /* end confdefs.h.  */
   8322 int i;
   8323 int
   8324 main ()
   8325 {
   8326 
   8327   ;
   8328   return 0;
   8329 }
   8330 _ACEOF
   8331 if ac_fn_c_try_link "$LINENO"; then :
   8332   eval $cacheid=yes
   8333 else
   8334   eval $cacheid=no
   8335 fi
   8336 rm -f core conftest.err conftest.$ac_objext \
   8337     conftest$ac_exeext conftest.$ac_ext
   8338 fi
   8339 
   8340 
   8341 		CFLAGS="$xorg_testset_save_CFLAGS"
   8342 
   8343 		eval supported=\$$cacheid
   8344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8345 $as_echo "$supported" >&6; }
   8346 		if test "$supported" = "yes" ; then
   8347 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8348 			found="yes"
   8349 		fi
   8350 	fi
   8351 
   8352 	if test $found = "no" ; then
   8353 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8355 		fi
   8356 
   8357 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8359 		fi
   8360 
   8361 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8362 
   8363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8364 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8365 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8366 		if eval \${$cacheid+:} false; then :
   8367   $as_echo_n "(cached) " >&6
   8368 else
   8369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8370 /* end confdefs.h.  */
   8371 int i;
   8372 int
   8373 main ()
   8374 {
   8375 
   8376   ;
   8377   return 0;
   8378 }
   8379 _ACEOF
   8380 if ac_fn_c_try_link "$LINENO"; then :
   8381   eval $cacheid=yes
   8382 else
   8383   eval $cacheid=no
   8384 fi
   8385 rm -f core conftest.err conftest.$ac_objext \
   8386     conftest$ac_exeext conftest.$ac_ext
   8387 fi
   8388 
   8389 
   8390 		CFLAGS="$xorg_testset_save_CFLAGS"
   8391 
   8392 		eval supported=\$$cacheid
   8393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8394 $as_echo "$supported" >&6; }
   8395 		if test "$supported" = "yes" ; then
   8396 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8397 			found="yes"
   8398 		fi
   8399 	fi
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 xorg_testset_save_CFLAGS="$CFLAGS"
   8416 
   8417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8422   $as_echo_n "(cached) " >&6
   8423 else
   8424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8425 /* end confdefs.h.  */
   8426 int i;
   8427 _ACEOF
   8428 if ac_fn_c_try_compile "$LINENO"; then :
   8429   xorg_cv_cc_flag_unknown_warning_option=yes
   8430 else
   8431   xorg_cv_cc_flag_unknown_warning_option=no
   8432 fi
   8433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8434 fi
   8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8438 	CFLAGS="$xorg_testset_save_CFLAGS"
   8439 fi
   8440 
   8441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8444 	fi
   8445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8449   $as_echo_n "(cached) " >&6
   8450 else
   8451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8452 /* end confdefs.h.  */
   8453 int i;
   8454 _ACEOF
   8455 if ac_fn_c_try_compile "$LINENO"; then :
   8456   xorg_cv_cc_flag_unused_command_line_argument=yes
   8457 else
   8458   xorg_cv_cc_flag_unused_command_line_argument=no
   8459 fi
   8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8461 fi
   8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8465 	CFLAGS="$xorg_testset_save_CFLAGS"
   8466 fi
   8467 
   8468 found="no"
   8469 
   8470 	if test $found = "no" ; then
   8471 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8473 		fi
   8474 
   8475 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8477 		fi
   8478 
   8479 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8480 
   8481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8482 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8483 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8484 		if eval \${$cacheid+:} false; then :
   8485   $as_echo_n "(cached) " >&6
   8486 else
   8487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8488 /* end confdefs.h.  */
   8489 int i;
   8490 int
   8491 main ()
   8492 {
   8493 
   8494   ;
   8495   return 0;
   8496 }
   8497 _ACEOF
   8498 if ac_fn_c_try_link "$LINENO"; then :
   8499   eval $cacheid=yes
   8500 else
   8501   eval $cacheid=no
   8502 fi
   8503 rm -f core conftest.err conftest.$ac_objext \
   8504     conftest$ac_exeext conftest.$ac_ext
   8505 fi
   8506 
   8507 
   8508 		CFLAGS="$xorg_testset_save_CFLAGS"
   8509 
   8510 		eval supported=\$$cacheid
   8511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8512 $as_echo "$supported" >&6; }
   8513 		if test "$supported" = "yes" ; then
   8514 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8515 			found="yes"
   8516 		fi
   8517 	fi
   8518 
   8519  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8520 else
   8521 { $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
   8522 $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;}
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 xorg_testset_save_CFLAGS="$CFLAGS"
   8537 
   8538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8541 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8542 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8543   $as_echo_n "(cached) " >&6
   8544 else
   8545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8546 /* end confdefs.h.  */
   8547 int i;
   8548 _ACEOF
   8549 if ac_fn_c_try_compile "$LINENO"; then :
   8550   xorg_cv_cc_flag_unknown_warning_option=yes
   8551 else
   8552   xorg_cv_cc_flag_unknown_warning_option=no
   8553 fi
   8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8555 fi
   8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8557 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8558 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8559 	CFLAGS="$xorg_testset_save_CFLAGS"
   8560 fi
   8561 
   8562 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8563 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8564 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8565 	fi
   8566 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8568 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8569 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8570   $as_echo_n "(cached) " >&6
   8571 else
   8572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8573 /* end confdefs.h.  */
   8574 int i;
   8575 _ACEOF
   8576 if ac_fn_c_try_compile "$LINENO"; then :
   8577   xorg_cv_cc_flag_unused_command_line_argument=yes
   8578 else
   8579   xorg_cv_cc_flag_unused_command_line_argument=no
   8580 fi
   8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8582 fi
   8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8584 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8586 	CFLAGS="$xorg_testset_save_CFLAGS"
   8587 fi
   8588 
   8589 found="no"
   8590 
   8591 	if test $found = "no" ; then
   8592 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8594 		fi
   8595 
   8596 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8598 		fi
   8599 
   8600 		CFLAGS="$CFLAGS -Wimplicit"
   8601 
   8602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8603 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8604 		cacheid=xorg_cv_cc_flag__Wimplicit
   8605 		if eval \${$cacheid+:} false; then :
   8606   $as_echo_n "(cached) " >&6
   8607 else
   8608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8609 /* end confdefs.h.  */
   8610 int i;
   8611 int
   8612 main ()
   8613 {
   8614 
   8615   ;
   8616   return 0;
   8617 }
   8618 _ACEOF
   8619 if ac_fn_c_try_link "$LINENO"; then :
   8620   eval $cacheid=yes
   8621 else
   8622   eval $cacheid=no
   8623 fi
   8624 rm -f core conftest.err conftest.$ac_objext \
   8625     conftest$ac_exeext conftest.$ac_ext
   8626 fi
   8627 
   8628 
   8629 		CFLAGS="$xorg_testset_save_CFLAGS"
   8630 
   8631 		eval supported=\$$cacheid
   8632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8633 $as_echo "$supported" >&6; }
   8634 		if test "$supported" = "yes" ; then
   8635 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8636 			found="yes"
   8637 		fi
   8638 	fi
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 xorg_testset_save_CFLAGS="$CFLAGS"
   8655 
   8656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8659 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8660 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8661   $as_echo_n "(cached) " >&6
   8662 else
   8663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8664 /* end confdefs.h.  */
   8665 int i;
   8666 _ACEOF
   8667 if ac_fn_c_try_compile "$LINENO"; then :
   8668   xorg_cv_cc_flag_unknown_warning_option=yes
   8669 else
   8670   xorg_cv_cc_flag_unknown_warning_option=no
   8671 fi
   8672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8673 fi
   8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8675 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8677 	CFLAGS="$xorg_testset_save_CFLAGS"
   8678 fi
   8679 
   8680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8683 	fi
   8684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8686 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8687 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8688   $as_echo_n "(cached) " >&6
   8689 else
   8690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8691 /* end confdefs.h.  */
   8692 int i;
   8693 _ACEOF
   8694 if ac_fn_c_try_compile "$LINENO"; then :
   8695   xorg_cv_cc_flag_unused_command_line_argument=yes
   8696 else
   8697   xorg_cv_cc_flag_unused_command_line_argument=no
   8698 fi
   8699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8700 fi
   8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8702 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8704 	CFLAGS="$xorg_testset_save_CFLAGS"
   8705 fi
   8706 
   8707 found="no"
   8708 
   8709 	if test $found = "no" ; then
   8710 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8712 		fi
   8713 
   8714 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8716 		fi
   8717 
   8718 		CFLAGS="$CFLAGS -Wnonnull"
   8719 
   8720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8721 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8722 		cacheid=xorg_cv_cc_flag__Wnonnull
   8723 		if eval \${$cacheid+:} false; then :
   8724   $as_echo_n "(cached) " >&6
   8725 else
   8726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8727 /* end confdefs.h.  */
   8728 int i;
   8729 int
   8730 main ()
   8731 {
   8732 
   8733   ;
   8734   return 0;
   8735 }
   8736 _ACEOF
   8737 if ac_fn_c_try_link "$LINENO"; then :
   8738   eval $cacheid=yes
   8739 else
   8740   eval $cacheid=no
   8741 fi
   8742 rm -f core conftest.err conftest.$ac_objext \
   8743     conftest$ac_exeext conftest.$ac_ext
   8744 fi
   8745 
   8746 
   8747 		CFLAGS="$xorg_testset_save_CFLAGS"
   8748 
   8749 		eval supported=\$$cacheid
   8750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8751 $as_echo "$supported" >&6; }
   8752 		if test "$supported" = "yes" ; then
   8753 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8754 			found="yes"
   8755 		fi
   8756 	fi
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 xorg_testset_save_CFLAGS="$CFLAGS"
   8773 
   8774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8779   $as_echo_n "(cached) " >&6
   8780 else
   8781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8782 /* end confdefs.h.  */
   8783 int i;
   8784 _ACEOF
   8785 if ac_fn_c_try_compile "$LINENO"; then :
   8786   xorg_cv_cc_flag_unknown_warning_option=yes
   8787 else
   8788   xorg_cv_cc_flag_unknown_warning_option=no
   8789 fi
   8790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8791 fi
   8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8795 	CFLAGS="$xorg_testset_save_CFLAGS"
   8796 fi
   8797 
   8798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 	fi
   8802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8806   $as_echo_n "(cached) " >&6
   8807 else
   8808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8809 /* end confdefs.h.  */
   8810 int i;
   8811 _ACEOF
   8812 if ac_fn_c_try_compile "$LINENO"; then :
   8813   xorg_cv_cc_flag_unused_command_line_argument=yes
   8814 else
   8815   xorg_cv_cc_flag_unused_command_line_argument=no
   8816 fi
   8817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8818 fi
   8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8822 	CFLAGS="$xorg_testset_save_CFLAGS"
   8823 fi
   8824 
   8825 found="no"
   8826 
   8827 	if test $found = "no" ; then
   8828 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8830 		fi
   8831 
   8832 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8834 		fi
   8835 
   8836 		CFLAGS="$CFLAGS -Winit-self"
   8837 
   8838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8839 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8840 		cacheid=xorg_cv_cc_flag__Winit_self
   8841 		if eval \${$cacheid+:} false; then :
   8842   $as_echo_n "(cached) " >&6
   8843 else
   8844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 int i;
   8847 int
   8848 main ()
   8849 {
   8850 
   8851   ;
   8852   return 0;
   8853 }
   8854 _ACEOF
   8855 if ac_fn_c_try_link "$LINENO"; then :
   8856   eval $cacheid=yes
   8857 else
   8858   eval $cacheid=no
   8859 fi
   8860 rm -f core conftest.err conftest.$ac_objext \
   8861     conftest$ac_exeext conftest.$ac_ext
   8862 fi
   8863 
   8864 
   8865 		CFLAGS="$xorg_testset_save_CFLAGS"
   8866 
   8867 		eval supported=\$$cacheid
   8868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8869 $as_echo "$supported" >&6; }
   8870 		if test "$supported" = "yes" ; then
   8871 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8872 			found="yes"
   8873 		fi
   8874 	fi
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 xorg_testset_save_CFLAGS="$CFLAGS"
   8891 
   8892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8897   $as_echo_n "(cached) " >&6
   8898 else
   8899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8900 /* end confdefs.h.  */
   8901 int i;
   8902 _ACEOF
   8903 if ac_fn_c_try_compile "$LINENO"; then :
   8904   xorg_cv_cc_flag_unknown_warning_option=yes
   8905 else
   8906   xorg_cv_cc_flag_unknown_warning_option=no
   8907 fi
   8908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8909 fi
   8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8913 	CFLAGS="$xorg_testset_save_CFLAGS"
   8914 fi
   8915 
   8916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8919 	fi
   8920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8924   $as_echo_n "(cached) " >&6
   8925 else
   8926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8927 /* end confdefs.h.  */
   8928 int i;
   8929 _ACEOF
   8930 if ac_fn_c_try_compile "$LINENO"; then :
   8931   xorg_cv_cc_flag_unused_command_line_argument=yes
   8932 else
   8933   xorg_cv_cc_flag_unused_command_line_argument=no
   8934 fi
   8935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8936 fi
   8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8940 	CFLAGS="$xorg_testset_save_CFLAGS"
   8941 fi
   8942 
   8943 found="no"
   8944 
   8945 	if test $found = "no" ; then
   8946 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8948 		fi
   8949 
   8950 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8952 		fi
   8953 
   8954 		CFLAGS="$CFLAGS -Wmain"
   8955 
   8956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8957 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8958 		cacheid=xorg_cv_cc_flag__Wmain
   8959 		if eval \${$cacheid+:} false; then :
   8960   $as_echo_n "(cached) " >&6
   8961 else
   8962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8963 /* end confdefs.h.  */
   8964 int i;
   8965 int
   8966 main ()
   8967 {
   8968 
   8969   ;
   8970   return 0;
   8971 }
   8972 _ACEOF
   8973 if ac_fn_c_try_link "$LINENO"; then :
   8974   eval $cacheid=yes
   8975 else
   8976   eval $cacheid=no
   8977 fi
   8978 rm -f core conftest.err conftest.$ac_objext \
   8979     conftest$ac_exeext conftest.$ac_ext
   8980 fi
   8981 
   8982 
   8983 		CFLAGS="$xorg_testset_save_CFLAGS"
   8984 
   8985 		eval supported=\$$cacheid
   8986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8987 $as_echo "$supported" >&6; }
   8988 		if test "$supported" = "yes" ; then
   8989 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8990 			found="yes"
   8991 		fi
   8992 	fi
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 xorg_testset_save_CFLAGS="$CFLAGS"
   9009 
   9010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9015   $as_echo_n "(cached) " >&6
   9016 else
   9017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9018 /* end confdefs.h.  */
   9019 int i;
   9020 _ACEOF
   9021 if ac_fn_c_try_compile "$LINENO"; then :
   9022   xorg_cv_cc_flag_unknown_warning_option=yes
   9023 else
   9024   xorg_cv_cc_flag_unknown_warning_option=no
   9025 fi
   9026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9027 fi
   9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9031 	CFLAGS="$xorg_testset_save_CFLAGS"
   9032 fi
   9033 
   9034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9037 	fi
   9038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9042   $as_echo_n "(cached) " >&6
   9043 else
   9044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9045 /* end confdefs.h.  */
   9046 int i;
   9047 _ACEOF
   9048 if ac_fn_c_try_compile "$LINENO"; then :
   9049   xorg_cv_cc_flag_unused_command_line_argument=yes
   9050 else
   9051   xorg_cv_cc_flag_unused_command_line_argument=no
   9052 fi
   9053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9054 fi
   9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9058 	CFLAGS="$xorg_testset_save_CFLAGS"
   9059 fi
   9060 
   9061 found="no"
   9062 
   9063 	if test $found = "no" ; then
   9064 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9066 		fi
   9067 
   9068 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9070 		fi
   9071 
   9072 		CFLAGS="$CFLAGS -Wmissing-braces"
   9073 
   9074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9075 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9076 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9077 		if eval \${$cacheid+:} 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 int
   9084 main ()
   9085 {
   9086 
   9087   ;
   9088   return 0;
   9089 }
   9090 _ACEOF
   9091 if ac_fn_c_try_link "$LINENO"; then :
   9092   eval $cacheid=yes
   9093 else
   9094   eval $cacheid=no
   9095 fi
   9096 rm -f core conftest.err conftest.$ac_objext \
   9097     conftest$ac_exeext conftest.$ac_ext
   9098 fi
   9099 
   9100 
   9101 		CFLAGS="$xorg_testset_save_CFLAGS"
   9102 
   9103 		eval supported=\$$cacheid
   9104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9105 $as_echo "$supported" >&6; }
   9106 		if test "$supported" = "yes" ; then
   9107 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9108 			found="yes"
   9109 		fi
   9110 	fi
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 xorg_testset_save_CFLAGS="$CFLAGS"
   9127 
   9128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9133   $as_echo_n "(cached) " >&6
   9134 else
   9135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9136 /* end confdefs.h.  */
   9137 int i;
   9138 _ACEOF
   9139 if ac_fn_c_try_compile "$LINENO"; then :
   9140   xorg_cv_cc_flag_unknown_warning_option=yes
   9141 else
   9142   xorg_cv_cc_flag_unknown_warning_option=no
   9143 fi
   9144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9145 fi
   9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9149 	CFLAGS="$xorg_testset_save_CFLAGS"
   9150 fi
   9151 
   9152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9155 	fi
   9156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9160   $as_echo_n "(cached) " >&6
   9161 else
   9162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9163 /* end confdefs.h.  */
   9164 int i;
   9165 _ACEOF
   9166 if ac_fn_c_try_compile "$LINENO"; then :
   9167   xorg_cv_cc_flag_unused_command_line_argument=yes
   9168 else
   9169   xorg_cv_cc_flag_unused_command_line_argument=no
   9170 fi
   9171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9172 fi
   9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9176 	CFLAGS="$xorg_testset_save_CFLAGS"
   9177 fi
   9178 
   9179 found="no"
   9180 
   9181 	if test $found = "no" ; then
   9182 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9184 		fi
   9185 
   9186 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9188 		fi
   9189 
   9190 		CFLAGS="$CFLAGS -Wsequence-point"
   9191 
   9192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9193 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9194 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9195 		if eval \${$cacheid+:} false; then :
   9196   $as_echo_n "(cached) " >&6
   9197 else
   9198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9199 /* end confdefs.h.  */
   9200 int i;
   9201 int
   9202 main ()
   9203 {
   9204 
   9205   ;
   9206   return 0;
   9207 }
   9208 _ACEOF
   9209 if ac_fn_c_try_link "$LINENO"; then :
   9210   eval $cacheid=yes
   9211 else
   9212   eval $cacheid=no
   9213 fi
   9214 rm -f core conftest.err conftest.$ac_objext \
   9215     conftest$ac_exeext conftest.$ac_ext
   9216 fi
   9217 
   9218 
   9219 		CFLAGS="$xorg_testset_save_CFLAGS"
   9220 
   9221 		eval supported=\$$cacheid
   9222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9223 $as_echo "$supported" >&6; }
   9224 		if test "$supported" = "yes" ; then
   9225 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9226 			found="yes"
   9227 		fi
   9228 	fi
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 xorg_testset_save_CFLAGS="$CFLAGS"
   9245 
   9246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9251   $as_echo_n "(cached) " >&6
   9252 else
   9253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9254 /* end confdefs.h.  */
   9255 int i;
   9256 _ACEOF
   9257 if ac_fn_c_try_compile "$LINENO"; then :
   9258   xorg_cv_cc_flag_unknown_warning_option=yes
   9259 else
   9260   xorg_cv_cc_flag_unknown_warning_option=no
   9261 fi
   9262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9263 fi
   9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9267 	CFLAGS="$xorg_testset_save_CFLAGS"
   9268 fi
   9269 
   9270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9273 	fi
   9274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9278   $as_echo_n "(cached) " >&6
   9279 else
   9280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9281 /* end confdefs.h.  */
   9282 int i;
   9283 _ACEOF
   9284 if ac_fn_c_try_compile "$LINENO"; then :
   9285   xorg_cv_cc_flag_unused_command_line_argument=yes
   9286 else
   9287   xorg_cv_cc_flag_unused_command_line_argument=no
   9288 fi
   9289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9290 fi
   9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9294 	CFLAGS="$xorg_testset_save_CFLAGS"
   9295 fi
   9296 
   9297 found="no"
   9298 
   9299 	if test $found = "no" ; then
   9300 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9302 		fi
   9303 
   9304 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9306 		fi
   9307 
   9308 		CFLAGS="$CFLAGS -Wreturn-type"
   9309 
   9310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9311 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9312 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9313 		if eval \${$cacheid+:} false; then :
   9314   $as_echo_n "(cached) " >&6
   9315 else
   9316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9317 /* end confdefs.h.  */
   9318 int i;
   9319 int
   9320 main ()
   9321 {
   9322 
   9323   ;
   9324   return 0;
   9325 }
   9326 _ACEOF
   9327 if ac_fn_c_try_link "$LINENO"; then :
   9328   eval $cacheid=yes
   9329 else
   9330   eval $cacheid=no
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext \
   9333     conftest$ac_exeext conftest.$ac_ext
   9334 fi
   9335 
   9336 
   9337 		CFLAGS="$xorg_testset_save_CFLAGS"
   9338 
   9339 		eval supported=\$$cacheid
   9340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9341 $as_echo "$supported" >&6; }
   9342 		if test "$supported" = "yes" ; then
   9343 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9344 			found="yes"
   9345 		fi
   9346 	fi
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 xorg_testset_save_CFLAGS="$CFLAGS"
   9363 
   9364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9369   $as_echo_n "(cached) " >&6
   9370 else
   9371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9372 /* end confdefs.h.  */
   9373 int i;
   9374 _ACEOF
   9375 if ac_fn_c_try_compile "$LINENO"; then :
   9376   xorg_cv_cc_flag_unknown_warning_option=yes
   9377 else
   9378   xorg_cv_cc_flag_unknown_warning_option=no
   9379 fi
   9380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9381 fi
   9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9385 	CFLAGS="$xorg_testset_save_CFLAGS"
   9386 fi
   9387 
   9388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9391 	fi
   9392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9396   $as_echo_n "(cached) " >&6
   9397 else
   9398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9399 /* end confdefs.h.  */
   9400 int i;
   9401 _ACEOF
   9402 if ac_fn_c_try_compile "$LINENO"; then :
   9403   xorg_cv_cc_flag_unused_command_line_argument=yes
   9404 else
   9405   xorg_cv_cc_flag_unused_command_line_argument=no
   9406 fi
   9407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9408 fi
   9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9412 	CFLAGS="$xorg_testset_save_CFLAGS"
   9413 fi
   9414 
   9415 found="no"
   9416 
   9417 	if test $found = "no" ; then
   9418 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9420 		fi
   9421 
   9422 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9424 		fi
   9425 
   9426 		CFLAGS="$CFLAGS -Wtrigraphs"
   9427 
   9428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9429 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9430 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9431 		if eval \${$cacheid+:} false; then :
   9432   $as_echo_n "(cached) " >&6
   9433 else
   9434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9435 /* end confdefs.h.  */
   9436 int i;
   9437 int
   9438 main ()
   9439 {
   9440 
   9441   ;
   9442   return 0;
   9443 }
   9444 _ACEOF
   9445 if ac_fn_c_try_link "$LINENO"; then :
   9446   eval $cacheid=yes
   9447 else
   9448   eval $cacheid=no
   9449 fi
   9450 rm -f core conftest.err conftest.$ac_objext \
   9451     conftest$ac_exeext conftest.$ac_ext
   9452 fi
   9453 
   9454 
   9455 		CFLAGS="$xorg_testset_save_CFLAGS"
   9456 
   9457 		eval supported=\$$cacheid
   9458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9459 $as_echo "$supported" >&6; }
   9460 		if test "$supported" = "yes" ; then
   9461 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9462 			found="yes"
   9463 		fi
   9464 	fi
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 xorg_testset_save_CFLAGS="$CFLAGS"
   9481 
   9482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9485 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9486 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9487   $as_echo_n "(cached) " >&6
   9488 else
   9489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9490 /* end confdefs.h.  */
   9491 int i;
   9492 _ACEOF
   9493 if ac_fn_c_try_compile "$LINENO"; then :
   9494   xorg_cv_cc_flag_unknown_warning_option=yes
   9495 else
   9496   xorg_cv_cc_flag_unknown_warning_option=no
   9497 fi
   9498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9499 fi
   9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9501 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9503 	CFLAGS="$xorg_testset_save_CFLAGS"
   9504 fi
   9505 
   9506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	fi
   9510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9512 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9513 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9514   $as_echo_n "(cached) " >&6
   9515 else
   9516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9517 /* end confdefs.h.  */
   9518 int i;
   9519 _ACEOF
   9520 if ac_fn_c_try_compile "$LINENO"; then :
   9521   xorg_cv_cc_flag_unused_command_line_argument=yes
   9522 else
   9523   xorg_cv_cc_flag_unused_command_line_argument=no
   9524 fi
   9525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9526 fi
   9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9528 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9530 	CFLAGS="$xorg_testset_save_CFLAGS"
   9531 fi
   9532 
   9533 found="no"
   9534 
   9535 	if test $found = "no" ; then
   9536 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9538 		fi
   9539 
   9540 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9542 		fi
   9543 
   9544 		CFLAGS="$CFLAGS -Warray-bounds"
   9545 
   9546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9547 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9548 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9549 		if eval \${$cacheid+:} false; then :
   9550   $as_echo_n "(cached) " >&6
   9551 else
   9552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9553 /* end confdefs.h.  */
   9554 int i;
   9555 int
   9556 main ()
   9557 {
   9558 
   9559   ;
   9560   return 0;
   9561 }
   9562 _ACEOF
   9563 if ac_fn_c_try_link "$LINENO"; then :
   9564   eval $cacheid=yes
   9565 else
   9566   eval $cacheid=no
   9567 fi
   9568 rm -f core conftest.err conftest.$ac_objext \
   9569     conftest$ac_exeext conftest.$ac_ext
   9570 fi
   9571 
   9572 
   9573 		CFLAGS="$xorg_testset_save_CFLAGS"
   9574 
   9575 		eval supported=\$$cacheid
   9576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9577 $as_echo "$supported" >&6; }
   9578 		if test "$supported" = "yes" ; then
   9579 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9580 			found="yes"
   9581 		fi
   9582 	fi
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 xorg_testset_save_CFLAGS="$CFLAGS"
   9599 
   9600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9605   $as_echo_n "(cached) " >&6
   9606 else
   9607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9608 /* end confdefs.h.  */
   9609 int i;
   9610 _ACEOF
   9611 if ac_fn_c_try_compile "$LINENO"; then :
   9612   xorg_cv_cc_flag_unknown_warning_option=yes
   9613 else
   9614   xorg_cv_cc_flag_unknown_warning_option=no
   9615 fi
   9616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9617 fi
   9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9621 	CFLAGS="$xorg_testset_save_CFLAGS"
   9622 fi
   9623 
   9624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 	fi
   9628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9632   $as_echo_n "(cached) " >&6
   9633 else
   9634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9635 /* end confdefs.h.  */
   9636 int i;
   9637 _ACEOF
   9638 if ac_fn_c_try_compile "$LINENO"; then :
   9639   xorg_cv_cc_flag_unused_command_line_argument=yes
   9640 else
   9641   xorg_cv_cc_flag_unused_command_line_argument=no
   9642 fi
   9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9644 fi
   9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9648 	CFLAGS="$xorg_testset_save_CFLAGS"
   9649 fi
   9650 
   9651 found="no"
   9652 
   9653 	if test $found = "no" ; then
   9654 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9656 		fi
   9657 
   9658 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9660 		fi
   9661 
   9662 		CFLAGS="$CFLAGS -Wwrite-strings"
   9663 
   9664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9665 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9666 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9667 		if eval \${$cacheid+:} false; then :
   9668   $as_echo_n "(cached) " >&6
   9669 else
   9670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9671 /* end confdefs.h.  */
   9672 int i;
   9673 int
   9674 main ()
   9675 {
   9676 
   9677   ;
   9678   return 0;
   9679 }
   9680 _ACEOF
   9681 if ac_fn_c_try_link "$LINENO"; then :
   9682   eval $cacheid=yes
   9683 else
   9684   eval $cacheid=no
   9685 fi
   9686 rm -f core conftest.err conftest.$ac_objext \
   9687     conftest$ac_exeext conftest.$ac_ext
   9688 fi
   9689 
   9690 
   9691 		CFLAGS="$xorg_testset_save_CFLAGS"
   9692 
   9693 		eval supported=\$$cacheid
   9694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9695 $as_echo "$supported" >&6; }
   9696 		if test "$supported" = "yes" ; then
   9697 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9698 			found="yes"
   9699 		fi
   9700 	fi
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 xorg_testset_save_CFLAGS="$CFLAGS"
   9717 
   9718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9723   $as_echo_n "(cached) " >&6
   9724 else
   9725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9726 /* end confdefs.h.  */
   9727 int i;
   9728 _ACEOF
   9729 if ac_fn_c_try_compile "$LINENO"; then :
   9730   xorg_cv_cc_flag_unknown_warning_option=yes
   9731 else
   9732   xorg_cv_cc_flag_unknown_warning_option=no
   9733 fi
   9734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9735 fi
   9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9739 	CFLAGS="$xorg_testset_save_CFLAGS"
   9740 fi
   9741 
   9742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9745 	fi
   9746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9750   $as_echo_n "(cached) " >&6
   9751 else
   9752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9753 /* end confdefs.h.  */
   9754 int i;
   9755 _ACEOF
   9756 if ac_fn_c_try_compile "$LINENO"; then :
   9757   xorg_cv_cc_flag_unused_command_line_argument=yes
   9758 else
   9759   xorg_cv_cc_flag_unused_command_line_argument=no
   9760 fi
   9761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9762 fi
   9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9766 	CFLAGS="$xorg_testset_save_CFLAGS"
   9767 fi
   9768 
   9769 found="no"
   9770 
   9771 	if test $found = "no" ; then
   9772 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9774 		fi
   9775 
   9776 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9778 		fi
   9779 
   9780 		CFLAGS="$CFLAGS -Waddress"
   9781 
   9782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9783 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9784 		cacheid=xorg_cv_cc_flag__Waddress
   9785 		if eval \${$cacheid+:} false; then :
   9786   $as_echo_n "(cached) " >&6
   9787 else
   9788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9789 /* end confdefs.h.  */
   9790 int i;
   9791 int
   9792 main ()
   9793 {
   9794 
   9795   ;
   9796   return 0;
   9797 }
   9798 _ACEOF
   9799 if ac_fn_c_try_link "$LINENO"; then :
   9800   eval $cacheid=yes
   9801 else
   9802   eval $cacheid=no
   9803 fi
   9804 rm -f core conftest.err conftest.$ac_objext \
   9805     conftest$ac_exeext conftest.$ac_ext
   9806 fi
   9807 
   9808 
   9809 		CFLAGS="$xorg_testset_save_CFLAGS"
   9810 
   9811 		eval supported=\$$cacheid
   9812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9813 $as_echo "$supported" >&6; }
   9814 		if test "$supported" = "yes" ; then
   9815 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9816 			found="yes"
   9817 		fi
   9818 	fi
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 xorg_testset_save_CFLAGS="$CFLAGS"
   9835 
   9836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9839 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9840 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9841   $as_echo_n "(cached) " >&6
   9842 else
   9843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9844 /* end confdefs.h.  */
   9845 int i;
   9846 _ACEOF
   9847 if ac_fn_c_try_compile "$LINENO"; then :
   9848   xorg_cv_cc_flag_unknown_warning_option=yes
   9849 else
   9850   xorg_cv_cc_flag_unknown_warning_option=no
   9851 fi
   9852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9853 fi
   9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9855 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9857 	CFLAGS="$xorg_testset_save_CFLAGS"
   9858 fi
   9859 
   9860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9863 	fi
   9864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9866 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9867 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9868   $as_echo_n "(cached) " >&6
   9869 else
   9870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9871 /* end confdefs.h.  */
   9872 int i;
   9873 _ACEOF
   9874 if ac_fn_c_try_compile "$LINENO"; then :
   9875   xorg_cv_cc_flag_unused_command_line_argument=yes
   9876 else
   9877   xorg_cv_cc_flag_unused_command_line_argument=no
   9878 fi
   9879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9880 fi
   9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9882 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9884 	CFLAGS="$xorg_testset_save_CFLAGS"
   9885 fi
   9886 
   9887 found="no"
   9888 
   9889 	if test $found = "no" ; then
   9890 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9892 		fi
   9893 
   9894 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9896 		fi
   9897 
   9898 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9899 
   9900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9901 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9902 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9903 		if eval \${$cacheid+:} false; then :
   9904   $as_echo_n "(cached) " >&6
   9905 else
   9906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int i;
   9909 int
   9910 main ()
   9911 {
   9912 
   9913   ;
   9914   return 0;
   9915 }
   9916 _ACEOF
   9917 if ac_fn_c_try_link "$LINENO"; then :
   9918   eval $cacheid=yes
   9919 else
   9920   eval $cacheid=no
   9921 fi
   9922 rm -f core conftest.err conftest.$ac_objext \
   9923     conftest$ac_exeext conftest.$ac_ext
   9924 fi
   9925 
   9926 
   9927 		CFLAGS="$xorg_testset_save_CFLAGS"
   9928 
   9929 		eval supported=\$$cacheid
   9930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9931 $as_echo "$supported" >&6; }
   9932 		if test "$supported" = "yes" ; then
   9933 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9934 			found="yes"
   9935 		fi
   9936 	fi
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 xorg_testset_save_CFLAGS="$CFLAGS"
   9953 
   9954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9958 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   9965 if ac_fn_c_try_compile "$LINENO"; then :
   9966   xorg_cv_cc_flag_unknown_warning_option=yes
   9967 else
   9968   xorg_cv_cc_flag_unknown_warning_option=no
   9969 fi
   9970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9971 fi
   9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9975 	CFLAGS="$xorg_testset_save_CFLAGS"
   9976 fi
   9977 
   9978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 	fi
   9982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9986   $as_echo_n "(cached) " >&6
   9987 else
   9988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9989 /* end confdefs.h.  */
   9990 int i;
   9991 _ACEOF
   9992 if ac_fn_c_try_compile "$LINENO"; then :
   9993   xorg_cv_cc_flag_unused_command_line_argument=yes
   9994 else
   9995   xorg_cv_cc_flag_unused_command_line_argument=no
   9996 fi
   9997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9998 fi
   9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10002 	CFLAGS="$xorg_testset_save_CFLAGS"
   10003 fi
   10004 
   10005 found="no"
   10006 
   10007 	if test $found = "no" ; then
   10008 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10010 		fi
   10011 
   10012 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10014 		fi
   10015 
   10016 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10017 
   10018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10019 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10020 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10021 		if eval \${$cacheid+:} false; then :
   10022   $as_echo_n "(cached) " >&6
   10023 else
   10024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10025 /* end confdefs.h.  */
   10026 int i;
   10027 int
   10028 main ()
   10029 {
   10030 
   10031   ;
   10032   return 0;
   10033 }
   10034 _ACEOF
   10035 if ac_fn_c_try_link "$LINENO"; then :
   10036   eval $cacheid=yes
   10037 else
   10038   eval $cacheid=no
   10039 fi
   10040 rm -f core conftest.err conftest.$ac_objext \
   10041     conftest$ac_exeext conftest.$ac_ext
   10042 fi
   10043 
   10044 
   10045 		CFLAGS="$xorg_testset_save_CFLAGS"
   10046 
   10047 		eval supported=\$$cacheid
   10048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10049 $as_echo "$supported" >&6; }
   10050 		if test "$supported" = "yes" ; then
   10051 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10052 			found="yes"
   10053 		fi
   10054 	fi
   10055 
   10056 
   10057 fi
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 		CWARNFLAGS="$BASE_CFLAGS"
   10066 		if  test "x$GCC" = xyes ; then
   10067 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10068 		fi
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 # Check whether --enable-strict-compilation was given.
   10078 if test "${enable_strict_compilation+set}" = set; then :
   10079   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10080 else
   10081   STRICT_COMPILE=no
   10082 fi
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 STRICT_CFLAGS=""
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 xorg_testset_save_CFLAGS="$CFLAGS"
   10104 
   10105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10108 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10109 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10110   $as_echo_n "(cached) " >&6
   10111 else
   10112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10113 /* end confdefs.h.  */
   10114 int i;
   10115 _ACEOF
   10116 if ac_fn_c_try_compile "$LINENO"; then :
   10117   xorg_cv_cc_flag_unknown_warning_option=yes
   10118 else
   10119   xorg_cv_cc_flag_unknown_warning_option=no
   10120 fi
   10121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10122 fi
   10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10124 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10126 	CFLAGS="$xorg_testset_save_CFLAGS"
   10127 fi
   10128 
   10129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10132 	fi
   10133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10135 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10136 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10137   $as_echo_n "(cached) " >&6
   10138 else
   10139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10140 /* end confdefs.h.  */
   10141 int i;
   10142 _ACEOF
   10143 if ac_fn_c_try_compile "$LINENO"; then :
   10144   xorg_cv_cc_flag_unused_command_line_argument=yes
   10145 else
   10146   xorg_cv_cc_flag_unused_command_line_argument=no
   10147 fi
   10148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10149 fi
   10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10151 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10153 	CFLAGS="$xorg_testset_save_CFLAGS"
   10154 fi
   10155 
   10156 found="no"
   10157 
   10158 	if test $found = "no" ; then
   10159 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10161 		fi
   10162 
   10163 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10165 		fi
   10166 
   10167 		CFLAGS="$CFLAGS -pedantic"
   10168 
   10169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10170 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10171 		cacheid=xorg_cv_cc_flag__pedantic
   10172 		if eval \${$cacheid+:} false; then :
   10173   $as_echo_n "(cached) " >&6
   10174 else
   10175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10176 /* end confdefs.h.  */
   10177 int i;
   10178 int
   10179 main ()
   10180 {
   10181 
   10182   ;
   10183   return 0;
   10184 }
   10185 _ACEOF
   10186 if ac_fn_c_try_link "$LINENO"; then :
   10187   eval $cacheid=yes
   10188 else
   10189   eval $cacheid=no
   10190 fi
   10191 rm -f core conftest.err conftest.$ac_objext \
   10192     conftest$ac_exeext conftest.$ac_ext
   10193 fi
   10194 
   10195 
   10196 		CFLAGS="$xorg_testset_save_CFLAGS"
   10197 
   10198 		eval supported=\$$cacheid
   10199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10200 $as_echo "$supported" >&6; }
   10201 		if test "$supported" = "yes" ; then
   10202 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10203 			found="yes"
   10204 		fi
   10205 	fi
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 xorg_testset_save_CFLAGS="$CFLAGS"
   10222 
   10223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10228   $as_echo_n "(cached) " >&6
   10229 else
   10230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10231 /* end confdefs.h.  */
   10232 int i;
   10233 _ACEOF
   10234 if ac_fn_c_try_compile "$LINENO"; then :
   10235   xorg_cv_cc_flag_unknown_warning_option=yes
   10236 else
   10237   xorg_cv_cc_flag_unknown_warning_option=no
   10238 fi
   10239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10240 fi
   10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10244 	CFLAGS="$xorg_testset_save_CFLAGS"
   10245 fi
   10246 
   10247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 	fi
   10251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10255   $as_echo_n "(cached) " >&6
   10256 else
   10257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10258 /* end confdefs.h.  */
   10259 int i;
   10260 _ACEOF
   10261 if ac_fn_c_try_compile "$LINENO"; then :
   10262   xorg_cv_cc_flag_unused_command_line_argument=yes
   10263 else
   10264   xorg_cv_cc_flag_unused_command_line_argument=no
   10265 fi
   10266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10267 fi
   10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10271 	CFLAGS="$xorg_testset_save_CFLAGS"
   10272 fi
   10273 
   10274 found="no"
   10275 
   10276 	if test $found = "no" ; then
   10277 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10279 		fi
   10280 
   10281 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10283 		fi
   10284 
   10285 		CFLAGS="$CFLAGS -Werror"
   10286 
   10287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10288 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10289 		cacheid=xorg_cv_cc_flag__Werror
   10290 		if eval \${$cacheid+:} false; then :
   10291   $as_echo_n "(cached) " >&6
   10292 else
   10293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10294 /* end confdefs.h.  */
   10295 int i;
   10296 int
   10297 main ()
   10298 {
   10299 
   10300   ;
   10301   return 0;
   10302 }
   10303 _ACEOF
   10304 if ac_fn_c_try_link "$LINENO"; then :
   10305   eval $cacheid=yes
   10306 else
   10307   eval $cacheid=no
   10308 fi
   10309 rm -f core conftest.err conftest.$ac_objext \
   10310     conftest$ac_exeext conftest.$ac_ext
   10311 fi
   10312 
   10313 
   10314 		CFLAGS="$xorg_testset_save_CFLAGS"
   10315 
   10316 		eval supported=\$$cacheid
   10317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10318 $as_echo "$supported" >&6; }
   10319 		if test "$supported" = "yes" ; then
   10320 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10321 			found="yes"
   10322 		fi
   10323 	fi
   10324 
   10325 	if test $found = "no" ; then
   10326 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10328 		fi
   10329 
   10330 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10332 		fi
   10333 
   10334 		CFLAGS="$CFLAGS -errwarn"
   10335 
   10336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10337 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10338 		cacheid=xorg_cv_cc_flag__errwarn
   10339 		if eval \${$cacheid+:} false; then :
   10340   $as_echo_n "(cached) " >&6
   10341 else
   10342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10343 /* end confdefs.h.  */
   10344 int i;
   10345 int
   10346 main ()
   10347 {
   10348 
   10349   ;
   10350   return 0;
   10351 }
   10352 _ACEOF
   10353 if ac_fn_c_try_link "$LINENO"; then :
   10354   eval $cacheid=yes
   10355 else
   10356   eval $cacheid=no
   10357 fi
   10358 rm -f core conftest.err conftest.$ac_objext \
   10359     conftest$ac_exeext conftest.$ac_ext
   10360 fi
   10361 
   10362 
   10363 		CFLAGS="$xorg_testset_save_CFLAGS"
   10364 
   10365 		eval supported=\$$cacheid
   10366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10367 $as_echo "$supported" >&6; }
   10368 		if test "$supported" = "yes" ; then
   10369 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10370 			found="yes"
   10371 		fi
   10372 	fi
   10373 
   10374 
   10375 
   10376 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10377 # activate it with -Werror, so we add it here explicitly.
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 xorg_testset_save_CFLAGS="$CFLAGS"
   10392 
   10393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10398   $as_echo_n "(cached) " >&6
   10399 else
   10400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 _ACEOF
   10404 if ac_fn_c_try_compile "$LINENO"; then :
   10405   xorg_cv_cc_flag_unknown_warning_option=yes
   10406 else
   10407   xorg_cv_cc_flag_unknown_warning_option=no
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10410 fi
   10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10414 	CFLAGS="$xorg_testset_save_CFLAGS"
   10415 fi
   10416 
   10417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10420 	fi
   10421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10425   $as_echo_n "(cached) " >&6
   10426 else
   10427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10428 /* end confdefs.h.  */
   10429 int i;
   10430 _ACEOF
   10431 if ac_fn_c_try_compile "$LINENO"; then :
   10432   xorg_cv_cc_flag_unused_command_line_argument=yes
   10433 else
   10434   xorg_cv_cc_flag_unused_command_line_argument=no
   10435 fi
   10436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10437 fi
   10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10441 	CFLAGS="$xorg_testset_save_CFLAGS"
   10442 fi
   10443 
   10444 found="no"
   10445 
   10446 	if test $found = "no" ; then
   10447 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10449 		fi
   10450 
   10451 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10453 		fi
   10454 
   10455 		CFLAGS="$CFLAGS -Werror=attributes"
   10456 
   10457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10458 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10459 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10460 		if eval \${$cacheid+:} false; then :
   10461   $as_echo_n "(cached) " >&6
   10462 else
   10463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10464 /* end confdefs.h.  */
   10465 int i;
   10466 int
   10467 main ()
   10468 {
   10469 
   10470   ;
   10471   return 0;
   10472 }
   10473 _ACEOF
   10474 if ac_fn_c_try_link "$LINENO"; then :
   10475   eval $cacheid=yes
   10476 else
   10477   eval $cacheid=no
   10478 fi
   10479 rm -f core conftest.err conftest.$ac_objext \
   10480     conftest$ac_exeext conftest.$ac_ext
   10481 fi
   10482 
   10483 
   10484 		CFLAGS="$xorg_testset_save_CFLAGS"
   10485 
   10486 		eval supported=\$$cacheid
   10487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10488 $as_echo "$supported" >&6; }
   10489 		if test "$supported" = "yes" ; then
   10490 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10491 			found="yes"
   10492 		fi
   10493 	fi
   10494 
   10495 
   10496 
   10497 if test "x$STRICT_COMPILE" = "xyes"; then
   10498     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10499     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10500 fi
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 cat >>confdefs.h <<_ACEOF
   10508 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10509 _ACEOF
   10510 
   10511 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10512 	if test "x$PVM" = "x"; then
   10513 		PVM="0"
   10514 	fi
   10515 
   10516 cat >>confdefs.h <<_ACEOF
   10517 #define PACKAGE_VERSION_MINOR $PVM
   10518 _ACEOF
   10519 
   10520 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10521 	if test "x$PVP" = "x"; then
   10522 		PVP="0"
   10523 	fi
   10524 
   10525 cat >>confdefs.h <<_ACEOF
   10526 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10527 _ACEOF
   10528 
   10529 
   10530 
   10531 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10532 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10533 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10534 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10535 
   10536 
   10537 
   10538 
   10539 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10540 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10541 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10542 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10543 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 if test x$APP_MAN_SUFFIX = x    ; then
   10551     APP_MAN_SUFFIX=1
   10552 fi
   10553 if test x$APP_MAN_DIR = x    ; then
   10554     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10555 fi
   10556 
   10557 if test x$LIB_MAN_SUFFIX = x    ; then
   10558     LIB_MAN_SUFFIX=3
   10559 fi
   10560 if test x$LIB_MAN_DIR = x    ; then
   10561     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10562 fi
   10563 
   10564 if test x$FILE_MAN_SUFFIX = x    ; then
   10565     case $host_os in
   10566 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10567 	*)		FILE_MAN_SUFFIX=5  ;;
   10568     esac
   10569 fi
   10570 if test x$FILE_MAN_DIR = x    ; then
   10571     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10572 fi
   10573 
   10574 if test x$MISC_MAN_SUFFIX = x    ; then
   10575     case $host_os in
   10576 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10577 	*)		MISC_MAN_SUFFIX=7  ;;
   10578     esac
   10579 fi
   10580 if test x$MISC_MAN_DIR = x    ; then
   10581     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10582 fi
   10583 
   10584 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10585     case $host_os in
   10586 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10587 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10588     esac
   10589 fi
   10590 if test x$DRIVER_MAN_DIR = x    ; then
   10591     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10592 fi
   10593 
   10594 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10595     case $host_os in
   10596 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10597 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10598     esac
   10599 fi
   10600 if test x$ADMIN_MAN_DIR = x    ; then
   10601     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10602 fi
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 XORG_MAN_PAGE="X Version 11"
   10619 
   10620 MAN_SUBSTS="\
   10621 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10622 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10623 	-e 's|__xservername__|Xorg|g' \
   10624 	-e 's|__xconfigfile__|xorg.conf|g' \
   10625 	-e 's|__projectroot__|\$(prefix)|g' \
   10626 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10627 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10628 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10629 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10630 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10631 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10632 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10633 
   10634 
   10635 
   10636 # Check whether --enable-silent-rules was given.
   10637 if test "${enable_silent_rules+set}" = set; then :
   10638   enableval=$enable_silent_rules;
   10639 fi
   10640 
   10641 case $enable_silent_rules in # (((
   10642   yes) AM_DEFAULT_VERBOSITY=0;;
   10643    no) AM_DEFAULT_VERBOSITY=1;;
   10644     *) AM_DEFAULT_VERBOSITY=0;;
   10645 esac
   10646 am_make=${MAKE-make}
   10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10648 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10649 if ${am_cv_make_support_nested_variables+:} false; then :
   10650   $as_echo_n "(cached) " >&6
   10651 else
   10652   if $as_echo 'TRUE=$(BAR$(V))
   10653 BAR0=false
   10654 BAR1=true
   10655 V=1
   10656 am__doit:
   10657 	@$(TRUE)
   10658 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10659   am_cv_make_support_nested_variables=yes
   10660 else
   10661   am_cv_make_support_nested_variables=no
   10662 fi
   10663 fi
   10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10665 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10666 if test $am_cv_make_support_nested_variables = yes; then
   10667     AM_V='$(V)'
   10668   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10669 else
   10670   AM_V=$AM_DEFAULT_VERBOSITY
   10671   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10672 fi
   10673 AM_BACKSLASH='\'
   10674 
   10675 
   10676 
   10677 ac_ext=c
   10678 ac_cpp='$CPP $CPPFLAGS'
   10679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   10683 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   10684 # On Suns, sometimes $CPP names a directory.
   10685 if test -n "$CPP" && test -d "$CPP"; then
   10686   CPP=
   10687 fi
   10688 if test -z "$CPP"; then
   10689   if ${ac_cv_prog_CPP+:} false; then :
   10690   $as_echo_n "(cached) " >&6
   10691 else
   10692       # Double quotes because CPP needs to be expanded
   10693     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   10694     do
   10695       ac_preproc_ok=false
   10696 for ac_c_preproc_warn_flag in '' yes
   10697 do
   10698   # Use a header file that comes with gcc, so configuring glibc
   10699   # with a fresh cross-compiler works.
   10700   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10701   # <limits.h> exists even on freestanding compilers.
   10702   # On the NeXT, cc -E runs the code through the compiler's parser,
   10703   # not just through cpp. "Syntax error" is here to catch this case.
   10704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10705 /* end confdefs.h.  */
   10706 #ifdef __STDC__
   10707 # include <limits.h>
   10708 #else
   10709 # include <assert.h>
   10710 #endif
   10711 		     Syntax error
   10712 _ACEOF
   10713 if ac_fn_c_try_cpp "$LINENO"; then :
   10714 
   10715 else
   10716   # Broken: fails on valid input.
   10717 continue
   10718 fi
   10719 rm -f conftest.err conftest.i conftest.$ac_ext
   10720 
   10721   # OK, works on sane cases.  Now check whether nonexistent headers
   10722   # can be detected and how.
   10723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10724 /* end confdefs.h.  */
   10725 #include <ac_nonexistent.h>
   10726 _ACEOF
   10727 if ac_fn_c_try_cpp "$LINENO"; then :
   10728   # Broken: success on invalid input.
   10729 continue
   10730 else
   10731   # Passes both tests.
   10732 ac_preproc_ok=:
   10733 break
   10734 fi
   10735 rm -f conftest.err conftest.i conftest.$ac_ext
   10736 
   10737 done
   10738 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10739 rm -f conftest.i conftest.err conftest.$ac_ext
   10740 if $ac_preproc_ok; then :
   10741   break
   10742 fi
   10743 
   10744     done
   10745     ac_cv_prog_CPP=$CPP
   10746 
   10747 fi
   10748   CPP=$ac_cv_prog_CPP
   10749 else
   10750   ac_cv_prog_CPP=$CPP
   10751 fi
   10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   10753 $as_echo "$CPP" >&6; }
   10754 ac_preproc_ok=false
   10755 for ac_c_preproc_warn_flag in '' yes
   10756 do
   10757   # Use a header file that comes with gcc, so configuring glibc
   10758   # with a fresh cross-compiler works.
   10759   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10760   # <limits.h> exists even on freestanding compilers.
   10761   # On the NeXT, cc -E runs the code through the compiler's parser,
   10762   # not just through cpp. "Syntax error" is here to catch this case.
   10763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10764 /* end confdefs.h.  */
   10765 #ifdef __STDC__
   10766 # include <limits.h>
   10767 #else
   10768 # include <assert.h>
   10769 #endif
   10770 		     Syntax error
   10771 _ACEOF
   10772 if ac_fn_c_try_cpp "$LINENO"; then :
   10773 
   10774 else
   10775   # Broken: fails on valid input.
   10776 continue
   10777 fi
   10778 rm -f conftest.err conftest.i conftest.$ac_ext
   10779 
   10780   # OK, works on sane cases.  Now check whether nonexistent headers
   10781   # can be detected and how.
   10782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10783 /* end confdefs.h.  */
   10784 #include <ac_nonexistent.h>
   10785 _ACEOF
   10786 if ac_fn_c_try_cpp "$LINENO"; then :
   10787   # Broken: success on invalid input.
   10788 continue
   10789 else
   10790   # Passes both tests.
   10791 ac_preproc_ok=:
   10792 break
   10793 fi
   10794 rm -f conftest.err conftest.i conftest.$ac_ext
   10795 
   10796 done
   10797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10798 rm -f conftest.i conftest.err conftest.$ac_ext
   10799 if $ac_preproc_ok; then :
   10800 
   10801 else
   10802   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10804 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   10805 See \`config.log' for more details" "$LINENO" 5; }
   10806 fi
   10807 
   10808 ac_ext=c
   10809 ac_cpp='$CPP $CPPFLAGS'
   10810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10813 
   10814 
   10815 
   10816 for ac_prog in cpp
   10817 do
   10818   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10819 set dummy $ac_prog; ac_word=$2
   10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10821 $as_echo_n "checking for $ac_word... " >&6; }
   10822 if ${ac_cv_path_RAWCPP+:} false; then :
   10823   $as_echo_n "(cached) " >&6
   10824 else
   10825   case $RAWCPP in
   10826   [\\/]* | ?:[\\/]*)
   10827   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   10828   ;;
   10829   *)
   10830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10831 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   10832 for as_dir in $as_dummy
   10833 do
   10834   IFS=$as_save_IFS
   10835   test -z "$as_dir" && as_dir=.
   10836     for ac_exec_ext in '' $ac_executable_extensions; do
   10837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10838     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   10839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10840     break 2
   10841   fi
   10842 done
   10843   done
   10844 IFS=$as_save_IFS
   10845 
   10846   ;;
   10847 esac
   10848 fi
   10849 RAWCPP=$ac_cv_path_RAWCPP
   10850 if test -n "$RAWCPP"; then
   10851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   10852 $as_echo "$RAWCPP" >&6; }
   10853 else
   10854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10855 $as_echo "no" >&6; }
   10856 fi
   10857 
   10858 
   10859   test -n "$RAWCPP" && break
   10860 done
   10861 test -n "$RAWCPP" || RAWCPP="${CPP}"
   10862 
   10863 
   10864 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   10865 # which is not the best choice for supporting other OS'es, but covers most
   10866 # of the ones we need for now.
   10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   10868 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10870 /* end confdefs.h.  */
   10871 Does cpp redefine unix ?
   10872 _ACEOF
   10873 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10875 $as_echo "no" >&6; }
   10876 else
   10877 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10878 		RAWCPPFLAGS=-undef
   10879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10880 $as_echo "yes" >&6; }
   10881 	# under Cygwin unix is still defined even with -undef
   10882 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10883 		RAWCPPFLAGS="-undef -ansi"
   10884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   10885 $as_echo "yes, with -ansi" >&6; }
   10886 	else
   10887 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   10888 	fi
   10889 fi
   10890 rm -f conftest.$ac_ext
   10891 
   10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   10893 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10895 /* end confdefs.h.  */
   10896 Does cpp preserve   "whitespace"?
   10897 _ACEOF
   10898 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10900 $as_echo "no" >&6; }
   10901 else
   10902 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10903 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   10904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10905 $as_echo "yes" >&6; }
   10906 	else
   10907 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   10908 	fi
   10909 fi
   10910 rm -f conftest.$ac_ext
   10911 
   10912 
   10913 CPP_PROGRAM=${RAWCPP}
   10914 
   10915 
   10916 for ac_func in mkstemp
   10917 do :
   10918   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10919 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10920   cat >>confdefs.h <<_ACEOF
   10921 #define HAVE_MKSTEMP 1
   10922 _ACEOF
   10923 
   10924 fi
   10925 done
   10926 
   10927 
   10928 # Extract the first word of "perl", so it can be a program name with args.
   10929 set dummy perl; ac_word=$2
   10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10931 $as_echo_n "checking for $ac_word... " >&6; }
   10932 if ${ac_cv_prog_HAS_PERL+:} false; then :
   10933   $as_echo_n "(cached) " >&6
   10934 else
   10935   if test -n "$HAS_PERL"; then
   10936   ac_cv_prog_HAS_PERL="$HAS_PERL" # Let the user override the test.
   10937 else
   10938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10939 for as_dir in $PATH
   10940 do
   10941   IFS=$as_save_IFS
   10942   test -z "$as_dir" && as_dir=.
   10943     for ac_exec_ext in '' $ac_executable_extensions; do
   10944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10945     ac_cv_prog_HAS_PERL="yes"
   10946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10947     break 2
   10948   fi
   10949 done
   10950   done
   10951 IFS=$as_save_IFS
   10952 
   10953 fi
   10954 fi
   10955 HAS_PERL=$ac_cv_prog_HAS_PERL
   10956 if test -n "$HAS_PERL"; then
   10957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_PERL" >&5
   10958 $as_echo "$HAS_PERL" >&6; }
   10959 else
   10960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10961 $as_echo "no" >&6; }
   10962 fi
   10963 
   10964 
   10965  if test "x$HAS_PERL" = xyes; then
   10966   HAS_PERL_TRUE=
   10967   HAS_PERL_FALSE='#'
   10968 else
   10969   HAS_PERL_TRUE='#'
   10970   HAS_PERL_FALSE=
   10971 fi
   10972 
   10973 
   10974 
   10975 
   10976 DEFAULT_XCONFDIR="${libdir}/X11/config"
   10977 
   10978 # Check whether --with-config-dir was given.
   10979 if test "${with_config_dir+set}" = set; then :
   10980   withval=$with_config_dir; XCONFDIR="$withval"
   10981 else
   10982   XCONFDIR="$DEFAULT_XCONFDIR"
   10983 fi
   10984 
   10985 
   10986 
   10987 DEFAULT_PREPROCESSCMD_MKDEPEND="gcc -E"
   10988 
   10989 # Check whether --with-script-preproc-cmd was given.
   10990 if test "${with_script_preproc_cmd+set}" = set; then :
   10991   withval=$with_script_preproc_cmd; PREPROCESSCMD_MKDEPEND="$withval"
   10992 else
   10993   PREPROCESSCMD_MKDEPEND="$DEFAULT_PREPROCESSCMD_MKDEPEND"
   10994 fi
   10995 
   10996 
   10997 
   10998 DEFAULT_ARCMD="ar clq"
   10999 
   11000 # Check whether --with-create-lib-cmd was given.
   11001 if test "${with_create_lib_cmd+set}" = set; then :
   11002   withval=$with_create_lib_cmd; ARCMD="$withval"
   11003 else
   11004   ARCMD="$DEFAULT_ARCMD"
   11005 fi
   11006 
   11007 
   11008 
   11009 DEFAULT_RANLIB="ranlib"
   11010 
   11011 # Check whether --with-clean-lib-cmd was given.
   11012 if test "${with_clean_lib_cmd+set}" = set; then :
   11013   withval=$with_clean_lib_cmd; RANLIB="$withval"
   11014 else
   11015   RANLIB="$DEFAULT_RANLIB"
   11016 fi
   11017 
   11018 
   11019 
   11020 # Check whether --enable-revpath was given.
   11021 if test "${enable_revpath+set}" = set; then :
   11022   enableval=$enable_revpath; BUILD_REVPATH="$enableval"
   11023 else
   11024   BUILD_REVPATH=yes
   11025 fi
   11026 
   11027  if test "x$BUILD_REVPATH" = xyes; then
   11028   BUILD_REVPATH_TRUE=
   11029   BUILD_REVPATH_FALSE='#'
   11030 else
   11031   BUILD_REVPATH_TRUE='#'
   11032   BUILD_REVPATH_FALSE=
   11033 fi
   11034 
   11035 
   11036 # Check whether --enable-makeg was given.
   11037 if test "${enable_makeg+set}" = set; then :
   11038   enableval=$enable_makeg; BUILD_MAKEG="$enableval"
   11039 else
   11040   BUILD_MAKEG=yes
   11041 fi
   11042 
   11043  if test "x$BUILD_MAKEG" = xyes; then
   11044   BUILD_MAKEG_TRUE=
   11045   BUILD_MAKEG_FALSE='#'
   11046 else
   11047   BUILD_MAKEG_TRUE='#'
   11048   BUILD_MAKEG_FALSE=
   11049 fi
   11050 
   11051 
   11052 # Check whether --enable-xmkmf was given.
   11053 if test "${enable_xmkmf+set}" = set; then :
   11054   enableval=$enable_xmkmf; BUILD_XMKMF="$enableval"
   11055 else
   11056   BUILD_XMKMF=yes
   11057 fi
   11058 
   11059  if test "x$BUILD_XMKMF" = xyes; then
   11060   BUILD_XMKMF_TRUE=
   11061   BUILD_XMKMF_FALSE='#'
   11062 else
   11063   BUILD_XMKMF_TRUE='#'
   11064   BUILD_XMKMF_FALSE=
   11065 fi
   11066 
   11067 
   11068 # Check whether --enable-ccmakedep was given.
   11069 if test "${enable_ccmakedep+set}" = set; then :
   11070   enableval=$enable_ccmakedep; BUILD_CCMAKEDEP="$enableval"
   11071 else
   11072   BUILD_CCMAKEDEP=yes
   11073 fi
   11074 
   11075  if test "x$BUILD_CCMAKEDEP" = xyes; then
   11076   BUILD_CCMAKEDEP_TRUE=
   11077   BUILD_CCMAKEDEP_FALSE='#'
   11078 else
   11079   BUILD_CCMAKEDEP_TRUE='#'
   11080   BUILD_CCMAKEDEP_FALSE=
   11081 fi
   11082 
   11083 
   11084 # Check whether --enable-mergelib was given.
   11085 if test "${enable_mergelib+set}" = set; then :
   11086   enableval=$enable_mergelib; BUILD_MERGELIB="$enableval"
   11087 else
   11088   BUILD_MERGELIB=yes
   11089 fi
   11090 
   11091  if test "x$BUILD_MERGELIB" = xyes; then
   11092   BUILD_MERGELIB_TRUE=
   11093   BUILD_MERGELIB_FALSE='#'
   11094 else
   11095   BUILD_MERGELIB_TRUE='#'
   11096   BUILD_MERGELIB_FALSE=
   11097 fi
   11098 
   11099 
   11100 # Check whether --enable-mkdirhier was given.
   11101 if test "${enable_mkdirhier+set}" = set; then :
   11102   enableval=$enable_mkdirhier; BUILD_MKDIRHIER="$enableval"
   11103 else
   11104   BUILD_MKDIRHIER=yes
   11105 fi
   11106 
   11107  if test "x$BUILD_MKDIRHIER" = xyes; then
   11108   BUILD_MKDIRHIER_TRUE=
   11109   BUILD_MKDIRHIER_FALSE='#'
   11110 else
   11111   BUILD_MKDIRHIER_TRUE='#'
   11112   BUILD_MKDIRHIER_FALSE=
   11113 fi
   11114 
   11115 
   11116 # Check whether --enable-cleanlinks was given.
   11117 if test "${enable_cleanlinks+set}" = set; then :
   11118   enableval=$enable_cleanlinks; BUILD_CLEANLINKS="$enableval"
   11119 else
   11120   BUILD_CLEANLINKS=yes
   11121 fi
   11122 
   11123  if test "x$BUILD_CLEANLINKS" = xyes; then
   11124   BUILD_CLEANLINKS_TRUE=
   11125   BUILD_CLEANLINKS_FALSE='#'
   11126 else
   11127   BUILD_CLEANLINKS_TRUE='#'
   11128   BUILD_CLEANLINKS_FALSE=
   11129 fi
   11130 
   11131 
   11132 # Check whether --enable-mkhtmlindex was given.
   11133 if test "${enable_mkhtmlindex+set}" = set; then :
   11134   enableval=$enable_mkhtmlindex; BUILD_MKHTMLINDEX="$enableval"
   11135 else
   11136   BUILD_MKHTMLINDEX=yes
   11137 fi
   11138 
   11139  if test "x$BUILD_MKHTMLINDEX" = xyes; then
   11140   BUILD_MKHTMLINDEX_TRUE=
   11141   BUILD_MKHTMLINDEX_FALSE='#'
   11142 else
   11143   BUILD_MKHTMLINDEX_TRUE='#'
   11144   BUILD_MKHTMLINDEX_FALSE=
   11145 fi
   11146 
   11147 
   11148 # Checks for pkg-config packages
   11149 
   11150 pkg_failed=no
   11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   11152 $as_echo_n "checking for XPROTO... " >&6; }
   11153 
   11154 if test -n "$XPROTO_CFLAGS"; then
   11155     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   11156  elif test -n "$PKG_CONFIG"; then
   11157     if test -n "$PKG_CONFIG" && \
   11158     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11159   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11160   ac_status=$?
   11161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11162   test $ac_status = 0; }; then
   11163   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   11164 else
   11165   pkg_failed=yes
   11166 fi
   11167  else
   11168     pkg_failed=untried
   11169 fi
   11170 if test -n "$XPROTO_LIBS"; then
   11171     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   11172  elif test -n "$PKG_CONFIG"; then
   11173     if test -n "$PKG_CONFIG" && \
   11174     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11175   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11176   ac_status=$?
   11177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11178   test $ac_status = 0; }; then
   11179   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   11180 else
   11181   pkg_failed=yes
   11182 fi
   11183  else
   11184     pkg_failed=untried
   11185 fi
   11186 
   11187 
   11188 
   11189 if test $pkg_failed = yes; then
   11190 
   11191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11192         _pkg_short_errors_supported=yes
   11193 else
   11194         _pkg_short_errors_supported=no
   11195 fi
   11196         if test $_pkg_short_errors_supported = yes; then
   11197 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   11198         else
   11199 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   11200         fi
   11201 	# Put the nasty error message in config.log where it belongs
   11202 	echo "$XPROTO_PKG_ERRORS" >&5
   11203 
   11204 	as_fn_error $? "Package requirements (xproto) were not met:
   11205 
   11206 $XPROTO_PKG_ERRORS
   11207 
   11208 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11209 installed software in a non-standard prefix.
   11210 
   11211 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11212 and XPROTO_LIBS to avoid the need to call pkg-config.
   11213 See the pkg-config man page for more details.
   11214 " "$LINENO" 5
   11215 elif test $pkg_failed = untried; then
   11216 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11218 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11219 is in your PATH or set the PKG_CONFIG environment variable to the full
   11220 path to pkg-config.
   11221 
   11222 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11223 and XPROTO_LIBS to avoid the need to call pkg-config.
   11224 See the pkg-config man page for more details.
   11225 
   11226 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11227 See \`config.log' for more details" "$LINENO" 5; }
   11228 else
   11229 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   11230 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   11231         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11232 $as_echo "yes" >&6; }
   11233 	:
   11234 fi
   11235 
   11236 ac_config_files="$ac_config_files Makefile"
   11237 
   11238 cat >confcache <<\_ACEOF
   11239 # This file is a shell script that caches the results of configure
   11240 # tests run on this system so they can be shared between configure
   11241 # scripts and configure runs, see configure's option --config-cache.
   11242 # It is not useful on other systems.  If it contains results you don't
   11243 # want to keep, you may remove or edit it.
   11244 #
   11245 # config.status only pays attention to the cache file if you give it
   11246 # the --recheck option to rerun configure.
   11247 #
   11248 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11249 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11250 # following values.
   11251 
   11252 _ACEOF
   11253 
   11254 # The following way of writing the cache mishandles newlines in values,
   11255 # but we know of no workaround that is simple, portable, and efficient.
   11256 # So, we kill variables containing newlines.
   11257 # Ultrix sh set writes to stderr and can't be redirected directly,
   11258 # and sets the high bit in the cache file unless we assign to the vars.
   11259 (
   11260   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11261     eval ac_val=\$$ac_var
   11262     case $ac_val in #(
   11263     *${as_nl}*)
   11264       case $ac_var in #(
   11265       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11266 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11267       esac
   11268       case $ac_var in #(
   11269       _ | IFS | as_nl) ;; #(
   11270       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11271       *) { eval $ac_var=; unset $ac_var;} ;;
   11272       esac ;;
   11273     esac
   11274   done
   11275 
   11276   (set) 2>&1 |
   11277     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11278     *${as_nl}ac_space=\ *)
   11279       # `set' does not quote correctly, so add quotes: double-quote
   11280       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11281       sed -n \
   11282 	"s/'/'\\\\''/g;
   11283 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11284       ;; #(
   11285     *)
   11286       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11287       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11288       ;;
   11289     esac |
   11290     sort
   11291 ) |
   11292   sed '
   11293      /^ac_cv_env_/b end
   11294      t clear
   11295      :clear
   11296      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11297      t end
   11298      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11299      :end' >>confcache
   11300 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11301   if test -w "$cache_file"; then
   11302     if test "x$cache_file" != "x/dev/null"; then
   11303       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11304 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11305       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11306 	cat confcache >"$cache_file"
   11307       else
   11308         case $cache_file in #(
   11309         */* | ?:*)
   11310 	  mv -f confcache "$cache_file"$$ &&
   11311 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11312         *)
   11313 	  mv -f confcache "$cache_file" ;;
   11314 	esac
   11315       fi
   11316     fi
   11317   else
   11318     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11319 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11320   fi
   11321 fi
   11322 rm -f confcache
   11323 
   11324 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11325 # Let make expand exec_prefix.
   11326 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11327 
   11328 DEFS=-DHAVE_CONFIG_H
   11329 
   11330 ac_libobjs=
   11331 ac_ltlibobjs=
   11332 U=
   11333 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11334   # 1. Remove the extension, and $U if already installed.
   11335   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11336   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11337   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11338   #    will be set to the directory where LIBOBJS objects are built.
   11339   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11340   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11341 done
   11342 LIBOBJS=$ac_libobjs
   11343 
   11344 LTLIBOBJS=$ac_ltlibobjs
   11345 
   11346 
   11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11348 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11349    if test -n "$am_sleep_pid"; then
   11350      # Hide warnings about reused PIDs.
   11351      wait $am_sleep_pid 2>/dev/null
   11352    fi
   11353    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11354 $as_echo "done" >&6; }
   11355  if test -n "$EXEEXT"; then
   11356   am__EXEEXT_TRUE=
   11357   am__EXEEXT_FALSE='#'
   11358 else
   11359   am__EXEEXT_TRUE='#'
   11360   am__EXEEXT_FALSE=
   11361 fi
   11362 
   11363 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11364   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11366 fi
   11367 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11368   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11370 fi
   11371 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11372   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11374 fi
   11375 if test -z "${HAS_PERL_TRUE}" && test -z "${HAS_PERL_FALSE}"; then
   11376   as_fn_error $? "conditional \"HAS_PERL\" was never defined.
   11377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11378 fi
   11379 if test -z "${BUILD_REVPATH_TRUE}" && test -z "${BUILD_REVPATH_FALSE}"; then
   11380   as_fn_error $? "conditional \"BUILD_REVPATH\" was never defined.
   11381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11382 fi
   11383 if test -z "${BUILD_MAKEG_TRUE}" && test -z "${BUILD_MAKEG_FALSE}"; then
   11384   as_fn_error $? "conditional \"BUILD_MAKEG\" was never defined.
   11385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11386 fi
   11387 if test -z "${BUILD_XMKMF_TRUE}" && test -z "${BUILD_XMKMF_FALSE}"; then
   11388   as_fn_error $? "conditional \"BUILD_XMKMF\" was never defined.
   11389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11390 fi
   11391 if test -z "${BUILD_CCMAKEDEP_TRUE}" && test -z "${BUILD_CCMAKEDEP_FALSE}"; then
   11392   as_fn_error $? "conditional \"BUILD_CCMAKEDEP\" was never defined.
   11393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11394 fi
   11395 if test -z "${BUILD_MERGELIB_TRUE}" && test -z "${BUILD_MERGELIB_FALSE}"; then
   11396   as_fn_error $? "conditional \"BUILD_MERGELIB\" was never defined.
   11397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11398 fi
   11399 if test -z "${BUILD_MKDIRHIER_TRUE}" && test -z "${BUILD_MKDIRHIER_FALSE}"; then
   11400   as_fn_error $? "conditional \"BUILD_MKDIRHIER\" was never defined.
   11401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11402 fi
   11403 if test -z "${BUILD_CLEANLINKS_TRUE}" && test -z "${BUILD_CLEANLINKS_FALSE}"; then
   11404   as_fn_error $? "conditional \"BUILD_CLEANLINKS\" was never defined.
   11405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11406 fi
   11407 if test -z "${BUILD_MKHTMLINDEX_TRUE}" && test -z "${BUILD_MKHTMLINDEX_FALSE}"; then
   11408   as_fn_error $? "conditional \"BUILD_MKHTMLINDEX\" was never defined.
   11409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11410 fi
   11411 
   11412 : "${CONFIG_STATUS=./config.status}"
   11413 ac_write_fail=0
   11414 ac_clean_files_save=$ac_clean_files
   11415 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11416 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11417 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11418 as_write_fail=0
   11419 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11420 #! $SHELL
   11421 # Generated by $as_me.
   11422 # Run this file to recreate the current configuration.
   11423 # Compiler output produced by configure, useful for debugging
   11424 # configure, is in config.log if it exists.
   11425 
   11426 debug=false
   11427 ac_cs_recheck=false
   11428 ac_cs_silent=false
   11429 
   11430 SHELL=\${CONFIG_SHELL-$SHELL}
   11431 export SHELL
   11432 _ASEOF
   11433 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11434 ## -------------------- ##
   11435 ## M4sh Initialization. ##
   11436 ## -------------------- ##
   11437 
   11438 # Be more Bourne compatible
   11439 DUALCASE=1; export DUALCASE # for MKS sh
   11440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11441   emulate sh
   11442   NULLCMD=:
   11443   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11444   # is contrary to our usage.  Disable this feature.
   11445   alias -g '${1+"$@"}'='"$@"'
   11446   setopt NO_GLOB_SUBST
   11447 else
   11448   case `(set -o) 2>/dev/null` in #(
   11449   *posix*) :
   11450     set -o posix ;; #(
   11451   *) :
   11452      ;;
   11453 esac
   11454 fi
   11455 
   11456 
   11457 as_nl='
   11458 '
   11459 export as_nl
   11460 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11461 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11464 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11465 # but without wasting forks for bash or zsh.
   11466 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11467     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11468   as_echo='print -r --'
   11469   as_echo_n='print -rn --'
   11470 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11471   as_echo='printf %s\n'
   11472   as_echo_n='printf %s'
   11473 else
   11474   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11475     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11476     as_echo_n='/usr/ucb/echo -n'
   11477   else
   11478     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11479     as_echo_n_body='eval
   11480       arg=$1;
   11481       case $arg in #(
   11482       *"$as_nl"*)
   11483 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11484 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11485       esac;
   11486       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11487     '
   11488     export as_echo_n_body
   11489     as_echo_n='sh -c $as_echo_n_body as_echo'
   11490   fi
   11491   export as_echo_body
   11492   as_echo='sh -c $as_echo_body as_echo'
   11493 fi
   11494 
   11495 # The user is always right.
   11496 if test "${PATH_SEPARATOR+set}" != set; then
   11497   PATH_SEPARATOR=:
   11498   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11499     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11500       PATH_SEPARATOR=';'
   11501   }
   11502 fi
   11503 
   11504 
   11505 # IFS
   11506 # We need space, tab and new line, in precisely that order.  Quoting is
   11507 # there to prevent editors from complaining about space-tab.
   11508 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11509 # splitting by setting IFS to empty value.)
   11510 IFS=" ""	$as_nl"
   11511 
   11512 # Find who we are.  Look in the path if we contain no directory separator.
   11513 as_myself=
   11514 case $0 in #((
   11515   *[\\/]* ) as_myself=$0 ;;
   11516   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11517 for as_dir in $PATH
   11518 do
   11519   IFS=$as_save_IFS
   11520   test -z "$as_dir" && as_dir=.
   11521     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11522   done
   11523 IFS=$as_save_IFS
   11524 
   11525      ;;
   11526 esac
   11527 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11528 # in which case we are not to be found in the path.
   11529 if test "x$as_myself" = x; then
   11530   as_myself=$0
   11531 fi
   11532 if test ! -f "$as_myself"; then
   11533   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11534   exit 1
   11535 fi
   11536 
   11537 # Unset variables that we do not need and which cause bugs (e.g. in
   11538 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11539 # suppresses any "Segmentation fault" message there.  '((' could
   11540 # trigger a bug in pdksh 5.2.14.
   11541 for as_var in BASH_ENV ENV MAIL MAILPATH
   11542 do eval test x\${$as_var+set} = xset \
   11543   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11544 done
   11545 PS1='$ '
   11546 PS2='> '
   11547 PS4='+ '
   11548 
   11549 # NLS nuisances.
   11550 LC_ALL=C
   11551 export LC_ALL
   11552 LANGUAGE=C
   11553 export LANGUAGE
   11554 
   11555 # CDPATH.
   11556 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11557 
   11558 
   11559 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11560 # ----------------------------------------
   11561 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11562 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11563 # script with STATUS, using 1 if that was 0.
   11564 as_fn_error ()
   11565 {
   11566   as_status=$1; test $as_status -eq 0 && as_status=1
   11567   if test "$4"; then
   11568     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11569     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11570   fi
   11571   $as_echo "$as_me: error: $2" >&2
   11572   as_fn_exit $as_status
   11573 } # as_fn_error
   11574 
   11575 
   11576 # as_fn_set_status STATUS
   11577 # -----------------------
   11578 # Set $? to STATUS, without forking.
   11579 as_fn_set_status ()
   11580 {
   11581   return $1
   11582 } # as_fn_set_status
   11583 
   11584 # as_fn_exit STATUS
   11585 # -----------------
   11586 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11587 as_fn_exit ()
   11588 {
   11589   set +e
   11590   as_fn_set_status $1
   11591   exit $1
   11592 } # as_fn_exit
   11593 
   11594 # as_fn_unset VAR
   11595 # ---------------
   11596 # Portably unset VAR.
   11597 as_fn_unset ()
   11598 {
   11599   { eval $1=; unset $1;}
   11600 }
   11601 as_unset=as_fn_unset
   11602 # as_fn_append VAR VALUE
   11603 # ----------------------
   11604 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11605 # advantage of any shell optimizations that allow amortized linear growth over
   11606 # repeated appends, instead of the typical quadratic growth present in naive
   11607 # implementations.
   11608 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11609   eval 'as_fn_append ()
   11610   {
   11611     eval $1+=\$2
   11612   }'
   11613 else
   11614   as_fn_append ()
   11615   {
   11616     eval $1=\$$1\$2
   11617   }
   11618 fi # as_fn_append
   11619 
   11620 # as_fn_arith ARG...
   11621 # ------------------
   11622 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11623 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11624 # must be portable across $(()) and expr.
   11625 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11626   eval 'as_fn_arith ()
   11627   {
   11628     as_val=$(( $* ))
   11629   }'
   11630 else
   11631   as_fn_arith ()
   11632   {
   11633     as_val=`expr "$@" || test $? -eq 1`
   11634   }
   11635 fi # as_fn_arith
   11636 
   11637 
   11638 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11639    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11640   as_expr=expr
   11641 else
   11642   as_expr=false
   11643 fi
   11644 
   11645 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11646   as_basename=basename
   11647 else
   11648   as_basename=false
   11649 fi
   11650 
   11651 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11652   as_dirname=dirname
   11653 else
   11654   as_dirname=false
   11655 fi
   11656 
   11657 as_me=`$as_basename -- "$0" ||
   11658 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11659 	 X"$0" : 'X\(//\)$' \| \
   11660 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11661 $as_echo X/"$0" |
   11662     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11663 	    s//\1/
   11664 	    q
   11665 	  }
   11666 	  /^X\/\(\/\/\)$/{
   11667 	    s//\1/
   11668 	    q
   11669 	  }
   11670 	  /^X\/\(\/\).*/{
   11671 	    s//\1/
   11672 	    q
   11673 	  }
   11674 	  s/.*/./; q'`
   11675 
   11676 # Avoid depending upon Character Ranges.
   11677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11680 as_cr_digits='0123456789'
   11681 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11682 
   11683 ECHO_C= ECHO_N= ECHO_T=
   11684 case `echo -n x` in #(((((
   11685 -n*)
   11686   case `echo 'xy\c'` in
   11687   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11688   xy)  ECHO_C='\c';;
   11689   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11690        ECHO_T='	';;
   11691   esac;;
   11692 *)
   11693   ECHO_N='-n';;
   11694 esac
   11695 
   11696 rm -f conf$$ conf$$.exe conf$$.file
   11697 if test -d conf$$.dir; then
   11698   rm -f conf$$.dir/conf$$.file
   11699 else
   11700   rm -f conf$$.dir
   11701   mkdir conf$$.dir 2>/dev/null
   11702 fi
   11703 if (echo >conf$$.file) 2>/dev/null; then
   11704   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11705     as_ln_s='ln -s'
   11706     # ... but there are two gotchas:
   11707     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11708     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11709     # In both cases, we have to default to `cp -p'.
   11710     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11711       as_ln_s='cp -p'
   11712   elif ln conf$$.file conf$$ 2>/dev/null; then
   11713     as_ln_s=ln
   11714   else
   11715     as_ln_s='cp -p'
   11716   fi
   11717 else
   11718   as_ln_s='cp -p'
   11719 fi
   11720 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11721 rmdir conf$$.dir 2>/dev/null
   11722 
   11723 
   11724 # as_fn_mkdir_p
   11725 # -------------
   11726 # Create "$as_dir" as a directory, including parents if necessary.
   11727 as_fn_mkdir_p ()
   11728 {
   11729 
   11730   case $as_dir in #(
   11731   -*) as_dir=./$as_dir;;
   11732   esac
   11733   test -d "$as_dir" || eval $as_mkdir_p || {
   11734     as_dirs=
   11735     while :; do
   11736       case $as_dir in #(
   11737       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11738       *) as_qdir=$as_dir;;
   11739       esac
   11740       as_dirs="'$as_qdir' $as_dirs"
   11741       as_dir=`$as_dirname -- "$as_dir" ||
   11742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11743 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11744 	 X"$as_dir" : 'X\(//\)$' \| \
   11745 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11746 $as_echo X"$as_dir" |
   11747     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11748 	    s//\1/
   11749 	    q
   11750 	  }
   11751 	  /^X\(\/\/\)[^/].*/{
   11752 	    s//\1/
   11753 	    q
   11754 	  }
   11755 	  /^X\(\/\/\)$/{
   11756 	    s//\1/
   11757 	    q
   11758 	  }
   11759 	  /^X\(\/\).*/{
   11760 	    s//\1/
   11761 	    q
   11762 	  }
   11763 	  s/.*/./; q'`
   11764       test -d "$as_dir" && break
   11765     done
   11766     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11767   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11768 
   11769 
   11770 } # as_fn_mkdir_p
   11771 if mkdir -p . 2>/dev/null; then
   11772   as_mkdir_p='mkdir -p "$as_dir"'
   11773 else
   11774   test -d ./-p && rmdir ./-p
   11775   as_mkdir_p=false
   11776 fi
   11777 
   11778 if test -x / >/dev/null 2>&1; then
   11779   as_test_x='test -x'
   11780 else
   11781   if ls -dL / >/dev/null 2>&1; then
   11782     as_ls_L_option=L
   11783   else
   11784     as_ls_L_option=
   11785   fi
   11786   as_test_x='
   11787     eval sh -c '\''
   11788       if test -d "$1"; then
   11789 	test -d "$1/.";
   11790       else
   11791 	case $1 in #(
   11792 	-*)set "./$1";;
   11793 	esac;
   11794 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11795 	???[sx]*):;;*)false;;esac;fi
   11796     '\'' sh
   11797   '
   11798 fi
   11799 as_executable_p=$as_test_x
   11800 
   11801 # Sed expression to map a string onto a valid CPP name.
   11802 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11803 
   11804 # Sed expression to map a string onto a valid variable name.
   11805 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11806 
   11807 
   11808 exec 6>&1
   11809 ## ----------------------------------- ##
   11810 ## Main body of $CONFIG_STATUS script. ##
   11811 ## ----------------------------------- ##
   11812 _ASEOF
   11813 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11814 
   11815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11816 # Save the log message, to keep $0 and so on meaningful, and to
   11817 # report actual input values of CONFIG_FILES etc. instead of their
   11818 # values after options handling.
   11819 ac_log="
   11820 This file was extended by imake $as_me 1.0.6, which was
   11821 generated by GNU Autoconf 2.68.  Invocation command line was
   11822 
   11823   CONFIG_FILES    = $CONFIG_FILES
   11824   CONFIG_HEADERS  = $CONFIG_HEADERS
   11825   CONFIG_LINKS    = $CONFIG_LINKS
   11826   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11827   $ $0 $@
   11828 
   11829 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11830 "
   11831 
   11832 _ACEOF
   11833 
   11834 case $ac_config_files in *"
   11835 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11836 esac
   11837 
   11838 case $ac_config_headers in *"
   11839 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11840 esac
   11841 
   11842 
   11843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11844 # Files that config.status was made for.
   11845 config_files="$ac_config_files"
   11846 config_headers="$ac_config_headers"
   11847 config_commands="$ac_config_commands"
   11848 
   11849 _ACEOF
   11850 
   11851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11852 ac_cs_usage="\
   11853 \`$as_me' instantiates files and other configuration actions
   11854 from templates according to the current configuration.  Unless the files
   11855 and actions are specified as TAGs, all are instantiated by default.
   11856 
   11857 Usage: $0 [OPTION]... [TAG]...
   11858 
   11859   -h, --help       print this help, then exit
   11860   -V, --version    print version number and configuration settings, then exit
   11861       --config     print configuration, then exit
   11862   -q, --quiet, --silent
   11863                    do not print progress messages
   11864   -d, --debug      don't remove temporary files
   11865       --recheck    update $as_me by reconfiguring in the same conditions
   11866       --file=FILE[:TEMPLATE]
   11867                    instantiate the configuration file FILE
   11868       --header=FILE[:TEMPLATE]
   11869                    instantiate the configuration header FILE
   11870 
   11871 Configuration files:
   11872 $config_files
   11873 
   11874 Configuration headers:
   11875 $config_headers
   11876 
   11877 Configuration commands:
   11878 $config_commands
   11879 
   11880 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11881 
   11882 _ACEOF
   11883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11884 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11885 ac_cs_version="\\
   11886 imake config.status 1.0.6
   11887 configured by $0, generated by GNU Autoconf 2.68,
   11888   with options \\"\$ac_cs_config\\"
   11889 
   11890 Copyright (C) 2010 Free Software Foundation, Inc.
   11891 This config.status script is free software; the Free Software Foundation
   11892 gives unlimited permission to copy, distribute and modify it."
   11893 
   11894 ac_pwd='$ac_pwd'
   11895 srcdir='$srcdir'
   11896 INSTALL='$INSTALL'
   11897 MKDIR_P='$MKDIR_P'
   11898 AWK='$AWK'
   11899 test -n "\$AWK" || AWK=awk
   11900 _ACEOF
   11901 
   11902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11903 # The default lists apply if the user does not specify any file.
   11904 ac_need_defaults=:
   11905 while test $# != 0
   11906 do
   11907   case $1 in
   11908   --*=?*)
   11909     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11910     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11911     ac_shift=:
   11912     ;;
   11913   --*=)
   11914     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11915     ac_optarg=
   11916     ac_shift=:
   11917     ;;
   11918   *)
   11919     ac_option=$1
   11920     ac_optarg=$2
   11921     ac_shift=shift
   11922     ;;
   11923   esac
   11924 
   11925   case $ac_option in
   11926   # Handling of the options.
   11927   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11928     ac_cs_recheck=: ;;
   11929   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11930     $as_echo "$ac_cs_version"; exit ;;
   11931   --config | --confi | --conf | --con | --co | --c )
   11932     $as_echo "$ac_cs_config"; exit ;;
   11933   --debug | --debu | --deb | --de | --d | -d )
   11934     debug=: ;;
   11935   --file | --fil | --fi | --f )
   11936     $ac_shift
   11937     case $ac_optarg in
   11938     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11939     '') as_fn_error $? "missing file argument" ;;
   11940     esac
   11941     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11942     ac_need_defaults=false;;
   11943   --header | --heade | --head | --hea )
   11944     $ac_shift
   11945     case $ac_optarg in
   11946     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11947     esac
   11948     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11949     ac_need_defaults=false;;
   11950   --he | --h)
   11951     # Conflict between --help and --header
   11952     as_fn_error $? "ambiguous option: \`$1'
   11953 Try \`$0 --help' for more information.";;
   11954   --help | --hel | -h )
   11955     $as_echo "$ac_cs_usage"; exit ;;
   11956   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11957   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11958     ac_cs_silent=: ;;
   11959 
   11960   # This is an error.
   11961   -*) as_fn_error $? "unrecognized option: \`$1'
   11962 Try \`$0 --help' for more information." ;;
   11963 
   11964   *) as_fn_append ac_config_targets " $1"
   11965      ac_need_defaults=false ;;
   11966 
   11967   esac
   11968   shift
   11969 done
   11970 
   11971 ac_configure_extra_args=
   11972 
   11973 if $ac_cs_silent; then
   11974   exec 6>/dev/null
   11975   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11976 fi
   11977 
   11978 _ACEOF
   11979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11980 if \$ac_cs_recheck; then
   11981   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11982   shift
   11983   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11984   CONFIG_SHELL='$SHELL'
   11985   export CONFIG_SHELL
   11986   exec "\$@"
   11987 fi
   11988 
   11989 _ACEOF
   11990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11991 exec 5>>config.log
   11992 {
   11993   echo
   11994   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11995 ## Running $as_me. ##
   11996 _ASBOX
   11997   $as_echo "$ac_log"
   11998 } >&5
   11999 
   12000 _ACEOF
   12001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12002 #
   12003 # INIT-COMMANDS
   12004 #
   12005 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12006 
   12007 _ACEOF
   12008 
   12009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12010 
   12011 # Handling of arguments.
   12012 for ac_config_target in $ac_config_targets
   12013 do
   12014   case $ac_config_target in
   12015     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12016     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12017     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12018 
   12019   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12020   esac
   12021 done
   12022 
   12023 
   12024 # If the user did not use the arguments to specify the items to instantiate,
   12025 # then the envvar interface is used.  Set only those that are not.
   12026 # We use the long form for the default assignment because of an extremely
   12027 # bizarre bug on SunOS 4.1.3.
   12028 if $ac_need_defaults; then
   12029   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12030   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12031   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12032 fi
   12033 
   12034 # Have a temporary directory for convenience.  Make it in the build tree
   12035 # simply because there is no reason against having it here, and in addition,
   12036 # creating and moving files from /tmp can sometimes cause problems.
   12037 # Hook for its removal unless debugging.
   12038 # Note that there is a small window in which the directory will not be cleaned:
   12039 # after its creation but before its name has been assigned to `$tmp'.
   12040 $debug ||
   12041 {
   12042   tmp= ac_tmp=
   12043   trap 'exit_status=$?
   12044   : "${ac_tmp:=$tmp}"
   12045   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12046 ' 0
   12047   trap 'as_fn_exit 1' 1 2 13 15
   12048 }
   12049 # Create a (secure) tmp directory for tmp files.
   12050 
   12051 {
   12052   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12053   test -d "$tmp"
   12054 }  ||
   12055 {
   12056   tmp=./conf$$-$RANDOM
   12057   (umask 077 && mkdir "$tmp")
   12058 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12059 ac_tmp=$tmp
   12060 
   12061 # Set up the scripts for CONFIG_FILES section.
   12062 # No need to generate them if there are no CONFIG_FILES.
   12063 # This happens for instance with `./config.status config.h'.
   12064 if test -n "$CONFIG_FILES"; then
   12065 
   12066 
   12067 ac_cr=`echo X | tr X '\015'`
   12068 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12069 # But we know of no other shell where ac_cr would be empty at this
   12070 # point, so we can use a bashism as a fallback.
   12071 if test "x$ac_cr" = x; then
   12072   eval ac_cr=\$\'\\r\'
   12073 fi
   12074 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12075 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12076   ac_cs_awk_cr='\\r'
   12077 else
   12078   ac_cs_awk_cr=$ac_cr
   12079 fi
   12080 
   12081 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12082 _ACEOF
   12083 
   12084 
   12085 {
   12086   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12087   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12088   echo "_ACEOF"
   12089 } >conf$$subs.sh ||
   12090   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12091 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12092 ac_delim='%!_!# '
   12093 for ac_last_try in false false false false false :; do
   12094   . ./conf$$subs.sh ||
   12095     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12096 
   12097   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12098   if test $ac_delim_n = $ac_delim_num; then
   12099     break
   12100   elif $ac_last_try; then
   12101     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12102   else
   12103     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12104   fi
   12105 done
   12106 rm -f conf$$subs.sh
   12107 
   12108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12109 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12110 _ACEOF
   12111 sed -n '
   12112 h
   12113 s/^/S["/; s/!.*/"]=/
   12114 p
   12115 g
   12116 s/^[^!]*!//
   12117 :repl
   12118 t repl
   12119 s/'"$ac_delim"'$//
   12120 t delim
   12121 :nl
   12122 h
   12123 s/\(.\{148\}\)..*/\1/
   12124 t more1
   12125 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12126 p
   12127 n
   12128 b repl
   12129 :more1
   12130 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12131 p
   12132 g
   12133 s/.\{148\}//
   12134 t nl
   12135 :delim
   12136 h
   12137 s/\(.\{148\}\)..*/\1/
   12138 t more2
   12139 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12140 p
   12141 b
   12142 :more2
   12143 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12144 p
   12145 g
   12146 s/.\{148\}//
   12147 t delim
   12148 ' <conf$$subs.awk | sed '
   12149 /^[^""]/{
   12150   N
   12151   s/\n//
   12152 }
   12153 ' >>$CONFIG_STATUS || ac_write_fail=1
   12154 rm -f conf$$subs.awk
   12155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12156 _ACAWK
   12157 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12158   for (key in S) S_is_set[key] = 1
   12159   FS = ""
   12160 
   12161 }
   12162 {
   12163   line = $ 0
   12164   nfields = split(line, field, "@")
   12165   substed = 0
   12166   len = length(field[1])
   12167   for (i = 2; i < nfields; i++) {
   12168     key = field[i]
   12169     keylen = length(key)
   12170     if (S_is_set[key]) {
   12171       value = S[key]
   12172       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12173       len += length(value) + length(field[++i])
   12174       substed = 1
   12175     } else
   12176       len += 1 + keylen
   12177   }
   12178 
   12179   print line
   12180 }
   12181 
   12182 _ACAWK
   12183 _ACEOF
   12184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12185 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12186   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12187 else
   12188   cat
   12189 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12190   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12191 _ACEOF
   12192 
   12193 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12194 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12195 # trailing colons and then remove the whole line if VPATH becomes empty
   12196 # (actually we leave an empty line to preserve line numbers).
   12197 if test "x$srcdir" = x.; then
   12198   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12199 h
   12200 s///
   12201 s/^/:/
   12202 s/[	 ]*$/:/
   12203 s/:\$(srcdir):/:/g
   12204 s/:\${srcdir}:/:/g
   12205 s/:@srcdir@:/:/g
   12206 s/^:*//
   12207 s/:*$//
   12208 x
   12209 s/\(=[	 ]*\).*/\1/
   12210 G
   12211 s/\n//
   12212 s/^[^=]*=[	 ]*$//
   12213 }'
   12214 fi
   12215 
   12216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12217 fi # test -n "$CONFIG_FILES"
   12218 
   12219 # Set up the scripts for CONFIG_HEADERS section.
   12220 # No need to generate them if there are no CONFIG_HEADERS.
   12221 # This happens for instance with `./config.status Makefile'.
   12222 if test -n "$CONFIG_HEADERS"; then
   12223 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12224 BEGIN {
   12225 _ACEOF
   12226 
   12227 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12228 # here-document in config.status, that substitutes the proper values into
   12229 # config.h.in to produce config.h.
   12230 
   12231 # Create a delimiter string that does not exist in confdefs.h, to ease
   12232 # handling of long lines.
   12233 ac_delim='%!_!# '
   12234 for ac_last_try in false false :; do
   12235   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12236   if test -z "$ac_tt"; then
   12237     break
   12238   elif $ac_last_try; then
   12239     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12240   else
   12241     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12242   fi
   12243 done
   12244 
   12245 # For the awk script, D is an array of macro values keyed by name,
   12246 # likewise P contains macro parameters if any.  Preserve backslash
   12247 # newline sequences.
   12248 
   12249 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12250 sed -n '
   12251 s/.\{148\}/&'"$ac_delim"'/g
   12252 t rset
   12253 :rset
   12254 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12255 t def
   12256 d
   12257 :def
   12258 s/\\$//
   12259 t bsnl
   12260 s/["\\]/\\&/g
   12261 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12262 D["\1"]=" \3"/p
   12263 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12264 d
   12265 :bsnl
   12266 s/["\\]/\\&/g
   12267 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12268 D["\1"]=" \3\\\\\\n"\\/p
   12269 t cont
   12270 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12271 t cont
   12272 d
   12273 :cont
   12274 n
   12275 s/.\{148\}/&'"$ac_delim"'/g
   12276 t clear
   12277 :clear
   12278 s/\\$//
   12279 t bsnlc
   12280 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12281 d
   12282 :bsnlc
   12283 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12284 b cont
   12285 ' <confdefs.h | sed '
   12286 s/'"$ac_delim"'/"\\\
   12287 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12288 
   12289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12290   for (key in D) D_is_set[key] = 1
   12291   FS = ""
   12292 }
   12293 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12294   line = \$ 0
   12295   split(line, arg, " ")
   12296   if (arg[1] == "#") {
   12297     defundef = arg[2]
   12298     mac1 = arg[3]
   12299   } else {
   12300     defundef = substr(arg[1], 2)
   12301     mac1 = arg[2]
   12302   }
   12303   split(mac1, mac2, "(") #)
   12304   macro = mac2[1]
   12305   prefix = substr(line, 1, index(line, defundef) - 1)
   12306   if (D_is_set[macro]) {
   12307     # Preserve the white space surrounding the "#".
   12308     print prefix "define", macro P[macro] D[macro]
   12309     next
   12310   } else {
   12311     # Replace #undef with comments.  This is necessary, for example,
   12312     # in the case of _POSIX_SOURCE, which is predefined and required
   12313     # on some systems where configure will not decide to define it.
   12314     if (defundef == "undef") {
   12315       print "/*", prefix defundef, macro, "*/"
   12316       next
   12317     }
   12318   }
   12319 }
   12320 { print }
   12321 _ACAWK
   12322 _ACEOF
   12323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12324   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12325 fi # test -n "$CONFIG_HEADERS"
   12326 
   12327 
   12328 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12329 shift
   12330 for ac_tag
   12331 do
   12332   case $ac_tag in
   12333   :[FHLC]) ac_mode=$ac_tag; continue;;
   12334   esac
   12335   case $ac_mode$ac_tag in
   12336   :[FHL]*:*);;
   12337   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12338   :[FH]-) ac_tag=-:-;;
   12339   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12340   esac
   12341   ac_save_IFS=$IFS
   12342   IFS=:
   12343   set x $ac_tag
   12344   IFS=$ac_save_IFS
   12345   shift
   12346   ac_file=$1
   12347   shift
   12348 
   12349   case $ac_mode in
   12350   :L) ac_source=$1;;
   12351   :[FH])
   12352     ac_file_inputs=
   12353     for ac_f
   12354     do
   12355       case $ac_f in
   12356       -) ac_f="$ac_tmp/stdin";;
   12357       *) # Look for the file first in the build tree, then in the source tree
   12358 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12359 	 # because $ac_f cannot contain `:'.
   12360 	 test -f "$ac_f" ||
   12361 	   case $ac_f in
   12362 	   [\\/$]*) false;;
   12363 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12364 	   esac ||
   12365 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12366       esac
   12367       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12368       as_fn_append ac_file_inputs " '$ac_f'"
   12369     done
   12370 
   12371     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12372     # use $as_me), people would be surprised to read:
   12373     #    /* config.h.  Generated by config.status.  */
   12374     configure_input='Generated from '`
   12375 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12376 	`' by configure.'
   12377     if test x"$ac_file" != x-; then
   12378       configure_input="$ac_file.  $configure_input"
   12379       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12380 $as_echo "$as_me: creating $ac_file" >&6;}
   12381     fi
   12382     # Neutralize special characters interpreted by sed in replacement strings.
   12383     case $configure_input in #(
   12384     *\&* | *\|* | *\\* )
   12385        ac_sed_conf_input=`$as_echo "$configure_input" |
   12386        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12387     *) ac_sed_conf_input=$configure_input;;
   12388     esac
   12389 
   12390     case $ac_tag in
   12391     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12392       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12393     esac
   12394     ;;
   12395   esac
   12396 
   12397   ac_dir=`$as_dirname -- "$ac_file" ||
   12398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12399 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12400 	 X"$ac_file" : 'X\(//\)$' \| \
   12401 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12402 $as_echo X"$ac_file" |
   12403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12404 	    s//\1/
   12405 	    q
   12406 	  }
   12407 	  /^X\(\/\/\)[^/].*/{
   12408 	    s//\1/
   12409 	    q
   12410 	  }
   12411 	  /^X\(\/\/\)$/{
   12412 	    s//\1/
   12413 	    q
   12414 	  }
   12415 	  /^X\(\/\).*/{
   12416 	    s//\1/
   12417 	    q
   12418 	  }
   12419 	  s/.*/./; q'`
   12420   as_dir="$ac_dir"; as_fn_mkdir_p
   12421   ac_builddir=.
   12422 
   12423 case "$ac_dir" in
   12424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12425 *)
   12426   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12427   # A ".." for each directory in $ac_dir_suffix.
   12428   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12429   case $ac_top_builddir_sub in
   12430   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12431   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12432   esac ;;
   12433 esac
   12434 ac_abs_top_builddir=$ac_pwd
   12435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12436 # for backward compatibility:
   12437 ac_top_builddir=$ac_top_build_prefix
   12438 
   12439 case $srcdir in
   12440   .)  # We are building in place.
   12441     ac_srcdir=.
   12442     ac_top_srcdir=$ac_top_builddir_sub
   12443     ac_abs_top_srcdir=$ac_pwd ;;
   12444   [\\/]* | ?:[\\/]* )  # Absolute name.
   12445     ac_srcdir=$srcdir$ac_dir_suffix;
   12446     ac_top_srcdir=$srcdir
   12447     ac_abs_top_srcdir=$srcdir ;;
   12448   *) # Relative name.
   12449     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12450     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12451     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12452 esac
   12453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12454 
   12455 
   12456   case $ac_mode in
   12457   :F)
   12458   #
   12459   # CONFIG_FILE
   12460   #
   12461 
   12462   case $INSTALL in
   12463   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12464   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12465   esac
   12466   ac_MKDIR_P=$MKDIR_P
   12467   case $MKDIR_P in
   12468   [\\/$]* | ?:[\\/]* ) ;;
   12469   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12470   esac
   12471 _ACEOF
   12472 
   12473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12474 # If the template does not know about datarootdir, expand it.
   12475 # FIXME: This hack should be removed a few years after 2.60.
   12476 ac_datarootdir_hack=; ac_datarootdir_seen=
   12477 ac_sed_dataroot='
   12478 /datarootdir/ {
   12479   p
   12480   q
   12481 }
   12482 /@datadir@/p
   12483 /@docdir@/p
   12484 /@infodir@/p
   12485 /@localedir@/p
   12486 /@mandir@/p'
   12487 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12488 *datarootdir*) ac_datarootdir_seen=yes;;
   12489 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12490   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12491 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12492 _ACEOF
   12493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12494   ac_datarootdir_hack='
   12495   s&@datadir@&$datadir&g
   12496   s&@docdir@&$docdir&g
   12497   s&@infodir@&$infodir&g
   12498   s&@localedir@&$localedir&g
   12499   s&@mandir@&$mandir&g
   12500   s&\\\${datarootdir}&$datarootdir&g' ;;
   12501 esac
   12502 _ACEOF
   12503 
   12504 # Neutralize VPATH when `$srcdir' = `.'.
   12505 # Shell code in configure.ac might set extrasub.
   12506 # FIXME: do we really want to maintain this feature?
   12507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12508 ac_sed_extra="$ac_vpsub
   12509 $extrasub
   12510 _ACEOF
   12511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12512 :t
   12513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12514 s|@configure_input@|$ac_sed_conf_input|;t t
   12515 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12516 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12517 s&@srcdir@&$ac_srcdir&;t t
   12518 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12519 s&@top_srcdir@&$ac_top_srcdir&;t t
   12520 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12521 s&@builddir@&$ac_builddir&;t t
   12522 s&@abs_builddir@&$ac_abs_builddir&;t t
   12523 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12524 s&@INSTALL@&$ac_INSTALL&;t t
   12525 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12526 $ac_datarootdir_hack
   12527 "
   12528 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12529   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12530 
   12531 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12532   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12533   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12534       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12535   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12536 which seems to be undefined.  Please make sure it is defined" >&5
   12537 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12538 which seems to be undefined.  Please make sure it is defined" >&2;}
   12539 
   12540   rm -f "$ac_tmp/stdin"
   12541   case $ac_file in
   12542   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12543   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12544   esac \
   12545   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12546  ;;
   12547   :H)
   12548   #
   12549   # CONFIG_HEADER
   12550   #
   12551   if test x"$ac_file" != x-; then
   12552     {
   12553       $as_echo "/* $configure_input  */" \
   12554       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12555     } >"$ac_tmp/config.h" \
   12556       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12557     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12558       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12559 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12560     else
   12561       rm -f "$ac_file"
   12562       mv "$ac_tmp/config.h" "$ac_file" \
   12563 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12564     fi
   12565   else
   12566     $as_echo "/* $configure_input  */" \
   12567       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12568       || as_fn_error $? "could not create -" "$LINENO" 5
   12569   fi
   12570 # Compute "$ac_file"'s index in $config_headers.
   12571 _am_arg="$ac_file"
   12572 _am_stamp_count=1
   12573 for _am_header in $config_headers :; do
   12574   case $_am_header in
   12575     $_am_arg | $_am_arg:* )
   12576       break ;;
   12577     * )
   12578       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12579   esac
   12580 done
   12581 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12582 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12583 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12584 	 X"$_am_arg" : 'X\(//\)$' \| \
   12585 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12586 $as_echo X"$_am_arg" |
   12587     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12588 	    s//\1/
   12589 	    q
   12590 	  }
   12591 	  /^X\(\/\/\)[^/].*/{
   12592 	    s//\1/
   12593 	    q
   12594 	  }
   12595 	  /^X\(\/\/\)$/{
   12596 	    s//\1/
   12597 	    q
   12598 	  }
   12599 	  /^X\(\/\).*/{
   12600 	    s//\1/
   12601 	    q
   12602 	  }
   12603 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12604  ;;
   12605 
   12606   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12607 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12608  ;;
   12609   esac
   12610 
   12611 
   12612   case $ac_file$ac_mode in
   12613     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12614   # Older Autoconf quotes --file arguments for eval, but not when files
   12615   # are listed without --file.  Let's play safe and only enable the eval
   12616   # if we detect the quoting.
   12617   case $CONFIG_FILES in
   12618   *\'*) eval set x "$CONFIG_FILES" ;;
   12619   *)   set x $CONFIG_FILES ;;
   12620   esac
   12621   shift
   12622   for mf
   12623   do
   12624     # Strip MF so we end up with the name of the file.
   12625     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12626     # Check whether this is an Automake generated Makefile or not.
   12627     # We used to match only the files named 'Makefile.in', but
   12628     # some people rename them; so instead we look at the file content.
   12629     # Grep'ing the first line is not enough: some people post-process
   12630     # each Makefile.in and add a new line on top of each file to say so.
   12631     # Grep'ing the whole file is not good either: AIX grep has a line
   12632     # limit of 2048, but all sed's we know have understand at least 4000.
   12633     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12634       dirpart=`$as_dirname -- "$mf" ||
   12635 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12636 	 X"$mf" : 'X\(//\)[^/]' \| \
   12637 	 X"$mf" : 'X\(//\)$' \| \
   12638 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12639 $as_echo X"$mf" |
   12640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12641 	    s//\1/
   12642 	    q
   12643 	  }
   12644 	  /^X\(\/\/\)[^/].*/{
   12645 	    s//\1/
   12646 	    q
   12647 	  }
   12648 	  /^X\(\/\/\)$/{
   12649 	    s//\1/
   12650 	    q
   12651 	  }
   12652 	  /^X\(\/\).*/{
   12653 	    s//\1/
   12654 	    q
   12655 	  }
   12656 	  s/.*/./; q'`
   12657     else
   12658       continue
   12659     fi
   12660     # Extract the definition of DEPDIR, am__include, and am__quote
   12661     # from the Makefile without running 'make'.
   12662     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12663     test -z "$DEPDIR" && continue
   12664     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12665     test -z "$am__include" && continue
   12666     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12667     # Find all dependency output files, they are included files with
   12668     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12669     # simplest approach to changing $(DEPDIR) to its actual value in the
   12670     # expansion.
   12671     for file in `sed -n "
   12672       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12673 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12674       # Make sure the directory exists.
   12675       test -f "$dirpart/$file" && continue
   12676       fdir=`$as_dirname -- "$file" ||
   12677 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12678 	 X"$file" : 'X\(//\)[^/]' \| \
   12679 	 X"$file" : 'X\(//\)$' \| \
   12680 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12681 $as_echo X"$file" |
   12682     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12683 	    s//\1/
   12684 	    q
   12685 	  }
   12686 	  /^X\(\/\/\)[^/].*/{
   12687 	    s//\1/
   12688 	    q
   12689 	  }
   12690 	  /^X\(\/\/\)$/{
   12691 	    s//\1/
   12692 	    q
   12693 	  }
   12694 	  /^X\(\/\).*/{
   12695 	    s//\1/
   12696 	    q
   12697 	  }
   12698 	  s/.*/./; q'`
   12699       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12700       # echo "creating $dirpart/$file"
   12701       echo '# dummy' > "$dirpart/$file"
   12702     done
   12703   done
   12704 }
   12705  ;;
   12706 
   12707   esac
   12708 done # for ac_tag
   12709 
   12710 
   12711 as_fn_exit 0
   12712 _ACEOF
   12713 ac_clean_files=$ac_clean_files_save
   12714 
   12715 test $ac_write_fail = 0 ||
   12716   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12717 
   12718 
   12719 # configure is writing to config.log, and then calls config.status.
   12720 # config.status does its own redirection, appending to config.log.
   12721 # Unfortunately, on DOS this fails, as config.log is still kept open
   12722 # by configure, so config.status won't be able to write to it; its
   12723 # output is simply discarded.  So we exec the FD to /dev/null,
   12724 # effectively closing config.log, so it can be properly (re)opened and
   12725 # appended to by config.status.  When coming back to configure, we
   12726 # need to make the FD available again.
   12727 if test "$no_create" != yes; then
   12728   ac_cs_success=:
   12729   ac_config_status_args=
   12730   test "$silent" = yes &&
   12731     ac_config_status_args="$ac_config_status_args --quiet"
   12732   exec 5>/dev/null
   12733   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12734   exec 5>>config.log
   12735   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12736   # would make configure fail if this is the last instruction.
   12737   $ac_cs_success || as_fn_exit 1
   12738 fi
   12739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12740   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12742 fi
   12743 
   12744