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 xfs 1.1.3.
      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 as_awk_strverscmp='
    541   # Use only awk features that work with 7th edition Unix awk (1978).
    542   # My, what an old awk you have, Mr. Solaris!
    543   END {
    544     while (length(v1) && length(v2)) {
    545       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    546       # Normally this is a single character, but if v1 and v2 contain digits,
    547       # compare them as integers and fractions as strverscmp does.
    548       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    549 	# Split v1 and v2 into their leading digit string components d1 and d2,
    550 	# and advance v1 and v2 past the leading digit strings.
    551 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    552 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    553 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    554 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    555 	if (d1 ~ /^0/) {
    556 	  if (d2 ~ /^0/) {
    557 	    # Compare two fractions.
    558 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    559 	      d1 = substr(d1, 2); len1--
    560 	      d2 = substr(d2, 2); len2--
    561 	    }
    562 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    563 	      # The two components differ in length, and the common prefix
    564 	      # contains only leading zeros.  Consider the longer to be less.
    565 	      d1 = -len1
    566 	      d2 = -len2
    567 	    } else {
    568 	      # Otherwise, compare as strings.
    569 	      d1 = "x" d1
    570 	      d2 = "x" d2
    571 	    }
    572 	  } else {
    573 	    # A fraction is less than an integer.
    574 	    exit 1
    575 	  }
    576 	} else {
    577 	  if (d2 ~ /^0/) {
    578 	    # An integer is greater than a fraction.
    579 	    exit 2
    580 	  } else {
    581 	    # Compare two integers.
    582 	    d1 += 0
    583 	    d2 += 0
    584 	  }
    585 	}
    586       } else {
    587 	# The normal case, without worrying about digits.
    588 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    589 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    590       }
    591       if (d1 < d2) exit 1
    592       if (d1 > d2) exit 2
    593     }
    594     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    595     # which mishandles some comparisons of empty strings to integers.
    596     if (length(v2)) exit 1
    597     if (length(v1)) exit 2
    598   }
    599 '
    600 
    601 test -n "$DJDIR" || exec 7<&0 </dev/null
    602 exec 6>&1
    603 
    604 # Name of the host.
    605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    606 # so uname gets run too.
    607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    608 
    609 #
    610 # Initializations.
    611 #
    612 ac_default_prefix=/usr/local
    613 ac_clean_files=
    614 ac_config_libobj_dir=.
    615 LIBOBJS=
    616 cross_compiling=no
    617 subdirs=
    618 MFLAGS=
    619 MAKEFLAGS=
    620 
    621 # Identity of this package.
    622 PACKAGE_NAME='xfs'
    623 PACKAGE_TARNAME='xfs'
    624 PACKAGE_VERSION='1.1.3'
    625 PACKAGE_STRING='xfs 1.1.3'
    626 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    627 PACKAGE_URL=''
    628 
    629 # Factoring default headers for most tests.
    630 ac_includes_default="\
    631 #include <stdio.h>
    632 #ifdef HAVE_SYS_TYPES_H
    633 # include <sys/types.h>
    634 #endif
    635 #ifdef HAVE_SYS_STAT_H
    636 # include <sys/stat.h>
    637 #endif
    638 #ifdef STDC_HEADERS
    639 # include <stdlib.h>
    640 # include <stddef.h>
    641 #else
    642 # ifdef HAVE_STDLIB_H
    643 #  include <stdlib.h>
    644 # endif
    645 #endif
    646 #ifdef HAVE_STRING_H
    647 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    648 #  include <memory.h>
    649 # endif
    650 # include <string.h>
    651 #endif
    652 #ifdef HAVE_STRINGS_H
    653 # include <strings.h>
    654 #endif
    655 #ifdef HAVE_INTTYPES_H
    656 # include <inttypes.h>
    657 #endif
    658 #ifdef HAVE_STDINT_H
    659 # include <stdint.h>
    660 #endif
    661 #ifdef HAVE_UNISTD_H
    662 # include <unistd.h>
    663 #endif"
    664 
    665 ac_subst_vars='am__EXEEXT_FALSE
    666 am__EXEEXT_TRUE
    667 LTLIBOBJS
    668 LIBOBJS
    669 XFS_LIBS
    670 XFS_CFLAGS
    671 FONTPATH
    672 FONT100DPIDIR
    673 FONT75DPIDIR
    674 FONTTYPE1DIR
    675 FONTTTFDIR
    676 FONTOTFDIR
    677 FONTMISCDIR
    678 FONTROOTDIR
    679 CONFIG_FILE_PATH
    680 CONFIG_FILE_DESC
    681 DEFAULT_CONFIG_FILE
    682 LINT_FALSE
    683 LINT_TRUE
    684 LINT_FLAGS
    685 LINT
    686 HAVE_STYLESHEETS_FALSE
    687 HAVE_STYLESHEETS_TRUE
    688 XSL_STYLESHEET
    689 STYLESHEET_SRCDIR
    690 XORG_SGML_PATH
    691 HAVE_FOP_FALSE
    692 HAVE_FOP_TRUE
    693 FOP
    694 HAVE_XMLTO_FALSE
    695 HAVE_XMLTO_TRUE
    696 HAVE_XMLTO_TEXT_FALSE
    697 HAVE_XMLTO_TEXT_TRUE
    698 XMLTO
    699 ENABLE_DEVEL_DOCS_FALSE
    700 ENABLE_DEVEL_DOCS_TRUE
    701 AM_BACKSLASH
    702 AM_DEFAULT_VERBOSITY
    703 MAN_SUBSTS
    704 XORG_MAN_PAGE
    705 ADMIN_MAN_DIR
    706 DRIVER_MAN_DIR
    707 MISC_MAN_DIR
    708 FILE_MAN_DIR
    709 LIB_MAN_DIR
    710 APP_MAN_DIR
    711 ADMIN_MAN_SUFFIX
    712 DRIVER_MAN_SUFFIX
    713 MISC_MAN_SUFFIX
    714 FILE_MAN_SUFFIX
    715 LIB_MAN_SUFFIX
    716 APP_MAN_SUFFIX
    717 SED
    718 host_os
    719 host_vendor
    720 host_cpu
    721 host
    722 build_os
    723 build_vendor
    724 build_cpu
    725 build
    726 INSTALL_CMD
    727 PKG_CONFIG
    728 CHANGELOG_CMD
    729 STRICT_CFLAGS
    730 CWARNFLAGS
    731 BASE_CFLAGS
    732 MAINT
    733 MAINTAINER_MODE_FALSE
    734 MAINTAINER_MODE_TRUE
    735 am__fastdepCC_FALSE
    736 am__fastdepCC_TRUE
    737 CCDEPMODE
    738 am__nodep
    739 AMDEPBACKSLASH
    740 AMDEP_FALSE
    741 AMDEP_TRUE
    742 am__quote
    743 am__include
    744 DEPDIR
    745 am__untar
    746 am__tar
    747 AMTAR
    748 am__leading_dot
    749 SET_MAKE
    750 AWK
    751 mkdir_p
    752 MKDIR_P
    753 INSTALL_STRIP_PROGRAM
    754 STRIP
    755 install_sh
    756 MAKEINFO
    757 AUTOHEADER
    758 AUTOMAKE
    759 AUTOCONF
    760 ACLOCAL
    761 VERSION
    762 PACKAGE
    763 CYGPATH_W
    764 am__isrc
    765 INSTALL_DATA
    766 INSTALL_SCRIPT
    767 INSTALL_PROGRAM
    768 EGREP
    769 GREP
    770 CPP
    771 OBJEXT
    772 EXEEXT
    773 ac_ct_CC
    774 CPPFLAGS
    775 LDFLAGS
    776 CFLAGS
    777 CC
    778 target_alias
    779 host_alias
    780 build_alias
    781 LIBS
    782 ECHO_T
    783 ECHO_N
    784 ECHO_C
    785 DEFS
    786 mandir
    787 localedir
    788 libdir
    789 psdir
    790 pdfdir
    791 dvidir
    792 htmldir
    793 infodir
    794 docdir
    795 oldincludedir
    796 includedir
    797 localstatedir
    798 sharedstatedir
    799 sysconfdir
    800 datadir
    801 datarootdir
    802 libexecdir
    803 sbindir
    804 bindir
    805 program_transform_name
    806 prefix
    807 exec_prefix
    808 PACKAGE_URL
    809 PACKAGE_BUGREPORT
    810 PACKAGE_STRING
    811 PACKAGE_VERSION
    812 PACKAGE_TARNAME
    813 PACKAGE_NAME
    814 PATH_SEPARATOR
    815 SHELL'
    816 ac_subst_files=''
    817 ac_user_opts='
    818 enable_option_checking
    819 enable_dependency_tracking
    820 enable_maintainer_mode
    821 enable_selective_werror
    822 enable_strict_compilation
    823 enable_silent_rules
    824 enable_devel_docs
    825 with_xmlto
    826 with_fop
    827 with_lint
    828 with_default_config_file
    829 with_fontrootdir
    830 with_fontmiscdir
    831 with_fontotfdir
    832 with_fontttfdir
    833 with_fonttype1dir
    834 with_font75dpidir
    835 with_font100dpidir
    836 with_default_font_path
    837 enable_inetd
    838 enable_syslog
    839 enable_unix_transport
    840 enable_tcp_transport
    841 enable_ipv6
    842 enable_local_transport
    843 '
    844       ac_precious_vars='build_alias
    845 host_alias
    846 target_alias
    847 CC
    848 CFLAGS
    849 LDFLAGS
    850 LIBS
    851 CPPFLAGS
    852 CPP
    853 PKG_CONFIG
    854 XMLTO
    855 FOP
    856 LINT
    857 LINT_FLAGS
    858 XFS_CFLAGS
    859 XFS_LIBS'
    860 
    861 
    862 # Initialize some variables set by options.
    863 ac_init_help=
    864 ac_init_version=false
    865 ac_unrecognized_opts=
    866 ac_unrecognized_sep=
    867 # The variables have the same names as the options, with
    868 # dashes changed to underlines.
    869 cache_file=/dev/null
    870 exec_prefix=NONE
    871 no_create=
    872 no_recursion=
    873 prefix=NONE
    874 program_prefix=NONE
    875 program_suffix=NONE
    876 program_transform_name=s,x,x,
    877 silent=
    878 site=
    879 srcdir=
    880 verbose=
    881 x_includes=NONE
    882 x_libraries=NONE
    883 
    884 # Installation directory options.
    885 # These are left unexpanded so users can "make install exec_prefix=/foo"
    886 # and all the variables that are supposed to be based on exec_prefix
    887 # by default will actually change.
    888 # Use braces instead of parens because sh, perl, etc. also accept them.
    889 # (The list follows the same order as the GNU Coding Standards.)
    890 bindir='${exec_prefix}/bin'
    891 sbindir='${exec_prefix}/sbin'
    892 libexecdir='${exec_prefix}/libexec'
    893 datarootdir='${prefix}/share'
    894 datadir='${datarootdir}'
    895 sysconfdir='${prefix}/etc'
    896 sharedstatedir='${prefix}/com'
    897 localstatedir='${prefix}/var'
    898 includedir='${prefix}/include'
    899 oldincludedir='/usr/include'
    900 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    901 infodir='${datarootdir}/info'
    902 htmldir='${docdir}'
    903 dvidir='${docdir}'
    904 pdfdir='${docdir}'
    905 psdir='${docdir}'
    906 libdir='${exec_prefix}/lib'
    907 localedir='${datarootdir}/locale'
    908 mandir='${datarootdir}/man'
    909 
    910 ac_prev=
    911 ac_dashdash=
    912 for ac_option
    913 do
    914   # If the previous option needs an argument, assign it.
    915   if test -n "$ac_prev"; then
    916     eval $ac_prev=\$ac_option
    917     ac_prev=
    918     continue
    919   fi
    920 
    921   case $ac_option in
    922   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    923   *=)   ac_optarg= ;;
    924   *)    ac_optarg=yes ;;
    925   esac
    926 
    927   # Accept the important Cygnus configure options, so we can diagnose typos.
    928 
    929   case $ac_dashdash$ac_option in
    930   --)
    931     ac_dashdash=yes ;;
    932 
    933   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    934     ac_prev=bindir ;;
    935   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    936     bindir=$ac_optarg ;;
    937 
    938   -build | --build | --buil | --bui | --bu)
    939     ac_prev=build_alias ;;
    940   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    941     build_alias=$ac_optarg ;;
    942 
    943   -cache-file | --cache-file | --cache-fil | --cache-fi \
    944   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    945     ac_prev=cache_file ;;
    946   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    947   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    948     cache_file=$ac_optarg ;;
    949 
    950   --config-cache | -C)
    951     cache_file=config.cache ;;
    952 
    953   -datadir | --datadir | --datadi | --datad)
    954     ac_prev=datadir ;;
    955   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    956     datadir=$ac_optarg ;;
    957 
    958   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    959   | --dataroo | --dataro | --datar)
    960     ac_prev=datarootdir ;;
    961   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    962   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    963     datarootdir=$ac_optarg ;;
    964 
    965   -disable-* | --disable-*)
    966     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    967     # Reject names that are not valid shell variable names.
    968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    969       as_fn_error $? "invalid feature name: $ac_useropt"
    970     ac_useropt_orig=$ac_useropt
    971     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    972     case $ac_user_opts in
    973       *"
    974 "enable_$ac_useropt"
    975 "*) ;;
    976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    977 	 ac_unrecognized_sep=', ';;
    978     esac
    979     eval enable_$ac_useropt=no ;;
    980 
    981   -docdir | --docdir | --docdi | --doc | --do)
    982     ac_prev=docdir ;;
    983   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    984     docdir=$ac_optarg ;;
    985 
    986   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    987     ac_prev=dvidir ;;
    988   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    989     dvidir=$ac_optarg ;;
    990 
    991   -enable-* | --enable-*)
    992     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    993     # Reject names that are not valid shell variable names.
    994     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    995       as_fn_error $? "invalid feature name: $ac_useropt"
    996     ac_useropt_orig=$ac_useropt
    997     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    998     case $ac_user_opts in
    999       *"
   1000 "enable_$ac_useropt"
   1001 "*) ;;
   1002       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1003 	 ac_unrecognized_sep=', ';;
   1004     esac
   1005     eval enable_$ac_useropt=\$ac_optarg ;;
   1006 
   1007   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1008   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1009   | --exec | --exe | --ex)
   1010     ac_prev=exec_prefix ;;
   1011   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1012   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1013   | --exec=* | --exe=* | --ex=*)
   1014     exec_prefix=$ac_optarg ;;
   1015 
   1016   -gas | --gas | --ga | --g)
   1017     # Obsolete; use --with-gas.
   1018     with_gas=yes ;;
   1019 
   1020   -help | --help | --hel | --he | -h)
   1021     ac_init_help=long ;;
   1022   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1023     ac_init_help=recursive ;;
   1024   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1025     ac_init_help=short ;;
   1026 
   1027   -host | --host | --hos | --ho)
   1028     ac_prev=host_alias ;;
   1029   -host=* | --host=* | --hos=* | --ho=*)
   1030     host_alias=$ac_optarg ;;
   1031 
   1032   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1033     ac_prev=htmldir ;;
   1034   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1035   | --ht=*)
   1036     htmldir=$ac_optarg ;;
   1037 
   1038   -includedir | --includedir | --includedi | --included | --include \
   1039   | --includ | --inclu | --incl | --inc)
   1040     ac_prev=includedir ;;
   1041   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1042   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1043     includedir=$ac_optarg ;;
   1044 
   1045   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1046     ac_prev=infodir ;;
   1047   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1048     infodir=$ac_optarg ;;
   1049 
   1050   -libdir | --libdir | --libdi | --libd)
   1051     ac_prev=libdir ;;
   1052   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1053     libdir=$ac_optarg ;;
   1054 
   1055   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1056   | --libexe | --libex | --libe)
   1057     ac_prev=libexecdir ;;
   1058   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1059   | --libexe=* | --libex=* | --libe=*)
   1060     libexecdir=$ac_optarg ;;
   1061 
   1062   -localedir | --localedir | --localedi | --localed | --locale)
   1063     ac_prev=localedir ;;
   1064   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1065     localedir=$ac_optarg ;;
   1066 
   1067   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1068   | --localstate | --localstat | --localsta | --localst | --locals)
   1069     ac_prev=localstatedir ;;
   1070   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1071   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1072     localstatedir=$ac_optarg ;;
   1073 
   1074   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1075     ac_prev=mandir ;;
   1076   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1077     mandir=$ac_optarg ;;
   1078 
   1079   -nfp | --nfp | --nf)
   1080     # Obsolete; use --without-fp.
   1081     with_fp=no ;;
   1082 
   1083   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1084   | --no-cr | --no-c | -n)
   1085     no_create=yes ;;
   1086 
   1087   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1088   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1089     no_recursion=yes ;;
   1090 
   1091   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1092   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1093   | --oldin | --oldi | --old | --ol | --o)
   1094     ac_prev=oldincludedir ;;
   1095   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1096   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1097   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1098     oldincludedir=$ac_optarg ;;
   1099 
   1100   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1101     ac_prev=prefix ;;
   1102   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1103     prefix=$ac_optarg ;;
   1104 
   1105   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1106   | --program-pre | --program-pr | --program-p)
   1107     ac_prev=program_prefix ;;
   1108   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1109   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1110     program_prefix=$ac_optarg ;;
   1111 
   1112   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1113   | --program-suf | --program-su | --program-s)
   1114     ac_prev=program_suffix ;;
   1115   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1116   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1117     program_suffix=$ac_optarg ;;
   1118 
   1119   -program-transform-name | --program-transform-name \
   1120   | --program-transform-nam | --program-transform-na \
   1121   | --program-transform-n | --program-transform- \
   1122   | --program-transform | --program-transfor \
   1123   | --program-transfo | --program-transf \
   1124   | --program-trans | --program-tran \
   1125   | --progr-tra | --program-tr | --program-t)
   1126     ac_prev=program_transform_name ;;
   1127   -program-transform-name=* | --program-transform-name=* \
   1128   | --program-transform-nam=* | --program-transform-na=* \
   1129   | --program-transform-n=* | --program-transform-=* \
   1130   | --program-transform=* | --program-transfor=* \
   1131   | --program-transfo=* | --program-transf=* \
   1132   | --program-trans=* | --program-tran=* \
   1133   | --progr-tra=* | --program-tr=* | --program-t=*)
   1134     program_transform_name=$ac_optarg ;;
   1135 
   1136   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1137     ac_prev=pdfdir ;;
   1138   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1139     pdfdir=$ac_optarg ;;
   1140 
   1141   -psdir | --psdir | --psdi | --psd | --ps)
   1142     ac_prev=psdir ;;
   1143   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1144     psdir=$ac_optarg ;;
   1145 
   1146   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1147   | -silent | --silent | --silen | --sile | --sil)
   1148     silent=yes ;;
   1149 
   1150   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1151     ac_prev=sbindir ;;
   1152   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1153   | --sbi=* | --sb=*)
   1154     sbindir=$ac_optarg ;;
   1155 
   1156   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1157   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1158   | --sharedst | --shareds | --shared | --share | --shar \
   1159   | --sha | --sh)
   1160     ac_prev=sharedstatedir ;;
   1161   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1162   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1163   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1164   | --sha=* | --sh=*)
   1165     sharedstatedir=$ac_optarg ;;
   1166 
   1167   -site | --site | --sit)
   1168     ac_prev=site ;;
   1169   -site=* | --site=* | --sit=*)
   1170     site=$ac_optarg ;;
   1171 
   1172   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1173     ac_prev=srcdir ;;
   1174   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1175     srcdir=$ac_optarg ;;
   1176 
   1177   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1178   | --syscon | --sysco | --sysc | --sys | --sy)
   1179     ac_prev=sysconfdir ;;
   1180   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1181   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1182     sysconfdir=$ac_optarg ;;
   1183 
   1184   -target | --target | --targe | --targ | --tar | --ta | --t)
   1185     ac_prev=target_alias ;;
   1186   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1187     target_alias=$ac_optarg ;;
   1188 
   1189   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1190     verbose=yes ;;
   1191 
   1192   -version | --version | --versio | --versi | --vers | -V)
   1193     ac_init_version=: ;;
   1194 
   1195   -with-* | --with-*)
   1196     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1197     # Reject names that are not valid shell variable names.
   1198     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1199       as_fn_error $? "invalid package name: $ac_useropt"
   1200     ac_useropt_orig=$ac_useropt
   1201     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1202     case $ac_user_opts in
   1203       *"
   1204 "with_$ac_useropt"
   1205 "*) ;;
   1206       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1207 	 ac_unrecognized_sep=', ';;
   1208     esac
   1209     eval with_$ac_useropt=\$ac_optarg ;;
   1210 
   1211   -without-* | --without-*)
   1212     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1213     # Reject names that are not valid shell variable names.
   1214     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1215       as_fn_error $? "invalid package name: $ac_useropt"
   1216     ac_useropt_orig=$ac_useropt
   1217     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1218     case $ac_user_opts in
   1219       *"
   1220 "with_$ac_useropt"
   1221 "*) ;;
   1222       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1223 	 ac_unrecognized_sep=', ';;
   1224     esac
   1225     eval with_$ac_useropt=no ;;
   1226 
   1227   --x)
   1228     # Obsolete; use --with-x.
   1229     with_x=yes ;;
   1230 
   1231   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1232   | --x-incl | --x-inc | --x-in | --x-i)
   1233     ac_prev=x_includes ;;
   1234   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1235   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1236     x_includes=$ac_optarg ;;
   1237 
   1238   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1239   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1240     ac_prev=x_libraries ;;
   1241   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1242   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1243     x_libraries=$ac_optarg ;;
   1244 
   1245   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1246 Try \`$0 --help' for more information"
   1247     ;;
   1248 
   1249   *=*)
   1250     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1251     # Reject names that are not valid shell variable names.
   1252     case $ac_envvar in #(
   1253       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1254       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1255     esac
   1256     eval $ac_envvar=\$ac_optarg
   1257     export $ac_envvar ;;
   1258 
   1259   *)
   1260     # FIXME: should be removed in autoconf 3.0.
   1261     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1262     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1263       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1264     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1265     ;;
   1266 
   1267   esac
   1268 done
   1269 
   1270 if test -n "$ac_prev"; then
   1271   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1272   as_fn_error $? "missing argument to $ac_option"
   1273 fi
   1274 
   1275 if test -n "$ac_unrecognized_opts"; then
   1276   case $enable_option_checking in
   1277     no) ;;
   1278     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1279     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1280   esac
   1281 fi
   1282 
   1283 # Check all directory arguments for consistency.
   1284 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1285 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1286 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1287 		libdir localedir mandir
   1288 do
   1289   eval ac_val=\$$ac_var
   1290   # Remove trailing slashes.
   1291   case $ac_val in
   1292     */ )
   1293       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1294       eval $ac_var=\$ac_val;;
   1295   esac
   1296   # Be sure to have absolute directory names.
   1297   case $ac_val in
   1298     [\\/$]* | ?:[\\/]* )  continue;;
   1299     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1300   esac
   1301   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1302 done
   1303 
   1304 # There might be people who depend on the old broken behavior: `$host'
   1305 # used to hold the argument of --host etc.
   1306 # FIXME: To remove some day.
   1307 build=$build_alias
   1308 host=$host_alias
   1309 target=$target_alias
   1310 
   1311 # FIXME: To remove some day.
   1312 if test "x$host_alias" != x; then
   1313   if test "x$build_alias" = x; then
   1314     cross_compiling=maybe
   1315     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1316     If a cross compiler is detected then cross compile mode will be used" >&2
   1317   elif test "x$build_alias" != "x$host_alias"; then
   1318     cross_compiling=yes
   1319   fi
   1320 fi
   1321 
   1322 ac_tool_prefix=
   1323 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1324 
   1325 test "$silent" = yes && exec 6>/dev/null
   1326 
   1327 
   1328 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1329 ac_ls_di=`ls -di .` &&
   1330 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1331   as_fn_error $? "working directory cannot be determined"
   1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1333   as_fn_error $? "pwd does not report name of working directory"
   1334 
   1335 
   1336 # Find the source files, if location was not specified.
   1337 if test -z "$srcdir"; then
   1338   ac_srcdir_defaulted=yes
   1339   # Try the directory containing this script, then the parent directory.
   1340   ac_confdir=`$as_dirname -- "$as_myself" ||
   1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1342 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1343 	 X"$as_myself" : 'X\(//\)$' \| \
   1344 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1345 $as_echo X"$as_myself" |
   1346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)[^/].*/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\/\)$/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  /^X\(\/\).*/{
   1359 	    s//\1/
   1360 	    q
   1361 	  }
   1362 	  s/.*/./; q'`
   1363   srcdir=$ac_confdir
   1364   if test ! -r "$srcdir/$ac_unique_file"; then
   1365     srcdir=..
   1366   fi
   1367 else
   1368   ac_srcdir_defaulted=no
   1369 fi
   1370 if test ! -r "$srcdir/$ac_unique_file"; then
   1371   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1372   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1373 fi
   1374 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1375 ac_abs_confdir=`(
   1376 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1377 	pwd)`
   1378 # When building in place, set srcdir=.
   1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1380   srcdir=.
   1381 fi
   1382 # Remove unnecessary trailing slashes from srcdir.
   1383 # Double slashes in file names in object file debugging info
   1384 # mess up M-x gdb in Emacs.
   1385 case $srcdir in
   1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1387 esac
   1388 for ac_var in $ac_precious_vars; do
   1389   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1390   eval ac_env_${ac_var}_value=\$${ac_var}
   1391   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1392   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1393 done
   1394 
   1395 #
   1396 # Report the --help message.
   1397 #
   1398 if test "$ac_init_help" = "long"; then
   1399   # Omit some internal or obsolete options to make the list less imposing.
   1400   # This message is too long to be a string in the A/UX 3.1 sh.
   1401   cat <<_ACEOF
   1402 \`configure' configures xfs 1.1.3 to adapt to many kinds of systems.
   1403 
   1404 Usage: $0 [OPTION]... [VAR=VALUE]...
   1405 
   1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1407 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1408 
   1409 Defaults for the options are specified in brackets.
   1410 
   1411 Configuration:
   1412   -h, --help              display this help and exit
   1413       --help=short        display options specific to this package
   1414       --help=recursive    display the short help of all the included packages
   1415   -V, --version           display version information and exit
   1416   -q, --quiet, --silent   do not print \`checking ...' messages
   1417       --cache-file=FILE   cache test results in FILE [disabled]
   1418   -C, --config-cache      alias for \`--cache-file=config.cache'
   1419   -n, --no-create         do not create output files
   1420       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1421 
   1422 Installation directories:
   1423   --prefix=PREFIX         install architecture-independent files in PREFIX
   1424                           [$ac_default_prefix]
   1425   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1426                           [PREFIX]
   1427 
   1428 By default, \`make install' will install all the files in
   1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1431 for instance \`--prefix=\$HOME'.
   1432 
   1433 For better control, use the options below.
   1434 
   1435 Fine tuning of the installation directories:
   1436   --bindir=DIR            user executables [EPREFIX/bin]
   1437   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1438   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1439   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1440   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1441   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1442   --libdir=DIR            object code libraries [EPREFIX/lib]
   1443   --includedir=DIR        C header files [PREFIX/include]
   1444   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1445   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1446   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1447   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1448   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1449   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1450   --docdir=DIR            documentation root [DATAROOTDIR/doc/xfs]
   1451   --htmldir=DIR           html documentation [DOCDIR]
   1452   --dvidir=DIR            dvi documentation [DOCDIR]
   1453   --pdfdir=DIR            pdf documentation [DOCDIR]
   1454   --psdir=DIR             ps documentation [DOCDIR]
   1455 _ACEOF
   1456 
   1457   cat <<\_ACEOF
   1458 
   1459 Program names:
   1460   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1461   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1462   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1463 
   1464 System types:
   1465   --build=BUILD     configure for building on BUILD [guessed]
   1466   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1467 _ACEOF
   1468 fi
   1469 
   1470 if test -n "$ac_init_help"; then
   1471   case $ac_init_help in
   1472      short | recursive ) echo "Configuration of xfs 1.1.3:";;
   1473    esac
   1474   cat <<\_ACEOF
   1475 
   1476 Optional Features:
   1477   --disable-option-checking  ignore unrecognized --enable/--with options
   1478   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1479   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1480   --disable-dependency-tracking  speeds up one-time build
   1481   --enable-dependency-tracking   do not reject slow dependency extractors
   1482   --enable-maintainer-mode  enable make rules and dependencies not useful
   1483 			  (and sometimes confusing) to the casual installer
   1484   --disable-selective-werror
   1485                           Turn off selective compiler errors. (default:
   1486                           enabled)
   1487   --enable-strict-compilation
   1488                           Enable all warnings from compiler and make them
   1489                           errors (default: disabled)
   1490   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1491   --disable-silent-rules         verbose build output (undo: `make V=0')
   1492   --enable-devel-docs     Enable building the developer documentation
   1493                           (default: yes)
   1494   --enable-inetd          Support -inetd flag for starting from inetd
   1495                           (default: enabled)
   1496   --enable-syslog         Support option for logging via syslog (default:
   1497                           enabled)
   1498   --enable-unix-transport Enable UNIX domain socket transport
   1499   --enable-tcp-transport  Enable TCP socket transport
   1500   --enable-ipv6           Enable IPv6 support
   1501   --enable-local-transport
   1502                           Enable os-specific local transport
   1503 
   1504 Optional Packages:
   1505   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1506   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1507   --with-xmlto            Use xmlto to regenerate documentation (default:
   1508                           auto)
   1509   --with-fop              Use fop to regenerate documentation (default: auto)
   1510   --with-lint             Use a lint-style source code checker (default:
   1511                           disabled)
   1512   --with-default-config-file=PATH
   1513                           comma-separated list of paths to look for config
   1514                           file when not specified (default:
   1515                           ${sysconfdir}/X11/fs/config)
   1516   --with-fontrootdir=DIR  Path to root directory for font files
   1517   --with-fontmiscdir=DIR  Path to misc files [FONTROOTDIR/misc]
   1518   --with-fontotfdir=DIR   Path to OTF files [FONTROOTDIR/OTF]
   1519   --with-fontttfdir=DIR   Path to TTF files [FONTROOTDIR/TTF]
   1520   --with-fonttype1dir=DIR Path to Type1 files [FONTROOTDIR/Type1]
   1521   --with-font75dpidir=DIR Path to 75dpi files [FONTROOTDIR/75dpi]
   1522   --with-font100dpidir=DIR
   1523                           Path to 100dpi files [FONTROOTDIR/100dpi]
   1524   --with-default-font-path=PATH
   1525                           Comma separated list of font dirs
   1526 
   1527 Some influential environment variables:
   1528   CC          C compiler command
   1529   CFLAGS      C compiler flags
   1530   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1531               nonstandard directory <lib dir>
   1532   LIBS        libraries to pass to the linker, e.g. -l<library>
   1533   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1534               you have headers in a nonstandard directory <include dir>
   1535   CPP         C preprocessor
   1536   PKG_CONFIG  path to pkg-config utility
   1537   XMLTO       Path to xmlto command
   1538   FOP         Path to fop command
   1539   LINT        Path to a lint-style command
   1540   LINT_FLAGS  Flags for the lint-style command
   1541   XFS_CFLAGS  C compiler flags for XFS, overriding pkg-config
   1542   XFS_LIBS    linker flags for XFS, overriding pkg-config
   1543 
   1544 Use these variables to override the choices made by `configure' or to help
   1545 it to find libraries and programs with nonstandard names/locations.
   1546 
   1547 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1548 _ACEOF
   1549 ac_status=$?
   1550 fi
   1551 
   1552 if test "$ac_init_help" = "recursive"; then
   1553   # If there are subdirs, report their specific --help.
   1554   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1555     test -d "$ac_dir" ||
   1556       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1557       continue
   1558     ac_builddir=.
   1559 
   1560 case "$ac_dir" in
   1561 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1562 *)
   1563   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1564   # A ".." for each directory in $ac_dir_suffix.
   1565   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1566   case $ac_top_builddir_sub in
   1567   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1568   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1569   esac ;;
   1570 esac
   1571 ac_abs_top_builddir=$ac_pwd
   1572 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1573 # for backward compatibility:
   1574 ac_top_builddir=$ac_top_build_prefix
   1575 
   1576 case $srcdir in
   1577   .)  # We are building in place.
   1578     ac_srcdir=.
   1579     ac_top_srcdir=$ac_top_builddir_sub
   1580     ac_abs_top_srcdir=$ac_pwd ;;
   1581   [\\/]* | ?:[\\/]* )  # Absolute name.
   1582     ac_srcdir=$srcdir$ac_dir_suffix;
   1583     ac_top_srcdir=$srcdir
   1584     ac_abs_top_srcdir=$srcdir ;;
   1585   *) # Relative name.
   1586     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1587     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1588     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1589 esac
   1590 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1591 
   1592     cd "$ac_dir" || { ac_status=$?; continue; }
   1593     # Check for guested configure.
   1594     if test -f "$ac_srcdir/configure.gnu"; then
   1595       echo &&
   1596       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1597     elif test -f "$ac_srcdir/configure"; then
   1598       echo &&
   1599       $SHELL "$ac_srcdir/configure" --help=recursive
   1600     else
   1601       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1602     fi || ac_status=$?
   1603     cd "$ac_pwd" || { ac_status=$?; break; }
   1604   done
   1605 fi
   1606 
   1607 test -n "$ac_init_help" && exit $ac_status
   1608 if $ac_init_version; then
   1609   cat <<\_ACEOF
   1610 xfs configure 1.1.3
   1611 generated by GNU Autoconf 2.68
   1612 
   1613 Copyright (C) 2010 Free Software Foundation, Inc.
   1614 This configure script is free software; the Free Software Foundation
   1615 gives unlimited permission to copy, distribute and modify it.
   1616 _ACEOF
   1617   exit
   1618 fi
   1619 
   1620 ## ------------------------ ##
   1621 ## Autoconf initialization. ##
   1622 ## ------------------------ ##
   1623 
   1624 # ac_fn_c_try_compile LINENO
   1625 # --------------------------
   1626 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1627 ac_fn_c_try_compile ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   rm -f conftest.$ac_objext
   1631   if { { ac_try="$ac_compile"
   1632 case "(($ac_try" in
   1633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1634   *) ac_try_echo=$ac_try;;
   1635 esac
   1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1637 $as_echo "$ac_try_echo"; } >&5
   1638   (eval "$ac_compile") 2>conftest.err
   1639   ac_status=$?
   1640   if test -s conftest.err; then
   1641     grep -v '^ *+' conftest.err >conftest.er1
   1642     cat conftest.er1 >&5
   1643     mv -f conftest.er1 conftest.err
   1644   fi
   1645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1646   test $ac_status = 0; } && {
   1647 	 test -z "$ac_c_werror_flag" ||
   1648 	 test ! -s conftest.err
   1649        } && test -s conftest.$ac_objext; then :
   1650   ac_retval=0
   1651 else
   1652   $as_echo "$as_me: failed program was:" >&5
   1653 sed 's/^/| /' conftest.$ac_ext >&5
   1654 
   1655 	ac_retval=1
   1656 fi
   1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1658   as_fn_set_status $ac_retval
   1659 
   1660 } # ac_fn_c_try_compile
   1661 
   1662 # ac_fn_c_try_cpp LINENO
   1663 # ----------------------
   1664 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1665 ac_fn_c_try_cpp ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1669 case "(($ac_try" in
   1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1671   *) ac_try_echo=$ac_try;;
   1672 esac
   1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1674 $as_echo "$ac_try_echo"; } >&5
   1675   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1676   ac_status=$?
   1677   if test -s conftest.err; then
   1678     grep -v '^ *+' conftest.err >conftest.er1
   1679     cat conftest.er1 >&5
   1680     mv -f conftest.er1 conftest.err
   1681   fi
   1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1683   test $ac_status = 0; } > conftest.i && {
   1684 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1685 	 test ! -s conftest.err
   1686        }; then :
   1687   ac_retval=0
   1688 else
   1689   $as_echo "$as_me: failed program was:" >&5
   1690 sed 's/^/| /' conftest.$ac_ext >&5
   1691 
   1692     ac_retval=1
   1693 fi
   1694   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1695   as_fn_set_status $ac_retval
   1696 
   1697 } # ac_fn_c_try_cpp
   1698 
   1699 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1700 # -------------------------------------------------------
   1701 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1702 # the include files in INCLUDES and setting the cache variable VAR
   1703 # accordingly.
   1704 ac_fn_c_check_header_mongrel ()
   1705 {
   1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1707   if eval \${$3+:} false; then :
   1708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1709 $as_echo_n "checking for $2... " >&6; }
   1710 if eval \${$3+:} false; then :
   1711   $as_echo_n "(cached) " >&6
   1712 fi
   1713 eval ac_res=\$$3
   1714 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1715 $as_echo "$ac_res" >&6; }
   1716 else
   1717   # Is the header compilable?
   1718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1719 $as_echo_n "checking $2 usability... " >&6; }
   1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1721 /* end confdefs.h.  */
   1722 $4
   1723 #include <$2>
   1724 _ACEOF
   1725 if ac_fn_c_try_compile "$LINENO"; then :
   1726   ac_header_compiler=yes
   1727 else
   1728   ac_header_compiler=no
   1729 fi
   1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1732 $as_echo "$ac_header_compiler" >&6; }
   1733 
   1734 # Is the header present?
   1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1736 $as_echo_n "checking $2 presence... " >&6; }
   1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 #include <$2>
   1740 _ACEOF
   1741 if ac_fn_c_try_cpp "$LINENO"; then :
   1742   ac_header_preproc=yes
   1743 else
   1744   ac_header_preproc=no
   1745 fi
   1746 rm -f conftest.err conftest.i conftest.$ac_ext
   1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1748 $as_echo "$ac_header_preproc" >&6; }
   1749 
   1750 # So?  What about this header?
   1751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1752   yes:no: )
   1753     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1754 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1755     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1756 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1757     ;;
   1758   no:yes:* )
   1759     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1760 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1761     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1762 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1763     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1764 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1765     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1766 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1767     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1769 ( $as_echo "## ---------------------------------------------------------------------- ##
   1770 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1771 ## ---------------------------------------------------------------------- ##"
   1772      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1773     ;;
   1774 esac
   1775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1776 $as_echo_n "checking for $2... " >&6; }
   1777 if eval \${$3+:} false; then :
   1778   $as_echo_n "(cached) " >&6
   1779 else
   1780   eval "$3=\$ac_header_compiler"
   1781 fi
   1782 eval ac_res=\$$3
   1783 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1784 $as_echo "$ac_res" >&6; }
   1785 fi
   1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1787 
   1788 } # ac_fn_c_check_header_mongrel
   1789 
   1790 # ac_fn_c_try_run LINENO
   1791 # ----------------------
   1792 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1793 # that executables *can* be run.
   1794 ac_fn_c_try_run ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   if { { ac_try="$ac_link"
   1798 case "(($ac_try" in
   1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1800   *) ac_try_echo=$ac_try;;
   1801 esac
   1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1803 $as_echo "$ac_try_echo"; } >&5
   1804   (eval "$ac_link") 2>&5
   1805   ac_status=$?
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1808   { { case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_try") 2>&5
   1815   ac_status=$?
   1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; }; }; then :
   1818   ac_retval=0
   1819 else
   1820   $as_echo "$as_me: program exited with status $ac_status" >&5
   1821        $as_echo "$as_me: failed program was:" >&5
   1822 sed 's/^/| /' conftest.$ac_ext >&5
   1823 
   1824        ac_retval=$ac_status
   1825 fi
   1826   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828   as_fn_set_status $ac_retval
   1829 
   1830 } # ac_fn_c_try_run
   1831 
   1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1833 # -------------------------------------------------------
   1834 # Tests whether HEADER exists and can be compiled using the include files in
   1835 # INCLUDES, setting the cache variable VAR accordingly.
   1836 ac_fn_c_check_header_compile ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1840 $as_echo_n "checking for $2... " >&6; }
   1841 if eval \${$3+:} false; then :
   1842   $as_echo_n "(cached) " >&6
   1843 else
   1844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1845 /* end confdefs.h.  */
   1846 $4
   1847 #include <$2>
   1848 _ACEOF
   1849 if ac_fn_c_try_compile "$LINENO"; then :
   1850   eval "$3=yes"
   1851 else
   1852   eval "$3=no"
   1853 fi
   1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1855 fi
   1856 eval ac_res=\$$3
   1857 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1858 $as_echo "$ac_res" >&6; }
   1859   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1860 
   1861 } # ac_fn_c_check_header_compile
   1862 
   1863 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1864 # ---------------------------------------------
   1865 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1866 # accordingly.
   1867 ac_fn_c_check_decl ()
   1868 {
   1869   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1870   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1871   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1873 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1874 if eval \${$3+:} false; then :
   1875   $as_echo_n "(cached) " >&6
   1876 else
   1877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1878 /* end confdefs.h.  */
   1879 $4
   1880 int
   1881 main ()
   1882 {
   1883 #ifndef $as_decl_name
   1884 #ifdef __cplusplus
   1885   (void) $as_decl_use;
   1886 #else
   1887   (void) $as_decl_name;
   1888 #endif
   1889 #endif
   1890 
   1891   ;
   1892   return 0;
   1893 }
   1894 _ACEOF
   1895 if ac_fn_c_try_compile "$LINENO"; then :
   1896   eval "$3=yes"
   1897 else
   1898   eval "$3=no"
   1899 fi
   1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1901 fi
   1902 eval ac_res=\$$3
   1903 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1904 $as_echo "$ac_res" >&6; }
   1905   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1906 
   1907 } # ac_fn_c_check_decl
   1908 
   1909 # ac_fn_c_try_link LINENO
   1910 # -----------------------
   1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1912 ac_fn_c_try_link ()
   1913 {
   1914   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1915   rm -f conftest.$ac_objext conftest$ac_exeext
   1916   if { { ac_try="$ac_link"
   1917 case "(($ac_try" in
   1918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1919   *) ac_try_echo=$ac_try;;
   1920 esac
   1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1922 $as_echo "$ac_try_echo"; } >&5
   1923   (eval "$ac_link") 2>conftest.err
   1924   ac_status=$?
   1925   if test -s conftest.err; then
   1926     grep -v '^ *+' conftest.err >conftest.er1
   1927     cat conftest.er1 >&5
   1928     mv -f conftest.er1 conftest.err
   1929   fi
   1930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1931   test $ac_status = 0; } && {
   1932 	 test -z "$ac_c_werror_flag" ||
   1933 	 test ! -s conftest.err
   1934        } && test -s conftest$ac_exeext && {
   1935 	 test "$cross_compiling" = yes ||
   1936 	 $as_test_x conftest$ac_exeext
   1937        }; then :
   1938   ac_retval=0
   1939 else
   1940   $as_echo "$as_me: failed program was:" >&5
   1941 sed 's/^/| /' conftest.$ac_ext >&5
   1942 
   1943 	ac_retval=1
   1944 fi
   1945   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1946   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1947   # interfere with the next link command; also delete a directory that is
   1948   # left behind by Apple's compiler.  We do this before executing the actions.
   1949   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1950   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1951   as_fn_set_status $ac_retval
   1952 
   1953 } # ac_fn_c_try_link
   1954 
   1955 # ac_fn_c_check_func LINENO FUNC VAR
   1956 # ----------------------------------
   1957 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1958 ac_fn_c_check_func ()
   1959 {
   1960   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1962 $as_echo_n "checking for $2... " >&6; }
   1963 if eval \${$3+:} false; then :
   1964   $as_echo_n "(cached) " >&6
   1965 else
   1966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1967 /* end confdefs.h.  */
   1968 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1970 #define $2 innocuous_$2
   1971 
   1972 /* System header to define __stub macros and hopefully few prototypes,
   1973     which can conflict with char $2 (); below.
   1974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1975     <limits.h> exists even on freestanding compilers.  */
   1976 
   1977 #ifdef __STDC__
   1978 # include <limits.h>
   1979 #else
   1980 # include <assert.h>
   1981 #endif
   1982 
   1983 #undef $2
   1984 
   1985 /* Override any GCC internal prototype to avoid an error.
   1986    Use char because int might match the return type of a GCC
   1987    builtin and then its argument prototype would still apply.  */
   1988 #ifdef __cplusplus
   1989 extern "C"
   1990 #endif
   1991 char $2 ();
   1992 /* The GNU C library defines this for functions which it implements
   1993     to always fail with ENOSYS.  Some functions are actually named
   1994     something starting with __ and the normal name is an alias.  */
   1995 #if defined __stub_$2 || defined __stub___$2
   1996 choke me
   1997 #endif
   1998 
   1999 int
   2000 main ()
   2001 {
   2002 return $2 ();
   2003   ;
   2004   return 0;
   2005 }
   2006 _ACEOF
   2007 if ac_fn_c_try_link "$LINENO"; then :
   2008   eval "$3=yes"
   2009 else
   2010   eval "$3=no"
   2011 fi
   2012 rm -f core conftest.err conftest.$ac_objext \
   2013     conftest$ac_exeext conftest.$ac_ext
   2014 fi
   2015 eval ac_res=\$$3
   2016 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2017 $as_echo "$ac_res" >&6; }
   2018   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2019 
   2020 } # ac_fn_c_check_func
   2021 
   2022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2023 # ----------------------------------------------------
   2024 # Tries to find if the field MEMBER exists in type AGGR, after including
   2025 # INCLUDES, setting cache variable VAR accordingly.
   2026 ac_fn_c_check_member ()
   2027 {
   2028   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2030 $as_echo_n "checking for $2.$3... " >&6; }
   2031 if eval \${$4+:} false; then :
   2032   $as_echo_n "(cached) " >&6
   2033 else
   2034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2035 /* end confdefs.h.  */
   2036 $5
   2037 int
   2038 main ()
   2039 {
   2040 static $2 ac_aggr;
   2041 if (ac_aggr.$3)
   2042 return 0;
   2043   ;
   2044   return 0;
   2045 }
   2046 _ACEOF
   2047 if ac_fn_c_try_compile "$LINENO"; then :
   2048   eval "$4=yes"
   2049 else
   2050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2051 /* end confdefs.h.  */
   2052 $5
   2053 int
   2054 main ()
   2055 {
   2056 static $2 ac_aggr;
   2057 if (sizeof ac_aggr.$3)
   2058 return 0;
   2059   ;
   2060   return 0;
   2061 }
   2062 _ACEOF
   2063 if ac_fn_c_try_compile "$LINENO"; then :
   2064   eval "$4=yes"
   2065 else
   2066   eval "$4=no"
   2067 fi
   2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2069 fi
   2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2071 fi
   2072 eval ac_res=\$$4
   2073 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2074 $as_echo "$ac_res" >&6; }
   2075   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2076 
   2077 } # ac_fn_c_check_member
   2078 
   2079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2080 # -------------------------------------------
   2081 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2082 # variable VAR accordingly.
   2083 ac_fn_c_check_type ()
   2084 {
   2085   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2087 $as_echo_n "checking for $2... " >&6; }
   2088 if eval \${$3+:} false; then :
   2089   $as_echo_n "(cached) " >&6
   2090 else
   2091   eval "$3=no"
   2092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2093 /* end confdefs.h.  */
   2094 $4
   2095 int
   2096 main ()
   2097 {
   2098 if (sizeof ($2))
   2099 	 return 0;
   2100   ;
   2101   return 0;
   2102 }
   2103 _ACEOF
   2104 if ac_fn_c_try_compile "$LINENO"; then :
   2105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2106 /* end confdefs.h.  */
   2107 $4
   2108 int
   2109 main ()
   2110 {
   2111 if (sizeof (($2)))
   2112 	    return 0;
   2113   ;
   2114   return 0;
   2115 }
   2116 _ACEOF
   2117 if ac_fn_c_try_compile "$LINENO"; then :
   2118 
   2119 else
   2120   eval "$3=yes"
   2121 fi
   2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2123 fi
   2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2125 fi
   2126 eval ac_res=\$$3
   2127 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2128 $as_echo "$ac_res" >&6; }
   2129   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2130 
   2131 } # ac_fn_c_check_type
   2132 cat >config.log <<_ACEOF
   2133 This file contains any messages produced by compilers while
   2134 running configure, to aid debugging if configure makes a mistake.
   2135 
   2136 It was created by xfs $as_me 1.1.3, which was
   2137 generated by GNU Autoconf 2.68.  Invocation command line was
   2138 
   2139   $ $0 $@
   2140 
   2141 _ACEOF
   2142 exec 5>>config.log
   2143 {
   2144 cat <<_ASUNAME
   2145 ## --------- ##
   2146 ## Platform. ##
   2147 ## --------- ##
   2148 
   2149 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2150 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2151 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2152 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2153 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2154 
   2155 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2156 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2157 
   2158 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2159 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2160 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2161 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2162 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2163 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2164 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2165 
   2166 _ASUNAME
   2167 
   2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2169 for as_dir in $PATH
   2170 do
   2171   IFS=$as_save_IFS
   2172   test -z "$as_dir" && as_dir=.
   2173     $as_echo "PATH: $as_dir"
   2174   done
   2175 IFS=$as_save_IFS
   2176 
   2177 } >&5
   2178 
   2179 cat >&5 <<_ACEOF
   2180 
   2181 
   2182 ## ----------- ##
   2183 ## Core tests. ##
   2184 ## ----------- ##
   2185 
   2186 _ACEOF
   2187 
   2188 
   2189 # Keep a trace of the command line.
   2190 # Strip out --no-create and --no-recursion so they do not pile up.
   2191 # Strip out --silent because we don't want to record it for future runs.
   2192 # Also quote any args containing shell meta-characters.
   2193 # Make two passes to allow for proper duplicate-argument suppression.
   2194 ac_configure_args=
   2195 ac_configure_args0=
   2196 ac_configure_args1=
   2197 ac_must_keep_next=false
   2198 for ac_pass in 1 2
   2199 do
   2200   for ac_arg
   2201   do
   2202     case $ac_arg in
   2203     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2204     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2205     | -silent | --silent | --silen | --sile | --sil)
   2206       continue ;;
   2207     *\'*)
   2208       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2209     esac
   2210     case $ac_pass in
   2211     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2212     2)
   2213       as_fn_append ac_configure_args1 " '$ac_arg'"
   2214       if test $ac_must_keep_next = true; then
   2215 	ac_must_keep_next=false # Got value, back to normal.
   2216       else
   2217 	case $ac_arg in
   2218 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2219 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2220 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2221 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2222 	    case "$ac_configure_args0 " in
   2223 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2224 	    esac
   2225 	    ;;
   2226 	  -* ) ac_must_keep_next=true ;;
   2227 	esac
   2228       fi
   2229       as_fn_append ac_configure_args " '$ac_arg'"
   2230       ;;
   2231     esac
   2232   done
   2233 done
   2234 { ac_configure_args0=; unset ac_configure_args0;}
   2235 { ac_configure_args1=; unset ac_configure_args1;}
   2236 
   2237 # When interrupted or exit'd, cleanup temporary files, and complete
   2238 # config.log.  We remove comments because anyway the quotes in there
   2239 # would cause problems or look ugly.
   2240 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2241 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2242 trap 'exit_status=$?
   2243   # Save into config.log some information that might help in debugging.
   2244   {
   2245     echo
   2246 
   2247     $as_echo "## ---------------- ##
   2248 ## Cache variables. ##
   2249 ## ---------------- ##"
   2250     echo
   2251     # The following way of writing the cache mishandles newlines in values,
   2252 (
   2253   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2254     eval ac_val=\$$ac_var
   2255     case $ac_val in #(
   2256     *${as_nl}*)
   2257       case $ac_var in #(
   2258       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2259 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2260       esac
   2261       case $ac_var in #(
   2262       _ | IFS | as_nl) ;; #(
   2263       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2264       *) { eval $ac_var=; unset $ac_var;} ;;
   2265       esac ;;
   2266     esac
   2267   done
   2268   (set) 2>&1 |
   2269     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2270     *${as_nl}ac_space=\ *)
   2271       sed -n \
   2272 	"s/'\''/'\''\\\\'\'''\''/g;
   2273 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2274       ;; #(
   2275     *)
   2276       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2277       ;;
   2278     esac |
   2279     sort
   2280 )
   2281     echo
   2282 
   2283     $as_echo "## ----------------- ##
   2284 ## Output variables. ##
   2285 ## ----------------- ##"
   2286     echo
   2287     for ac_var in $ac_subst_vars
   2288     do
   2289       eval ac_val=\$$ac_var
   2290       case $ac_val in
   2291       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2292       esac
   2293       $as_echo "$ac_var='\''$ac_val'\''"
   2294     done | sort
   2295     echo
   2296 
   2297     if test -n "$ac_subst_files"; then
   2298       $as_echo "## ------------------- ##
   2299 ## File substitutions. ##
   2300 ## ------------------- ##"
   2301       echo
   2302       for ac_var in $ac_subst_files
   2303       do
   2304 	eval ac_val=\$$ac_var
   2305 	case $ac_val in
   2306 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2307 	esac
   2308 	$as_echo "$ac_var='\''$ac_val'\''"
   2309       done | sort
   2310       echo
   2311     fi
   2312 
   2313     if test -s confdefs.h; then
   2314       $as_echo "## ----------- ##
   2315 ## confdefs.h. ##
   2316 ## ----------- ##"
   2317       echo
   2318       cat confdefs.h
   2319       echo
   2320     fi
   2321     test "$ac_signal" != 0 &&
   2322       $as_echo "$as_me: caught signal $ac_signal"
   2323     $as_echo "$as_me: exit $exit_status"
   2324   } >&5
   2325   rm -f core *.core core.conftest.* &&
   2326     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2327     exit $exit_status
   2328 ' 0
   2329 for ac_signal in 1 2 13 15; do
   2330   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2331 done
   2332 ac_signal=0
   2333 
   2334 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2335 rm -f -r conftest* confdefs.h
   2336 
   2337 $as_echo "/* confdefs.h */" > confdefs.h
   2338 
   2339 # Predefined preprocessor variables.
   2340 
   2341 cat >>confdefs.h <<_ACEOF
   2342 #define PACKAGE_NAME "$PACKAGE_NAME"
   2343 _ACEOF
   2344 
   2345 cat >>confdefs.h <<_ACEOF
   2346 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2347 _ACEOF
   2348 
   2349 cat >>confdefs.h <<_ACEOF
   2350 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2351 _ACEOF
   2352 
   2353 cat >>confdefs.h <<_ACEOF
   2354 #define PACKAGE_STRING "$PACKAGE_STRING"
   2355 _ACEOF
   2356 
   2357 cat >>confdefs.h <<_ACEOF
   2358 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2359 _ACEOF
   2360 
   2361 cat >>confdefs.h <<_ACEOF
   2362 #define PACKAGE_URL "$PACKAGE_URL"
   2363 _ACEOF
   2364 
   2365 
   2366 # Let the site file select an alternate cache file if it wants to.
   2367 # Prefer an explicitly selected file to automatically selected ones.
   2368 ac_site_file1=NONE
   2369 ac_site_file2=NONE
   2370 if test -n "$CONFIG_SITE"; then
   2371   # We do not want a PATH search for config.site.
   2372   case $CONFIG_SITE in #((
   2373     -*)  ac_site_file1=./$CONFIG_SITE;;
   2374     */*) ac_site_file1=$CONFIG_SITE;;
   2375     *)   ac_site_file1=./$CONFIG_SITE;;
   2376   esac
   2377 elif test "x$prefix" != xNONE; then
   2378   ac_site_file1=$prefix/share/config.site
   2379   ac_site_file2=$prefix/etc/config.site
   2380 else
   2381   ac_site_file1=$ac_default_prefix/share/config.site
   2382   ac_site_file2=$ac_default_prefix/etc/config.site
   2383 fi
   2384 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2385 do
   2386   test "x$ac_site_file" = xNONE && continue
   2387   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2388     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2389 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2390     sed 's/^/| /' "$ac_site_file" >&5
   2391     . "$ac_site_file" \
   2392       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2394 as_fn_error $? "failed to load site script $ac_site_file
   2395 See \`config.log' for more details" "$LINENO" 5; }
   2396   fi
   2397 done
   2398 
   2399 if test -r "$cache_file"; then
   2400   # Some versions of bash will fail to source /dev/null (special files
   2401   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2402   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2403     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2404 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2405     case $cache_file in
   2406       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2407       *)                      . "./$cache_file";;
   2408     esac
   2409   fi
   2410 else
   2411   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2412 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2413   >$cache_file
   2414 fi
   2415 
   2416 # Check that the precious variables saved in the cache have kept the same
   2417 # value.
   2418 ac_cache_corrupted=false
   2419 for ac_var in $ac_precious_vars; do
   2420   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2421   eval ac_new_set=\$ac_env_${ac_var}_set
   2422   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2423   eval ac_new_val=\$ac_env_${ac_var}_value
   2424   case $ac_old_set,$ac_new_set in
   2425     set,)
   2426       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2427 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2428       ac_cache_corrupted=: ;;
   2429     ,set)
   2430       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2431 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2432       ac_cache_corrupted=: ;;
   2433     ,);;
   2434     *)
   2435       if test "x$ac_old_val" != "x$ac_new_val"; then
   2436 	# differences in whitespace do not lead to failure.
   2437 	ac_old_val_w=`echo x $ac_old_val`
   2438 	ac_new_val_w=`echo x $ac_new_val`
   2439 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2440 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2441 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2442 	  ac_cache_corrupted=:
   2443 	else
   2444 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2445 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2446 	  eval $ac_var=\$ac_old_val
   2447 	fi
   2448 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2449 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2450 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2451 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2452       fi;;
   2453   esac
   2454   # Pass precious variables to config.status.
   2455   if test "$ac_new_set" = set; then
   2456     case $ac_new_val in
   2457     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2458     *) ac_arg=$ac_var=$ac_new_val ;;
   2459     esac
   2460     case " $ac_configure_args " in
   2461       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2462       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2463     esac
   2464   fi
   2465 done
   2466 if $ac_cache_corrupted; then
   2467   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2470 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2471   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2472 fi
   2473 ## -------------------- ##
   2474 ## Main body of script. ##
   2475 ## -------------------- ##
   2476 
   2477 ac_ext=c
   2478 ac_cpp='$CPP $CPPFLAGS'
   2479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2482 
   2483 
   2484 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2485 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2486 ac_ext=c
   2487 ac_cpp='$CPP $CPPFLAGS'
   2488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2491 if test -n "$ac_tool_prefix"; then
   2492   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2493 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2495 $as_echo_n "checking for $ac_word... " >&6; }
   2496 if ${ac_cv_prog_CC+:} false; then :
   2497   $as_echo_n "(cached) " >&6
   2498 else
   2499   if test -n "$CC"; then
   2500   ac_cv_prog_CC="$CC" # Let the user override the test.
   2501 else
   2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2503 for as_dir in $PATH
   2504 do
   2505   IFS=$as_save_IFS
   2506   test -z "$as_dir" && as_dir=.
   2507     for ac_exec_ext in '' $ac_executable_extensions; do
   2508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2509     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2511     break 2
   2512   fi
   2513 done
   2514   done
   2515 IFS=$as_save_IFS
   2516 
   2517 fi
   2518 fi
   2519 CC=$ac_cv_prog_CC
   2520 if test -n "$CC"; then
   2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2522 $as_echo "$CC" >&6; }
   2523 else
   2524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2525 $as_echo "no" >&6; }
   2526 fi
   2527 
   2528 
   2529 fi
   2530 if test -z "$ac_cv_prog_CC"; then
   2531   ac_ct_CC=$CC
   2532   # Extract the first word of "gcc", so it can be a program name with args.
   2533 set dummy gcc; ac_word=$2
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2535 $as_echo_n "checking for $ac_word... " >&6; }
   2536 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   if test -n "$ac_ct_CC"; then
   2540   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2541 else
   2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2543 for as_dir in $PATH
   2544 do
   2545   IFS=$as_save_IFS
   2546   test -z "$as_dir" && as_dir=.
   2547     for ac_exec_ext in '' $ac_executable_extensions; do
   2548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2549     ac_cv_prog_ac_ct_CC="gcc"
   2550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2551     break 2
   2552   fi
   2553 done
   2554   done
   2555 IFS=$as_save_IFS
   2556 
   2557 fi
   2558 fi
   2559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2560 if test -n "$ac_ct_CC"; then
   2561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2562 $as_echo "$ac_ct_CC" >&6; }
   2563 else
   2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2565 $as_echo "no" >&6; }
   2566 fi
   2567 
   2568   if test "x$ac_ct_CC" = x; then
   2569     CC=""
   2570   else
   2571     case $cross_compiling:$ac_tool_warned in
   2572 yes:)
   2573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2575 ac_tool_warned=yes ;;
   2576 esac
   2577     CC=$ac_ct_CC
   2578   fi
   2579 else
   2580   CC="$ac_cv_prog_CC"
   2581 fi
   2582 
   2583 if test -z "$CC"; then
   2584           if test -n "$ac_tool_prefix"; then
   2585     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2586 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2588 $as_echo_n "checking for $ac_word... " >&6; }
   2589 if ${ac_cv_prog_CC+:} false; then :
   2590   $as_echo_n "(cached) " >&6
   2591 else
   2592   if test -n "$CC"; then
   2593   ac_cv_prog_CC="$CC" # Let the user override the test.
   2594 else
   2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2596 for as_dir in $PATH
   2597 do
   2598   IFS=$as_save_IFS
   2599   test -z "$as_dir" && as_dir=.
   2600     for ac_exec_ext in '' $ac_executable_extensions; do
   2601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2602     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2604     break 2
   2605   fi
   2606 done
   2607   done
   2608 IFS=$as_save_IFS
   2609 
   2610 fi
   2611 fi
   2612 CC=$ac_cv_prog_CC
   2613 if test -n "$CC"; then
   2614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2615 $as_echo "$CC" >&6; }
   2616 else
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2618 $as_echo "no" >&6; }
   2619 fi
   2620 
   2621 
   2622   fi
   2623 fi
   2624 if test -z "$CC"; then
   2625   # Extract the first word of "cc", so it can be a program name with args.
   2626 set dummy cc; ac_word=$2
   2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2628 $as_echo_n "checking for $ac_word... " >&6; }
   2629 if ${ac_cv_prog_CC+:} false; then :
   2630   $as_echo_n "(cached) " >&6
   2631 else
   2632   if test -n "$CC"; then
   2633   ac_cv_prog_CC="$CC" # Let the user override the test.
   2634 else
   2635   ac_prog_rejected=no
   2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2637 for as_dir in $PATH
   2638 do
   2639   IFS=$as_save_IFS
   2640   test -z "$as_dir" && as_dir=.
   2641     for ac_exec_ext in '' $ac_executable_extensions; do
   2642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2643     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2644        ac_prog_rejected=yes
   2645        continue
   2646      fi
   2647     ac_cv_prog_CC="cc"
   2648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2649     break 2
   2650   fi
   2651 done
   2652   done
   2653 IFS=$as_save_IFS
   2654 
   2655 if test $ac_prog_rejected = yes; then
   2656   # We found a bogon in the path, so make sure we never use it.
   2657   set dummy $ac_cv_prog_CC
   2658   shift
   2659   if test $# != 0; then
   2660     # We chose a different compiler from the bogus one.
   2661     # However, it has the same basename, so the bogon will be chosen
   2662     # first if we set CC to just the basename; use the full file name.
   2663     shift
   2664     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2665   fi
   2666 fi
   2667 fi
   2668 fi
   2669 CC=$ac_cv_prog_CC
   2670 if test -n "$CC"; then
   2671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2672 $as_echo "$CC" >&6; }
   2673 else
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2675 $as_echo "no" >&6; }
   2676 fi
   2677 
   2678 
   2679 fi
   2680 if test -z "$CC"; then
   2681   if test -n "$ac_tool_prefix"; then
   2682   for ac_prog in cl.exe
   2683   do
   2684     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2687 $as_echo_n "checking for $ac_word... " >&6; }
   2688 if ${ac_cv_prog_CC+:} false; then :
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   if test -n "$CC"; then
   2692   ac_cv_prog_CC="$CC" # Let the user override the test.
   2693 else
   2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2695 for as_dir in $PATH
   2696 do
   2697   IFS=$as_save_IFS
   2698   test -z "$as_dir" && as_dir=.
   2699     for ac_exec_ext in '' $ac_executable_extensions; do
   2700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2701     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2703     break 2
   2704   fi
   2705 done
   2706   done
   2707 IFS=$as_save_IFS
   2708 
   2709 fi
   2710 fi
   2711 CC=$ac_cv_prog_CC
   2712 if test -n "$CC"; then
   2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2714 $as_echo "$CC" >&6; }
   2715 else
   2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2717 $as_echo "no" >&6; }
   2718 fi
   2719 
   2720 
   2721     test -n "$CC" && break
   2722   done
   2723 fi
   2724 if test -z "$CC"; then
   2725   ac_ct_CC=$CC
   2726   for ac_prog in cl.exe
   2727 do
   2728   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2729 set dummy $ac_prog; ac_word=$2
   2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2731 $as_echo_n "checking for $ac_word... " >&6; }
   2732 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2733   $as_echo_n "(cached) " >&6
   2734 else
   2735   if test -n "$ac_ct_CC"; then
   2736   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2737 else
   2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2739 for as_dir in $PATH
   2740 do
   2741   IFS=$as_save_IFS
   2742   test -z "$as_dir" && as_dir=.
   2743     for ac_exec_ext in '' $ac_executable_extensions; do
   2744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2745     ac_cv_prog_ac_ct_CC="$ac_prog"
   2746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2747     break 2
   2748   fi
   2749 done
   2750   done
   2751 IFS=$as_save_IFS
   2752 
   2753 fi
   2754 fi
   2755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2756 if test -n "$ac_ct_CC"; then
   2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2758 $as_echo "$ac_ct_CC" >&6; }
   2759 else
   2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2761 $as_echo "no" >&6; }
   2762 fi
   2763 
   2764 
   2765   test -n "$ac_ct_CC" && break
   2766 done
   2767 
   2768   if test "x$ac_ct_CC" = x; then
   2769     CC=""
   2770   else
   2771     case $cross_compiling:$ac_tool_warned in
   2772 yes:)
   2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2775 ac_tool_warned=yes ;;
   2776 esac
   2777     CC=$ac_ct_CC
   2778   fi
   2779 fi
   2780 
   2781 fi
   2782 
   2783 
   2784 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2786 as_fn_error $? "no acceptable C compiler found in \$PATH
   2787 See \`config.log' for more details" "$LINENO" 5; }
   2788 
   2789 # Provide some information about the compiler.
   2790 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2791 set X $ac_compile
   2792 ac_compiler=$2
   2793 for ac_option in --version -v -V -qversion; do
   2794   { { ac_try="$ac_compiler $ac_option >&5"
   2795 case "(($ac_try" in
   2796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2797   *) ac_try_echo=$ac_try;;
   2798 esac
   2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2800 $as_echo "$ac_try_echo"; } >&5
   2801   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2802   ac_status=$?
   2803   if test -s conftest.err; then
   2804     sed '10a\
   2805 ... rest of stderr output deleted ...
   2806          10q' conftest.err >conftest.er1
   2807     cat conftest.er1 >&5
   2808   fi
   2809   rm -f conftest.er1 conftest.err
   2810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2811   test $ac_status = 0; }
   2812 done
   2813 
   2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2815 /* end confdefs.h.  */
   2816 
   2817 int
   2818 main ()
   2819 {
   2820 
   2821   ;
   2822   return 0;
   2823 }
   2824 _ACEOF
   2825 ac_clean_files_save=$ac_clean_files
   2826 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2827 # Try to create an executable without -o first, disregard a.out.
   2828 # It will help us diagnose broken compilers, and finding out an intuition
   2829 # of exeext.
   2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2831 $as_echo_n "checking whether the C compiler works... " >&6; }
   2832 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2833 
   2834 # The possible output files:
   2835 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2836 
   2837 ac_rmfiles=
   2838 for ac_file in $ac_files
   2839 do
   2840   case $ac_file in
   2841     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2842     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2843   esac
   2844 done
   2845 rm -f $ac_rmfiles
   2846 
   2847 if { { ac_try="$ac_link_default"
   2848 case "(($ac_try" in
   2849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2850   *) ac_try_echo=$ac_try;;
   2851 esac
   2852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2853 $as_echo "$ac_try_echo"; } >&5
   2854   (eval "$ac_link_default") 2>&5
   2855   ac_status=$?
   2856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2857   test $ac_status = 0; }; then :
   2858   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2859 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2860 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2861 # so that the user can short-circuit this test for compilers unknown to
   2862 # Autoconf.
   2863 for ac_file in $ac_files ''
   2864 do
   2865   test -f "$ac_file" || continue
   2866   case $ac_file in
   2867     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2868 	;;
   2869     [ab].out )
   2870 	# We found the default executable, but exeext='' is most
   2871 	# certainly right.
   2872 	break;;
   2873     *.* )
   2874 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2875 	then :; else
   2876 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2877 	fi
   2878 	# We set ac_cv_exeext here because the later test for it is not
   2879 	# safe: cross compilers may not add the suffix if given an `-o'
   2880 	# argument, so we may need to know it at that point already.
   2881 	# Even if this section looks crufty: it has the advantage of
   2882 	# actually working.
   2883 	break;;
   2884     * )
   2885 	break;;
   2886   esac
   2887 done
   2888 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2889 
   2890 else
   2891   ac_file=''
   2892 fi
   2893 if test -z "$ac_file"; then :
   2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2895 $as_echo "no" >&6; }
   2896 $as_echo "$as_me: failed program was:" >&5
   2897 sed 's/^/| /' conftest.$ac_ext >&5
   2898 
   2899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2901 as_fn_error 77 "C compiler cannot create executables
   2902 See \`config.log' for more details" "$LINENO" 5; }
   2903 else
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2905 $as_echo "yes" >&6; }
   2906 fi
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2908 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2910 $as_echo "$ac_file" >&6; }
   2911 ac_exeext=$ac_cv_exeext
   2912 
   2913 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2914 ac_clean_files=$ac_clean_files_save
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2916 $as_echo_n "checking for suffix of executables... " >&6; }
   2917 if { { ac_try="$ac_link"
   2918 case "(($ac_try" in
   2919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2920   *) ac_try_echo=$ac_try;;
   2921 esac
   2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2923 $as_echo "$ac_try_echo"; } >&5
   2924   (eval "$ac_link") 2>&5
   2925   ac_status=$?
   2926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2927   test $ac_status = 0; }; then :
   2928   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2929 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2930 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2931 # `rm'.
   2932 for ac_file in conftest.exe conftest conftest.*; do
   2933   test -f "$ac_file" || continue
   2934   case $ac_file in
   2935     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2936     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2937 	  break;;
   2938     * ) break;;
   2939   esac
   2940 done
   2941 else
   2942   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2944 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2945 See \`config.log' for more details" "$LINENO" 5; }
   2946 fi
   2947 rm -f conftest conftest$ac_cv_exeext
   2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2949 $as_echo "$ac_cv_exeext" >&6; }
   2950 
   2951 rm -f conftest.$ac_ext
   2952 EXEEXT=$ac_cv_exeext
   2953 ac_exeext=$EXEEXT
   2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2955 /* end confdefs.h.  */
   2956 #include <stdio.h>
   2957 int
   2958 main ()
   2959 {
   2960 FILE *f = fopen ("conftest.out", "w");
   2961  return ferror (f) || fclose (f) != 0;
   2962 
   2963   ;
   2964   return 0;
   2965 }
   2966 _ACEOF
   2967 ac_clean_files="$ac_clean_files conftest.out"
   2968 # Check that the compiler produces executables we can run.  If not, either
   2969 # the compiler is broken, or we cross compile.
   2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2971 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2972 if test "$cross_compiling" != yes; then
   2973   { { ac_try="$ac_link"
   2974 case "(($ac_try" in
   2975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2976   *) ac_try_echo=$ac_try;;
   2977 esac
   2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2979 $as_echo "$ac_try_echo"; } >&5
   2980   (eval "$ac_link") 2>&5
   2981   ac_status=$?
   2982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2983   test $ac_status = 0; }
   2984   if { ac_try='./conftest$ac_cv_exeext'
   2985   { { case "(($ac_try" in
   2986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2987   *) ac_try_echo=$ac_try;;
   2988 esac
   2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2990 $as_echo "$ac_try_echo"; } >&5
   2991   (eval "$ac_try") 2>&5
   2992   ac_status=$?
   2993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2994   test $ac_status = 0; }; }; then
   2995     cross_compiling=no
   2996   else
   2997     if test "$cross_compiling" = maybe; then
   2998 	cross_compiling=yes
   2999     else
   3000 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3002 as_fn_error $? "cannot run C compiled programs.
   3003 If you meant to cross compile, use \`--host'.
   3004 See \`config.log' for more details" "$LINENO" 5; }
   3005     fi
   3006   fi
   3007 fi
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3009 $as_echo "$cross_compiling" >&6; }
   3010 
   3011 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3012 ac_clean_files=$ac_clean_files_save
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3014 $as_echo_n "checking for suffix of object files... " >&6; }
   3015 if ${ac_cv_objext+:} false; then :
   3016   $as_echo_n "(cached) " >&6
   3017 else
   3018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3019 /* end confdefs.h.  */
   3020 
   3021 int
   3022 main ()
   3023 {
   3024 
   3025   ;
   3026   return 0;
   3027 }
   3028 _ACEOF
   3029 rm -f conftest.o conftest.obj
   3030 if { { ac_try="$ac_compile"
   3031 case "(($ac_try" in
   3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3033   *) ac_try_echo=$ac_try;;
   3034 esac
   3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3036 $as_echo "$ac_try_echo"; } >&5
   3037   (eval "$ac_compile") 2>&5
   3038   ac_status=$?
   3039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3040   test $ac_status = 0; }; then :
   3041   for ac_file in conftest.o conftest.obj conftest.*; do
   3042   test -f "$ac_file" || continue;
   3043   case $ac_file in
   3044     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3045     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3046        break;;
   3047   esac
   3048 done
   3049 else
   3050   $as_echo "$as_me: failed program was:" >&5
   3051 sed 's/^/| /' conftest.$ac_ext >&5
   3052 
   3053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3055 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3056 See \`config.log' for more details" "$LINENO" 5; }
   3057 fi
   3058 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3059 fi
   3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3061 $as_echo "$ac_cv_objext" >&6; }
   3062 OBJEXT=$ac_cv_objext
   3063 ac_objext=$OBJEXT
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3065 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3066 if ${ac_cv_c_compiler_gnu+:} false; then :
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3070 /* end confdefs.h.  */
   3071 
   3072 int
   3073 main ()
   3074 {
   3075 #ifndef __GNUC__
   3076        choke me
   3077 #endif
   3078 
   3079   ;
   3080   return 0;
   3081 }
   3082 _ACEOF
   3083 if ac_fn_c_try_compile "$LINENO"; then :
   3084   ac_compiler_gnu=yes
   3085 else
   3086   ac_compiler_gnu=no
   3087 fi
   3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3090 
   3091 fi
   3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3093 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3094 if test $ac_compiler_gnu = yes; then
   3095   GCC=yes
   3096 else
   3097   GCC=
   3098 fi
   3099 ac_test_CFLAGS=${CFLAGS+set}
   3100 ac_save_CFLAGS=$CFLAGS
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3102 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3103 if ${ac_cv_prog_cc_g+:} false; then :
   3104   $as_echo_n "(cached) " >&6
   3105 else
   3106   ac_save_c_werror_flag=$ac_c_werror_flag
   3107    ac_c_werror_flag=yes
   3108    ac_cv_prog_cc_g=no
   3109    CFLAGS="-g"
   3110    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3111 /* end confdefs.h.  */
   3112 
   3113 int
   3114 main ()
   3115 {
   3116 
   3117   ;
   3118   return 0;
   3119 }
   3120 _ACEOF
   3121 if ac_fn_c_try_compile "$LINENO"; then :
   3122   ac_cv_prog_cc_g=yes
   3123 else
   3124   CFLAGS=""
   3125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3126 /* end confdefs.h.  */
   3127 
   3128 int
   3129 main ()
   3130 {
   3131 
   3132   ;
   3133   return 0;
   3134 }
   3135 _ACEOF
   3136 if ac_fn_c_try_compile "$LINENO"; then :
   3137 
   3138 else
   3139   ac_c_werror_flag=$ac_save_c_werror_flag
   3140 	 CFLAGS="-g"
   3141 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3142 /* end confdefs.h.  */
   3143 
   3144 int
   3145 main ()
   3146 {
   3147 
   3148   ;
   3149   return 0;
   3150 }
   3151 _ACEOF
   3152 if ac_fn_c_try_compile "$LINENO"; then :
   3153   ac_cv_prog_cc_g=yes
   3154 fi
   3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3156 fi
   3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3158 fi
   3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3160    ac_c_werror_flag=$ac_save_c_werror_flag
   3161 fi
   3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3163 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3164 if test "$ac_test_CFLAGS" = set; then
   3165   CFLAGS=$ac_save_CFLAGS
   3166 elif test $ac_cv_prog_cc_g = yes; then
   3167   if test "$GCC" = yes; then
   3168     CFLAGS="-g -O2"
   3169   else
   3170     CFLAGS="-g"
   3171   fi
   3172 else
   3173   if test "$GCC" = yes; then
   3174     CFLAGS="-O2"
   3175   else
   3176     CFLAGS=
   3177   fi
   3178 fi
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3180 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3181 if ${ac_cv_prog_cc_c89+:} false; then :
   3182   $as_echo_n "(cached) " >&6
   3183 else
   3184   ac_cv_prog_cc_c89=no
   3185 ac_save_CC=$CC
   3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3187 /* end confdefs.h.  */
   3188 #include <stdarg.h>
   3189 #include <stdio.h>
   3190 #include <sys/types.h>
   3191 #include <sys/stat.h>
   3192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3193 struct buf { int x; };
   3194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3195 static char *e (p, i)
   3196      char **p;
   3197      int i;
   3198 {
   3199   return p[i];
   3200 }
   3201 static char *f (char * (*g) (char **, int), char **p, ...)
   3202 {
   3203   char *s;
   3204   va_list v;
   3205   va_start (v,p);
   3206   s = g (p, va_arg (v,int));
   3207   va_end (v);
   3208   return s;
   3209 }
   3210 
   3211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3212    function prototypes and stuff, but not '\xHH' hex character constants.
   3213    These don't provoke an error unfortunately, instead are silently treated
   3214    as 'x'.  The following induces an error, until -std is added to get
   3215    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3216    array size at least.  It's necessary to write '\x00'==0 to get something
   3217    that's true only with -std.  */
   3218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3219 
   3220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3221    inside strings and character constants.  */
   3222 #define FOO(x) 'x'
   3223 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3224 
   3225 int test (int i, double x);
   3226 struct s1 {int (*f) (int a);};
   3227 struct s2 {int (*f) (double a);};
   3228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3229 int argc;
   3230 char **argv;
   3231 int
   3232 main ()
   3233 {
   3234 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3235   ;
   3236   return 0;
   3237 }
   3238 _ACEOF
   3239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3240 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3241 do
   3242   CC="$ac_save_CC $ac_arg"
   3243   if ac_fn_c_try_compile "$LINENO"; then :
   3244   ac_cv_prog_cc_c89=$ac_arg
   3245 fi
   3246 rm -f core conftest.err conftest.$ac_objext
   3247   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3248 done
   3249 rm -f conftest.$ac_ext
   3250 CC=$ac_save_CC
   3251 
   3252 fi
   3253 # AC_CACHE_VAL
   3254 case "x$ac_cv_prog_cc_c89" in
   3255   x)
   3256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3257 $as_echo "none needed" >&6; } ;;
   3258   xno)
   3259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3260 $as_echo "unsupported" >&6; } ;;
   3261   *)
   3262     CC="$CC $ac_cv_prog_cc_c89"
   3263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3264 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3265 esac
   3266 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3267 
   3268 fi
   3269 
   3270 ac_ext=c
   3271 ac_cpp='$CPP $CPPFLAGS'
   3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3275 
   3276 
   3277 ac_ext=c
   3278 ac_cpp='$CPP $CPPFLAGS'
   3279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3283 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3284 # On Suns, sometimes $CPP names a directory.
   3285 if test -n "$CPP" && test -d "$CPP"; then
   3286   CPP=
   3287 fi
   3288 if test -z "$CPP"; then
   3289   if ${ac_cv_prog_CPP+:} false; then :
   3290   $as_echo_n "(cached) " >&6
   3291 else
   3292       # Double quotes because CPP needs to be expanded
   3293     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3294     do
   3295       ac_preproc_ok=false
   3296 for ac_c_preproc_warn_flag in '' yes
   3297 do
   3298   # Use a header file that comes with gcc, so configuring glibc
   3299   # with a fresh cross-compiler works.
   3300   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3301   # <limits.h> exists even on freestanding compilers.
   3302   # On the NeXT, cc -E runs the code through the compiler's parser,
   3303   # not just through cpp. "Syntax error" is here to catch this case.
   3304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3305 /* end confdefs.h.  */
   3306 #ifdef __STDC__
   3307 # include <limits.h>
   3308 #else
   3309 # include <assert.h>
   3310 #endif
   3311 		     Syntax error
   3312 _ACEOF
   3313 if ac_fn_c_try_cpp "$LINENO"; then :
   3314 
   3315 else
   3316   # Broken: fails on valid input.
   3317 continue
   3318 fi
   3319 rm -f conftest.err conftest.i conftest.$ac_ext
   3320 
   3321   # OK, works on sane cases.  Now check whether nonexistent headers
   3322   # can be detected and how.
   3323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3324 /* end confdefs.h.  */
   3325 #include <ac_nonexistent.h>
   3326 _ACEOF
   3327 if ac_fn_c_try_cpp "$LINENO"; then :
   3328   # Broken: success on invalid input.
   3329 continue
   3330 else
   3331   # Passes both tests.
   3332 ac_preproc_ok=:
   3333 break
   3334 fi
   3335 rm -f conftest.err conftest.i conftest.$ac_ext
   3336 
   3337 done
   3338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3339 rm -f conftest.i conftest.err conftest.$ac_ext
   3340 if $ac_preproc_ok; then :
   3341   break
   3342 fi
   3343 
   3344     done
   3345     ac_cv_prog_CPP=$CPP
   3346 
   3347 fi
   3348   CPP=$ac_cv_prog_CPP
   3349 else
   3350   ac_cv_prog_CPP=$CPP
   3351 fi
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3353 $as_echo "$CPP" >&6; }
   3354 ac_preproc_ok=false
   3355 for ac_c_preproc_warn_flag in '' yes
   3356 do
   3357   # Use a header file that comes with gcc, so configuring glibc
   3358   # with a fresh cross-compiler works.
   3359   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3360   # <limits.h> exists even on freestanding compilers.
   3361   # On the NeXT, cc -E runs the code through the compiler's parser,
   3362   # not just through cpp. "Syntax error" is here to catch this case.
   3363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3364 /* end confdefs.h.  */
   3365 #ifdef __STDC__
   3366 # include <limits.h>
   3367 #else
   3368 # include <assert.h>
   3369 #endif
   3370 		     Syntax error
   3371 _ACEOF
   3372 if ac_fn_c_try_cpp "$LINENO"; then :
   3373 
   3374 else
   3375   # Broken: fails on valid input.
   3376 continue
   3377 fi
   3378 rm -f conftest.err conftest.i conftest.$ac_ext
   3379 
   3380   # OK, works on sane cases.  Now check whether nonexistent headers
   3381   # can be detected and how.
   3382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3383 /* end confdefs.h.  */
   3384 #include <ac_nonexistent.h>
   3385 _ACEOF
   3386 if ac_fn_c_try_cpp "$LINENO"; then :
   3387   # Broken: success on invalid input.
   3388 continue
   3389 else
   3390   # Passes both tests.
   3391 ac_preproc_ok=:
   3392 break
   3393 fi
   3394 rm -f conftest.err conftest.i conftest.$ac_ext
   3395 
   3396 done
   3397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3398 rm -f conftest.i conftest.err conftest.$ac_ext
   3399 if $ac_preproc_ok; then :
   3400 
   3401 else
   3402   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3404 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3405 See \`config.log' for more details" "$LINENO" 5; }
   3406 fi
   3407 
   3408 ac_ext=c
   3409 ac_cpp='$CPP $CPPFLAGS'
   3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3413 
   3414 
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3416 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3417 if ${ac_cv_path_GREP+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   if test -z "$GREP"; then
   3421   ac_path_GREP_found=false
   3422   # Loop through the user's path and test for each of PROGNAME-LIST
   3423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3424 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3425 do
   3426   IFS=$as_save_IFS
   3427   test -z "$as_dir" && as_dir=.
   3428     for ac_prog in grep ggrep; do
   3429     for ac_exec_ext in '' $ac_executable_extensions; do
   3430       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3431       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3432 # Check for GNU ac_path_GREP and select it if it is found.
   3433   # Check for GNU $ac_path_GREP
   3434 case `"$ac_path_GREP" --version 2>&1` in
   3435 *GNU*)
   3436   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3437 *)
   3438   ac_count=0
   3439   $as_echo_n 0123456789 >"conftest.in"
   3440   while :
   3441   do
   3442     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3443     mv "conftest.tmp" "conftest.in"
   3444     cp "conftest.in" "conftest.nl"
   3445     $as_echo 'GREP' >> "conftest.nl"
   3446     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3447     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3448     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3449     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3450       # Best one so far, save it but keep looking for a better one
   3451       ac_cv_path_GREP="$ac_path_GREP"
   3452       ac_path_GREP_max=$ac_count
   3453     fi
   3454     # 10*(2^10) chars as input seems more than enough
   3455     test $ac_count -gt 10 && break
   3456   done
   3457   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3458 esac
   3459 
   3460       $ac_path_GREP_found && break 3
   3461     done
   3462   done
   3463   done
   3464 IFS=$as_save_IFS
   3465   if test -z "$ac_cv_path_GREP"; then
   3466     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3467   fi
   3468 else
   3469   ac_cv_path_GREP=$GREP
   3470 fi
   3471 
   3472 fi
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3474 $as_echo "$ac_cv_path_GREP" >&6; }
   3475  GREP="$ac_cv_path_GREP"
   3476 
   3477 
   3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3479 $as_echo_n "checking for egrep... " >&6; }
   3480 if ${ac_cv_path_EGREP+:} false; then :
   3481   $as_echo_n "(cached) " >&6
   3482 else
   3483   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3484    then ac_cv_path_EGREP="$GREP -E"
   3485    else
   3486      if test -z "$EGREP"; then
   3487   ac_path_EGREP_found=false
   3488   # Loop through the user's path and test for each of PROGNAME-LIST
   3489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3490 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3491 do
   3492   IFS=$as_save_IFS
   3493   test -z "$as_dir" && as_dir=.
   3494     for ac_prog in egrep; do
   3495     for ac_exec_ext in '' $ac_executable_extensions; do
   3496       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3497       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3498 # Check for GNU ac_path_EGREP and select it if it is found.
   3499   # Check for GNU $ac_path_EGREP
   3500 case `"$ac_path_EGREP" --version 2>&1` in
   3501 *GNU*)
   3502   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3503 *)
   3504   ac_count=0
   3505   $as_echo_n 0123456789 >"conftest.in"
   3506   while :
   3507   do
   3508     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3509     mv "conftest.tmp" "conftest.in"
   3510     cp "conftest.in" "conftest.nl"
   3511     $as_echo 'EGREP' >> "conftest.nl"
   3512     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3513     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3514     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3515     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3516       # Best one so far, save it but keep looking for a better one
   3517       ac_cv_path_EGREP="$ac_path_EGREP"
   3518       ac_path_EGREP_max=$ac_count
   3519     fi
   3520     # 10*(2^10) chars as input seems more than enough
   3521     test $ac_count -gt 10 && break
   3522   done
   3523   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3524 esac
   3525 
   3526       $ac_path_EGREP_found && break 3
   3527     done
   3528   done
   3529   done
   3530 IFS=$as_save_IFS
   3531   if test -z "$ac_cv_path_EGREP"; then
   3532     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3533   fi
   3534 else
   3535   ac_cv_path_EGREP=$EGREP
   3536 fi
   3537 
   3538    fi
   3539 fi
   3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3541 $as_echo "$ac_cv_path_EGREP" >&6; }
   3542  EGREP="$ac_cv_path_EGREP"
   3543 
   3544 
   3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3546 $as_echo_n "checking for ANSI C header files... " >&6; }
   3547 if ${ac_cv_header_stdc+:} false; then :
   3548   $as_echo_n "(cached) " >&6
   3549 else
   3550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3551 /* end confdefs.h.  */
   3552 #include <stdlib.h>
   3553 #include <stdarg.h>
   3554 #include <string.h>
   3555 #include <float.h>
   3556 
   3557 int
   3558 main ()
   3559 {
   3560 
   3561   ;
   3562   return 0;
   3563 }
   3564 _ACEOF
   3565 if ac_fn_c_try_compile "$LINENO"; then :
   3566   ac_cv_header_stdc=yes
   3567 else
   3568   ac_cv_header_stdc=no
   3569 fi
   3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3571 
   3572 if test $ac_cv_header_stdc = yes; then
   3573   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3575 /* end confdefs.h.  */
   3576 #include <string.h>
   3577 
   3578 _ACEOF
   3579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3580   $EGREP "memchr" >/dev/null 2>&1; then :
   3581 
   3582 else
   3583   ac_cv_header_stdc=no
   3584 fi
   3585 rm -f conftest*
   3586 
   3587 fi
   3588 
   3589 if test $ac_cv_header_stdc = yes; then
   3590   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3592 /* end confdefs.h.  */
   3593 #include <stdlib.h>
   3594 
   3595 _ACEOF
   3596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3597   $EGREP "free" >/dev/null 2>&1; then :
   3598 
   3599 else
   3600   ac_cv_header_stdc=no
   3601 fi
   3602 rm -f conftest*
   3603 
   3604 fi
   3605 
   3606 if test $ac_cv_header_stdc = yes; then
   3607   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3608   if test "$cross_compiling" = yes; then :
   3609   :
   3610 else
   3611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3612 /* end confdefs.h.  */
   3613 #include <ctype.h>
   3614 #include <stdlib.h>
   3615 #if ((' ' & 0x0FF) == 0x020)
   3616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3618 #else
   3619 # define ISLOWER(c) \
   3620 		   (('a' <= (c) && (c) <= 'i') \
   3621 		     || ('j' <= (c) && (c) <= 'r') \
   3622 		     || ('s' <= (c) && (c) <= 'z'))
   3623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3624 #endif
   3625 
   3626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3627 int
   3628 main ()
   3629 {
   3630   int i;
   3631   for (i = 0; i < 256; i++)
   3632     if (XOR (islower (i), ISLOWER (i))
   3633 	|| toupper (i) != TOUPPER (i))
   3634       return 2;
   3635   return 0;
   3636 }
   3637 _ACEOF
   3638 if ac_fn_c_try_run "$LINENO"; then :
   3639 
   3640 else
   3641   ac_cv_header_stdc=no
   3642 fi
   3643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3644   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3645 fi
   3646 
   3647 fi
   3648 fi
   3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3650 $as_echo "$ac_cv_header_stdc" >&6; }
   3651 if test $ac_cv_header_stdc = yes; then
   3652 
   3653 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3654 
   3655 fi
   3656 
   3657 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3659 		  inttypes.h stdint.h unistd.h
   3660 do :
   3661   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3663 "
   3664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3665   cat >>confdefs.h <<_ACEOF
   3666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3667 _ACEOF
   3668 
   3669 fi
   3670 
   3671 done
   3672 
   3673 
   3674 
   3675   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3676 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3677   MINIX=yes
   3678 else
   3679   MINIX=
   3680 fi
   3681 
   3682 
   3683   if test "$MINIX" = yes; then
   3684 
   3685 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3686 
   3687 
   3688 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3689 
   3690 
   3691 $as_echo "#define _MINIX 1" >>confdefs.h
   3692 
   3693   fi
   3694 
   3695 
   3696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3697 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3698 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3699   $as_echo_n "(cached) " >&6
   3700 else
   3701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3702 /* end confdefs.h.  */
   3703 
   3704 #	  define __EXTENSIONS__ 1
   3705 	  $ac_includes_default
   3706 int
   3707 main ()
   3708 {
   3709 
   3710   ;
   3711   return 0;
   3712 }
   3713 _ACEOF
   3714 if ac_fn_c_try_compile "$LINENO"; then :
   3715   ac_cv_safe_to_define___extensions__=yes
   3716 else
   3717   ac_cv_safe_to_define___extensions__=no
   3718 fi
   3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3720 fi
   3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3722 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3723   test $ac_cv_safe_to_define___extensions__ = yes &&
   3724     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3725 
   3726   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3727 
   3728   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3729 
   3730   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3731 
   3732   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3733 
   3734 
   3735 ac_config_headers="$ac_config_headers config.h"
   3736 
   3737 
   3738 
   3739 # Initialize Automake
   3740 am__api_version='1.11'
   3741 
   3742 ac_aux_dir=
   3743 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3744   if test -f "$ac_dir/install-sh"; then
   3745     ac_aux_dir=$ac_dir
   3746     ac_install_sh="$ac_aux_dir/install-sh -c"
   3747     break
   3748   elif test -f "$ac_dir/install.sh"; then
   3749     ac_aux_dir=$ac_dir
   3750     ac_install_sh="$ac_aux_dir/install.sh -c"
   3751     break
   3752   elif test -f "$ac_dir/shtool"; then
   3753     ac_aux_dir=$ac_dir
   3754     ac_install_sh="$ac_aux_dir/shtool install -c"
   3755     break
   3756   fi
   3757 done
   3758 if test -z "$ac_aux_dir"; then
   3759   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3760 fi
   3761 
   3762 # These three variables are undocumented and unsupported,
   3763 # and are intended to be withdrawn in a future Autoconf release.
   3764 # They can cause serious problems if a builder's source tree is in a directory
   3765 # whose full name contains unusual characters.
   3766 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3767 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3768 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3769 
   3770 
   3771 # Find a good install program.  We prefer a C program (faster),
   3772 # so one script is as good as another.  But avoid the broken or
   3773 # incompatible versions:
   3774 # SysV /etc/install, /usr/sbin/install
   3775 # SunOS /usr/etc/install
   3776 # IRIX /sbin/install
   3777 # AIX /bin/install
   3778 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3782 # OS/2's system install, which has a completely different semantic
   3783 # ./install, which can be erroneously created by make from ./install.sh.
   3784 # Reject install programs that cannot install multiple files.
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3786 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3787 if test -z "$INSTALL"; then
   3788 if ${ac_cv_path_install+:} false; then :
   3789   $as_echo_n "(cached) " >&6
   3790 else
   3791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3792 for as_dir in $PATH
   3793 do
   3794   IFS=$as_save_IFS
   3795   test -z "$as_dir" && as_dir=.
   3796     # Account for people who put trailing slashes in PATH elements.
   3797 case $as_dir/ in #((
   3798   ./ | .// | /[cC]/* | \
   3799   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3800   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3801   /usr/ucb/* ) ;;
   3802   *)
   3803     # OSF1 and SCO ODT 3.0 have their own names for install.
   3804     # Don't use installbsd from OSF since it installs stuff as root
   3805     # by default.
   3806     for ac_prog in ginstall scoinst install; do
   3807       for ac_exec_ext in '' $ac_executable_extensions; do
   3808 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3809 	  if test $ac_prog = install &&
   3810 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3811 	    # AIX install.  It has an incompatible calling convention.
   3812 	    :
   3813 	  elif test $ac_prog = install &&
   3814 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3815 	    # program-specific install script used by HP pwplus--don't use.
   3816 	    :
   3817 	  else
   3818 	    rm -rf conftest.one conftest.two conftest.dir
   3819 	    echo one > conftest.one
   3820 	    echo two > conftest.two
   3821 	    mkdir conftest.dir
   3822 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3823 	      test -s conftest.one && test -s conftest.two &&
   3824 	      test -s conftest.dir/conftest.one &&
   3825 	      test -s conftest.dir/conftest.two
   3826 	    then
   3827 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3828 	      break 3
   3829 	    fi
   3830 	  fi
   3831 	fi
   3832       done
   3833     done
   3834     ;;
   3835 esac
   3836 
   3837   done
   3838 IFS=$as_save_IFS
   3839 
   3840 rm -rf conftest.one conftest.two conftest.dir
   3841 
   3842 fi
   3843   if test "${ac_cv_path_install+set}" = set; then
   3844     INSTALL=$ac_cv_path_install
   3845   else
   3846     # As a last resort, use the slow shell script.  Don't cache a
   3847     # value for INSTALL within a source directory, because that will
   3848     # break other packages using the cache if that directory is
   3849     # removed, or if the value is a relative name.
   3850     INSTALL=$ac_install_sh
   3851   fi
   3852 fi
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3854 $as_echo "$INSTALL" >&6; }
   3855 
   3856 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3857 # It thinks the first close brace ends the variable substitution.
   3858 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3859 
   3860 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3861 
   3862 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3863 
   3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3865 $as_echo_n "checking whether build environment is sane... " >&6; }
   3866 # Just in case
   3867 sleep 1
   3868 echo timestamp > conftest.file
   3869 # Reject unsafe characters in $srcdir or the absolute working directory
   3870 # name.  Accept space and tab only in the latter.
   3871 am_lf='
   3872 '
   3873 case `pwd` in
   3874   *[\\\"\#\$\&\'\`$am_lf]*)
   3875     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3876 esac
   3877 case $srcdir in
   3878   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3879     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   3880 esac
   3881 
   3882 # Do `set' in a subshell so we don't clobber the current shell's
   3883 # arguments.  Must try -L first in case configure is actually a
   3884 # symlink; some systems play weird games with the mod time of symlinks
   3885 # (eg FreeBSD returns the mod time of the symlink's containing
   3886 # directory).
   3887 if (
   3888    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3889    if test "$*" = "X"; then
   3890       # -L didn't work.
   3891       set X `ls -t "$srcdir/configure" conftest.file`
   3892    fi
   3893    rm -f conftest.file
   3894    if test "$*" != "X $srcdir/configure conftest.file" \
   3895       && test "$*" != "X conftest.file $srcdir/configure"; then
   3896 
   3897       # If neither matched, then we have a broken ls.  This can happen
   3898       # if, for instance, CONFIG_SHELL is bash and it inherits a
   3899       # broken ls alias from the environment.  This has actually
   3900       # happened.  Such a system could not be considered "sane".
   3901       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3902 alias in your environment" "$LINENO" 5
   3903    fi
   3904 
   3905    test "$2" = conftest.file
   3906    )
   3907 then
   3908    # Ok.
   3909    :
   3910 else
   3911    as_fn_error $? "newly created file is older than distributed files!
   3912 Check your system clock" "$LINENO" 5
   3913 fi
   3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3915 $as_echo "yes" >&6; }
   3916 test "$program_prefix" != NONE &&
   3917   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3918 # Use a double $ so make ignores it.
   3919 test "$program_suffix" != NONE &&
   3920   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3921 # Double any \ or $.
   3922 # By default was `s,x,x', remove it if useless.
   3923 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3924 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3925 
   3926 # expand $ac_aux_dir to an absolute path
   3927 am_aux_dir=`cd $ac_aux_dir && pwd`
   3928 
   3929 if test x"${MISSING+set}" != xset; then
   3930   case $am_aux_dir in
   3931   *\ * | *\	*)
   3932     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3933   *)
   3934     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3935   esac
   3936 fi
   3937 # Use eval to expand $SHELL
   3938 if eval "$MISSING --run true"; then
   3939   am_missing_run="$MISSING --run "
   3940 else
   3941   am_missing_run=
   3942   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   3943 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   3944 fi
   3945 
   3946 if test x"${install_sh}" != xset; then
   3947   case $am_aux_dir in
   3948   *\ * | *\	*)
   3949     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3950   *)
   3951     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3952   esac
   3953 fi
   3954 
   3955 # Installed binaries are usually stripped using `strip' when the user
   3956 # run `make install-strip'.  However `strip' might not be the right
   3957 # tool to use in cross-compilation environments, therefore Automake
   3958 # will honor the `STRIP' environment variable to overrule this program.
   3959 if test "$cross_compiling" != no; then
   3960   if test -n "$ac_tool_prefix"; then
   3961   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3962 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3964 $as_echo_n "checking for $ac_word... " >&6; }
   3965 if ${ac_cv_prog_STRIP+:} false; then :
   3966   $as_echo_n "(cached) " >&6
   3967 else
   3968   if test -n "$STRIP"; then
   3969   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3970 else
   3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3972 for as_dir in $PATH
   3973 do
   3974   IFS=$as_save_IFS
   3975   test -z "$as_dir" && as_dir=.
   3976     for ac_exec_ext in '' $ac_executable_extensions; do
   3977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3978     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3980     break 2
   3981   fi
   3982 done
   3983   done
   3984 IFS=$as_save_IFS
   3985 
   3986 fi
   3987 fi
   3988 STRIP=$ac_cv_prog_STRIP
   3989 if test -n "$STRIP"; then
   3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3991 $as_echo "$STRIP" >&6; }
   3992 else
   3993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3994 $as_echo "no" >&6; }
   3995 fi
   3996 
   3997 
   3998 fi
   3999 if test -z "$ac_cv_prog_STRIP"; then
   4000   ac_ct_STRIP=$STRIP
   4001   # Extract the first word of "strip", so it can be a program name with args.
   4002 set dummy strip; ac_word=$2
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4004 $as_echo_n "checking for $ac_word... " >&6; }
   4005 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4006   $as_echo_n "(cached) " >&6
   4007 else
   4008   if test -n "$ac_ct_STRIP"; then
   4009   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4010 else
   4011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4012 for as_dir in $PATH
   4013 do
   4014   IFS=$as_save_IFS
   4015   test -z "$as_dir" && as_dir=.
   4016     for ac_exec_ext in '' $ac_executable_extensions; do
   4017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4018     ac_cv_prog_ac_ct_STRIP="strip"
   4019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4020     break 2
   4021   fi
   4022 done
   4023   done
   4024 IFS=$as_save_IFS
   4025 
   4026 fi
   4027 fi
   4028 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4029 if test -n "$ac_ct_STRIP"; then
   4030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4031 $as_echo "$ac_ct_STRIP" >&6; }
   4032 else
   4033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4034 $as_echo "no" >&6; }
   4035 fi
   4036 
   4037   if test "x$ac_ct_STRIP" = x; then
   4038     STRIP=":"
   4039   else
   4040     case $cross_compiling:$ac_tool_warned in
   4041 yes:)
   4042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4044 ac_tool_warned=yes ;;
   4045 esac
   4046     STRIP=$ac_ct_STRIP
   4047   fi
   4048 else
   4049   STRIP="$ac_cv_prog_STRIP"
   4050 fi
   4051 
   4052 fi
   4053 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4054 
   4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4056 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4057 if test -z "$MKDIR_P"; then
   4058   if ${ac_cv_path_mkdir+:} false; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4062 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4063 do
   4064   IFS=$as_save_IFS
   4065   test -z "$as_dir" && as_dir=.
   4066     for ac_prog in mkdir gmkdir; do
   4067 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4068 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4069 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4070 	     'mkdir (GNU coreutils) '* | \
   4071 	     'mkdir (coreutils) '* | \
   4072 	     'mkdir (fileutils) '4.1*)
   4073 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4074 	       break 3;;
   4075 	   esac
   4076 	 done
   4077        done
   4078   done
   4079 IFS=$as_save_IFS
   4080 
   4081 fi
   4082 
   4083   test -d ./--version && rmdir ./--version
   4084   if test "${ac_cv_path_mkdir+set}" = set; then
   4085     MKDIR_P="$ac_cv_path_mkdir -p"
   4086   else
   4087     # As a last resort, use the slow shell script.  Don't cache a
   4088     # value for MKDIR_P within a source directory, because that will
   4089     # break other packages using the cache if that directory is
   4090     # removed, or if the value is a relative name.
   4091     MKDIR_P="$ac_install_sh -d"
   4092   fi
   4093 fi
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4095 $as_echo "$MKDIR_P" >&6; }
   4096 
   4097 mkdir_p="$MKDIR_P"
   4098 case $mkdir_p in
   4099   [\\/$]* | ?:[\\/]*) ;;
   4100   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4101 esac
   4102 
   4103 for ac_prog in gawk mawk nawk awk
   4104 do
   4105   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4106 set dummy $ac_prog; ac_word=$2
   4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4108 $as_echo_n "checking for $ac_word... " >&6; }
   4109 if ${ac_cv_prog_AWK+:} false; then :
   4110   $as_echo_n "(cached) " >&6
   4111 else
   4112   if test -n "$AWK"; then
   4113   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4114 else
   4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4116 for as_dir in $PATH
   4117 do
   4118   IFS=$as_save_IFS
   4119   test -z "$as_dir" && as_dir=.
   4120     for ac_exec_ext in '' $ac_executable_extensions; do
   4121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4122     ac_cv_prog_AWK="$ac_prog"
   4123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4124     break 2
   4125   fi
   4126 done
   4127   done
   4128 IFS=$as_save_IFS
   4129 
   4130 fi
   4131 fi
   4132 AWK=$ac_cv_prog_AWK
   4133 if test -n "$AWK"; then
   4134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4135 $as_echo "$AWK" >&6; }
   4136 else
   4137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4138 $as_echo "no" >&6; }
   4139 fi
   4140 
   4141 
   4142   test -n "$AWK" && break
   4143 done
   4144 
   4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4146 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4147 set x ${MAKE-make}
   4148 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4149 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4150   $as_echo_n "(cached) " >&6
   4151 else
   4152   cat >conftest.make <<\_ACEOF
   4153 SHELL = /bin/sh
   4154 all:
   4155 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4156 _ACEOF
   4157 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4158 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4159   *@@@%%%=?*=@@@%%%*)
   4160     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4161   *)
   4162     eval ac_cv_prog_make_${ac_make}_set=no;;
   4163 esac
   4164 rm -f conftest.make
   4165 fi
   4166 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4168 $as_echo "yes" >&6; }
   4169   SET_MAKE=
   4170 else
   4171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4172 $as_echo "no" >&6; }
   4173   SET_MAKE="MAKE=${MAKE-make}"
   4174 fi
   4175 
   4176 rm -rf .tst 2>/dev/null
   4177 mkdir .tst 2>/dev/null
   4178 if test -d .tst; then
   4179   am__leading_dot=.
   4180 else
   4181   am__leading_dot=_
   4182 fi
   4183 rmdir .tst 2>/dev/null
   4184 
   4185 DEPDIR="${am__leading_dot}deps"
   4186 
   4187 ac_config_commands="$ac_config_commands depfiles"
   4188 
   4189 
   4190 am_make=${MAKE-make}
   4191 cat > confinc << 'END'
   4192 am__doit:
   4193 	@echo this is the am__doit target
   4194 .PHONY: am__doit
   4195 END
   4196 # If we don't find an include directive, just comment out the code.
   4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4198 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4199 am__include="#"
   4200 am__quote=
   4201 _am_result=none
   4202 # First try GNU make style include.
   4203 echo "include confinc" > confmf
   4204 # Ignore all kinds of additional output from `make'.
   4205 case `$am_make -s -f confmf 2> /dev/null` in #(
   4206 *the\ am__doit\ target*)
   4207   am__include=include
   4208   am__quote=
   4209   _am_result=GNU
   4210   ;;
   4211 esac
   4212 # Now try BSD make style include.
   4213 if test "$am__include" = "#"; then
   4214    echo '.include "confinc"' > confmf
   4215    case `$am_make -s -f confmf 2> /dev/null` in #(
   4216    *the\ am__doit\ target*)
   4217      am__include=.include
   4218      am__quote="\""
   4219      _am_result=BSD
   4220      ;;
   4221    esac
   4222 fi
   4223 
   4224 
   4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4226 $as_echo "$_am_result" >&6; }
   4227 rm -f confinc confmf
   4228 
   4229 # Check whether --enable-dependency-tracking was given.
   4230 if test "${enable_dependency_tracking+set}" = set; then :
   4231   enableval=$enable_dependency_tracking;
   4232 fi
   4233 
   4234 if test "x$enable_dependency_tracking" != xno; then
   4235   am_depcomp="$ac_aux_dir/depcomp"
   4236   AMDEPBACKSLASH='\'
   4237   am__nodep='_no'
   4238 fi
   4239  if test "x$enable_dependency_tracking" != xno; then
   4240   AMDEP_TRUE=
   4241   AMDEP_FALSE='#'
   4242 else
   4243   AMDEP_TRUE='#'
   4244   AMDEP_FALSE=
   4245 fi
   4246 
   4247 
   4248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4249   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4250   # is not polluted with repeated "-I."
   4251   am__isrc=' -I$(srcdir)'
   4252   # test to see if srcdir already configured
   4253   if test -f $srcdir/config.status; then
   4254     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4255   fi
   4256 fi
   4257 
   4258 # test whether we have cygpath
   4259 if test -z "$CYGPATH_W"; then
   4260   if (cygpath --version) >/dev/null 2>/dev/null; then
   4261     CYGPATH_W='cygpath -w'
   4262   else
   4263     CYGPATH_W=echo
   4264   fi
   4265 fi
   4266 
   4267 
   4268 # Define the identity of the package.
   4269  PACKAGE='xfs'
   4270  VERSION='1.1.3'
   4271 
   4272 
   4273 cat >>confdefs.h <<_ACEOF
   4274 #define PACKAGE "$PACKAGE"
   4275 _ACEOF
   4276 
   4277 
   4278 cat >>confdefs.h <<_ACEOF
   4279 #define VERSION "$VERSION"
   4280 _ACEOF
   4281 
   4282 # Some tools Automake needs.
   4283 
   4284 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4285 
   4286 
   4287 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4288 
   4289 
   4290 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4291 
   4292 
   4293 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4294 
   4295 
   4296 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4297 
   4298 # We need awk for the "check" target.  The system "awk" is bad on
   4299 # some platforms.
   4300 # Always define AMTAR for backward compatibility.
   4301 
   4302 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4303 
   4304 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4305 
   4306 
   4307 
   4308 
   4309 depcc="$CC"   am_compiler_list=
   4310 
   4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4312 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4313 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4314   $as_echo_n "(cached) " >&6
   4315 else
   4316   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4317   # We make a subdir and do the tests there.  Otherwise we can end up
   4318   # making bogus files that we don't know about and never remove.  For
   4319   # instance it was reported that on HP-UX the gcc test will end up
   4320   # making a dummy file named `D' -- because `-MD' means `put the output
   4321   # in D'.
   4322   rm -rf conftest.dir
   4323   mkdir conftest.dir
   4324   # Copy depcomp to subdir because otherwise we won't find it if we're
   4325   # using a relative directory.
   4326   cp "$am_depcomp" conftest.dir
   4327   cd conftest.dir
   4328   # We will build objects and dependencies in a subdirectory because
   4329   # it helps to detect inapplicable dependency modes.  For instance
   4330   # both Tru64's cc and ICC support -MD to output dependencies as a
   4331   # side effect of compilation, but ICC will put the dependencies in
   4332   # the current directory while Tru64 will put them in the object
   4333   # directory.
   4334   mkdir sub
   4335 
   4336   am_cv_CC_dependencies_compiler_type=none
   4337   if test "$am_compiler_list" = ""; then
   4338      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4339   fi
   4340   am__universal=false
   4341   case " $depcc " in #(
   4342      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4343      esac
   4344 
   4345   for depmode in $am_compiler_list; do
   4346     # Setup a source with many dependencies, because some compilers
   4347     # like to wrap large dependency lists on column 80 (with \), and
   4348     # we should not choose a depcomp mode which is confused by this.
   4349     #
   4350     # We need to recreate these files for each test, as the compiler may
   4351     # overwrite some of them when testing with obscure command lines.
   4352     # This happens at least with the AIX C compiler.
   4353     : > sub/conftest.c
   4354     for i in 1 2 3 4 5 6; do
   4355       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4356       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4357       # Solaris 8's {/usr,}/bin/sh.
   4358       touch sub/conftst$i.h
   4359     done
   4360     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4361 
   4362     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4363     # mode.  It turns out that the SunPro C++ compiler does not properly
   4364     # handle `-M -o', and we need to detect this.  Also, some Intel
   4365     # versions had trouble with output in subdirs
   4366     am__obj=sub/conftest.${OBJEXT-o}
   4367     am__minus_obj="-o $am__obj"
   4368     case $depmode in
   4369     gcc)
   4370       # This depmode causes a compiler race in universal mode.
   4371       test "$am__universal" = false || continue
   4372       ;;
   4373     nosideeffect)
   4374       # after this tag, mechanisms are not by side-effect, so they'll
   4375       # only be used when explicitly requested
   4376       if test "x$enable_dependency_tracking" = xyes; then
   4377 	continue
   4378       else
   4379 	break
   4380       fi
   4381       ;;
   4382     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4383       # This compiler won't grok `-c -o', but also, the minuso test has
   4384       # not run yet.  These depmodes are late enough in the game, and
   4385       # so weak that their functioning should not be impacted.
   4386       am__obj=conftest.${OBJEXT-o}
   4387       am__minus_obj=
   4388       ;;
   4389     none) break ;;
   4390     esac
   4391     if depmode=$depmode \
   4392        source=sub/conftest.c object=$am__obj \
   4393        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4394        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4395          >/dev/null 2>conftest.err &&
   4396        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4397        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4398        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4399        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4400       # icc doesn't choke on unknown options, it will just issue warnings
   4401       # or remarks (even with -Werror).  So we grep stderr for any message
   4402       # that says an option was ignored or not supported.
   4403       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4404       #   icc: Command line warning: ignoring option '-M'; no argument required
   4405       # The diagnosis changed in icc 8.0:
   4406       #   icc: Command line remark: option '-MP' not supported
   4407       if (grep 'ignoring option' conftest.err ||
   4408           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4409         am_cv_CC_dependencies_compiler_type=$depmode
   4410         break
   4411       fi
   4412     fi
   4413   done
   4414 
   4415   cd ..
   4416   rm -rf conftest.dir
   4417 else
   4418   am_cv_CC_dependencies_compiler_type=none
   4419 fi
   4420 
   4421 fi
   4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4423 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4424 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4425 
   4426  if
   4427   test "x$enable_dependency_tracking" != xno \
   4428   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4429   am__fastdepCC_TRUE=
   4430   am__fastdepCC_FALSE='#'
   4431 else
   4432   am__fastdepCC_TRUE='#'
   4433   am__fastdepCC_FALSE=
   4434 fi
   4435 
   4436 
   4437 
   4438 
   4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4440 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4441     # Check whether --enable-maintainer-mode was given.
   4442 if test "${enable_maintainer_mode+set}" = set; then :
   4443   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4444 else
   4445   USE_MAINTAINER_MODE=no
   4446 fi
   4447 
   4448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4449 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4450    if test $USE_MAINTAINER_MODE = yes; then
   4451   MAINTAINER_MODE_TRUE=
   4452   MAINTAINER_MODE_FALSE='#'
   4453 else
   4454   MAINTAINER_MODE_TRUE='#'
   4455   MAINTAINER_MODE_FALSE=
   4456 fi
   4457 
   4458   MAINT=$MAINTAINER_MODE_TRUE
   4459 
   4460 
   4461 
   4462 # Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4475 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4476 if ${ac_cv_prog_cc_c99+:} false; then :
   4477   $as_echo_n "(cached) " >&6
   4478 else
   4479   ac_cv_prog_cc_c99=no
   4480 ac_save_CC=$CC
   4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4482 /* end confdefs.h.  */
   4483 #include <stdarg.h>
   4484 #include <stdbool.h>
   4485 #include <stdlib.h>
   4486 #include <wchar.h>
   4487 #include <stdio.h>
   4488 
   4489 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4490 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4491 #define showlist(...) puts (#__VA_ARGS__)
   4492 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4493 static void
   4494 test_varargs_macros (void)
   4495 {
   4496   int x = 1234;
   4497   int y = 5678;
   4498   debug ("Flag");
   4499   debug ("X = %d\n", x);
   4500   showlist (The first, second, and third items.);
   4501   report (x>y, "x is %d but y is %d", x, y);
   4502 }
   4503 
   4504 // Check long long types.
   4505 #define BIG64 18446744073709551615ull
   4506 #define BIG32 4294967295ul
   4507 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4508 #if !BIG_OK
   4509   your preprocessor is broken;
   4510 #endif
   4511 #if BIG_OK
   4512 #else
   4513   your preprocessor is broken;
   4514 #endif
   4515 static long long int bignum = -9223372036854775807LL;
   4516 static unsigned long long int ubignum = BIG64;
   4517 
   4518 struct incomplete_array
   4519 {
   4520   int datasize;
   4521   double data[];
   4522 };
   4523 
   4524 struct named_init {
   4525   int number;
   4526   const wchar_t *name;
   4527   double average;
   4528 };
   4529 
   4530 typedef const char *ccp;
   4531 
   4532 static inline int
   4533 test_restrict (ccp restrict text)
   4534 {
   4535   // See if C++-style comments work.
   4536   // Iterate through items via the restricted pointer.
   4537   // Also check for declarations in for loops.
   4538   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4539     continue;
   4540   return 0;
   4541 }
   4542 
   4543 // Check varargs and va_copy.
   4544 static void
   4545 test_varargs (const char *format, ...)
   4546 {
   4547   va_list args;
   4548   va_start (args, format);
   4549   va_list args_copy;
   4550   va_copy (args_copy, args);
   4551 
   4552   const char *str;
   4553   int number;
   4554   float fnumber;
   4555 
   4556   while (*format)
   4557     {
   4558       switch (*format++)
   4559 	{
   4560 	case 's': // string
   4561 	  str = va_arg (args_copy, const char *);
   4562 	  break;
   4563 	case 'd': // int
   4564 	  number = va_arg (args_copy, int);
   4565 	  break;
   4566 	case 'f': // float
   4567 	  fnumber = va_arg (args_copy, double);
   4568 	  break;
   4569 	default:
   4570 	  break;
   4571 	}
   4572     }
   4573   va_end (args_copy);
   4574   va_end (args);
   4575 }
   4576 
   4577 int
   4578 main ()
   4579 {
   4580 
   4581   // Check bool.
   4582   _Bool success = false;
   4583 
   4584   // Check restrict.
   4585   if (test_restrict ("String literal") == 0)
   4586     success = true;
   4587   char *restrict newvar = "Another string";
   4588 
   4589   // Check varargs.
   4590   test_varargs ("s, d' f .", "string", 65, 34.234);
   4591   test_varargs_macros ();
   4592 
   4593   // Check flexible array members.
   4594   struct incomplete_array *ia =
   4595     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4596   ia->datasize = 10;
   4597   for (int i = 0; i < ia->datasize; ++i)
   4598     ia->data[i] = i * 1.234;
   4599 
   4600   // Check named initializers.
   4601   struct named_init ni = {
   4602     .number = 34,
   4603     .name = L"Test wide string",
   4604     .average = 543.34343,
   4605   };
   4606 
   4607   ni.number = 58;
   4608 
   4609   int dynamic_array[ni.number];
   4610   dynamic_array[ni.number - 1] = 543;
   4611 
   4612   // work around unused variable warnings
   4613   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4614 	  || dynamic_array[ni.number - 1] != 543);
   4615 
   4616   ;
   4617   return 0;
   4618 }
   4619 _ACEOF
   4620 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4621 do
   4622   CC="$ac_save_CC $ac_arg"
   4623   if ac_fn_c_try_compile "$LINENO"; then :
   4624   ac_cv_prog_cc_c99=$ac_arg
   4625 fi
   4626 rm -f core conftest.err conftest.$ac_objext
   4627   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4628 done
   4629 rm -f conftest.$ac_ext
   4630 CC=$ac_save_CC
   4631 
   4632 fi
   4633 # AC_CACHE_VAL
   4634 case "x$ac_cv_prog_cc_c99" in
   4635   x)
   4636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4637 $as_echo "none needed" >&6; } ;;
   4638   xno)
   4639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4640 $as_echo "unsupported" >&6; } ;;
   4641   *)
   4642     CC="$CC $ac_cv_prog_cc_c99"
   4643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4644 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4645 esac
   4646 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4647 
   4648 fi
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4656 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4657   CLANGCC="yes"
   4658 else
   4659   CLANGCC="no"
   4660 fi
   4661 
   4662 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4663 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4664   INTELCC="yes"
   4665 else
   4666   INTELCC="no"
   4667 fi
   4668 
   4669 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4670 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4671   SUNCC="yes"
   4672 else
   4673   SUNCC="no"
   4674 fi
   4675 
   4676 
   4677 
   4678 
   4679 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4680 	if test -n "$ac_tool_prefix"; then
   4681   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4682 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4684 $as_echo_n "checking for $ac_word... " >&6; }
   4685 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4686   $as_echo_n "(cached) " >&6
   4687 else
   4688   case $PKG_CONFIG in
   4689   [\\/]* | ?:[\\/]*)
   4690   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4691   ;;
   4692   *)
   4693   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4694 for as_dir in $PATH
   4695 do
   4696   IFS=$as_save_IFS
   4697   test -z "$as_dir" && as_dir=.
   4698     for ac_exec_ext in '' $ac_executable_extensions; do
   4699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4700     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4702     break 2
   4703   fi
   4704 done
   4705   done
   4706 IFS=$as_save_IFS
   4707 
   4708   ;;
   4709 esac
   4710 fi
   4711 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4712 if test -n "$PKG_CONFIG"; then
   4713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4714 $as_echo "$PKG_CONFIG" >&6; }
   4715 else
   4716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4717 $as_echo "no" >&6; }
   4718 fi
   4719 
   4720 
   4721 fi
   4722 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4723   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4724   # Extract the first word of "pkg-config", so it can be a program name with args.
   4725 set dummy pkg-config; ac_word=$2
   4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4727 $as_echo_n "checking for $ac_word... " >&6; }
   4728 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4729   $as_echo_n "(cached) " >&6
   4730 else
   4731   case $ac_pt_PKG_CONFIG in
   4732   [\\/]* | ?:[\\/]*)
   4733   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4734   ;;
   4735   *)
   4736   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4737 for as_dir in $PATH
   4738 do
   4739   IFS=$as_save_IFS
   4740   test -z "$as_dir" && as_dir=.
   4741     for ac_exec_ext in '' $ac_executable_extensions; do
   4742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4743     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4745     break 2
   4746   fi
   4747 done
   4748   done
   4749 IFS=$as_save_IFS
   4750 
   4751   ;;
   4752 esac
   4753 fi
   4754 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4755 if test -n "$ac_pt_PKG_CONFIG"; then
   4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4757 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4758 else
   4759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4760 $as_echo "no" >&6; }
   4761 fi
   4762 
   4763   if test "x$ac_pt_PKG_CONFIG" = x; then
   4764     PKG_CONFIG=""
   4765   else
   4766     case $cross_compiling:$ac_tool_warned in
   4767 yes:)
   4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4770 ac_tool_warned=yes ;;
   4771 esac
   4772     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4773   fi
   4774 else
   4775   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4776 fi
   4777 
   4778 fi
   4779 if test -n "$PKG_CONFIG"; then
   4780 	_pkg_min_version=0.9.0
   4781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4782 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4783 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4785 $as_echo "yes" >&6; }
   4786 	else
   4787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4788 $as_echo "no" >&6; }
   4789 		PKG_CONFIG=""
   4790 	fi
   4791 
   4792 fi
   4793 # Make sure we can run config.sub.
   4794 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4795   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4796 
   4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4798 $as_echo_n "checking build system type... " >&6; }
   4799 if ${ac_cv_build+:} false; then :
   4800   $as_echo_n "(cached) " >&6
   4801 else
   4802   ac_build_alias=$build_alias
   4803 test "x$ac_build_alias" = x &&
   4804   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4805 test "x$ac_build_alias" = x &&
   4806   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4807 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4808   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4809 
   4810 fi
   4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4812 $as_echo "$ac_cv_build" >&6; }
   4813 case $ac_cv_build in
   4814 *-*-*) ;;
   4815 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4816 esac
   4817 build=$ac_cv_build
   4818 ac_save_IFS=$IFS; IFS='-'
   4819 set x $ac_cv_build
   4820 shift
   4821 build_cpu=$1
   4822 build_vendor=$2
   4823 shift; shift
   4824 # Remember, the first character of IFS is used to create $*,
   4825 # except with old shells:
   4826 build_os=$*
   4827 IFS=$ac_save_IFS
   4828 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4829 
   4830 
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4832 $as_echo_n "checking host system type... " >&6; }
   4833 if ${ac_cv_host+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   if test "x$host_alias" = x; then
   4837   ac_cv_host=$ac_cv_build
   4838 else
   4839   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4840     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4841 fi
   4842 
   4843 fi
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4845 $as_echo "$ac_cv_host" >&6; }
   4846 case $ac_cv_host in
   4847 *-*-*) ;;
   4848 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4849 esac
   4850 host=$ac_cv_host
   4851 ac_save_IFS=$IFS; IFS='-'
   4852 set x $ac_cv_host
   4853 shift
   4854 host_cpu=$1
   4855 host_vendor=$2
   4856 shift; shift
   4857 # Remember, the first character of IFS is used to create $*,
   4858 # except with old shells:
   4859 host_os=$*
   4860 IFS=$ac_save_IFS
   4861 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4862 
   4863 
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4865 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4866 if ${ac_cv_path_SED+:} false; then :
   4867   $as_echo_n "(cached) " >&6
   4868 else
   4869             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4870      for ac_i in 1 2 3 4 5 6 7; do
   4871        ac_script="$ac_script$as_nl$ac_script"
   4872      done
   4873      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4874      { ac_script=; unset ac_script;}
   4875      if test -z "$SED"; then
   4876   ac_path_SED_found=false
   4877   # Loop through the user's path and test for each of PROGNAME-LIST
   4878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4879 for as_dir in $PATH
   4880 do
   4881   IFS=$as_save_IFS
   4882   test -z "$as_dir" && as_dir=.
   4883     for ac_prog in sed gsed; do
   4884     for ac_exec_ext in '' $ac_executable_extensions; do
   4885       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4886       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4887 # Check for GNU ac_path_SED and select it if it is found.
   4888   # Check for GNU $ac_path_SED
   4889 case `"$ac_path_SED" --version 2>&1` in
   4890 *GNU*)
   4891   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4892 *)
   4893   ac_count=0
   4894   $as_echo_n 0123456789 >"conftest.in"
   4895   while :
   4896   do
   4897     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4898     mv "conftest.tmp" "conftest.in"
   4899     cp "conftest.in" "conftest.nl"
   4900     $as_echo '' >> "conftest.nl"
   4901     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4902     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4903     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4904     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4905       # Best one so far, save it but keep looking for a better one
   4906       ac_cv_path_SED="$ac_path_SED"
   4907       ac_path_SED_max=$ac_count
   4908     fi
   4909     # 10*(2^10) chars as input seems more than enough
   4910     test $ac_count -gt 10 && break
   4911   done
   4912   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4913 esac
   4914 
   4915       $ac_path_SED_found && break 3
   4916     done
   4917   done
   4918   done
   4919 IFS=$as_save_IFS
   4920   if test -z "$ac_cv_path_SED"; then
   4921     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4922   fi
   4923 else
   4924   ac_cv_path_SED=$SED
   4925 fi
   4926 
   4927 fi
   4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4929 $as_echo "$ac_cv_path_SED" >&6; }
   4930  SED="$ac_cv_path_SED"
   4931   rm -f conftest.sed
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 # Check whether --enable-selective-werror was given.
   4939 if test "${enable_selective_werror+set}" = set; then :
   4940   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4941 else
   4942   SELECTIVE_WERROR=yes
   4943 fi
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4950 if test "x$SUNCC" = "xyes"; then
   4951     BASE_CFLAGS="-v"
   4952 else
   4953     BASE_CFLAGS=""
   4954 fi
   4955 
   4956 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 xorg_testset_save_CFLAGS="$CFLAGS"
   4971 
   4972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4975 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4976 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4980 /* end confdefs.h.  */
   4981 int i;
   4982 _ACEOF
   4983 if ac_fn_c_try_compile "$LINENO"; then :
   4984   xorg_cv_cc_flag_unknown_warning_option=yes
   4985 else
   4986   xorg_cv_cc_flag_unknown_warning_option=no
   4987 fi
   4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4989 fi
   4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4991 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4993 	CFLAGS="$xorg_testset_save_CFLAGS"
   4994 fi
   4995 
   4996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4999 	fi
   5000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5002 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5003 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5004   $as_echo_n "(cached) " >&6
   5005 else
   5006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5007 /* end confdefs.h.  */
   5008 int i;
   5009 _ACEOF
   5010 if ac_fn_c_try_compile "$LINENO"; then :
   5011   xorg_cv_cc_flag_unused_command_line_argument=yes
   5012 else
   5013   xorg_cv_cc_flag_unused_command_line_argument=no
   5014 fi
   5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5016 fi
   5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5018 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5020 	CFLAGS="$xorg_testset_save_CFLAGS"
   5021 fi
   5022 
   5023 found="no"
   5024 
   5025 	if test $found = "no" ; then
   5026 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5028 		fi
   5029 
   5030 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5032 		fi
   5033 
   5034 		CFLAGS="$CFLAGS -Wall"
   5035 
   5036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5037 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5038 		cacheid=xorg_cv_cc_flag__Wall
   5039 		if eval \${$cacheid+:} false; then :
   5040   $as_echo_n "(cached) " >&6
   5041 else
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 int i;
   5045 int
   5046 main ()
   5047 {
   5048 
   5049   ;
   5050   return 0;
   5051 }
   5052 _ACEOF
   5053 if ac_fn_c_try_link "$LINENO"; then :
   5054   eval $cacheid=yes
   5055 else
   5056   eval $cacheid=no
   5057 fi
   5058 rm -f core conftest.err conftest.$ac_objext \
   5059     conftest$ac_exeext conftest.$ac_ext
   5060 fi
   5061 
   5062 
   5063 		CFLAGS="$xorg_testset_save_CFLAGS"
   5064 
   5065 		eval supported=\$$cacheid
   5066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5067 $as_echo "$supported" >&6; }
   5068 		if test "$supported" = "yes" ; then
   5069 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5070 			found="yes"
   5071 		fi
   5072 	fi
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 xorg_testset_save_CFLAGS="$CFLAGS"
   5089 
   5090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5095   $as_echo_n "(cached) " >&6
   5096 else
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 int i;
   5100 _ACEOF
   5101 if ac_fn_c_try_compile "$LINENO"; then :
   5102   xorg_cv_cc_flag_unknown_warning_option=yes
   5103 else
   5104   xorg_cv_cc_flag_unknown_warning_option=no
   5105 fi
   5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5107 fi
   5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5111 	CFLAGS="$xorg_testset_save_CFLAGS"
   5112 fi
   5113 
   5114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5117 	fi
   5118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5122   $as_echo_n "(cached) " >&6
   5123 else
   5124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5125 /* end confdefs.h.  */
   5126 int i;
   5127 _ACEOF
   5128 if ac_fn_c_try_compile "$LINENO"; then :
   5129   xorg_cv_cc_flag_unused_command_line_argument=yes
   5130 else
   5131   xorg_cv_cc_flag_unused_command_line_argument=no
   5132 fi
   5133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5134 fi
   5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5138 	CFLAGS="$xorg_testset_save_CFLAGS"
   5139 fi
   5140 
   5141 found="no"
   5142 
   5143 	if test $found = "no" ; then
   5144 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5146 		fi
   5147 
   5148 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5150 		fi
   5151 
   5152 		CFLAGS="$CFLAGS -Wpointer-arith"
   5153 
   5154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5155 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5156 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5157 		if eval \${$cacheid+:} false; then :
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 int i;
   5163 int
   5164 main ()
   5165 {
   5166 
   5167   ;
   5168   return 0;
   5169 }
   5170 _ACEOF
   5171 if ac_fn_c_try_link "$LINENO"; then :
   5172   eval $cacheid=yes
   5173 else
   5174   eval $cacheid=no
   5175 fi
   5176 rm -f core conftest.err conftest.$ac_objext \
   5177     conftest$ac_exeext conftest.$ac_ext
   5178 fi
   5179 
   5180 
   5181 		CFLAGS="$xorg_testset_save_CFLAGS"
   5182 
   5183 		eval supported=\$$cacheid
   5184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5185 $as_echo "$supported" >&6; }
   5186 		if test "$supported" = "yes" ; then
   5187 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5188 			found="yes"
   5189 		fi
   5190 	fi
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 xorg_testset_save_CFLAGS="$CFLAGS"
   5207 
   5208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5216 /* end confdefs.h.  */
   5217 int i;
   5218 _ACEOF
   5219 if ac_fn_c_try_compile "$LINENO"; then :
   5220   xorg_cv_cc_flag_unknown_warning_option=yes
   5221 else
   5222   xorg_cv_cc_flag_unknown_warning_option=no
   5223 fi
   5224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5225 fi
   5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5229 	CFLAGS="$xorg_testset_save_CFLAGS"
   5230 fi
   5231 
   5232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5235 	fi
   5236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5240   $as_echo_n "(cached) " >&6
   5241 else
   5242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5243 /* end confdefs.h.  */
   5244 int i;
   5245 _ACEOF
   5246 if ac_fn_c_try_compile "$LINENO"; then :
   5247   xorg_cv_cc_flag_unused_command_line_argument=yes
   5248 else
   5249   xorg_cv_cc_flag_unused_command_line_argument=no
   5250 fi
   5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5252 fi
   5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5256 	CFLAGS="$xorg_testset_save_CFLAGS"
   5257 fi
   5258 
   5259 found="no"
   5260 
   5261 	if test $found = "no" ; then
   5262 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5264 		fi
   5265 
   5266 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5268 		fi
   5269 
   5270 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5271 
   5272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5273 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5274 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5275 		if eval \${$cacheid+:} false; then :
   5276   $as_echo_n "(cached) " >&6
   5277 else
   5278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5279 /* end confdefs.h.  */
   5280 int i;
   5281 int
   5282 main ()
   5283 {
   5284 
   5285   ;
   5286   return 0;
   5287 }
   5288 _ACEOF
   5289 if ac_fn_c_try_link "$LINENO"; then :
   5290   eval $cacheid=yes
   5291 else
   5292   eval $cacheid=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext \
   5295     conftest$ac_exeext conftest.$ac_ext
   5296 fi
   5297 
   5298 
   5299 		CFLAGS="$xorg_testset_save_CFLAGS"
   5300 
   5301 		eval supported=\$$cacheid
   5302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5303 $as_echo "$supported" >&6; }
   5304 		if test "$supported" = "yes" ; then
   5305 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5306 			found="yes"
   5307 		fi
   5308 	fi
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 xorg_testset_save_CFLAGS="$CFLAGS"
   5325 
   5326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5331   $as_echo_n "(cached) " >&6
   5332 else
   5333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5334 /* end confdefs.h.  */
   5335 int i;
   5336 _ACEOF
   5337 if ac_fn_c_try_compile "$LINENO"; then :
   5338   xorg_cv_cc_flag_unknown_warning_option=yes
   5339 else
   5340   xorg_cv_cc_flag_unknown_warning_option=no
   5341 fi
   5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5343 fi
   5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5347 	CFLAGS="$xorg_testset_save_CFLAGS"
   5348 fi
   5349 
   5350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5353 	fi
   5354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"; then :
   5365   xorg_cv_cc_flag_unused_command_line_argument=yes
   5366 else
   5367   xorg_cv_cc_flag_unused_command_line_argument=no
   5368 fi
   5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5370 fi
   5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5374 	CFLAGS="$xorg_testset_save_CFLAGS"
   5375 fi
   5376 
   5377 found="no"
   5378 
   5379 	if test $found = "no" ; then
   5380 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5382 		fi
   5383 
   5384 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5386 		fi
   5387 
   5388 		CFLAGS="$CFLAGS -Wformat=2"
   5389 
   5390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5391 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5392 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5393 		if eval \${$cacheid+:} false; then :
   5394   $as_echo_n "(cached) " >&6
   5395 else
   5396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5397 /* end confdefs.h.  */
   5398 int i;
   5399 int
   5400 main ()
   5401 {
   5402 
   5403   ;
   5404   return 0;
   5405 }
   5406 _ACEOF
   5407 if ac_fn_c_try_link "$LINENO"; then :
   5408   eval $cacheid=yes
   5409 else
   5410   eval $cacheid=no
   5411 fi
   5412 rm -f core conftest.err conftest.$ac_objext \
   5413     conftest$ac_exeext conftest.$ac_ext
   5414 fi
   5415 
   5416 
   5417 		CFLAGS="$xorg_testset_save_CFLAGS"
   5418 
   5419 		eval supported=\$$cacheid
   5420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5421 $as_echo "$supported" >&6; }
   5422 		if test "$supported" = "yes" ; then
   5423 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5424 			found="yes"
   5425 		fi
   5426 	fi
   5427 
   5428 	if test $found = "no" ; then
   5429 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5431 		fi
   5432 
   5433 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5435 		fi
   5436 
   5437 		CFLAGS="$CFLAGS -Wformat"
   5438 
   5439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5440 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5441 		cacheid=xorg_cv_cc_flag__Wformat
   5442 		if eval \${$cacheid+:} false; then :
   5443   $as_echo_n "(cached) " >&6
   5444 else
   5445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5446 /* end confdefs.h.  */
   5447 int i;
   5448 int
   5449 main ()
   5450 {
   5451 
   5452   ;
   5453   return 0;
   5454 }
   5455 _ACEOF
   5456 if ac_fn_c_try_link "$LINENO"; then :
   5457   eval $cacheid=yes
   5458 else
   5459   eval $cacheid=no
   5460 fi
   5461 rm -f core conftest.err conftest.$ac_objext \
   5462     conftest$ac_exeext conftest.$ac_ext
   5463 fi
   5464 
   5465 
   5466 		CFLAGS="$xorg_testset_save_CFLAGS"
   5467 
   5468 		eval supported=\$$cacheid
   5469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5470 $as_echo "$supported" >&6; }
   5471 		if test "$supported" = "yes" ; then
   5472 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5473 			found="yes"
   5474 		fi
   5475 	fi
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 xorg_testset_save_CFLAGS="$CFLAGS"
   5494 
   5495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5498 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5499 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5503 /* end confdefs.h.  */
   5504 int i;
   5505 _ACEOF
   5506 if ac_fn_c_try_compile "$LINENO"; then :
   5507   xorg_cv_cc_flag_unknown_warning_option=yes
   5508 else
   5509   xorg_cv_cc_flag_unknown_warning_option=no
   5510 fi
   5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5512 fi
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5514 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5516 	CFLAGS="$xorg_testset_save_CFLAGS"
   5517 fi
   5518 
   5519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5522 	fi
   5523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5525 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5526 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5527   $as_echo_n "(cached) " >&6
   5528 else
   5529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5530 /* end confdefs.h.  */
   5531 int i;
   5532 _ACEOF
   5533 if ac_fn_c_try_compile "$LINENO"; then :
   5534   xorg_cv_cc_flag_unused_command_line_argument=yes
   5535 else
   5536   xorg_cv_cc_flag_unused_command_line_argument=no
   5537 fi
   5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5539 fi
   5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5541 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5543 	CFLAGS="$xorg_testset_save_CFLAGS"
   5544 fi
   5545 
   5546 found="no"
   5547 
   5548 	if test $found = "no" ; then
   5549 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5551 		fi
   5552 
   5553 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5555 		fi
   5556 
   5557 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5558 
   5559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5560 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5561 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5562 		if eval \${$cacheid+:} false; then :
   5563   $as_echo_n "(cached) " >&6
   5564 else
   5565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5566 /* end confdefs.h.  */
   5567 int i;
   5568 int
   5569 main ()
   5570 {
   5571 
   5572   ;
   5573   return 0;
   5574 }
   5575 _ACEOF
   5576 if ac_fn_c_try_link "$LINENO"; then :
   5577   eval $cacheid=yes
   5578 else
   5579   eval $cacheid=no
   5580 fi
   5581 rm -f core conftest.err conftest.$ac_objext \
   5582     conftest$ac_exeext conftest.$ac_ext
   5583 fi
   5584 
   5585 
   5586 		CFLAGS="$xorg_testset_save_CFLAGS"
   5587 
   5588 		eval supported=\$$cacheid
   5589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5590 $as_echo "$supported" >&6; }
   5591 		if test "$supported" = "yes" ; then
   5592 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5593 			found="yes"
   5594 		fi
   5595 	fi
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 xorg_testset_save_CFLAGS="$CFLAGS"
   5612 
   5613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5616 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5617 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5618   $as_echo_n "(cached) " >&6
   5619 else
   5620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 _ACEOF
   5624 if ac_fn_c_try_compile "$LINENO"; then :
   5625   xorg_cv_cc_flag_unknown_warning_option=yes
   5626 else
   5627   xorg_cv_cc_flag_unknown_warning_option=no
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5630 fi
   5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5632 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5634 	CFLAGS="$xorg_testset_save_CFLAGS"
   5635 fi
   5636 
   5637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 	fi
   5641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5643 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5644 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5645   $as_echo_n "(cached) " >&6
   5646 else
   5647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5648 /* end confdefs.h.  */
   5649 int i;
   5650 _ACEOF
   5651 if ac_fn_c_try_compile "$LINENO"; then :
   5652   xorg_cv_cc_flag_unused_command_line_argument=yes
   5653 else
   5654   xorg_cv_cc_flag_unused_command_line_argument=no
   5655 fi
   5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5657 fi
   5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5659 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5661 	CFLAGS="$xorg_testset_save_CFLAGS"
   5662 fi
   5663 
   5664 found="no"
   5665 
   5666 	if test $found = "no" ; then
   5667 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5669 		fi
   5670 
   5671 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5673 		fi
   5674 
   5675 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5676 
   5677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5678 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5679 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5680 		if eval \${$cacheid+:} false; then :
   5681   $as_echo_n "(cached) " >&6
   5682 else
   5683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5684 /* end confdefs.h.  */
   5685 int i;
   5686 int
   5687 main ()
   5688 {
   5689 
   5690   ;
   5691   return 0;
   5692 }
   5693 _ACEOF
   5694 if ac_fn_c_try_link "$LINENO"; then :
   5695   eval $cacheid=yes
   5696 else
   5697   eval $cacheid=no
   5698 fi
   5699 rm -f core conftest.err conftest.$ac_objext \
   5700     conftest$ac_exeext conftest.$ac_ext
   5701 fi
   5702 
   5703 
   5704 		CFLAGS="$xorg_testset_save_CFLAGS"
   5705 
   5706 		eval supported=\$$cacheid
   5707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5708 $as_echo "$supported" >&6; }
   5709 		if test "$supported" = "yes" ; then
   5710 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5711 			found="yes"
   5712 		fi
   5713 	fi
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 xorg_testset_save_CFLAGS="$CFLAGS"
   5730 
   5731 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5732 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5734 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5735 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5736   $as_echo_n "(cached) " >&6
   5737 else
   5738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5739 /* end confdefs.h.  */
   5740 int i;
   5741 _ACEOF
   5742 if ac_fn_c_try_compile "$LINENO"; then :
   5743   xorg_cv_cc_flag_unknown_warning_option=yes
   5744 else
   5745   xorg_cv_cc_flag_unknown_warning_option=no
   5746 fi
   5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5748 fi
   5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5750 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5752 	CFLAGS="$xorg_testset_save_CFLAGS"
   5753 fi
   5754 
   5755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5758 	fi
   5759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5761 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5762 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5763   $as_echo_n "(cached) " >&6
   5764 else
   5765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5766 /* end confdefs.h.  */
   5767 int i;
   5768 _ACEOF
   5769 if ac_fn_c_try_compile "$LINENO"; then :
   5770   xorg_cv_cc_flag_unused_command_line_argument=yes
   5771 else
   5772   xorg_cv_cc_flag_unused_command_line_argument=no
   5773 fi
   5774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5775 fi
   5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5777 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5779 	CFLAGS="$xorg_testset_save_CFLAGS"
   5780 fi
   5781 
   5782 found="no"
   5783 
   5784 	if test $found = "no" ; then
   5785 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5787 		fi
   5788 
   5789 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5791 		fi
   5792 
   5793 		CFLAGS="$CFLAGS -Wnested-externs"
   5794 
   5795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5796 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5797 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5798 		if eval \${$cacheid+:} false; then :
   5799   $as_echo_n "(cached) " >&6
   5800 else
   5801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5802 /* end confdefs.h.  */
   5803 int i;
   5804 int
   5805 main ()
   5806 {
   5807 
   5808   ;
   5809   return 0;
   5810 }
   5811 _ACEOF
   5812 if ac_fn_c_try_link "$LINENO"; then :
   5813   eval $cacheid=yes
   5814 else
   5815   eval $cacheid=no
   5816 fi
   5817 rm -f core conftest.err conftest.$ac_objext \
   5818     conftest$ac_exeext conftest.$ac_ext
   5819 fi
   5820 
   5821 
   5822 		CFLAGS="$xorg_testset_save_CFLAGS"
   5823 
   5824 		eval supported=\$$cacheid
   5825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5826 $as_echo "$supported" >&6; }
   5827 		if test "$supported" = "yes" ; then
   5828 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5829 			found="yes"
   5830 		fi
   5831 	fi
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 xorg_testset_save_CFLAGS="$CFLAGS"
   5848 
   5849 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5850 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5852 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5853 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5857 /* end confdefs.h.  */
   5858 int i;
   5859 _ACEOF
   5860 if ac_fn_c_try_compile "$LINENO"; then :
   5861   xorg_cv_cc_flag_unknown_warning_option=yes
   5862 else
   5863   xorg_cv_cc_flag_unknown_warning_option=no
   5864 fi
   5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5866 fi
   5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5868 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5870 	CFLAGS="$xorg_testset_save_CFLAGS"
   5871 fi
   5872 
   5873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5876 	fi
   5877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5879 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5880 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5881   $as_echo_n "(cached) " >&6
   5882 else
   5883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5884 /* end confdefs.h.  */
   5885 int i;
   5886 _ACEOF
   5887 if ac_fn_c_try_compile "$LINENO"; then :
   5888   xorg_cv_cc_flag_unused_command_line_argument=yes
   5889 else
   5890   xorg_cv_cc_flag_unused_command_line_argument=no
   5891 fi
   5892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5893 fi
   5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5895 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5897 	CFLAGS="$xorg_testset_save_CFLAGS"
   5898 fi
   5899 
   5900 found="no"
   5901 
   5902 	if test $found = "no" ; then
   5903 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5905 		fi
   5906 
   5907 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5909 		fi
   5910 
   5911 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5912 
   5913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5914 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5915 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5916 		if eval \${$cacheid+:} false; then :
   5917   $as_echo_n "(cached) " >&6
   5918 else
   5919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5920 /* end confdefs.h.  */
   5921 int i;
   5922 int
   5923 main ()
   5924 {
   5925 
   5926   ;
   5927   return 0;
   5928 }
   5929 _ACEOF
   5930 if ac_fn_c_try_link "$LINENO"; then :
   5931   eval $cacheid=yes
   5932 else
   5933   eval $cacheid=no
   5934 fi
   5935 rm -f core conftest.err conftest.$ac_objext \
   5936     conftest$ac_exeext conftest.$ac_ext
   5937 fi
   5938 
   5939 
   5940 		CFLAGS="$xorg_testset_save_CFLAGS"
   5941 
   5942 		eval supported=\$$cacheid
   5943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5944 $as_echo "$supported" >&6; }
   5945 		if test "$supported" = "yes" ; then
   5946 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5947 			found="yes"
   5948 		fi
   5949 	fi
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 xorg_testset_save_CFLAGS="$CFLAGS"
   5966 
   5967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5970 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5971 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_cc_flag_unknown_warning_option=yes
   5980 else
   5981   xorg_cv_cc_flag_unknown_warning_option=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_cc_flag_unknown_warning_option" >&5
   5986 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5988 	CFLAGS="$xorg_testset_save_CFLAGS"
   5989 fi
   5990 
   5991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5994 	fi
   5995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5997 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5998 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5999   $as_echo_n "(cached) " >&6
   6000 else
   6001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6002 /* end confdefs.h.  */
   6003 int i;
   6004 _ACEOF
   6005 if ac_fn_c_try_compile "$LINENO"; then :
   6006   xorg_cv_cc_flag_unused_command_line_argument=yes
   6007 else
   6008   xorg_cv_cc_flag_unused_command_line_argument=no
   6009 fi
   6010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6011 fi
   6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6013 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6014 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6015 	CFLAGS="$xorg_testset_save_CFLAGS"
   6016 fi
   6017 
   6018 found="no"
   6019 
   6020 	if test $found = "no" ; then
   6021 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6023 		fi
   6024 
   6025 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6027 		fi
   6028 
   6029 		CFLAGS="$CFLAGS -Wold-style-definition"
   6030 
   6031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6032 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6033 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6034 		if eval \${$cacheid+:} false; then :
   6035   $as_echo_n "(cached) " >&6
   6036 else
   6037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6038 /* end confdefs.h.  */
   6039 int i;
   6040 int
   6041 main ()
   6042 {
   6043 
   6044   ;
   6045   return 0;
   6046 }
   6047 _ACEOF
   6048 if ac_fn_c_try_link "$LINENO"; then :
   6049   eval $cacheid=yes
   6050 else
   6051   eval $cacheid=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext \
   6054     conftest$ac_exeext conftest.$ac_ext
   6055 fi
   6056 
   6057 
   6058 		CFLAGS="$xorg_testset_save_CFLAGS"
   6059 
   6060 		eval supported=\$$cacheid
   6061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6062 $as_echo "$supported" >&6; }
   6063 		if test "$supported" = "yes" ; then
   6064 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6065 			found="yes"
   6066 		fi
   6067 	fi
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 xorg_testset_save_CFLAGS="$CFLAGS"
   6084 
   6085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6088 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6089 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6093 /* end confdefs.h.  */
   6094 int i;
   6095 _ACEOF
   6096 if ac_fn_c_try_compile "$LINENO"; then :
   6097   xorg_cv_cc_flag_unknown_warning_option=yes
   6098 else
   6099   xorg_cv_cc_flag_unknown_warning_option=no
   6100 fi
   6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6102 fi
   6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6104 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6106 	CFLAGS="$xorg_testset_save_CFLAGS"
   6107 fi
   6108 
   6109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6112 	fi
   6113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6116 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 int i;
   6122 _ACEOF
   6123 if ac_fn_c_try_compile "$LINENO"; then :
   6124   xorg_cv_cc_flag_unused_command_line_argument=yes
   6125 else
   6126   xorg_cv_cc_flag_unused_command_line_argument=no
   6127 fi
   6128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6129 fi
   6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6131 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6133 	CFLAGS="$xorg_testset_save_CFLAGS"
   6134 fi
   6135 
   6136 found="no"
   6137 
   6138 	if test $found = "no" ; then
   6139 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 		fi
   6142 
   6143 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6145 		fi
   6146 
   6147 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6148 
   6149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6150 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6151 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6152 		if eval \${$cacheid+:} false; then :
   6153   $as_echo_n "(cached) " >&6
   6154 else
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 int
   6159 main ()
   6160 {
   6161 
   6162   ;
   6163   return 0;
   6164 }
   6165 _ACEOF
   6166 if ac_fn_c_try_link "$LINENO"; then :
   6167   eval $cacheid=yes
   6168 else
   6169   eval $cacheid=no
   6170 fi
   6171 rm -f core conftest.err conftest.$ac_objext \
   6172     conftest$ac_exeext conftest.$ac_ext
   6173 fi
   6174 
   6175 
   6176 		CFLAGS="$xorg_testset_save_CFLAGS"
   6177 
   6178 		eval supported=\$$cacheid
   6179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6180 $as_echo "$supported" >&6; }
   6181 		if test "$supported" = "yes" ; then
   6182 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6183 			found="yes"
   6184 		fi
   6185 	fi
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 # This chunk adds additional warnings that could catch undesired effects.
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 xorg_testset_save_CFLAGS="$CFLAGS"
   6206 
   6207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6210 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6211 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 int i;
   6217 _ACEOF
   6218 if ac_fn_c_try_compile "$LINENO"; then :
   6219   xorg_cv_cc_flag_unknown_warning_option=yes
   6220 else
   6221   xorg_cv_cc_flag_unknown_warning_option=no
   6222 fi
   6223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6224 fi
   6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6226 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6227 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6228 	CFLAGS="$xorg_testset_save_CFLAGS"
   6229 fi
   6230 
   6231 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6232 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6233 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6234 	fi
   6235 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6237 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6238 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6242 /* end confdefs.h.  */
   6243 int i;
   6244 _ACEOF
   6245 if ac_fn_c_try_compile "$LINENO"; then :
   6246   xorg_cv_cc_flag_unused_command_line_argument=yes
   6247 else
   6248   xorg_cv_cc_flag_unused_command_line_argument=no
   6249 fi
   6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6251 fi
   6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6253 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6254 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6255 	CFLAGS="$xorg_testset_save_CFLAGS"
   6256 fi
   6257 
   6258 found="no"
   6259 
   6260 	if test $found = "no" ; then
   6261 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6263 		fi
   6264 
   6265 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6267 		fi
   6268 
   6269 		CFLAGS="$CFLAGS -Wunused"
   6270 
   6271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6272 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6273 		cacheid=xorg_cv_cc_flag__Wunused
   6274 		if eval \${$cacheid+:} false; then :
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6278 /* end confdefs.h.  */
   6279 int i;
   6280 int
   6281 main ()
   6282 {
   6283 
   6284   ;
   6285   return 0;
   6286 }
   6287 _ACEOF
   6288 if ac_fn_c_try_link "$LINENO"; then :
   6289   eval $cacheid=yes
   6290 else
   6291   eval $cacheid=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext \
   6294     conftest$ac_exeext conftest.$ac_ext
   6295 fi
   6296 
   6297 
   6298 		CFLAGS="$xorg_testset_save_CFLAGS"
   6299 
   6300 		eval supported=\$$cacheid
   6301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6302 $as_echo "$supported" >&6; }
   6303 		if test "$supported" = "yes" ; then
   6304 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6305 			found="yes"
   6306 		fi
   6307 	fi
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 xorg_testset_save_CFLAGS="$CFLAGS"
   6324 
   6325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6328 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6329 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6333 /* end confdefs.h.  */
   6334 int i;
   6335 _ACEOF
   6336 if ac_fn_c_try_compile "$LINENO"; then :
   6337   xorg_cv_cc_flag_unknown_warning_option=yes
   6338 else
   6339   xorg_cv_cc_flag_unknown_warning_option=no
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6342 fi
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6344 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6346 	CFLAGS="$xorg_testset_save_CFLAGS"
   6347 fi
   6348 
   6349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6352 	fi
   6353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6355 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6356 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6357   $as_echo_n "(cached) " >&6
   6358 else
   6359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6360 /* end confdefs.h.  */
   6361 int i;
   6362 _ACEOF
   6363 if ac_fn_c_try_compile "$LINENO"; then :
   6364   xorg_cv_cc_flag_unused_command_line_argument=yes
   6365 else
   6366   xorg_cv_cc_flag_unused_command_line_argument=no
   6367 fi
   6368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6369 fi
   6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6371 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6373 	CFLAGS="$xorg_testset_save_CFLAGS"
   6374 fi
   6375 
   6376 found="no"
   6377 
   6378 	if test $found = "no" ; then
   6379 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6381 		fi
   6382 
   6383 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6385 		fi
   6386 
   6387 		CFLAGS="$CFLAGS -Wuninitialized"
   6388 
   6389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6390 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6391 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6392 		if eval \${$cacheid+:} false; then :
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6396 /* end confdefs.h.  */
   6397 int i;
   6398 int
   6399 main ()
   6400 {
   6401 
   6402   ;
   6403   return 0;
   6404 }
   6405 _ACEOF
   6406 if ac_fn_c_try_link "$LINENO"; then :
   6407   eval $cacheid=yes
   6408 else
   6409   eval $cacheid=no
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext \
   6412     conftest$ac_exeext conftest.$ac_ext
   6413 fi
   6414 
   6415 
   6416 		CFLAGS="$xorg_testset_save_CFLAGS"
   6417 
   6418 		eval supported=\$$cacheid
   6419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6420 $as_echo "$supported" >&6; }
   6421 		if test "$supported" = "yes" ; then
   6422 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6423 			found="yes"
   6424 		fi
   6425 	fi
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 xorg_testset_save_CFLAGS="$CFLAGS"
   6442 
   6443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6446 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6447 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6451 /* end confdefs.h.  */
   6452 int i;
   6453 _ACEOF
   6454 if ac_fn_c_try_compile "$LINENO"; then :
   6455   xorg_cv_cc_flag_unknown_warning_option=yes
   6456 else
   6457   xorg_cv_cc_flag_unknown_warning_option=no
   6458 fi
   6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6460 fi
   6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6462 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6464 	CFLAGS="$xorg_testset_save_CFLAGS"
   6465 fi
   6466 
   6467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6470 	fi
   6471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6473 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6474 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6475   $as_echo_n "(cached) " >&6
   6476 else
   6477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6478 /* end confdefs.h.  */
   6479 int i;
   6480 _ACEOF
   6481 if ac_fn_c_try_compile "$LINENO"; then :
   6482   xorg_cv_cc_flag_unused_command_line_argument=yes
   6483 else
   6484   xorg_cv_cc_flag_unused_command_line_argument=no
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6487 fi
   6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6489 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6491 	CFLAGS="$xorg_testset_save_CFLAGS"
   6492 fi
   6493 
   6494 found="no"
   6495 
   6496 	if test $found = "no" ; then
   6497 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6499 		fi
   6500 
   6501 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6503 		fi
   6504 
   6505 		CFLAGS="$CFLAGS -Wshadow"
   6506 
   6507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6508 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6509 		cacheid=xorg_cv_cc_flag__Wshadow
   6510 		if eval \${$cacheid+:} false; then :
   6511   $as_echo_n "(cached) " >&6
   6512 else
   6513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6514 /* end confdefs.h.  */
   6515 int i;
   6516 int
   6517 main ()
   6518 {
   6519 
   6520   ;
   6521   return 0;
   6522 }
   6523 _ACEOF
   6524 if ac_fn_c_try_link "$LINENO"; then :
   6525   eval $cacheid=yes
   6526 else
   6527   eval $cacheid=no
   6528 fi
   6529 rm -f core conftest.err conftest.$ac_objext \
   6530     conftest$ac_exeext conftest.$ac_ext
   6531 fi
   6532 
   6533 
   6534 		CFLAGS="$xorg_testset_save_CFLAGS"
   6535 
   6536 		eval supported=\$$cacheid
   6537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6538 $as_echo "$supported" >&6; }
   6539 		if test "$supported" = "yes" ; then
   6540 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6541 			found="yes"
   6542 		fi
   6543 	fi
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 xorg_testset_save_CFLAGS="$CFLAGS"
   6560 
   6561 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6562 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6564 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6565 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 int i;
   6571 _ACEOF
   6572 if ac_fn_c_try_compile "$LINENO"; then :
   6573   xorg_cv_cc_flag_unknown_warning_option=yes
   6574 else
   6575   xorg_cv_cc_flag_unknown_warning_option=no
   6576 fi
   6577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6578 fi
   6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6580 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6581 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6582 	CFLAGS="$xorg_testset_save_CFLAGS"
   6583 fi
   6584 
   6585 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6586 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6587 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6588 	fi
   6589 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6591 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6592 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6593   $as_echo_n "(cached) " >&6
   6594 else
   6595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6596 /* end confdefs.h.  */
   6597 int i;
   6598 _ACEOF
   6599 if ac_fn_c_try_compile "$LINENO"; then :
   6600   xorg_cv_cc_flag_unused_command_line_argument=yes
   6601 else
   6602   xorg_cv_cc_flag_unused_command_line_argument=no
   6603 fi
   6604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6605 fi
   6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6607 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6608 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6609 	CFLAGS="$xorg_testset_save_CFLAGS"
   6610 fi
   6611 
   6612 found="no"
   6613 
   6614 	if test $found = "no" ; then
   6615 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6616 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6617 		fi
   6618 
   6619 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6620 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6621 		fi
   6622 
   6623 		CFLAGS="$CFLAGS -Wcast-qual"
   6624 
   6625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6626 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6627 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6628 		if eval \${$cacheid+:} false; then :
   6629   $as_echo_n "(cached) " >&6
   6630 else
   6631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6632 /* end confdefs.h.  */
   6633 int i;
   6634 int
   6635 main ()
   6636 {
   6637 
   6638   ;
   6639   return 0;
   6640 }
   6641 _ACEOF
   6642 if ac_fn_c_try_link "$LINENO"; then :
   6643   eval $cacheid=yes
   6644 else
   6645   eval $cacheid=no
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext \
   6648     conftest$ac_exeext conftest.$ac_ext
   6649 fi
   6650 
   6651 
   6652 		CFLAGS="$xorg_testset_save_CFLAGS"
   6653 
   6654 		eval supported=\$$cacheid
   6655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6656 $as_echo "$supported" >&6; }
   6657 		if test "$supported" = "yes" ; then
   6658 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6659 			found="yes"
   6660 		fi
   6661 	fi
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 xorg_testset_save_CFLAGS="$CFLAGS"
   6678 
   6679 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6682 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6683 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 int i;
   6689 _ACEOF
   6690 if ac_fn_c_try_compile "$LINENO"; then :
   6691   xorg_cv_cc_flag_unknown_warning_option=yes
   6692 else
   6693   xorg_cv_cc_flag_unknown_warning_option=no
   6694 fi
   6695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6696 fi
   6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6698 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6699 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6700 	CFLAGS="$xorg_testset_save_CFLAGS"
   6701 fi
   6702 
   6703 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6704 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 	fi
   6707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6709 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6710 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6714 /* end confdefs.h.  */
   6715 int i;
   6716 _ACEOF
   6717 if ac_fn_c_try_compile "$LINENO"; then :
   6718   xorg_cv_cc_flag_unused_command_line_argument=yes
   6719 else
   6720   xorg_cv_cc_flag_unused_command_line_argument=no
   6721 fi
   6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6723 fi
   6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6725 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6727 	CFLAGS="$xorg_testset_save_CFLAGS"
   6728 fi
   6729 
   6730 found="no"
   6731 
   6732 	if test $found = "no" ; then
   6733 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6735 		fi
   6736 
   6737 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6739 		fi
   6740 
   6741 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6742 
   6743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6744 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6745 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6746 		if eval \${$cacheid+:} false; then :
   6747   $as_echo_n "(cached) " >&6
   6748 else
   6749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6750 /* end confdefs.h.  */
   6751 int i;
   6752 int
   6753 main ()
   6754 {
   6755 
   6756   ;
   6757   return 0;
   6758 }
   6759 _ACEOF
   6760 if ac_fn_c_try_link "$LINENO"; then :
   6761   eval $cacheid=yes
   6762 else
   6763   eval $cacheid=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext \
   6766     conftest$ac_exeext conftest.$ac_ext
   6767 fi
   6768 
   6769 
   6770 		CFLAGS="$xorg_testset_save_CFLAGS"
   6771 
   6772 		eval supported=\$$cacheid
   6773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6774 $as_echo "$supported" >&6; }
   6775 		if test "$supported" = "yes" ; then
   6776 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6777 			found="yes"
   6778 		fi
   6779 	fi
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 xorg_testset_save_CFLAGS="$CFLAGS"
   6796 
   6797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6800 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6801 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6802   $as_echo_n "(cached) " >&6
   6803 else
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 _ACEOF
   6808 if ac_fn_c_try_compile "$LINENO"; then :
   6809   xorg_cv_cc_flag_unknown_warning_option=yes
   6810 else
   6811   xorg_cv_cc_flag_unknown_warning_option=no
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6814 fi
   6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6816 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6818 	CFLAGS="$xorg_testset_save_CFLAGS"
   6819 fi
   6820 
   6821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6824 	fi
   6825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6827 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6828 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6829   $as_echo_n "(cached) " >&6
   6830 else
   6831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 _ACEOF
   6835 if ac_fn_c_try_compile "$LINENO"; then :
   6836   xorg_cv_cc_flag_unused_command_line_argument=yes
   6837 else
   6838   xorg_cv_cc_flag_unused_command_line_argument=no
   6839 fi
   6840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6841 fi
   6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6843 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6845 	CFLAGS="$xorg_testset_save_CFLAGS"
   6846 fi
   6847 
   6848 found="no"
   6849 
   6850 	if test $found = "no" ; then
   6851 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6853 		fi
   6854 
   6855 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6857 		fi
   6858 
   6859 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6860 
   6861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6862 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6863 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6864 		if eval \${$cacheid+:} false; then :
   6865   $as_echo_n "(cached) " >&6
   6866 else
   6867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6868 /* end confdefs.h.  */
   6869 int i;
   6870 int
   6871 main ()
   6872 {
   6873 
   6874   ;
   6875   return 0;
   6876 }
   6877 _ACEOF
   6878 if ac_fn_c_try_link "$LINENO"; then :
   6879   eval $cacheid=yes
   6880 else
   6881   eval $cacheid=no
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext \
   6884     conftest$ac_exeext conftest.$ac_ext
   6885 fi
   6886 
   6887 
   6888 		CFLAGS="$xorg_testset_save_CFLAGS"
   6889 
   6890 		eval supported=\$$cacheid
   6891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6892 $as_echo "$supported" >&6; }
   6893 		if test "$supported" = "yes" ; then
   6894 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6895 			found="yes"
   6896 		fi
   6897 	fi
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 xorg_testset_save_CFLAGS="$CFLAGS"
   6914 
   6915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6920   $as_echo_n "(cached) " >&6
   6921 else
   6922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6923 /* end confdefs.h.  */
   6924 int i;
   6925 _ACEOF
   6926 if ac_fn_c_try_compile "$LINENO"; then :
   6927   xorg_cv_cc_flag_unknown_warning_option=yes
   6928 else
   6929   xorg_cv_cc_flag_unknown_warning_option=no
   6930 fi
   6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6932 fi
   6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6936 	CFLAGS="$xorg_testset_save_CFLAGS"
   6937 fi
   6938 
   6939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 	fi
   6943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6950 /* end confdefs.h.  */
   6951 int i;
   6952 _ACEOF
   6953 if ac_fn_c_try_compile "$LINENO"; then :
   6954   xorg_cv_cc_flag_unused_command_line_argument=yes
   6955 else
   6956   xorg_cv_cc_flag_unused_command_line_argument=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6959 fi
   6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6963 	CFLAGS="$xorg_testset_save_CFLAGS"
   6964 fi
   6965 
   6966 found="no"
   6967 
   6968 	if test $found = "no" ; then
   6969 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6971 		fi
   6972 
   6973 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6975 		fi
   6976 
   6977 		CFLAGS="$CFLAGS -Wredundant-decls"
   6978 
   6979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6980 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6981 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6982 		if eval \${$cacheid+:} false; then :
   6983   $as_echo_n "(cached) " >&6
   6984 else
   6985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 int i;
   6988 int
   6989 main ()
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_link "$LINENO"; then :
   6997   eval $cacheid=yes
   6998 else
   6999   eval $cacheid=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext \
   7002     conftest$ac_exeext conftest.$ac_ext
   7003 fi
   7004 
   7005 
   7006 		CFLAGS="$xorg_testset_save_CFLAGS"
   7007 
   7008 		eval supported=\$$cacheid
   7009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7010 $as_echo "$supported" >&6; }
   7011 		if test "$supported" = "yes" ; then
   7012 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7013 			found="yes"
   7014 		fi
   7015 	fi
   7016 
   7017 
   7018 
   7019 # These are currently disabled because they are noisy.  They will be enabled
   7020 # in the future once the codebase is sufficiently modernized to silence
   7021 # them.  For now, I don't want them to drown out the other warnings.
   7022 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   7023 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7024 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7025 
   7026 # Turn some warnings into errors, so we don't accidently get successful builds
   7027 # when there are problems that should be fixed.
   7028 
   7029 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   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_cc_unknown_warning_option" = "x" ; then
   7046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7049 if ${xorg_cv_cc_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_cc_flag_unknown_warning_option=yes
   7058 else
   7059   xorg_cv_cc_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_cc_flag_unknown_warning_option" >&5
   7064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7066 	CFLAGS="$xorg_testset_save_CFLAGS"
   7067 fi
   7068 
   7069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7070 	if test "x$xorg_testset_cc_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 $CC supports -Werror=unused-command-line-argument" >&5
   7075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7076 if ${xorg_cv_cc_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_cc_flag_unused_command_line_argument=yes
   7085 else
   7086   xorg_cv_cc_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_cc_flag_unused_command_line_argument" >&5
   7091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_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=implicit"
   7108 
   7109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7110 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7111 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   7112 		if eval \${$cacheid+:} 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 $cacheid=yes
   7128 else
   7129   eval $cacheid=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=\$$cacheid
   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=implicit"
   7143 			found="yes"
   7144 		fi
   7145 	fi
   7146 
   7147 	if test $found = "no" ; then
   7148 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7150 		fi
   7151 
   7152 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7154 		fi
   7155 
   7156 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7157 
   7158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7159 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7160 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   7161 		if eval \${$cacheid+:} false; then :
   7162   $as_echo_n "(cached) " >&6
   7163 else
   7164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7165 /* end confdefs.h.  */
   7166 int i;
   7167 int
   7168 main ()
   7169 {
   7170 
   7171   ;
   7172   return 0;
   7173 }
   7174 _ACEOF
   7175 if ac_fn_c_try_link "$LINENO"; then :
   7176   eval $cacheid=yes
   7177 else
   7178   eval $cacheid=no
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_objext \
   7181     conftest$ac_exeext conftest.$ac_ext
   7182 fi
   7183 
   7184 
   7185 		CFLAGS="$xorg_testset_save_CFLAGS"
   7186 
   7187 		eval supported=\$$cacheid
   7188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7189 $as_echo "$supported" >&6; }
   7190 		if test "$supported" = "yes" ; then
   7191 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7192 			found="yes"
   7193 		fi
   7194 	fi
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 xorg_testset_save_CFLAGS="$CFLAGS"
   7211 
   7212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7215 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7216 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7217   $as_echo_n "(cached) " >&6
   7218 else
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 _ACEOF
   7223 if ac_fn_c_try_compile "$LINENO"; then :
   7224   xorg_cv_cc_flag_unknown_warning_option=yes
   7225 else
   7226   xorg_cv_cc_flag_unknown_warning_option=no
   7227 fi
   7228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7229 fi
   7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7231 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7233 	CFLAGS="$xorg_testset_save_CFLAGS"
   7234 fi
   7235 
   7236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7239 	fi
   7240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7242 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7243 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7244   $as_echo_n "(cached) " >&6
   7245 else
   7246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7247 /* end confdefs.h.  */
   7248 int i;
   7249 _ACEOF
   7250 if ac_fn_c_try_compile "$LINENO"; then :
   7251   xorg_cv_cc_flag_unused_command_line_argument=yes
   7252 else
   7253   xorg_cv_cc_flag_unused_command_line_argument=no
   7254 fi
   7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7256 fi
   7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7258 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7260 	CFLAGS="$xorg_testset_save_CFLAGS"
   7261 fi
   7262 
   7263 found="no"
   7264 
   7265 	if test $found = "no" ; then
   7266 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7268 		fi
   7269 
   7270 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7272 		fi
   7273 
   7274 		CFLAGS="$CFLAGS -Werror=nonnull"
   7275 
   7276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7277 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7278 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7279 		if eval \${$cacheid+:} false; then :
   7280   $as_echo_n "(cached) " >&6
   7281 else
   7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7283 /* end confdefs.h.  */
   7284 int i;
   7285 int
   7286 main ()
   7287 {
   7288 
   7289   ;
   7290   return 0;
   7291 }
   7292 _ACEOF
   7293 if ac_fn_c_try_link "$LINENO"; then :
   7294   eval $cacheid=yes
   7295 else
   7296   eval $cacheid=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext \
   7299     conftest$ac_exeext conftest.$ac_ext
   7300 fi
   7301 
   7302 
   7303 		CFLAGS="$xorg_testset_save_CFLAGS"
   7304 
   7305 		eval supported=\$$cacheid
   7306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7307 $as_echo "$supported" >&6; }
   7308 		if test "$supported" = "yes" ; then
   7309 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7310 			found="yes"
   7311 		fi
   7312 	fi
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 xorg_testset_save_CFLAGS="$CFLAGS"
   7329 
   7330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7335   $as_echo_n "(cached) " >&6
   7336 else
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 _ACEOF
   7341 if ac_fn_c_try_compile "$LINENO"; then :
   7342   xorg_cv_cc_flag_unknown_warning_option=yes
   7343 else
   7344   xorg_cv_cc_flag_unknown_warning_option=no
   7345 fi
   7346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7347 fi
   7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7351 	CFLAGS="$xorg_testset_save_CFLAGS"
   7352 fi
   7353 
   7354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7357 	fi
   7358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7362   $as_echo_n "(cached) " >&6
   7363 else
   7364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 int i;
   7367 _ACEOF
   7368 if ac_fn_c_try_compile "$LINENO"; then :
   7369   xorg_cv_cc_flag_unused_command_line_argument=yes
   7370 else
   7371   xorg_cv_cc_flag_unused_command_line_argument=no
   7372 fi
   7373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7374 fi
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7378 	CFLAGS="$xorg_testset_save_CFLAGS"
   7379 fi
   7380 
   7381 found="no"
   7382 
   7383 	if test $found = "no" ; then
   7384 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7386 		fi
   7387 
   7388 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7390 		fi
   7391 
   7392 		CFLAGS="$CFLAGS -Werror=init-self"
   7393 
   7394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7395 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7396 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7397 		if eval \${$cacheid+:} 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 int
   7404 main ()
   7405 {
   7406 
   7407   ;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_c_try_link "$LINENO"; then :
   7412   eval $cacheid=yes
   7413 else
   7414   eval $cacheid=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext \
   7417     conftest$ac_exeext conftest.$ac_ext
   7418 fi
   7419 
   7420 
   7421 		CFLAGS="$xorg_testset_save_CFLAGS"
   7422 
   7423 		eval supported=\$$cacheid
   7424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7425 $as_echo "$supported" >&6; }
   7426 		if test "$supported" = "yes" ; then
   7427 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7428 			found="yes"
   7429 		fi
   7430 	fi
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 xorg_testset_save_CFLAGS="$CFLAGS"
   7447 
   7448 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7451 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7452 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7453   $as_echo_n "(cached) " >&6
   7454 else
   7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 int i;
   7458 _ACEOF
   7459 if ac_fn_c_try_compile "$LINENO"; then :
   7460   xorg_cv_cc_flag_unknown_warning_option=yes
   7461 else
   7462   xorg_cv_cc_flag_unknown_warning_option=no
   7463 fi
   7464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7465 fi
   7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7467 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7469 	CFLAGS="$xorg_testset_save_CFLAGS"
   7470 fi
   7471 
   7472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7475 	fi
   7476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7478 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7479 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7480   $as_echo_n "(cached) " >&6
   7481 else
   7482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7483 /* end confdefs.h.  */
   7484 int i;
   7485 _ACEOF
   7486 if ac_fn_c_try_compile "$LINENO"; then :
   7487   xorg_cv_cc_flag_unused_command_line_argument=yes
   7488 else
   7489   xorg_cv_cc_flag_unused_command_line_argument=no
   7490 fi
   7491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7492 fi
   7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7494 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7496 	CFLAGS="$xorg_testset_save_CFLAGS"
   7497 fi
   7498 
   7499 found="no"
   7500 
   7501 	if test $found = "no" ; then
   7502 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7504 		fi
   7505 
   7506 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7508 		fi
   7509 
   7510 		CFLAGS="$CFLAGS -Werror=main"
   7511 
   7512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7513 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7514 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7515 		if eval \${$cacheid+:} false; then :
   7516   $as_echo_n "(cached) " >&6
   7517 else
   7518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7519 /* end confdefs.h.  */
   7520 int i;
   7521 int
   7522 main ()
   7523 {
   7524 
   7525   ;
   7526   return 0;
   7527 }
   7528 _ACEOF
   7529 if ac_fn_c_try_link "$LINENO"; then :
   7530   eval $cacheid=yes
   7531 else
   7532   eval $cacheid=no
   7533 fi
   7534 rm -f core conftest.err conftest.$ac_objext \
   7535     conftest$ac_exeext conftest.$ac_ext
   7536 fi
   7537 
   7538 
   7539 		CFLAGS="$xorg_testset_save_CFLAGS"
   7540 
   7541 		eval supported=\$$cacheid
   7542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7543 $as_echo "$supported" >&6; }
   7544 		if test "$supported" = "yes" ; then
   7545 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7546 			found="yes"
   7547 		fi
   7548 	fi
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 xorg_testset_save_CFLAGS="$CFLAGS"
   7565 
   7566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7569 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7570 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 _ACEOF
   7577 if ac_fn_c_try_compile "$LINENO"; then :
   7578   xorg_cv_cc_flag_unknown_warning_option=yes
   7579 else
   7580   xorg_cv_cc_flag_unknown_warning_option=no
   7581 fi
   7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7583 fi
   7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7585 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7587 	CFLAGS="$xorg_testset_save_CFLAGS"
   7588 fi
   7589 
   7590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7593 	fi
   7594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7596 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7597 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7598   $as_echo_n "(cached) " >&6
   7599 else
   7600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7601 /* end confdefs.h.  */
   7602 int i;
   7603 _ACEOF
   7604 if ac_fn_c_try_compile "$LINENO"; then :
   7605   xorg_cv_cc_flag_unused_command_line_argument=yes
   7606 else
   7607   xorg_cv_cc_flag_unused_command_line_argument=no
   7608 fi
   7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7610 fi
   7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7612 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7614 	CFLAGS="$xorg_testset_save_CFLAGS"
   7615 fi
   7616 
   7617 found="no"
   7618 
   7619 	if test $found = "no" ; then
   7620 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7622 		fi
   7623 
   7624 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 		fi
   7627 
   7628 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7629 
   7630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7631 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7632 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7633 		if eval \${$cacheid+:} false; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 int
   7640 main ()
   7641 {
   7642 
   7643   ;
   7644   return 0;
   7645 }
   7646 _ACEOF
   7647 if ac_fn_c_try_link "$LINENO"; then :
   7648   eval $cacheid=yes
   7649 else
   7650   eval $cacheid=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext \
   7653     conftest$ac_exeext conftest.$ac_ext
   7654 fi
   7655 
   7656 
   7657 		CFLAGS="$xorg_testset_save_CFLAGS"
   7658 
   7659 		eval supported=\$$cacheid
   7660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7661 $as_echo "$supported" >&6; }
   7662 		if test "$supported" = "yes" ; then
   7663 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7664 			found="yes"
   7665 		fi
   7666 	fi
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 xorg_testset_save_CFLAGS="$CFLAGS"
   7683 
   7684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7687 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7688 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7689   $as_echo_n "(cached) " >&6
   7690 else
   7691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7692 /* end confdefs.h.  */
   7693 int i;
   7694 _ACEOF
   7695 if ac_fn_c_try_compile "$LINENO"; then :
   7696   xorg_cv_cc_flag_unknown_warning_option=yes
   7697 else
   7698   xorg_cv_cc_flag_unknown_warning_option=no
   7699 fi
   7700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7701 fi
   7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7703 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7705 	CFLAGS="$xorg_testset_save_CFLAGS"
   7706 fi
   7707 
   7708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	fi
   7712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7714 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7715 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7716   $as_echo_n "(cached) " >&6
   7717 else
   7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 _ACEOF
   7722 if ac_fn_c_try_compile "$LINENO"; then :
   7723   xorg_cv_cc_flag_unused_command_line_argument=yes
   7724 else
   7725   xorg_cv_cc_flag_unused_command_line_argument=no
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7728 fi
   7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7730 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7732 	CFLAGS="$xorg_testset_save_CFLAGS"
   7733 fi
   7734 
   7735 found="no"
   7736 
   7737 	if test $found = "no" ; then
   7738 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7740 		fi
   7741 
   7742 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7744 		fi
   7745 
   7746 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7747 
   7748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7749 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7750 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7751 		if eval \${$cacheid+:} false; then :
   7752   $as_echo_n "(cached) " >&6
   7753 else
   7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7755 /* end confdefs.h.  */
   7756 int i;
   7757 int
   7758 main ()
   7759 {
   7760 
   7761   ;
   7762   return 0;
   7763 }
   7764 _ACEOF
   7765 if ac_fn_c_try_link "$LINENO"; then :
   7766   eval $cacheid=yes
   7767 else
   7768   eval $cacheid=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext \
   7771     conftest$ac_exeext conftest.$ac_ext
   7772 fi
   7773 
   7774 
   7775 		CFLAGS="$xorg_testset_save_CFLAGS"
   7776 
   7777 		eval supported=\$$cacheid
   7778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7779 $as_echo "$supported" >&6; }
   7780 		if test "$supported" = "yes" ; then
   7781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7782 			found="yes"
   7783 		fi
   7784 	fi
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 xorg_testset_save_CFLAGS="$CFLAGS"
   7801 
   7802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7805 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7806 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7807   $as_echo_n "(cached) " >&6
   7808 else
   7809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 int i;
   7812 _ACEOF
   7813 if ac_fn_c_try_compile "$LINENO"; then :
   7814   xorg_cv_cc_flag_unknown_warning_option=yes
   7815 else
   7816   xorg_cv_cc_flag_unknown_warning_option=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7819 fi
   7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7821 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7822 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7823 	CFLAGS="$xorg_testset_save_CFLAGS"
   7824 fi
   7825 
   7826 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7827 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7828 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7829 	fi
   7830 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7832 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7833 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 _ACEOF
   7840 if ac_fn_c_try_compile "$LINENO"; then :
   7841   xorg_cv_cc_flag_unused_command_line_argument=yes
   7842 else
   7843   xorg_cv_cc_flag_unused_command_line_argument=no
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7846 fi
   7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7848 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7850 	CFLAGS="$xorg_testset_save_CFLAGS"
   7851 fi
   7852 
   7853 found="no"
   7854 
   7855 	if test $found = "no" ; then
   7856 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7858 		fi
   7859 
   7860 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7862 		fi
   7863 
   7864 		CFLAGS="$CFLAGS -Werror=return-type"
   7865 
   7866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7867 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7868 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7869 		if eval \${$cacheid+:} false; then :
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 int i;
   7875 int
   7876 main ()
   7877 {
   7878 
   7879   ;
   7880   return 0;
   7881 }
   7882 _ACEOF
   7883 if ac_fn_c_try_link "$LINENO"; then :
   7884   eval $cacheid=yes
   7885 else
   7886   eval $cacheid=no
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext \
   7889     conftest$ac_exeext conftest.$ac_ext
   7890 fi
   7891 
   7892 
   7893 		CFLAGS="$xorg_testset_save_CFLAGS"
   7894 
   7895 		eval supported=\$$cacheid
   7896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7897 $as_echo "$supported" >&6; }
   7898 		if test "$supported" = "yes" ; then
   7899 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7900 			found="yes"
   7901 		fi
   7902 	fi
   7903 
   7904 	if test $found = "no" ; then
   7905 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7907 		fi
   7908 
   7909 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7911 		fi
   7912 
   7913 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7914 
   7915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7916 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7917 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7918 		if eval \${$cacheid+:} false; then :
   7919   $as_echo_n "(cached) " >&6
   7920 else
   7921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7922 /* end confdefs.h.  */
   7923 int i;
   7924 int
   7925 main ()
   7926 {
   7927 
   7928   ;
   7929   return 0;
   7930 }
   7931 _ACEOF
   7932 if ac_fn_c_try_link "$LINENO"; then :
   7933   eval $cacheid=yes
   7934 else
   7935   eval $cacheid=no
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext \
   7938     conftest$ac_exeext conftest.$ac_ext
   7939 fi
   7940 
   7941 
   7942 		CFLAGS="$xorg_testset_save_CFLAGS"
   7943 
   7944 		eval supported=\$$cacheid
   7945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7946 $as_echo "$supported" >&6; }
   7947 		if test "$supported" = "yes" ; then
   7948 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7949 			found="yes"
   7950 		fi
   7951 	fi
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 xorg_testset_save_CFLAGS="$CFLAGS"
   7968 
   7969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7972 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7973 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 _ACEOF
   7980 if ac_fn_c_try_compile "$LINENO"; then :
   7981   xorg_cv_cc_flag_unknown_warning_option=yes
   7982 else
   7983   xorg_cv_cc_flag_unknown_warning_option=no
   7984 fi
   7985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7986 fi
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7988 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7990 	CFLAGS="$xorg_testset_save_CFLAGS"
   7991 fi
   7992 
   7993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7996 	fi
   7997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7999 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8000 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8001   $as_echo_n "(cached) " >&6
   8002 else
   8003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8004 /* end confdefs.h.  */
   8005 int i;
   8006 _ACEOF
   8007 if ac_fn_c_try_compile "$LINENO"; then :
   8008   xorg_cv_cc_flag_unused_command_line_argument=yes
   8009 else
   8010   xorg_cv_cc_flag_unused_command_line_argument=no
   8011 fi
   8012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8013 fi
   8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8015 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8017 	CFLAGS="$xorg_testset_save_CFLAGS"
   8018 fi
   8019 
   8020 found="no"
   8021 
   8022 	if test $found = "no" ; then
   8023 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8025 		fi
   8026 
   8027 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8029 		fi
   8030 
   8031 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8032 
   8033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8034 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8035 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   8036 		if eval \${$cacheid+:} false; then :
   8037   $as_echo_n "(cached) " >&6
   8038 else
   8039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8040 /* end confdefs.h.  */
   8041 int i;
   8042 int
   8043 main ()
   8044 {
   8045 
   8046   ;
   8047   return 0;
   8048 }
   8049 _ACEOF
   8050 if ac_fn_c_try_link "$LINENO"; then :
   8051   eval $cacheid=yes
   8052 else
   8053   eval $cacheid=no
   8054 fi
   8055 rm -f core conftest.err conftest.$ac_objext \
   8056     conftest$ac_exeext conftest.$ac_ext
   8057 fi
   8058 
   8059 
   8060 		CFLAGS="$xorg_testset_save_CFLAGS"
   8061 
   8062 		eval supported=\$$cacheid
   8063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8064 $as_echo "$supported" >&6; }
   8065 		if test "$supported" = "yes" ; then
   8066 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8067 			found="yes"
   8068 		fi
   8069 	fi
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 xorg_testset_save_CFLAGS="$CFLAGS"
   8086 
   8087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8090 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8091 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 _ACEOF
   8098 if ac_fn_c_try_compile "$LINENO"; then :
   8099   xorg_cv_cc_flag_unknown_warning_option=yes
   8100 else
   8101   xorg_cv_cc_flag_unknown_warning_option=no
   8102 fi
   8103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8104 fi
   8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8106 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8108 	CFLAGS="$xorg_testset_save_CFLAGS"
   8109 fi
   8110 
   8111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8114 	fi
   8115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8117 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8118 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8119   $as_echo_n "(cached) " >&6
   8120 else
   8121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 int i;
   8124 _ACEOF
   8125 if ac_fn_c_try_compile "$LINENO"; then :
   8126   xorg_cv_cc_flag_unused_command_line_argument=yes
   8127 else
   8128   xorg_cv_cc_flag_unused_command_line_argument=no
   8129 fi
   8130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8131 fi
   8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8133 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8135 	CFLAGS="$xorg_testset_save_CFLAGS"
   8136 fi
   8137 
   8138 found="no"
   8139 
   8140 	if test $found = "no" ; then
   8141 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8143 		fi
   8144 
   8145 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8147 		fi
   8148 
   8149 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8150 
   8151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8152 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8153 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   8154 		if eval \${$cacheid+:} false; then :
   8155   $as_echo_n "(cached) " >&6
   8156 else
   8157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 int i;
   8160 int
   8161 main ()
   8162 {
   8163 
   8164   ;
   8165   return 0;
   8166 }
   8167 _ACEOF
   8168 if ac_fn_c_try_link "$LINENO"; then :
   8169   eval $cacheid=yes
   8170 else
   8171   eval $cacheid=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext \
   8174     conftest$ac_exeext conftest.$ac_ext
   8175 fi
   8176 
   8177 
   8178 		CFLAGS="$xorg_testset_save_CFLAGS"
   8179 
   8180 		eval supported=\$$cacheid
   8181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8182 $as_echo "$supported" >&6; }
   8183 		if test "$supported" = "yes" ; then
   8184 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8185 			found="yes"
   8186 		fi
   8187 	fi
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 xorg_testset_save_CFLAGS="$CFLAGS"
   8204 
   8205 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8208 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8209 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8210   $as_echo_n "(cached) " >&6
   8211 else
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 _ACEOF
   8216 if ac_fn_c_try_compile "$LINENO"; then :
   8217   xorg_cv_cc_flag_unknown_warning_option=yes
   8218 else
   8219   xorg_cv_cc_flag_unknown_warning_option=no
   8220 fi
   8221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8222 fi
   8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8224 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8226 	CFLAGS="$xorg_testset_save_CFLAGS"
   8227 fi
   8228 
   8229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8232 	fi
   8233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8235 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8236 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8237   $as_echo_n "(cached) " >&6
   8238 else
   8239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8240 /* end confdefs.h.  */
   8241 int i;
   8242 _ACEOF
   8243 if ac_fn_c_try_compile "$LINENO"; then :
   8244   xorg_cv_cc_flag_unused_command_line_argument=yes
   8245 else
   8246   xorg_cv_cc_flag_unused_command_line_argument=no
   8247 fi
   8248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8249 fi
   8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8251 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8253 	CFLAGS="$xorg_testset_save_CFLAGS"
   8254 fi
   8255 
   8256 found="no"
   8257 
   8258 	if test $found = "no" ; then
   8259 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8261 		fi
   8262 
   8263 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8265 		fi
   8266 
   8267 		CFLAGS="$CFLAGS -Werror=write-strings"
   8268 
   8269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8270 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8271 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8272 		if eval \${$cacheid+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8276 /* end confdefs.h.  */
   8277 int i;
   8278 int
   8279 main ()
   8280 {
   8281 
   8282   ;
   8283   return 0;
   8284 }
   8285 _ACEOF
   8286 if ac_fn_c_try_link "$LINENO"; then :
   8287   eval $cacheid=yes
   8288 else
   8289   eval $cacheid=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext \
   8292     conftest$ac_exeext conftest.$ac_ext
   8293 fi
   8294 
   8295 
   8296 		CFLAGS="$xorg_testset_save_CFLAGS"
   8297 
   8298 		eval supported=\$$cacheid
   8299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8300 $as_echo "$supported" >&6; }
   8301 		if test "$supported" = "yes" ; then
   8302 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8303 			found="yes"
   8304 		fi
   8305 	fi
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 xorg_testset_save_CFLAGS="$CFLAGS"
   8322 
   8323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8328   $as_echo_n "(cached) " >&6
   8329 else
   8330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 _ACEOF
   8334 if ac_fn_c_try_compile "$LINENO"; then :
   8335   xorg_cv_cc_flag_unknown_warning_option=yes
   8336 else
   8337   xorg_cv_cc_flag_unknown_warning_option=no
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8340 fi
   8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8344 	CFLAGS="$xorg_testset_save_CFLAGS"
   8345 fi
   8346 
   8347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8350 	fi
   8351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"; then :
   8362   xorg_cv_cc_flag_unused_command_line_argument=yes
   8363 else
   8364   xorg_cv_cc_flag_unused_command_line_argument=no
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8371 	CFLAGS="$xorg_testset_save_CFLAGS"
   8372 fi
   8373 
   8374 found="no"
   8375 
   8376 	if test $found = "no" ; then
   8377 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8379 		fi
   8380 
   8381 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8383 		fi
   8384 
   8385 		CFLAGS="$CFLAGS -Werror=address"
   8386 
   8387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8388 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8389 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8390 		if eval \${$cacheid+:} false; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8394 /* end confdefs.h.  */
   8395 int i;
   8396 int
   8397 main ()
   8398 {
   8399 
   8400   ;
   8401   return 0;
   8402 }
   8403 _ACEOF
   8404 if ac_fn_c_try_link "$LINENO"; then :
   8405   eval $cacheid=yes
   8406 else
   8407   eval $cacheid=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext \
   8410     conftest$ac_exeext conftest.$ac_ext
   8411 fi
   8412 
   8413 
   8414 		CFLAGS="$xorg_testset_save_CFLAGS"
   8415 
   8416 		eval supported=\$$cacheid
   8417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8418 $as_echo "$supported" >&6; }
   8419 		if test "$supported" = "yes" ; then
   8420 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8421 			found="yes"
   8422 		fi
   8423 	fi
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 xorg_testset_save_CFLAGS="$CFLAGS"
   8440 
   8441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8444 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8445 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8446   $as_echo_n "(cached) " >&6
   8447 else
   8448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8449 /* end confdefs.h.  */
   8450 int i;
   8451 _ACEOF
   8452 if ac_fn_c_try_compile "$LINENO"; then :
   8453   xorg_cv_cc_flag_unknown_warning_option=yes
   8454 else
   8455   xorg_cv_cc_flag_unknown_warning_option=no
   8456 fi
   8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8458 fi
   8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8460 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8462 	CFLAGS="$xorg_testset_save_CFLAGS"
   8463 fi
   8464 
   8465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8468 	fi
   8469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8471 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8472 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8473   $as_echo_n "(cached) " >&6
   8474 else
   8475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8476 /* end confdefs.h.  */
   8477 int i;
   8478 _ACEOF
   8479 if ac_fn_c_try_compile "$LINENO"; then :
   8480   xorg_cv_cc_flag_unused_command_line_argument=yes
   8481 else
   8482   xorg_cv_cc_flag_unused_command_line_argument=no
   8483 fi
   8484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8485 fi
   8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8487 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8489 	CFLAGS="$xorg_testset_save_CFLAGS"
   8490 fi
   8491 
   8492 found="no"
   8493 
   8494 	if test $found = "no" ; then
   8495 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8497 		fi
   8498 
   8499 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8501 		fi
   8502 
   8503 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8504 
   8505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8506 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8507 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8508 		if eval \${$cacheid+:} false; then :
   8509   $as_echo_n "(cached) " >&6
   8510 else
   8511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 int
   8515 main ()
   8516 {
   8517 
   8518   ;
   8519   return 0;
   8520 }
   8521 _ACEOF
   8522 if ac_fn_c_try_link "$LINENO"; then :
   8523   eval $cacheid=yes
   8524 else
   8525   eval $cacheid=no
   8526 fi
   8527 rm -f core conftest.err conftest.$ac_objext \
   8528     conftest$ac_exeext conftest.$ac_ext
   8529 fi
   8530 
   8531 
   8532 		CFLAGS="$xorg_testset_save_CFLAGS"
   8533 
   8534 		eval supported=\$$cacheid
   8535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8536 $as_echo "$supported" >&6; }
   8537 		if test "$supported" = "yes" ; then
   8538 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8539 			found="yes"
   8540 		fi
   8541 	fi
   8542 
   8543 	if test $found = "no" ; then
   8544 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8546 		fi
   8547 
   8548 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8550 		fi
   8551 
   8552 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8553 
   8554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8555 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8556 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8557 		if eval \${$cacheid+:} false; then :
   8558   $as_echo_n "(cached) " >&6
   8559 else
   8560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8561 /* end confdefs.h.  */
   8562 int i;
   8563 int
   8564 main ()
   8565 {
   8566 
   8567   ;
   8568   return 0;
   8569 }
   8570 _ACEOF
   8571 if ac_fn_c_try_link "$LINENO"; then :
   8572   eval $cacheid=yes
   8573 else
   8574   eval $cacheid=no
   8575 fi
   8576 rm -f core conftest.err conftest.$ac_objext \
   8577     conftest$ac_exeext conftest.$ac_ext
   8578 fi
   8579 
   8580 
   8581 		CFLAGS="$xorg_testset_save_CFLAGS"
   8582 
   8583 		eval supported=\$$cacheid
   8584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8585 $as_echo "$supported" >&6; }
   8586 		if test "$supported" = "yes" ; then
   8587 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8588 			found="yes"
   8589 		fi
   8590 	fi
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 xorg_testset_save_CFLAGS="$CFLAGS"
   8607 
   8608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8613   $as_echo_n "(cached) " >&6
   8614 else
   8615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8616 /* end confdefs.h.  */
   8617 int i;
   8618 _ACEOF
   8619 if ac_fn_c_try_compile "$LINENO"; then :
   8620   xorg_cv_cc_flag_unknown_warning_option=yes
   8621 else
   8622   xorg_cv_cc_flag_unknown_warning_option=no
   8623 fi
   8624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8625 fi
   8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8629 	CFLAGS="$xorg_testset_save_CFLAGS"
   8630 fi
   8631 
   8632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8635 	fi
   8636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8640   $as_echo_n "(cached) " >&6
   8641 else
   8642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 _ACEOF
   8646 if ac_fn_c_try_compile "$LINENO"; then :
   8647   xorg_cv_cc_flag_unused_command_line_argument=yes
   8648 else
   8649   xorg_cv_cc_flag_unused_command_line_argument=no
   8650 fi
   8651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8652 fi
   8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8656 	CFLAGS="$xorg_testset_save_CFLAGS"
   8657 fi
   8658 
   8659 found="no"
   8660 
   8661 	if test $found = "no" ; then
   8662 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8664 		fi
   8665 
   8666 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8668 		fi
   8669 
   8670 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8671 
   8672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8673 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8674 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8675 		if eval \${$cacheid+:} false; then :
   8676   $as_echo_n "(cached) " >&6
   8677 else
   8678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8679 /* end confdefs.h.  */
   8680 int i;
   8681 int
   8682 main ()
   8683 {
   8684 
   8685   ;
   8686   return 0;
   8687 }
   8688 _ACEOF
   8689 if ac_fn_c_try_link "$LINENO"; then :
   8690   eval $cacheid=yes
   8691 else
   8692   eval $cacheid=no
   8693 fi
   8694 rm -f core conftest.err conftest.$ac_objext \
   8695     conftest$ac_exeext conftest.$ac_ext
   8696 fi
   8697 
   8698 
   8699 		CFLAGS="$xorg_testset_save_CFLAGS"
   8700 
   8701 		eval supported=\$$cacheid
   8702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8703 $as_echo "$supported" >&6; }
   8704 		if test "$supported" = "yes" ; then
   8705 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8706 			found="yes"
   8707 		fi
   8708 	fi
   8709 
   8710  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8711 else
   8712 { $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
   8713 $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;}
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 xorg_testset_save_CFLAGS="$CFLAGS"
   8728 
   8729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8732 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8733 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8734   $as_echo_n "(cached) " >&6
   8735 else
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 _ACEOF
   8740 if ac_fn_c_try_compile "$LINENO"; then :
   8741   xorg_cv_cc_flag_unknown_warning_option=yes
   8742 else
   8743   xorg_cv_cc_flag_unknown_warning_option=no
   8744 fi
   8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8746 fi
   8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8748 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8750 	CFLAGS="$xorg_testset_save_CFLAGS"
   8751 fi
   8752 
   8753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8756 	fi
   8757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8760 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8761   $as_echo_n "(cached) " >&6
   8762 else
   8763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8764 /* end confdefs.h.  */
   8765 int i;
   8766 _ACEOF
   8767 if ac_fn_c_try_compile "$LINENO"; then :
   8768   xorg_cv_cc_flag_unused_command_line_argument=yes
   8769 else
   8770   xorg_cv_cc_flag_unused_command_line_argument=no
   8771 fi
   8772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8773 fi
   8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8775 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8777 	CFLAGS="$xorg_testset_save_CFLAGS"
   8778 fi
   8779 
   8780 found="no"
   8781 
   8782 	if test $found = "no" ; then
   8783 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8785 		fi
   8786 
   8787 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8789 		fi
   8790 
   8791 		CFLAGS="$CFLAGS -Wimplicit"
   8792 
   8793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8794 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8795 		cacheid=xorg_cv_cc_flag__Wimplicit
   8796 		if eval \${$cacheid+:} false; then :
   8797   $as_echo_n "(cached) " >&6
   8798 else
   8799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8800 /* end confdefs.h.  */
   8801 int i;
   8802 int
   8803 main ()
   8804 {
   8805 
   8806   ;
   8807   return 0;
   8808 }
   8809 _ACEOF
   8810 if ac_fn_c_try_link "$LINENO"; then :
   8811   eval $cacheid=yes
   8812 else
   8813   eval $cacheid=no
   8814 fi
   8815 rm -f core conftest.err conftest.$ac_objext \
   8816     conftest$ac_exeext conftest.$ac_ext
   8817 fi
   8818 
   8819 
   8820 		CFLAGS="$xorg_testset_save_CFLAGS"
   8821 
   8822 		eval supported=\$$cacheid
   8823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8824 $as_echo "$supported" >&6; }
   8825 		if test "$supported" = "yes" ; then
   8826 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8827 			found="yes"
   8828 		fi
   8829 	fi
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 xorg_testset_save_CFLAGS="$CFLAGS"
   8846 
   8847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8852   $as_echo_n "(cached) " >&6
   8853 else
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 _ACEOF
   8858 if ac_fn_c_try_compile "$LINENO"; then :
   8859   xorg_cv_cc_flag_unknown_warning_option=yes
   8860 else
   8861   xorg_cv_cc_flag_unknown_warning_option=no
   8862 fi
   8863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8864 fi
   8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8868 	CFLAGS="$xorg_testset_save_CFLAGS"
   8869 fi
   8870 
   8871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8874 	fi
   8875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8879   $as_echo_n "(cached) " >&6
   8880 else
   8881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"; then :
   8886   xorg_cv_cc_flag_unused_command_line_argument=yes
   8887 else
   8888   xorg_cv_cc_flag_unused_command_line_argument=no
   8889 fi
   8890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8891 fi
   8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8895 	CFLAGS="$xorg_testset_save_CFLAGS"
   8896 fi
   8897 
   8898 found="no"
   8899 
   8900 	if test $found = "no" ; then
   8901 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8903 		fi
   8904 
   8905 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8907 		fi
   8908 
   8909 		CFLAGS="$CFLAGS -Wnonnull"
   8910 
   8911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8912 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8913 		cacheid=xorg_cv_cc_flag__Wnonnull
   8914 		if eval \${$cacheid+:} false; then :
   8915   $as_echo_n "(cached) " >&6
   8916 else
   8917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8918 /* end confdefs.h.  */
   8919 int i;
   8920 int
   8921 main ()
   8922 {
   8923 
   8924   ;
   8925   return 0;
   8926 }
   8927 _ACEOF
   8928 if ac_fn_c_try_link "$LINENO"; then :
   8929   eval $cacheid=yes
   8930 else
   8931   eval $cacheid=no
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext \
   8934     conftest$ac_exeext conftest.$ac_ext
   8935 fi
   8936 
   8937 
   8938 		CFLAGS="$xorg_testset_save_CFLAGS"
   8939 
   8940 		eval supported=\$$cacheid
   8941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8942 $as_echo "$supported" >&6; }
   8943 		if test "$supported" = "yes" ; then
   8944 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8945 			found="yes"
   8946 		fi
   8947 	fi
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 xorg_testset_save_CFLAGS="$CFLAGS"
   8964 
   8965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 _ACEOF
   8976 if ac_fn_c_try_compile "$LINENO"; then :
   8977   xorg_cv_cc_flag_unknown_warning_option=yes
   8978 else
   8979   xorg_cv_cc_flag_unknown_warning_option=no
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8982 fi
   8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8986 	CFLAGS="$xorg_testset_save_CFLAGS"
   8987 fi
   8988 
   8989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8992 	fi
   8993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8997   $as_echo_n "(cached) " >&6
   8998 else
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 int i;
   9002 _ACEOF
   9003 if ac_fn_c_try_compile "$LINENO"; then :
   9004   xorg_cv_cc_flag_unused_command_line_argument=yes
   9005 else
   9006   xorg_cv_cc_flag_unused_command_line_argument=no
   9007 fi
   9008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9009 fi
   9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9013 	CFLAGS="$xorg_testset_save_CFLAGS"
   9014 fi
   9015 
   9016 found="no"
   9017 
   9018 	if test $found = "no" ; then
   9019 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 		fi
   9022 
   9023 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9025 		fi
   9026 
   9027 		CFLAGS="$CFLAGS -Winit-self"
   9028 
   9029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9030 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9031 		cacheid=xorg_cv_cc_flag__Winit_self
   9032 		if eval \${$cacheid+:} false; then :
   9033   $as_echo_n "(cached) " >&6
   9034 else
   9035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9036 /* end confdefs.h.  */
   9037 int i;
   9038 int
   9039 main ()
   9040 {
   9041 
   9042   ;
   9043   return 0;
   9044 }
   9045 _ACEOF
   9046 if ac_fn_c_try_link "$LINENO"; then :
   9047   eval $cacheid=yes
   9048 else
   9049   eval $cacheid=no
   9050 fi
   9051 rm -f core conftest.err conftest.$ac_objext \
   9052     conftest$ac_exeext conftest.$ac_ext
   9053 fi
   9054 
   9055 
   9056 		CFLAGS="$xorg_testset_save_CFLAGS"
   9057 
   9058 		eval supported=\$$cacheid
   9059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9060 $as_echo "$supported" >&6; }
   9061 		if test "$supported" = "yes" ; then
   9062 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9063 			found="yes"
   9064 		fi
   9065 	fi
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 xorg_testset_save_CFLAGS="$CFLAGS"
   9082 
   9083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9088   $as_echo_n "(cached) " >&6
   9089 else
   9090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9091 /* end confdefs.h.  */
   9092 int i;
   9093 _ACEOF
   9094 if ac_fn_c_try_compile "$LINENO"; then :
   9095   xorg_cv_cc_flag_unknown_warning_option=yes
   9096 else
   9097   xorg_cv_cc_flag_unknown_warning_option=no
   9098 fi
   9099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9100 fi
   9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9104 	CFLAGS="$xorg_testset_save_CFLAGS"
   9105 fi
   9106 
   9107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9110 	fi
   9111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9115   $as_echo_n "(cached) " >&6
   9116 else
   9117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9118 /* end confdefs.h.  */
   9119 int i;
   9120 _ACEOF
   9121 if ac_fn_c_try_compile "$LINENO"; then :
   9122   xorg_cv_cc_flag_unused_command_line_argument=yes
   9123 else
   9124   xorg_cv_cc_flag_unused_command_line_argument=no
   9125 fi
   9126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9127 fi
   9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9131 	CFLAGS="$xorg_testset_save_CFLAGS"
   9132 fi
   9133 
   9134 found="no"
   9135 
   9136 	if test $found = "no" ; then
   9137 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9139 		fi
   9140 
   9141 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9143 		fi
   9144 
   9145 		CFLAGS="$CFLAGS -Wmain"
   9146 
   9147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9148 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9149 		cacheid=xorg_cv_cc_flag__Wmain
   9150 		if eval \${$cacheid+:} false; then :
   9151   $as_echo_n "(cached) " >&6
   9152 else
   9153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9154 /* end confdefs.h.  */
   9155 int i;
   9156 int
   9157 main ()
   9158 {
   9159 
   9160   ;
   9161   return 0;
   9162 }
   9163 _ACEOF
   9164 if ac_fn_c_try_link "$LINENO"; then :
   9165   eval $cacheid=yes
   9166 else
   9167   eval $cacheid=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext \
   9170     conftest$ac_exeext conftest.$ac_ext
   9171 fi
   9172 
   9173 
   9174 		CFLAGS="$xorg_testset_save_CFLAGS"
   9175 
   9176 		eval supported=\$$cacheid
   9177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9178 $as_echo "$supported" >&6; }
   9179 		if test "$supported" = "yes" ; then
   9180 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9181 			found="yes"
   9182 		fi
   9183 	fi
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 xorg_testset_save_CFLAGS="$CFLAGS"
   9200 
   9201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9209 /* end confdefs.h.  */
   9210 int i;
   9211 _ACEOF
   9212 if ac_fn_c_try_compile "$LINENO"; then :
   9213   xorg_cv_cc_flag_unknown_warning_option=yes
   9214 else
   9215   xorg_cv_cc_flag_unknown_warning_option=no
   9216 fi
   9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9218 fi
   9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9222 	CFLAGS="$xorg_testset_save_CFLAGS"
   9223 fi
   9224 
   9225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9228 	fi
   9229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9233   $as_echo_n "(cached) " >&6
   9234 else
   9235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 _ACEOF
   9239 if ac_fn_c_try_compile "$LINENO"; then :
   9240   xorg_cv_cc_flag_unused_command_line_argument=yes
   9241 else
   9242   xorg_cv_cc_flag_unused_command_line_argument=no
   9243 fi
   9244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9245 fi
   9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9249 	CFLAGS="$xorg_testset_save_CFLAGS"
   9250 fi
   9251 
   9252 found="no"
   9253 
   9254 	if test $found = "no" ; then
   9255 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9257 		fi
   9258 
   9259 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9261 		fi
   9262 
   9263 		CFLAGS="$CFLAGS -Wmissing-braces"
   9264 
   9265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9266 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9267 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9268 		if eval \${$cacheid+:} false; then :
   9269   $as_echo_n "(cached) " >&6
   9270 else
   9271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9272 /* end confdefs.h.  */
   9273 int i;
   9274 int
   9275 main ()
   9276 {
   9277 
   9278   ;
   9279   return 0;
   9280 }
   9281 _ACEOF
   9282 if ac_fn_c_try_link "$LINENO"; then :
   9283   eval $cacheid=yes
   9284 else
   9285   eval $cacheid=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext \
   9288     conftest$ac_exeext conftest.$ac_ext
   9289 fi
   9290 
   9291 
   9292 		CFLAGS="$xorg_testset_save_CFLAGS"
   9293 
   9294 		eval supported=\$$cacheid
   9295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9296 $as_echo "$supported" >&6; }
   9297 		if test "$supported" = "yes" ; then
   9298 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9299 			found="yes"
   9300 		fi
   9301 	fi
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 xorg_testset_save_CFLAGS="$CFLAGS"
   9318 
   9319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9324   $as_echo_n "(cached) " >&6
   9325 else
   9326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 _ACEOF
   9330 if ac_fn_c_try_compile "$LINENO"; then :
   9331   xorg_cv_cc_flag_unknown_warning_option=yes
   9332 else
   9333   xorg_cv_cc_flag_unknown_warning_option=no
   9334 fi
   9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9336 fi
   9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9340 	CFLAGS="$xorg_testset_save_CFLAGS"
   9341 fi
   9342 
   9343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9346 	fi
   9347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9351   $as_echo_n "(cached) " >&6
   9352 else
   9353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9354 /* end confdefs.h.  */
   9355 int i;
   9356 _ACEOF
   9357 if ac_fn_c_try_compile "$LINENO"; then :
   9358   xorg_cv_cc_flag_unused_command_line_argument=yes
   9359 else
   9360   xorg_cv_cc_flag_unused_command_line_argument=no
   9361 fi
   9362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9363 fi
   9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9367 	CFLAGS="$xorg_testset_save_CFLAGS"
   9368 fi
   9369 
   9370 found="no"
   9371 
   9372 	if test $found = "no" ; then
   9373 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9375 		fi
   9376 
   9377 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9379 		fi
   9380 
   9381 		CFLAGS="$CFLAGS -Wsequence-point"
   9382 
   9383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9384 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9385 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9386 		if eval \${$cacheid+:} false; then :
   9387   $as_echo_n "(cached) " >&6
   9388 else
   9389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9390 /* end confdefs.h.  */
   9391 int i;
   9392 int
   9393 main ()
   9394 {
   9395 
   9396   ;
   9397   return 0;
   9398 }
   9399 _ACEOF
   9400 if ac_fn_c_try_link "$LINENO"; then :
   9401   eval $cacheid=yes
   9402 else
   9403   eval $cacheid=no
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext \
   9406     conftest$ac_exeext conftest.$ac_ext
   9407 fi
   9408 
   9409 
   9410 		CFLAGS="$xorg_testset_save_CFLAGS"
   9411 
   9412 		eval supported=\$$cacheid
   9413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9414 $as_echo "$supported" >&6; }
   9415 		if test "$supported" = "yes" ; then
   9416 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9417 			found="yes"
   9418 		fi
   9419 	fi
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 xorg_testset_save_CFLAGS="$CFLAGS"
   9436 
   9437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9442   $as_echo_n "(cached) " >&6
   9443 else
   9444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9445 /* end confdefs.h.  */
   9446 int i;
   9447 _ACEOF
   9448 if ac_fn_c_try_compile "$LINENO"; then :
   9449   xorg_cv_cc_flag_unknown_warning_option=yes
   9450 else
   9451   xorg_cv_cc_flag_unknown_warning_option=no
   9452 fi
   9453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9454 fi
   9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9458 	CFLAGS="$xorg_testset_save_CFLAGS"
   9459 fi
   9460 
   9461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9464 	fi
   9465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9469   $as_echo_n "(cached) " >&6
   9470 else
   9471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9472 /* end confdefs.h.  */
   9473 int i;
   9474 _ACEOF
   9475 if ac_fn_c_try_compile "$LINENO"; then :
   9476   xorg_cv_cc_flag_unused_command_line_argument=yes
   9477 else
   9478   xorg_cv_cc_flag_unused_command_line_argument=no
   9479 fi
   9480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9481 fi
   9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9485 	CFLAGS="$xorg_testset_save_CFLAGS"
   9486 fi
   9487 
   9488 found="no"
   9489 
   9490 	if test $found = "no" ; then
   9491 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9493 		fi
   9494 
   9495 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9497 		fi
   9498 
   9499 		CFLAGS="$CFLAGS -Wreturn-type"
   9500 
   9501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9502 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9503 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9504 		if eval \${$cacheid+:} false; then :
   9505   $as_echo_n "(cached) " >&6
   9506 else
   9507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9508 /* end confdefs.h.  */
   9509 int i;
   9510 int
   9511 main ()
   9512 {
   9513 
   9514   ;
   9515   return 0;
   9516 }
   9517 _ACEOF
   9518 if ac_fn_c_try_link "$LINENO"; then :
   9519   eval $cacheid=yes
   9520 else
   9521   eval $cacheid=no
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext \
   9524     conftest$ac_exeext conftest.$ac_ext
   9525 fi
   9526 
   9527 
   9528 		CFLAGS="$xorg_testset_save_CFLAGS"
   9529 
   9530 		eval supported=\$$cacheid
   9531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9532 $as_echo "$supported" >&6; }
   9533 		if test "$supported" = "yes" ; then
   9534 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9535 			found="yes"
   9536 		fi
   9537 	fi
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 xorg_testset_save_CFLAGS="$CFLAGS"
   9554 
   9555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9560   $as_echo_n "(cached) " >&6
   9561 else
   9562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9563 /* end confdefs.h.  */
   9564 int i;
   9565 _ACEOF
   9566 if ac_fn_c_try_compile "$LINENO"; then :
   9567   xorg_cv_cc_flag_unknown_warning_option=yes
   9568 else
   9569   xorg_cv_cc_flag_unknown_warning_option=no
   9570 fi
   9571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9572 fi
   9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9576 	CFLAGS="$xorg_testset_save_CFLAGS"
   9577 fi
   9578 
   9579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9582 	fi
   9583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_cc_flag_unused_command_line_argument=yes
   9595 else
   9596   xorg_cv_cc_flag_unused_command_line_argument=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_cc_flag_unused_command_line_argument" >&5
   9601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9603 	CFLAGS="$xorg_testset_save_CFLAGS"
   9604 fi
   9605 
   9606 found="no"
   9607 
   9608 	if test $found = "no" ; then
   9609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9611 		fi
   9612 
   9613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9615 		fi
   9616 
   9617 		CFLAGS="$CFLAGS -Wtrigraphs"
   9618 
   9619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9620 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9621 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9622 		if eval \${$cacheid+:} false; then :
   9623   $as_echo_n "(cached) " >&6
   9624 else
   9625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 int
   9629 main ()
   9630 {
   9631 
   9632   ;
   9633   return 0;
   9634 }
   9635 _ACEOF
   9636 if ac_fn_c_try_link "$LINENO"; then :
   9637   eval $cacheid=yes
   9638 else
   9639   eval $cacheid=no
   9640 fi
   9641 rm -f core conftest.err conftest.$ac_objext \
   9642     conftest$ac_exeext conftest.$ac_ext
   9643 fi
   9644 
   9645 
   9646 		CFLAGS="$xorg_testset_save_CFLAGS"
   9647 
   9648 		eval supported=\$$cacheid
   9649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9650 $as_echo "$supported" >&6; }
   9651 		if test "$supported" = "yes" ; then
   9652 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9653 			found="yes"
   9654 		fi
   9655 	fi
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 xorg_testset_save_CFLAGS="$CFLAGS"
   9672 
   9673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 _ACEOF
   9684 if ac_fn_c_try_compile "$LINENO"; then :
   9685   xorg_cv_cc_flag_unknown_warning_option=yes
   9686 else
   9687   xorg_cv_cc_flag_unknown_warning_option=no
   9688 fi
   9689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9690 fi
   9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9694 	CFLAGS="$xorg_testset_save_CFLAGS"
   9695 fi
   9696 
   9697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 	fi
   9701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9705   $as_echo_n "(cached) " >&6
   9706 else
   9707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9708 /* end confdefs.h.  */
   9709 int i;
   9710 _ACEOF
   9711 if ac_fn_c_try_compile "$LINENO"; then :
   9712   xorg_cv_cc_flag_unused_command_line_argument=yes
   9713 else
   9714   xorg_cv_cc_flag_unused_command_line_argument=no
   9715 fi
   9716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9717 fi
   9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9721 	CFLAGS="$xorg_testset_save_CFLAGS"
   9722 fi
   9723 
   9724 found="no"
   9725 
   9726 	if test $found = "no" ; then
   9727 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9729 		fi
   9730 
   9731 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9733 		fi
   9734 
   9735 		CFLAGS="$CFLAGS -Warray-bounds"
   9736 
   9737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9738 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9739 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9740 		if eval \${$cacheid+:} false; then :
   9741   $as_echo_n "(cached) " >&6
   9742 else
   9743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9744 /* end confdefs.h.  */
   9745 int i;
   9746 int
   9747 main ()
   9748 {
   9749 
   9750   ;
   9751   return 0;
   9752 }
   9753 _ACEOF
   9754 if ac_fn_c_try_link "$LINENO"; then :
   9755   eval $cacheid=yes
   9756 else
   9757   eval $cacheid=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext \
   9760     conftest$ac_exeext conftest.$ac_ext
   9761 fi
   9762 
   9763 
   9764 		CFLAGS="$xorg_testset_save_CFLAGS"
   9765 
   9766 		eval supported=\$$cacheid
   9767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9768 $as_echo "$supported" >&6; }
   9769 		if test "$supported" = "yes" ; then
   9770 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9771 			found="yes"
   9772 		fi
   9773 	fi
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 xorg_testset_save_CFLAGS="$CFLAGS"
   9790 
   9791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 _ACEOF
   9802 if ac_fn_c_try_compile "$LINENO"; then :
   9803   xorg_cv_cc_flag_unknown_warning_option=yes
   9804 else
   9805   xorg_cv_cc_flag_unknown_warning_option=no
   9806 fi
   9807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9808 fi
   9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9812 	CFLAGS="$xorg_testset_save_CFLAGS"
   9813 fi
   9814 
   9815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9818 	fi
   9819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9823   $as_echo_n "(cached) " >&6
   9824 else
   9825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9826 /* end confdefs.h.  */
   9827 int i;
   9828 _ACEOF
   9829 if ac_fn_c_try_compile "$LINENO"; then :
   9830   xorg_cv_cc_flag_unused_command_line_argument=yes
   9831 else
   9832   xorg_cv_cc_flag_unused_command_line_argument=no
   9833 fi
   9834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9835 fi
   9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9839 	CFLAGS="$xorg_testset_save_CFLAGS"
   9840 fi
   9841 
   9842 found="no"
   9843 
   9844 	if test $found = "no" ; then
   9845 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9847 		fi
   9848 
   9849 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9851 		fi
   9852 
   9853 		CFLAGS="$CFLAGS -Wwrite-strings"
   9854 
   9855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9856 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9857 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9858 		if eval \${$cacheid+:} false; then :
   9859   $as_echo_n "(cached) " >&6
   9860 else
   9861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9862 /* end confdefs.h.  */
   9863 int i;
   9864 int
   9865 main ()
   9866 {
   9867 
   9868   ;
   9869   return 0;
   9870 }
   9871 _ACEOF
   9872 if ac_fn_c_try_link "$LINENO"; then :
   9873   eval $cacheid=yes
   9874 else
   9875   eval $cacheid=no
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext \
   9878     conftest$ac_exeext conftest.$ac_ext
   9879 fi
   9880 
   9881 
   9882 		CFLAGS="$xorg_testset_save_CFLAGS"
   9883 
   9884 		eval supported=\$$cacheid
   9885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9886 $as_echo "$supported" >&6; }
   9887 		if test "$supported" = "yes" ; then
   9888 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9889 			found="yes"
   9890 		fi
   9891 	fi
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 xorg_testset_save_CFLAGS="$CFLAGS"
   9908 
   9909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9912 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9913 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9914   $as_echo_n "(cached) " >&6
   9915 else
   9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 _ACEOF
   9920 if ac_fn_c_try_compile "$LINENO"; then :
   9921   xorg_cv_cc_flag_unknown_warning_option=yes
   9922 else
   9923   xorg_cv_cc_flag_unknown_warning_option=no
   9924 fi
   9925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9926 fi
   9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9928 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9929 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9930 	CFLAGS="$xorg_testset_save_CFLAGS"
   9931 fi
   9932 
   9933 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9934 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9935 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9936 	fi
   9937 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9939 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9940 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9941   $as_echo_n "(cached) " >&6
   9942 else
   9943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9944 /* end confdefs.h.  */
   9945 int i;
   9946 _ACEOF
   9947 if ac_fn_c_try_compile "$LINENO"; then :
   9948   xorg_cv_cc_flag_unused_command_line_argument=yes
   9949 else
   9950   xorg_cv_cc_flag_unused_command_line_argument=no
   9951 fi
   9952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9953 fi
   9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9955 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9957 	CFLAGS="$xorg_testset_save_CFLAGS"
   9958 fi
   9959 
   9960 found="no"
   9961 
   9962 	if test $found = "no" ; then
   9963 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9965 		fi
   9966 
   9967 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9969 		fi
   9970 
   9971 		CFLAGS="$CFLAGS -Waddress"
   9972 
   9973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9974 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9975 		cacheid=xorg_cv_cc_flag__Waddress
   9976 		if eval \${$cacheid+:} false; then :
   9977   $as_echo_n "(cached) " >&6
   9978 else
   9979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9980 /* end confdefs.h.  */
   9981 int i;
   9982 int
   9983 main ()
   9984 {
   9985 
   9986   ;
   9987   return 0;
   9988 }
   9989 _ACEOF
   9990 if ac_fn_c_try_link "$LINENO"; then :
   9991   eval $cacheid=yes
   9992 else
   9993   eval $cacheid=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext \
   9996     conftest$ac_exeext conftest.$ac_ext
   9997 fi
   9998 
   9999 
   10000 		CFLAGS="$xorg_testset_save_CFLAGS"
   10001 
   10002 		eval supported=\$$cacheid
   10003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10004 $as_echo "$supported" >&6; }
   10005 		if test "$supported" = "yes" ; then
   10006 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10007 			found="yes"
   10008 		fi
   10009 	fi
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 xorg_testset_save_CFLAGS="$CFLAGS"
   10026 
   10027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10032   $as_echo_n "(cached) " >&6
   10033 else
   10034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10035 /* end confdefs.h.  */
   10036 int i;
   10037 _ACEOF
   10038 if ac_fn_c_try_compile "$LINENO"; then :
   10039   xorg_cv_cc_flag_unknown_warning_option=yes
   10040 else
   10041   xorg_cv_cc_flag_unknown_warning_option=no
   10042 fi
   10043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10044 fi
   10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10048 	CFLAGS="$xorg_testset_save_CFLAGS"
   10049 fi
   10050 
   10051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10054 	fi
   10055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10059   $as_echo_n "(cached) " >&6
   10060 else
   10061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10062 /* end confdefs.h.  */
   10063 int i;
   10064 _ACEOF
   10065 if ac_fn_c_try_compile "$LINENO"; then :
   10066   xorg_cv_cc_flag_unused_command_line_argument=yes
   10067 else
   10068   xorg_cv_cc_flag_unused_command_line_argument=no
   10069 fi
   10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10071 fi
   10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10075 	CFLAGS="$xorg_testset_save_CFLAGS"
   10076 fi
   10077 
   10078 found="no"
   10079 
   10080 	if test $found = "no" ; then
   10081 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10083 		fi
   10084 
   10085 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10087 		fi
   10088 
   10089 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10090 
   10091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10092 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10093 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10094 		if eval \${$cacheid+:} false; then :
   10095   $as_echo_n "(cached) " >&6
   10096 else
   10097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 int i;
   10100 int
   10101 main ()
   10102 {
   10103 
   10104   ;
   10105   return 0;
   10106 }
   10107 _ACEOF
   10108 if ac_fn_c_try_link "$LINENO"; then :
   10109   eval $cacheid=yes
   10110 else
   10111   eval $cacheid=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext \
   10114     conftest$ac_exeext conftest.$ac_ext
   10115 fi
   10116 
   10117 
   10118 		CFLAGS="$xorg_testset_save_CFLAGS"
   10119 
   10120 		eval supported=\$$cacheid
   10121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10122 $as_echo "$supported" >&6; }
   10123 		if test "$supported" = "yes" ; then
   10124 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10125 			found="yes"
   10126 		fi
   10127 	fi
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 xorg_testset_save_CFLAGS="$CFLAGS"
   10144 
   10145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10150   $as_echo_n "(cached) " >&6
   10151 else
   10152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10153 /* end confdefs.h.  */
   10154 int i;
   10155 _ACEOF
   10156 if ac_fn_c_try_compile "$LINENO"; then :
   10157   xorg_cv_cc_flag_unknown_warning_option=yes
   10158 else
   10159   xorg_cv_cc_flag_unknown_warning_option=no
   10160 fi
   10161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10162 fi
   10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10166 	CFLAGS="$xorg_testset_save_CFLAGS"
   10167 fi
   10168 
   10169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 	fi
   10173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 int i;
   10182 _ACEOF
   10183 if ac_fn_c_try_compile "$LINENO"; then :
   10184   xorg_cv_cc_flag_unused_command_line_argument=yes
   10185 else
   10186   xorg_cv_cc_flag_unused_command_line_argument=no
   10187 fi
   10188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10189 fi
   10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10193 	CFLAGS="$xorg_testset_save_CFLAGS"
   10194 fi
   10195 
   10196 found="no"
   10197 
   10198 	if test $found = "no" ; then
   10199 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10201 		fi
   10202 
   10203 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10205 		fi
   10206 
   10207 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10208 
   10209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10210 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10211 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10212 		if eval \${$cacheid+:} false; then :
   10213   $as_echo_n "(cached) " >&6
   10214 else
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 int
   10219 main ()
   10220 {
   10221 
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 if ac_fn_c_try_link "$LINENO"; then :
   10227   eval $cacheid=yes
   10228 else
   10229   eval $cacheid=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext \
   10232     conftest$ac_exeext conftest.$ac_ext
   10233 fi
   10234 
   10235 
   10236 		CFLAGS="$xorg_testset_save_CFLAGS"
   10237 
   10238 		eval supported=\$$cacheid
   10239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10240 $as_echo "$supported" >&6; }
   10241 		if test "$supported" = "yes" ; then
   10242 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10243 			found="yes"
   10244 		fi
   10245 	fi
   10246 
   10247 
   10248 fi
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 		CWARNFLAGS="$BASE_CFLAGS"
   10257 		if  test "x$GCC" = xyes ; then
   10258 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10259 		fi
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 # Check whether --enable-strict-compilation was given.
   10269 if test "${enable_strict_compilation+set}" = set; then :
   10270   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10271 else
   10272   STRICT_COMPILE=no
   10273 fi
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 STRICT_CFLAGS=""
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 xorg_testset_save_CFLAGS="$CFLAGS"
   10295 
   10296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10301   $as_echo_n "(cached) " >&6
   10302 else
   10303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10304 /* end confdefs.h.  */
   10305 int i;
   10306 _ACEOF
   10307 if ac_fn_c_try_compile "$LINENO"; then :
   10308   xorg_cv_cc_flag_unknown_warning_option=yes
   10309 else
   10310   xorg_cv_cc_flag_unknown_warning_option=no
   10311 fi
   10312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10313 fi
   10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10317 	CFLAGS="$xorg_testset_save_CFLAGS"
   10318 fi
   10319 
   10320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10323 	fi
   10324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10328   $as_echo_n "(cached) " >&6
   10329 else
   10330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10331 /* end confdefs.h.  */
   10332 int i;
   10333 _ACEOF
   10334 if ac_fn_c_try_compile "$LINENO"; then :
   10335   xorg_cv_cc_flag_unused_command_line_argument=yes
   10336 else
   10337   xorg_cv_cc_flag_unused_command_line_argument=no
   10338 fi
   10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10340 fi
   10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10344 	CFLAGS="$xorg_testset_save_CFLAGS"
   10345 fi
   10346 
   10347 found="no"
   10348 
   10349 	if test $found = "no" ; then
   10350 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10352 		fi
   10353 
   10354 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10356 		fi
   10357 
   10358 		CFLAGS="$CFLAGS -pedantic"
   10359 
   10360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10361 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10362 		cacheid=xorg_cv_cc_flag__pedantic
   10363 		if eval \${$cacheid+:} false; then :
   10364   $as_echo_n "(cached) " >&6
   10365 else
   10366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 int
   10370 main ()
   10371 {
   10372 
   10373   ;
   10374   return 0;
   10375 }
   10376 _ACEOF
   10377 if ac_fn_c_try_link "$LINENO"; then :
   10378   eval $cacheid=yes
   10379 else
   10380   eval $cacheid=no
   10381 fi
   10382 rm -f core conftest.err conftest.$ac_objext \
   10383     conftest$ac_exeext conftest.$ac_ext
   10384 fi
   10385 
   10386 
   10387 		CFLAGS="$xorg_testset_save_CFLAGS"
   10388 
   10389 		eval supported=\$$cacheid
   10390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10391 $as_echo "$supported" >&6; }
   10392 		if test "$supported" = "yes" ; then
   10393 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10394 			found="yes"
   10395 		fi
   10396 	fi
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 xorg_testset_save_CFLAGS="$CFLAGS"
   10413 
   10414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10419   $as_echo_n "(cached) " >&6
   10420 else
   10421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10422 /* end confdefs.h.  */
   10423 int i;
   10424 _ACEOF
   10425 if ac_fn_c_try_compile "$LINENO"; then :
   10426   xorg_cv_cc_flag_unknown_warning_option=yes
   10427 else
   10428   xorg_cv_cc_flag_unknown_warning_option=no
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10431 fi
   10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10435 	CFLAGS="$xorg_testset_save_CFLAGS"
   10436 fi
   10437 
   10438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10441 	fi
   10442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 int i;
   10451 _ACEOF
   10452 if ac_fn_c_try_compile "$LINENO"; then :
   10453   xorg_cv_cc_flag_unused_command_line_argument=yes
   10454 else
   10455   xorg_cv_cc_flag_unused_command_line_argument=no
   10456 fi
   10457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10458 fi
   10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10462 	CFLAGS="$xorg_testset_save_CFLAGS"
   10463 fi
   10464 
   10465 found="no"
   10466 
   10467 	if test $found = "no" ; then
   10468 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 		fi
   10471 
   10472 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10474 		fi
   10475 
   10476 		CFLAGS="$CFLAGS -Werror"
   10477 
   10478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10479 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10480 		cacheid=xorg_cv_cc_flag__Werror
   10481 		if eval \${$cacheid+:} false; then :
   10482   $as_echo_n "(cached) " >&6
   10483 else
   10484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 int i;
   10487 int
   10488 main ()
   10489 {
   10490 
   10491   ;
   10492   return 0;
   10493 }
   10494 _ACEOF
   10495 if ac_fn_c_try_link "$LINENO"; then :
   10496   eval $cacheid=yes
   10497 else
   10498   eval $cacheid=no
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext \
   10501     conftest$ac_exeext conftest.$ac_ext
   10502 fi
   10503 
   10504 
   10505 		CFLAGS="$xorg_testset_save_CFLAGS"
   10506 
   10507 		eval supported=\$$cacheid
   10508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10509 $as_echo "$supported" >&6; }
   10510 		if test "$supported" = "yes" ; then
   10511 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10512 			found="yes"
   10513 		fi
   10514 	fi
   10515 
   10516 	if test $found = "no" ; then
   10517 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10519 		fi
   10520 
   10521 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10523 		fi
   10524 
   10525 		CFLAGS="$CFLAGS -errwarn"
   10526 
   10527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10528 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10529 		cacheid=xorg_cv_cc_flag__errwarn
   10530 		if eval \${$cacheid+:} false; then :
   10531   $as_echo_n "(cached) " >&6
   10532 else
   10533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 int i;
   10536 int
   10537 main ()
   10538 {
   10539 
   10540   ;
   10541   return 0;
   10542 }
   10543 _ACEOF
   10544 if ac_fn_c_try_link "$LINENO"; then :
   10545   eval $cacheid=yes
   10546 else
   10547   eval $cacheid=no
   10548 fi
   10549 rm -f core conftest.err conftest.$ac_objext \
   10550     conftest$ac_exeext conftest.$ac_ext
   10551 fi
   10552 
   10553 
   10554 		CFLAGS="$xorg_testset_save_CFLAGS"
   10555 
   10556 		eval supported=\$$cacheid
   10557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10558 $as_echo "$supported" >&6; }
   10559 		if test "$supported" = "yes" ; then
   10560 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10561 			found="yes"
   10562 		fi
   10563 	fi
   10564 
   10565 
   10566 
   10567 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10568 # activate it with -Werror, so we add it here explicitly.
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 xorg_testset_save_CFLAGS="$CFLAGS"
   10583 
   10584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10587 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10588 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10589   $as_echo_n "(cached) " >&6
   10590 else
   10591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10592 /* end confdefs.h.  */
   10593 int i;
   10594 _ACEOF
   10595 if ac_fn_c_try_compile "$LINENO"; then :
   10596   xorg_cv_cc_flag_unknown_warning_option=yes
   10597 else
   10598   xorg_cv_cc_flag_unknown_warning_option=no
   10599 fi
   10600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10601 fi
   10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10603 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10604 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10605 	CFLAGS="$xorg_testset_save_CFLAGS"
   10606 fi
   10607 
   10608 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10609 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10610 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10611 	fi
   10612 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10614 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10615 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10616   $as_echo_n "(cached) " >&6
   10617 else
   10618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 int i;
   10621 _ACEOF
   10622 if ac_fn_c_try_compile "$LINENO"; then :
   10623   xorg_cv_cc_flag_unused_command_line_argument=yes
   10624 else
   10625   xorg_cv_cc_flag_unused_command_line_argument=no
   10626 fi
   10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10628 fi
   10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10630 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10632 	CFLAGS="$xorg_testset_save_CFLAGS"
   10633 fi
   10634 
   10635 found="no"
   10636 
   10637 	if test $found = "no" ; then
   10638 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10640 		fi
   10641 
   10642 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10644 		fi
   10645 
   10646 		CFLAGS="$CFLAGS -Werror=attributes"
   10647 
   10648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10649 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10650 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10651 		if eval \${$cacheid+:} false; then :
   10652   $as_echo_n "(cached) " >&6
   10653 else
   10654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10655 /* end confdefs.h.  */
   10656 int i;
   10657 int
   10658 main ()
   10659 {
   10660 
   10661   ;
   10662   return 0;
   10663 }
   10664 _ACEOF
   10665 if ac_fn_c_try_link "$LINENO"; then :
   10666   eval $cacheid=yes
   10667 else
   10668   eval $cacheid=no
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext \
   10671     conftest$ac_exeext conftest.$ac_ext
   10672 fi
   10673 
   10674 
   10675 		CFLAGS="$xorg_testset_save_CFLAGS"
   10676 
   10677 		eval supported=\$$cacheid
   10678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10679 $as_echo "$supported" >&6; }
   10680 		if test "$supported" = "yes" ; then
   10681 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10682 			found="yes"
   10683 		fi
   10684 	fi
   10685 
   10686 
   10687 
   10688 if test "x$STRICT_COMPILE" = "xyes"; then
   10689     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10690     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10691 fi
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 cat >>confdefs.h <<_ACEOF
   10699 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10700 _ACEOF
   10701 
   10702 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10703 	if test "x$PVM" = "x"; then
   10704 		PVM="0"
   10705 	fi
   10706 
   10707 cat >>confdefs.h <<_ACEOF
   10708 #define PACKAGE_VERSION_MINOR $PVM
   10709 _ACEOF
   10710 
   10711 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10712 	if test "x$PVP" = "x"; then
   10713 		PVP="0"
   10714 	fi
   10715 
   10716 cat >>confdefs.h <<_ACEOF
   10717 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10718 _ACEOF
   10719 
   10720 
   10721 
   10722 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10723 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10724 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10725 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10726 
   10727 
   10728 
   10729 
   10730 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10731 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10732 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10733 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10734 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 if test x$APP_MAN_SUFFIX = x    ; then
   10742     APP_MAN_SUFFIX=1
   10743 fi
   10744 if test x$APP_MAN_DIR = x    ; then
   10745     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10746 fi
   10747 
   10748 if test x$LIB_MAN_SUFFIX = x    ; then
   10749     LIB_MAN_SUFFIX=3
   10750 fi
   10751 if test x$LIB_MAN_DIR = x    ; then
   10752     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10753 fi
   10754 
   10755 if test x$FILE_MAN_SUFFIX = x    ; then
   10756     case $host_os in
   10757 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10758 	*)		FILE_MAN_SUFFIX=5  ;;
   10759     esac
   10760 fi
   10761 if test x$FILE_MAN_DIR = x    ; then
   10762     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10763 fi
   10764 
   10765 if test x$MISC_MAN_SUFFIX = x    ; then
   10766     case $host_os in
   10767 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10768 	*)		MISC_MAN_SUFFIX=7  ;;
   10769     esac
   10770 fi
   10771 if test x$MISC_MAN_DIR = x    ; then
   10772     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10773 fi
   10774 
   10775 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10776     case $host_os in
   10777 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10778 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10779     esac
   10780 fi
   10781 if test x$DRIVER_MAN_DIR = x    ; then
   10782     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10783 fi
   10784 
   10785 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10786     case $host_os in
   10787 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10788 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10789     esac
   10790 fi
   10791 if test x$ADMIN_MAN_DIR = x    ; then
   10792     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10793 fi
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 XORG_MAN_PAGE="X Version 11"
   10810 
   10811 MAN_SUBSTS="\
   10812 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10813 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10814 	-e 's|__xservername__|Xorg|g' \
   10815 	-e 's|__xconfigfile__|xorg.conf|g' \
   10816 	-e 's|__projectroot__|\$(prefix)|g' \
   10817 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10818 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10819 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10820 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10821 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10822 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10823 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10824 
   10825 
   10826 
   10827 # Check whether --enable-silent-rules was given.
   10828 if test "${enable_silent_rules+set}" = set; then :
   10829   enableval=$enable_silent_rules;
   10830 fi
   10831 
   10832 case $enable_silent_rules in
   10833 yes) AM_DEFAULT_VERBOSITY=0;;
   10834 no)  AM_DEFAULT_VERBOSITY=1;;
   10835 *)   AM_DEFAULT_VERBOSITY=0;;
   10836 esac
   10837 AM_BACKSLASH='\'
   10838 
   10839 
   10840 
   10841 
   10842 # Check whether --enable-devel-docs was given.
   10843 if test "${enable_devel_docs+set}" = set; then :
   10844   enableval=$enable_devel_docs; build_devel_docs=$enableval
   10845 else
   10846   build_devel_docs=yes
   10847 fi
   10848 
   10849 
   10850  if test x$build_devel_docs = xyes; then
   10851   ENABLE_DEVEL_DOCS_TRUE=
   10852   ENABLE_DEVEL_DOCS_FALSE='#'
   10853 else
   10854   ENABLE_DEVEL_DOCS_TRUE='#'
   10855   ENABLE_DEVEL_DOCS_FALSE=
   10856 fi
   10857 
   10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   10859 $as_echo_n "checking whether to build developer documentation... " >&6; }
   10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   10861 $as_echo "$build_devel_docs" >&6; }
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 # Check whether --with-xmlto was given.
   10868 if test "${with_xmlto+set}" = set; then :
   10869   withval=$with_xmlto; use_xmlto=$withval
   10870 else
   10871   use_xmlto=auto
   10872 fi
   10873 
   10874 
   10875 
   10876 if test "x$use_xmlto" = x"auto"; then
   10877    # Extract the first word of "xmlto", so it can be a program name with args.
   10878 set dummy xmlto; ac_word=$2
   10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10880 $as_echo_n "checking for $ac_word... " >&6; }
   10881 if ${ac_cv_path_XMLTO+:} false; then :
   10882   $as_echo_n "(cached) " >&6
   10883 else
   10884   case $XMLTO in
   10885   [\\/]* | ?:[\\/]*)
   10886   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   10887   ;;
   10888   *)
   10889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10890 for as_dir in $PATH
   10891 do
   10892   IFS=$as_save_IFS
   10893   test -z "$as_dir" && as_dir=.
   10894     for ac_exec_ext in '' $ac_executable_extensions; do
   10895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10896     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   10897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10898     break 2
   10899   fi
   10900 done
   10901   done
   10902 IFS=$as_save_IFS
   10903 
   10904   ;;
   10905 esac
   10906 fi
   10907 XMLTO=$ac_cv_path_XMLTO
   10908 if test -n "$XMLTO"; then
   10909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   10910 $as_echo "$XMLTO" >&6; }
   10911 else
   10912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10913 $as_echo "no" >&6; }
   10914 fi
   10915 
   10916 
   10917    if test "x$XMLTO" = "x"; then
   10918         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   10919 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   10920 	have_xmlto=no
   10921    else
   10922         have_xmlto=yes
   10923    fi
   10924 elif test "x$use_xmlto" = x"yes" ; then
   10925    # Extract the first word of "xmlto", so it can be a program name with args.
   10926 set dummy xmlto; ac_word=$2
   10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10928 $as_echo_n "checking for $ac_word... " >&6; }
   10929 if ${ac_cv_path_XMLTO+:} false; then :
   10930   $as_echo_n "(cached) " >&6
   10931 else
   10932   case $XMLTO in
   10933   [\\/]* | ?:[\\/]*)
   10934   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   10935   ;;
   10936   *)
   10937   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10938 for as_dir in $PATH
   10939 do
   10940   IFS=$as_save_IFS
   10941   test -z "$as_dir" && as_dir=.
   10942     for ac_exec_ext in '' $ac_executable_extensions; do
   10943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10944     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   10945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10946     break 2
   10947   fi
   10948 done
   10949   done
   10950 IFS=$as_save_IFS
   10951 
   10952   ;;
   10953 esac
   10954 fi
   10955 XMLTO=$ac_cv_path_XMLTO
   10956 if test -n "$XMLTO"; then
   10957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   10958 $as_echo "$XMLTO" >&6; }
   10959 else
   10960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10961 $as_echo "no" >&6; }
   10962 fi
   10963 
   10964 
   10965    if test "x$XMLTO" = "x"; then
   10966         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   10967    fi
   10968    have_xmlto=yes
   10969 elif test "x$use_xmlto" = x"no" ; then
   10970    if test "x$XMLTO" != "x"; then
   10971       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   10972 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   10973    fi
   10974    have_xmlto=no
   10975 else
   10976    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   10977 fi
   10978 
   10979 # Test for a minimum version of xmlto, if provided.
   10980 if test "$have_xmlto" = yes; then
   10981     # scrape the xmlto version
   10982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   10983 $as_echo_n "checking the xmlto version... " >&6; }
   10984     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   10985     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   10986 $as_echo "$xmlto_version" >&6; }
   10987     as_arg_v1=$xmlto_version
   10988 as_arg_v2=0.0.20
   10989 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   10990 case $? in #(
   10991   1) :
   10992     if test "x$use_xmlto" = xauto; then
   10993             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   10994 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   10995             have_xmlto=no
   10996         else
   10997             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   10998         fi ;; #(
   10999   0) :
   11000      ;; #(
   11001   2) :
   11002      ;; #(
   11003   *) :
   11004      ;;
   11005 esac
   11006 fi
   11007 
   11008 # Test for the ability of xmlto to generate a text target
   11009 have_xmlto_text=no
   11010 cat > conftest.xml << "EOF"
   11011 EOF
   11012 if test "$have_xmlto" = yes; then :
   11013   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   11014   have_xmlto_text=yes
   11015 else
   11016   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   11017 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   11018 fi
   11019 fi
   11020 rm -f conftest.xml
   11021  if test $have_xmlto_text = yes; then
   11022   HAVE_XMLTO_TEXT_TRUE=
   11023   HAVE_XMLTO_TEXT_FALSE='#'
   11024 else
   11025   HAVE_XMLTO_TEXT_TRUE='#'
   11026   HAVE_XMLTO_TEXT_FALSE=
   11027 fi
   11028 
   11029  if test "$have_xmlto" = yes; then
   11030   HAVE_XMLTO_TRUE=
   11031   HAVE_XMLTO_FALSE='#'
   11032 else
   11033   HAVE_XMLTO_TRUE='#'
   11034   HAVE_XMLTO_FALSE=
   11035 fi
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 # Check whether --with-fop was given.
   11043 if test "${with_fop+set}" = set; then :
   11044   withval=$with_fop; use_fop=$withval
   11045 else
   11046   use_fop=auto
   11047 fi
   11048 
   11049 
   11050 
   11051 if test "x$use_fop" = x"auto"; then
   11052    # Extract the first word of "fop", so it can be a program name with args.
   11053 set dummy fop; ac_word=$2
   11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11055 $as_echo_n "checking for $ac_word... " >&6; }
   11056 if ${ac_cv_path_FOP+:} false; then :
   11057   $as_echo_n "(cached) " >&6
   11058 else
   11059   case $FOP in
   11060   [\\/]* | ?:[\\/]*)
   11061   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11062   ;;
   11063   *)
   11064   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11065 for as_dir in $PATH
   11066 do
   11067   IFS=$as_save_IFS
   11068   test -z "$as_dir" && as_dir=.
   11069     for ac_exec_ext in '' $ac_executable_extensions; do
   11070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11071     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   11072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11073     break 2
   11074   fi
   11075 done
   11076   done
   11077 IFS=$as_save_IFS
   11078 
   11079   ;;
   11080 esac
   11081 fi
   11082 FOP=$ac_cv_path_FOP
   11083 if test -n "$FOP"; then
   11084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11085 $as_echo "$FOP" >&6; }
   11086 else
   11087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11088 $as_echo "no" >&6; }
   11089 fi
   11090 
   11091 
   11092    if test "x$FOP" = "x"; then
   11093         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   11094 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   11095 	have_fop=no
   11096    else
   11097         have_fop=yes
   11098    fi
   11099 elif test "x$use_fop" = x"yes" ; then
   11100    # Extract the first word of "fop", so it can be a program name with args.
   11101 set dummy fop; ac_word=$2
   11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11103 $as_echo_n "checking for $ac_word... " >&6; }
   11104 if ${ac_cv_path_FOP+:} false; then :
   11105   $as_echo_n "(cached) " >&6
   11106 else
   11107   case $FOP in
   11108   [\\/]* | ?:[\\/]*)
   11109   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11110   ;;
   11111   *)
   11112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11113 for as_dir in $PATH
   11114 do
   11115   IFS=$as_save_IFS
   11116   test -z "$as_dir" && as_dir=.
   11117     for ac_exec_ext in '' $ac_executable_extensions; do
   11118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11119     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   11120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11121     break 2
   11122   fi
   11123 done
   11124   done
   11125 IFS=$as_save_IFS
   11126 
   11127   ;;
   11128 esac
   11129 fi
   11130 FOP=$ac_cv_path_FOP
   11131 if test -n "$FOP"; then
   11132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11133 $as_echo "$FOP" >&6; }
   11134 else
   11135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11136 $as_echo "no" >&6; }
   11137 fi
   11138 
   11139 
   11140    if test "x$FOP" = "x"; then
   11141         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   11142    fi
   11143    have_fop=yes
   11144 elif test "x$use_fop" = x"no" ; then
   11145    if test "x$FOP" != "x"; then
   11146       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   11147 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   11148    fi
   11149    have_fop=no
   11150 else
   11151    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   11152 fi
   11153 
   11154 # Test for a minimum version of fop, if provided.
   11155 
   11156  if test "$have_fop" = yes; then
   11157   HAVE_FOP_TRUE=
   11158   HAVE_FOP_FALSE='#'
   11159 else
   11160   HAVE_FOP_TRUE='#'
   11161   HAVE_FOP_FALSE=
   11162 fi
   11163 
   11164 
   11165 
   11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
   11167 $as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
   11168 XORG_SGML_PATH=
   11169 if test -n "$PKG_CONFIG" && \
   11170     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
   11171   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
   11172   ac_status=$?
   11173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11174   test $ac_status = 0; }; then
   11175   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   11176 else
   11177   :
   11178 
   11179 fi
   11180 
   11181 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   11182 # the path and the name of the doc stylesheet
   11183 if test "x$XORG_SGML_PATH" != "x" ; then
   11184    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   11185 $as_echo "$XORG_SGML_PATH" >&6; }
   11186    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   11187    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   11188 else
   11189    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11190 $as_echo "no" >&6; }
   11191 fi
   11192 
   11193 
   11194 
   11195 
   11196  if test "x$XSL_STYLESHEET" != "x"; then
   11197   HAVE_STYLESHEETS_TRUE=
   11198   HAVE_STYLESHEETS_FALSE='#'
   11199 else
   11200   HAVE_STYLESHEETS_TRUE='#'
   11201   HAVE_STYLESHEETS_FALSE=
   11202 fi
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 # Check whether --with-lint was given.
   11211 if test "${with_lint+set}" = set; then :
   11212   withval=$with_lint; use_lint=$withval
   11213 else
   11214   use_lint=no
   11215 fi
   11216 
   11217 
   11218 # Obtain platform specific info like program name and options
   11219 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11220 case $host_os in
   11221   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11222 	lint_name=splint
   11223 	lint_options="-badflag"
   11224 	;;
   11225   *freebsd* | *netbsd*)
   11226 	lint_name=lint
   11227 	lint_options="-u -b"
   11228 	;;
   11229   *solaris*)
   11230 	lint_name=lint
   11231 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11232 	;;
   11233 esac
   11234 
   11235 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11236 if test "x$use_lint" = x"yes" ; then
   11237    # Extract the first word of "$lint_name", so it can be a program name with args.
   11238 set dummy $lint_name; ac_word=$2
   11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11240 $as_echo_n "checking for $ac_word... " >&6; }
   11241 if ${ac_cv_path_LINT+:} false; then :
   11242   $as_echo_n "(cached) " >&6
   11243 else
   11244   case $LINT in
   11245   [\\/]* | ?:[\\/]*)
   11246   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11247   ;;
   11248   *)
   11249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11250 for as_dir in $PATH
   11251 do
   11252   IFS=$as_save_IFS
   11253   test -z "$as_dir" && as_dir=.
   11254     for ac_exec_ext in '' $ac_executable_extensions; do
   11255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11256     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11258     break 2
   11259   fi
   11260 done
   11261   done
   11262 IFS=$as_save_IFS
   11263 
   11264   ;;
   11265 esac
   11266 fi
   11267 LINT=$ac_cv_path_LINT
   11268 if test -n "$LINT"; then
   11269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11270 $as_echo "$LINT" >&6; }
   11271 else
   11272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11273 $as_echo "no" >&6; }
   11274 fi
   11275 
   11276 
   11277    if test "x$LINT" = "x"; then
   11278         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11279    fi
   11280 elif test "x$use_lint" = x"no" ; then
   11281    if test "x$LINT" != "x"; then
   11282       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11283 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11284    fi
   11285 else
   11286    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11287 fi
   11288 
   11289 # User supplied flags override default flags
   11290 if test "x$LINT_FLAGS" != "x"; then
   11291    lint_options=$LINT_FLAGS
   11292 fi
   11293 
   11294 LINT_FLAGS=$lint_options
   11295 
   11296  if test "x$LINT" != x; then
   11297   LINT_TRUE=
   11298   LINT_FALSE='#'
   11299 else
   11300   LINT_TRUE='#'
   11301   LINT_FALSE=
   11302 fi
   11303 
   11304 
   11305 
   11306 
   11307 for ac_header in stdint.h
   11308 do :
   11309   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   11310 if test "x$ac_cv_header_stdint_h" = xyes; then :
   11311   cat >>confdefs.h <<_ACEOF
   11312 #define HAVE_STDINT_H 1
   11313 _ACEOF
   11314 
   11315 fi
   11316 
   11317 done
   11318 
   11319 
   11320 
   11321 # Check whether --with-default-config-file was given.
   11322 if test "${with_default_config_file+set}" = set; then :
   11323   withval=$with_default_config_file; CONFIG_FILE="$withval"
   11324 else
   11325   CONFIG_FILE="${sysconfdir}/X11/fs/config"
   11326 fi
   11327 
   11328 
   11329 DEFAULT_CONFIG_FILE=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\\\\",\\\\\\\\\\\"/'g`
   11330 
   11331   prefix_NONE=
   11332   exec_prefix_NONE=
   11333   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   11334   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   11335   eval ax_define_dir="\"$DEFAULT_CONFIG_FILE\""
   11336   eval ax_define_dir="\"$ax_define_dir\""
   11337   DEFAULT_CONFIG_FILE="$ax_define_dir"
   11338 
   11339 
   11340 cat >>confdefs.h <<_ACEOF
   11341 #define DEFAULT_CONFIG_FILE "$ax_define_dir"
   11342 _ACEOF
   11343 
   11344   test "$prefix_NONE" && prefix=NONE
   11345   test "$exec_prefix_NONE" && exec_prefix=NONE
   11346 
   11347 
   11348 # generate text for the man page
   11349 case $CONFIG_FILE in
   11350     *,*)
   11351 	CONFIG_FILE_DESC="the first file found from the list:"
   11352 	CONFIG_FILE_PATH=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\fR, \\\\\\\\fI/g'`
   11353 	;;
   11354     *)
   11355 	CONFIG_FILE_DESC="the default file,"
   11356 	CONFIG_FILE_PATH="${CONFIG_FILE}"
   11357 	;;
   11358 esac
   11359 
   11360 
   11361 
   11362 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   11379 $as_echo_n "checking for root directory for font files... " >&6; }
   11380 
   11381 # Check whether --with-fontrootdir was given.
   11382 if test "${with_fontrootdir+set}" = set; then :
   11383   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   11384 fi
   11385 
   11386 	# if --with-fontrootdir not specified...
   11387 	if test "x${FONTROOTDIR}" = "x"; then
   11388 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   11389 	fi
   11390 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   11391 	if test "x${FONTROOTDIR}" = "x"; then
   11392 		FONTROOTDIR="${datadir}/fonts/X11"
   11393 	fi
   11394 
   11395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   11396 $as_echo "${FONTROOTDIR}" >&6; }
   11397 
   11398 
   11399 
   11400 
   11401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
   11402 $as_echo_n "checking for directory for misc files... " >&6; }
   11403 
   11404 # Check whether --with-fontmiscdir was given.
   11405 if test "${with_fontmiscdir+set}" = set; then :
   11406   withval=$with_fontmiscdir; FONTMISCDIR="${withval}"
   11407 else
   11408   FONTMISCDIR='${FONTROOTDIR}/misc'
   11409 fi
   11410 
   11411 
   11412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTMISCDIR}" >&5
   11413 $as_echo "${FONTMISCDIR}" >&6; }
   11414 
   11415 
   11416 
   11417 
   11418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for OTF files" >&5
   11419 $as_echo_n "checking for directory for OTF files... " >&6; }
   11420 
   11421 # Check whether --with-fontotfdir was given.
   11422 if test "${with_fontotfdir+set}" = set; then :
   11423   withval=$with_fontotfdir; FONTOTFDIR="${withval}"
   11424 else
   11425   FONTOTFDIR='${FONTROOTDIR}/OTF'
   11426 fi
   11427 
   11428 
   11429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTOTFDIR}" >&5
   11430 $as_echo "${FONTOTFDIR}" >&6; }
   11431 
   11432 
   11433 
   11434 
   11435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5
   11436 $as_echo_n "checking for directory for TTF files... " >&6; }
   11437 
   11438 # Check whether --with-fontttfdir was given.
   11439 if test "${with_fontttfdir+set}" = set; then :
   11440   withval=$with_fontttfdir; FONTTTFDIR="${withval}"
   11441 else
   11442   FONTTTFDIR='${FONTROOTDIR}/TTF'
   11443 fi
   11444 
   11445 
   11446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTTFDIR}" >&5
   11447 $as_echo "${FONTTTFDIR}" >&6; }
   11448 
   11449 
   11450 
   11451 
   11452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for Type1 files" >&5
   11453 $as_echo_n "checking for directory for Type1 files... " >&6; }
   11454 
   11455 # Check whether --with-fonttype1dir was given.
   11456 if test "${with_fonttype1dir+set}" = set; then :
   11457   withval=$with_fonttype1dir; FONTTYPE1DIR="${withval}"
   11458 else
   11459   FONTTYPE1DIR='${FONTROOTDIR}/Type1'
   11460 fi
   11461 
   11462 
   11463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTYPE1DIR}" >&5
   11464 $as_echo "${FONTTYPE1DIR}" >&6; }
   11465 
   11466 
   11467 
   11468 
   11469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5
   11470 $as_echo_n "checking for directory for 75dpi files... " >&6; }
   11471 
   11472 # Check whether --with-font75dpidir was given.
   11473 if test "${with_font75dpidir+set}" = set; then :
   11474   withval=$with_font75dpidir; FONT75DPIDIR="${withval}"
   11475 else
   11476   FONT75DPIDIR='${FONTROOTDIR}/75dpi'
   11477 fi
   11478 
   11479 
   11480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT75DPIDIR}" >&5
   11481 $as_echo "${FONT75DPIDIR}" >&6; }
   11482 
   11483 
   11484 
   11485 
   11486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
   11487 $as_echo_n "checking for directory for 100dpi files... " >&6; }
   11488 
   11489 # Check whether --with-font100dpidir was given.
   11490 if test "${with_font100dpidir+set}" = set; then :
   11491   withval=$with_font100dpidir; FONT100DPIDIR="${withval}"
   11492 else
   11493   FONT100DPIDIR='${FONTROOTDIR}/100dpi'
   11494 fi
   11495 
   11496 
   11497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT100DPIDIR}" >&5
   11498 $as_echo "${FONT100DPIDIR}" >&6; }
   11499 
   11500 
   11501 # Determine font path to put in config file
   11502 # Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d,
   11503 # otherwise uses standard subdirectories of FONTROOTDIR. When cross
   11504 # compiling, assume default font path uses standard FONTROOTDIR directories.
   11505 DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
   11506 if test "$cross_compiling" != yes; then
   11507 	as_ac_File=`$as_echo "ac_cv_file_${sysconfdir}/X11/fontpath.d" | $as_tr_sh`
   11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sysconfdir}/X11/fontpath.d" >&5
   11509 $as_echo_n "checking for ${sysconfdir}/X11/fontpath.d... " >&6; }
   11510 if eval \${$as_ac_File+:} false; then :
   11511   $as_echo_n "(cached) " >&6
   11512 else
   11513   test "$cross_compiling" = yes &&
   11514   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11515 if test -r "${sysconfdir}/X11/fontpath.d"; then
   11516   eval "$as_ac_File=yes"
   11517 else
   11518   eval "$as_ac_File=no"
   11519 fi
   11520 fi
   11521 eval ac_res=\$$as_ac_File
   11522 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11523 $as_echo "$ac_res" >&6; }
   11524 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   11525   DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'
   11526 else
   11527   case $host_os in
   11528 			darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
   11529 		esac
   11530 fi
   11531 
   11532 fi
   11533 
   11534 # Check whether --with-default-font-path was given.
   11535 if test "${with_default_font_path+set}" = set; then :
   11536   withval=$with_default_font_path;  FONTPATH="$withval"
   11537 else
   11538    FONTPATH="${DEFAULT_FONT_PATH}"
   11539 fi
   11540 
   11541 
   11542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default font path" >&5
   11543 $as_echo_n "checking for default font path... " >&6; }
   11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTPATH" >&5
   11545 $as_echo "$FONTPATH" >&6; }
   11546 
   11547 
   11548 
   11549 # Option to enable support for starting from inetd
   11550 # Check whether --enable-inetd was given.
   11551 if test "${enable_inetd+set}" = set; then :
   11552   enableval=$enable_inetd; INETD=$enableval
   11553 else
   11554   INETD=yes
   11555 fi
   11556 
   11557 if test "x$INETD" = xyes; then
   11558 
   11559 $as_echo "#define XFS_INETD 1" >>confdefs.h
   11560 
   11561 fi
   11562 
   11563 # Option to enable support for logging to syslog
   11564 # Check whether --enable-syslog was given.
   11565 if test "${enable_syslog+set}" = set; then :
   11566   enableval=$enable_syslog; SYSLOG=$enableval
   11567 else
   11568   SYSLOG=yes
   11569 fi
   11570 
   11571 if test "x$SYSLOG" = xyes; then
   11572 
   11573 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
   11574 
   11575 fi
   11576 
   11577 
   11578 # Checks for system functions / libraries
   11579 for ac_func in daemon
   11580 do :
   11581   ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
   11582 if test "x$ac_cv_func_daemon" = xyes; then :
   11583   cat >>confdefs.h <<_ACEOF
   11584 #define HAVE_DAEMON 1
   11585 _ACEOF
   11586 
   11587 fi
   11588 done
   11589 
   11590 
   11591 # Checks for pkg-config packages
   11592 #  - xproto >= 7.0.17 required for _X_NORETURN in <X11/Xfuncproto.h>
   11593 #  - xfont >= 1.4.5 required for matching MakeAtom prototypes in fontmisc.h
   11594 
   11595 pkg_failed=no
   11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFS" >&5
   11597 $as_echo_n "checking for XFS... " >&6; }
   11598 
   11599 if test -n "$XFS_CFLAGS"; then
   11600     pkg_cv_XFS_CFLAGS="$XFS_CFLAGS"
   11601  elif test -n "$PKG_CONFIG"; then
   11602     if test -n "$PKG_CONFIG" && \
   11603     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xfont >= 1.4.5 xtrans\""; } >&5
   11604   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xfont >= 1.4.5 xtrans") 2>&5
   11605   ac_status=$?
   11606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11607   test $ac_status = 0; }; then
   11608   pkg_cv_XFS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 xfont >= 1.4.5 xtrans" 2>/dev/null`
   11609 else
   11610   pkg_failed=yes
   11611 fi
   11612  else
   11613     pkg_failed=untried
   11614 fi
   11615 if test -n "$XFS_LIBS"; then
   11616     pkg_cv_XFS_LIBS="$XFS_LIBS"
   11617  elif test -n "$PKG_CONFIG"; then
   11618     if test -n "$PKG_CONFIG" && \
   11619     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xfont >= 1.4.5 xtrans\""; } >&5
   11620   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xfont >= 1.4.5 xtrans") 2>&5
   11621   ac_status=$?
   11622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11623   test $ac_status = 0; }; then
   11624   pkg_cv_XFS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 xfont >= 1.4.5 xtrans" 2>/dev/null`
   11625 else
   11626   pkg_failed=yes
   11627 fi
   11628  else
   11629     pkg_failed=untried
   11630 fi
   11631 
   11632 
   11633 
   11634 if test $pkg_failed = yes; then
   11635 
   11636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11637         _pkg_short_errors_supported=yes
   11638 else
   11639         _pkg_short_errors_supported=no
   11640 fi
   11641         if test $_pkg_short_errors_supported = yes; then
   11642 	        XFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17 xfont >= 1.4.5 xtrans" 2>&1`
   11643         else
   11644 	        XFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17 xfont >= 1.4.5 xtrans" 2>&1`
   11645         fi
   11646 	# Put the nasty error message in config.log where it belongs
   11647 	echo "$XFS_PKG_ERRORS" >&5
   11648 
   11649 	as_fn_error $? "Package requirements (xproto >= 7.0.17 xfont >= 1.4.5 xtrans) were not met:
   11650 
   11651 $XFS_PKG_ERRORS
   11652 
   11653 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11654 installed software in a non-standard prefix.
   11655 
   11656 Alternatively, you may set the environment variables XFS_CFLAGS
   11657 and XFS_LIBS to avoid the need to call pkg-config.
   11658 See the pkg-config man page for more details.
   11659 " "$LINENO" 5
   11660 elif test $pkg_failed = untried; then
   11661 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11663 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11664 is in your PATH or set the PKG_CONFIG environment variable to the full
   11665 path to pkg-config.
   11666 
   11667 Alternatively, you may set the environment variables XFS_CFLAGS
   11668 and XFS_LIBS to avoid the need to call pkg-config.
   11669 See the pkg-config man page for more details.
   11670 
   11671 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11672 See \`config.log' for more details" "$LINENO" 5; }
   11673 else
   11674 	XFS_CFLAGS=$pkg_cv_XFS_CFLAGS
   11675 	XFS_LIBS=$pkg_cv_XFS_LIBS
   11676         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11677 $as_echo "yes" >&6; }
   11678 	:
   11679 fi
   11680 
   11681 # Transport selection macro from xtrans.m4
   11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   11683 $as_echo_n "checking return type of signal handlers... " >&6; }
   11684 if ${ac_cv_type_signal+:} false; then :
   11685   $as_echo_n "(cached) " >&6
   11686 else
   11687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11688 /* end confdefs.h.  */
   11689 #include <sys/types.h>
   11690 #include <signal.h>
   11691 
   11692 int
   11693 main ()
   11694 {
   11695 return *(signal (0, 0)) (0) == 1;
   11696   ;
   11697   return 0;
   11698 }
   11699 _ACEOF
   11700 if ac_fn_c_try_compile "$LINENO"; then :
   11701   ac_cv_type_signal=int
   11702 else
   11703   ac_cv_type_signal=void
   11704 fi
   11705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11706 fi
   11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   11708 $as_echo "$ac_cv_type_signal" >&6; }
   11709 
   11710 cat >>confdefs.h <<_ACEOF
   11711 #define RETSIGTYPE $ac_cv_type_signal
   11712 _ACEOF
   11713 
   11714 
   11715 
   11716 
   11717 
   11718  case $host_os in
   11719 	mingw*)	unixdef="no"   ;;
   11720 	*)	unixdef="yes"  ;;
   11721  esac
   11722  # Check whether --enable-unix-transport was given.
   11723 if test "${enable_unix_transport+set}" = set; then :
   11724   enableval=$enable_unix_transport; UNIXCONN=$enableval
   11725 else
   11726   UNIXCONN=$unixdef
   11727 fi
   11728 
   11729  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   11730 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   11731  if test "$UNIXCONN" = "yes"; then
   11732 
   11733 $as_echo "#define UNIXCONN 1" >>confdefs.h
   11734 
   11735  fi
   11736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   11737 $as_echo "$UNIXCONN" >&6; }
   11738  # Check whether --enable-tcp-transport was given.
   11739 if test "${enable_tcp_transport+set}" = set; then :
   11740   enableval=$enable_tcp_transport; TCPCONN=$enableval
   11741 else
   11742   TCPCONN=yes
   11743 fi
   11744 
   11745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   11746 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   11747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   11748 $as_echo "$TCPCONN" >&6; }
   11749  if test "$TCPCONN" = "yes"; then
   11750 
   11751 $as_echo "#define TCPCONN 1" >>confdefs.h
   11752 
   11753 
   11754  # SVR4 hides these in libraries other than libc
   11755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   11756 $as_echo_n "checking for library containing socket... " >&6; }
   11757 if ${ac_cv_search_socket+:} false; then :
   11758   $as_echo_n "(cached) " >&6
   11759 else
   11760   ac_func_search_save_LIBS=$LIBS
   11761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11762 /* end confdefs.h.  */
   11763 
   11764 /* Override any GCC internal prototype to avoid an error.
   11765    Use char because int might match the return type of a GCC
   11766    builtin and then its argument prototype would still apply.  */
   11767 #ifdef __cplusplus
   11768 extern "C"
   11769 #endif
   11770 char socket ();
   11771 int
   11772 main ()
   11773 {
   11774 return socket ();
   11775   ;
   11776   return 0;
   11777 }
   11778 _ACEOF
   11779 for ac_lib in '' socket; do
   11780   if test -z "$ac_lib"; then
   11781     ac_res="none required"
   11782   else
   11783     ac_res=-l$ac_lib
   11784     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11785   fi
   11786   if ac_fn_c_try_link "$LINENO"; then :
   11787   ac_cv_search_socket=$ac_res
   11788 fi
   11789 rm -f core conftest.err conftest.$ac_objext \
   11790     conftest$ac_exeext
   11791   if ${ac_cv_search_socket+:} false; then :
   11792   break
   11793 fi
   11794 done
   11795 if ${ac_cv_search_socket+:} false; then :
   11796 
   11797 else
   11798   ac_cv_search_socket=no
   11799 fi
   11800 rm conftest.$ac_ext
   11801 LIBS=$ac_func_search_save_LIBS
   11802 fi
   11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   11804 $as_echo "$ac_cv_search_socket" >&6; }
   11805 ac_res=$ac_cv_search_socket
   11806 if test "$ac_res" != no; then :
   11807   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11808 
   11809 fi
   11810 
   11811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   11812 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   11813 if ${ac_cv_search_gethostbyname+:} false; then :
   11814   $as_echo_n "(cached) " >&6
   11815 else
   11816   ac_func_search_save_LIBS=$LIBS
   11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11818 /* end confdefs.h.  */
   11819 
   11820 /* Override any GCC internal prototype to avoid an error.
   11821    Use char because int might match the return type of a GCC
   11822    builtin and then its argument prototype would still apply.  */
   11823 #ifdef __cplusplus
   11824 extern "C"
   11825 #endif
   11826 char gethostbyname ();
   11827 int
   11828 main ()
   11829 {
   11830 return gethostbyname ();
   11831   ;
   11832   return 0;
   11833 }
   11834 _ACEOF
   11835 for ac_lib in '' nsl; do
   11836   if test -z "$ac_lib"; then
   11837     ac_res="none required"
   11838   else
   11839     ac_res=-l$ac_lib
   11840     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11841   fi
   11842   if ac_fn_c_try_link "$LINENO"; then :
   11843   ac_cv_search_gethostbyname=$ac_res
   11844 fi
   11845 rm -f core conftest.err conftest.$ac_objext \
   11846     conftest$ac_exeext
   11847   if ${ac_cv_search_gethostbyname+:} false; then :
   11848   break
   11849 fi
   11850 done
   11851 if ${ac_cv_search_gethostbyname+:} false; then :
   11852 
   11853 else
   11854   ac_cv_search_gethostbyname=no
   11855 fi
   11856 rm conftest.$ac_ext
   11857 LIBS=$ac_func_search_save_LIBS
   11858 fi
   11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   11860 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   11861 ac_res=$ac_cv_search_gethostbyname
   11862 if test "$ac_res" != no; then :
   11863   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11864 
   11865 fi
   11866 
   11867  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   11868    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   11869 $as_echo_n "checking for main in -lws2_32... " >&6; }
   11870 if ${ac_cv_lib_ws2_32_main+:} false; then :
   11871   $as_echo_n "(cached) " >&6
   11872 else
   11873   ac_check_lib_save_LIBS=$LIBS
   11874 LIBS="-lws2_32  $LIBS"
   11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11876 /* end confdefs.h.  */
   11877 
   11878 
   11879 int
   11880 main ()
   11881 {
   11882 return main ();
   11883   ;
   11884   return 0;
   11885 }
   11886 _ACEOF
   11887 if ac_fn_c_try_link "$LINENO"; then :
   11888   ac_cv_lib_ws2_32_main=yes
   11889 else
   11890   ac_cv_lib_ws2_32_main=no
   11891 fi
   11892 rm -f core conftest.err conftest.$ac_objext \
   11893     conftest$ac_exeext conftest.$ac_ext
   11894 LIBS=$ac_check_lib_save_LIBS
   11895 fi
   11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   11897 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   11898 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   11899   cat >>confdefs.h <<_ACEOF
   11900 #define HAVE_LIBWS2_32 1
   11901 _ACEOF
   11902 
   11903   LIBS="-lws2_32 $LIBS"
   11904 
   11905 fi
   11906 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   11907 
   11908  fi
   11909 
   11910  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   11911  # Check whether --enable-ipv6 was given.
   11912 if test "${enable_ipv6+set}" = set; then :
   11913   enableval=$enable_ipv6; IPV6CONN=$enableval
   11914 else
   11915   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   11916 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   11917   IPV6CONN=yes
   11918 else
   11919   IPV6CONN=no
   11920 fi
   11921 
   11922 fi
   11923 
   11924  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   11925 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   11926  if test "$IPV6CONN" = "yes"; then
   11927 
   11928 $as_echo "#define IPv6 1" >>confdefs.h
   11929 
   11930  fi
   11931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   11932 $as_echo "$IPV6CONN" >&6; }
   11933 
   11934  # 4.3BSD-Reno added a new member to struct sockaddr_in
   11935  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   11936 #include <sys/types.h>
   11937 #include <sys/socket.h>
   11938 #include <netinet/in.h>
   11939 
   11940 "
   11941 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   11942 
   11943 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   11944 
   11945 fi
   11946 
   11947 
   11948  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   11949  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   11950 $ac_includes_default
   11951 #include <sys/socket.h>
   11952 "
   11953 if test "x$ac_cv_type_socklen_t" = xyes; then :
   11954 
   11955 cat >>confdefs.h <<_ACEOF
   11956 #define HAVE_SOCKLEN_T 1
   11957 _ACEOF
   11958 
   11959 
   11960 fi
   11961 
   11962 
   11963 
   11964  fi
   11965  case $host_os in
   11966 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   11967 	*)			localdef="no"  ;;
   11968  esac
   11969  # Check whether --enable-local-transport was given.
   11970 if test "${enable_local_transport+set}" = set; then :
   11971   enableval=$enable_local_transport; LOCALCONN=$enableval
   11972 else
   11973   LOCALCONN=$localdef
   11974 fi
   11975 
   11976  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   11977 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   11978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   11979 $as_echo "$LOCALCONN" >&6; }
   11980  if test "$LOCALCONN" = "yes"; then
   11981 
   11982 $as_echo "#define LOCALCONN 1" >>confdefs.h
   11983 
   11984  fi
   11985 
   11986 
   11987 
   11988 ac_config_files="$ac_config_files Makefile config/Makefile doc/Makefile man/Makefile"
   11989 
   11990 cat >confcache <<\_ACEOF
   11991 # This file is a shell script that caches the results of configure
   11992 # tests run on this system so they can be shared between configure
   11993 # scripts and configure runs, see configure's option --config-cache.
   11994 # It is not useful on other systems.  If it contains results you don't
   11995 # want to keep, you may remove or edit it.
   11996 #
   11997 # config.status only pays attention to the cache file if you give it
   11998 # the --recheck option to rerun configure.
   11999 #
   12000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12002 # following values.
   12003 
   12004 _ACEOF
   12005 
   12006 # The following way of writing the cache mishandles newlines in values,
   12007 # but we know of no workaround that is simple, portable, and efficient.
   12008 # So, we kill variables containing newlines.
   12009 # Ultrix sh set writes to stderr and can't be redirected directly,
   12010 # and sets the high bit in the cache file unless we assign to the vars.
   12011 (
   12012   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12013     eval ac_val=\$$ac_var
   12014     case $ac_val in #(
   12015     *${as_nl}*)
   12016       case $ac_var in #(
   12017       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12019       esac
   12020       case $ac_var in #(
   12021       _ | IFS | as_nl) ;; #(
   12022       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12023       *) { eval $ac_var=; unset $ac_var;} ;;
   12024       esac ;;
   12025     esac
   12026   done
   12027 
   12028   (set) 2>&1 |
   12029     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12030     *${as_nl}ac_space=\ *)
   12031       # `set' does not quote correctly, so add quotes: double-quote
   12032       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12033       sed -n \
   12034 	"s/'/'\\\\''/g;
   12035 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12036       ;; #(
   12037     *)
   12038       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12039       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12040       ;;
   12041     esac |
   12042     sort
   12043 ) |
   12044   sed '
   12045      /^ac_cv_env_/b end
   12046      t clear
   12047      :clear
   12048      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12049      t end
   12050      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12051      :end' >>confcache
   12052 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12053   if test -w "$cache_file"; then
   12054     if test "x$cache_file" != "x/dev/null"; then
   12055       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12056 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12057       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12058 	cat confcache >"$cache_file"
   12059       else
   12060         case $cache_file in #(
   12061         */* | ?:*)
   12062 	  mv -f confcache "$cache_file"$$ &&
   12063 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12064         *)
   12065 	  mv -f confcache "$cache_file" ;;
   12066 	esac
   12067       fi
   12068     fi
   12069   else
   12070     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12071 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12072   fi
   12073 fi
   12074 rm -f confcache
   12075 
   12076 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12077 # Let make expand exec_prefix.
   12078 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12079 
   12080 DEFS=-DHAVE_CONFIG_H
   12081 
   12082 ac_libobjs=
   12083 ac_ltlibobjs=
   12084 U=
   12085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12086   # 1. Remove the extension, and $U if already installed.
   12087   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12088   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12089   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12090   #    will be set to the directory where LIBOBJS objects are built.
   12091   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12092   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12093 done
   12094 LIBOBJS=$ac_libobjs
   12095 
   12096 LTLIBOBJS=$ac_ltlibobjs
   12097 
   12098 
   12099 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12100   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12102 fi
   12103 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12104   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12106 fi
   12107  if test -n "$EXEEXT"; then
   12108   am__EXEEXT_TRUE=
   12109   am__EXEEXT_FALSE='#'
   12110 else
   12111   am__EXEEXT_TRUE='#'
   12112   am__EXEEXT_FALSE=
   12113 fi
   12114 
   12115 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12116   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   12117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12118 fi
   12119 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   12120   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   12121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12122 fi
   12123 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12124   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12126 fi
   12127 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12128   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12130 fi
   12131 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12132   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12134 fi
   12135 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12136   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12138 fi
   12139 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12140   as_fn_error $? "conditional \"LINT\" was never defined.
   12141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12142 fi
   12143 
   12144 : "${CONFIG_STATUS=./config.status}"
   12145 ac_write_fail=0
   12146 ac_clean_files_save=$ac_clean_files
   12147 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12149 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12150 as_write_fail=0
   12151 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12152 #! $SHELL
   12153 # Generated by $as_me.
   12154 # Run this file to recreate the current configuration.
   12155 # Compiler output produced by configure, useful for debugging
   12156 # configure, is in config.log if it exists.
   12157 
   12158 debug=false
   12159 ac_cs_recheck=false
   12160 ac_cs_silent=false
   12161 
   12162 SHELL=\${CONFIG_SHELL-$SHELL}
   12163 export SHELL
   12164 _ASEOF
   12165 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12166 ## -------------------- ##
   12167 ## M4sh Initialization. ##
   12168 ## -------------------- ##
   12169 
   12170 # Be more Bourne compatible
   12171 DUALCASE=1; export DUALCASE # for MKS sh
   12172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12173   emulate sh
   12174   NULLCMD=:
   12175   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12176   # is contrary to our usage.  Disable this feature.
   12177   alias -g '${1+"$@"}'='"$@"'
   12178   setopt NO_GLOB_SUBST
   12179 else
   12180   case `(set -o) 2>/dev/null` in #(
   12181   *posix*) :
   12182     set -o posix ;; #(
   12183   *) :
   12184      ;;
   12185 esac
   12186 fi
   12187 
   12188 
   12189 as_nl='
   12190 '
   12191 export as_nl
   12192 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12196 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12197 # but without wasting forks for bash or zsh.
   12198 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12199     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12200   as_echo='print -r --'
   12201   as_echo_n='print -rn --'
   12202 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12203   as_echo='printf %s\n'
   12204   as_echo_n='printf %s'
   12205 else
   12206   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12207     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12208     as_echo_n='/usr/ucb/echo -n'
   12209   else
   12210     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12211     as_echo_n_body='eval
   12212       arg=$1;
   12213       case $arg in #(
   12214       *"$as_nl"*)
   12215 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12216 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12217       esac;
   12218       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12219     '
   12220     export as_echo_n_body
   12221     as_echo_n='sh -c $as_echo_n_body as_echo'
   12222   fi
   12223   export as_echo_body
   12224   as_echo='sh -c $as_echo_body as_echo'
   12225 fi
   12226 
   12227 # The user is always right.
   12228 if test "${PATH_SEPARATOR+set}" != set; then
   12229   PATH_SEPARATOR=:
   12230   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12231     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12232       PATH_SEPARATOR=';'
   12233   }
   12234 fi
   12235 
   12236 
   12237 # IFS
   12238 # We need space, tab and new line, in precisely that order.  Quoting is
   12239 # there to prevent editors from complaining about space-tab.
   12240 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12241 # splitting by setting IFS to empty value.)
   12242 IFS=" ""	$as_nl"
   12243 
   12244 # Find who we are.  Look in the path if we contain no directory separator.
   12245 as_myself=
   12246 case $0 in #((
   12247   *[\\/]* ) as_myself=$0 ;;
   12248   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12249 for as_dir in $PATH
   12250 do
   12251   IFS=$as_save_IFS
   12252   test -z "$as_dir" && as_dir=.
   12253     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12254   done
   12255 IFS=$as_save_IFS
   12256 
   12257      ;;
   12258 esac
   12259 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12260 # in which case we are not to be found in the path.
   12261 if test "x$as_myself" = x; then
   12262   as_myself=$0
   12263 fi
   12264 if test ! -f "$as_myself"; then
   12265   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12266   exit 1
   12267 fi
   12268 
   12269 # Unset variables that we do not need and which cause bugs (e.g. in
   12270 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12271 # suppresses any "Segmentation fault" message there.  '((' could
   12272 # trigger a bug in pdksh 5.2.14.
   12273 for as_var in BASH_ENV ENV MAIL MAILPATH
   12274 do eval test x\${$as_var+set} = xset \
   12275   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12276 done
   12277 PS1='$ '
   12278 PS2='> '
   12279 PS4='+ '
   12280 
   12281 # NLS nuisances.
   12282 LC_ALL=C
   12283 export LC_ALL
   12284 LANGUAGE=C
   12285 export LANGUAGE
   12286 
   12287 # CDPATH.
   12288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12289 
   12290 
   12291 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12292 # ----------------------------------------
   12293 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12294 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12295 # script with STATUS, using 1 if that was 0.
   12296 as_fn_error ()
   12297 {
   12298   as_status=$1; test $as_status -eq 0 && as_status=1
   12299   if test "$4"; then
   12300     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12301     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12302   fi
   12303   $as_echo "$as_me: error: $2" >&2
   12304   as_fn_exit $as_status
   12305 } # as_fn_error
   12306 
   12307 
   12308 # as_fn_set_status STATUS
   12309 # -----------------------
   12310 # Set $? to STATUS, without forking.
   12311 as_fn_set_status ()
   12312 {
   12313   return $1
   12314 } # as_fn_set_status
   12315 
   12316 # as_fn_exit STATUS
   12317 # -----------------
   12318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12319 as_fn_exit ()
   12320 {
   12321   set +e
   12322   as_fn_set_status $1
   12323   exit $1
   12324 } # as_fn_exit
   12325 
   12326 # as_fn_unset VAR
   12327 # ---------------
   12328 # Portably unset VAR.
   12329 as_fn_unset ()
   12330 {
   12331   { eval $1=; unset $1;}
   12332 }
   12333 as_unset=as_fn_unset
   12334 # as_fn_append VAR VALUE
   12335 # ----------------------
   12336 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12337 # advantage of any shell optimizations that allow amortized linear growth over
   12338 # repeated appends, instead of the typical quadratic growth present in naive
   12339 # implementations.
   12340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12341   eval 'as_fn_append ()
   12342   {
   12343     eval $1+=\$2
   12344   }'
   12345 else
   12346   as_fn_append ()
   12347   {
   12348     eval $1=\$$1\$2
   12349   }
   12350 fi # as_fn_append
   12351 
   12352 # as_fn_arith ARG...
   12353 # ------------------
   12354 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12356 # must be portable across $(()) and expr.
   12357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12358   eval 'as_fn_arith ()
   12359   {
   12360     as_val=$(( $* ))
   12361   }'
   12362 else
   12363   as_fn_arith ()
   12364   {
   12365     as_val=`expr "$@" || test $? -eq 1`
   12366   }
   12367 fi # as_fn_arith
   12368 
   12369 
   12370 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12371    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12372   as_expr=expr
   12373 else
   12374   as_expr=false
   12375 fi
   12376 
   12377 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12378   as_basename=basename
   12379 else
   12380   as_basename=false
   12381 fi
   12382 
   12383 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12384   as_dirname=dirname
   12385 else
   12386   as_dirname=false
   12387 fi
   12388 
   12389 as_me=`$as_basename -- "$0" ||
   12390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12391 	 X"$0" : 'X\(//\)$' \| \
   12392 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12393 $as_echo X/"$0" |
   12394     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12395 	    s//\1/
   12396 	    q
   12397 	  }
   12398 	  /^X\/\(\/\/\)$/{
   12399 	    s//\1/
   12400 	    q
   12401 	  }
   12402 	  /^X\/\(\/\).*/{
   12403 	    s//\1/
   12404 	    q
   12405 	  }
   12406 	  s/.*/./; q'`
   12407 
   12408 # Avoid depending upon Character Ranges.
   12409 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12410 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12411 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12412 as_cr_digits='0123456789'
   12413 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12414 
   12415 ECHO_C= ECHO_N= ECHO_T=
   12416 case `echo -n x` in #(((((
   12417 -n*)
   12418   case `echo 'xy\c'` in
   12419   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12420   xy)  ECHO_C='\c';;
   12421   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12422        ECHO_T='	';;
   12423   esac;;
   12424 *)
   12425   ECHO_N='-n';;
   12426 esac
   12427 
   12428 rm -f conf$$ conf$$.exe conf$$.file
   12429 if test -d conf$$.dir; then
   12430   rm -f conf$$.dir/conf$$.file
   12431 else
   12432   rm -f conf$$.dir
   12433   mkdir conf$$.dir 2>/dev/null
   12434 fi
   12435 if (echo >conf$$.file) 2>/dev/null; then
   12436   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12437     as_ln_s='ln -s'
   12438     # ... but there are two gotchas:
   12439     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12440     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12441     # In both cases, we have to default to `cp -p'.
   12442     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12443       as_ln_s='cp -p'
   12444   elif ln conf$$.file conf$$ 2>/dev/null; then
   12445     as_ln_s=ln
   12446   else
   12447     as_ln_s='cp -p'
   12448   fi
   12449 else
   12450   as_ln_s='cp -p'
   12451 fi
   12452 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12453 rmdir conf$$.dir 2>/dev/null
   12454 
   12455 
   12456 # as_fn_mkdir_p
   12457 # -------------
   12458 # Create "$as_dir" as a directory, including parents if necessary.
   12459 as_fn_mkdir_p ()
   12460 {
   12461 
   12462   case $as_dir in #(
   12463   -*) as_dir=./$as_dir;;
   12464   esac
   12465   test -d "$as_dir" || eval $as_mkdir_p || {
   12466     as_dirs=
   12467     while :; do
   12468       case $as_dir in #(
   12469       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12470       *) as_qdir=$as_dir;;
   12471       esac
   12472       as_dirs="'$as_qdir' $as_dirs"
   12473       as_dir=`$as_dirname -- "$as_dir" ||
   12474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12475 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12476 	 X"$as_dir" : 'X\(//\)$' \| \
   12477 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12478 $as_echo X"$as_dir" |
   12479     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12480 	    s//\1/
   12481 	    q
   12482 	  }
   12483 	  /^X\(\/\/\)[^/].*/{
   12484 	    s//\1/
   12485 	    q
   12486 	  }
   12487 	  /^X\(\/\/\)$/{
   12488 	    s//\1/
   12489 	    q
   12490 	  }
   12491 	  /^X\(\/\).*/{
   12492 	    s//\1/
   12493 	    q
   12494 	  }
   12495 	  s/.*/./; q'`
   12496       test -d "$as_dir" && break
   12497     done
   12498     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12499   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12500 
   12501 
   12502 } # as_fn_mkdir_p
   12503 if mkdir -p . 2>/dev/null; then
   12504   as_mkdir_p='mkdir -p "$as_dir"'
   12505 else
   12506   test -d ./-p && rmdir ./-p
   12507   as_mkdir_p=false
   12508 fi
   12509 
   12510 if test -x / >/dev/null 2>&1; then
   12511   as_test_x='test -x'
   12512 else
   12513   if ls -dL / >/dev/null 2>&1; then
   12514     as_ls_L_option=L
   12515   else
   12516     as_ls_L_option=
   12517   fi
   12518   as_test_x='
   12519     eval sh -c '\''
   12520       if test -d "$1"; then
   12521 	test -d "$1/.";
   12522       else
   12523 	case $1 in #(
   12524 	-*)set "./$1";;
   12525 	esac;
   12526 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12527 	???[sx]*):;;*)false;;esac;fi
   12528     '\'' sh
   12529   '
   12530 fi
   12531 as_executable_p=$as_test_x
   12532 
   12533 # Sed expression to map a string onto a valid CPP name.
   12534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12535 
   12536 # Sed expression to map a string onto a valid variable name.
   12537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12538 
   12539 
   12540 exec 6>&1
   12541 ## ----------------------------------- ##
   12542 ## Main body of $CONFIG_STATUS script. ##
   12543 ## ----------------------------------- ##
   12544 _ASEOF
   12545 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12546 
   12547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12548 # Save the log message, to keep $0 and so on meaningful, and to
   12549 # report actual input values of CONFIG_FILES etc. instead of their
   12550 # values after options handling.
   12551 ac_log="
   12552 This file was extended by xfs $as_me 1.1.3, which was
   12553 generated by GNU Autoconf 2.68.  Invocation command line was
   12554 
   12555   CONFIG_FILES    = $CONFIG_FILES
   12556   CONFIG_HEADERS  = $CONFIG_HEADERS
   12557   CONFIG_LINKS    = $CONFIG_LINKS
   12558   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12559   $ $0 $@
   12560 
   12561 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12562 "
   12563 
   12564 _ACEOF
   12565 
   12566 case $ac_config_files in *"
   12567 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12568 esac
   12569 
   12570 case $ac_config_headers in *"
   12571 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12572 esac
   12573 
   12574 
   12575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12576 # Files that config.status was made for.
   12577 config_files="$ac_config_files"
   12578 config_headers="$ac_config_headers"
   12579 config_commands="$ac_config_commands"
   12580 
   12581 _ACEOF
   12582 
   12583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12584 ac_cs_usage="\
   12585 \`$as_me' instantiates files and other configuration actions
   12586 from templates according to the current configuration.  Unless the files
   12587 and actions are specified as TAGs, all are instantiated by default.
   12588 
   12589 Usage: $0 [OPTION]... [TAG]...
   12590 
   12591   -h, --help       print this help, then exit
   12592   -V, --version    print version number and configuration settings, then exit
   12593       --config     print configuration, then exit
   12594   -q, --quiet, --silent
   12595                    do not print progress messages
   12596   -d, --debug      don't remove temporary files
   12597       --recheck    update $as_me by reconfiguring in the same conditions
   12598       --file=FILE[:TEMPLATE]
   12599                    instantiate the configuration file FILE
   12600       --header=FILE[:TEMPLATE]
   12601                    instantiate the configuration header FILE
   12602 
   12603 Configuration files:
   12604 $config_files
   12605 
   12606 Configuration headers:
   12607 $config_headers
   12608 
   12609 Configuration commands:
   12610 $config_commands
   12611 
   12612 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12613 
   12614 _ACEOF
   12615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12616 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12617 ac_cs_version="\\
   12618 xfs config.status 1.1.3
   12619 configured by $0, generated by GNU Autoconf 2.68,
   12620   with options \\"\$ac_cs_config\\"
   12621 
   12622 Copyright (C) 2010 Free Software Foundation, Inc.
   12623 This config.status script is free software; the Free Software Foundation
   12624 gives unlimited permission to copy, distribute and modify it."
   12625 
   12626 ac_pwd='$ac_pwd'
   12627 srcdir='$srcdir'
   12628 INSTALL='$INSTALL'
   12629 MKDIR_P='$MKDIR_P'
   12630 AWK='$AWK'
   12631 test -n "\$AWK" || AWK=awk
   12632 _ACEOF
   12633 
   12634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12635 # The default lists apply if the user does not specify any file.
   12636 ac_need_defaults=:
   12637 while test $# != 0
   12638 do
   12639   case $1 in
   12640   --*=?*)
   12641     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12642     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12643     ac_shift=:
   12644     ;;
   12645   --*=)
   12646     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12647     ac_optarg=
   12648     ac_shift=:
   12649     ;;
   12650   *)
   12651     ac_option=$1
   12652     ac_optarg=$2
   12653     ac_shift=shift
   12654     ;;
   12655   esac
   12656 
   12657   case $ac_option in
   12658   # Handling of the options.
   12659   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12660     ac_cs_recheck=: ;;
   12661   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12662     $as_echo "$ac_cs_version"; exit ;;
   12663   --config | --confi | --conf | --con | --co | --c )
   12664     $as_echo "$ac_cs_config"; exit ;;
   12665   --debug | --debu | --deb | --de | --d | -d )
   12666     debug=: ;;
   12667   --file | --fil | --fi | --f )
   12668     $ac_shift
   12669     case $ac_optarg in
   12670     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12671     '') as_fn_error $? "missing file argument" ;;
   12672     esac
   12673     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12674     ac_need_defaults=false;;
   12675   --header | --heade | --head | --hea )
   12676     $ac_shift
   12677     case $ac_optarg in
   12678     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12679     esac
   12680     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12681     ac_need_defaults=false;;
   12682   --he | --h)
   12683     # Conflict between --help and --header
   12684     as_fn_error $? "ambiguous option: \`$1'
   12685 Try \`$0 --help' for more information.";;
   12686   --help | --hel | -h )
   12687     $as_echo "$ac_cs_usage"; exit ;;
   12688   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12689   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12690     ac_cs_silent=: ;;
   12691 
   12692   # This is an error.
   12693   -*) as_fn_error $? "unrecognized option: \`$1'
   12694 Try \`$0 --help' for more information." ;;
   12695 
   12696   *) as_fn_append ac_config_targets " $1"
   12697      ac_need_defaults=false ;;
   12698 
   12699   esac
   12700   shift
   12701 done
   12702 
   12703 ac_configure_extra_args=
   12704 
   12705 if $ac_cs_silent; then
   12706   exec 6>/dev/null
   12707   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12708 fi
   12709 
   12710 _ACEOF
   12711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12712 if \$ac_cs_recheck; then
   12713   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12714   shift
   12715   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12716   CONFIG_SHELL='$SHELL'
   12717   export CONFIG_SHELL
   12718   exec "\$@"
   12719 fi
   12720 
   12721 _ACEOF
   12722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12723 exec 5>>config.log
   12724 {
   12725   echo
   12726   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12727 ## Running $as_me. ##
   12728 _ASBOX
   12729   $as_echo "$ac_log"
   12730 } >&5
   12731 
   12732 _ACEOF
   12733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12734 #
   12735 # INIT-COMMANDS
   12736 #
   12737 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12738 
   12739 _ACEOF
   12740 
   12741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12742 
   12743 # Handling of arguments.
   12744 for ac_config_target in $ac_config_targets
   12745 do
   12746   case $ac_config_target in
   12747     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12748     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12749     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12750     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   12751     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   12752     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12753 
   12754   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12755   esac
   12756 done
   12757 
   12758 
   12759 # If the user did not use the arguments to specify the items to instantiate,
   12760 # then the envvar interface is used.  Set only those that are not.
   12761 # We use the long form for the default assignment because of an extremely
   12762 # bizarre bug on SunOS 4.1.3.
   12763 if $ac_need_defaults; then
   12764   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12765   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12766   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12767 fi
   12768 
   12769 # Have a temporary directory for convenience.  Make it in the build tree
   12770 # simply because there is no reason against having it here, and in addition,
   12771 # creating and moving files from /tmp can sometimes cause problems.
   12772 # Hook for its removal unless debugging.
   12773 # Note that there is a small window in which the directory will not be cleaned:
   12774 # after its creation but before its name has been assigned to `$tmp'.
   12775 $debug ||
   12776 {
   12777   tmp= ac_tmp=
   12778   trap 'exit_status=$?
   12779   : "${ac_tmp:=$tmp}"
   12780   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12781 ' 0
   12782   trap 'as_fn_exit 1' 1 2 13 15
   12783 }
   12784 # Create a (secure) tmp directory for tmp files.
   12785 
   12786 {
   12787   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12788   test -d "$tmp"
   12789 }  ||
   12790 {
   12791   tmp=./conf$$-$RANDOM
   12792   (umask 077 && mkdir "$tmp")
   12793 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12794 ac_tmp=$tmp
   12795 
   12796 # Set up the scripts for CONFIG_FILES section.
   12797 # No need to generate them if there are no CONFIG_FILES.
   12798 # This happens for instance with `./config.status config.h'.
   12799 if test -n "$CONFIG_FILES"; then
   12800 
   12801 
   12802 ac_cr=`echo X | tr X '\015'`
   12803 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12804 # But we know of no other shell where ac_cr would be empty at this
   12805 # point, so we can use a bashism as a fallback.
   12806 if test "x$ac_cr" = x; then
   12807   eval ac_cr=\$\'\\r\'
   12808 fi
   12809 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12810 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12811   ac_cs_awk_cr='\\r'
   12812 else
   12813   ac_cs_awk_cr=$ac_cr
   12814 fi
   12815 
   12816 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12817 _ACEOF
   12818 
   12819 
   12820 {
   12821   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12822   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12823   echo "_ACEOF"
   12824 } >conf$$subs.sh ||
   12825   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12826 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12827 ac_delim='%!_!# '
   12828 for ac_last_try in false false false false false :; do
   12829   . ./conf$$subs.sh ||
   12830     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12831 
   12832   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12833   if test $ac_delim_n = $ac_delim_num; then
   12834     break
   12835   elif $ac_last_try; then
   12836     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12837   else
   12838     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12839   fi
   12840 done
   12841 rm -f conf$$subs.sh
   12842 
   12843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12844 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12845 _ACEOF
   12846 sed -n '
   12847 h
   12848 s/^/S["/; s/!.*/"]=/
   12849 p
   12850 g
   12851 s/^[^!]*!//
   12852 :repl
   12853 t repl
   12854 s/'"$ac_delim"'$//
   12855 t delim
   12856 :nl
   12857 h
   12858 s/\(.\{148\}\)..*/\1/
   12859 t more1
   12860 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12861 p
   12862 n
   12863 b repl
   12864 :more1
   12865 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12866 p
   12867 g
   12868 s/.\{148\}//
   12869 t nl
   12870 :delim
   12871 h
   12872 s/\(.\{148\}\)..*/\1/
   12873 t more2
   12874 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12875 p
   12876 b
   12877 :more2
   12878 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12879 p
   12880 g
   12881 s/.\{148\}//
   12882 t delim
   12883 ' <conf$$subs.awk | sed '
   12884 /^[^""]/{
   12885   N
   12886   s/\n//
   12887 }
   12888 ' >>$CONFIG_STATUS || ac_write_fail=1
   12889 rm -f conf$$subs.awk
   12890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12891 _ACAWK
   12892 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12893   for (key in S) S_is_set[key] = 1
   12894   FS = ""
   12895 
   12896 }
   12897 {
   12898   line = $ 0
   12899   nfields = split(line, field, "@")
   12900   substed = 0
   12901   len = length(field[1])
   12902   for (i = 2; i < nfields; i++) {
   12903     key = field[i]
   12904     keylen = length(key)
   12905     if (S_is_set[key]) {
   12906       value = S[key]
   12907       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12908       len += length(value) + length(field[++i])
   12909       substed = 1
   12910     } else
   12911       len += 1 + keylen
   12912   }
   12913 
   12914   print line
   12915 }
   12916 
   12917 _ACAWK
   12918 _ACEOF
   12919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12920 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12921   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12922 else
   12923   cat
   12924 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12925   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12926 _ACEOF
   12927 
   12928 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12929 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12930 # trailing colons and then remove the whole line if VPATH becomes empty
   12931 # (actually we leave an empty line to preserve line numbers).
   12932 if test "x$srcdir" = x.; then
   12933   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12934 h
   12935 s///
   12936 s/^/:/
   12937 s/[	 ]*$/:/
   12938 s/:\$(srcdir):/:/g
   12939 s/:\${srcdir}:/:/g
   12940 s/:@srcdir@:/:/g
   12941 s/^:*//
   12942 s/:*$//
   12943 x
   12944 s/\(=[	 ]*\).*/\1/
   12945 G
   12946 s/\n//
   12947 s/^[^=]*=[	 ]*$//
   12948 }'
   12949 fi
   12950 
   12951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12952 fi # test -n "$CONFIG_FILES"
   12953 
   12954 # Set up the scripts for CONFIG_HEADERS section.
   12955 # No need to generate them if there are no CONFIG_HEADERS.
   12956 # This happens for instance with `./config.status Makefile'.
   12957 if test -n "$CONFIG_HEADERS"; then
   12958 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12959 BEGIN {
   12960 _ACEOF
   12961 
   12962 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12963 # here-document in config.status, that substitutes the proper values into
   12964 # config.h.in to produce config.h.
   12965 
   12966 # Create a delimiter string that does not exist in confdefs.h, to ease
   12967 # handling of long lines.
   12968 ac_delim='%!_!# '
   12969 for ac_last_try in false false :; do
   12970   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12971   if test -z "$ac_tt"; then
   12972     break
   12973   elif $ac_last_try; then
   12974     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12975   else
   12976     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12977   fi
   12978 done
   12979 
   12980 # For the awk script, D is an array of macro values keyed by name,
   12981 # likewise P contains macro parameters if any.  Preserve backslash
   12982 # newline sequences.
   12983 
   12984 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12985 sed -n '
   12986 s/.\{148\}/&'"$ac_delim"'/g
   12987 t rset
   12988 :rset
   12989 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12990 t def
   12991 d
   12992 :def
   12993 s/\\$//
   12994 t bsnl
   12995 s/["\\]/\\&/g
   12996 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12997 D["\1"]=" \3"/p
   12998 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12999 d
   13000 :bsnl
   13001 s/["\\]/\\&/g
   13002 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13003 D["\1"]=" \3\\\\\\n"\\/p
   13004 t cont
   13005 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13006 t cont
   13007 d
   13008 :cont
   13009 n
   13010 s/.\{148\}/&'"$ac_delim"'/g
   13011 t clear
   13012 :clear
   13013 s/\\$//
   13014 t bsnlc
   13015 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13016 d
   13017 :bsnlc
   13018 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13019 b cont
   13020 ' <confdefs.h | sed '
   13021 s/'"$ac_delim"'/"\\\
   13022 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13023 
   13024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13025   for (key in D) D_is_set[key] = 1
   13026   FS = ""
   13027 }
   13028 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13029   line = \$ 0
   13030   split(line, arg, " ")
   13031   if (arg[1] == "#") {
   13032     defundef = arg[2]
   13033     mac1 = arg[3]
   13034   } else {
   13035     defundef = substr(arg[1], 2)
   13036     mac1 = arg[2]
   13037   }
   13038   split(mac1, mac2, "(") #)
   13039   macro = mac2[1]
   13040   prefix = substr(line, 1, index(line, defundef) - 1)
   13041   if (D_is_set[macro]) {
   13042     # Preserve the white space surrounding the "#".
   13043     print prefix "define", macro P[macro] D[macro]
   13044     next
   13045   } else {
   13046     # Replace #undef with comments.  This is necessary, for example,
   13047     # in the case of _POSIX_SOURCE, which is predefined and required
   13048     # on some systems where configure will not decide to define it.
   13049     if (defundef == "undef") {
   13050       print "/*", prefix defundef, macro, "*/"
   13051       next
   13052     }
   13053   }
   13054 }
   13055 { print }
   13056 _ACAWK
   13057 _ACEOF
   13058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13059   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13060 fi # test -n "$CONFIG_HEADERS"
   13061 
   13062 
   13063 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13064 shift
   13065 for ac_tag
   13066 do
   13067   case $ac_tag in
   13068   :[FHLC]) ac_mode=$ac_tag; continue;;
   13069   esac
   13070   case $ac_mode$ac_tag in
   13071   :[FHL]*:*);;
   13072   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13073   :[FH]-) ac_tag=-:-;;
   13074   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13075   esac
   13076   ac_save_IFS=$IFS
   13077   IFS=:
   13078   set x $ac_tag
   13079   IFS=$ac_save_IFS
   13080   shift
   13081   ac_file=$1
   13082   shift
   13083 
   13084   case $ac_mode in
   13085   :L) ac_source=$1;;
   13086   :[FH])
   13087     ac_file_inputs=
   13088     for ac_f
   13089     do
   13090       case $ac_f in
   13091       -) ac_f="$ac_tmp/stdin";;
   13092       *) # Look for the file first in the build tree, then in the source tree
   13093 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13094 	 # because $ac_f cannot contain `:'.
   13095 	 test -f "$ac_f" ||
   13096 	   case $ac_f in
   13097 	   [\\/$]*) false;;
   13098 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13099 	   esac ||
   13100 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13101       esac
   13102       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13103       as_fn_append ac_file_inputs " '$ac_f'"
   13104     done
   13105 
   13106     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13107     # use $as_me), people would be surprised to read:
   13108     #    /* config.h.  Generated by config.status.  */
   13109     configure_input='Generated from '`
   13110 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13111 	`' by configure.'
   13112     if test x"$ac_file" != x-; then
   13113       configure_input="$ac_file.  $configure_input"
   13114       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13115 $as_echo "$as_me: creating $ac_file" >&6;}
   13116     fi
   13117     # Neutralize special characters interpreted by sed in replacement strings.
   13118     case $configure_input in #(
   13119     *\&* | *\|* | *\\* )
   13120        ac_sed_conf_input=`$as_echo "$configure_input" |
   13121        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13122     *) ac_sed_conf_input=$configure_input;;
   13123     esac
   13124 
   13125     case $ac_tag in
   13126     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13127       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13128     esac
   13129     ;;
   13130   esac
   13131 
   13132   ac_dir=`$as_dirname -- "$ac_file" ||
   13133 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13134 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13135 	 X"$ac_file" : 'X\(//\)$' \| \
   13136 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13137 $as_echo X"$ac_file" |
   13138     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13139 	    s//\1/
   13140 	    q
   13141 	  }
   13142 	  /^X\(\/\/\)[^/].*/{
   13143 	    s//\1/
   13144 	    q
   13145 	  }
   13146 	  /^X\(\/\/\)$/{
   13147 	    s//\1/
   13148 	    q
   13149 	  }
   13150 	  /^X\(\/\).*/{
   13151 	    s//\1/
   13152 	    q
   13153 	  }
   13154 	  s/.*/./; q'`
   13155   as_dir="$ac_dir"; as_fn_mkdir_p
   13156   ac_builddir=.
   13157 
   13158 case "$ac_dir" in
   13159 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13160 *)
   13161   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13162   # A ".." for each directory in $ac_dir_suffix.
   13163   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13164   case $ac_top_builddir_sub in
   13165   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13166   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13167   esac ;;
   13168 esac
   13169 ac_abs_top_builddir=$ac_pwd
   13170 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13171 # for backward compatibility:
   13172 ac_top_builddir=$ac_top_build_prefix
   13173 
   13174 case $srcdir in
   13175   .)  # We are building in place.
   13176     ac_srcdir=.
   13177     ac_top_srcdir=$ac_top_builddir_sub
   13178     ac_abs_top_srcdir=$ac_pwd ;;
   13179   [\\/]* | ?:[\\/]* )  # Absolute name.
   13180     ac_srcdir=$srcdir$ac_dir_suffix;
   13181     ac_top_srcdir=$srcdir
   13182     ac_abs_top_srcdir=$srcdir ;;
   13183   *) # Relative name.
   13184     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13185     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13186     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13187 esac
   13188 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13189 
   13190 
   13191   case $ac_mode in
   13192   :F)
   13193   #
   13194   # CONFIG_FILE
   13195   #
   13196 
   13197   case $INSTALL in
   13198   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13199   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13200   esac
   13201   ac_MKDIR_P=$MKDIR_P
   13202   case $MKDIR_P in
   13203   [\\/$]* | ?:[\\/]* ) ;;
   13204   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13205   esac
   13206 _ACEOF
   13207 
   13208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13209 # If the template does not know about datarootdir, expand it.
   13210 # FIXME: This hack should be removed a few years after 2.60.
   13211 ac_datarootdir_hack=; ac_datarootdir_seen=
   13212 ac_sed_dataroot='
   13213 /datarootdir/ {
   13214   p
   13215   q
   13216 }
   13217 /@datadir@/p
   13218 /@docdir@/p
   13219 /@infodir@/p
   13220 /@localedir@/p
   13221 /@mandir@/p'
   13222 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13223 *datarootdir*) ac_datarootdir_seen=yes;;
   13224 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13225   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13226 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13227 _ACEOF
   13228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13229   ac_datarootdir_hack='
   13230   s&@datadir@&$datadir&g
   13231   s&@docdir@&$docdir&g
   13232   s&@infodir@&$infodir&g
   13233   s&@localedir@&$localedir&g
   13234   s&@mandir@&$mandir&g
   13235   s&\\\${datarootdir}&$datarootdir&g' ;;
   13236 esac
   13237 _ACEOF
   13238 
   13239 # Neutralize VPATH when `$srcdir' = `.'.
   13240 # Shell code in configure.ac might set extrasub.
   13241 # FIXME: do we really want to maintain this feature?
   13242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13243 ac_sed_extra="$ac_vpsub
   13244 $extrasub
   13245 _ACEOF
   13246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13247 :t
   13248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13249 s|@configure_input@|$ac_sed_conf_input|;t t
   13250 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13251 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13252 s&@srcdir@&$ac_srcdir&;t t
   13253 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13254 s&@top_srcdir@&$ac_top_srcdir&;t t
   13255 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13256 s&@builddir@&$ac_builddir&;t t
   13257 s&@abs_builddir@&$ac_abs_builddir&;t t
   13258 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13259 s&@INSTALL@&$ac_INSTALL&;t t
   13260 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13261 $ac_datarootdir_hack
   13262 "
   13263 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13264   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13265 
   13266 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13267   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13268   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13269       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13270   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13271 which seems to be undefined.  Please make sure it is defined" >&5
   13272 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13273 which seems to be undefined.  Please make sure it is defined" >&2;}
   13274 
   13275   rm -f "$ac_tmp/stdin"
   13276   case $ac_file in
   13277   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13278   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13279   esac \
   13280   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13281  ;;
   13282   :H)
   13283   #
   13284   # CONFIG_HEADER
   13285   #
   13286   if test x"$ac_file" != x-; then
   13287     {
   13288       $as_echo "/* $configure_input  */" \
   13289       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13290     } >"$ac_tmp/config.h" \
   13291       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13292     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13293       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13294 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13295     else
   13296       rm -f "$ac_file"
   13297       mv "$ac_tmp/config.h" "$ac_file" \
   13298 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13299     fi
   13300   else
   13301     $as_echo "/* $configure_input  */" \
   13302       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13303       || as_fn_error $? "could not create -" "$LINENO" 5
   13304   fi
   13305 # Compute "$ac_file"'s index in $config_headers.
   13306 _am_arg="$ac_file"
   13307 _am_stamp_count=1
   13308 for _am_header in $config_headers :; do
   13309   case $_am_header in
   13310     $_am_arg | $_am_arg:* )
   13311       break ;;
   13312     * )
   13313       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13314   esac
   13315 done
   13316 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13317 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13318 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13319 	 X"$_am_arg" : 'X\(//\)$' \| \
   13320 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13321 $as_echo X"$_am_arg" |
   13322     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13323 	    s//\1/
   13324 	    q
   13325 	  }
   13326 	  /^X\(\/\/\)[^/].*/{
   13327 	    s//\1/
   13328 	    q
   13329 	  }
   13330 	  /^X\(\/\/\)$/{
   13331 	    s//\1/
   13332 	    q
   13333 	  }
   13334 	  /^X\(\/\).*/{
   13335 	    s//\1/
   13336 	    q
   13337 	  }
   13338 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13339  ;;
   13340 
   13341   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13342 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13343  ;;
   13344   esac
   13345 
   13346 
   13347   case $ac_file$ac_mode in
   13348     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13349   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13350   # are listed without --file.  Let's play safe and only enable the eval
   13351   # if we detect the quoting.
   13352   case $CONFIG_FILES in
   13353   *\'*) eval set x "$CONFIG_FILES" ;;
   13354   *)   set x $CONFIG_FILES ;;
   13355   esac
   13356   shift
   13357   for mf
   13358   do
   13359     # Strip MF so we end up with the name of the file.
   13360     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13361     # Check whether this is an Automake generated Makefile or not.
   13362     # We used to match only the files named `Makefile.in', but
   13363     # some people rename them; so instead we look at the file content.
   13364     # Grep'ing the first line is not enough: some people post-process
   13365     # each Makefile.in and add a new line on top of each file to say so.
   13366     # Grep'ing the whole file is not good either: AIX grep has a line
   13367     # limit of 2048, but all sed's we know have understand at least 4000.
   13368     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13369       dirpart=`$as_dirname -- "$mf" ||
   13370 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13371 	 X"$mf" : 'X\(//\)[^/]' \| \
   13372 	 X"$mf" : 'X\(//\)$' \| \
   13373 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13374 $as_echo X"$mf" |
   13375     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13376 	    s//\1/
   13377 	    q
   13378 	  }
   13379 	  /^X\(\/\/\)[^/].*/{
   13380 	    s//\1/
   13381 	    q
   13382 	  }
   13383 	  /^X\(\/\/\)$/{
   13384 	    s//\1/
   13385 	    q
   13386 	  }
   13387 	  /^X\(\/\).*/{
   13388 	    s//\1/
   13389 	    q
   13390 	  }
   13391 	  s/.*/./; q'`
   13392     else
   13393       continue
   13394     fi
   13395     # Extract the definition of DEPDIR, am__include, and am__quote
   13396     # from the Makefile without running `make'.
   13397     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13398     test -z "$DEPDIR" && continue
   13399     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13400     test -z "am__include" && continue
   13401     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13402     # When using ansi2knr, U may be empty or an underscore; expand it
   13403     U=`sed -n 's/^U = //p' < "$mf"`
   13404     # Find all dependency output files, they are included files with
   13405     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13406     # simplest approach to changing $(DEPDIR) to its actual value in the
   13407     # expansion.
   13408     for file in `sed -n "
   13409       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13410 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13411       # Make sure the directory exists.
   13412       test -f "$dirpart/$file" && continue
   13413       fdir=`$as_dirname -- "$file" ||
   13414 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13415 	 X"$file" : 'X\(//\)[^/]' \| \
   13416 	 X"$file" : 'X\(//\)$' \| \
   13417 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13418 $as_echo X"$file" |
   13419     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13420 	    s//\1/
   13421 	    q
   13422 	  }
   13423 	  /^X\(\/\/\)[^/].*/{
   13424 	    s//\1/
   13425 	    q
   13426 	  }
   13427 	  /^X\(\/\/\)$/{
   13428 	    s//\1/
   13429 	    q
   13430 	  }
   13431 	  /^X\(\/\).*/{
   13432 	    s//\1/
   13433 	    q
   13434 	  }
   13435 	  s/.*/./; q'`
   13436       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13437       # echo "creating $dirpart/$file"
   13438       echo '# dummy' > "$dirpart/$file"
   13439     done
   13440   done
   13441 }
   13442  ;;
   13443 
   13444   esac
   13445 done # for ac_tag
   13446 
   13447 
   13448 as_fn_exit 0
   13449 _ACEOF
   13450 ac_clean_files=$ac_clean_files_save
   13451 
   13452 test $ac_write_fail = 0 ||
   13453   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13454 
   13455 
   13456 # configure is writing to config.log, and then calls config.status.
   13457 # config.status does its own redirection, appending to config.log.
   13458 # Unfortunately, on DOS this fails, as config.log is still kept open
   13459 # by configure, so config.status won't be able to write to it; its
   13460 # output is simply discarded.  So we exec the FD to /dev/null,
   13461 # effectively closing config.log, so it can be properly (re)opened and
   13462 # appended to by config.status.  When coming back to configure, we
   13463 # need to make the FD available again.
   13464 if test "$no_create" != yes; then
   13465   ac_cs_success=:
   13466   ac_config_status_args=
   13467   test "$silent" = yes &&
   13468     ac_config_status_args="$ac_config_status_args --quiet"
   13469   exec 5>/dev/null
   13470   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13471   exec 5>>config.log
   13472   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13473   # would make configure fail if this is the last instruction.
   13474   $ac_cs_success || as_fn_exit 1
   13475 fi
   13476 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13477   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13478 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13479 fi
   13480 
   13481