Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for imake 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='imake'
    563 PACKAGE_TARNAME='imake'
    564 PACKAGE_VERSION='1.0.5'
    565 PACKAGE_STRING='imake 1.0.5'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 XPROTO_LIBS
    610 XPROTO_CFLAGS
    611 BUILD_MKHTMLINDEX_FALSE
    612 BUILD_MKHTMLINDEX_TRUE
    613 BUILD_CLEANLINKS_FALSE
    614 BUILD_CLEANLINKS_TRUE
    615 BUILD_MKDIRHIER_FALSE
    616 BUILD_MKDIRHIER_TRUE
    617 BUILD_MERGELIB_FALSE
    618 BUILD_MERGELIB_TRUE
    619 BUILD_CCMAKEDEP_FALSE
    620 BUILD_CCMAKEDEP_TRUE
    621 BUILD_XMKMF_FALSE
    622 BUILD_XMKMF_TRUE
    623 BUILD_MAKEG_FALSE
    624 BUILD_MAKEG_TRUE
    625 BUILD_REVPATH_FALSE
    626 BUILD_REVPATH_TRUE
    627 RANLIB
    628 ARCMD
    629 PREPROCESSCMD_MKDEPEND
    630 XCONFDIR
    631 HAS_PERL_FALSE
    632 HAS_PERL_TRUE
    633 HAS_PERL
    634 CPP_PROGRAM
    635 RAWCPPFLAGS
    636 RAWCPP
    637 AM_BACKSLASH
    638 AM_DEFAULT_VERBOSITY
    639 MAN_SUBSTS
    640 XORG_MAN_PAGE
    641 ADMIN_MAN_DIR
    642 DRIVER_MAN_DIR
    643 MISC_MAN_DIR
    644 FILE_MAN_DIR
    645 LIB_MAN_DIR
    646 APP_MAN_DIR
    647 ADMIN_MAN_SUFFIX
    648 DRIVER_MAN_SUFFIX
    649 MISC_MAN_SUFFIX
    650 FILE_MAN_SUFFIX
    651 LIB_MAN_SUFFIX
    652 APP_MAN_SUFFIX
    653 SED
    654 host_os
    655 host_vendor
    656 host_cpu
    657 host
    658 build_os
    659 build_vendor
    660 build_cpu
    661 build
    662 INSTALL_CMD
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 EGREP
    669 GREP
    670 CPP
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    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__untar
    691 am__tar
    692 AMTAR
    693 am__leading_dot
    694 SET_MAKE
    695 AWK
    696 mkdir_p
    697 MKDIR_P
    698 INSTALL_STRIP_PROGRAM
    699 STRIP
    700 install_sh
    701 MAKEINFO
    702 AUTOHEADER
    703 AUTOMAKE
    704 AUTOCONF
    705 ACLOCAL
    706 VERSION
    707 PACKAGE
    708 CYGPATH_W
    709 am__isrc
    710 INSTALL_DATA
    711 INSTALL_SCRIPT
    712 INSTALL_PROGRAM
    713 target_alias
    714 host_alias
    715 build_alias
    716 LIBS
    717 ECHO_T
    718 ECHO_N
    719 ECHO_C
    720 DEFS
    721 mandir
    722 localedir
    723 libdir
    724 psdir
    725 pdfdir
    726 dvidir
    727 htmldir
    728 infodir
    729 docdir
    730 oldincludedir
    731 includedir
    732 localstatedir
    733 sharedstatedir
    734 sysconfdir
    735 datadir
    736 datarootdir
    737 libexecdir
    738 sbindir
    739 bindir
    740 program_transform_name
    741 prefix
    742 exec_prefix
    743 PACKAGE_URL
    744 PACKAGE_BUGREPORT
    745 PACKAGE_STRING
    746 PACKAGE_VERSION
    747 PACKAGE_TARNAME
    748 PACKAGE_NAME
    749 PATH_SEPARATOR
    750 SHELL'
    751 ac_subst_files=''
    752 ac_user_opts='
    753 enable_option_checking
    754 enable_maintainer_mode
    755 enable_dependency_tracking
    756 enable_selective_werror
    757 enable_strict_compilation
    758 enable_silent_rules
    759 with_config_dir
    760 with_script_preproc_cmd
    761 with_create_lib_cmd
    762 with_clean_lib_cmd
    763 enable_revpath
    764 enable_makeg
    765 enable_xmkmf
    766 enable_ccmakedep
    767 enable_mergelib
    768 enable_mkdirhier
    769 enable_cleanlinks
    770 enable_mkhtmlindex
    771 '
    772       ac_precious_vars='build_alias
    773 host_alias
    774 target_alias
    775 CC
    776 CFLAGS
    777 LDFLAGS
    778 LIBS
    779 CPPFLAGS
    780 CPP
    781 PKG_CONFIG
    782 XPROTO_CFLAGS
    783 XPROTO_LIBS'
    784 
    785 
    786 # Initialize some variables set by options.
    787 ac_init_help=
    788 ac_init_version=false
    789 ac_unrecognized_opts=
    790 ac_unrecognized_sep=
    791 # The variables have the same names as the options, with
    792 # dashes changed to underlines.
    793 cache_file=/dev/null
    794 exec_prefix=NONE
    795 no_create=
    796 no_recursion=
    797 prefix=NONE
    798 program_prefix=NONE
    799 program_suffix=NONE
    800 program_transform_name=s,x,x,
    801 silent=
    802 site=
    803 srcdir=
    804 verbose=
    805 x_includes=NONE
    806 x_libraries=NONE
    807 
    808 # Installation directory options.
    809 # These are left unexpanded so users can "make install exec_prefix=/foo"
    810 # and all the variables that are supposed to be based on exec_prefix
    811 # by default will actually change.
    812 # Use braces instead of parens because sh, perl, etc. also accept them.
    813 # (The list follows the same order as the GNU Coding Standards.)
    814 bindir='${exec_prefix}/bin'
    815 sbindir='${exec_prefix}/sbin'
    816 libexecdir='${exec_prefix}/libexec'
    817 datarootdir='${prefix}/share'
    818 datadir='${datarootdir}'
    819 sysconfdir='${prefix}/etc'
    820 sharedstatedir='${prefix}/com'
    821 localstatedir='${prefix}/var'
    822 includedir='${prefix}/include'
    823 oldincludedir='/usr/include'
    824 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    825 infodir='${datarootdir}/info'
    826 htmldir='${docdir}'
    827 dvidir='${docdir}'
    828 pdfdir='${docdir}'
    829 psdir='${docdir}'
    830 libdir='${exec_prefix}/lib'
    831 localedir='${datarootdir}/locale'
    832 mandir='${datarootdir}/man'
    833 
    834 ac_prev=
    835 ac_dashdash=
    836 for ac_option
    837 do
    838   # If the previous option needs an argument, assign it.
    839   if test -n "$ac_prev"; then
    840     eval $ac_prev=\$ac_option
    841     ac_prev=
    842     continue
    843   fi
    844 
    845   case $ac_option in
    846   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    847   *=)   ac_optarg= ;;
    848   *)    ac_optarg=yes ;;
    849   esac
    850 
    851   # Accept the important Cygnus configure options, so we can diagnose typos.
    852 
    853   case $ac_dashdash$ac_option in
    854   --)
    855     ac_dashdash=yes ;;
    856 
    857   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    858     ac_prev=bindir ;;
    859   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    860     bindir=$ac_optarg ;;
    861 
    862   -build | --build | --buil | --bui | --bu)
    863     ac_prev=build_alias ;;
    864   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    865     build_alias=$ac_optarg ;;
    866 
    867   -cache-file | --cache-file | --cache-fil | --cache-fi \
    868   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    869     ac_prev=cache_file ;;
    870   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    871   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    872     cache_file=$ac_optarg ;;
    873 
    874   --config-cache | -C)
    875     cache_file=config.cache ;;
    876 
    877   -datadir | --datadir | --datadi | --datad)
    878     ac_prev=datadir ;;
    879   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    880     datadir=$ac_optarg ;;
    881 
    882   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    883   | --dataroo | --dataro | --datar)
    884     ac_prev=datarootdir ;;
    885   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    886   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    887     datarootdir=$ac_optarg ;;
    888 
    889   -disable-* | --disable-*)
    890     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    891     # Reject names that are not valid shell variable names.
    892     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    893       as_fn_error $? "invalid feature name: $ac_useropt"
    894     ac_useropt_orig=$ac_useropt
    895     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    896     case $ac_user_opts in
    897       *"
    898 "enable_$ac_useropt"
    899 "*) ;;
    900       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    901 	 ac_unrecognized_sep=', ';;
    902     esac
    903     eval enable_$ac_useropt=no ;;
    904 
    905   -docdir | --docdir | --docdi | --doc | --do)
    906     ac_prev=docdir ;;
    907   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    908     docdir=$ac_optarg ;;
    909 
    910   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    911     ac_prev=dvidir ;;
    912   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    913     dvidir=$ac_optarg ;;
    914 
    915   -enable-* | --enable-*)
    916     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    917     # Reject names that are not valid shell variable names.
    918     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    919       as_fn_error $? "invalid feature name: $ac_useropt"
    920     ac_useropt_orig=$ac_useropt
    921     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    922     case $ac_user_opts in
    923       *"
    924 "enable_$ac_useropt"
    925 "*) ;;
    926       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    927 	 ac_unrecognized_sep=', ';;
    928     esac
    929     eval enable_$ac_useropt=\$ac_optarg ;;
    930 
    931   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    932   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    933   | --exec | --exe | --ex)
    934     ac_prev=exec_prefix ;;
    935   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    936   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    937   | --exec=* | --exe=* | --ex=*)
    938     exec_prefix=$ac_optarg ;;
    939 
    940   -gas | --gas | --ga | --g)
    941     # Obsolete; use --with-gas.
    942     with_gas=yes ;;
    943 
    944   -help | --help | --hel | --he | -h)
    945     ac_init_help=long ;;
    946   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    947     ac_init_help=recursive ;;
    948   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    949     ac_init_help=short ;;
    950 
    951   -host | --host | --hos | --ho)
    952     ac_prev=host_alias ;;
    953   -host=* | --host=* | --hos=* | --ho=*)
    954     host_alias=$ac_optarg ;;
    955 
    956   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    957     ac_prev=htmldir ;;
    958   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    959   | --ht=*)
    960     htmldir=$ac_optarg ;;
    961 
    962   -includedir | --includedir | --includedi | --included | --include \
    963   | --includ | --inclu | --incl | --inc)
    964     ac_prev=includedir ;;
    965   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    966   | --includ=* | --inclu=* | --incl=* | --inc=*)
    967     includedir=$ac_optarg ;;
    968 
    969   -infodir | --infodir | --infodi | --infod | --info | --inf)
    970     ac_prev=infodir ;;
    971   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    972     infodir=$ac_optarg ;;
    973 
    974   -libdir | --libdir | --libdi | --libd)
    975     ac_prev=libdir ;;
    976   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    977     libdir=$ac_optarg ;;
    978 
    979   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    980   | --libexe | --libex | --libe)
    981     ac_prev=libexecdir ;;
    982   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    983   | --libexe=* | --libex=* | --libe=*)
    984     libexecdir=$ac_optarg ;;
    985 
    986   -localedir | --localedir | --localedi | --localed | --locale)
    987     ac_prev=localedir ;;
    988   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    989     localedir=$ac_optarg ;;
    990 
    991   -localstatedir | --localstatedir | --localstatedi | --localstated \
    992   | --localstate | --localstat | --localsta | --localst | --locals)
    993     ac_prev=localstatedir ;;
    994   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    995   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    996     localstatedir=$ac_optarg ;;
    997 
    998   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    999     ac_prev=mandir ;;
   1000   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1001     mandir=$ac_optarg ;;
   1002 
   1003   -nfp | --nfp | --nf)
   1004     # Obsolete; use --without-fp.
   1005     with_fp=no ;;
   1006 
   1007   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1008   | --no-cr | --no-c | -n)
   1009     no_create=yes ;;
   1010 
   1011   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1012   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1013     no_recursion=yes ;;
   1014 
   1015   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1016   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1017   | --oldin | --oldi | --old | --ol | --o)
   1018     ac_prev=oldincludedir ;;
   1019   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1020   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1021   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1022     oldincludedir=$ac_optarg ;;
   1023 
   1024   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1025     ac_prev=prefix ;;
   1026   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1027     prefix=$ac_optarg ;;
   1028 
   1029   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1030   | --program-pre | --program-pr | --program-p)
   1031     ac_prev=program_prefix ;;
   1032   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1033   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1034     program_prefix=$ac_optarg ;;
   1035 
   1036   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1037   | --program-suf | --program-su | --program-s)
   1038     ac_prev=program_suffix ;;
   1039   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1040   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1041     program_suffix=$ac_optarg ;;
   1042 
   1043   -program-transform-name | --program-transform-name \
   1044   | --program-transform-nam | --program-transform-na \
   1045   | --program-transform-n | --program-transform- \
   1046   | --program-transform | --program-transfor \
   1047   | --program-transfo | --program-transf \
   1048   | --program-trans | --program-tran \
   1049   | --progr-tra | --program-tr | --program-t)
   1050     ac_prev=program_transform_name ;;
   1051   -program-transform-name=* | --program-transform-name=* \
   1052   | --program-transform-nam=* | --program-transform-na=* \
   1053   | --program-transform-n=* | --program-transform-=* \
   1054   | --program-transform=* | --program-transfor=* \
   1055   | --program-transfo=* | --program-transf=* \
   1056   | --program-trans=* | --program-tran=* \
   1057   | --progr-tra=* | --program-tr=* | --program-t=*)
   1058     program_transform_name=$ac_optarg ;;
   1059 
   1060   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1061     ac_prev=pdfdir ;;
   1062   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1063     pdfdir=$ac_optarg ;;
   1064 
   1065   -psdir | --psdir | --psdi | --psd | --ps)
   1066     ac_prev=psdir ;;
   1067   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1068     psdir=$ac_optarg ;;
   1069 
   1070   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1071   | -silent | --silent | --silen | --sile | --sil)
   1072     silent=yes ;;
   1073 
   1074   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1075     ac_prev=sbindir ;;
   1076   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1077   | --sbi=* | --sb=*)
   1078     sbindir=$ac_optarg ;;
   1079 
   1080   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1081   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1082   | --sharedst | --shareds | --shared | --share | --shar \
   1083   | --sha | --sh)
   1084     ac_prev=sharedstatedir ;;
   1085   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1086   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1087   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1088   | --sha=* | --sh=*)
   1089     sharedstatedir=$ac_optarg ;;
   1090 
   1091   -site | --site | --sit)
   1092     ac_prev=site ;;
   1093   -site=* | --site=* | --sit=*)
   1094     site=$ac_optarg ;;
   1095 
   1096   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1097     ac_prev=srcdir ;;
   1098   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1099     srcdir=$ac_optarg ;;
   1100 
   1101   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1102   | --syscon | --sysco | --sysc | --sys | --sy)
   1103     ac_prev=sysconfdir ;;
   1104   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1105   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1106     sysconfdir=$ac_optarg ;;
   1107 
   1108   -target | --target | --targe | --targ | --tar | --ta | --t)
   1109     ac_prev=target_alias ;;
   1110   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1111     target_alias=$ac_optarg ;;
   1112 
   1113   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1114     verbose=yes ;;
   1115 
   1116   -version | --version | --versio | --versi | --vers | -V)
   1117     ac_init_version=: ;;
   1118 
   1119   -with-* | --with-*)
   1120     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1121     # Reject names that are not valid shell variable names.
   1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1123       as_fn_error $? "invalid package name: $ac_useropt"
   1124     ac_useropt_orig=$ac_useropt
   1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1126     case $ac_user_opts in
   1127       *"
   1128 "with_$ac_useropt"
   1129 "*) ;;
   1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1131 	 ac_unrecognized_sep=', ';;
   1132     esac
   1133     eval with_$ac_useropt=\$ac_optarg ;;
   1134 
   1135   -without-* | --without-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid package name: $ac_useropt"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "with_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval with_$ac_useropt=no ;;
   1150 
   1151   --x)
   1152     # Obsolete; use --with-x.
   1153     with_x=yes ;;
   1154 
   1155   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1156   | --x-incl | --x-inc | --x-in | --x-i)
   1157     ac_prev=x_includes ;;
   1158   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1159   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1160     x_includes=$ac_optarg ;;
   1161 
   1162   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1163   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1164     ac_prev=x_libraries ;;
   1165   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1166   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1167     x_libraries=$ac_optarg ;;
   1168 
   1169   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1170 Try \`$0 --help' for more information"
   1171     ;;
   1172 
   1173   *=*)
   1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1175     # Reject names that are not valid shell variable names.
   1176     case $ac_envvar in #(
   1177       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1178       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1179     esac
   1180     eval $ac_envvar=\$ac_optarg
   1181     export $ac_envvar ;;
   1182 
   1183   *)
   1184     # FIXME: should be removed in autoconf 3.0.
   1185     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1186     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1187       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1188     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1189     ;;
   1190 
   1191   esac
   1192 done
   1193 
   1194 if test -n "$ac_prev"; then
   1195   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1196   as_fn_error $? "missing argument to $ac_option"
   1197 fi
   1198 
   1199 if test -n "$ac_unrecognized_opts"; then
   1200   case $enable_option_checking in
   1201     no) ;;
   1202     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1203     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1204   esac
   1205 fi
   1206 
   1207 # Check all directory arguments for consistency.
   1208 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1209 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1210 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1211 		libdir localedir mandir
   1212 do
   1213   eval ac_val=\$$ac_var
   1214   # Remove trailing slashes.
   1215   case $ac_val in
   1216     */ )
   1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1218       eval $ac_var=\$ac_val;;
   1219   esac
   1220   # Be sure to have absolute directory names.
   1221   case $ac_val in
   1222     [\\/$]* | ?:[\\/]* )  continue;;
   1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1224   esac
   1225   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1226 done
   1227 
   1228 # There might be people who depend on the old broken behavior: `$host'
   1229 # used to hold the argument of --host etc.
   1230 # FIXME: To remove some day.
   1231 build=$build_alias
   1232 host=$host_alias
   1233 target=$target_alias
   1234 
   1235 # FIXME: To remove some day.
   1236 if test "x$host_alias" != x; then
   1237   if test "x$build_alias" = x; then
   1238     cross_compiling=maybe
   1239     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1240     If a cross compiler is detected then cross compile mode will be used" >&2
   1241   elif test "x$build_alias" != "x$host_alias"; then
   1242     cross_compiling=yes
   1243   fi
   1244 fi
   1245 
   1246 ac_tool_prefix=
   1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1248 
   1249 test "$silent" = yes && exec 6>/dev/null
   1250 
   1251 
   1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1253 ac_ls_di=`ls -di .` &&
   1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1255   as_fn_error $? "working directory cannot be determined"
   1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1257   as_fn_error $? "pwd does not report name of working directory"
   1258 
   1259 
   1260 # Find the source files, if location was not specified.
   1261 if test -z "$srcdir"; then
   1262   ac_srcdir_defaulted=yes
   1263   # Try the directory containing this script, then the parent directory.
   1264   ac_confdir=`$as_dirname -- "$as_myself" ||
   1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1266 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1267 	 X"$as_myself" : 'X\(//\)$' \| \
   1268 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1269 $as_echo X"$as_myself" |
   1270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\/\)[^/].*/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\).*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  s/.*/./; q'`
   1287   srcdir=$ac_confdir
   1288   if test ! -r "$srcdir/$ac_unique_file"; then
   1289     srcdir=..
   1290   fi
   1291 else
   1292   ac_srcdir_defaulted=no
   1293 fi
   1294 if test ! -r "$srcdir/$ac_unique_file"; then
   1295   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1296   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1297 fi
   1298 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1299 ac_abs_confdir=`(
   1300 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1301 	pwd)`
   1302 # When building in place, set srcdir=.
   1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1304   srcdir=.
   1305 fi
   1306 # Remove unnecessary trailing slashes from srcdir.
   1307 # Double slashes in file names in object file debugging info
   1308 # mess up M-x gdb in Emacs.
   1309 case $srcdir in
   1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1311 esac
   1312 for ac_var in $ac_precious_vars; do
   1313   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_env_${ac_var}_value=\$${ac_var}
   1315   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1317 done
   1318 
   1319 #
   1320 # Report the --help message.
   1321 #
   1322 if test "$ac_init_help" = "long"; then
   1323   # Omit some internal or obsolete options to make the list less imposing.
   1324   # This message is too long to be a string in the A/UX 3.1 sh.
   1325   cat <<_ACEOF
   1326 \`configure' configures imake 1.0.5 to adapt to many kinds of systems.
   1327 
   1328 Usage: $0 [OPTION]... [VAR=VALUE]...
   1329 
   1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1331 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1332 
   1333 Defaults for the options are specified in brackets.
   1334 
   1335 Configuration:
   1336   -h, --help              display this help and exit
   1337       --help=short        display options specific to this package
   1338       --help=recursive    display the short help of all the included packages
   1339   -V, --version           display version information and exit
   1340   -q, --quiet, --silent   do not print \`checking ...' messages
   1341       --cache-file=FILE   cache test results in FILE [disabled]
   1342   -C, --config-cache      alias for \`--cache-file=config.cache'
   1343   -n, --no-create         do not create output files
   1344       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1345 
   1346 Installation directories:
   1347   --prefix=PREFIX         install architecture-independent files in PREFIX
   1348                           [$ac_default_prefix]
   1349   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1350                           [PREFIX]
   1351 
   1352 By default, \`make install' will install all the files in
   1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1355 for instance \`--prefix=\$HOME'.
   1356 
   1357 For better control, use the options below.
   1358 
   1359 Fine tuning of the installation directories:
   1360   --bindir=DIR            user executables [EPREFIX/bin]
   1361   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1362   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1363   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1364   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1365   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1366   --libdir=DIR            object code libraries [EPREFIX/lib]
   1367   --includedir=DIR        C header files [PREFIX/include]
   1368   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1369   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1370   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1371   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1372   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1373   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1374   --docdir=DIR            documentation root [DATAROOTDIR/doc/imake]
   1375   --htmldir=DIR           html documentation [DOCDIR]
   1376   --dvidir=DIR            dvi documentation [DOCDIR]
   1377   --pdfdir=DIR            pdf documentation [DOCDIR]
   1378   --psdir=DIR             ps documentation [DOCDIR]
   1379 _ACEOF
   1380 
   1381   cat <<\_ACEOF
   1382 
   1383 Program names:
   1384   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1385   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1386   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1387 
   1388 System types:
   1389   --build=BUILD     configure for building on BUILD [guessed]
   1390   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1391 _ACEOF
   1392 fi
   1393 
   1394 if test -n "$ac_init_help"; then
   1395   case $ac_init_help in
   1396      short | recursive ) echo "Configuration of imake 1.0.5:";;
   1397    esac
   1398   cat <<\_ACEOF
   1399 
   1400 Optional Features:
   1401   --disable-option-checking  ignore unrecognized --enable/--with options
   1402   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1403   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1404   --enable-maintainer-mode  enable make rules and dependencies not useful
   1405 			  (and sometimes confusing) to the casual installer
   1406   --disable-dependency-tracking  speeds up one-time build
   1407   --enable-dependency-tracking   do not reject slow dependency extractors
   1408   --disable-selective-werror
   1409                           Turn off selective compiler errors. (default:
   1410                           enabled)
   1411   --enable-strict-compilation
   1412                           Enable all warnings from compiler and make them
   1413                           errors (default: disabled)
   1414   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1415   --disable-silent-rules         verbose build output (undo: `make V=0')
   1416   --disable-revpath       Build revpath (default: enabled)
   1417   --disable-makeg         Build makeg (default: enabled)
   1418   --disable-xmkmf         Build xmkmf (default: enabled)
   1419   --disable-ccmakedep     Build ccmakedep (default: enabled)
   1420   --disable-mergelib      Build mergelib (default: enabled)
   1421   --disable-mkdirhier     Build mkdirhier (default: enabled)
   1422   --disable-cleanlinks    Build cleanlinks (default: enabled)
   1423   --disable-mkhtmlindex   Build mkhtmlindex (default: enabled)
   1424 
   1425 Optional Packages:
   1426   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1427   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1428   --with-config-dir=<path>
   1429                           Path to config dir (default: ${libdir}/X11/config)
   1430   --with-script-preproc-cmd=CMD
   1431                           Preprocessor command to run on scripts (default:
   1432                           "gcc -E")
   1433   --with-create-lib-cmd=CMD
   1434                           Command to create libraries (default: "ar clq")
   1435   --with-clean-lib-cmd=CMD
   1436                           Command to clean up libraries (default: "ranlib")
   1437 
   1438 Some influential environment variables:
   1439   CC          C compiler command
   1440   CFLAGS      C compiler flags
   1441   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1442               nonstandard directory <lib dir>
   1443   LIBS        libraries to pass to the linker, e.g. -l<library>
   1444   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1445               you have headers in a nonstandard directory <include dir>
   1446   CPP         C preprocessor
   1447   PKG_CONFIG  path to pkg-config utility
   1448   XPROTO_CFLAGS
   1449               C compiler flags for XPROTO, overriding pkg-config
   1450   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1451 
   1452 Use these variables to override the choices made by `configure' or to help
   1453 it to find libraries and programs with nonstandard names/locations.
   1454 
   1455 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1456 _ACEOF
   1457 ac_status=$?
   1458 fi
   1459 
   1460 if test "$ac_init_help" = "recursive"; then
   1461   # If there are subdirs, report their specific --help.
   1462   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1463     test -d "$ac_dir" ||
   1464       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1465       continue
   1466     ac_builddir=.
   1467 
   1468 case "$ac_dir" in
   1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1470 *)
   1471   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1472   # A ".." for each directory in $ac_dir_suffix.
   1473   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1474   case $ac_top_builddir_sub in
   1475   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1477   esac ;;
   1478 esac
   1479 ac_abs_top_builddir=$ac_pwd
   1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1481 # for backward compatibility:
   1482 ac_top_builddir=$ac_top_build_prefix
   1483 
   1484 case $srcdir in
   1485   .)  # We are building in place.
   1486     ac_srcdir=.
   1487     ac_top_srcdir=$ac_top_builddir_sub
   1488     ac_abs_top_srcdir=$ac_pwd ;;
   1489   [\\/]* | ?:[\\/]* )  # Absolute name.
   1490     ac_srcdir=$srcdir$ac_dir_suffix;
   1491     ac_top_srcdir=$srcdir
   1492     ac_abs_top_srcdir=$srcdir ;;
   1493   *) # Relative name.
   1494     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1495     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1496     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1497 esac
   1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1499 
   1500     cd "$ac_dir" || { ac_status=$?; continue; }
   1501     # Check for guested configure.
   1502     if test -f "$ac_srcdir/configure.gnu"; then
   1503       echo &&
   1504       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1505     elif test -f "$ac_srcdir/configure"; then
   1506       echo &&
   1507       $SHELL "$ac_srcdir/configure" --help=recursive
   1508     else
   1509       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1510     fi || ac_status=$?
   1511     cd "$ac_pwd" || { ac_status=$?; break; }
   1512   done
   1513 fi
   1514 
   1515 test -n "$ac_init_help" && exit $ac_status
   1516 if $ac_init_version; then
   1517   cat <<\_ACEOF
   1518 imake configure 1.0.5
   1519 generated by GNU Autoconf 2.68
   1520 
   1521 Copyright (C) 2010 Free Software Foundation, Inc.
   1522 This configure script is free software; the Free Software Foundation
   1523 gives unlimited permission to copy, distribute and modify it.
   1524 _ACEOF
   1525   exit
   1526 fi
   1527 
   1528 ## ------------------------ ##
   1529 ## Autoconf initialization. ##
   1530 ## ------------------------ ##
   1531 
   1532 # ac_fn_c_try_compile LINENO
   1533 # --------------------------
   1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1535 ac_fn_c_try_compile ()
   1536 {
   1537   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1538   rm -f conftest.$ac_objext
   1539   if { { ac_try="$ac_compile"
   1540 case "(($ac_try" in
   1541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1542   *) ac_try_echo=$ac_try;;
   1543 esac
   1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1545 $as_echo "$ac_try_echo"; } >&5
   1546   (eval "$ac_compile") 2>conftest.err
   1547   ac_status=$?
   1548   if test -s conftest.err; then
   1549     grep -v '^ *+' conftest.err >conftest.er1
   1550     cat conftest.er1 >&5
   1551     mv -f conftest.er1 conftest.err
   1552   fi
   1553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1554   test $ac_status = 0; } && {
   1555 	 test -z "$ac_c_werror_flag" ||
   1556 	 test ! -s conftest.err
   1557        } && test -s conftest.$ac_objext; then :
   1558   ac_retval=0
   1559 else
   1560   $as_echo "$as_me: failed program was:" >&5
   1561 sed 's/^/| /' conftest.$ac_ext >&5
   1562 
   1563 	ac_retval=1
   1564 fi
   1565   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1566   as_fn_set_status $ac_retval
   1567 
   1568 } # ac_fn_c_try_compile
   1569 
   1570 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1571 # ---------------------------------------------
   1572 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1573 # accordingly.
   1574 ac_fn_c_check_decl ()
   1575 {
   1576   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1577   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1578   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1580 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1581 if eval \${$3+:} false; then :
   1582   $as_echo_n "(cached) " >&6
   1583 else
   1584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1585 /* end confdefs.h.  */
   1586 $4
   1587 int
   1588 main ()
   1589 {
   1590 #ifndef $as_decl_name
   1591 #ifdef __cplusplus
   1592   (void) $as_decl_use;
   1593 #else
   1594   (void) $as_decl_name;
   1595 #endif
   1596 #endif
   1597 
   1598   ;
   1599   return 0;
   1600 }
   1601 _ACEOF
   1602 if ac_fn_c_try_compile "$LINENO"; then :
   1603   eval "$3=yes"
   1604 else
   1605   eval "$3=no"
   1606 fi
   1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1608 fi
   1609 eval ac_res=\$$3
   1610 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1611 $as_echo "$ac_res" >&6; }
   1612   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1613 
   1614 } # ac_fn_c_check_decl
   1615 
   1616 # ac_fn_c_try_cpp LINENO
   1617 # ----------------------
   1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1619 ac_fn_c_try_cpp ()
   1620 {
   1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1622   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 $as_echo "$ac_try_echo"; } >&5
   1629   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } > conftest.i && {
   1638 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        }; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: failed program was:" >&5
   1644 sed 's/^/| /' conftest.$ac_ext >&5
   1645 
   1646     ac_retval=1
   1647 fi
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_cpp
   1652 
   1653 # ac_fn_c_try_run LINENO
   1654 # ----------------------
   1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1656 # that executables *can* be run.
   1657 ac_fn_c_try_run ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   if { { ac_try="$ac_link"
   1661 case "(($ac_try" in
   1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1663   *) ac_try_echo=$ac_try;;
   1664 esac
   1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1666 $as_echo "$ac_try_echo"; } >&5
   1667   (eval "$ac_link") 2>&5
   1668   ac_status=$?
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1671   { { case "(($ac_try" in
   1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1673   *) ac_try_echo=$ac_try;;
   1674 esac
   1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1676 $as_echo "$ac_try_echo"; } >&5
   1677   (eval "$ac_try") 2>&5
   1678   ac_status=$?
   1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1680   test $ac_status = 0; }; }; then :
   1681   ac_retval=0
   1682 else
   1683   $as_echo "$as_me: program exited with status $ac_status" >&5
   1684        $as_echo "$as_me: failed program was:" >&5
   1685 sed 's/^/| /' conftest.$ac_ext >&5
   1686 
   1687        ac_retval=$ac_status
   1688 fi
   1689   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691   as_fn_set_status $ac_retval
   1692 
   1693 } # ac_fn_c_try_run
   1694 
   1695 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1696 # -------------------------------------------------------
   1697 # Tests whether HEADER exists and can be compiled using the include files in
   1698 # INCLUDES, setting the cache variable VAR accordingly.
   1699 ac_fn_c_check_header_compile ()
   1700 {
   1701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1703 $as_echo_n "checking for $2... " >&6; }
   1704 if eval \${$3+:} false; then :
   1705   $as_echo_n "(cached) " >&6
   1706 else
   1707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1708 /* end confdefs.h.  */
   1709 $4
   1710 #include <$2>
   1711 _ACEOF
   1712 if ac_fn_c_try_compile "$LINENO"; then :
   1713   eval "$3=yes"
   1714 else
   1715   eval "$3=no"
   1716 fi
   1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1718 fi
   1719 eval ac_res=\$$3
   1720 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1721 $as_echo "$ac_res" >&6; }
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723 
   1724 } # ac_fn_c_check_header_compile
   1725 
   1726 # ac_fn_c_try_link LINENO
   1727 # -----------------------
   1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1729 ac_fn_c_try_link ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   rm -f conftest.$ac_objext conftest$ac_exeext
   1733   if { { ac_try="$ac_link"
   1734 case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 $as_echo "$ac_try_echo"; } >&5
   1740   (eval "$ac_link") 2>conftest.err
   1741   ac_status=$?
   1742   if test -s conftest.err; then
   1743     grep -v '^ *+' conftest.err >conftest.er1
   1744     cat conftest.er1 >&5
   1745     mv -f conftest.er1 conftest.err
   1746   fi
   1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1748   test $ac_status = 0; } && {
   1749 	 test -z "$ac_c_werror_flag" ||
   1750 	 test ! -s conftest.err
   1751        } && test -s conftest$ac_exeext && {
   1752 	 test "$cross_compiling" = yes ||
   1753 	 $as_test_x conftest$ac_exeext
   1754        }; then :
   1755   ac_retval=0
   1756 else
   1757   $as_echo "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760 	ac_retval=1
   1761 fi
   1762   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1763   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1764   # interfere with the next link command; also delete a directory that is
   1765   # left behind by Apple's compiler.  We do this before executing the actions.
   1766   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1767   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1768   as_fn_set_status $ac_retval
   1769 
   1770 } # ac_fn_c_try_link
   1771 
   1772 # ac_fn_c_check_func LINENO FUNC VAR
   1773 # ----------------------------------
   1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1775 ac_fn_c_check_func ()
   1776 {
   1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1779 $as_echo_n "checking for $2... " >&6; }
   1780 if eval \${$3+:} false; then :
   1781   $as_echo_n "(cached) " >&6
   1782 else
   1783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1784 /* end confdefs.h.  */
   1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1787 #define $2 innocuous_$2
   1788 
   1789 /* System header to define __stub macros and hopefully few prototypes,
   1790     which can conflict with char $2 (); below.
   1791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1792     <limits.h> exists even on freestanding compilers.  */
   1793 
   1794 #ifdef __STDC__
   1795 # include <limits.h>
   1796 #else
   1797 # include <assert.h>
   1798 #endif
   1799 
   1800 #undef $2
   1801 
   1802 /* Override any GCC internal prototype to avoid an error.
   1803    Use char because int might match the return type of a GCC
   1804    builtin and then its argument prototype would still apply.  */
   1805 #ifdef __cplusplus
   1806 extern "C"
   1807 #endif
   1808 char $2 ();
   1809 /* The GNU C library defines this for functions which it implements
   1810     to always fail with ENOSYS.  Some functions are actually named
   1811     something starting with __ and the normal name is an alias.  */
   1812 #if defined __stub_$2 || defined __stub___$2
   1813 choke me
   1814 #endif
   1815 
   1816 int
   1817 main ()
   1818 {
   1819 return $2 ();
   1820   ;
   1821   return 0;
   1822 }
   1823 _ACEOF
   1824 if ac_fn_c_try_link "$LINENO"; then :
   1825   eval "$3=yes"
   1826 else
   1827   eval "$3=no"
   1828 fi
   1829 rm -f core conftest.err conftest.$ac_objext \
   1830     conftest$ac_exeext conftest.$ac_ext
   1831 fi
   1832 eval ac_res=\$$3
   1833 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1834 $as_echo "$ac_res" >&6; }
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836 
   1837 } # ac_fn_c_check_func
   1838 cat >config.log <<_ACEOF
   1839 This file contains any messages produced by compilers while
   1840 running configure, to aid debugging if configure makes a mistake.
   1841 
   1842 It was created by imake $as_me 1.0.5, which was
   1843 generated by GNU Autoconf 2.68.  Invocation command line was
   1844 
   1845   $ $0 $@
   1846 
   1847 _ACEOF
   1848 exec 5>>config.log
   1849 {
   1850 cat <<_ASUNAME
   1851 ## --------- ##
   1852 ## Platform. ##
   1853 ## --------- ##
   1854 
   1855 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1856 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1857 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1858 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1859 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1860 
   1861 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1862 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1863 
   1864 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1865 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1866 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1867 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1868 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1869 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1870 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1871 
   1872 _ASUNAME
   1873 
   1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1875 for as_dir in $PATH
   1876 do
   1877   IFS=$as_save_IFS
   1878   test -z "$as_dir" && as_dir=.
   1879     $as_echo "PATH: $as_dir"
   1880   done
   1881 IFS=$as_save_IFS
   1882 
   1883 } >&5
   1884 
   1885 cat >&5 <<_ACEOF
   1886 
   1887 
   1888 ## ----------- ##
   1889 ## Core tests. ##
   1890 ## ----------- ##
   1891 
   1892 _ACEOF
   1893 
   1894 
   1895 # Keep a trace of the command line.
   1896 # Strip out --no-create and --no-recursion so they do not pile up.
   1897 # Strip out --silent because we don't want to record it for future runs.
   1898 # Also quote any args containing shell meta-characters.
   1899 # Make two passes to allow for proper duplicate-argument suppression.
   1900 ac_configure_args=
   1901 ac_configure_args0=
   1902 ac_configure_args1=
   1903 ac_must_keep_next=false
   1904 for ac_pass in 1 2
   1905 do
   1906   for ac_arg
   1907   do
   1908     case $ac_arg in
   1909     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1910     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1911     | -silent | --silent | --silen | --sile | --sil)
   1912       continue ;;
   1913     *\'*)
   1914       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1915     esac
   1916     case $ac_pass in
   1917     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1918     2)
   1919       as_fn_append ac_configure_args1 " '$ac_arg'"
   1920       if test $ac_must_keep_next = true; then
   1921 	ac_must_keep_next=false # Got value, back to normal.
   1922       else
   1923 	case $ac_arg in
   1924 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1925 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1926 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1927 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1928 	    case "$ac_configure_args0 " in
   1929 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1930 	    esac
   1931 	    ;;
   1932 	  -* ) ac_must_keep_next=true ;;
   1933 	esac
   1934       fi
   1935       as_fn_append ac_configure_args " '$ac_arg'"
   1936       ;;
   1937     esac
   1938   done
   1939 done
   1940 { ac_configure_args0=; unset ac_configure_args0;}
   1941 { ac_configure_args1=; unset ac_configure_args1;}
   1942 
   1943 # When interrupted or exit'd, cleanup temporary files, and complete
   1944 # config.log.  We remove comments because anyway the quotes in there
   1945 # would cause problems or look ugly.
   1946 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1947 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1948 trap 'exit_status=$?
   1949   # Save into config.log some information that might help in debugging.
   1950   {
   1951     echo
   1952 
   1953     $as_echo "## ---------------- ##
   1954 ## Cache variables. ##
   1955 ## ---------------- ##"
   1956     echo
   1957     # The following way of writing the cache mishandles newlines in values,
   1958 (
   1959   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1960     eval ac_val=\$$ac_var
   1961     case $ac_val in #(
   1962     *${as_nl}*)
   1963       case $ac_var in #(
   1964       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1965 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1966       esac
   1967       case $ac_var in #(
   1968       _ | IFS | as_nl) ;; #(
   1969       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1970       *) { eval $ac_var=; unset $ac_var;} ;;
   1971       esac ;;
   1972     esac
   1973   done
   1974   (set) 2>&1 |
   1975     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1976     *${as_nl}ac_space=\ *)
   1977       sed -n \
   1978 	"s/'\''/'\''\\\\'\'''\''/g;
   1979 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1980       ;; #(
   1981     *)
   1982       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1983       ;;
   1984     esac |
   1985     sort
   1986 )
   1987     echo
   1988 
   1989     $as_echo "## ----------------- ##
   1990 ## Output variables. ##
   1991 ## ----------------- ##"
   1992     echo
   1993     for ac_var in $ac_subst_vars
   1994     do
   1995       eval ac_val=\$$ac_var
   1996       case $ac_val in
   1997       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1998       esac
   1999       $as_echo "$ac_var='\''$ac_val'\''"
   2000     done | sort
   2001     echo
   2002 
   2003     if test -n "$ac_subst_files"; then
   2004       $as_echo "## ------------------- ##
   2005 ## File substitutions. ##
   2006 ## ------------------- ##"
   2007       echo
   2008       for ac_var in $ac_subst_files
   2009       do
   2010 	eval ac_val=\$$ac_var
   2011 	case $ac_val in
   2012 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2013 	esac
   2014 	$as_echo "$ac_var='\''$ac_val'\''"
   2015       done | sort
   2016       echo
   2017     fi
   2018 
   2019     if test -s confdefs.h; then
   2020       $as_echo "## ----------- ##
   2021 ## confdefs.h. ##
   2022 ## ----------- ##"
   2023       echo
   2024       cat confdefs.h
   2025       echo
   2026     fi
   2027     test "$ac_signal" != 0 &&
   2028       $as_echo "$as_me: caught signal $ac_signal"
   2029     $as_echo "$as_me: exit $exit_status"
   2030   } >&5
   2031   rm -f core *.core core.conftest.* &&
   2032     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2033     exit $exit_status
   2034 ' 0
   2035 for ac_signal in 1 2 13 15; do
   2036   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2037 done
   2038 ac_signal=0
   2039 
   2040 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2041 rm -f -r conftest* confdefs.h
   2042 
   2043 $as_echo "/* confdefs.h */" > confdefs.h
   2044 
   2045 # Predefined preprocessor variables.
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_NAME "$PACKAGE_NAME"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2053 _ACEOF
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_STRING "$PACKAGE_STRING"
   2061 _ACEOF
   2062 
   2063 cat >>confdefs.h <<_ACEOF
   2064 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2065 _ACEOF
   2066 
   2067 cat >>confdefs.h <<_ACEOF
   2068 #define PACKAGE_URL "$PACKAGE_URL"
   2069 _ACEOF
   2070 
   2071 
   2072 # Let the site file select an alternate cache file if it wants to.
   2073 # Prefer an explicitly selected file to automatically selected ones.
   2074 ac_site_file1=NONE
   2075 ac_site_file2=NONE
   2076 if test -n "$CONFIG_SITE"; then
   2077   # We do not want a PATH search for config.site.
   2078   case $CONFIG_SITE in #((
   2079     -*)  ac_site_file1=./$CONFIG_SITE;;
   2080     */*) ac_site_file1=$CONFIG_SITE;;
   2081     *)   ac_site_file1=./$CONFIG_SITE;;
   2082   esac
   2083 elif test "x$prefix" != xNONE; then
   2084   ac_site_file1=$prefix/share/config.site
   2085   ac_site_file2=$prefix/etc/config.site
   2086 else
   2087   ac_site_file1=$ac_default_prefix/share/config.site
   2088   ac_site_file2=$ac_default_prefix/etc/config.site
   2089 fi
   2090 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2091 do
   2092   test "x$ac_site_file" = xNONE && continue
   2093   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2094     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2095 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2096     sed 's/^/| /' "$ac_site_file" >&5
   2097     . "$ac_site_file" \
   2098       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2100 as_fn_error $? "failed to load site script $ac_site_file
   2101 See \`config.log' for more details" "$LINENO" 5; }
   2102   fi
   2103 done
   2104 
   2105 if test -r "$cache_file"; then
   2106   # Some versions of bash will fail to source /dev/null (special files
   2107   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2108   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2109     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2110 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2111     case $cache_file in
   2112       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2113       *)                      . "./$cache_file";;
   2114     esac
   2115   fi
   2116 else
   2117   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2118 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2119   >$cache_file
   2120 fi
   2121 
   2122 # Check that the precious variables saved in the cache have kept the same
   2123 # value.
   2124 ac_cache_corrupted=false
   2125 for ac_var in $ac_precious_vars; do
   2126   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2127   eval ac_new_set=\$ac_env_${ac_var}_set
   2128   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2129   eval ac_new_val=\$ac_env_${ac_var}_value
   2130   case $ac_old_set,$ac_new_set in
   2131     set,)
   2132       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2133 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2134       ac_cache_corrupted=: ;;
   2135     ,set)
   2136       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2137 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2138       ac_cache_corrupted=: ;;
   2139     ,);;
   2140     *)
   2141       if test "x$ac_old_val" != "x$ac_new_val"; then
   2142 	# differences in whitespace do not lead to failure.
   2143 	ac_old_val_w=`echo x $ac_old_val`
   2144 	ac_new_val_w=`echo x $ac_new_val`
   2145 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2146 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2147 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2148 	  ac_cache_corrupted=:
   2149 	else
   2150 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2151 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2152 	  eval $ac_var=\$ac_old_val
   2153 	fi
   2154 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2155 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2156 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2157 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2158       fi;;
   2159   esac
   2160   # Pass precious variables to config.status.
   2161   if test "$ac_new_set" = set; then
   2162     case $ac_new_val in
   2163     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2164     *) ac_arg=$ac_var=$ac_new_val ;;
   2165     esac
   2166     case " $ac_configure_args " in
   2167       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2168       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2169     esac
   2170   fi
   2171 done
   2172 if $ac_cache_corrupted; then
   2173   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2175   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2176 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2177   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2178 fi
   2179 ## -------------------- ##
   2180 ## Main body of script. ##
   2181 ## -------------------- ##
   2182 
   2183 ac_ext=c
   2184 ac_cpp='$CPP $CPPFLAGS'
   2185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2188 
   2189 
   2190 am__api_version='1.11'
   2191 
   2192 ac_aux_dir=
   2193 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2194   if test -f "$ac_dir/install-sh"; then
   2195     ac_aux_dir=$ac_dir
   2196     ac_install_sh="$ac_aux_dir/install-sh -c"
   2197     break
   2198   elif test -f "$ac_dir/install.sh"; then
   2199     ac_aux_dir=$ac_dir
   2200     ac_install_sh="$ac_aux_dir/install.sh -c"
   2201     break
   2202   elif test -f "$ac_dir/shtool"; then
   2203     ac_aux_dir=$ac_dir
   2204     ac_install_sh="$ac_aux_dir/shtool install -c"
   2205     break
   2206   fi
   2207 done
   2208 if test -z "$ac_aux_dir"; then
   2209   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2210 fi
   2211 
   2212 # These three variables are undocumented and unsupported,
   2213 # and are intended to be withdrawn in a future Autoconf release.
   2214 # They can cause serious problems if a builder's source tree is in a directory
   2215 # whose full name contains unusual characters.
   2216 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2217 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2218 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2219 
   2220 
   2221 # Find a good install program.  We prefer a C program (faster),
   2222 # so one script is as good as another.  But avoid the broken or
   2223 # incompatible versions:
   2224 # SysV /etc/install, /usr/sbin/install
   2225 # SunOS /usr/etc/install
   2226 # IRIX /sbin/install
   2227 # AIX /bin/install
   2228 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2232 # OS/2's system install, which has a completely different semantic
   2233 # ./install, which can be erroneously created by make from ./install.sh.
   2234 # Reject install programs that cannot install multiple files.
   2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2236 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2237 if test -z "$INSTALL"; then
   2238 if ${ac_cv_path_install+:} false; then :
   2239   $as_echo_n "(cached) " >&6
   2240 else
   2241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2242 for as_dir in $PATH
   2243 do
   2244   IFS=$as_save_IFS
   2245   test -z "$as_dir" && as_dir=.
   2246     # Account for people who put trailing slashes in PATH elements.
   2247 case $as_dir/ in #((
   2248   ./ | .// | /[cC]/* | \
   2249   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2250   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2251   /usr/ucb/* ) ;;
   2252   *)
   2253     # OSF1 and SCO ODT 3.0 have their own names for install.
   2254     # Don't use installbsd from OSF since it installs stuff as root
   2255     # by default.
   2256     for ac_prog in ginstall scoinst install; do
   2257       for ac_exec_ext in '' $ac_executable_extensions; do
   2258 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2259 	  if test $ac_prog = install &&
   2260 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2261 	    # AIX install.  It has an incompatible calling convention.
   2262 	    :
   2263 	  elif test $ac_prog = install &&
   2264 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2265 	    # program-specific install script used by HP pwplus--don't use.
   2266 	    :
   2267 	  else
   2268 	    rm -rf conftest.one conftest.two conftest.dir
   2269 	    echo one > conftest.one
   2270 	    echo two > conftest.two
   2271 	    mkdir conftest.dir
   2272 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2273 	      test -s conftest.one && test -s conftest.two &&
   2274 	      test -s conftest.dir/conftest.one &&
   2275 	      test -s conftest.dir/conftest.two
   2276 	    then
   2277 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2278 	      break 3
   2279 	    fi
   2280 	  fi
   2281 	fi
   2282       done
   2283     done
   2284     ;;
   2285 esac
   2286 
   2287   done
   2288 IFS=$as_save_IFS
   2289 
   2290 rm -rf conftest.one conftest.two conftest.dir
   2291 
   2292 fi
   2293   if test "${ac_cv_path_install+set}" = set; then
   2294     INSTALL=$ac_cv_path_install
   2295   else
   2296     # As a last resort, use the slow shell script.  Don't cache a
   2297     # value for INSTALL within a source directory, because that will
   2298     # break other packages using the cache if that directory is
   2299     # removed, or if the value is a relative name.
   2300     INSTALL=$ac_install_sh
   2301   fi
   2302 fi
   2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2304 $as_echo "$INSTALL" >&6; }
   2305 
   2306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2307 # It thinks the first close brace ends the variable substitution.
   2308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2309 
   2310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2311 
   2312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2313 
   2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2315 $as_echo_n "checking whether build environment is sane... " >&6; }
   2316 # Just in case
   2317 sleep 1
   2318 echo timestamp > conftest.file
   2319 # Reject unsafe characters in $srcdir or the absolute working directory
   2320 # name.  Accept space and tab only in the latter.
   2321 am_lf='
   2322 '
   2323 case `pwd` in
   2324   *[\\\"\#\$\&\'\`$am_lf]*)
   2325     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2326 esac
   2327 case $srcdir in
   2328   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2329     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2330 esac
   2331 
   2332 # Do `set' in a subshell so we don't clobber the current shell's
   2333 # arguments.  Must try -L first in case configure is actually a
   2334 # symlink; some systems play weird games with the mod time of symlinks
   2335 # (eg FreeBSD returns the mod time of the symlink's containing
   2336 # directory).
   2337 if (
   2338    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2339    if test "$*" = "X"; then
   2340       # -L didn't work.
   2341       set X `ls -t "$srcdir/configure" conftest.file`
   2342    fi
   2343    rm -f conftest.file
   2344    if test "$*" != "X $srcdir/configure conftest.file" \
   2345       && test "$*" != "X conftest.file $srcdir/configure"; then
   2346 
   2347       # If neither matched, then we have a broken ls.  This can happen
   2348       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2349       # broken ls alias from the environment.  This has actually
   2350       # happened.  Such a system could not be considered "sane".
   2351       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2352 alias in your environment" "$LINENO" 5
   2353    fi
   2354 
   2355    test "$2" = conftest.file
   2356    )
   2357 then
   2358    # Ok.
   2359    :
   2360 else
   2361    as_fn_error $? "newly created file is older than distributed files!
   2362 Check your system clock" "$LINENO" 5
   2363 fi
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2365 $as_echo "yes" >&6; }
   2366 test "$program_prefix" != NONE &&
   2367   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2368 # Use a double $ so make ignores it.
   2369 test "$program_suffix" != NONE &&
   2370   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2371 # Double any \ or $.
   2372 # By default was `s,x,x', remove it if useless.
   2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2375 
   2376 # expand $ac_aux_dir to an absolute path
   2377 am_aux_dir=`cd $ac_aux_dir && pwd`
   2378 
   2379 if test x"${MISSING+set}" != xset; then
   2380   case $am_aux_dir in
   2381   *\ * | *\	*)
   2382     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2383   *)
   2384     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2385   esac
   2386 fi
   2387 # Use eval to expand $SHELL
   2388 if eval "$MISSING --run true"; then
   2389   am_missing_run="$MISSING --run "
   2390 else
   2391   am_missing_run=
   2392   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2393 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2394 fi
   2395 
   2396 if test x"${install_sh}" != xset; then
   2397   case $am_aux_dir in
   2398   *\ * | *\	*)
   2399     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2400   *)
   2401     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2402   esac
   2403 fi
   2404 
   2405 # Installed binaries are usually stripped using `strip' when the user
   2406 # run `make install-strip'.  However `strip' might not be the right
   2407 # tool to use in cross-compilation environments, therefore Automake
   2408 # will honor the `STRIP' environment variable to overrule this program.
   2409 if test "$cross_compiling" != no; then
   2410   if test -n "$ac_tool_prefix"; then
   2411   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2412 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2414 $as_echo_n "checking for $ac_word... " >&6; }
   2415 if ${ac_cv_prog_STRIP+:} false; then :
   2416   $as_echo_n "(cached) " >&6
   2417 else
   2418   if test -n "$STRIP"; then
   2419   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2420 else
   2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2422 for as_dir in $PATH
   2423 do
   2424   IFS=$as_save_IFS
   2425   test -z "$as_dir" && as_dir=.
   2426     for ac_exec_ext in '' $ac_executable_extensions; do
   2427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2428     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2430     break 2
   2431   fi
   2432 done
   2433   done
   2434 IFS=$as_save_IFS
   2435 
   2436 fi
   2437 fi
   2438 STRIP=$ac_cv_prog_STRIP
   2439 if test -n "$STRIP"; then
   2440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2441 $as_echo "$STRIP" >&6; }
   2442 else
   2443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2444 $as_echo "no" >&6; }
   2445 fi
   2446 
   2447 
   2448 fi
   2449 if test -z "$ac_cv_prog_STRIP"; then
   2450   ac_ct_STRIP=$STRIP
   2451   # Extract the first word of "strip", so it can be a program name with args.
   2452 set dummy strip; ac_word=$2
   2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2454 $as_echo_n "checking for $ac_word... " >&6; }
   2455 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2456   $as_echo_n "(cached) " >&6
   2457 else
   2458   if test -n "$ac_ct_STRIP"; then
   2459   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2460 else
   2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2462 for as_dir in $PATH
   2463 do
   2464   IFS=$as_save_IFS
   2465   test -z "$as_dir" && as_dir=.
   2466     for ac_exec_ext in '' $ac_executable_extensions; do
   2467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2468     ac_cv_prog_ac_ct_STRIP="strip"
   2469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2470     break 2
   2471   fi
   2472 done
   2473   done
   2474 IFS=$as_save_IFS
   2475 
   2476 fi
   2477 fi
   2478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2479 if test -n "$ac_ct_STRIP"; then
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2481 $as_echo "$ac_ct_STRIP" >&6; }
   2482 else
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2484 $as_echo "no" >&6; }
   2485 fi
   2486 
   2487   if test "x$ac_ct_STRIP" = x; then
   2488     STRIP=":"
   2489   else
   2490     case $cross_compiling:$ac_tool_warned in
   2491 yes:)
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2494 ac_tool_warned=yes ;;
   2495 esac
   2496     STRIP=$ac_ct_STRIP
   2497   fi
   2498 else
   2499   STRIP="$ac_cv_prog_STRIP"
   2500 fi
   2501 
   2502 fi
   2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2504 
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2507 if test -z "$MKDIR_P"; then
   2508   if ${ac_cv_path_mkdir+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516     for ac_prog in mkdir gmkdir; do
   2517 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2518 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2519 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2520 	     'mkdir (GNU coreutils) '* | \
   2521 	     'mkdir (coreutils) '* | \
   2522 	     'mkdir (fileutils) '4.1*)
   2523 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2524 	       break 3;;
   2525 	   esac
   2526 	 done
   2527        done
   2528   done
   2529 IFS=$as_save_IFS
   2530 
   2531 fi
   2532 
   2533   test -d ./--version && rmdir ./--version
   2534   if test "${ac_cv_path_mkdir+set}" = set; then
   2535     MKDIR_P="$ac_cv_path_mkdir -p"
   2536   else
   2537     # As a last resort, use the slow shell script.  Don't cache a
   2538     # value for MKDIR_P within a source directory, because that will
   2539     # break other packages using the cache if that directory is
   2540     # removed, or if the value is a relative name.
   2541     MKDIR_P="$ac_install_sh -d"
   2542   fi
   2543 fi
   2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2545 $as_echo "$MKDIR_P" >&6; }
   2546 
   2547 mkdir_p="$MKDIR_P"
   2548 case $mkdir_p in
   2549   [\\/$]* | ?:[\\/]*) ;;
   2550   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2551 esac
   2552 
   2553 for ac_prog in gawk mawk nawk awk
   2554 do
   2555   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2556 set dummy $ac_prog; ac_word=$2
   2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2558 $as_echo_n "checking for $ac_word... " >&6; }
   2559 if ${ac_cv_prog_AWK+:} false; then :
   2560   $as_echo_n "(cached) " >&6
   2561 else
   2562   if test -n "$AWK"; then
   2563   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2564 else
   2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2566 for as_dir in $PATH
   2567 do
   2568   IFS=$as_save_IFS
   2569   test -z "$as_dir" && as_dir=.
   2570     for ac_exec_ext in '' $ac_executable_extensions; do
   2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2572     ac_cv_prog_AWK="$ac_prog"
   2573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2574     break 2
   2575   fi
   2576 done
   2577   done
   2578 IFS=$as_save_IFS
   2579 
   2580 fi
   2581 fi
   2582 AWK=$ac_cv_prog_AWK
   2583 if test -n "$AWK"; then
   2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2585 $as_echo "$AWK" >&6; }
   2586 else
   2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2588 $as_echo "no" >&6; }
   2589 fi
   2590 
   2591 
   2592   test -n "$AWK" && break
   2593 done
   2594 
   2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2597 set x ${MAKE-make}
   2598 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2599 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2600   $as_echo_n "(cached) " >&6
   2601 else
   2602   cat >conftest.make <<\_ACEOF
   2603 SHELL = /bin/sh
   2604 all:
   2605 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2606 _ACEOF
   2607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2609   *@@@%%%=?*=@@@%%%*)
   2610     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2611   *)
   2612     eval ac_cv_prog_make_${ac_make}_set=no;;
   2613 esac
   2614 rm -f conftest.make
   2615 fi
   2616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2618 $as_echo "yes" >&6; }
   2619   SET_MAKE=
   2620 else
   2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2622 $as_echo "no" >&6; }
   2623   SET_MAKE="MAKE=${MAKE-make}"
   2624 fi
   2625 
   2626 rm -rf .tst 2>/dev/null
   2627 mkdir .tst 2>/dev/null
   2628 if test -d .tst; then
   2629   am__leading_dot=.
   2630 else
   2631   am__leading_dot=_
   2632 fi
   2633 rmdir .tst 2>/dev/null
   2634 
   2635 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2636   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2637   # is not polluted with repeated "-I."
   2638   am__isrc=' -I$(srcdir)'
   2639   # test to see if srcdir already configured
   2640   if test -f $srcdir/config.status; then
   2641     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2642   fi
   2643 fi
   2644 
   2645 # test whether we have cygpath
   2646 if test -z "$CYGPATH_W"; then
   2647   if (cygpath --version) >/dev/null 2>/dev/null; then
   2648     CYGPATH_W='cygpath -w'
   2649   else
   2650     CYGPATH_W=echo
   2651   fi
   2652 fi
   2653 
   2654 
   2655 # Define the identity of the package.
   2656  PACKAGE='imake'
   2657  VERSION='1.0.5'
   2658 
   2659 
   2660 cat >>confdefs.h <<_ACEOF
   2661 #define PACKAGE "$PACKAGE"
   2662 _ACEOF
   2663 
   2664 
   2665 cat >>confdefs.h <<_ACEOF
   2666 #define VERSION "$VERSION"
   2667 _ACEOF
   2668 
   2669 # Some tools Automake needs.
   2670 
   2671 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2672 
   2673 
   2674 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2675 
   2676 
   2677 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2678 
   2679 
   2680 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2681 
   2682 
   2683 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2684 
   2685 # We need awk for the "check" target.  The system "awk" is bad on
   2686 # some platforms.
   2687 # Always define AMTAR for backward compatibility.
   2688 
   2689 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2690 
   2691 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2692 
   2693 
   2694 
   2695 
   2696 
   2697 
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2699 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2700     # Check whether --enable-maintainer-mode was given.
   2701 if test "${enable_maintainer_mode+set}" = set; then :
   2702   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2703 else
   2704   USE_MAINTAINER_MODE=no
   2705 fi
   2706 
   2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2708 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2709    if test $USE_MAINTAINER_MODE = yes; then
   2710   MAINTAINER_MODE_TRUE=
   2711   MAINTAINER_MODE_FALSE='#'
   2712 else
   2713   MAINTAINER_MODE_TRUE='#'
   2714   MAINTAINER_MODE_FALSE=
   2715 fi
   2716 
   2717   MAINT=$MAINTAINER_MODE_TRUE
   2718 
   2719 
   2720 
   2721 ac_config_headers="$ac_config_headers config.h"
   2722 
   2723 
   2724 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 
   2733 
   2734 
   2735 
   2736 DEPDIR="${am__leading_dot}deps"
   2737 
   2738 ac_config_commands="$ac_config_commands depfiles"
   2739 
   2740 
   2741 am_make=${MAKE-make}
   2742 cat > confinc << 'END'
   2743 am__doit:
   2744 	@echo this is the am__doit target
   2745 .PHONY: am__doit
   2746 END
   2747 # If we don't find an include directive, just comment out the code.
   2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2749 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2750 am__include="#"
   2751 am__quote=
   2752 _am_result=none
   2753 # First try GNU make style include.
   2754 echo "include confinc" > confmf
   2755 # Ignore all kinds of additional output from `make'.
   2756 case `$am_make -s -f confmf 2> /dev/null` in #(
   2757 *the\ am__doit\ target*)
   2758   am__include=include
   2759   am__quote=
   2760   _am_result=GNU
   2761   ;;
   2762 esac
   2763 # Now try BSD make style include.
   2764 if test "$am__include" = "#"; then
   2765    echo '.include "confinc"' > confmf
   2766    case `$am_make -s -f confmf 2> /dev/null` in #(
   2767    *the\ am__doit\ target*)
   2768      am__include=.include
   2769      am__quote="\""
   2770      _am_result=BSD
   2771      ;;
   2772    esac
   2773 fi
   2774 
   2775 
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2777 $as_echo "$_am_result" >&6; }
   2778 rm -f confinc confmf
   2779 
   2780 # Check whether --enable-dependency-tracking was given.
   2781 if test "${enable_dependency_tracking+set}" = set; then :
   2782   enableval=$enable_dependency_tracking;
   2783 fi
   2784 
   2785 if test "x$enable_dependency_tracking" != xno; then
   2786   am_depcomp="$ac_aux_dir/depcomp"
   2787   AMDEPBACKSLASH='\'
   2788 fi
   2789  if test "x$enable_dependency_tracking" != xno; then
   2790   AMDEP_TRUE=
   2791   AMDEP_FALSE='#'
   2792 else
   2793   AMDEP_TRUE='#'
   2794   AMDEP_FALSE=
   2795 fi
   2796 
   2797 
   2798 ac_ext=c
   2799 ac_cpp='$CPP $CPPFLAGS'
   2800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2803 if test -n "$ac_tool_prefix"; then
   2804   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2805 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2807 $as_echo_n "checking for $ac_word... " >&6; }
   2808 if ${ac_cv_prog_CC+:} false; then :
   2809   $as_echo_n "(cached) " >&6
   2810 else
   2811   if test -n "$CC"; then
   2812   ac_cv_prog_CC="$CC" # Let the user override the test.
   2813 else
   2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2815 for as_dir in $PATH
   2816 do
   2817   IFS=$as_save_IFS
   2818   test -z "$as_dir" && as_dir=.
   2819     for ac_exec_ext in '' $ac_executable_extensions; do
   2820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2821     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2823     break 2
   2824   fi
   2825 done
   2826   done
   2827 IFS=$as_save_IFS
   2828 
   2829 fi
   2830 fi
   2831 CC=$ac_cv_prog_CC
   2832 if test -n "$CC"; then
   2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2834 $as_echo "$CC" >&6; }
   2835 else
   2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2837 $as_echo "no" >&6; }
   2838 fi
   2839 
   2840 
   2841 fi
   2842 if test -z "$ac_cv_prog_CC"; then
   2843   ac_ct_CC=$CC
   2844   # Extract the first word of "gcc", so it can be a program name with args.
   2845 set dummy gcc; ac_word=$2
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2847 $as_echo_n "checking for $ac_word... " >&6; }
   2848 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2849   $as_echo_n "(cached) " >&6
   2850 else
   2851   if test -n "$ac_ct_CC"; then
   2852   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2853 else
   2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2855 for as_dir in $PATH
   2856 do
   2857   IFS=$as_save_IFS
   2858   test -z "$as_dir" && as_dir=.
   2859     for ac_exec_ext in '' $ac_executable_extensions; do
   2860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2861     ac_cv_prog_ac_ct_CC="gcc"
   2862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 fi
   2870 fi
   2871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2872 if test -n "$ac_ct_CC"; then
   2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2874 $as_echo "$ac_ct_CC" >&6; }
   2875 else
   2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2877 $as_echo "no" >&6; }
   2878 fi
   2879 
   2880   if test "x$ac_ct_CC" = x; then
   2881     CC=""
   2882   else
   2883     case $cross_compiling:$ac_tool_warned in
   2884 yes:)
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2887 ac_tool_warned=yes ;;
   2888 esac
   2889     CC=$ac_ct_CC
   2890   fi
   2891 else
   2892   CC="$ac_cv_prog_CC"
   2893 fi
   2894 
   2895 if test -z "$CC"; then
   2896           if test -n "$ac_tool_prefix"; then
   2897     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2898 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2900 $as_echo_n "checking for $ac_word... " >&6; }
   2901 if ${ac_cv_prog_CC+:} false; then :
   2902   $as_echo_n "(cached) " >&6
   2903 else
   2904   if test -n "$CC"; then
   2905   ac_cv_prog_CC="$CC" # Let the user override the test.
   2906 else
   2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2908 for as_dir in $PATH
   2909 do
   2910   IFS=$as_save_IFS
   2911   test -z "$as_dir" && as_dir=.
   2912     for ac_exec_ext in '' $ac_executable_extensions; do
   2913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2914     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2916     break 2
   2917   fi
   2918 done
   2919   done
   2920 IFS=$as_save_IFS
   2921 
   2922 fi
   2923 fi
   2924 CC=$ac_cv_prog_CC
   2925 if test -n "$CC"; then
   2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2927 $as_echo "$CC" >&6; }
   2928 else
   2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2930 $as_echo "no" >&6; }
   2931 fi
   2932 
   2933 
   2934   fi
   2935 fi
   2936 if test -z "$CC"; then
   2937   # Extract the first word of "cc", so it can be a program name with args.
   2938 set dummy cc; ac_word=$2
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2940 $as_echo_n "checking for $ac_word... " >&6; }
   2941 if ${ac_cv_prog_CC+:} false; then :
   2942   $as_echo_n "(cached) " >&6
   2943 else
   2944   if test -n "$CC"; then
   2945   ac_cv_prog_CC="$CC" # Let the user override the test.
   2946 else
   2947   ac_prog_rejected=no
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953     for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2955     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2956        ac_prog_rejected=yes
   2957        continue
   2958      fi
   2959     ac_cv_prog_CC="cc"
   2960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2961     break 2
   2962   fi
   2963 done
   2964   done
   2965 IFS=$as_save_IFS
   2966 
   2967 if test $ac_prog_rejected = yes; then
   2968   # We found a bogon in the path, so make sure we never use it.
   2969   set dummy $ac_cv_prog_CC
   2970   shift
   2971   if test $# != 0; then
   2972     # We chose a different compiler from the bogus one.
   2973     # However, it has the same basename, so the bogon will be chosen
   2974     # first if we set CC to just the basename; use the full file name.
   2975     shift
   2976     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2977   fi
   2978 fi
   2979 fi
   2980 fi
   2981 CC=$ac_cv_prog_CC
   2982 if test -n "$CC"; then
   2983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2984 $as_echo "$CC" >&6; }
   2985 else
   2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2987 $as_echo "no" >&6; }
   2988 fi
   2989 
   2990 
   2991 fi
   2992 if test -z "$CC"; then
   2993   if test -n "$ac_tool_prefix"; then
   2994   for ac_prog in cl.exe
   2995   do
   2996     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2997 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2999 $as_echo_n "checking for $ac_word... " >&6; }
   3000 if ${ac_cv_prog_CC+:} false; then :
   3001   $as_echo_n "(cached) " >&6
   3002 else
   3003   if test -n "$CC"; then
   3004   ac_cv_prog_CC="$CC" # Let the user override the test.
   3005 else
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011     for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3013     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3015     break 2
   3016   fi
   3017 done
   3018   done
   3019 IFS=$as_save_IFS
   3020 
   3021 fi
   3022 fi
   3023 CC=$ac_cv_prog_CC
   3024 if test -n "$CC"; then
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3026 $as_echo "$CC" >&6; }
   3027 else
   3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3029 $as_echo "no" >&6; }
   3030 fi
   3031 
   3032 
   3033     test -n "$CC" && break
   3034   done
   3035 fi
   3036 if test -z "$CC"; then
   3037   ac_ct_CC=$CC
   3038   for ac_prog in cl.exe
   3039 do
   3040   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3041 set dummy $ac_prog; ac_word=$2
   3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3043 $as_echo_n "checking for $ac_word... " >&6; }
   3044 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3045   $as_echo_n "(cached) " >&6
   3046 else
   3047   if test -n "$ac_ct_CC"; then
   3048   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3049 else
   3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3051 for as_dir in $PATH
   3052 do
   3053   IFS=$as_save_IFS
   3054   test -z "$as_dir" && as_dir=.
   3055     for ac_exec_ext in '' $ac_executable_extensions; do
   3056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3057     ac_cv_prog_ac_ct_CC="$ac_prog"
   3058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3059     break 2
   3060   fi
   3061 done
   3062   done
   3063 IFS=$as_save_IFS
   3064 
   3065 fi
   3066 fi
   3067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3068 if test -n "$ac_ct_CC"; then
   3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3070 $as_echo "$ac_ct_CC" >&6; }
   3071 else
   3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3073 $as_echo "no" >&6; }
   3074 fi
   3075 
   3076 
   3077   test -n "$ac_ct_CC" && break
   3078 done
   3079 
   3080   if test "x$ac_ct_CC" = x; then
   3081     CC=""
   3082   else
   3083     case $cross_compiling:$ac_tool_warned in
   3084 yes:)
   3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3087 ac_tool_warned=yes ;;
   3088 esac
   3089     CC=$ac_ct_CC
   3090   fi
   3091 fi
   3092 
   3093 fi
   3094 
   3095 
   3096 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3098 as_fn_error $? "no acceptable C compiler found in \$PATH
   3099 See \`config.log' for more details" "$LINENO" 5; }
   3100 
   3101 # Provide some information about the compiler.
   3102 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3103 set X $ac_compile
   3104 ac_compiler=$2
   3105 for ac_option in --version -v -V -qversion; do
   3106   { { ac_try="$ac_compiler $ac_option >&5"
   3107 case "(($ac_try" in
   3108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3109   *) ac_try_echo=$ac_try;;
   3110 esac
   3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3112 $as_echo "$ac_try_echo"; } >&5
   3113   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3114   ac_status=$?
   3115   if test -s conftest.err; then
   3116     sed '10a\
   3117 ... rest of stderr output deleted ...
   3118          10q' conftest.err >conftest.er1
   3119     cat conftest.er1 >&5
   3120   fi
   3121   rm -f conftest.er1 conftest.err
   3122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3123   test $ac_status = 0; }
   3124 done
   3125 
   3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3127 /* end confdefs.h.  */
   3128 
   3129 int
   3130 main ()
   3131 {
   3132 
   3133   ;
   3134   return 0;
   3135 }
   3136 _ACEOF
   3137 ac_clean_files_save=$ac_clean_files
   3138 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3139 # Try to create an executable without -o first, disregard a.out.
   3140 # It will help us diagnose broken compilers, and finding out an intuition
   3141 # of exeext.
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3143 $as_echo_n "checking whether the C compiler works... " >&6; }
   3144 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3145 
   3146 # The possible output files:
   3147 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3148 
   3149 ac_rmfiles=
   3150 for ac_file in $ac_files
   3151 do
   3152   case $ac_file in
   3153     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3154     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3155   esac
   3156 done
   3157 rm -f $ac_rmfiles
   3158 
   3159 if { { ac_try="$ac_link_default"
   3160 case "(($ac_try" in
   3161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3162   *) ac_try_echo=$ac_try;;
   3163 esac
   3164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3165 $as_echo "$ac_try_echo"; } >&5
   3166   (eval "$ac_link_default") 2>&5
   3167   ac_status=$?
   3168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3169   test $ac_status = 0; }; then :
   3170   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3171 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3172 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3173 # so that the user can short-circuit this test for compilers unknown to
   3174 # Autoconf.
   3175 for ac_file in $ac_files ''
   3176 do
   3177   test -f "$ac_file" || continue
   3178   case $ac_file in
   3179     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3180 	;;
   3181     [ab].out )
   3182 	# We found the default executable, but exeext='' is most
   3183 	# certainly right.
   3184 	break;;
   3185     *.* )
   3186 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3187 	then :; else
   3188 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3189 	fi
   3190 	# We set ac_cv_exeext here because the later test for it is not
   3191 	# safe: cross compilers may not add the suffix if given an `-o'
   3192 	# argument, so we may need to know it at that point already.
   3193 	# Even if this section looks crufty: it has the advantage of
   3194 	# actually working.
   3195 	break;;
   3196     * )
   3197 	break;;
   3198   esac
   3199 done
   3200 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3201 
   3202 else
   3203   ac_file=''
   3204 fi
   3205 if test -z "$ac_file"; then :
   3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3207 $as_echo "no" >&6; }
   3208 $as_echo "$as_me: failed program was:" >&5
   3209 sed 's/^/| /' conftest.$ac_ext >&5
   3210 
   3211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3213 as_fn_error 77 "C compiler cannot create executables
   3214 See \`config.log' for more details" "$LINENO" 5; }
   3215 else
   3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3217 $as_echo "yes" >&6; }
   3218 fi
   3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3220 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3222 $as_echo "$ac_file" >&6; }
   3223 ac_exeext=$ac_cv_exeext
   3224 
   3225 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3226 ac_clean_files=$ac_clean_files_save
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3228 $as_echo_n "checking for suffix of executables... " >&6; }
   3229 if { { ac_try="$ac_link"
   3230 case "(($ac_try" in
   3231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3232   *) ac_try_echo=$ac_try;;
   3233 esac
   3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3235 $as_echo "$ac_try_echo"; } >&5
   3236   (eval "$ac_link") 2>&5
   3237   ac_status=$?
   3238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3239   test $ac_status = 0; }; then :
   3240   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3241 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3242 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3243 # `rm'.
   3244 for ac_file in conftest.exe conftest conftest.*; do
   3245   test -f "$ac_file" || continue
   3246   case $ac_file in
   3247     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3248     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3249 	  break;;
   3250     * ) break;;
   3251   esac
   3252 done
   3253 else
   3254   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3256 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3257 See \`config.log' for more details" "$LINENO" 5; }
   3258 fi
   3259 rm -f conftest conftest$ac_cv_exeext
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3261 $as_echo "$ac_cv_exeext" >&6; }
   3262 
   3263 rm -f conftest.$ac_ext
   3264 EXEEXT=$ac_cv_exeext
   3265 ac_exeext=$EXEEXT
   3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3267 /* end confdefs.h.  */
   3268 #include <stdio.h>
   3269 int
   3270 main ()
   3271 {
   3272 FILE *f = fopen ("conftest.out", "w");
   3273  return ferror (f) || fclose (f) != 0;
   3274 
   3275   ;
   3276   return 0;
   3277 }
   3278 _ACEOF
   3279 ac_clean_files="$ac_clean_files conftest.out"
   3280 # Check that the compiler produces executables we can run.  If not, either
   3281 # the compiler is broken, or we cross compile.
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3283 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3284 if test "$cross_compiling" != yes; then
   3285   { { ac_try="$ac_link"
   3286 case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 $as_echo "$ac_try_echo"; } >&5
   3292   (eval "$ac_link") 2>&5
   3293   ac_status=$?
   3294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3295   test $ac_status = 0; }
   3296   if { ac_try='./conftest$ac_cv_exeext'
   3297   { { case "(($ac_try" in
   3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3299   *) ac_try_echo=$ac_try;;
   3300 esac
   3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3302 $as_echo "$ac_try_echo"; } >&5
   3303   (eval "$ac_try") 2>&5
   3304   ac_status=$?
   3305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3306   test $ac_status = 0; }; }; then
   3307     cross_compiling=no
   3308   else
   3309     if test "$cross_compiling" = maybe; then
   3310 	cross_compiling=yes
   3311     else
   3312 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3314 as_fn_error $? "cannot run C compiled programs.
   3315 If you meant to cross compile, use \`--host'.
   3316 See \`config.log' for more details" "$LINENO" 5; }
   3317     fi
   3318   fi
   3319 fi
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3321 $as_echo "$cross_compiling" >&6; }
   3322 
   3323 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3324 ac_clean_files=$ac_clean_files_save
   3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3326 $as_echo_n "checking for suffix of object files... " >&6; }
   3327 if ${ac_cv_objext+:} false; then :
   3328   $as_echo_n "(cached) " >&6
   3329 else
   3330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3331 /* end confdefs.h.  */
   3332 
   3333 int
   3334 main ()
   3335 {
   3336 
   3337   ;
   3338   return 0;
   3339 }
   3340 _ACEOF
   3341 rm -f conftest.o conftest.obj
   3342 if { { ac_try="$ac_compile"
   3343 case "(($ac_try" in
   3344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3345   *) ac_try_echo=$ac_try;;
   3346 esac
   3347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3348 $as_echo "$ac_try_echo"; } >&5
   3349   (eval "$ac_compile") 2>&5
   3350   ac_status=$?
   3351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3352   test $ac_status = 0; }; then :
   3353   for ac_file in conftest.o conftest.obj conftest.*; do
   3354   test -f "$ac_file" || continue;
   3355   case $ac_file in
   3356     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3357     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3358        break;;
   3359   esac
   3360 done
   3361 else
   3362   $as_echo "$as_me: failed program was:" >&5
   3363 sed 's/^/| /' conftest.$ac_ext >&5
   3364 
   3365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3367 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3368 See \`config.log' for more details" "$LINENO" 5; }
   3369 fi
   3370 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3371 fi
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3373 $as_echo "$ac_cv_objext" >&6; }
   3374 OBJEXT=$ac_cv_objext
   3375 ac_objext=$OBJEXT
   3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3377 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3378 if ${ac_cv_c_compiler_gnu+:} false; then :
   3379   $as_echo_n "(cached) " >&6
   3380 else
   3381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3382 /* end confdefs.h.  */
   3383 
   3384 int
   3385 main ()
   3386 {
   3387 #ifndef __GNUC__
   3388        choke me
   3389 #endif
   3390 
   3391   ;
   3392   return 0;
   3393 }
   3394 _ACEOF
   3395 if ac_fn_c_try_compile "$LINENO"; then :
   3396   ac_compiler_gnu=yes
   3397 else
   3398   ac_compiler_gnu=no
   3399 fi
   3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3402 
   3403 fi
   3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3405 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3406 if test $ac_compiler_gnu = yes; then
   3407   GCC=yes
   3408 else
   3409   GCC=
   3410 fi
   3411 ac_test_CFLAGS=${CFLAGS+set}
   3412 ac_save_CFLAGS=$CFLAGS
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3415 if ${ac_cv_prog_cc_g+:} false; then :
   3416   $as_echo_n "(cached) " >&6
   3417 else
   3418   ac_save_c_werror_flag=$ac_c_werror_flag
   3419    ac_c_werror_flag=yes
   3420    ac_cv_prog_cc_g=no
   3421    CFLAGS="-g"
   3422    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3423 /* end confdefs.h.  */
   3424 
   3425 int
   3426 main ()
   3427 {
   3428 
   3429   ;
   3430   return 0;
   3431 }
   3432 _ACEOF
   3433 if ac_fn_c_try_compile "$LINENO"; then :
   3434   ac_cv_prog_cc_g=yes
   3435 else
   3436   CFLAGS=""
   3437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3438 /* end confdefs.h.  */
   3439 
   3440 int
   3441 main ()
   3442 {
   3443 
   3444   ;
   3445   return 0;
   3446 }
   3447 _ACEOF
   3448 if ac_fn_c_try_compile "$LINENO"; then :
   3449 
   3450 else
   3451   ac_c_werror_flag=$ac_save_c_werror_flag
   3452 	 CFLAGS="-g"
   3453 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main ()
   3458 {
   3459 
   3460   ;
   3461   return 0;
   3462 }
   3463 _ACEOF
   3464 if ac_fn_c_try_compile "$LINENO"; then :
   3465   ac_cv_prog_cc_g=yes
   3466 fi
   3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3468 fi
   3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3470 fi
   3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3472    ac_c_werror_flag=$ac_save_c_werror_flag
   3473 fi
   3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3475 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3476 if test "$ac_test_CFLAGS" = set; then
   3477   CFLAGS=$ac_save_CFLAGS
   3478 elif test $ac_cv_prog_cc_g = yes; then
   3479   if test "$GCC" = yes; then
   3480     CFLAGS="-g -O2"
   3481   else
   3482     CFLAGS="-g"
   3483   fi
   3484 else
   3485   if test "$GCC" = yes; then
   3486     CFLAGS="-O2"
   3487   else
   3488     CFLAGS=
   3489   fi
   3490 fi
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3492 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3493 if ${ac_cv_prog_cc_c89+:} false; then :
   3494   $as_echo_n "(cached) " >&6
   3495 else
   3496   ac_cv_prog_cc_c89=no
   3497 ac_save_CC=$CC
   3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3499 /* end confdefs.h.  */
   3500 #include <stdarg.h>
   3501 #include <stdio.h>
   3502 #include <sys/types.h>
   3503 #include <sys/stat.h>
   3504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3505 struct buf { int x; };
   3506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3507 static char *e (p, i)
   3508      char **p;
   3509      int i;
   3510 {
   3511   return p[i];
   3512 }
   3513 static char *f (char * (*g) (char **, int), char **p, ...)
   3514 {
   3515   char *s;
   3516   va_list v;
   3517   va_start (v,p);
   3518   s = g (p, va_arg (v,int));
   3519   va_end (v);
   3520   return s;
   3521 }
   3522 
   3523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3524    function prototypes and stuff, but not '\xHH' hex character constants.
   3525    These don't provoke an error unfortunately, instead are silently treated
   3526    as 'x'.  The following induces an error, until -std is added to get
   3527    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3528    array size at least.  It's necessary to write '\x00'==0 to get something
   3529    that's true only with -std.  */
   3530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3531 
   3532 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3533    inside strings and character constants.  */
   3534 #define FOO(x) 'x'
   3535 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3536 
   3537 int test (int i, double x);
   3538 struct s1 {int (*f) (int a);};
   3539 struct s2 {int (*f) (double a);};
   3540 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3541 int argc;
   3542 char **argv;
   3543 int
   3544 main ()
   3545 {
   3546 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3552 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3553 do
   3554   CC="$ac_save_CC $ac_arg"
   3555   if ac_fn_c_try_compile "$LINENO"; then :
   3556   ac_cv_prog_cc_c89=$ac_arg
   3557 fi
   3558 rm -f core conftest.err conftest.$ac_objext
   3559   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3560 done
   3561 rm -f conftest.$ac_ext
   3562 CC=$ac_save_CC
   3563 
   3564 fi
   3565 # AC_CACHE_VAL
   3566 case "x$ac_cv_prog_cc_c89" in
   3567   x)
   3568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3569 $as_echo "none needed" >&6; } ;;
   3570   xno)
   3571     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3572 $as_echo "unsupported" >&6; } ;;
   3573   *)
   3574     CC="$CC $ac_cv_prog_cc_c89"
   3575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3576 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3577 esac
   3578 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3579 
   3580 fi
   3581 
   3582 ac_ext=c
   3583 ac_cpp='$CPP $CPPFLAGS'
   3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3587 
   3588 depcc="$CC"   am_compiler_list=
   3589 
   3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3591 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3592 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3593   $as_echo_n "(cached) " >&6
   3594 else
   3595   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3596   # We make a subdir and do the tests there.  Otherwise we can end up
   3597   # making bogus files that we don't know about and never remove.  For
   3598   # instance it was reported that on HP-UX the gcc test will end up
   3599   # making a dummy file named `D' -- because `-MD' means `put the output
   3600   # in D'.
   3601   mkdir conftest.dir
   3602   # Copy depcomp to subdir because otherwise we won't find it if we're
   3603   # using a relative directory.
   3604   cp "$am_depcomp" conftest.dir
   3605   cd conftest.dir
   3606   # We will build objects and dependencies in a subdirectory because
   3607   # it helps to detect inapplicable dependency modes.  For instance
   3608   # both Tru64's cc and ICC support -MD to output dependencies as a
   3609   # side effect of compilation, but ICC will put the dependencies in
   3610   # the current directory while Tru64 will put them in the object
   3611   # directory.
   3612   mkdir sub
   3613 
   3614   am_cv_CC_dependencies_compiler_type=none
   3615   if test "$am_compiler_list" = ""; then
   3616      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3617   fi
   3618   am__universal=false
   3619   case " $depcc " in #(
   3620      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3621      esac
   3622 
   3623   for depmode in $am_compiler_list; do
   3624     # Setup a source with many dependencies, because some compilers
   3625     # like to wrap large dependency lists on column 80 (with \), and
   3626     # we should not choose a depcomp mode which is confused by this.
   3627     #
   3628     # We need to recreate these files for each test, as the compiler may
   3629     # overwrite some of them when testing with obscure command lines.
   3630     # This happens at least with the AIX C compiler.
   3631     : > sub/conftest.c
   3632     for i in 1 2 3 4 5 6; do
   3633       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3634       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3635       # Solaris 8's {/usr,}/bin/sh.
   3636       touch sub/conftst$i.h
   3637     done
   3638     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3639 
   3640     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3641     # mode.  It turns out that the SunPro C++ compiler does not properly
   3642     # handle `-M -o', and we need to detect this.  Also, some Intel
   3643     # versions had trouble with output in subdirs
   3644     am__obj=sub/conftest.${OBJEXT-o}
   3645     am__minus_obj="-o $am__obj"
   3646     case $depmode in
   3647     gcc)
   3648       # This depmode causes a compiler race in universal mode.
   3649       test "$am__universal" = false || continue
   3650       ;;
   3651     nosideeffect)
   3652       # after this tag, mechanisms are not by side-effect, so they'll
   3653       # only be used when explicitly requested
   3654       if test "x$enable_dependency_tracking" = xyes; then
   3655 	continue
   3656       else
   3657 	break
   3658       fi
   3659       ;;
   3660     msvisualcpp | msvcmsys)
   3661       # This compiler won't grok `-c -o', but also, the minuso test has
   3662       # not run yet.  These depmodes are late enough in the game, and
   3663       # so weak that their functioning should not be impacted.
   3664       am__obj=conftest.${OBJEXT-o}
   3665       am__minus_obj=
   3666       ;;
   3667     none) break ;;
   3668     esac
   3669     if depmode=$depmode \
   3670        source=sub/conftest.c object=$am__obj \
   3671        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3672        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3673          >/dev/null 2>conftest.err &&
   3674        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3675        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3676        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3677        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3678       # icc doesn't choke on unknown options, it will just issue warnings
   3679       # or remarks (even with -Werror).  So we grep stderr for any message
   3680       # that says an option was ignored or not supported.
   3681       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3682       #   icc: Command line warning: ignoring option '-M'; no argument required
   3683       # The diagnosis changed in icc 8.0:
   3684       #   icc: Command line remark: option '-MP' not supported
   3685       if (grep 'ignoring option' conftest.err ||
   3686           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3687         am_cv_CC_dependencies_compiler_type=$depmode
   3688         break
   3689       fi
   3690     fi
   3691   done
   3692 
   3693   cd ..
   3694   rm -rf conftest.dir
   3695 else
   3696   am_cv_CC_dependencies_compiler_type=none
   3697 fi
   3698 
   3699 fi
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3701 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3702 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3703 
   3704  if
   3705   test "x$enable_dependency_tracking" != xno \
   3706   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3707   am__fastdepCC_TRUE=
   3708   am__fastdepCC_FALSE='#'
   3709 else
   3710   am__fastdepCC_TRUE='#'
   3711   am__fastdepCC_FALSE=
   3712 fi
   3713 
   3714 
   3715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3716 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3717 if ${ac_cv_prog_cc_c99+:} false; then :
   3718   $as_echo_n "(cached) " >&6
   3719 else
   3720   ac_cv_prog_cc_c99=no
   3721 ac_save_CC=$CC
   3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3723 /* end confdefs.h.  */
   3724 #include <stdarg.h>
   3725 #include <stdbool.h>
   3726 #include <stdlib.h>
   3727 #include <wchar.h>
   3728 #include <stdio.h>
   3729 
   3730 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3731 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3732 #define showlist(...) puts (#__VA_ARGS__)
   3733 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3734 static void
   3735 test_varargs_macros (void)
   3736 {
   3737   int x = 1234;
   3738   int y = 5678;
   3739   debug ("Flag");
   3740   debug ("X = %d\n", x);
   3741   showlist (The first, second, and third items.);
   3742   report (x>y, "x is %d but y is %d", x, y);
   3743 }
   3744 
   3745 // Check long long types.
   3746 #define BIG64 18446744073709551615ull
   3747 #define BIG32 4294967295ul
   3748 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3749 #if !BIG_OK
   3750   your preprocessor is broken;
   3751 #endif
   3752 #if BIG_OK
   3753 #else
   3754   your preprocessor is broken;
   3755 #endif
   3756 static long long int bignum = -9223372036854775807LL;
   3757 static unsigned long long int ubignum = BIG64;
   3758 
   3759 struct incomplete_array
   3760 {
   3761   int datasize;
   3762   double data[];
   3763 };
   3764 
   3765 struct named_init {
   3766   int number;
   3767   const wchar_t *name;
   3768   double average;
   3769 };
   3770 
   3771 typedef const char *ccp;
   3772 
   3773 static inline int
   3774 test_restrict (ccp restrict text)
   3775 {
   3776   // See if C++-style comments work.
   3777   // Iterate through items via the restricted pointer.
   3778   // Also check for declarations in for loops.
   3779   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3780     continue;
   3781   return 0;
   3782 }
   3783 
   3784 // Check varargs and va_copy.
   3785 static void
   3786 test_varargs (const char *format, ...)
   3787 {
   3788   va_list args;
   3789   va_start (args, format);
   3790   va_list args_copy;
   3791   va_copy (args_copy, args);
   3792 
   3793   const char *str;
   3794   int number;
   3795   float fnumber;
   3796 
   3797   while (*format)
   3798     {
   3799       switch (*format++)
   3800 	{
   3801 	case 's': // string
   3802 	  str = va_arg (args_copy, const char *);
   3803 	  break;
   3804 	case 'd': // int
   3805 	  number = va_arg (args_copy, int);
   3806 	  break;
   3807 	case 'f': // float
   3808 	  fnumber = va_arg (args_copy, double);
   3809 	  break;
   3810 	default:
   3811 	  break;
   3812 	}
   3813     }
   3814   va_end (args_copy);
   3815   va_end (args);
   3816 }
   3817 
   3818 int
   3819 main ()
   3820 {
   3821 
   3822   // Check bool.
   3823   _Bool success = false;
   3824 
   3825   // Check restrict.
   3826   if (test_restrict ("String literal") == 0)
   3827     success = true;
   3828   char *restrict newvar = "Another string";
   3829 
   3830   // Check varargs.
   3831   test_varargs ("s, d' f .", "string", 65, 34.234);
   3832   test_varargs_macros ();
   3833 
   3834   // Check flexible array members.
   3835   struct incomplete_array *ia =
   3836     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3837   ia->datasize = 10;
   3838   for (int i = 0; i < ia->datasize; ++i)
   3839     ia->data[i] = i * 1.234;
   3840 
   3841   // Check named initializers.
   3842   struct named_init ni = {
   3843     .number = 34,
   3844     .name = L"Test wide string",
   3845     .average = 543.34343,
   3846   };
   3847 
   3848   ni.number = 58;
   3849 
   3850   int dynamic_array[ni.number];
   3851   dynamic_array[ni.number - 1] = 543;
   3852 
   3853   // work around unused variable warnings
   3854   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3855 	  || dynamic_array[ni.number - 1] != 543);
   3856 
   3857   ;
   3858   return 0;
   3859 }
   3860 _ACEOF
   3861 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3862 do
   3863   CC="$ac_save_CC $ac_arg"
   3864   if ac_fn_c_try_compile "$LINENO"; then :
   3865   ac_cv_prog_cc_c99=$ac_arg
   3866 fi
   3867 rm -f core conftest.err conftest.$ac_objext
   3868   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3869 done
   3870 rm -f conftest.$ac_ext
   3871 CC=$ac_save_CC
   3872 
   3873 fi
   3874 # AC_CACHE_VAL
   3875 case "x$ac_cv_prog_cc_c99" in
   3876   x)
   3877     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3878 $as_echo "none needed" >&6; } ;;
   3879   xno)
   3880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3881 $as_echo "unsupported" >&6; } ;;
   3882   *)
   3883     CC="$CC $ac_cv_prog_cc_c99"
   3884     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3885 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3886 esac
   3887 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3888 
   3889 fi
   3890 
   3891 
   3892 
   3893 ac_ext=c
   3894 ac_cpp='$CPP $CPPFLAGS'
   3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3899 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3900 # On Suns, sometimes $CPP names a directory.
   3901 if test -n "$CPP" && test -d "$CPP"; then
   3902   CPP=
   3903 fi
   3904 if test -z "$CPP"; then
   3905   if ${ac_cv_prog_CPP+:} false; then :
   3906   $as_echo_n "(cached) " >&6
   3907 else
   3908       # Double quotes because CPP needs to be expanded
   3909     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3910     do
   3911       ac_preproc_ok=false
   3912 for ac_c_preproc_warn_flag in '' yes
   3913 do
   3914   # Use a header file that comes with gcc, so configuring glibc
   3915   # with a fresh cross-compiler works.
   3916   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3917   # <limits.h> exists even on freestanding compilers.
   3918   # On the NeXT, cc -E runs the code through the compiler's parser,
   3919   # not just through cpp. "Syntax error" is here to catch this case.
   3920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3921 /* end confdefs.h.  */
   3922 #ifdef __STDC__
   3923 # include <limits.h>
   3924 #else
   3925 # include <assert.h>
   3926 #endif
   3927 		     Syntax error
   3928 _ACEOF
   3929 if ac_fn_c_try_cpp "$LINENO"; then :
   3930 
   3931 else
   3932   # Broken: fails on valid input.
   3933 continue
   3934 fi
   3935 rm -f conftest.err conftest.i conftest.$ac_ext
   3936 
   3937   # OK, works on sane cases.  Now check whether nonexistent headers
   3938   # can be detected and how.
   3939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 #include <ac_nonexistent.h>
   3942 _ACEOF
   3943 if ac_fn_c_try_cpp "$LINENO"; then :
   3944   # Broken: success on invalid input.
   3945 continue
   3946 else
   3947   # Passes both tests.
   3948 ac_preproc_ok=:
   3949 break
   3950 fi
   3951 rm -f conftest.err conftest.i conftest.$ac_ext
   3952 
   3953 done
   3954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3955 rm -f conftest.i conftest.err conftest.$ac_ext
   3956 if $ac_preproc_ok; then :
   3957   break
   3958 fi
   3959 
   3960     done
   3961     ac_cv_prog_CPP=$CPP
   3962 
   3963 fi
   3964   CPP=$ac_cv_prog_CPP
   3965 else
   3966   ac_cv_prog_CPP=$CPP
   3967 fi
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3969 $as_echo "$CPP" >&6; }
   3970 ac_preproc_ok=false
   3971 for ac_c_preproc_warn_flag in '' yes
   3972 do
   3973   # Use a header file that comes with gcc, so configuring glibc
   3974   # with a fresh cross-compiler works.
   3975   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3976   # <limits.h> exists even on freestanding compilers.
   3977   # On the NeXT, cc -E runs the code through the compiler's parser,
   3978   # not just through cpp. "Syntax error" is here to catch this case.
   3979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3980 /* end confdefs.h.  */
   3981 #ifdef __STDC__
   3982 # include <limits.h>
   3983 #else
   3984 # include <assert.h>
   3985 #endif
   3986 		     Syntax error
   3987 _ACEOF
   3988 if ac_fn_c_try_cpp "$LINENO"; then :
   3989 
   3990 else
   3991   # Broken: fails on valid input.
   3992 continue
   3993 fi
   3994 rm -f conftest.err conftest.i conftest.$ac_ext
   3995 
   3996   # OK, works on sane cases.  Now check whether nonexistent headers
   3997   # can be detected and how.
   3998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3999 /* end confdefs.h.  */
   4000 #include <ac_nonexistent.h>
   4001 _ACEOF
   4002 if ac_fn_c_try_cpp "$LINENO"; then :
   4003   # Broken: success on invalid input.
   4004 continue
   4005 else
   4006   # Passes both tests.
   4007 ac_preproc_ok=:
   4008 break
   4009 fi
   4010 rm -f conftest.err conftest.i conftest.$ac_ext
   4011 
   4012 done
   4013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4014 rm -f conftest.i conftest.err conftest.$ac_ext
   4015 if $ac_preproc_ok; then :
   4016 
   4017 else
   4018   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4020 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4021 See \`config.log' for more details" "$LINENO" 5; }
   4022 fi
   4023 
   4024 ac_ext=c
   4025 ac_cpp='$CPP $CPPFLAGS'
   4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4029 
   4030 
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4032 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4033 if ${ac_cv_path_GREP+:} false; then :
   4034   $as_echo_n "(cached) " >&6
   4035 else
   4036   if test -z "$GREP"; then
   4037   ac_path_GREP_found=false
   4038   # Loop through the user's path and test for each of PROGNAME-LIST
   4039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4040 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4041 do
   4042   IFS=$as_save_IFS
   4043   test -z "$as_dir" && as_dir=.
   4044     for ac_prog in grep ggrep; do
   4045     for ac_exec_ext in '' $ac_executable_extensions; do
   4046       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4047       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4048 # Check for GNU ac_path_GREP and select it if it is found.
   4049   # Check for GNU $ac_path_GREP
   4050 case `"$ac_path_GREP" --version 2>&1` in
   4051 *GNU*)
   4052   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4053 *)
   4054   ac_count=0
   4055   $as_echo_n 0123456789 >"conftest.in"
   4056   while :
   4057   do
   4058     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4059     mv "conftest.tmp" "conftest.in"
   4060     cp "conftest.in" "conftest.nl"
   4061     $as_echo 'GREP' >> "conftest.nl"
   4062     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4063     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4064     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4065     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4066       # Best one so far, save it but keep looking for a better one
   4067       ac_cv_path_GREP="$ac_path_GREP"
   4068       ac_path_GREP_max=$ac_count
   4069     fi
   4070     # 10*(2^10) chars as input seems more than enough
   4071     test $ac_count -gt 10 && break
   4072   done
   4073   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4074 esac
   4075 
   4076       $ac_path_GREP_found && break 3
   4077     done
   4078   done
   4079   done
   4080 IFS=$as_save_IFS
   4081   if test -z "$ac_cv_path_GREP"; then
   4082     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4083   fi
   4084 else
   4085   ac_cv_path_GREP=$GREP
   4086 fi
   4087 
   4088 fi
   4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4090 $as_echo "$ac_cv_path_GREP" >&6; }
   4091  GREP="$ac_cv_path_GREP"
   4092 
   4093 
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4095 $as_echo_n "checking for egrep... " >&6; }
   4096 if ${ac_cv_path_EGREP+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4100    then ac_cv_path_EGREP="$GREP -E"
   4101    else
   4102      if test -z "$EGREP"; then
   4103   ac_path_EGREP_found=false
   4104   # Loop through the user's path and test for each of PROGNAME-LIST
   4105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4106 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4107 do
   4108   IFS=$as_save_IFS
   4109   test -z "$as_dir" && as_dir=.
   4110     for ac_prog in egrep; do
   4111     for ac_exec_ext in '' $ac_executable_extensions; do
   4112       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4113       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4114 # Check for GNU ac_path_EGREP and select it if it is found.
   4115   # Check for GNU $ac_path_EGREP
   4116 case `"$ac_path_EGREP" --version 2>&1` in
   4117 *GNU*)
   4118   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4119 *)
   4120   ac_count=0
   4121   $as_echo_n 0123456789 >"conftest.in"
   4122   while :
   4123   do
   4124     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4125     mv "conftest.tmp" "conftest.in"
   4126     cp "conftest.in" "conftest.nl"
   4127     $as_echo 'EGREP' >> "conftest.nl"
   4128     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4129     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4130     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4131     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4132       # Best one so far, save it but keep looking for a better one
   4133       ac_cv_path_EGREP="$ac_path_EGREP"
   4134       ac_path_EGREP_max=$ac_count
   4135     fi
   4136     # 10*(2^10) chars as input seems more than enough
   4137     test $ac_count -gt 10 && break
   4138   done
   4139   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4140 esac
   4141 
   4142       $ac_path_EGREP_found && break 3
   4143     done
   4144   done
   4145   done
   4146 IFS=$as_save_IFS
   4147   if test -z "$ac_cv_path_EGREP"; then
   4148     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4149   fi
   4150 else
   4151   ac_cv_path_EGREP=$EGREP
   4152 fi
   4153 
   4154    fi
   4155 fi
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4157 $as_echo "$ac_cv_path_EGREP" >&6; }
   4158  EGREP="$ac_cv_path_EGREP"
   4159 
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4162 $as_echo_n "checking for ANSI C header files... " >&6; }
   4163 if ${ac_cv_header_stdc+:} false; then :
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4167 /* end confdefs.h.  */
   4168 #include <stdlib.h>
   4169 #include <stdarg.h>
   4170 #include <string.h>
   4171 #include <float.h>
   4172 
   4173 int
   4174 main ()
   4175 {
   4176 
   4177   ;
   4178   return 0;
   4179 }
   4180 _ACEOF
   4181 if ac_fn_c_try_compile "$LINENO"; then :
   4182   ac_cv_header_stdc=yes
   4183 else
   4184   ac_cv_header_stdc=no
   4185 fi
   4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4187 
   4188 if test $ac_cv_header_stdc = yes; then
   4189   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4191 /* end confdefs.h.  */
   4192 #include <string.h>
   4193 
   4194 _ACEOF
   4195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4196   $EGREP "memchr" >/dev/null 2>&1; then :
   4197 
   4198 else
   4199   ac_cv_header_stdc=no
   4200 fi
   4201 rm -f conftest*
   4202 
   4203 fi
   4204 
   4205 if test $ac_cv_header_stdc = yes; then
   4206   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4208 /* end confdefs.h.  */
   4209 #include <stdlib.h>
   4210 
   4211 _ACEOF
   4212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4213   $EGREP "free" >/dev/null 2>&1; then :
   4214 
   4215 else
   4216   ac_cv_header_stdc=no
   4217 fi
   4218 rm -f conftest*
   4219 
   4220 fi
   4221 
   4222 if test $ac_cv_header_stdc = yes; then
   4223   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4224   if test "$cross_compiling" = yes; then :
   4225   :
   4226 else
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #include <ctype.h>
   4230 #include <stdlib.h>
   4231 #if ((' ' & 0x0FF) == 0x020)
   4232 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4233 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4234 #else
   4235 # define ISLOWER(c) \
   4236 		   (('a' <= (c) && (c) <= 'i') \
   4237 		     || ('j' <= (c) && (c) <= 'r') \
   4238 		     || ('s' <= (c) && (c) <= 'z'))
   4239 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4240 #endif
   4241 
   4242 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4243 int
   4244 main ()
   4245 {
   4246   int i;
   4247   for (i = 0; i < 256; i++)
   4248     if (XOR (islower (i), ISLOWER (i))
   4249 	|| toupper (i) != TOUPPER (i))
   4250       return 2;
   4251   return 0;
   4252 }
   4253 _ACEOF
   4254 if ac_fn_c_try_run "$LINENO"; then :
   4255 
   4256 else
   4257   ac_cv_header_stdc=no
   4258 fi
   4259 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4260   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4261 fi
   4262 
   4263 fi
   4264 fi
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4266 $as_echo "$ac_cv_header_stdc" >&6; }
   4267 if test $ac_cv_header_stdc = yes; then
   4268 
   4269 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4270 
   4271 fi
   4272 
   4273 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4274 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4275 		  inttypes.h stdint.h unistd.h
   4276 do :
   4277   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4278 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4279 "
   4280 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4281   cat >>confdefs.h <<_ACEOF
   4282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4283 _ACEOF
   4284 
   4285 fi
   4286 
   4287 done
   4288 
   4289 
   4290 
   4291 
   4292 
   4293 
   4294 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4295 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4296   CLANGCC="yes"
   4297 else
   4298   CLANGCC="no"
   4299 fi
   4300 
   4301 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4302 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4303   INTELCC="yes"
   4304 else
   4305   INTELCC="no"
   4306 fi
   4307 
   4308 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4309 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4310   SUNCC="yes"
   4311 else
   4312   SUNCC="no"
   4313 fi
   4314 
   4315 
   4316 
   4317 
   4318 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4319 	if test -n "$ac_tool_prefix"; then
   4320   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4321 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4323 $as_echo_n "checking for $ac_word... " >&6; }
   4324 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4325   $as_echo_n "(cached) " >&6
   4326 else
   4327   case $PKG_CONFIG in
   4328   [\\/]* | ?:[\\/]*)
   4329   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4330   ;;
   4331   *)
   4332   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4333 for as_dir in $PATH
   4334 do
   4335   IFS=$as_save_IFS
   4336   test -z "$as_dir" && as_dir=.
   4337     for ac_exec_ext in '' $ac_executable_extensions; do
   4338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4339     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4341     break 2
   4342   fi
   4343 done
   4344   done
   4345 IFS=$as_save_IFS
   4346 
   4347   ;;
   4348 esac
   4349 fi
   4350 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4351 if test -n "$PKG_CONFIG"; then
   4352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4353 $as_echo "$PKG_CONFIG" >&6; }
   4354 else
   4355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4356 $as_echo "no" >&6; }
   4357 fi
   4358 
   4359 
   4360 fi
   4361 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4362   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4363   # Extract the first word of "pkg-config", so it can be a program name with args.
   4364 set dummy pkg-config; ac_word=$2
   4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4366 $as_echo_n "checking for $ac_word... " >&6; }
   4367 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4368   $as_echo_n "(cached) " >&6
   4369 else
   4370   case $ac_pt_PKG_CONFIG in
   4371   [\\/]* | ?:[\\/]*)
   4372   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4373   ;;
   4374   *)
   4375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4376 for as_dir in $PATH
   4377 do
   4378   IFS=$as_save_IFS
   4379   test -z "$as_dir" && as_dir=.
   4380     for ac_exec_ext in '' $ac_executable_extensions; do
   4381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4382     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4384     break 2
   4385   fi
   4386 done
   4387   done
   4388 IFS=$as_save_IFS
   4389 
   4390   ;;
   4391 esac
   4392 fi
   4393 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4394 if test -n "$ac_pt_PKG_CONFIG"; then
   4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4396 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4397 else
   4398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4399 $as_echo "no" >&6; }
   4400 fi
   4401 
   4402   if test "x$ac_pt_PKG_CONFIG" = x; then
   4403     PKG_CONFIG=""
   4404   else
   4405     case $cross_compiling:$ac_tool_warned in
   4406 yes:)
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4409 ac_tool_warned=yes ;;
   4410 esac
   4411     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4412   fi
   4413 else
   4414   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4415 fi
   4416 
   4417 fi
   4418 if test -n "$PKG_CONFIG"; then
   4419 	_pkg_min_version=0.9.0
   4420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4421 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4422 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4424 $as_echo "yes" >&6; }
   4425 	else
   4426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4427 $as_echo "no" >&6; }
   4428 		PKG_CONFIG=""
   4429 	fi
   4430 
   4431 fi
   4432 # Make sure we can run config.sub.
   4433 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4434   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4435 
   4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4437 $as_echo_n "checking build system type... " >&6; }
   4438 if ${ac_cv_build+:} false; then :
   4439   $as_echo_n "(cached) " >&6
   4440 else
   4441   ac_build_alias=$build_alias
   4442 test "x$ac_build_alias" = x &&
   4443   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4444 test "x$ac_build_alias" = x &&
   4445   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4446 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4447   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4448 
   4449 fi
   4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4451 $as_echo "$ac_cv_build" >&6; }
   4452 case $ac_cv_build in
   4453 *-*-*) ;;
   4454 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4455 esac
   4456 build=$ac_cv_build
   4457 ac_save_IFS=$IFS; IFS='-'
   4458 set x $ac_cv_build
   4459 shift
   4460 build_cpu=$1
   4461 build_vendor=$2
   4462 shift; shift
   4463 # Remember, the first character of IFS is used to create $*,
   4464 # except with old shells:
   4465 build_os=$*
   4466 IFS=$ac_save_IFS
   4467 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4468 
   4469 
   4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4471 $as_echo_n "checking host system type... " >&6; }
   4472 if ${ac_cv_host+:} false; then :
   4473   $as_echo_n "(cached) " >&6
   4474 else
   4475   if test "x$host_alias" = x; then
   4476   ac_cv_host=$ac_cv_build
   4477 else
   4478   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4479     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4480 fi
   4481 
   4482 fi
   4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4484 $as_echo "$ac_cv_host" >&6; }
   4485 case $ac_cv_host in
   4486 *-*-*) ;;
   4487 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4488 esac
   4489 host=$ac_cv_host
   4490 ac_save_IFS=$IFS; IFS='-'
   4491 set x $ac_cv_host
   4492 shift
   4493 host_cpu=$1
   4494 host_vendor=$2
   4495 shift; shift
   4496 # Remember, the first character of IFS is used to create $*,
   4497 # except with old shells:
   4498 host_os=$*
   4499 IFS=$ac_save_IFS
   4500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4501 
   4502 
   4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4504 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4505 if ${ac_cv_path_SED+:} false; then :
   4506   $as_echo_n "(cached) " >&6
   4507 else
   4508             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4509      for ac_i in 1 2 3 4 5 6 7; do
   4510        ac_script="$ac_script$as_nl$ac_script"
   4511      done
   4512      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4513      { ac_script=; unset ac_script;}
   4514      if test -z "$SED"; then
   4515   ac_path_SED_found=false
   4516   # Loop through the user's path and test for each of PROGNAME-LIST
   4517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4518 for as_dir in $PATH
   4519 do
   4520   IFS=$as_save_IFS
   4521   test -z "$as_dir" && as_dir=.
   4522     for ac_prog in sed gsed; do
   4523     for ac_exec_ext in '' $ac_executable_extensions; do
   4524       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4525       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4526 # Check for GNU ac_path_SED and select it if it is found.
   4527   # Check for GNU $ac_path_SED
   4528 case `"$ac_path_SED" --version 2>&1` in
   4529 *GNU*)
   4530   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4531 *)
   4532   ac_count=0
   4533   $as_echo_n 0123456789 >"conftest.in"
   4534   while :
   4535   do
   4536     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4537     mv "conftest.tmp" "conftest.in"
   4538     cp "conftest.in" "conftest.nl"
   4539     $as_echo '' >> "conftest.nl"
   4540     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4541     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4542     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4543     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4544       # Best one so far, save it but keep looking for a better one
   4545       ac_cv_path_SED="$ac_path_SED"
   4546       ac_path_SED_max=$ac_count
   4547     fi
   4548     # 10*(2^10) chars as input seems more than enough
   4549     test $ac_count -gt 10 && break
   4550   done
   4551   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4552 esac
   4553 
   4554       $ac_path_SED_found && break 3
   4555     done
   4556   done
   4557   done
   4558 IFS=$as_save_IFS
   4559   if test -z "$ac_cv_path_SED"; then
   4560     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4561   fi
   4562 else
   4563   ac_cv_path_SED=$SED
   4564 fi
   4565 
   4566 fi
   4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4568 $as_echo "$ac_cv_path_SED" >&6; }
   4569  SED="$ac_cv_path_SED"
   4570   rm -f conftest.sed
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 # Check whether --enable-selective-werror was given.
   4578 if test "${enable_selective_werror+set}" = set; then :
   4579   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4580 else
   4581   SELECTIVE_WERROR=yes
   4582 fi
   4583 
   4584 
   4585 
   4586 
   4587 
   4588 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4589 if test "x$SUNCC" = "xyes"; then
   4590     BASE_CFLAGS="-v"
   4591 else
   4592     BASE_CFLAGS=""
   4593 fi
   4594 
   4595 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 
   4606 
   4607 xorg_testset_save_CFLAGS="$CFLAGS"
   4608 
   4609 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4612 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4613 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4614   $as_echo_n "(cached) " >&6
   4615 else
   4616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4617 /* end confdefs.h.  */
   4618 int i;
   4619 _ACEOF
   4620 if ac_fn_c_try_compile "$LINENO"; then :
   4621   xorg_cv_compiler_flag_unknown_warning_option=yes
   4622 else
   4623   xorg_cv_compiler_flag_unknown_warning_option=no
   4624 fi
   4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4626 fi
   4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4628 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4629 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4630 	CFLAGS="$xorg_testset_save_CFLAGS"
   4631 fi
   4632 
   4633 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4634 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4636 	fi
   4637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4639 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4640 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4641   $as_echo_n "(cached) " >&6
   4642 else
   4643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4644 /* end confdefs.h.  */
   4645 int i;
   4646 _ACEOF
   4647 if ac_fn_c_try_compile "$LINENO"; then :
   4648   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4649 else
   4650   xorg_cv_compiler_flag_unused_command_line_argument=no
   4651 fi
   4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4653 fi
   4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4655 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4656 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4657 	CFLAGS="$xorg_testset_save_CFLAGS"
   4658 fi
   4659 
   4660 found="no"
   4661 
   4662 	if test $found = "no" ; then
   4663 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4665 		fi
   4666 
   4667 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4669 		fi
   4670 
   4671 		CFLAGS="$CFLAGS -Wall"
   4672 
   4673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4674 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4675 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   4676 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4677   $as_echo_n "(cached) " >&6
   4678 else
   4679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4680 /* end confdefs.h.  */
   4681 int i;
   4682 int
   4683 main ()
   4684 {
   4685 
   4686   ;
   4687   return 0;
   4688 }
   4689 _ACEOF
   4690 if ac_fn_c_try_link "$LINENO"; then :
   4691   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4692 else
   4693   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4694 fi
   4695 rm -f core conftest.err conftest.$ac_objext \
   4696     conftest$ac_exeext conftest.$ac_ext
   4697 fi
   4698 
   4699 
   4700 		CFLAGS="$xorg_testset_save_CFLAGS"
   4701 
   4702 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4704 $as_echo "$supported" >&6; }
   4705 		if test "$supported" = "yes" ; then
   4706 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4707 			found="yes"
   4708 		fi
   4709 	fi
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 xorg_testset_save_CFLAGS="$CFLAGS"
   4724 
   4725 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4728 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4729 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4730   $as_echo_n "(cached) " >&6
   4731 else
   4732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4733 /* end confdefs.h.  */
   4734 int i;
   4735 _ACEOF
   4736 if ac_fn_c_try_compile "$LINENO"; then :
   4737   xorg_cv_compiler_flag_unknown_warning_option=yes
   4738 else
   4739   xorg_cv_compiler_flag_unknown_warning_option=no
   4740 fi
   4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4742 fi
   4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4744 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4745 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4746 	CFLAGS="$xorg_testset_save_CFLAGS"
   4747 fi
   4748 
   4749 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4750 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4752 	fi
   4753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4755 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4756 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4757   $as_echo_n "(cached) " >&6
   4758 else
   4759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4760 /* end confdefs.h.  */
   4761 int i;
   4762 _ACEOF
   4763 if ac_fn_c_try_compile "$LINENO"; then :
   4764   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4765 else
   4766   xorg_cv_compiler_flag_unused_command_line_argument=no
   4767 fi
   4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4769 fi
   4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4771 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4772 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4773 	CFLAGS="$xorg_testset_save_CFLAGS"
   4774 fi
   4775 
   4776 found="no"
   4777 
   4778 	if test $found = "no" ; then
   4779 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4781 		fi
   4782 
   4783 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4785 		fi
   4786 
   4787 		CFLAGS="$CFLAGS -Wpointer-arith"
   4788 
   4789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4790 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4791 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   4792 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4793   $as_echo_n "(cached) " >&6
   4794 else
   4795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4796 /* end confdefs.h.  */
   4797 int i;
   4798 int
   4799 main ()
   4800 {
   4801 
   4802   ;
   4803   return 0;
   4804 }
   4805 _ACEOF
   4806 if ac_fn_c_try_link "$LINENO"; then :
   4807   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4808 else
   4809   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4810 fi
   4811 rm -f core conftest.err conftest.$ac_objext \
   4812     conftest$ac_exeext conftest.$ac_ext
   4813 fi
   4814 
   4815 
   4816 		CFLAGS="$xorg_testset_save_CFLAGS"
   4817 
   4818 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4820 $as_echo "$supported" >&6; }
   4821 		if test "$supported" = "yes" ; then
   4822 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4823 			found="yes"
   4824 		fi
   4825 	fi
   4826 
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 xorg_testset_save_CFLAGS="$CFLAGS"
   4840 
   4841 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4844 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4845 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4846   $as_echo_n "(cached) " >&6
   4847 else
   4848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4849 /* end confdefs.h.  */
   4850 int i;
   4851 _ACEOF
   4852 if ac_fn_c_try_compile "$LINENO"; then :
   4853   xorg_cv_compiler_flag_unknown_warning_option=yes
   4854 else
   4855   xorg_cv_compiler_flag_unknown_warning_option=no
   4856 fi
   4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4858 fi
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4860 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4861 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4862 	CFLAGS="$xorg_testset_save_CFLAGS"
   4863 fi
   4864 
   4865 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4866 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4868 	fi
   4869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4871 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4872 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4873   $as_echo_n "(cached) " >&6
   4874 else
   4875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4876 /* end confdefs.h.  */
   4877 int i;
   4878 _ACEOF
   4879 if ac_fn_c_try_compile "$LINENO"; then :
   4880   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4881 else
   4882   xorg_cv_compiler_flag_unused_command_line_argument=no
   4883 fi
   4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4885 fi
   4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   4887 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   4888 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   4889 	CFLAGS="$xorg_testset_save_CFLAGS"
   4890 fi
   4891 
   4892 found="no"
   4893 
   4894 	if test $found = "no" ; then
   4895 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4897 		fi
   4898 
   4899 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4901 		fi
   4902 
   4903 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4904 
   4905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4906 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4907 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   4908 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   4909   $as_echo_n "(cached) " >&6
   4910 else
   4911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4912 /* end confdefs.h.  */
   4913 int i;
   4914 int
   4915 main ()
   4916 {
   4917 
   4918   ;
   4919   return 0;
   4920 }
   4921 _ACEOF
   4922 if ac_fn_c_try_link "$LINENO"; then :
   4923   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   4924 else
   4925   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   4926 fi
   4927 rm -f core conftest.err conftest.$ac_objext \
   4928     conftest$ac_exeext conftest.$ac_ext
   4929 fi
   4930 
   4931 
   4932 		CFLAGS="$xorg_testset_save_CFLAGS"
   4933 
   4934 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   4935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4936 $as_echo "$supported" >&6; }
   4937 		if test "$supported" = "yes" ; then
   4938 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4939 			found="yes"
   4940 		fi
   4941 	fi
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 xorg_testset_save_CFLAGS="$CFLAGS"
   4956 
   4957 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   4960 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   4961 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   4962   $as_echo_n "(cached) " >&6
   4963 else
   4964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4965 /* end confdefs.h.  */
   4966 int i;
   4967 _ACEOF
   4968 if ac_fn_c_try_compile "$LINENO"; then :
   4969   xorg_cv_compiler_flag_unknown_warning_option=yes
   4970 else
   4971   xorg_cv_compiler_flag_unknown_warning_option=no
   4972 fi
   4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4974 fi
   4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   4976 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   4977 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   4978 	CFLAGS="$xorg_testset_save_CFLAGS"
   4979 fi
   4980 
   4981 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4982 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4984 	fi
   4985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   4987 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   4988 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   4989   $as_echo_n "(cached) " >&6
   4990 else
   4991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4992 /* end confdefs.h.  */
   4993 int i;
   4994 _ACEOF
   4995 if ac_fn_c_try_compile "$LINENO"; then :
   4996   xorg_cv_compiler_flag_unused_command_line_argument=yes
   4997 else
   4998   xorg_cv_compiler_flag_unused_command_line_argument=no
   4999 fi
   5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5001 fi
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5003 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5004 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5005 	CFLAGS="$xorg_testset_save_CFLAGS"
   5006 fi
   5007 
   5008 found="no"
   5009 
   5010 	if test $found = "no" ; then
   5011 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5013 		fi
   5014 
   5015 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5017 		fi
   5018 
   5019 		CFLAGS="$CFLAGS -Wformat=2"
   5020 
   5021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5022 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5023 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   5024 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5025   $as_echo_n "(cached) " >&6
   5026 else
   5027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5028 /* end confdefs.h.  */
   5029 int i;
   5030 int
   5031 main ()
   5032 {
   5033 
   5034   ;
   5035   return 0;
   5036 }
   5037 _ACEOF
   5038 if ac_fn_c_try_link "$LINENO"; then :
   5039   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5040 else
   5041   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext \
   5044     conftest$ac_exeext conftest.$ac_ext
   5045 fi
   5046 
   5047 
   5048 		CFLAGS="$xorg_testset_save_CFLAGS"
   5049 
   5050 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5052 $as_echo "$supported" >&6; }
   5053 		if test "$supported" = "yes" ; then
   5054 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5055 			found="yes"
   5056 		fi
   5057 	fi
   5058 
   5059 	if test $found = "no" ; then
   5060 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5062 		fi
   5063 
   5064 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 		fi
   5067 
   5068 		CFLAGS="$CFLAGS -Wformat"
   5069 
   5070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5071 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5072 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   5073 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5074   $as_echo_n "(cached) " >&6
   5075 else
   5076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5077 /* end confdefs.h.  */
   5078 int i;
   5079 int
   5080 main ()
   5081 {
   5082 
   5083   ;
   5084   return 0;
   5085 }
   5086 _ACEOF
   5087 if ac_fn_c_try_link "$LINENO"; then :
   5088   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5089 else
   5090   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5091 fi
   5092 rm -f core conftest.err conftest.$ac_objext \
   5093     conftest$ac_exeext conftest.$ac_ext
   5094 fi
   5095 
   5096 
   5097 		CFLAGS="$xorg_testset_save_CFLAGS"
   5098 
   5099 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5101 $as_echo "$supported" >&6; }
   5102 		if test "$supported" = "yes" ; then
   5103 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5104 			found="yes"
   5105 		fi
   5106 	fi
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 xorg_testset_save_CFLAGS="$CFLAGS"
   5123 
   5124 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5127 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5128 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5129   $as_echo_n "(cached) " >&6
   5130 else
   5131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5132 /* end confdefs.h.  */
   5133 int i;
   5134 _ACEOF
   5135 if ac_fn_c_try_compile "$LINENO"; then :
   5136   xorg_cv_compiler_flag_unknown_warning_option=yes
   5137 else
   5138   xorg_cv_compiler_flag_unknown_warning_option=no
   5139 fi
   5140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5141 fi
   5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5143 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5144 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5145 	CFLAGS="$xorg_testset_save_CFLAGS"
   5146 fi
   5147 
   5148 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5149 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 	fi
   5152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5154 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5155 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5156   $as_echo_n "(cached) " >&6
   5157 else
   5158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5159 /* end confdefs.h.  */
   5160 int i;
   5161 _ACEOF
   5162 if ac_fn_c_try_compile "$LINENO"; then :
   5163   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5164 else
   5165   xorg_cv_compiler_flag_unused_command_line_argument=no
   5166 fi
   5167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5168 fi
   5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5170 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5171 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5172 	CFLAGS="$xorg_testset_save_CFLAGS"
   5173 fi
   5174 
   5175 found="no"
   5176 
   5177 	if test $found = "no" ; then
   5178 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5180 		fi
   5181 
   5182 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5184 		fi
   5185 
   5186 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5187 
   5188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5189 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5190 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   5191 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5192   $as_echo_n "(cached) " >&6
   5193 else
   5194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5195 /* end confdefs.h.  */
   5196 int i;
   5197 int
   5198 main ()
   5199 {
   5200 
   5201   ;
   5202   return 0;
   5203 }
   5204 _ACEOF
   5205 if ac_fn_c_try_link "$LINENO"; then :
   5206   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5207 else
   5208   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5209 fi
   5210 rm -f core conftest.err conftest.$ac_objext \
   5211     conftest$ac_exeext conftest.$ac_ext
   5212 fi
   5213 
   5214 
   5215 		CFLAGS="$xorg_testset_save_CFLAGS"
   5216 
   5217 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5219 $as_echo "$supported" >&6; }
   5220 		if test "$supported" = "yes" ; then
   5221 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5222 			found="yes"
   5223 		fi
   5224 	fi
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 xorg_testset_save_CFLAGS="$CFLAGS"
   5239 
   5240 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5243 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5244 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5248 /* end confdefs.h.  */
   5249 int i;
   5250 _ACEOF
   5251 if ac_fn_c_try_compile "$LINENO"; then :
   5252   xorg_cv_compiler_flag_unknown_warning_option=yes
   5253 else
   5254   xorg_cv_compiler_flag_unknown_warning_option=no
   5255 fi
   5256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5257 fi
   5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5259 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5260 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5261 	CFLAGS="$xorg_testset_save_CFLAGS"
   5262 fi
   5263 
   5264 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5265 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5267 	fi
   5268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5270 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5271 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5272   $as_echo_n "(cached) " >&6
   5273 else
   5274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5275 /* end confdefs.h.  */
   5276 int i;
   5277 _ACEOF
   5278 if ac_fn_c_try_compile "$LINENO"; then :
   5279   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5280 else
   5281   xorg_cv_compiler_flag_unused_command_line_argument=no
   5282 fi
   5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5284 fi
   5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5286 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5287 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5288 	CFLAGS="$xorg_testset_save_CFLAGS"
   5289 fi
   5290 
   5291 found="no"
   5292 
   5293 	if test $found = "no" ; then
   5294 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5296 		fi
   5297 
   5298 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5300 		fi
   5301 
   5302 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5303 
   5304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5305 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5306 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   5307 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5308   $as_echo_n "(cached) " >&6
   5309 else
   5310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5311 /* end confdefs.h.  */
   5312 int i;
   5313 int
   5314 main ()
   5315 {
   5316 
   5317   ;
   5318   return 0;
   5319 }
   5320 _ACEOF
   5321 if ac_fn_c_try_link "$LINENO"; then :
   5322   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5323 else
   5324   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5325 fi
   5326 rm -f core conftest.err conftest.$ac_objext \
   5327     conftest$ac_exeext conftest.$ac_ext
   5328 fi
   5329 
   5330 
   5331 		CFLAGS="$xorg_testset_save_CFLAGS"
   5332 
   5333 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5335 $as_echo "$supported" >&6; }
   5336 		if test "$supported" = "yes" ; then
   5337 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5338 			found="yes"
   5339 		fi
   5340 	fi
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 xorg_testset_save_CFLAGS="$CFLAGS"
   5355 
   5356 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5359 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5360 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5361   $as_echo_n "(cached) " >&6
   5362 else
   5363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5364 /* end confdefs.h.  */
   5365 int i;
   5366 _ACEOF
   5367 if ac_fn_c_try_compile "$LINENO"; then :
   5368   xorg_cv_compiler_flag_unknown_warning_option=yes
   5369 else
   5370   xorg_cv_compiler_flag_unknown_warning_option=no
   5371 fi
   5372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5373 fi
   5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5375 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5376 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5377 	CFLAGS="$xorg_testset_save_CFLAGS"
   5378 fi
   5379 
   5380 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5381 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5383 	fi
   5384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5386 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5387 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5388   $as_echo_n "(cached) " >&6
   5389 else
   5390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5391 /* end confdefs.h.  */
   5392 int i;
   5393 _ACEOF
   5394 if ac_fn_c_try_compile "$LINENO"; then :
   5395   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5396 else
   5397   xorg_cv_compiler_flag_unused_command_line_argument=no
   5398 fi
   5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5400 fi
   5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5402 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5403 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5404 	CFLAGS="$xorg_testset_save_CFLAGS"
   5405 fi
   5406 
   5407 found="no"
   5408 
   5409 	if test $found = "no" ; then
   5410 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5412 		fi
   5413 
   5414 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5416 		fi
   5417 
   5418 		CFLAGS="$CFLAGS -Wnested-externs"
   5419 
   5420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5421 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5422 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   5423 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5424   $as_echo_n "(cached) " >&6
   5425 else
   5426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5427 /* end confdefs.h.  */
   5428 int i;
   5429 int
   5430 main ()
   5431 {
   5432 
   5433   ;
   5434   return 0;
   5435 }
   5436 _ACEOF
   5437 if ac_fn_c_try_link "$LINENO"; then :
   5438   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5439 else
   5440   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5441 fi
   5442 rm -f core conftest.err conftest.$ac_objext \
   5443     conftest$ac_exeext conftest.$ac_ext
   5444 fi
   5445 
   5446 
   5447 		CFLAGS="$xorg_testset_save_CFLAGS"
   5448 
   5449 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5451 $as_echo "$supported" >&6; }
   5452 		if test "$supported" = "yes" ; then
   5453 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5454 			found="yes"
   5455 		fi
   5456 	fi
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 xorg_testset_save_CFLAGS="$CFLAGS"
   5471 
   5472 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5475 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5476 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5477   $as_echo_n "(cached) " >&6
   5478 else
   5479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5480 /* end confdefs.h.  */
   5481 int i;
   5482 _ACEOF
   5483 if ac_fn_c_try_compile "$LINENO"; then :
   5484   xorg_cv_compiler_flag_unknown_warning_option=yes
   5485 else
   5486   xorg_cv_compiler_flag_unknown_warning_option=no
   5487 fi
   5488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5489 fi
   5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5491 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5492 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5493 	CFLAGS="$xorg_testset_save_CFLAGS"
   5494 fi
   5495 
   5496 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5497 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5499 	fi
   5500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5502 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5503 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5507 /* end confdefs.h.  */
   5508 int i;
   5509 _ACEOF
   5510 if ac_fn_c_try_compile "$LINENO"; then :
   5511   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5512 else
   5513   xorg_cv_compiler_flag_unused_command_line_argument=no
   5514 fi
   5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5516 fi
   5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5518 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5519 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5520 	CFLAGS="$xorg_testset_save_CFLAGS"
   5521 fi
   5522 
   5523 found="no"
   5524 
   5525 	if test $found = "no" ; then
   5526 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5528 		fi
   5529 
   5530 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5532 		fi
   5533 
   5534 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5535 
   5536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5537 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5538 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   5539 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5540   $as_echo_n "(cached) " >&6
   5541 else
   5542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5543 /* end confdefs.h.  */
   5544 int i;
   5545 int
   5546 main ()
   5547 {
   5548 
   5549   ;
   5550   return 0;
   5551 }
   5552 _ACEOF
   5553 if ac_fn_c_try_link "$LINENO"; then :
   5554   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5555 else
   5556   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5557 fi
   5558 rm -f core conftest.err conftest.$ac_objext \
   5559     conftest$ac_exeext conftest.$ac_ext
   5560 fi
   5561 
   5562 
   5563 		CFLAGS="$xorg_testset_save_CFLAGS"
   5564 
   5565 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5567 $as_echo "$supported" >&6; }
   5568 		if test "$supported" = "yes" ; then
   5569 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5570 			found="yes"
   5571 		fi
   5572 	fi
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 xorg_testset_save_CFLAGS="$CFLAGS"
   5587 
   5588 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5591 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5592 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5593   $as_echo_n "(cached) " >&6
   5594 else
   5595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5596 /* end confdefs.h.  */
   5597 int i;
   5598 _ACEOF
   5599 if ac_fn_c_try_compile "$LINENO"; then :
   5600   xorg_cv_compiler_flag_unknown_warning_option=yes
   5601 else
   5602   xorg_cv_compiler_flag_unknown_warning_option=no
   5603 fi
   5604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5605 fi
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5607 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5608 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5609 	CFLAGS="$xorg_testset_save_CFLAGS"
   5610 fi
   5611 
   5612 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5613 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5615 	fi
   5616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5618 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5619 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5620   $as_echo_n "(cached) " >&6
   5621 else
   5622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5623 /* end confdefs.h.  */
   5624 int i;
   5625 _ACEOF
   5626 if ac_fn_c_try_compile "$LINENO"; then :
   5627   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5628 else
   5629   xorg_cv_compiler_flag_unused_command_line_argument=no
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5632 fi
   5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5634 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5635 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5636 	CFLAGS="$xorg_testset_save_CFLAGS"
   5637 fi
   5638 
   5639 found="no"
   5640 
   5641 	if test $found = "no" ; then
   5642 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5644 		fi
   5645 
   5646 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5648 		fi
   5649 
   5650 		CFLAGS="$CFLAGS -Wold-style-definition"
   5651 
   5652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5653 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5654 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   5655 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5656   $as_echo_n "(cached) " >&6
   5657 else
   5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5659 /* end confdefs.h.  */
   5660 int i;
   5661 int
   5662 main ()
   5663 {
   5664 
   5665   ;
   5666   return 0;
   5667 }
   5668 _ACEOF
   5669 if ac_fn_c_try_link "$LINENO"; then :
   5670   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5671 else
   5672   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5673 fi
   5674 rm -f core conftest.err conftest.$ac_objext \
   5675     conftest$ac_exeext conftest.$ac_ext
   5676 fi
   5677 
   5678 
   5679 		CFLAGS="$xorg_testset_save_CFLAGS"
   5680 
   5681 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5683 $as_echo "$supported" >&6; }
   5684 		if test "$supported" = "yes" ; then
   5685 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5686 			found="yes"
   5687 		fi
   5688 	fi
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 xorg_testset_save_CFLAGS="$CFLAGS"
   5703 
   5704 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5707 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5708 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 _ACEOF
   5715 if ac_fn_c_try_compile "$LINENO"; then :
   5716   xorg_cv_compiler_flag_unknown_warning_option=yes
   5717 else
   5718   xorg_cv_compiler_flag_unknown_warning_option=no
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5721 fi
   5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5723 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5724 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5725 	CFLAGS="$xorg_testset_save_CFLAGS"
   5726 fi
   5727 
   5728 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5729 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5730 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5731 	fi
   5732 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5734 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5735 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5736   $as_echo_n "(cached) " >&6
   5737 else
   5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5739 /* end confdefs.h.  */
   5740 int i;
   5741 _ACEOF
   5742 if ac_fn_c_try_compile "$LINENO"; then :
   5743   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5744 else
   5745   xorg_cv_compiler_flag_unused_command_line_argument=no
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5748 fi
   5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5750 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5751 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5752 	CFLAGS="$xorg_testset_save_CFLAGS"
   5753 fi
   5754 
   5755 found="no"
   5756 
   5757 	if test $found = "no" ; then
   5758 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5760 		fi
   5761 
   5762 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 		fi
   5765 
   5766 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5767 
   5768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5769 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5770 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   5771 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5775 /* end confdefs.h.  */
   5776 int i;
   5777 int
   5778 main ()
   5779 {
   5780 
   5781   ;
   5782   return 0;
   5783 }
   5784 _ACEOF
   5785 if ac_fn_c_try_link "$LINENO"; then :
   5786   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5787 else
   5788   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5789 fi
   5790 rm -f core conftest.err conftest.$ac_objext \
   5791     conftest$ac_exeext conftest.$ac_ext
   5792 fi
   5793 
   5794 
   5795 		CFLAGS="$xorg_testset_save_CFLAGS"
   5796 
   5797 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5799 $as_echo "$supported" >&6; }
   5800 		if test "$supported" = "yes" ; then
   5801 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5802 			found="yes"
   5803 		fi
   5804 	fi
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 # This chunk adds additional warnings that could catch undesired effects.
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 xorg_testset_save_CFLAGS="$CFLAGS"
   5823 
   5824 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5827 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5828 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5829   $as_echo_n "(cached) " >&6
   5830 else
   5831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5832 /* end confdefs.h.  */
   5833 int i;
   5834 _ACEOF
   5835 if ac_fn_c_try_compile "$LINENO"; then :
   5836   xorg_cv_compiler_flag_unknown_warning_option=yes
   5837 else
   5838   xorg_cv_compiler_flag_unknown_warning_option=no
   5839 fi
   5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5841 fi
   5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5843 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5844 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5845 	CFLAGS="$xorg_testset_save_CFLAGS"
   5846 fi
   5847 
   5848 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5849 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5851 	fi
   5852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5854 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5855 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5856   $as_echo_n "(cached) " >&6
   5857 else
   5858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5859 /* end confdefs.h.  */
   5860 int i;
   5861 _ACEOF
   5862 if ac_fn_c_try_compile "$LINENO"; then :
   5863   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5864 else
   5865   xorg_cv_compiler_flag_unused_command_line_argument=no
   5866 fi
   5867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5868 fi
   5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5870 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5871 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5872 	CFLAGS="$xorg_testset_save_CFLAGS"
   5873 fi
   5874 
   5875 found="no"
   5876 
   5877 	if test $found = "no" ; then
   5878 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5880 		fi
   5881 
   5882 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5884 		fi
   5885 
   5886 		CFLAGS="$CFLAGS -Wunused"
   5887 
   5888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5889 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5890 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   5891 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5895 /* end confdefs.h.  */
   5896 int i;
   5897 int
   5898 main ()
   5899 {
   5900 
   5901   ;
   5902   return 0;
   5903 }
   5904 _ACEOF
   5905 if ac_fn_c_try_link "$LINENO"; then :
   5906   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   5907 else
   5908   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   5909 fi
   5910 rm -f core conftest.err conftest.$ac_objext \
   5911     conftest$ac_exeext conftest.$ac_ext
   5912 fi
   5913 
   5914 
   5915 		CFLAGS="$xorg_testset_save_CFLAGS"
   5916 
   5917 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   5918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5919 $as_echo "$supported" >&6; }
   5920 		if test "$supported" = "yes" ; then
   5921 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5922 			found="yes"
   5923 		fi
   5924 	fi
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 xorg_testset_save_CFLAGS="$CFLAGS"
   5939 
   5940 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   5943 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   5944 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   5945   $as_echo_n "(cached) " >&6
   5946 else
   5947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5948 /* end confdefs.h.  */
   5949 int i;
   5950 _ACEOF
   5951 if ac_fn_c_try_compile "$LINENO"; then :
   5952   xorg_cv_compiler_flag_unknown_warning_option=yes
   5953 else
   5954   xorg_cv_compiler_flag_unknown_warning_option=no
   5955 fi
   5956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5957 fi
   5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   5959 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   5960 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   5961 	CFLAGS="$xorg_testset_save_CFLAGS"
   5962 fi
   5963 
   5964 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5965 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5967 	fi
   5968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   5970 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   5971 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   5972   $as_echo_n "(cached) " >&6
   5973 else
   5974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5975 /* end confdefs.h.  */
   5976 int i;
   5977 _ACEOF
   5978 if ac_fn_c_try_compile "$LINENO"; then :
   5979   xorg_cv_compiler_flag_unused_command_line_argument=yes
   5980 else
   5981   xorg_cv_compiler_flag_unused_command_line_argument=no
   5982 fi
   5983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5984 fi
   5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   5986 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   5987 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   5988 	CFLAGS="$xorg_testset_save_CFLAGS"
   5989 fi
   5990 
   5991 found="no"
   5992 
   5993 	if test $found = "no" ; then
   5994 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5996 		fi
   5997 
   5998 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6000 		fi
   6001 
   6002 		CFLAGS="$CFLAGS -Wuninitialized"
   6003 
   6004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6005 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6006 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   6007 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6008   $as_echo_n "(cached) " >&6
   6009 else
   6010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6011 /* end confdefs.h.  */
   6012 int i;
   6013 int
   6014 main ()
   6015 {
   6016 
   6017   ;
   6018   return 0;
   6019 }
   6020 _ACEOF
   6021 if ac_fn_c_try_link "$LINENO"; then :
   6022   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6023 else
   6024   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6025 fi
   6026 rm -f core conftest.err conftest.$ac_objext \
   6027     conftest$ac_exeext conftest.$ac_ext
   6028 fi
   6029 
   6030 
   6031 		CFLAGS="$xorg_testset_save_CFLAGS"
   6032 
   6033 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6035 $as_echo "$supported" >&6; }
   6036 		if test "$supported" = "yes" ; then
   6037 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6038 			found="yes"
   6039 		fi
   6040 	fi
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 xorg_testset_save_CFLAGS="$CFLAGS"
   6055 
   6056 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6057 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6059 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6060 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6061   $as_echo_n "(cached) " >&6
   6062 else
   6063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6064 /* end confdefs.h.  */
   6065 int i;
   6066 _ACEOF
   6067 if ac_fn_c_try_compile "$LINENO"; then :
   6068   xorg_cv_compiler_flag_unknown_warning_option=yes
   6069 else
   6070   xorg_cv_compiler_flag_unknown_warning_option=no
   6071 fi
   6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6073 fi
   6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6075 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6076 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6077 	CFLAGS="$xorg_testset_save_CFLAGS"
   6078 fi
   6079 
   6080 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6081 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6083 	fi
   6084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6086 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6087 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6088   $as_echo_n "(cached) " >&6
   6089 else
   6090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6091 /* end confdefs.h.  */
   6092 int i;
   6093 _ACEOF
   6094 if ac_fn_c_try_compile "$LINENO"; then :
   6095   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6096 else
   6097   xorg_cv_compiler_flag_unused_command_line_argument=no
   6098 fi
   6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6100 fi
   6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6102 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6103 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6104 	CFLAGS="$xorg_testset_save_CFLAGS"
   6105 fi
   6106 
   6107 found="no"
   6108 
   6109 	if test $found = "no" ; then
   6110 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6112 		fi
   6113 
   6114 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6116 		fi
   6117 
   6118 		CFLAGS="$CFLAGS -Wshadow"
   6119 
   6120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6121 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6122 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   6123 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6124   $as_echo_n "(cached) " >&6
   6125 else
   6126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 int
   6130 main ()
   6131 {
   6132 
   6133   ;
   6134   return 0;
   6135 }
   6136 _ACEOF
   6137 if ac_fn_c_try_link "$LINENO"; then :
   6138   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6139 else
   6140   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext \
   6143     conftest$ac_exeext conftest.$ac_ext
   6144 fi
   6145 
   6146 
   6147 		CFLAGS="$xorg_testset_save_CFLAGS"
   6148 
   6149 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6151 $as_echo "$supported" >&6; }
   6152 		if test "$supported" = "yes" ; then
   6153 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6154 			found="yes"
   6155 		fi
   6156 	fi
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 xorg_testset_save_CFLAGS="$CFLAGS"
   6171 
   6172 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6175 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6176 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 _ACEOF
   6183 if ac_fn_c_try_compile "$LINENO"; then :
   6184   xorg_cv_compiler_flag_unknown_warning_option=yes
   6185 else
   6186   xorg_cv_compiler_flag_unknown_warning_option=no
   6187 fi
   6188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6191 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6192 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6193 	CFLAGS="$xorg_testset_save_CFLAGS"
   6194 fi
   6195 
   6196 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6197 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	fi
   6200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6202 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6203 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6204   $as_echo_n "(cached) " >&6
   6205 else
   6206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6207 /* end confdefs.h.  */
   6208 int i;
   6209 _ACEOF
   6210 if ac_fn_c_try_compile "$LINENO"; then :
   6211   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6212 else
   6213   xorg_cv_compiler_flag_unused_command_line_argument=no
   6214 fi
   6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6216 fi
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6218 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6219 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6220 	CFLAGS="$xorg_testset_save_CFLAGS"
   6221 fi
   6222 
   6223 found="no"
   6224 
   6225 	if test $found = "no" ; then
   6226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6228 		fi
   6229 
   6230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6232 		fi
   6233 
   6234 		CFLAGS="$CFLAGS -Wcast-qual"
   6235 
   6236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6237 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6238 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   6239 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 int i;
   6245 int
   6246 main ()
   6247 {
   6248 
   6249   ;
   6250   return 0;
   6251 }
   6252 _ACEOF
   6253 if ac_fn_c_try_link "$LINENO"; then :
   6254   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6255 else
   6256   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6257 fi
   6258 rm -f core conftest.err conftest.$ac_objext \
   6259     conftest$ac_exeext conftest.$ac_ext
   6260 fi
   6261 
   6262 
   6263 		CFLAGS="$xorg_testset_save_CFLAGS"
   6264 
   6265 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6267 $as_echo "$supported" >&6; }
   6268 		if test "$supported" = "yes" ; then
   6269 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6270 			found="yes"
   6271 		fi
   6272 	fi
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 xorg_testset_save_CFLAGS="$CFLAGS"
   6287 
   6288 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6291 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6292 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6293   $as_echo_n "(cached) " >&6
   6294 else
   6295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6296 /* end confdefs.h.  */
   6297 int i;
   6298 _ACEOF
   6299 if ac_fn_c_try_compile "$LINENO"; then :
   6300   xorg_cv_compiler_flag_unknown_warning_option=yes
   6301 else
   6302   xorg_cv_compiler_flag_unknown_warning_option=no
   6303 fi
   6304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6305 fi
   6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6307 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6308 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6309 	CFLAGS="$xorg_testset_save_CFLAGS"
   6310 fi
   6311 
   6312 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6313 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6315 	fi
   6316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6318 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6319 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} 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 _ACEOF
   6326 if ac_fn_c_try_compile "$LINENO"; then :
   6327   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6328 else
   6329   xorg_cv_compiler_flag_unused_command_line_argument=no
   6330 fi
   6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6332 fi
   6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6334 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6335 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6336 	CFLAGS="$xorg_testset_save_CFLAGS"
   6337 fi
   6338 
   6339 found="no"
   6340 
   6341 	if test $found = "no" ; then
   6342 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6344 		fi
   6345 
   6346 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6348 		fi
   6349 
   6350 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6351 
   6352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6353 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6354 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   6355 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6359 /* end confdefs.h.  */
   6360 int i;
   6361 int
   6362 main ()
   6363 {
   6364 
   6365   ;
   6366   return 0;
   6367 }
   6368 _ACEOF
   6369 if ac_fn_c_try_link "$LINENO"; then :
   6370   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6371 else
   6372   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6373 fi
   6374 rm -f core conftest.err conftest.$ac_objext \
   6375     conftest$ac_exeext conftest.$ac_ext
   6376 fi
   6377 
   6378 
   6379 		CFLAGS="$xorg_testset_save_CFLAGS"
   6380 
   6381 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6383 $as_echo "$supported" >&6; }
   6384 		if test "$supported" = "yes" ; then
   6385 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6386 			found="yes"
   6387 		fi
   6388 	fi
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 xorg_testset_save_CFLAGS="$CFLAGS"
   6403 
   6404 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6407 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6408 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6409   $as_echo_n "(cached) " >&6
   6410 else
   6411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6412 /* end confdefs.h.  */
   6413 int i;
   6414 _ACEOF
   6415 if ac_fn_c_try_compile "$LINENO"; then :
   6416   xorg_cv_compiler_flag_unknown_warning_option=yes
   6417 else
   6418   xorg_cv_compiler_flag_unknown_warning_option=no
   6419 fi
   6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6421 fi
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6423 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6424 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6425 	CFLAGS="$xorg_testset_save_CFLAGS"
   6426 fi
   6427 
   6428 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6429 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6431 	fi
   6432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6434 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6435 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6436   $as_echo_n "(cached) " >&6
   6437 else
   6438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6439 /* end confdefs.h.  */
   6440 int i;
   6441 _ACEOF
   6442 if ac_fn_c_try_compile "$LINENO"; then :
   6443   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6444 else
   6445   xorg_cv_compiler_flag_unused_command_line_argument=no
   6446 fi
   6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6448 fi
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6450 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6451 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6452 	CFLAGS="$xorg_testset_save_CFLAGS"
   6453 fi
   6454 
   6455 found="no"
   6456 
   6457 	if test $found = "no" ; then
   6458 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6460 		fi
   6461 
   6462 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6464 		fi
   6465 
   6466 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6467 
   6468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6469 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6470 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   6471 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6472   $as_echo_n "(cached) " >&6
   6473 else
   6474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6475 /* end confdefs.h.  */
   6476 int i;
   6477 int
   6478 main ()
   6479 {
   6480 
   6481   ;
   6482   return 0;
   6483 }
   6484 _ACEOF
   6485 if ac_fn_c_try_link "$LINENO"; then :
   6486   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6487 else
   6488   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6489 fi
   6490 rm -f core conftest.err conftest.$ac_objext \
   6491     conftest$ac_exeext conftest.$ac_ext
   6492 fi
   6493 
   6494 
   6495 		CFLAGS="$xorg_testset_save_CFLAGS"
   6496 
   6497 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6499 $as_echo "$supported" >&6; }
   6500 		if test "$supported" = "yes" ; then
   6501 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6502 			found="yes"
   6503 		fi
   6504 	fi
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 xorg_testset_save_CFLAGS="$CFLAGS"
   6519 
   6520 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6523 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6524 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6528 /* end confdefs.h.  */
   6529 int i;
   6530 _ACEOF
   6531 if ac_fn_c_try_compile "$LINENO"; then :
   6532   xorg_cv_compiler_flag_unknown_warning_option=yes
   6533 else
   6534   xorg_cv_compiler_flag_unknown_warning_option=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6537 fi
   6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6539 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6540 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6541 	CFLAGS="$xorg_testset_save_CFLAGS"
   6542 fi
   6543 
   6544 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6545 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6547 	fi
   6548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6550 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6551 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 _ACEOF
   6558 if ac_fn_c_try_compile "$LINENO"; then :
   6559   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6560 else
   6561   xorg_cv_compiler_flag_unused_command_line_argument=no
   6562 fi
   6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6564 fi
   6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6566 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6567 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6568 	CFLAGS="$xorg_testset_save_CFLAGS"
   6569 fi
   6570 
   6571 found="no"
   6572 
   6573 	if test $found = "no" ; then
   6574 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 		fi
   6577 
   6578 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6580 		fi
   6581 
   6582 		CFLAGS="$CFLAGS -Wredundant-decls"
   6583 
   6584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6585 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6586 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   6587 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6588   $as_echo_n "(cached) " >&6
   6589 else
   6590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6591 /* end confdefs.h.  */
   6592 int i;
   6593 int
   6594 main ()
   6595 {
   6596 
   6597   ;
   6598   return 0;
   6599 }
   6600 _ACEOF
   6601 if ac_fn_c_try_link "$LINENO"; then :
   6602   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6603 else
   6604   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6605 fi
   6606 rm -f core conftest.err conftest.$ac_objext \
   6607     conftest$ac_exeext conftest.$ac_ext
   6608 fi
   6609 
   6610 
   6611 		CFLAGS="$xorg_testset_save_CFLAGS"
   6612 
   6613 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6615 $as_echo "$supported" >&6; }
   6616 		if test "$supported" = "yes" ; then
   6617 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6618 			found="yes"
   6619 		fi
   6620 	fi
   6621 
   6622 
   6623 
   6624 # These are currently disabled because they are noisy.  They will be enabled
   6625 # in the future once the codebase is sufficiently modernized to silence
   6626 # them.  For now, I don't want them to drown out the other warnings.
   6627 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6628 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6629 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6630 
   6631 # Turn some warnings into errors, so we don't accidently get successful builds
   6632 # when there are problems that should be fixed.
   6633 
   6634 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 xorg_testset_save_CFLAGS="$CFLAGS"
   6647 
   6648 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6651 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6652 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6656 /* end confdefs.h.  */
   6657 int i;
   6658 _ACEOF
   6659 if ac_fn_c_try_compile "$LINENO"; then :
   6660   xorg_cv_compiler_flag_unknown_warning_option=yes
   6661 else
   6662   xorg_cv_compiler_flag_unknown_warning_option=no
   6663 fi
   6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6665 fi
   6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6667 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6668 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6669 	CFLAGS="$xorg_testset_save_CFLAGS"
   6670 fi
   6671 
   6672 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6673 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6675 	fi
   6676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6678 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6679 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"; then :
   6687   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6688 else
   6689   xorg_cv_compiler_flag_unused_command_line_argument=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6692 fi
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6694 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6695 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6696 	CFLAGS="$xorg_testset_save_CFLAGS"
   6697 fi
   6698 
   6699 found="no"
   6700 
   6701 	if test $found = "no" ; then
   6702 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6704 		fi
   6705 
   6706 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 		fi
   6709 
   6710 		CFLAGS="$CFLAGS -Werror=implicit"
   6711 
   6712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6713 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6714 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   6715 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 int
   6722 main ()
   6723 {
   6724 
   6725   ;
   6726   return 0;
   6727 }
   6728 _ACEOF
   6729 if ac_fn_c_try_link "$LINENO"; then :
   6730   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6731 else
   6732   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext \
   6735     conftest$ac_exeext conftest.$ac_ext
   6736 fi
   6737 
   6738 
   6739 		CFLAGS="$xorg_testset_save_CFLAGS"
   6740 
   6741 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6743 $as_echo "$supported" >&6; }
   6744 		if test "$supported" = "yes" ; then
   6745 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6746 			found="yes"
   6747 		fi
   6748 	fi
   6749 
   6750 	if test $found = "no" ; then
   6751 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6753 		fi
   6754 
   6755 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6757 		fi
   6758 
   6759 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6760 
   6761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6762 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6763 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   6764 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6765   $as_echo_n "(cached) " >&6
   6766 else
   6767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6768 /* end confdefs.h.  */
   6769 int i;
   6770 int
   6771 main ()
   6772 {
   6773 
   6774   ;
   6775   return 0;
   6776 }
   6777 _ACEOF
   6778 if ac_fn_c_try_link "$LINENO"; then :
   6779   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6780 else
   6781   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6782 fi
   6783 rm -f core conftest.err conftest.$ac_objext \
   6784     conftest$ac_exeext conftest.$ac_ext
   6785 fi
   6786 
   6787 
   6788 		CFLAGS="$xorg_testset_save_CFLAGS"
   6789 
   6790 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6792 $as_echo "$supported" >&6; }
   6793 		if test "$supported" = "yes" ; then
   6794 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6795 			found="yes"
   6796 		fi
   6797 	fi
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 xorg_testset_save_CFLAGS="$CFLAGS"
   6812 
   6813 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6816 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6817 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6818   $as_echo_n "(cached) " >&6
   6819 else
   6820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6821 /* end confdefs.h.  */
   6822 int i;
   6823 _ACEOF
   6824 if ac_fn_c_try_compile "$LINENO"; then :
   6825   xorg_cv_compiler_flag_unknown_warning_option=yes
   6826 else
   6827   xorg_cv_compiler_flag_unknown_warning_option=no
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6830 fi
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6832 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6833 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6834 	CFLAGS="$xorg_testset_save_CFLAGS"
   6835 fi
   6836 
   6837 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6838 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6840 	fi
   6841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6843 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6844 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6845   $as_echo_n "(cached) " >&6
   6846 else
   6847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 _ACEOF
   6851 if ac_fn_c_try_compile "$LINENO"; then :
   6852   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6853 else
   6854   xorg_cv_compiler_flag_unused_command_line_argument=no
   6855 fi
   6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6857 fi
   6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6859 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6860 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6861 	CFLAGS="$xorg_testset_save_CFLAGS"
   6862 fi
   6863 
   6864 found="no"
   6865 
   6866 	if test $found = "no" ; then
   6867 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 		fi
   6870 
   6871 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6873 		fi
   6874 
   6875 		CFLAGS="$CFLAGS -Werror=nonnull"
   6876 
   6877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6878 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6879 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   6880 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6881   $as_echo_n "(cached) " >&6
   6882 else
   6883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6884 /* end confdefs.h.  */
   6885 int i;
   6886 int
   6887 main ()
   6888 {
   6889 
   6890   ;
   6891   return 0;
   6892 }
   6893 _ACEOF
   6894 if ac_fn_c_try_link "$LINENO"; then :
   6895   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   6896 else
   6897   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext \
   6900     conftest$ac_exeext conftest.$ac_ext
   6901 fi
   6902 
   6903 
   6904 		CFLAGS="$xorg_testset_save_CFLAGS"
   6905 
   6906 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   6907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6908 $as_echo "$supported" >&6; }
   6909 		if test "$supported" = "yes" ; then
   6910 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6911 			found="yes"
   6912 		fi
   6913 	fi
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 xorg_testset_save_CFLAGS="$CFLAGS"
   6928 
   6929 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   6932 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   6933 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   6934   $as_echo_n "(cached) " >&6
   6935 else
   6936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937 /* end confdefs.h.  */
   6938 int i;
   6939 _ACEOF
   6940 if ac_fn_c_try_compile "$LINENO"; then :
   6941   xorg_cv_compiler_flag_unknown_warning_option=yes
   6942 else
   6943   xorg_cv_compiler_flag_unknown_warning_option=no
   6944 fi
   6945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6946 fi
   6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   6948 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   6949 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   6950 	CFLAGS="$xorg_testset_save_CFLAGS"
   6951 fi
   6952 
   6953 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6954 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6956 	fi
   6957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   6959 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   6960 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   6961   $as_echo_n "(cached) " >&6
   6962 else
   6963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6964 /* end confdefs.h.  */
   6965 int i;
   6966 _ACEOF
   6967 if ac_fn_c_try_compile "$LINENO"; then :
   6968   xorg_cv_compiler_flag_unused_command_line_argument=yes
   6969 else
   6970   xorg_cv_compiler_flag_unused_command_line_argument=no
   6971 fi
   6972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6973 fi
   6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   6975 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   6976 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   6977 	CFLAGS="$xorg_testset_save_CFLAGS"
   6978 fi
   6979 
   6980 found="no"
   6981 
   6982 	if test $found = "no" ; then
   6983 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6984 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6985 		fi
   6986 
   6987 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6988 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6989 		fi
   6990 
   6991 		CFLAGS="$CFLAGS -Werror=init-self"
   6992 
   6993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6994 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6995 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   6996 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   6997   $as_echo_n "(cached) " >&6
   6998 else
   6999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7000 /* end confdefs.h.  */
   7001 int i;
   7002 int
   7003 main ()
   7004 {
   7005 
   7006   ;
   7007   return 0;
   7008 }
   7009 _ACEOF
   7010 if ac_fn_c_try_link "$LINENO"; then :
   7011   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7012 else
   7013   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7014 fi
   7015 rm -f core conftest.err conftest.$ac_objext \
   7016     conftest$ac_exeext conftest.$ac_ext
   7017 fi
   7018 
   7019 
   7020 		CFLAGS="$xorg_testset_save_CFLAGS"
   7021 
   7022 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7024 $as_echo "$supported" >&6; }
   7025 		if test "$supported" = "yes" ; then
   7026 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7027 			found="yes"
   7028 		fi
   7029 	fi
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 xorg_testset_save_CFLAGS="$CFLAGS"
   7044 
   7045 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7048 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7049 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7050   $as_echo_n "(cached) " >&6
   7051 else
   7052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 _ACEOF
   7056 if ac_fn_c_try_compile "$LINENO"; then :
   7057   xorg_cv_compiler_flag_unknown_warning_option=yes
   7058 else
   7059   xorg_cv_compiler_flag_unknown_warning_option=no
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7062 fi
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7064 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7065 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7066 	CFLAGS="$xorg_testset_save_CFLAGS"
   7067 fi
   7068 
   7069 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7070 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7072 	fi
   7073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7075 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7076 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 _ACEOF
   7083 if ac_fn_c_try_compile "$LINENO"; then :
   7084   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7085 else
   7086   xorg_cv_compiler_flag_unused_command_line_argument=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7089 fi
   7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7091 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7092 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7093 	CFLAGS="$xorg_testset_save_CFLAGS"
   7094 fi
   7095 
   7096 found="no"
   7097 
   7098 	if test $found = "no" ; then
   7099 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7101 		fi
   7102 
   7103 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7105 		fi
   7106 
   7107 		CFLAGS="$CFLAGS -Werror=main"
   7108 
   7109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7110 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7111 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   7112 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7113   $as_echo_n "(cached) " >&6
   7114 else
   7115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7116 /* end confdefs.h.  */
   7117 int i;
   7118 int
   7119 main ()
   7120 {
   7121 
   7122   ;
   7123   return 0;
   7124 }
   7125 _ACEOF
   7126 if ac_fn_c_try_link "$LINENO"; then :
   7127   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7128 else
   7129   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7130 fi
   7131 rm -f core conftest.err conftest.$ac_objext \
   7132     conftest$ac_exeext conftest.$ac_ext
   7133 fi
   7134 
   7135 
   7136 		CFLAGS="$xorg_testset_save_CFLAGS"
   7137 
   7138 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7140 $as_echo "$supported" >&6; }
   7141 		if test "$supported" = "yes" ; then
   7142 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7143 			found="yes"
   7144 		fi
   7145 	fi
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 xorg_testset_save_CFLAGS="$CFLAGS"
   7160 
   7161 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7164 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7165 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7169 /* end confdefs.h.  */
   7170 int i;
   7171 _ACEOF
   7172 if ac_fn_c_try_compile "$LINENO"; then :
   7173   xorg_cv_compiler_flag_unknown_warning_option=yes
   7174 else
   7175   xorg_cv_compiler_flag_unknown_warning_option=no
   7176 fi
   7177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7178 fi
   7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7180 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7181 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7182 	CFLAGS="$xorg_testset_save_CFLAGS"
   7183 fi
   7184 
   7185 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7186 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7188 	fi
   7189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7191 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7192 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7193   $as_echo_n "(cached) " >&6
   7194 else
   7195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7196 /* end confdefs.h.  */
   7197 int i;
   7198 _ACEOF
   7199 if ac_fn_c_try_compile "$LINENO"; then :
   7200   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7201 else
   7202   xorg_cv_compiler_flag_unused_command_line_argument=no
   7203 fi
   7204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7205 fi
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7207 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7208 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7209 	CFLAGS="$xorg_testset_save_CFLAGS"
   7210 fi
   7211 
   7212 found="no"
   7213 
   7214 	if test $found = "no" ; then
   7215 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7217 		fi
   7218 
   7219 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7221 		fi
   7222 
   7223 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7224 
   7225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7226 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7227 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   7228 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7229   $as_echo_n "(cached) " >&6
   7230 else
   7231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7232 /* end confdefs.h.  */
   7233 int i;
   7234 int
   7235 main ()
   7236 {
   7237 
   7238   ;
   7239   return 0;
   7240 }
   7241 _ACEOF
   7242 if ac_fn_c_try_link "$LINENO"; then :
   7243   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7244 else
   7245   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7246 fi
   7247 rm -f core conftest.err conftest.$ac_objext \
   7248     conftest$ac_exeext conftest.$ac_ext
   7249 fi
   7250 
   7251 
   7252 		CFLAGS="$xorg_testset_save_CFLAGS"
   7253 
   7254 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7256 $as_echo "$supported" >&6; }
   7257 		if test "$supported" = "yes" ; then
   7258 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7259 			found="yes"
   7260 		fi
   7261 	fi
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 xorg_testset_save_CFLAGS="$CFLAGS"
   7276 
   7277 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7280 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7281 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7282   $as_echo_n "(cached) " >&6
   7283 else
   7284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"; then :
   7289   xorg_cv_compiler_flag_unknown_warning_option=yes
   7290 else
   7291   xorg_cv_compiler_flag_unknown_warning_option=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7294 fi
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7296 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7297 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7302 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7304 	fi
   7305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7307 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7308 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7309   $as_echo_n "(cached) " >&6
   7310 else
   7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7312 /* end confdefs.h.  */
   7313 int i;
   7314 _ACEOF
   7315 if ac_fn_c_try_compile "$LINENO"; then :
   7316   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7317 else
   7318   xorg_cv_compiler_flag_unused_command_line_argument=no
   7319 fi
   7320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7321 fi
   7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7323 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7324 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7325 	CFLAGS="$xorg_testset_save_CFLAGS"
   7326 fi
   7327 
   7328 found="no"
   7329 
   7330 	if test $found = "no" ; then
   7331 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 		fi
   7334 
   7335 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 		fi
   7338 
   7339 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7340 
   7341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7342 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7343 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   7344 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 int i;
   7350 int
   7351 main ()
   7352 {
   7353 
   7354   ;
   7355   return 0;
   7356 }
   7357 _ACEOF
   7358 if ac_fn_c_try_link "$LINENO"; then :
   7359   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7360 else
   7361   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext \
   7364     conftest$ac_exeext conftest.$ac_ext
   7365 fi
   7366 
   7367 
   7368 		CFLAGS="$xorg_testset_save_CFLAGS"
   7369 
   7370 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7372 $as_echo "$supported" >&6; }
   7373 		if test "$supported" = "yes" ; then
   7374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7375 			found="yes"
   7376 		fi
   7377 	fi
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 xorg_testset_save_CFLAGS="$CFLAGS"
   7392 
   7393 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7396 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7397 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7398   $as_echo_n "(cached) " >&6
   7399 else
   7400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 int i;
   7403 _ACEOF
   7404 if ac_fn_c_try_compile "$LINENO"; then :
   7405   xorg_cv_compiler_flag_unknown_warning_option=yes
   7406 else
   7407   xorg_cv_compiler_flag_unknown_warning_option=no
   7408 fi
   7409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7410 fi
   7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7412 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7413 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7414 	CFLAGS="$xorg_testset_save_CFLAGS"
   7415 fi
   7416 
   7417 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7418 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7420 	fi
   7421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7423 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7424 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7425   $as_echo_n "(cached) " >&6
   7426 else
   7427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7428 /* end confdefs.h.  */
   7429 int i;
   7430 _ACEOF
   7431 if ac_fn_c_try_compile "$LINENO"; then :
   7432   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7433 else
   7434   xorg_cv_compiler_flag_unused_command_line_argument=no
   7435 fi
   7436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7437 fi
   7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7439 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7440 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7441 	CFLAGS="$xorg_testset_save_CFLAGS"
   7442 fi
   7443 
   7444 found="no"
   7445 
   7446 	if test $found = "no" ; then
   7447 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7449 		fi
   7450 
   7451 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7453 		fi
   7454 
   7455 		CFLAGS="$CFLAGS -Werror=return-type"
   7456 
   7457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7458 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7459 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   7460 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7461   $as_echo_n "(cached) " >&6
   7462 else
   7463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7464 /* end confdefs.h.  */
   7465 int i;
   7466 int
   7467 main ()
   7468 {
   7469 
   7470   ;
   7471   return 0;
   7472 }
   7473 _ACEOF
   7474 if ac_fn_c_try_link "$LINENO"; then :
   7475   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7476 else
   7477   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7478 fi
   7479 rm -f core conftest.err conftest.$ac_objext \
   7480     conftest$ac_exeext conftest.$ac_ext
   7481 fi
   7482 
   7483 
   7484 		CFLAGS="$xorg_testset_save_CFLAGS"
   7485 
   7486 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7488 $as_echo "$supported" >&6; }
   7489 		if test "$supported" = "yes" ; then
   7490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7491 			found="yes"
   7492 		fi
   7493 	fi
   7494 
   7495 	if test $found = "no" ; then
   7496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7498 		fi
   7499 
   7500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7502 		fi
   7503 
   7504 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7505 
   7506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7507 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7508 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   7509 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7510   $as_echo_n "(cached) " >&6
   7511 else
   7512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7513 /* end confdefs.h.  */
   7514 int i;
   7515 int
   7516 main ()
   7517 {
   7518 
   7519   ;
   7520   return 0;
   7521 }
   7522 _ACEOF
   7523 if ac_fn_c_try_link "$LINENO"; then :
   7524   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7525 else
   7526   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7527 fi
   7528 rm -f core conftest.err conftest.$ac_objext \
   7529     conftest$ac_exeext conftest.$ac_ext
   7530 fi
   7531 
   7532 
   7533 		CFLAGS="$xorg_testset_save_CFLAGS"
   7534 
   7535 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7537 $as_echo "$supported" >&6; }
   7538 		if test "$supported" = "yes" ; then
   7539 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7540 			found="yes"
   7541 		fi
   7542 	fi
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 xorg_testset_save_CFLAGS="$CFLAGS"
   7557 
   7558 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7561 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7562 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7563   $as_echo_n "(cached) " >&6
   7564 else
   7565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7566 /* end confdefs.h.  */
   7567 int i;
   7568 _ACEOF
   7569 if ac_fn_c_try_compile "$LINENO"; then :
   7570   xorg_cv_compiler_flag_unknown_warning_option=yes
   7571 else
   7572   xorg_cv_compiler_flag_unknown_warning_option=no
   7573 fi
   7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7575 fi
   7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7577 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7578 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7579 	CFLAGS="$xorg_testset_save_CFLAGS"
   7580 fi
   7581 
   7582 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7583 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7585 	fi
   7586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7588 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7589 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7590   $as_echo_n "(cached) " >&6
   7591 else
   7592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7593 /* end confdefs.h.  */
   7594 int i;
   7595 _ACEOF
   7596 if ac_fn_c_try_compile "$LINENO"; then :
   7597   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7598 else
   7599   xorg_cv_compiler_flag_unused_command_line_argument=no
   7600 fi
   7601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7602 fi
   7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7604 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7605 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7606 	CFLAGS="$xorg_testset_save_CFLAGS"
   7607 fi
   7608 
   7609 found="no"
   7610 
   7611 	if test $found = "no" ; then
   7612 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7614 		fi
   7615 
   7616 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7618 		fi
   7619 
   7620 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7621 
   7622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7623 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7624 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   7625 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7626   $as_echo_n "(cached) " >&6
   7627 else
   7628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7629 /* end confdefs.h.  */
   7630 int i;
   7631 int
   7632 main ()
   7633 {
   7634 
   7635   ;
   7636   return 0;
   7637 }
   7638 _ACEOF
   7639 if ac_fn_c_try_link "$LINENO"; then :
   7640   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7641 else
   7642   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7643 fi
   7644 rm -f core conftest.err conftest.$ac_objext \
   7645     conftest$ac_exeext conftest.$ac_ext
   7646 fi
   7647 
   7648 
   7649 		CFLAGS="$xorg_testset_save_CFLAGS"
   7650 
   7651 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7653 $as_echo "$supported" >&6; }
   7654 		if test "$supported" = "yes" ; then
   7655 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7656 			found="yes"
   7657 		fi
   7658 	fi
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 xorg_testset_save_CFLAGS="$CFLAGS"
   7673 
   7674 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7677 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7678 if ${xorg_cv_compiler_flag_unknown_warning_option+:} 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 _ACEOF
   7685 if ac_fn_c_try_compile "$LINENO"; then :
   7686   xorg_cv_compiler_flag_unknown_warning_option=yes
   7687 else
   7688   xorg_cv_compiler_flag_unknown_warning_option=no
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7691 fi
   7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7693 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7694 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7695 	CFLAGS="$xorg_testset_save_CFLAGS"
   7696 fi
   7697 
   7698 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7699 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7701 	fi
   7702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7704 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7705 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7706   $as_echo_n "(cached) " >&6
   7707 else
   7708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7709 /* end confdefs.h.  */
   7710 int i;
   7711 _ACEOF
   7712 if ac_fn_c_try_compile "$LINENO"; then :
   7713   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7714 else
   7715   xorg_cv_compiler_flag_unused_command_line_argument=no
   7716 fi
   7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7718 fi
   7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7720 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7721 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7722 	CFLAGS="$xorg_testset_save_CFLAGS"
   7723 fi
   7724 
   7725 found="no"
   7726 
   7727 	if test $found = "no" ; then
   7728 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7730 		fi
   7731 
   7732 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7734 		fi
   7735 
   7736 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7737 
   7738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7739 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7740 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   7741 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7745 /* end confdefs.h.  */
   7746 int i;
   7747 int
   7748 main ()
   7749 {
   7750 
   7751   ;
   7752   return 0;
   7753 }
   7754 _ACEOF
   7755 if ac_fn_c_try_link "$LINENO"; then :
   7756   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7757 else
   7758   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7759 fi
   7760 rm -f core conftest.err conftest.$ac_objext \
   7761     conftest$ac_exeext conftest.$ac_ext
   7762 fi
   7763 
   7764 
   7765 		CFLAGS="$xorg_testset_save_CFLAGS"
   7766 
   7767 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7769 $as_echo "$supported" >&6; }
   7770 		if test "$supported" = "yes" ; then
   7771 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7772 			found="yes"
   7773 		fi
   7774 	fi
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 xorg_testset_save_CFLAGS="$CFLAGS"
   7789 
   7790 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7793 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7794 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7795   $as_echo_n "(cached) " >&6
   7796 else
   7797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7798 /* end confdefs.h.  */
   7799 int i;
   7800 _ACEOF
   7801 if ac_fn_c_try_compile "$LINENO"; then :
   7802   xorg_cv_compiler_flag_unknown_warning_option=yes
   7803 else
   7804   xorg_cv_compiler_flag_unknown_warning_option=no
   7805 fi
   7806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7807 fi
   7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7809 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7810 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7811 	CFLAGS="$xorg_testset_save_CFLAGS"
   7812 fi
   7813 
   7814 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7815 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7817 	fi
   7818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7820 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7821 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 _ACEOF
   7828 if ac_fn_c_try_compile "$LINENO"; then :
   7829   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7830 else
   7831   xorg_cv_compiler_flag_unused_command_line_argument=no
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7834 fi
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7836 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7837 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7838 	CFLAGS="$xorg_testset_save_CFLAGS"
   7839 fi
   7840 
   7841 found="no"
   7842 
   7843 	if test $found = "no" ; then
   7844 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7846 		fi
   7847 
   7848 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7850 		fi
   7851 
   7852 		CFLAGS="$CFLAGS -Werror=write-strings"
   7853 
   7854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7855 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7856 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   7857 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7858   $as_echo_n "(cached) " >&6
   7859 else
   7860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7861 /* end confdefs.h.  */
   7862 int i;
   7863 int
   7864 main ()
   7865 {
   7866 
   7867   ;
   7868   return 0;
   7869 }
   7870 _ACEOF
   7871 if ac_fn_c_try_link "$LINENO"; then :
   7872   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7873 else
   7874   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7875 fi
   7876 rm -f core conftest.err conftest.$ac_objext \
   7877     conftest$ac_exeext conftest.$ac_ext
   7878 fi
   7879 
   7880 
   7881 		CFLAGS="$xorg_testset_save_CFLAGS"
   7882 
   7883 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   7884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7885 $as_echo "$supported" >&6; }
   7886 		if test "$supported" = "yes" ; then
   7887 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7888 			found="yes"
   7889 		fi
   7890 	fi
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 xorg_testset_save_CFLAGS="$CFLAGS"
   7905 
   7906 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   7909 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   7910 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7914 /* end confdefs.h.  */
   7915 int i;
   7916 _ACEOF
   7917 if ac_fn_c_try_compile "$LINENO"; then :
   7918   xorg_cv_compiler_flag_unknown_warning_option=yes
   7919 else
   7920   xorg_cv_compiler_flag_unknown_warning_option=no
   7921 fi
   7922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7923 fi
   7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   7925 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   7926 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   7927 	CFLAGS="$xorg_testset_save_CFLAGS"
   7928 fi
   7929 
   7930 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7931 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7933 	fi
   7934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   7936 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   7937 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   7938   $as_echo_n "(cached) " >&6
   7939 else
   7940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7941 /* end confdefs.h.  */
   7942 int i;
   7943 _ACEOF
   7944 if ac_fn_c_try_compile "$LINENO"; then :
   7945   xorg_cv_compiler_flag_unused_command_line_argument=yes
   7946 else
   7947   xorg_cv_compiler_flag_unused_command_line_argument=no
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7950 fi
   7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   7952 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   7953 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   7954 	CFLAGS="$xorg_testset_save_CFLAGS"
   7955 fi
   7956 
   7957 found="no"
   7958 
   7959 	if test $found = "no" ; then
   7960 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7962 		fi
   7963 
   7964 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 		fi
   7967 
   7968 		CFLAGS="$CFLAGS -Werror=address"
   7969 
   7970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7971 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7972 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   7973 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 int
   7980 main ()
   7981 {
   7982 
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 if ac_fn_c_try_link "$LINENO"; then :
   7988   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   7989 else
   7990   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext \
   7993     conftest$ac_exeext conftest.$ac_ext
   7994 fi
   7995 
   7996 
   7997 		CFLAGS="$xorg_testset_save_CFLAGS"
   7998 
   7999 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8001 $as_echo "$supported" >&6; }
   8002 		if test "$supported" = "yes" ; then
   8003 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8004 			found="yes"
   8005 		fi
   8006 	fi
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 xorg_testset_save_CFLAGS="$CFLAGS"
   8021 
   8022 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8025 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8026 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8027   $as_echo_n "(cached) " >&6
   8028 else
   8029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8030 /* end confdefs.h.  */
   8031 int i;
   8032 _ACEOF
   8033 if ac_fn_c_try_compile "$LINENO"; then :
   8034   xorg_cv_compiler_flag_unknown_warning_option=yes
   8035 else
   8036   xorg_cv_compiler_flag_unknown_warning_option=no
   8037 fi
   8038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8039 fi
   8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8041 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8042 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8043 	CFLAGS="$xorg_testset_save_CFLAGS"
   8044 fi
   8045 
   8046 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8047 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8048 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8049 	fi
   8050 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8052 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8053 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8054   $as_echo_n "(cached) " >&6
   8055 else
   8056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8057 /* end confdefs.h.  */
   8058 int i;
   8059 _ACEOF
   8060 if ac_fn_c_try_compile "$LINENO"; then :
   8061   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8062 else
   8063   xorg_cv_compiler_flag_unused_command_line_argument=no
   8064 fi
   8065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8066 fi
   8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8068 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8069 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8070 	CFLAGS="$xorg_testset_save_CFLAGS"
   8071 fi
   8072 
   8073 found="no"
   8074 
   8075 	if test $found = "no" ; then
   8076 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8077 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8078 		fi
   8079 
   8080 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8081 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8082 		fi
   8083 
   8084 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8085 
   8086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8087 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8088 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   8089 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8090   $as_echo_n "(cached) " >&6
   8091 else
   8092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8093 /* end confdefs.h.  */
   8094 int i;
   8095 int
   8096 main ()
   8097 {
   8098 
   8099   ;
   8100   return 0;
   8101 }
   8102 _ACEOF
   8103 if ac_fn_c_try_link "$LINENO"; then :
   8104   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8105 else
   8106   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8107 fi
   8108 rm -f core conftest.err conftest.$ac_objext \
   8109     conftest$ac_exeext conftest.$ac_ext
   8110 fi
   8111 
   8112 
   8113 		CFLAGS="$xorg_testset_save_CFLAGS"
   8114 
   8115 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8117 $as_echo "$supported" >&6; }
   8118 		if test "$supported" = "yes" ; then
   8119 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8120 			found="yes"
   8121 		fi
   8122 	fi
   8123 
   8124 	if test $found = "no" ; then
   8125 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8127 		fi
   8128 
   8129 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8131 		fi
   8132 
   8133 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8134 
   8135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8136 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8137 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   8138 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8139   $as_echo_n "(cached) " >&6
   8140 else
   8141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8142 /* end confdefs.h.  */
   8143 int i;
   8144 int
   8145 main ()
   8146 {
   8147 
   8148   ;
   8149   return 0;
   8150 }
   8151 _ACEOF
   8152 if ac_fn_c_try_link "$LINENO"; then :
   8153   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8154 else
   8155   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8156 fi
   8157 rm -f core conftest.err conftest.$ac_objext \
   8158     conftest$ac_exeext conftest.$ac_ext
   8159 fi
   8160 
   8161 
   8162 		CFLAGS="$xorg_testset_save_CFLAGS"
   8163 
   8164 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8166 $as_echo "$supported" >&6; }
   8167 		if test "$supported" = "yes" ; then
   8168 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8169 			found="yes"
   8170 		fi
   8171 	fi
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 xorg_testset_save_CFLAGS="$CFLAGS"
   8186 
   8187 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8190 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8191 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8192   $as_echo_n "(cached) " >&6
   8193 else
   8194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8195 /* end confdefs.h.  */
   8196 int i;
   8197 _ACEOF
   8198 if ac_fn_c_try_compile "$LINENO"; then :
   8199   xorg_cv_compiler_flag_unknown_warning_option=yes
   8200 else
   8201   xorg_cv_compiler_flag_unknown_warning_option=no
   8202 fi
   8203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8204 fi
   8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8206 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8207 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8208 	CFLAGS="$xorg_testset_save_CFLAGS"
   8209 fi
   8210 
   8211 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8212 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8214 	fi
   8215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8217 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8218 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8219   $as_echo_n "(cached) " >&6
   8220 else
   8221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8222 /* end confdefs.h.  */
   8223 int i;
   8224 _ACEOF
   8225 if ac_fn_c_try_compile "$LINENO"; then :
   8226   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8227 else
   8228   xorg_cv_compiler_flag_unused_command_line_argument=no
   8229 fi
   8230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8231 fi
   8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8233 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8234 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8235 	CFLAGS="$xorg_testset_save_CFLAGS"
   8236 fi
   8237 
   8238 found="no"
   8239 
   8240 	if test $found = "no" ; then
   8241 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8243 		fi
   8244 
   8245 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8247 		fi
   8248 
   8249 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8250 
   8251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8252 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8253 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   8254 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   8261 main ()
   8262 {
   8263 
   8264   ;
   8265   return 0;
   8266 }
   8267 _ACEOF
   8268 if ac_fn_c_try_link "$LINENO"; then :
   8269   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8270 else
   8271   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8272 fi
   8273 rm -f core conftest.err conftest.$ac_objext \
   8274     conftest$ac_exeext conftest.$ac_ext
   8275 fi
   8276 
   8277 
   8278 		CFLAGS="$xorg_testset_save_CFLAGS"
   8279 
   8280 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8282 $as_echo "$supported" >&6; }
   8283 		if test "$supported" = "yes" ; then
   8284 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8285 			found="yes"
   8286 		fi
   8287 	fi
   8288 
   8289  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8290 else
   8291 { $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
   8292 $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;}
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 xorg_testset_save_CFLAGS="$CFLAGS"
   8305 
   8306 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8309 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8310 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8311   $as_echo_n "(cached) " >&6
   8312 else
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 _ACEOF
   8317 if ac_fn_c_try_compile "$LINENO"; then :
   8318   xorg_cv_compiler_flag_unknown_warning_option=yes
   8319 else
   8320   xorg_cv_compiler_flag_unknown_warning_option=no
   8321 fi
   8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8323 fi
   8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8325 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8326 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8327 	CFLAGS="$xorg_testset_save_CFLAGS"
   8328 fi
   8329 
   8330 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8331 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8333 	fi
   8334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8336 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8337 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8338   $as_echo_n "(cached) " >&6
   8339 else
   8340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8341 /* end confdefs.h.  */
   8342 int i;
   8343 _ACEOF
   8344 if ac_fn_c_try_compile "$LINENO"; then :
   8345   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8346 else
   8347   xorg_cv_compiler_flag_unused_command_line_argument=no
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8350 fi
   8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8352 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8353 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8354 	CFLAGS="$xorg_testset_save_CFLAGS"
   8355 fi
   8356 
   8357 found="no"
   8358 
   8359 	if test $found = "no" ; then
   8360 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8362 		fi
   8363 
   8364 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 		fi
   8367 
   8368 		CFLAGS="$CFLAGS -Wimplicit"
   8369 
   8370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8371 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8372 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   8373 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8374   $as_echo_n "(cached) " >&6
   8375 else
   8376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8377 /* end confdefs.h.  */
   8378 int i;
   8379 int
   8380 main ()
   8381 {
   8382 
   8383   ;
   8384   return 0;
   8385 }
   8386 _ACEOF
   8387 if ac_fn_c_try_link "$LINENO"; then :
   8388   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8389 else
   8390   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8391 fi
   8392 rm -f core conftest.err conftest.$ac_objext \
   8393     conftest$ac_exeext conftest.$ac_ext
   8394 fi
   8395 
   8396 
   8397 		CFLAGS="$xorg_testset_save_CFLAGS"
   8398 
   8399 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8401 $as_echo "$supported" >&6; }
   8402 		if test "$supported" = "yes" ; then
   8403 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8404 			found="yes"
   8405 		fi
   8406 	fi
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 xorg_testset_save_CFLAGS="$CFLAGS"
   8421 
   8422 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8425 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8426 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8427   $as_echo_n "(cached) " >&6
   8428 else
   8429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8430 /* end confdefs.h.  */
   8431 int i;
   8432 _ACEOF
   8433 if ac_fn_c_try_compile "$LINENO"; then :
   8434   xorg_cv_compiler_flag_unknown_warning_option=yes
   8435 else
   8436   xorg_cv_compiler_flag_unknown_warning_option=no
   8437 fi
   8438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8439 fi
   8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8441 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8442 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8443 	CFLAGS="$xorg_testset_save_CFLAGS"
   8444 fi
   8445 
   8446 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8447 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 	fi
   8450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8452 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8453 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8454   $as_echo_n "(cached) " >&6
   8455 else
   8456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8457 /* end confdefs.h.  */
   8458 int i;
   8459 _ACEOF
   8460 if ac_fn_c_try_compile "$LINENO"; then :
   8461   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8462 else
   8463   xorg_cv_compiler_flag_unused_command_line_argument=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8466 fi
   8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8468 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8469 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8470 	CFLAGS="$xorg_testset_save_CFLAGS"
   8471 fi
   8472 
   8473 found="no"
   8474 
   8475 	if test $found = "no" ; then
   8476 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8478 		fi
   8479 
   8480 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 		fi
   8483 
   8484 		CFLAGS="$CFLAGS -Wnonnull"
   8485 
   8486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8487 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8488 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   8489 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8490   $as_echo_n "(cached) " >&6
   8491 else
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 int
   8496 main ()
   8497 {
   8498 
   8499   ;
   8500   return 0;
   8501 }
   8502 _ACEOF
   8503 if ac_fn_c_try_link "$LINENO"; then :
   8504   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8505 else
   8506   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8507 fi
   8508 rm -f core conftest.err conftest.$ac_objext \
   8509     conftest$ac_exeext conftest.$ac_ext
   8510 fi
   8511 
   8512 
   8513 		CFLAGS="$xorg_testset_save_CFLAGS"
   8514 
   8515 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8517 $as_echo "$supported" >&6; }
   8518 		if test "$supported" = "yes" ; then
   8519 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8520 			found="yes"
   8521 		fi
   8522 	fi
   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_unknown_warning_option" = "x" ; then
   8539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8541 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8542 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   8551 else
   8552   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   8557 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8558 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8559 	CFLAGS="$xorg_testset_save_CFLAGS"
   8560 fi
   8561 
   8562 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8563 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   8568 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8569 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   8578 else
   8579   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   8584 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8585 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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 -Winit-self"
   8601 
   8602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8603 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8604 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   8605 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   8621 else
   8622   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Winit-self"
   8636 			found="yes"
   8637 		fi
   8638 	fi
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 xorg_testset_save_CFLAGS="$CFLAGS"
   8653 
   8654 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8657 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8658 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8659   $as_echo_n "(cached) " >&6
   8660 else
   8661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8662 /* end confdefs.h.  */
   8663 int i;
   8664 _ACEOF
   8665 if ac_fn_c_try_compile "$LINENO"; then :
   8666   xorg_cv_compiler_flag_unknown_warning_option=yes
   8667 else
   8668   xorg_cv_compiler_flag_unknown_warning_option=no
   8669 fi
   8670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8671 fi
   8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8673 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8674 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8675 	CFLAGS="$xorg_testset_save_CFLAGS"
   8676 fi
   8677 
   8678 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8679 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8681 	fi
   8682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8684 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8685 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8686   $as_echo_n "(cached) " >&6
   8687 else
   8688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 _ACEOF
   8692 if ac_fn_c_try_compile "$LINENO"; then :
   8693   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8694 else
   8695   xorg_cv_compiler_flag_unused_command_line_argument=no
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8698 fi
   8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8700 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8701 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8702 	CFLAGS="$xorg_testset_save_CFLAGS"
   8703 fi
   8704 
   8705 found="no"
   8706 
   8707 	if test $found = "no" ; then
   8708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8710 		fi
   8711 
   8712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8714 		fi
   8715 
   8716 		CFLAGS="$CFLAGS -Wmain"
   8717 
   8718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8719 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8720 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   8721 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 int
   8728 main ()
   8729 {
   8730 
   8731   ;
   8732   return 0;
   8733 }
   8734 _ACEOF
   8735 if ac_fn_c_try_link "$LINENO"; then :
   8736   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8737 else
   8738   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext \
   8741     conftest$ac_exeext conftest.$ac_ext
   8742 fi
   8743 
   8744 
   8745 		CFLAGS="$xorg_testset_save_CFLAGS"
   8746 
   8747 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8749 $as_echo "$supported" >&6; }
   8750 		if test "$supported" = "yes" ; then
   8751 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8752 			found="yes"
   8753 		fi
   8754 	fi
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 xorg_testset_save_CFLAGS="$CFLAGS"
   8769 
   8770 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8773 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8774 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8778 /* end confdefs.h.  */
   8779 int i;
   8780 _ACEOF
   8781 if ac_fn_c_try_compile "$LINENO"; then :
   8782   xorg_cv_compiler_flag_unknown_warning_option=yes
   8783 else
   8784   xorg_cv_compiler_flag_unknown_warning_option=no
   8785 fi
   8786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8787 fi
   8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8789 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8790 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8791 	CFLAGS="$xorg_testset_save_CFLAGS"
   8792 fi
   8793 
   8794 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8795 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	fi
   8798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8800 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8801 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8802   $as_echo_n "(cached) " >&6
   8803 else
   8804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8805 /* end confdefs.h.  */
   8806 int i;
   8807 _ACEOF
   8808 if ac_fn_c_try_compile "$LINENO"; then :
   8809   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8810 else
   8811   xorg_cv_compiler_flag_unused_command_line_argument=no
   8812 fi
   8813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8814 fi
   8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8816 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8817 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8818 	CFLAGS="$xorg_testset_save_CFLAGS"
   8819 fi
   8820 
   8821 found="no"
   8822 
   8823 	if test $found = "no" ; then
   8824 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 		fi
   8827 
   8828 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8830 		fi
   8831 
   8832 		CFLAGS="$CFLAGS -Wmissing-braces"
   8833 
   8834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8835 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8836 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   8837 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8838   $as_echo_n "(cached) " >&6
   8839 else
   8840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8841 /* end confdefs.h.  */
   8842 int i;
   8843 int
   8844 main ()
   8845 {
   8846 
   8847   ;
   8848   return 0;
   8849 }
   8850 _ACEOF
   8851 if ac_fn_c_try_link "$LINENO"; then :
   8852   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8853 else
   8854   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8855 fi
   8856 rm -f core conftest.err conftest.$ac_objext \
   8857     conftest$ac_exeext conftest.$ac_ext
   8858 fi
   8859 
   8860 
   8861 		CFLAGS="$xorg_testset_save_CFLAGS"
   8862 
   8863 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8865 $as_echo "$supported" >&6; }
   8866 		if test "$supported" = "yes" ; then
   8867 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8868 			found="yes"
   8869 		fi
   8870 	fi
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 xorg_testset_save_CFLAGS="$CFLAGS"
   8885 
   8886 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   8889 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   8890 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   8891   $as_echo_n "(cached) " >&6
   8892 else
   8893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8894 /* end confdefs.h.  */
   8895 int i;
   8896 _ACEOF
   8897 if ac_fn_c_try_compile "$LINENO"; then :
   8898   xorg_cv_compiler_flag_unknown_warning_option=yes
   8899 else
   8900   xorg_cv_compiler_flag_unknown_warning_option=no
   8901 fi
   8902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8903 fi
   8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   8905 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   8906 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   8907 	CFLAGS="$xorg_testset_save_CFLAGS"
   8908 fi
   8909 
   8910 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8911 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8913 	fi
   8914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   8916 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   8917 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8921 /* end confdefs.h.  */
   8922 int i;
   8923 _ACEOF
   8924 if ac_fn_c_try_compile "$LINENO"; then :
   8925   xorg_cv_compiler_flag_unused_command_line_argument=yes
   8926 else
   8927   xorg_cv_compiler_flag_unused_command_line_argument=no
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8930 fi
   8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   8932 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   8933 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   8934 	CFLAGS="$xorg_testset_save_CFLAGS"
   8935 fi
   8936 
   8937 found="no"
   8938 
   8939 	if test $found = "no" ; then
   8940 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8942 		fi
   8943 
   8944 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 		fi
   8947 
   8948 		CFLAGS="$CFLAGS -Wsequence-point"
   8949 
   8950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8951 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8952 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   8953 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 int i;
   8959 int
   8960 main ()
   8961 {
   8962 
   8963   ;
   8964   return 0;
   8965 }
   8966 _ACEOF
   8967 if ac_fn_c_try_link "$LINENO"; then :
   8968   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   8969 else
   8970   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext \
   8973     conftest$ac_exeext conftest.$ac_ext
   8974 fi
   8975 
   8976 
   8977 		CFLAGS="$xorg_testset_save_CFLAGS"
   8978 
   8979 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   8980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8981 $as_echo "$supported" >&6; }
   8982 		if test "$supported" = "yes" ; then
   8983 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8984 			found="yes"
   8985 		fi
   8986 	fi
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 xorg_testset_save_CFLAGS="$CFLAGS"
   9001 
   9002 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9003 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9005 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9006 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9007   $as_echo_n "(cached) " >&6
   9008 else
   9009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 int i;
   9012 _ACEOF
   9013 if ac_fn_c_try_compile "$LINENO"; then :
   9014   xorg_cv_compiler_flag_unknown_warning_option=yes
   9015 else
   9016   xorg_cv_compiler_flag_unknown_warning_option=no
   9017 fi
   9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9019 fi
   9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9021 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9022 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9023 	CFLAGS="$xorg_testset_save_CFLAGS"
   9024 fi
   9025 
   9026 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9027 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9028 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9029 	fi
   9030 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9032 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9033 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9034   $as_echo_n "(cached) " >&6
   9035 else
   9036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9037 /* end confdefs.h.  */
   9038 int i;
   9039 _ACEOF
   9040 if ac_fn_c_try_compile "$LINENO"; then :
   9041   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9042 else
   9043   xorg_cv_compiler_flag_unused_command_line_argument=no
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9046 fi
   9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9048 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9049 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9050 	CFLAGS="$xorg_testset_save_CFLAGS"
   9051 fi
   9052 
   9053 found="no"
   9054 
   9055 	if test $found = "no" ; then
   9056 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9057 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9058 		fi
   9059 
   9060 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9061 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9062 		fi
   9063 
   9064 		CFLAGS="$CFLAGS -Wreturn-type"
   9065 
   9066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9067 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9068 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   9069 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9070   $as_echo_n "(cached) " >&6
   9071 else
   9072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9073 /* end confdefs.h.  */
   9074 int i;
   9075 int
   9076 main ()
   9077 {
   9078 
   9079   ;
   9080   return 0;
   9081 }
   9082 _ACEOF
   9083 if ac_fn_c_try_link "$LINENO"; then :
   9084   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9085 else
   9086   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9087 fi
   9088 rm -f core conftest.err conftest.$ac_objext \
   9089     conftest$ac_exeext conftest.$ac_ext
   9090 fi
   9091 
   9092 
   9093 		CFLAGS="$xorg_testset_save_CFLAGS"
   9094 
   9095 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9097 $as_echo "$supported" >&6; }
   9098 		if test "$supported" = "yes" ; then
   9099 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9100 			found="yes"
   9101 		fi
   9102 	fi
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 xorg_testset_save_CFLAGS="$CFLAGS"
   9117 
   9118 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9121 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9122 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9123   $as_echo_n "(cached) " >&6
   9124 else
   9125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9126 /* end confdefs.h.  */
   9127 int i;
   9128 _ACEOF
   9129 if ac_fn_c_try_compile "$LINENO"; then :
   9130   xorg_cv_compiler_flag_unknown_warning_option=yes
   9131 else
   9132   xorg_cv_compiler_flag_unknown_warning_option=no
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9135 fi
   9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9137 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9138 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9139 	CFLAGS="$xorg_testset_save_CFLAGS"
   9140 fi
   9141 
   9142 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9143 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9145 	fi
   9146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9148 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9149 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9150   $as_echo_n "(cached) " >&6
   9151 else
   9152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9153 /* end confdefs.h.  */
   9154 int i;
   9155 _ACEOF
   9156 if ac_fn_c_try_compile "$LINENO"; then :
   9157   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9158 else
   9159   xorg_cv_compiler_flag_unused_command_line_argument=no
   9160 fi
   9161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9162 fi
   9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9164 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9165 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9166 	CFLAGS="$xorg_testset_save_CFLAGS"
   9167 fi
   9168 
   9169 found="no"
   9170 
   9171 	if test $found = "no" ; then
   9172 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9174 		fi
   9175 
   9176 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9178 		fi
   9179 
   9180 		CFLAGS="$CFLAGS -Wtrigraphs"
   9181 
   9182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9183 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9184 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   9185 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9186   $as_echo_n "(cached) " >&6
   9187 else
   9188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9189 /* end confdefs.h.  */
   9190 int i;
   9191 int
   9192 main ()
   9193 {
   9194 
   9195   ;
   9196   return 0;
   9197 }
   9198 _ACEOF
   9199 if ac_fn_c_try_link "$LINENO"; then :
   9200   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9201 else
   9202   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9203 fi
   9204 rm -f core conftest.err conftest.$ac_objext \
   9205     conftest$ac_exeext conftest.$ac_ext
   9206 fi
   9207 
   9208 
   9209 		CFLAGS="$xorg_testset_save_CFLAGS"
   9210 
   9211 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9213 $as_echo "$supported" >&6; }
   9214 		if test "$supported" = "yes" ; then
   9215 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9216 			found="yes"
   9217 		fi
   9218 	fi
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 xorg_testset_save_CFLAGS="$CFLAGS"
   9233 
   9234 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9237 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9238 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9239   $as_echo_n "(cached) " >&6
   9240 else
   9241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9242 /* end confdefs.h.  */
   9243 int i;
   9244 _ACEOF
   9245 if ac_fn_c_try_compile "$LINENO"; then :
   9246   xorg_cv_compiler_flag_unknown_warning_option=yes
   9247 else
   9248   xorg_cv_compiler_flag_unknown_warning_option=no
   9249 fi
   9250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9251 fi
   9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9253 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9254 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9255 	CFLAGS="$xorg_testset_save_CFLAGS"
   9256 fi
   9257 
   9258 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9259 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9261 	fi
   9262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9264 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9265 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9266   $as_echo_n "(cached) " >&6
   9267 else
   9268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9269 /* end confdefs.h.  */
   9270 int i;
   9271 _ACEOF
   9272 if ac_fn_c_try_compile "$LINENO"; then :
   9273   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9274 else
   9275   xorg_cv_compiler_flag_unused_command_line_argument=no
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9278 fi
   9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9280 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9281 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9282 	CFLAGS="$xorg_testset_save_CFLAGS"
   9283 fi
   9284 
   9285 found="no"
   9286 
   9287 	if test $found = "no" ; then
   9288 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9290 		fi
   9291 
   9292 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9294 		fi
   9295 
   9296 		CFLAGS="$CFLAGS -Warray-bounds"
   9297 
   9298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9299 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9300 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   9301 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9302   $as_echo_n "(cached) " >&6
   9303 else
   9304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 int
   9308 main ()
   9309 {
   9310 
   9311   ;
   9312   return 0;
   9313 }
   9314 _ACEOF
   9315 if ac_fn_c_try_link "$LINENO"; then :
   9316   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9317 else
   9318   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9319 fi
   9320 rm -f core conftest.err conftest.$ac_objext \
   9321     conftest$ac_exeext conftest.$ac_ext
   9322 fi
   9323 
   9324 
   9325 		CFLAGS="$xorg_testset_save_CFLAGS"
   9326 
   9327 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9329 $as_echo "$supported" >&6; }
   9330 		if test "$supported" = "yes" ; then
   9331 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9332 			found="yes"
   9333 		fi
   9334 	fi
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 xorg_testset_save_CFLAGS="$CFLAGS"
   9349 
   9350 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9353 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9354 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9355   $as_echo_n "(cached) " >&6
   9356 else
   9357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9358 /* end confdefs.h.  */
   9359 int i;
   9360 _ACEOF
   9361 if ac_fn_c_try_compile "$LINENO"; then :
   9362   xorg_cv_compiler_flag_unknown_warning_option=yes
   9363 else
   9364   xorg_cv_compiler_flag_unknown_warning_option=no
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9367 fi
   9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9369 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9370 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9371 	CFLAGS="$xorg_testset_save_CFLAGS"
   9372 fi
   9373 
   9374 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9375 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9377 	fi
   9378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9380 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9381 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9382   $as_echo_n "(cached) " >&6
   9383 else
   9384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9385 /* end confdefs.h.  */
   9386 int i;
   9387 _ACEOF
   9388 if ac_fn_c_try_compile "$LINENO"; then :
   9389   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9390 else
   9391   xorg_cv_compiler_flag_unused_command_line_argument=no
   9392 fi
   9393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9394 fi
   9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9396 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9397 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9398 	CFLAGS="$xorg_testset_save_CFLAGS"
   9399 fi
   9400 
   9401 found="no"
   9402 
   9403 	if test $found = "no" ; then
   9404 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9406 		fi
   9407 
   9408 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9410 		fi
   9411 
   9412 		CFLAGS="$CFLAGS -Wwrite-strings"
   9413 
   9414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9415 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9416 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   9417 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9418   $as_echo_n "(cached) " >&6
   9419 else
   9420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9421 /* end confdefs.h.  */
   9422 int i;
   9423 int
   9424 main ()
   9425 {
   9426 
   9427   ;
   9428   return 0;
   9429 }
   9430 _ACEOF
   9431 if ac_fn_c_try_link "$LINENO"; then :
   9432   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9433 else
   9434   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9435 fi
   9436 rm -f core conftest.err conftest.$ac_objext \
   9437     conftest$ac_exeext conftest.$ac_ext
   9438 fi
   9439 
   9440 
   9441 		CFLAGS="$xorg_testset_save_CFLAGS"
   9442 
   9443 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9445 $as_echo "$supported" >&6; }
   9446 		if test "$supported" = "yes" ; then
   9447 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9448 			found="yes"
   9449 		fi
   9450 	fi
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 xorg_testset_save_CFLAGS="$CFLAGS"
   9465 
   9466 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9469 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9470 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9471   $as_echo_n "(cached) " >&6
   9472 else
   9473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9474 /* end confdefs.h.  */
   9475 int i;
   9476 _ACEOF
   9477 if ac_fn_c_try_compile "$LINENO"; then :
   9478   xorg_cv_compiler_flag_unknown_warning_option=yes
   9479 else
   9480   xorg_cv_compiler_flag_unknown_warning_option=no
   9481 fi
   9482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9483 fi
   9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9485 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9486 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9487 	CFLAGS="$xorg_testset_save_CFLAGS"
   9488 fi
   9489 
   9490 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9491 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9493 	fi
   9494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9496 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9497 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9498   $as_echo_n "(cached) " >&6
   9499 else
   9500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9501 /* end confdefs.h.  */
   9502 int i;
   9503 _ACEOF
   9504 if ac_fn_c_try_compile "$LINENO"; then :
   9505   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9506 else
   9507   xorg_cv_compiler_flag_unused_command_line_argument=no
   9508 fi
   9509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9510 fi
   9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9512 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9513 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9514 	CFLAGS="$xorg_testset_save_CFLAGS"
   9515 fi
   9516 
   9517 found="no"
   9518 
   9519 	if test $found = "no" ; then
   9520 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9521 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9522 		fi
   9523 
   9524 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9525 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9526 		fi
   9527 
   9528 		CFLAGS="$CFLAGS -Waddress"
   9529 
   9530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9531 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9532 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   9533 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9534   $as_echo_n "(cached) " >&6
   9535 else
   9536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9537 /* end confdefs.h.  */
   9538 int i;
   9539 int
   9540 main ()
   9541 {
   9542 
   9543   ;
   9544   return 0;
   9545 }
   9546 _ACEOF
   9547 if ac_fn_c_try_link "$LINENO"; then :
   9548   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9549 else
   9550   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9551 fi
   9552 rm -f core conftest.err conftest.$ac_objext \
   9553     conftest$ac_exeext conftest.$ac_ext
   9554 fi
   9555 
   9556 
   9557 		CFLAGS="$xorg_testset_save_CFLAGS"
   9558 
   9559 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9561 $as_echo "$supported" >&6; }
   9562 		if test "$supported" = "yes" ; then
   9563 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9564 			found="yes"
   9565 		fi
   9566 	fi
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 xorg_testset_save_CFLAGS="$CFLAGS"
   9581 
   9582 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9585 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9586 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9587   $as_echo_n "(cached) " >&6
   9588 else
   9589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9590 /* end confdefs.h.  */
   9591 int i;
   9592 _ACEOF
   9593 if ac_fn_c_try_compile "$LINENO"; then :
   9594   xorg_cv_compiler_flag_unknown_warning_option=yes
   9595 else
   9596   xorg_cv_compiler_flag_unknown_warning_option=no
   9597 fi
   9598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9599 fi
   9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9601 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9602 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9603 	CFLAGS="$xorg_testset_save_CFLAGS"
   9604 fi
   9605 
   9606 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9607 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9609 	fi
   9610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9612 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9613 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9614   $as_echo_n "(cached) " >&6
   9615 else
   9616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9617 /* end confdefs.h.  */
   9618 int i;
   9619 _ACEOF
   9620 if ac_fn_c_try_compile "$LINENO"; then :
   9621   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9622 else
   9623   xorg_cv_compiler_flag_unused_command_line_argument=no
   9624 fi
   9625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9626 fi
   9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9628 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9629 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9630 	CFLAGS="$xorg_testset_save_CFLAGS"
   9631 fi
   9632 
   9633 found="no"
   9634 
   9635 	if test $found = "no" ; then
   9636 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9638 		fi
   9639 
   9640 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9642 		fi
   9643 
   9644 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9645 
   9646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9647 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9648 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   9649 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9650   $as_echo_n "(cached) " >&6
   9651 else
   9652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9653 /* end confdefs.h.  */
   9654 int i;
   9655 int
   9656 main ()
   9657 {
   9658 
   9659   ;
   9660   return 0;
   9661 }
   9662 _ACEOF
   9663 if ac_fn_c_try_link "$LINENO"; then :
   9664   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9665 else
   9666   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext \
   9669     conftest$ac_exeext conftest.$ac_ext
   9670 fi
   9671 
   9672 
   9673 		CFLAGS="$xorg_testset_save_CFLAGS"
   9674 
   9675 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9677 $as_echo "$supported" >&6; }
   9678 		if test "$supported" = "yes" ; then
   9679 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9680 			found="yes"
   9681 		fi
   9682 	fi
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 xorg_testset_save_CFLAGS="$CFLAGS"
   9697 
   9698 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9701 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9702 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9703   $as_echo_n "(cached) " >&6
   9704 else
   9705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9706 /* end confdefs.h.  */
   9707 int i;
   9708 _ACEOF
   9709 if ac_fn_c_try_compile "$LINENO"; then :
   9710   xorg_cv_compiler_flag_unknown_warning_option=yes
   9711 else
   9712   xorg_cv_compiler_flag_unknown_warning_option=no
   9713 fi
   9714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9715 fi
   9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9717 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9718 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9719 	CFLAGS="$xorg_testset_save_CFLAGS"
   9720 fi
   9721 
   9722 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9723 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9725 	fi
   9726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9728 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9729 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9730   $as_echo_n "(cached) " >&6
   9731 else
   9732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9733 /* end confdefs.h.  */
   9734 int i;
   9735 _ACEOF
   9736 if ac_fn_c_try_compile "$LINENO"; then :
   9737   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9738 else
   9739   xorg_cv_compiler_flag_unused_command_line_argument=no
   9740 fi
   9741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9742 fi
   9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9744 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9745 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9746 	CFLAGS="$xorg_testset_save_CFLAGS"
   9747 fi
   9748 
   9749 found="no"
   9750 
   9751 	if test $found = "no" ; then
   9752 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9754 		fi
   9755 
   9756 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9758 		fi
   9759 
   9760 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9761 
   9762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9763 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9764 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   9765 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9766   $as_echo_n "(cached) " >&6
   9767 else
   9768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9769 /* end confdefs.h.  */
   9770 int i;
   9771 int
   9772 main ()
   9773 {
   9774 
   9775   ;
   9776   return 0;
   9777 }
   9778 _ACEOF
   9779 if ac_fn_c_try_link "$LINENO"; then :
   9780   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9781 else
   9782   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9783 fi
   9784 rm -f core conftest.err conftest.$ac_objext \
   9785     conftest$ac_exeext conftest.$ac_ext
   9786 fi
   9787 
   9788 
   9789 		CFLAGS="$xorg_testset_save_CFLAGS"
   9790 
   9791 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9793 $as_echo "$supported" >&6; }
   9794 		if test "$supported" = "yes" ; then
   9795 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9796 			found="yes"
   9797 		fi
   9798 	fi
   9799 
   9800 
   9801 fi
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 		CWARNFLAGS="$BASE_CFLAGS"
   9810 		if  test "x$GCC" = xyes ; then
   9811 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9812 		fi
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 # Check whether --enable-strict-compilation was given.
   9822 if test "${enable_strict_compilation+set}" = set; then :
   9823   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9824 else
   9825   STRICT_COMPILE=no
   9826 fi
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 STRICT_CFLAGS=""
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 xorg_testset_save_CFLAGS="$CFLAGS"
   9846 
   9847 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9850 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9851 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9852   $as_echo_n "(cached) " >&6
   9853 else
   9854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9855 /* end confdefs.h.  */
   9856 int i;
   9857 _ACEOF
   9858 if ac_fn_c_try_compile "$LINENO"; then :
   9859   xorg_cv_compiler_flag_unknown_warning_option=yes
   9860 else
   9861   xorg_cv_compiler_flag_unknown_warning_option=no
   9862 fi
   9863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9864 fi
   9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9866 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9867 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9868 	CFLAGS="$xorg_testset_save_CFLAGS"
   9869 fi
   9870 
   9871 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9872 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9874 	fi
   9875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9877 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9878 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9879   $as_echo_n "(cached) " >&6
   9880 else
   9881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9882 /* end confdefs.h.  */
   9883 int i;
   9884 _ACEOF
   9885 if ac_fn_c_try_compile "$LINENO"; then :
   9886   xorg_cv_compiler_flag_unused_command_line_argument=yes
   9887 else
   9888   xorg_cv_compiler_flag_unused_command_line_argument=no
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9891 fi
   9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   9893 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   9894 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   9895 	CFLAGS="$xorg_testset_save_CFLAGS"
   9896 fi
   9897 
   9898 found="no"
   9899 
   9900 	if test $found = "no" ; then
   9901 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9903 		fi
   9904 
   9905 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9907 		fi
   9908 
   9909 		CFLAGS="$CFLAGS -pedantic"
   9910 
   9911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9912 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9913 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   9914 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   9915   $as_echo_n "(cached) " >&6
   9916 else
   9917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9918 /* end confdefs.h.  */
   9919 int i;
   9920 int
   9921 main ()
   9922 {
   9923 
   9924   ;
   9925   return 0;
   9926 }
   9927 _ACEOF
   9928 if ac_fn_c_try_link "$LINENO"; then :
   9929   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   9930 else
   9931   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   9932 fi
   9933 rm -f core conftest.err conftest.$ac_objext \
   9934     conftest$ac_exeext conftest.$ac_ext
   9935 fi
   9936 
   9937 
   9938 		CFLAGS="$xorg_testset_save_CFLAGS"
   9939 
   9940 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   9941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9942 $as_echo "$supported" >&6; }
   9943 		if test "$supported" = "yes" ; then
   9944 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9945 			found="yes"
   9946 		fi
   9947 	fi
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 xorg_testset_save_CFLAGS="$CFLAGS"
   9962 
   9963 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   9966 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   9967 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   9968   $as_echo_n "(cached) " >&6
   9969 else
   9970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9971 /* end confdefs.h.  */
   9972 int i;
   9973 _ACEOF
   9974 if ac_fn_c_try_compile "$LINENO"; then :
   9975   xorg_cv_compiler_flag_unknown_warning_option=yes
   9976 else
   9977   xorg_cv_compiler_flag_unknown_warning_option=no
   9978 fi
   9979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9980 fi
   9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   9982 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   9983 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   9984 	CFLAGS="$xorg_testset_save_CFLAGS"
   9985 fi
   9986 
   9987 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9988 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9990 	fi
   9991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   9993 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   9994 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   9995   $as_echo_n "(cached) " >&6
   9996 else
   9997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9998 /* end confdefs.h.  */
   9999 int i;
   10000 _ACEOF
   10001 if ac_fn_c_try_compile "$LINENO"; then :
   10002   xorg_cv_compiler_flag_unused_command_line_argument=yes
   10003 else
   10004   xorg_cv_compiler_flag_unused_command_line_argument=no
   10005 fi
   10006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10007 fi
   10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   10009 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   10010 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   10011 	CFLAGS="$xorg_testset_save_CFLAGS"
   10012 fi
   10013 
   10014 found="no"
   10015 
   10016 	if test $found = "no" ; then
   10017 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10019 		fi
   10020 
   10021 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10023 		fi
   10024 
   10025 		CFLAGS="$CFLAGS -Werror"
   10026 
   10027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10028 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10029 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   10030 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10031   $as_echo_n "(cached) " >&6
   10032 else
   10033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10034 /* end confdefs.h.  */
   10035 int i;
   10036 int
   10037 main ()
   10038 {
   10039 
   10040   ;
   10041   return 0;
   10042 }
   10043 _ACEOF
   10044 if ac_fn_c_try_link "$LINENO"; then :
   10045   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10046 else
   10047   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10048 fi
   10049 rm -f core conftest.err conftest.$ac_objext \
   10050     conftest$ac_exeext conftest.$ac_ext
   10051 fi
   10052 
   10053 
   10054 		CFLAGS="$xorg_testset_save_CFLAGS"
   10055 
   10056 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10058 $as_echo "$supported" >&6; }
   10059 		if test "$supported" = "yes" ; then
   10060 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10061 			found="yes"
   10062 		fi
   10063 	fi
   10064 
   10065 	if test $found = "no" ; then
   10066 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10068 		fi
   10069 
   10070 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10072 		fi
   10073 
   10074 		CFLAGS="$CFLAGS -errwarn"
   10075 
   10076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10077 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10078 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   10079 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10080   $as_echo_n "(cached) " >&6
   10081 else
   10082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10083 /* end confdefs.h.  */
   10084 int i;
   10085 int
   10086 main ()
   10087 {
   10088 
   10089   ;
   10090   return 0;
   10091 }
   10092 _ACEOF
   10093 if ac_fn_c_try_link "$LINENO"; then :
   10094   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10095 else
   10096   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10097 fi
   10098 rm -f core conftest.err conftest.$ac_objext \
   10099     conftest$ac_exeext conftest.$ac_ext
   10100 fi
   10101 
   10102 
   10103 		CFLAGS="$xorg_testset_save_CFLAGS"
   10104 
   10105 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10107 $as_echo "$supported" >&6; }
   10108 		if test "$supported" = "yes" ; then
   10109 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10110 			found="yes"
   10111 		fi
   10112 	fi
   10113 
   10114 
   10115 
   10116 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10117 # activate it with -Werror, so we add it here explicitly.
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 xorg_testset_save_CFLAGS="$CFLAGS"
   10130 
   10131 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   10132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   10134 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   10135 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   10136   $as_echo_n "(cached) " >&6
   10137 else
   10138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10139 /* end confdefs.h.  */
   10140 int i;
   10141 _ACEOF
   10142 if ac_fn_c_try_compile "$LINENO"; then :
   10143   xorg_cv_compiler_flag_unknown_warning_option=yes
   10144 else
   10145   xorg_cv_compiler_flag_unknown_warning_option=no
   10146 fi
   10147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10148 fi
   10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   10150 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   10151 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   10152 	CFLAGS="$xorg_testset_save_CFLAGS"
   10153 fi
   10154 
   10155 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   10156 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10158 	fi
   10159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   10161 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   10162 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   10163   $as_echo_n "(cached) " >&6
   10164 else
   10165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10166 /* end confdefs.h.  */
   10167 int i;
   10168 _ACEOF
   10169 if ac_fn_c_try_compile "$LINENO"; then :
   10170   xorg_cv_compiler_flag_unused_command_line_argument=yes
   10171 else
   10172   xorg_cv_compiler_flag_unused_command_line_argument=no
   10173 fi
   10174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10175 fi
   10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   10177 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   10178 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   10179 	CFLAGS="$xorg_testset_save_CFLAGS"
   10180 fi
   10181 
   10182 found="no"
   10183 
   10184 	if test $found = "no" ; then
   10185 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10187 		fi
   10188 
   10189 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10191 		fi
   10192 
   10193 		CFLAGS="$CFLAGS -Werror=attributes"
   10194 
   10195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10196 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10197 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   10198 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   10199   $as_echo_n "(cached) " >&6
   10200 else
   10201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10202 /* end confdefs.h.  */
   10203 int i;
   10204 int
   10205 main ()
   10206 {
   10207 
   10208   ;
   10209   return 0;
   10210 }
   10211 _ACEOF
   10212 if ac_fn_c_try_link "$LINENO"; then :
   10213   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   10214 else
   10215   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   10216 fi
   10217 rm -f core conftest.err conftest.$ac_objext \
   10218     conftest$ac_exeext conftest.$ac_ext
   10219 fi
   10220 
   10221 
   10222 		CFLAGS="$xorg_testset_save_CFLAGS"
   10223 
   10224 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   10225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10226 $as_echo "$supported" >&6; }
   10227 		if test "$supported" = "yes" ; then
   10228 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10229 			found="yes"
   10230 		fi
   10231 	fi
   10232 
   10233 
   10234 
   10235 if test "x$STRICT_COMPILE" = "xyes"; then
   10236     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10237     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10238 fi
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 cat >>confdefs.h <<_ACEOF
   10246 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10247 _ACEOF
   10248 
   10249 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10250 	if test "x$PVM" = "x"; then
   10251 		PVM="0"
   10252 	fi
   10253 
   10254 cat >>confdefs.h <<_ACEOF
   10255 #define PACKAGE_VERSION_MINOR $PVM
   10256 _ACEOF
   10257 
   10258 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10259 	if test "x$PVP" = "x"; then
   10260 		PVP="0"
   10261 	fi
   10262 
   10263 cat >>confdefs.h <<_ACEOF
   10264 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10265 _ACEOF
   10266 
   10267 
   10268 
   10269 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10270 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10271 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10272 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10273 
   10274 
   10275 
   10276 
   10277 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10278 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10279 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10280 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10281 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 if test x$APP_MAN_SUFFIX = x    ; then
   10289     APP_MAN_SUFFIX=1
   10290 fi
   10291 if test x$APP_MAN_DIR = x    ; then
   10292     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10293 fi
   10294 
   10295 if test x$LIB_MAN_SUFFIX = x    ; then
   10296     LIB_MAN_SUFFIX=3
   10297 fi
   10298 if test x$LIB_MAN_DIR = x    ; then
   10299     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10300 fi
   10301 
   10302 if test x$FILE_MAN_SUFFIX = x    ; then
   10303     case $host_os in
   10304 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10305 	*)		FILE_MAN_SUFFIX=5  ;;
   10306     esac
   10307 fi
   10308 if test x$FILE_MAN_DIR = x    ; then
   10309     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10310 fi
   10311 
   10312 if test x$MISC_MAN_SUFFIX = x    ; then
   10313     case $host_os in
   10314 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10315 	*)		MISC_MAN_SUFFIX=7  ;;
   10316     esac
   10317 fi
   10318 if test x$MISC_MAN_DIR = x    ; then
   10319     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10320 fi
   10321 
   10322 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10323     case $host_os in
   10324 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10325 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10326     esac
   10327 fi
   10328 if test x$DRIVER_MAN_DIR = x    ; then
   10329     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10330 fi
   10331 
   10332 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10333     case $host_os in
   10334 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10335 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10336     esac
   10337 fi
   10338 if test x$ADMIN_MAN_DIR = x    ; then
   10339     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10340 fi
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 XORG_MAN_PAGE="X Version 11"
   10357 
   10358 MAN_SUBSTS="\
   10359 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10360 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10361 	-e 's|__xservername__|Xorg|g' \
   10362 	-e 's|__xconfigfile__|xorg.conf|g' \
   10363 	-e 's|__projectroot__|\$(prefix)|g' \
   10364 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10365 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10366 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10367 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10368 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10369 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10370 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10371 
   10372 
   10373 
   10374 # Check whether --enable-silent-rules was given.
   10375 if test "${enable_silent_rules+set}" = set; then :
   10376   enableval=$enable_silent_rules;
   10377 fi
   10378 
   10379 case $enable_silent_rules in
   10380 yes) AM_DEFAULT_VERBOSITY=0;;
   10381 no)  AM_DEFAULT_VERBOSITY=1;;
   10382 *)   AM_DEFAULT_VERBOSITY=0;;
   10383 esac
   10384 AM_BACKSLASH='\'
   10385 
   10386 
   10387 
   10388 ac_ext=c
   10389 ac_cpp='$CPP $CPPFLAGS'
   10390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   10394 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   10395 # On Suns, sometimes $CPP names a directory.
   10396 if test -n "$CPP" && test -d "$CPP"; then
   10397   CPP=
   10398 fi
   10399 if test -z "$CPP"; then
   10400   if ${ac_cv_prog_CPP+:} false; then :
   10401   $as_echo_n "(cached) " >&6
   10402 else
   10403       # Double quotes because CPP needs to be expanded
   10404     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   10405     do
   10406       ac_preproc_ok=false
   10407 for ac_c_preproc_warn_flag in '' yes
   10408 do
   10409   # Use a header file that comes with gcc, so configuring glibc
   10410   # with a fresh cross-compiler works.
   10411   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10412   # <limits.h> exists even on freestanding compilers.
   10413   # On the NeXT, cc -E runs the code through the compiler's parser,
   10414   # not just through cpp. "Syntax error" is here to catch this case.
   10415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10416 /* end confdefs.h.  */
   10417 #ifdef __STDC__
   10418 # include <limits.h>
   10419 #else
   10420 # include <assert.h>
   10421 #endif
   10422 		     Syntax error
   10423 _ACEOF
   10424 if ac_fn_c_try_cpp "$LINENO"; then :
   10425 
   10426 else
   10427   # Broken: fails on valid input.
   10428 continue
   10429 fi
   10430 rm -f conftest.err conftest.i conftest.$ac_ext
   10431 
   10432   # OK, works on sane cases.  Now check whether nonexistent headers
   10433   # can be detected and how.
   10434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10435 /* end confdefs.h.  */
   10436 #include <ac_nonexistent.h>
   10437 _ACEOF
   10438 if ac_fn_c_try_cpp "$LINENO"; then :
   10439   # Broken: success on invalid input.
   10440 continue
   10441 else
   10442   # Passes both tests.
   10443 ac_preproc_ok=:
   10444 break
   10445 fi
   10446 rm -f conftest.err conftest.i conftest.$ac_ext
   10447 
   10448 done
   10449 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10450 rm -f conftest.i conftest.err conftest.$ac_ext
   10451 if $ac_preproc_ok; then :
   10452   break
   10453 fi
   10454 
   10455     done
   10456     ac_cv_prog_CPP=$CPP
   10457 
   10458 fi
   10459   CPP=$ac_cv_prog_CPP
   10460 else
   10461   ac_cv_prog_CPP=$CPP
   10462 fi
   10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   10464 $as_echo "$CPP" >&6; }
   10465 ac_preproc_ok=false
   10466 for ac_c_preproc_warn_flag in '' yes
   10467 do
   10468   # Use a header file that comes with gcc, so configuring glibc
   10469   # with a fresh cross-compiler works.
   10470   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10471   # <limits.h> exists even on freestanding compilers.
   10472   # On the NeXT, cc -E runs the code through the compiler's parser,
   10473   # not just through cpp. "Syntax error" is here to catch this case.
   10474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10475 /* end confdefs.h.  */
   10476 #ifdef __STDC__
   10477 # include <limits.h>
   10478 #else
   10479 # include <assert.h>
   10480 #endif
   10481 		     Syntax error
   10482 _ACEOF
   10483 if ac_fn_c_try_cpp "$LINENO"; then :
   10484 
   10485 else
   10486   # Broken: fails on valid input.
   10487 continue
   10488 fi
   10489 rm -f conftest.err conftest.i conftest.$ac_ext
   10490 
   10491   # OK, works on sane cases.  Now check whether nonexistent headers
   10492   # can be detected and how.
   10493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10494 /* end confdefs.h.  */
   10495 #include <ac_nonexistent.h>
   10496 _ACEOF
   10497 if ac_fn_c_try_cpp "$LINENO"; then :
   10498   # Broken: success on invalid input.
   10499 continue
   10500 else
   10501   # Passes both tests.
   10502 ac_preproc_ok=:
   10503 break
   10504 fi
   10505 rm -f conftest.err conftest.i conftest.$ac_ext
   10506 
   10507 done
   10508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10509 rm -f conftest.i conftest.err conftest.$ac_ext
   10510 if $ac_preproc_ok; then :
   10511 
   10512 else
   10513   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10515 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   10516 See \`config.log' for more details" "$LINENO" 5; }
   10517 fi
   10518 
   10519 ac_ext=c
   10520 ac_cpp='$CPP $CPPFLAGS'
   10521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10524 
   10525 
   10526 
   10527 for ac_prog in cpp
   10528 do
   10529   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10530 set dummy $ac_prog; ac_word=$2
   10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10532 $as_echo_n "checking for $ac_word... " >&6; }
   10533 if ${ac_cv_path_RAWCPP+:} false; then :
   10534   $as_echo_n "(cached) " >&6
   10535 else
   10536   case $RAWCPP in
   10537   [\\/]* | ?:[\\/]*)
   10538   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   10539   ;;
   10540   *)
   10541   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10542 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   10543 for as_dir in $as_dummy
   10544 do
   10545   IFS=$as_save_IFS
   10546   test -z "$as_dir" && as_dir=.
   10547     for ac_exec_ext in '' $ac_executable_extensions; do
   10548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10549     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   10550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10551     break 2
   10552   fi
   10553 done
   10554   done
   10555 IFS=$as_save_IFS
   10556 
   10557   ;;
   10558 esac
   10559 fi
   10560 RAWCPP=$ac_cv_path_RAWCPP
   10561 if test -n "$RAWCPP"; then
   10562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   10563 $as_echo "$RAWCPP" >&6; }
   10564 else
   10565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10566 $as_echo "no" >&6; }
   10567 fi
   10568 
   10569 
   10570   test -n "$RAWCPP" && break
   10571 done
   10572 test -n "$RAWCPP" || RAWCPP="${CPP}"
   10573 
   10574 
   10575 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   10576 # which is not the best choice for supporting other OS'es, but covers most
   10577 # of the ones we need for now.
   10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   10579 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10581 /* end confdefs.h.  */
   10582 Does cpp redefine unix ?
   10583 _ACEOF
   10584 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10586 $as_echo "no" >&6; }
   10587 else
   10588 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10589 		RAWCPPFLAGS=-undef
   10590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10591 $as_echo "yes" >&6; }
   10592 	# under Cygwin unix is still defined even with -undef
   10593 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10594 		RAWCPPFLAGS="-undef -ansi"
   10595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   10596 $as_echo "yes, with -ansi" >&6; }
   10597 	else
   10598 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   10599 	fi
   10600 fi
   10601 rm -f conftest.$ac_ext
   10602 
   10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   10604 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10606 /* end confdefs.h.  */
   10607 Does cpp preserve   "whitespace"?
   10608 _ACEOF
   10609 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10611 $as_echo "no" >&6; }
   10612 else
   10613 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10614 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   10615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10616 $as_echo "yes" >&6; }
   10617 	else
   10618 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   10619 	fi
   10620 fi
   10621 rm -f conftest.$ac_ext
   10622 
   10623 
   10624 CPP_PROGRAM=${RAWCPP}
   10625 
   10626 
   10627 for ac_func in mkstemp
   10628 do :
   10629   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10630 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10631   cat >>confdefs.h <<_ACEOF
   10632 #define HAVE_MKSTEMP 1
   10633 _ACEOF
   10634 
   10635 fi
   10636 done
   10637 
   10638 
   10639 # Extract the first word of "perl", so it can be a program name with args.
   10640 set dummy perl; ac_word=$2
   10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10642 $as_echo_n "checking for $ac_word... " >&6; }
   10643 if ${ac_cv_prog_HAS_PERL+:} false; then :
   10644   $as_echo_n "(cached) " >&6
   10645 else
   10646   if test -n "$HAS_PERL"; then
   10647   ac_cv_prog_HAS_PERL="$HAS_PERL" # Let the user override the test.
   10648 else
   10649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10650 for as_dir in $PATH
   10651 do
   10652   IFS=$as_save_IFS
   10653   test -z "$as_dir" && as_dir=.
   10654     for ac_exec_ext in '' $ac_executable_extensions; do
   10655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10656     ac_cv_prog_HAS_PERL="yes"
   10657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10658     break 2
   10659   fi
   10660 done
   10661   done
   10662 IFS=$as_save_IFS
   10663 
   10664 fi
   10665 fi
   10666 HAS_PERL=$ac_cv_prog_HAS_PERL
   10667 if test -n "$HAS_PERL"; then
   10668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_PERL" >&5
   10669 $as_echo "$HAS_PERL" >&6; }
   10670 else
   10671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10672 $as_echo "no" >&6; }
   10673 fi
   10674 
   10675 
   10676  if test "x$HAS_PERL" = xyes; then
   10677   HAS_PERL_TRUE=
   10678   HAS_PERL_FALSE='#'
   10679 else
   10680   HAS_PERL_TRUE='#'
   10681   HAS_PERL_FALSE=
   10682 fi
   10683 
   10684 
   10685 
   10686 
   10687 DEFAULT_XCONFDIR="${libdir}/X11/config"
   10688 
   10689 # Check whether --with-config-dir was given.
   10690 if test "${with_config_dir+set}" = set; then :
   10691   withval=$with_config_dir; XCONFDIR="$withval"
   10692 else
   10693   XCONFDIR="$DEFAULT_XCONFDIR"
   10694 fi
   10695 
   10696 
   10697 
   10698 DEFAULT_PREPROCESSCMD_MKDEPEND="gcc -E"
   10699 
   10700 # Check whether --with-script-preproc-cmd was given.
   10701 if test "${with_script_preproc_cmd+set}" = set; then :
   10702   withval=$with_script_preproc_cmd; PREPROCESSCMD_MKDEPEND="$withval"
   10703 else
   10704   PREPROCESSCMD_MKDEPEND="$DEFAULT_PREPROCESSCMD_MKDEPEND"
   10705 fi
   10706 
   10707 
   10708 
   10709 DEFAULT_ARCMD="ar clq"
   10710 
   10711 # Check whether --with-create-lib-cmd was given.
   10712 if test "${with_create_lib_cmd+set}" = set; then :
   10713   withval=$with_create_lib_cmd; ARCMD="$withval"
   10714 else
   10715   ARCMD="$DEFAULT_ARCMD"
   10716 fi
   10717 
   10718 
   10719 
   10720 DEFAULT_RANLIB="ranlib"
   10721 
   10722 # Check whether --with-clean-lib-cmd was given.
   10723 if test "${with_clean_lib_cmd+set}" = set; then :
   10724   withval=$with_clean_lib_cmd; RANLIB="$withval"
   10725 else
   10726   RANLIB="$DEFAULT_RANLIB"
   10727 fi
   10728 
   10729 
   10730 
   10731 # Check whether --enable-revpath was given.
   10732 if test "${enable_revpath+set}" = set; then :
   10733   enableval=$enable_revpath; BUILD_REVPATH="$enableval"
   10734 else
   10735   BUILD_REVPATH=yes
   10736 fi
   10737 
   10738  if test "x$BUILD_REVPATH" = xyes; then
   10739   BUILD_REVPATH_TRUE=
   10740   BUILD_REVPATH_FALSE='#'
   10741 else
   10742   BUILD_REVPATH_TRUE='#'
   10743   BUILD_REVPATH_FALSE=
   10744 fi
   10745 
   10746 
   10747 # Check whether --enable-makeg was given.
   10748 if test "${enable_makeg+set}" = set; then :
   10749   enableval=$enable_makeg; BUILD_MAKEG="$enableval"
   10750 else
   10751   BUILD_MAKEG=yes
   10752 fi
   10753 
   10754  if test "x$BUILD_MAKEG" = xyes; then
   10755   BUILD_MAKEG_TRUE=
   10756   BUILD_MAKEG_FALSE='#'
   10757 else
   10758   BUILD_MAKEG_TRUE='#'
   10759   BUILD_MAKEG_FALSE=
   10760 fi
   10761 
   10762 
   10763 # Check whether --enable-xmkmf was given.
   10764 if test "${enable_xmkmf+set}" = set; then :
   10765   enableval=$enable_xmkmf; BUILD_XMKMF="$enableval"
   10766 else
   10767   BUILD_XMKMF=yes
   10768 fi
   10769 
   10770  if test "x$BUILD_XMKMF" = xyes; then
   10771   BUILD_XMKMF_TRUE=
   10772   BUILD_XMKMF_FALSE='#'
   10773 else
   10774   BUILD_XMKMF_TRUE='#'
   10775   BUILD_XMKMF_FALSE=
   10776 fi
   10777 
   10778 
   10779 # Check whether --enable-ccmakedep was given.
   10780 if test "${enable_ccmakedep+set}" = set; then :
   10781   enableval=$enable_ccmakedep; BUILD_CCMAKEDEP="$enableval"
   10782 else
   10783   BUILD_CCMAKEDEP=yes
   10784 fi
   10785 
   10786  if test "x$BUILD_CCMAKEDEP" = xyes; then
   10787   BUILD_CCMAKEDEP_TRUE=
   10788   BUILD_CCMAKEDEP_FALSE='#'
   10789 else
   10790   BUILD_CCMAKEDEP_TRUE='#'
   10791   BUILD_CCMAKEDEP_FALSE=
   10792 fi
   10793 
   10794 
   10795 # Check whether --enable-mergelib was given.
   10796 if test "${enable_mergelib+set}" = set; then :
   10797   enableval=$enable_mergelib; BUILD_MERGELIB="$enableval"
   10798 else
   10799   BUILD_MERGELIB=yes
   10800 fi
   10801 
   10802  if test "x$BUILD_MERGELIB" = xyes; then
   10803   BUILD_MERGELIB_TRUE=
   10804   BUILD_MERGELIB_FALSE='#'
   10805 else
   10806   BUILD_MERGELIB_TRUE='#'
   10807   BUILD_MERGELIB_FALSE=
   10808 fi
   10809 
   10810 
   10811 # Check whether --enable-mkdirhier was given.
   10812 if test "${enable_mkdirhier+set}" = set; then :
   10813   enableval=$enable_mkdirhier; BUILD_MKDIRHIER="$enableval"
   10814 else
   10815   BUILD_MKDIRHIER=yes
   10816 fi
   10817 
   10818  if test "x$BUILD_MKDIRHIER" = xyes; then
   10819   BUILD_MKDIRHIER_TRUE=
   10820   BUILD_MKDIRHIER_FALSE='#'
   10821 else
   10822   BUILD_MKDIRHIER_TRUE='#'
   10823   BUILD_MKDIRHIER_FALSE=
   10824 fi
   10825 
   10826 
   10827 # Check whether --enable-cleanlinks was given.
   10828 if test "${enable_cleanlinks+set}" = set; then :
   10829   enableval=$enable_cleanlinks; BUILD_CLEANLINKS="$enableval"
   10830 else
   10831   BUILD_CLEANLINKS=yes
   10832 fi
   10833 
   10834  if test "x$BUILD_CLEANLINKS" = xyes; then
   10835   BUILD_CLEANLINKS_TRUE=
   10836   BUILD_CLEANLINKS_FALSE='#'
   10837 else
   10838   BUILD_CLEANLINKS_TRUE='#'
   10839   BUILD_CLEANLINKS_FALSE=
   10840 fi
   10841 
   10842 
   10843 # Check whether --enable-mkhtmlindex was given.
   10844 if test "${enable_mkhtmlindex+set}" = set; then :
   10845   enableval=$enable_mkhtmlindex; BUILD_MKHTMLINDEX="$enableval"
   10846 else
   10847   BUILD_MKHTMLINDEX=yes
   10848 fi
   10849 
   10850  if test "x$BUILD_MKHTMLINDEX" = xyes; then
   10851   BUILD_MKHTMLINDEX_TRUE=
   10852   BUILD_MKHTMLINDEX_FALSE='#'
   10853 else
   10854   BUILD_MKHTMLINDEX_TRUE='#'
   10855   BUILD_MKHTMLINDEX_FALSE=
   10856 fi
   10857 
   10858 
   10859 # Checks for pkg-config packages
   10860 
   10861 pkg_failed=no
   10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   10863 $as_echo_n "checking for XPROTO... " >&6; }
   10864 
   10865 if test -n "$XPROTO_CFLAGS"; then
   10866     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   10867  elif test -n "$PKG_CONFIG"; then
   10868     if test -n "$PKG_CONFIG" && \
   10869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   10870   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   10871   ac_status=$?
   10872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10873   test $ac_status = 0; }; then
   10874   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   10875 else
   10876   pkg_failed=yes
   10877 fi
   10878  else
   10879     pkg_failed=untried
   10880 fi
   10881 if test -n "$XPROTO_LIBS"; then
   10882     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   10883  elif test -n "$PKG_CONFIG"; then
   10884     if test -n "$PKG_CONFIG" && \
   10885     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   10886   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   10887   ac_status=$?
   10888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10889   test $ac_status = 0; }; then
   10890   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   10891 else
   10892   pkg_failed=yes
   10893 fi
   10894  else
   10895     pkg_failed=untried
   10896 fi
   10897 
   10898 
   10899 
   10900 if test $pkg_failed = yes; then
   10901 
   10902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10903         _pkg_short_errors_supported=yes
   10904 else
   10905         _pkg_short_errors_supported=no
   10906 fi
   10907         if test $_pkg_short_errors_supported = yes; then
   10908 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   10909         else
   10910 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   10911         fi
   10912 	# Put the nasty error message in config.log where it belongs
   10913 	echo "$XPROTO_PKG_ERRORS" >&5
   10914 
   10915 	as_fn_error $? "Package requirements (xproto) were not met:
   10916 
   10917 $XPROTO_PKG_ERRORS
   10918 
   10919 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10920 installed software in a non-standard prefix.
   10921 
   10922 Alternatively, you may set the environment variables XPROTO_CFLAGS
   10923 and XPROTO_LIBS to avoid the need to call pkg-config.
   10924 See the pkg-config man page for more details.
   10925 " "$LINENO" 5
   10926 elif test $pkg_failed = untried; then
   10927 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10929 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10930 is in your PATH or set the PKG_CONFIG environment variable to the full
   10931 path to pkg-config.
   10932 
   10933 Alternatively, you may set the environment variables XPROTO_CFLAGS
   10934 and XPROTO_LIBS to avoid the need to call pkg-config.
   10935 See the pkg-config man page for more details.
   10936 
   10937 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10938 See \`config.log' for more details" "$LINENO" 5; }
   10939 else
   10940 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   10941 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   10942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10943 $as_echo "yes" >&6; }
   10944 	:
   10945 fi
   10946 
   10947 ac_config_files="$ac_config_files Makefile"
   10948 
   10949 cat >confcache <<\_ACEOF
   10950 # This file is a shell script that caches the results of configure
   10951 # tests run on this system so they can be shared between configure
   10952 # scripts and configure runs, see configure's option --config-cache.
   10953 # It is not useful on other systems.  If it contains results you don't
   10954 # want to keep, you may remove or edit it.
   10955 #
   10956 # config.status only pays attention to the cache file if you give it
   10957 # the --recheck option to rerun configure.
   10958 #
   10959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10961 # following values.
   10962 
   10963 _ACEOF
   10964 
   10965 # The following way of writing the cache mishandles newlines in values,
   10966 # but we know of no workaround that is simple, portable, and efficient.
   10967 # So, we kill variables containing newlines.
   10968 # Ultrix sh set writes to stderr and can't be redirected directly,
   10969 # and sets the high bit in the cache file unless we assign to the vars.
   10970 (
   10971   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10972     eval ac_val=\$$ac_var
   10973     case $ac_val in #(
   10974     *${as_nl}*)
   10975       case $ac_var in #(
   10976       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   10977 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10978       esac
   10979       case $ac_var in #(
   10980       _ | IFS | as_nl) ;; #(
   10981       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10982       *) { eval $ac_var=; unset $ac_var;} ;;
   10983       esac ;;
   10984     esac
   10985   done
   10986 
   10987   (set) 2>&1 |
   10988     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10989     *${as_nl}ac_space=\ *)
   10990       # `set' does not quote correctly, so add quotes: double-quote
   10991       # substitution turns \\\\ into \\, and sed turns \\ into \.
   10992       sed -n \
   10993 	"s/'/'\\\\''/g;
   10994 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10995       ;; #(
   10996     *)
   10997       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10998       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10999       ;;
   11000     esac |
   11001     sort
   11002 ) |
   11003   sed '
   11004      /^ac_cv_env_/b end
   11005      t clear
   11006      :clear
   11007      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11008      t end
   11009      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11010      :end' >>confcache
   11011 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11012   if test -w "$cache_file"; then
   11013     if test "x$cache_file" != "x/dev/null"; then
   11014       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11015 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11016       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11017 	cat confcache >"$cache_file"
   11018       else
   11019         case $cache_file in #(
   11020         */* | ?:*)
   11021 	  mv -f confcache "$cache_file"$$ &&
   11022 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11023         *)
   11024 	  mv -f confcache "$cache_file" ;;
   11025 	esac
   11026       fi
   11027     fi
   11028   else
   11029     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11030 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11031   fi
   11032 fi
   11033 rm -f confcache
   11034 
   11035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11036 # Let make expand exec_prefix.
   11037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11038 
   11039 DEFS=-DHAVE_CONFIG_H
   11040 
   11041 ac_libobjs=
   11042 ac_ltlibobjs=
   11043 U=
   11044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11045   # 1. Remove the extension, and $U if already installed.
   11046   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11047   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11048   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11049   #    will be set to the directory where LIBOBJS objects are built.
   11050   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11051   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11052 done
   11053 LIBOBJS=$ac_libobjs
   11054 
   11055 LTLIBOBJS=$ac_ltlibobjs
   11056 
   11057 
   11058  if test -n "$EXEEXT"; then
   11059   am__EXEEXT_TRUE=
   11060   am__EXEEXT_FALSE='#'
   11061 else
   11062   am__EXEEXT_TRUE='#'
   11063   am__EXEEXT_FALSE=
   11064 fi
   11065 
   11066 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11067   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11069 fi
   11070 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11071   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11073 fi
   11074 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11075   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11077 fi
   11078 if test -z "${HAS_PERL_TRUE}" && test -z "${HAS_PERL_FALSE}"; then
   11079   as_fn_error $? "conditional \"HAS_PERL\" was never defined.
   11080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11081 fi
   11082 if test -z "${BUILD_REVPATH_TRUE}" && test -z "${BUILD_REVPATH_FALSE}"; then
   11083   as_fn_error $? "conditional \"BUILD_REVPATH\" was never defined.
   11084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11085 fi
   11086 if test -z "${BUILD_MAKEG_TRUE}" && test -z "${BUILD_MAKEG_FALSE}"; then
   11087   as_fn_error $? "conditional \"BUILD_MAKEG\" was never defined.
   11088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11089 fi
   11090 if test -z "${BUILD_XMKMF_TRUE}" && test -z "${BUILD_XMKMF_FALSE}"; then
   11091   as_fn_error $? "conditional \"BUILD_XMKMF\" was never defined.
   11092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11093 fi
   11094 if test -z "${BUILD_CCMAKEDEP_TRUE}" && test -z "${BUILD_CCMAKEDEP_FALSE}"; then
   11095   as_fn_error $? "conditional \"BUILD_CCMAKEDEP\" was never defined.
   11096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11097 fi
   11098 if test -z "${BUILD_MERGELIB_TRUE}" && test -z "${BUILD_MERGELIB_FALSE}"; then
   11099   as_fn_error $? "conditional \"BUILD_MERGELIB\" was never defined.
   11100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11101 fi
   11102 if test -z "${BUILD_MKDIRHIER_TRUE}" && test -z "${BUILD_MKDIRHIER_FALSE}"; then
   11103   as_fn_error $? "conditional \"BUILD_MKDIRHIER\" was never defined.
   11104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11105 fi
   11106 if test -z "${BUILD_CLEANLINKS_TRUE}" && test -z "${BUILD_CLEANLINKS_FALSE}"; then
   11107   as_fn_error $? "conditional \"BUILD_CLEANLINKS\" was never defined.
   11108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11109 fi
   11110 if test -z "${BUILD_MKHTMLINDEX_TRUE}" && test -z "${BUILD_MKHTMLINDEX_FALSE}"; then
   11111   as_fn_error $? "conditional \"BUILD_MKHTMLINDEX\" was never defined.
   11112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11113 fi
   11114 
   11115 : "${CONFIG_STATUS=./config.status}"
   11116 ac_write_fail=0
   11117 ac_clean_files_save=$ac_clean_files
   11118 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11120 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11121 as_write_fail=0
   11122 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11123 #! $SHELL
   11124 # Generated by $as_me.
   11125 # Run this file to recreate the current configuration.
   11126 # Compiler output produced by configure, useful for debugging
   11127 # configure, is in config.log if it exists.
   11128 
   11129 debug=false
   11130 ac_cs_recheck=false
   11131 ac_cs_silent=false
   11132 
   11133 SHELL=\${CONFIG_SHELL-$SHELL}
   11134 export SHELL
   11135 _ASEOF
   11136 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11137 ## -------------------- ##
   11138 ## M4sh Initialization. ##
   11139 ## -------------------- ##
   11140 
   11141 # Be more Bourne compatible
   11142 DUALCASE=1; export DUALCASE # for MKS sh
   11143 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11144   emulate sh
   11145   NULLCMD=:
   11146   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11147   # is contrary to our usage.  Disable this feature.
   11148   alias -g '${1+"$@"}'='"$@"'
   11149   setopt NO_GLOB_SUBST
   11150 else
   11151   case `(set -o) 2>/dev/null` in #(
   11152   *posix*) :
   11153     set -o posix ;; #(
   11154   *) :
   11155      ;;
   11156 esac
   11157 fi
   11158 
   11159 
   11160 as_nl='
   11161 '
   11162 export as_nl
   11163 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11164 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11165 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11166 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11167 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11168 # but without wasting forks for bash or zsh.
   11169 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11170     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11171   as_echo='print -r --'
   11172   as_echo_n='print -rn --'
   11173 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11174   as_echo='printf %s\n'
   11175   as_echo_n='printf %s'
   11176 else
   11177   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11178     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11179     as_echo_n='/usr/ucb/echo -n'
   11180   else
   11181     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11182     as_echo_n_body='eval
   11183       arg=$1;
   11184       case $arg in #(
   11185       *"$as_nl"*)
   11186 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11187 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11188       esac;
   11189       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11190     '
   11191     export as_echo_n_body
   11192     as_echo_n='sh -c $as_echo_n_body as_echo'
   11193   fi
   11194   export as_echo_body
   11195   as_echo='sh -c $as_echo_body as_echo'
   11196 fi
   11197 
   11198 # The user is always right.
   11199 if test "${PATH_SEPARATOR+set}" != set; then
   11200   PATH_SEPARATOR=:
   11201   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11202     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11203       PATH_SEPARATOR=';'
   11204   }
   11205 fi
   11206 
   11207 
   11208 # IFS
   11209 # We need space, tab and new line, in precisely that order.  Quoting is
   11210 # there to prevent editors from complaining about space-tab.
   11211 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11212 # splitting by setting IFS to empty value.)
   11213 IFS=" ""	$as_nl"
   11214 
   11215 # Find who we are.  Look in the path if we contain no directory separator.
   11216 as_myself=
   11217 case $0 in #((
   11218   *[\\/]* ) as_myself=$0 ;;
   11219   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11220 for as_dir in $PATH
   11221 do
   11222   IFS=$as_save_IFS
   11223   test -z "$as_dir" && as_dir=.
   11224     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11225   done
   11226 IFS=$as_save_IFS
   11227 
   11228      ;;
   11229 esac
   11230 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11231 # in which case we are not to be found in the path.
   11232 if test "x$as_myself" = x; then
   11233   as_myself=$0
   11234 fi
   11235 if test ! -f "$as_myself"; then
   11236   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11237   exit 1
   11238 fi
   11239 
   11240 # Unset variables that we do not need and which cause bugs (e.g. in
   11241 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11242 # suppresses any "Segmentation fault" message there.  '((' could
   11243 # trigger a bug in pdksh 5.2.14.
   11244 for as_var in BASH_ENV ENV MAIL MAILPATH
   11245 do eval test x\${$as_var+set} = xset \
   11246   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11247 done
   11248 PS1='$ '
   11249 PS2='> '
   11250 PS4='+ '
   11251 
   11252 # NLS nuisances.
   11253 LC_ALL=C
   11254 export LC_ALL
   11255 LANGUAGE=C
   11256 export LANGUAGE
   11257 
   11258 # CDPATH.
   11259 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11260 
   11261 
   11262 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11263 # ----------------------------------------
   11264 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11265 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11266 # script with STATUS, using 1 if that was 0.
   11267 as_fn_error ()
   11268 {
   11269   as_status=$1; test $as_status -eq 0 && as_status=1
   11270   if test "$4"; then
   11271     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11272     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11273   fi
   11274   $as_echo "$as_me: error: $2" >&2
   11275   as_fn_exit $as_status
   11276 } # as_fn_error
   11277 
   11278 
   11279 # as_fn_set_status STATUS
   11280 # -----------------------
   11281 # Set $? to STATUS, without forking.
   11282 as_fn_set_status ()
   11283 {
   11284   return $1
   11285 } # as_fn_set_status
   11286 
   11287 # as_fn_exit STATUS
   11288 # -----------------
   11289 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11290 as_fn_exit ()
   11291 {
   11292   set +e
   11293   as_fn_set_status $1
   11294   exit $1
   11295 } # as_fn_exit
   11296 
   11297 # as_fn_unset VAR
   11298 # ---------------
   11299 # Portably unset VAR.
   11300 as_fn_unset ()
   11301 {
   11302   { eval $1=; unset $1;}
   11303 }
   11304 as_unset=as_fn_unset
   11305 # as_fn_append VAR VALUE
   11306 # ----------------------
   11307 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11308 # advantage of any shell optimizations that allow amortized linear growth over
   11309 # repeated appends, instead of the typical quadratic growth present in naive
   11310 # implementations.
   11311 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11312   eval 'as_fn_append ()
   11313   {
   11314     eval $1+=\$2
   11315   }'
   11316 else
   11317   as_fn_append ()
   11318   {
   11319     eval $1=\$$1\$2
   11320   }
   11321 fi # as_fn_append
   11322 
   11323 # as_fn_arith ARG...
   11324 # ------------------
   11325 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11326 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11327 # must be portable across $(()) and expr.
   11328 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11329   eval 'as_fn_arith ()
   11330   {
   11331     as_val=$(( $* ))
   11332   }'
   11333 else
   11334   as_fn_arith ()
   11335   {
   11336     as_val=`expr "$@" || test $? -eq 1`
   11337   }
   11338 fi # as_fn_arith
   11339 
   11340 
   11341 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11342    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11343   as_expr=expr
   11344 else
   11345   as_expr=false
   11346 fi
   11347 
   11348 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11349   as_basename=basename
   11350 else
   11351   as_basename=false
   11352 fi
   11353 
   11354 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11355   as_dirname=dirname
   11356 else
   11357   as_dirname=false
   11358 fi
   11359 
   11360 as_me=`$as_basename -- "$0" ||
   11361 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11362 	 X"$0" : 'X\(//\)$' \| \
   11363 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11364 $as_echo X/"$0" |
   11365     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11366 	    s//\1/
   11367 	    q
   11368 	  }
   11369 	  /^X\/\(\/\/\)$/{
   11370 	    s//\1/
   11371 	    q
   11372 	  }
   11373 	  /^X\/\(\/\).*/{
   11374 	    s//\1/
   11375 	    q
   11376 	  }
   11377 	  s/.*/./; q'`
   11378 
   11379 # Avoid depending upon Character Ranges.
   11380 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11381 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11382 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11383 as_cr_digits='0123456789'
   11384 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11385 
   11386 ECHO_C= ECHO_N= ECHO_T=
   11387 case `echo -n x` in #(((((
   11388 -n*)
   11389   case `echo 'xy\c'` in
   11390   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11391   xy)  ECHO_C='\c';;
   11392   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11393        ECHO_T='	';;
   11394   esac;;
   11395 *)
   11396   ECHO_N='-n';;
   11397 esac
   11398 
   11399 rm -f conf$$ conf$$.exe conf$$.file
   11400 if test -d conf$$.dir; then
   11401   rm -f conf$$.dir/conf$$.file
   11402 else
   11403   rm -f conf$$.dir
   11404   mkdir conf$$.dir 2>/dev/null
   11405 fi
   11406 if (echo >conf$$.file) 2>/dev/null; then
   11407   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11408     as_ln_s='ln -s'
   11409     # ... but there are two gotchas:
   11410     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11411     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11412     # In both cases, we have to default to `cp -p'.
   11413     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11414       as_ln_s='cp -p'
   11415   elif ln conf$$.file conf$$ 2>/dev/null; then
   11416     as_ln_s=ln
   11417   else
   11418     as_ln_s='cp -p'
   11419   fi
   11420 else
   11421   as_ln_s='cp -p'
   11422 fi
   11423 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11424 rmdir conf$$.dir 2>/dev/null
   11425 
   11426 
   11427 # as_fn_mkdir_p
   11428 # -------------
   11429 # Create "$as_dir" as a directory, including parents if necessary.
   11430 as_fn_mkdir_p ()
   11431 {
   11432 
   11433   case $as_dir in #(
   11434   -*) as_dir=./$as_dir;;
   11435   esac
   11436   test -d "$as_dir" || eval $as_mkdir_p || {
   11437     as_dirs=
   11438     while :; do
   11439       case $as_dir in #(
   11440       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11441       *) as_qdir=$as_dir;;
   11442       esac
   11443       as_dirs="'$as_qdir' $as_dirs"
   11444       as_dir=`$as_dirname -- "$as_dir" ||
   11445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11446 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11447 	 X"$as_dir" : 'X\(//\)$' \| \
   11448 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11449 $as_echo X"$as_dir" |
   11450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11451 	    s//\1/
   11452 	    q
   11453 	  }
   11454 	  /^X\(\/\/\)[^/].*/{
   11455 	    s//\1/
   11456 	    q
   11457 	  }
   11458 	  /^X\(\/\/\)$/{
   11459 	    s//\1/
   11460 	    q
   11461 	  }
   11462 	  /^X\(\/\).*/{
   11463 	    s//\1/
   11464 	    q
   11465 	  }
   11466 	  s/.*/./; q'`
   11467       test -d "$as_dir" && break
   11468     done
   11469     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11470   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11471 
   11472 
   11473 } # as_fn_mkdir_p
   11474 if mkdir -p . 2>/dev/null; then
   11475   as_mkdir_p='mkdir -p "$as_dir"'
   11476 else
   11477   test -d ./-p && rmdir ./-p
   11478   as_mkdir_p=false
   11479 fi
   11480 
   11481 if test -x / >/dev/null 2>&1; then
   11482   as_test_x='test -x'
   11483 else
   11484   if ls -dL / >/dev/null 2>&1; then
   11485     as_ls_L_option=L
   11486   else
   11487     as_ls_L_option=
   11488   fi
   11489   as_test_x='
   11490     eval sh -c '\''
   11491       if test -d "$1"; then
   11492 	test -d "$1/.";
   11493       else
   11494 	case $1 in #(
   11495 	-*)set "./$1";;
   11496 	esac;
   11497 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11498 	???[sx]*):;;*)false;;esac;fi
   11499     '\'' sh
   11500   '
   11501 fi
   11502 as_executable_p=$as_test_x
   11503 
   11504 # Sed expression to map a string onto a valid CPP name.
   11505 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11506 
   11507 # Sed expression to map a string onto a valid variable name.
   11508 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11509 
   11510 
   11511 exec 6>&1
   11512 ## ----------------------------------- ##
   11513 ## Main body of $CONFIG_STATUS script. ##
   11514 ## ----------------------------------- ##
   11515 _ASEOF
   11516 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11517 
   11518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11519 # Save the log message, to keep $0 and so on meaningful, and to
   11520 # report actual input values of CONFIG_FILES etc. instead of their
   11521 # values after options handling.
   11522 ac_log="
   11523 This file was extended by imake $as_me 1.0.5, which was
   11524 generated by GNU Autoconf 2.68.  Invocation command line was
   11525 
   11526   CONFIG_FILES    = $CONFIG_FILES
   11527   CONFIG_HEADERS  = $CONFIG_HEADERS
   11528   CONFIG_LINKS    = $CONFIG_LINKS
   11529   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11530   $ $0 $@
   11531 
   11532 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11533 "
   11534 
   11535 _ACEOF
   11536 
   11537 case $ac_config_files in *"
   11538 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11539 esac
   11540 
   11541 case $ac_config_headers in *"
   11542 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11543 esac
   11544 
   11545 
   11546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11547 # Files that config.status was made for.
   11548 config_files="$ac_config_files"
   11549 config_headers="$ac_config_headers"
   11550 config_commands="$ac_config_commands"
   11551 
   11552 _ACEOF
   11553 
   11554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11555 ac_cs_usage="\
   11556 \`$as_me' instantiates files and other configuration actions
   11557 from templates according to the current configuration.  Unless the files
   11558 and actions are specified as TAGs, all are instantiated by default.
   11559 
   11560 Usage: $0 [OPTION]... [TAG]...
   11561 
   11562   -h, --help       print this help, then exit
   11563   -V, --version    print version number and configuration settings, then exit
   11564       --config     print configuration, then exit
   11565   -q, --quiet, --silent
   11566                    do not print progress messages
   11567   -d, --debug      don't remove temporary files
   11568       --recheck    update $as_me by reconfiguring in the same conditions
   11569       --file=FILE[:TEMPLATE]
   11570                    instantiate the configuration file FILE
   11571       --header=FILE[:TEMPLATE]
   11572                    instantiate the configuration header FILE
   11573 
   11574 Configuration files:
   11575 $config_files
   11576 
   11577 Configuration headers:
   11578 $config_headers
   11579 
   11580 Configuration commands:
   11581 $config_commands
   11582 
   11583 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11584 
   11585 _ACEOF
   11586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11587 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11588 ac_cs_version="\\
   11589 imake config.status 1.0.5
   11590 configured by $0, generated by GNU Autoconf 2.68,
   11591   with options \\"\$ac_cs_config\\"
   11592 
   11593 Copyright (C) 2010 Free Software Foundation, Inc.
   11594 This config.status script is free software; the Free Software Foundation
   11595 gives unlimited permission to copy, distribute and modify it."
   11596 
   11597 ac_pwd='$ac_pwd'
   11598 srcdir='$srcdir'
   11599 INSTALL='$INSTALL'
   11600 MKDIR_P='$MKDIR_P'
   11601 AWK='$AWK'
   11602 test -n "\$AWK" || AWK=awk
   11603 _ACEOF
   11604 
   11605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11606 # The default lists apply if the user does not specify any file.
   11607 ac_need_defaults=:
   11608 while test $# != 0
   11609 do
   11610   case $1 in
   11611   --*=?*)
   11612     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11613     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11614     ac_shift=:
   11615     ;;
   11616   --*=)
   11617     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11618     ac_optarg=
   11619     ac_shift=:
   11620     ;;
   11621   *)
   11622     ac_option=$1
   11623     ac_optarg=$2
   11624     ac_shift=shift
   11625     ;;
   11626   esac
   11627 
   11628   case $ac_option in
   11629   # Handling of the options.
   11630   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11631     ac_cs_recheck=: ;;
   11632   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11633     $as_echo "$ac_cs_version"; exit ;;
   11634   --config | --confi | --conf | --con | --co | --c )
   11635     $as_echo "$ac_cs_config"; exit ;;
   11636   --debug | --debu | --deb | --de | --d | -d )
   11637     debug=: ;;
   11638   --file | --fil | --fi | --f )
   11639     $ac_shift
   11640     case $ac_optarg in
   11641     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11642     '') as_fn_error $? "missing file argument" ;;
   11643     esac
   11644     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11645     ac_need_defaults=false;;
   11646   --header | --heade | --head | --hea )
   11647     $ac_shift
   11648     case $ac_optarg in
   11649     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11650     esac
   11651     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11652     ac_need_defaults=false;;
   11653   --he | --h)
   11654     # Conflict between --help and --header
   11655     as_fn_error $? "ambiguous option: \`$1'
   11656 Try \`$0 --help' for more information.";;
   11657   --help | --hel | -h )
   11658     $as_echo "$ac_cs_usage"; exit ;;
   11659   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11660   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11661     ac_cs_silent=: ;;
   11662 
   11663   # This is an error.
   11664   -*) as_fn_error $? "unrecognized option: \`$1'
   11665 Try \`$0 --help' for more information." ;;
   11666 
   11667   *) as_fn_append ac_config_targets " $1"
   11668      ac_need_defaults=false ;;
   11669 
   11670   esac
   11671   shift
   11672 done
   11673 
   11674 ac_configure_extra_args=
   11675 
   11676 if $ac_cs_silent; then
   11677   exec 6>/dev/null
   11678   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11679 fi
   11680 
   11681 _ACEOF
   11682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11683 if \$ac_cs_recheck; then
   11684   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11685   shift
   11686   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11687   CONFIG_SHELL='$SHELL'
   11688   export CONFIG_SHELL
   11689   exec "\$@"
   11690 fi
   11691 
   11692 _ACEOF
   11693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11694 exec 5>>config.log
   11695 {
   11696   echo
   11697   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11698 ## Running $as_me. ##
   11699 _ASBOX
   11700   $as_echo "$ac_log"
   11701 } >&5
   11702 
   11703 _ACEOF
   11704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11705 #
   11706 # INIT-COMMANDS
   11707 #
   11708 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11709 
   11710 _ACEOF
   11711 
   11712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11713 
   11714 # Handling of arguments.
   11715 for ac_config_target in $ac_config_targets
   11716 do
   11717   case $ac_config_target in
   11718     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11719     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11720     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11721 
   11722   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11723   esac
   11724 done
   11725 
   11726 
   11727 # If the user did not use the arguments to specify the items to instantiate,
   11728 # then the envvar interface is used.  Set only those that are not.
   11729 # We use the long form for the default assignment because of an extremely
   11730 # bizarre bug on SunOS 4.1.3.
   11731 if $ac_need_defaults; then
   11732   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11733   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11734   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11735 fi
   11736 
   11737 # Have a temporary directory for convenience.  Make it in the build tree
   11738 # simply because there is no reason against having it here, and in addition,
   11739 # creating and moving files from /tmp can sometimes cause problems.
   11740 # Hook for its removal unless debugging.
   11741 # Note that there is a small window in which the directory will not be cleaned:
   11742 # after its creation but before its name has been assigned to `$tmp'.
   11743 $debug ||
   11744 {
   11745   tmp= ac_tmp=
   11746   trap 'exit_status=$?
   11747   : "${ac_tmp:=$tmp}"
   11748   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11749 ' 0
   11750   trap 'as_fn_exit 1' 1 2 13 15
   11751 }
   11752 # Create a (secure) tmp directory for tmp files.
   11753 
   11754 {
   11755   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11756   test -d "$tmp"
   11757 }  ||
   11758 {
   11759   tmp=./conf$$-$RANDOM
   11760   (umask 077 && mkdir "$tmp")
   11761 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11762 ac_tmp=$tmp
   11763 
   11764 # Set up the scripts for CONFIG_FILES section.
   11765 # No need to generate them if there are no CONFIG_FILES.
   11766 # This happens for instance with `./config.status config.h'.
   11767 if test -n "$CONFIG_FILES"; then
   11768 
   11769 
   11770 ac_cr=`echo X | tr X '\015'`
   11771 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11772 # But we know of no other shell where ac_cr would be empty at this
   11773 # point, so we can use a bashism as a fallback.
   11774 if test "x$ac_cr" = x; then
   11775   eval ac_cr=\$\'\\r\'
   11776 fi
   11777 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11778 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11779   ac_cs_awk_cr='\\r'
   11780 else
   11781   ac_cs_awk_cr=$ac_cr
   11782 fi
   11783 
   11784 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11785 _ACEOF
   11786 
   11787 
   11788 {
   11789   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11790   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11791   echo "_ACEOF"
   11792 } >conf$$subs.sh ||
   11793   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11794 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11795 ac_delim='%!_!# '
   11796 for ac_last_try in false false false false false :; do
   11797   . ./conf$$subs.sh ||
   11798     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11799 
   11800   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11801   if test $ac_delim_n = $ac_delim_num; then
   11802     break
   11803   elif $ac_last_try; then
   11804     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11805   else
   11806     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11807   fi
   11808 done
   11809 rm -f conf$$subs.sh
   11810 
   11811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11812 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11813 _ACEOF
   11814 sed -n '
   11815 h
   11816 s/^/S["/; s/!.*/"]=/
   11817 p
   11818 g
   11819 s/^[^!]*!//
   11820 :repl
   11821 t repl
   11822 s/'"$ac_delim"'$//
   11823 t delim
   11824 :nl
   11825 h
   11826 s/\(.\{148\}\)..*/\1/
   11827 t more1
   11828 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11829 p
   11830 n
   11831 b repl
   11832 :more1
   11833 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11834 p
   11835 g
   11836 s/.\{148\}//
   11837 t nl
   11838 :delim
   11839 h
   11840 s/\(.\{148\}\)..*/\1/
   11841 t more2
   11842 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11843 p
   11844 b
   11845 :more2
   11846 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11847 p
   11848 g
   11849 s/.\{148\}//
   11850 t delim
   11851 ' <conf$$subs.awk | sed '
   11852 /^[^""]/{
   11853   N
   11854   s/\n//
   11855 }
   11856 ' >>$CONFIG_STATUS || ac_write_fail=1
   11857 rm -f conf$$subs.awk
   11858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11859 _ACAWK
   11860 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11861   for (key in S) S_is_set[key] = 1
   11862   FS = ""
   11863 
   11864 }
   11865 {
   11866   line = $ 0
   11867   nfields = split(line, field, "@")
   11868   substed = 0
   11869   len = length(field[1])
   11870   for (i = 2; i < nfields; i++) {
   11871     key = field[i]
   11872     keylen = length(key)
   11873     if (S_is_set[key]) {
   11874       value = S[key]
   11875       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11876       len += length(value) + length(field[++i])
   11877       substed = 1
   11878     } else
   11879       len += 1 + keylen
   11880   }
   11881 
   11882   print line
   11883 }
   11884 
   11885 _ACAWK
   11886 _ACEOF
   11887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11888 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11889   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11890 else
   11891   cat
   11892 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11893   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11894 _ACEOF
   11895 
   11896 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11897 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11898 # trailing colons and then remove the whole line if VPATH becomes empty
   11899 # (actually we leave an empty line to preserve line numbers).
   11900 if test "x$srcdir" = x.; then
   11901   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11902 h
   11903 s///
   11904 s/^/:/
   11905 s/[	 ]*$/:/
   11906 s/:\$(srcdir):/:/g
   11907 s/:\${srcdir}:/:/g
   11908 s/:@srcdir@:/:/g
   11909 s/^:*//
   11910 s/:*$//
   11911 x
   11912 s/\(=[	 ]*\).*/\1/
   11913 G
   11914 s/\n//
   11915 s/^[^=]*=[	 ]*$//
   11916 }'
   11917 fi
   11918 
   11919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11920 fi # test -n "$CONFIG_FILES"
   11921 
   11922 # Set up the scripts for CONFIG_HEADERS section.
   11923 # No need to generate them if there are no CONFIG_HEADERS.
   11924 # This happens for instance with `./config.status Makefile'.
   11925 if test -n "$CONFIG_HEADERS"; then
   11926 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11927 BEGIN {
   11928 _ACEOF
   11929 
   11930 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11931 # here-document in config.status, that substitutes the proper values into
   11932 # config.h.in to produce config.h.
   11933 
   11934 # Create a delimiter string that does not exist in confdefs.h, to ease
   11935 # handling of long lines.
   11936 ac_delim='%!_!# '
   11937 for ac_last_try in false false :; do
   11938   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   11939   if test -z "$ac_tt"; then
   11940     break
   11941   elif $ac_last_try; then
   11942     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   11943   else
   11944     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11945   fi
   11946 done
   11947 
   11948 # For the awk script, D is an array of macro values keyed by name,
   11949 # likewise P contains macro parameters if any.  Preserve backslash
   11950 # newline sequences.
   11951 
   11952 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11953 sed -n '
   11954 s/.\{148\}/&'"$ac_delim"'/g
   11955 t rset
   11956 :rset
   11957 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11958 t def
   11959 d
   11960 :def
   11961 s/\\$//
   11962 t bsnl
   11963 s/["\\]/\\&/g
   11964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11965 D["\1"]=" \3"/p
   11966 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11967 d
   11968 :bsnl
   11969 s/["\\]/\\&/g
   11970 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11971 D["\1"]=" \3\\\\\\n"\\/p
   11972 t cont
   11973 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11974 t cont
   11975 d
   11976 :cont
   11977 n
   11978 s/.\{148\}/&'"$ac_delim"'/g
   11979 t clear
   11980 :clear
   11981 s/\\$//
   11982 t bsnlc
   11983 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11984 d
   11985 :bsnlc
   11986 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11987 b cont
   11988 ' <confdefs.h | sed '
   11989 s/'"$ac_delim"'/"\\\
   11990 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11991 
   11992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11993   for (key in D) D_is_set[key] = 1
   11994   FS = ""
   11995 }
   11996 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11997   line = \$ 0
   11998   split(line, arg, " ")
   11999   if (arg[1] == "#") {
   12000     defundef = arg[2]
   12001     mac1 = arg[3]
   12002   } else {
   12003     defundef = substr(arg[1], 2)
   12004     mac1 = arg[2]
   12005   }
   12006   split(mac1, mac2, "(") #)
   12007   macro = mac2[1]
   12008   prefix = substr(line, 1, index(line, defundef) - 1)
   12009   if (D_is_set[macro]) {
   12010     # Preserve the white space surrounding the "#".
   12011     print prefix "define", macro P[macro] D[macro]
   12012     next
   12013   } else {
   12014     # Replace #undef with comments.  This is necessary, for example,
   12015     # in the case of _POSIX_SOURCE, which is predefined and required
   12016     # on some systems where configure will not decide to define it.
   12017     if (defundef == "undef") {
   12018       print "/*", prefix defundef, macro, "*/"
   12019       next
   12020     }
   12021   }
   12022 }
   12023 { print }
   12024 _ACAWK
   12025 _ACEOF
   12026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12027   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12028 fi # test -n "$CONFIG_HEADERS"
   12029 
   12030 
   12031 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12032 shift
   12033 for ac_tag
   12034 do
   12035   case $ac_tag in
   12036   :[FHLC]) ac_mode=$ac_tag; continue;;
   12037   esac
   12038   case $ac_mode$ac_tag in
   12039   :[FHL]*:*);;
   12040   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12041   :[FH]-) ac_tag=-:-;;
   12042   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12043   esac
   12044   ac_save_IFS=$IFS
   12045   IFS=:
   12046   set x $ac_tag
   12047   IFS=$ac_save_IFS
   12048   shift
   12049   ac_file=$1
   12050   shift
   12051 
   12052   case $ac_mode in
   12053   :L) ac_source=$1;;
   12054   :[FH])
   12055     ac_file_inputs=
   12056     for ac_f
   12057     do
   12058       case $ac_f in
   12059       -) ac_f="$ac_tmp/stdin";;
   12060       *) # Look for the file first in the build tree, then in the source tree
   12061 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12062 	 # because $ac_f cannot contain `:'.
   12063 	 test -f "$ac_f" ||
   12064 	   case $ac_f in
   12065 	   [\\/$]*) false;;
   12066 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12067 	   esac ||
   12068 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12069       esac
   12070       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12071       as_fn_append ac_file_inputs " '$ac_f'"
   12072     done
   12073 
   12074     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12075     # use $as_me), people would be surprised to read:
   12076     #    /* config.h.  Generated by config.status.  */
   12077     configure_input='Generated from '`
   12078 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12079 	`' by configure.'
   12080     if test x"$ac_file" != x-; then
   12081       configure_input="$ac_file.  $configure_input"
   12082       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12083 $as_echo "$as_me: creating $ac_file" >&6;}
   12084     fi
   12085     # Neutralize special characters interpreted by sed in replacement strings.
   12086     case $configure_input in #(
   12087     *\&* | *\|* | *\\* )
   12088        ac_sed_conf_input=`$as_echo "$configure_input" |
   12089        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12090     *) ac_sed_conf_input=$configure_input;;
   12091     esac
   12092 
   12093     case $ac_tag in
   12094     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12095       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12096     esac
   12097     ;;
   12098   esac
   12099 
   12100   ac_dir=`$as_dirname -- "$ac_file" ||
   12101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12102 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12103 	 X"$ac_file" : 'X\(//\)$' \| \
   12104 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12105 $as_echo X"$ac_file" |
   12106     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12107 	    s//\1/
   12108 	    q
   12109 	  }
   12110 	  /^X\(\/\/\)[^/].*/{
   12111 	    s//\1/
   12112 	    q
   12113 	  }
   12114 	  /^X\(\/\/\)$/{
   12115 	    s//\1/
   12116 	    q
   12117 	  }
   12118 	  /^X\(\/\).*/{
   12119 	    s//\1/
   12120 	    q
   12121 	  }
   12122 	  s/.*/./; q'`
   12123   as_dir="$ac_dir"; as_fn_mkdir_p
   12124   ac_builddir=.
   12125 
   12126 case "$ac_dir" in
   12127 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12128 *)
   12129   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12130   # A ".." for each directory in $ac_dir_suffix.
   12131   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12132   case $ac_top_builddir_sub in
   12133   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12134   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12135   esac ;;
   12136 esac
   12137 ac_abs_top_builddir=$ac_pwd
   12138 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12139 # for backward compatibility:
   12140 ac_top_builddir=$ac_top_build_prefix
   12141 
   12142 case $srcdir in
   12143   .)  # We are building in place.
   12144     ac_srcdir=.
   12145     ac_top_srcdir=$ac_top_builddir_sub
   12146     ac_abs_top_srcdir=$ac_pwd ;;
   12147   [\\/]* | ?:[\\/]* )  # Absolute name.
   12148     ac_srcdir=$srcdir$ac_dir_suffix;
   12149     ac_top_srcdir=$srcdir
   12150     ac_abs_top_srcdir=$srcdir ;;
   12151   *) # Relative name.
   12152     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12153     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12154     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12155 esac
   12156 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12157 
   12158 
   12159   case $ac_mode in
   12160   :F)
   12161   #
   12162   # CONFIG_FILE
   12163   #
   12164 
   12165   case $INSTALL in
   12166   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12167   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12168   esac
   12169   ac_MKDIR_P=$MKDIR_P
   12170   case $MKDIR_P in
   12171   [\\/$]* | ?:[\\/]* ) ;;
   12172   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12173   esac
   12174 _ACEOF
   12175 
   12176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12177 # If the template does not know about datarootdir, expand it.
   12178 # FIXME: This hack should be removed a few years after 2.60.
   12179 ac_datarootdir_hack=; ac_datarootdir_seen=
   12180 ac_sed_dataroot='
   12181 /datarootdir/ {
   12182   p
   12183   q
   12184 }
   12185 /@datadir@/p
   12186 /@docdir@/p
   12187 /@infodir@/p
   12188 /@localedir@/p
   12189 /@mandir@/p'
   12190 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12191 *datarootdir*) ac_datarootdir_seen=yes;;
   12192 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12193   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12194 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12195 _ACEOF
   12196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12197   ac_datarootdir_hack='
   12198   s&@datadir@&$datadir&g
   12199   s&@docdir@&$docdir&g
   12200   s&@infodir@&$infodir&g
   12201   s&@localedir@&$localedir&g
   12202   s&@mandir@&$mandir&g
   12203   s&\\\${datarootdir}&$datarootdir&g' ;;
   12204 esac
   12205 _ACEOF
   12206 
   12207 # Neutralize VPATH when `$srcdir' = `.'.
   12208 # Shell code in configure.ac might set extrasub.
   12209 # FIXME: do we really want to maintain this feature?
   12210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12211 ac_sed_extra="$ac_vpsub
   12212 $extrasub
   12213 _ACEOF
   12214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12215 :t
   12216 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12217 s|@configure_input@|$ac_sed_conf_input|;t t
   12218 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12219 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12220 s&@srcdir@&$ac_srcdir&;t t
   12221 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12222 s&@top_srcdir@&$ac_top_srcdir&;t t
   12223 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12224 s&@builddir@&$ac_builddir&;t t
   12225 s&@abs_builddir@&$ac_abs_builddir&;t t
   12226 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12227 s&@INSTALL@&$ac_INSTALL&;t t
   12228 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12229 $ac_datarootdir_hack
   12230 "
   12231 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12232   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12233 
   12234 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12235   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12236   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12237       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12238   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12239 which seems to be undefined.  Please make sure it is defined" >&5
   12240 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12241 which seems to be undefined.  Please make sure it is defined" >&2;}
   12242 
   12243   rm -f "$ac_tmp/stdin"
   12244   case $ac_file in
   12245   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12246   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12247   esac \
   12248   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12249  ;;
   12250   :H)
   12251   #
   12252   # CONFIG_HEADER
   12253   #
   12254   if test x"$ac_file" != x-; then
   12255     {
   12256       $as_echo "/* $configure_input  */" \
   12257       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12258     } >"$ac_tmp/config.h" \
   12259       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12260     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12261       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12262 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12263     else
   12264       rm -f "$ac_file"
   12265       mv "$ac_tmp/config.h" "$ac_file" \
   12266 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12267     fi
   12268   else
   12269     $as_echo "/* $configure_input  */" \
   12270       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12271       || as_fn_error $? "could not create -" "$LINENO" 5
   12272   fi
   12273 # Compute "$ac_file"'s index in $config_headers.
   12274 _am_arg="$ac_file"
   12275 _am_stamp_count=1
   12276 for _am_header in $config_headers :; do
   12277   case $_am_header in
   12278     $_am_arg | $_am_arg:* )
   12279       break ;;
   12280     * )
   12281       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12282   esac
   12283 done
   12284 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12285 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12286 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12287 	 X"$_am_arg" : 'X\(//\)$' \| \
   12288 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12289 $as_echo X"$_am_arg" |
   12290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12291 	    s//\1/
   12292 	    q
   12293 	  }
   12294 	  /^X\(\/\/\)[^/].*/{
   12295 	    s//\1/
   12296 	    q
   12297 	  }
   12298 	  /^X\(\/\/\)$/{
   12299 	    s//\1/
   12300 	    q
   12301 	  }
   12302 	  /^X\(\/\).*/{
   12303 	    s//\1/
   12304 	    q
   12305 	  }
   12306 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12307  ;;
   12308 
   12309   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12310 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12311  ;;
   12312   esac
   12313 
   12314 
   12315   case $ac_file$ac_mode in
   12316     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12317   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12318   # are listed without --file.  Let's play safe and only enable the eval
   12319   # if we detect the quoting.
   12320   case $CONFIG_FILES in
   12321   *\'*) eval set x "$CONFIG_FILES" ;;
   12322   *)   set x $CONFIG_FILES ;;
   12323   esac
   12324   shift
   12325   for mf
   12326   do
   12327     # Strip MF so we end up with the name of the file.
   12328     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12329     # Check whether this is an Automake generated Makefile or not.
   12330     # We used to match only the files named `Makefile.in', but
   12331     # some people rename them; so instead we look at the file content.
   12332     # Grep'ing the first line is not enough: some people post-process
   12333     # each Makefile.in and add a new line on top of each file to say so.
   12334     # Grep'ing the whole file is not good either: AIX grep has a line
   12335     # limit of 2048, but all sed's we know have understand at least 4000.
   12336     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12337       dirpart=`$as_dirname -- "$mf" ||
   12338 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12339 	 X"$mf" : 'X\(//\)[^/]' \| \
   12340 	 X"$mf" : 'X\(//\)$' \| \
   12341 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12342 $as_echo X"$mf" |
   12343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12344 	    s//\1/
   12345 	    q
   12346 	  }
   12347 	  /^X\(\/\/\)[^/].*/{
   12348 	    s//\1/
   12349 	    q
   12350 	  }
   12351 	  /^X\(\/\/\)$/{
   12352 	    s//\1/
   12353 	    q
   12354 	  }
   12355 	  /^X\(\/\).*/{
   12356 	    s//\1/
   12357 	    q
   12358 	  }
   12359 	  s/.*/./; q'`
   12360     else
   12361       continue
   12362     fi
   12363     # Extract the definition of DEPDIR, am__include, and am__quote
   12364     # from the Makefile without running `make'.
   12365     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12366     test -z "$DEPDIR" && continue
   12367     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12368     test -z "am__include" && continue
   12369     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12370     # When using ansi2knr, U may be empty or an underscore; expand it
   12371     U=`sed -n 's/^U = //p' < "$mf"`
   12372     # Find all dependency output files, they are included files with
   12373     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12374     # simplest approach to changing $(DEPDIR) to its actual value in the
   12375     # expansion.
   12376     for file in `sed -n "
   12377       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12378 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12379       # Make sure the directory exists.
   12380       test -f "$dirpart/$file" && continue
   12381       fdir=`$as_dirname -- "$file" ||
   12382 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12383 	 X"$file" : 'X\(//\)[^/]' \| \
   12384 	 X"$file" : 'X\(//\)$' \| \
   12385 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12386 $as_echo X"$file" |
   12387     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12388 	    s//\1/
   12389 	    q
   12390 	  }
   12391 	  /^X\(\/\/\)[^/].*/{
   12392 	    s//\1/
   12393 	    q
   12394 	  }
   12395 	  /^X\(\/\/\)$/{
   12396 	    s//\1/
   12397 	    q
   12398 	  }
   12399 	  /^X\(\/\).*/{
   12400 	    s//\1/
   12401 	    q
   12402 	  }
   12403 	  s/.*/./; q'`
   12404       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12405       # echo "creating $dirpart/$file"
   12406       echo '# dummy' > "$dirpart/$file"
   12407     done
   12408   done
   12409 }
   12410  ;;
   12411 
   12412   esac
   12413 done # for ac_tag
   12414 
   12415 
   12416 as_fn_exit 0
   12417 _ACEOF
   12418 ac_clean_files=$ac_clean_files_save
   12419 
   12420 test $ac_write_fail = 0 ||
   12421   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12422 
   12423 
   12424 # configure is writing to config.log, and then calls config.status.
   12425 # config.status does its own redirection, appending to config.log.
   12426 # Unfortunately, on DOS this fails, as config.log is still kept open
   12427 # by configure, so config.status won't be able to write to it; its
   12428 # output is simply discarded.  So we exec the FD to /dev/null,
   12429 # effectively closing config.log, so it can be properly (re)opened and
   12430 # appended to by config.status.  When coming back to configure, we
   12431 # need to make the FD available again.
   12432 if test "$no_create" != yes; then
   12433   ac_cs_success=:
   12434   ac_config_status_args=
   12435   test "$silent" = yes &&
   12436     ac_config_status_args="$ac_config_status_args --quiet"
   12437   exec 5>/dev/null
   12438   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12439   exec 5>>config.log
   12440   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12441   # would make configure fail if this is the last instruction.
   12442   $ac_cs_success || as_fn_exit 1
   12443 fi
   12444 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12446 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12447 fi
   12448 
   12449