Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xtrans 1.2.7.
      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='xtrans'
    623 PACKAGE_TARNAME='xtrans'
    624 PACKAGE_VERSION='1.2.7'
    625 PACKAGE_STRING='xtrans 1.2.7'
    626 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    627 PACKAGE_URL=''
    628 
    629 ac_unique_file="Makefile.am"
    630 # Factoring default headers for most tests.
    631 ac_includes_default="\
    632 #include <stdio.h>
    633 #ifdef HAVE_SYS_TYPES_H
    634 # include <sys/types.h>
    635 #endif
    636 #ifdef HAVE_SYS_STAT_H
    637 # include <sys/stat.h>
    638 #endif
    639 #ifdef STDC_HEADERS
    640 # include <stdlib.h>
    641 # include <stddef.h>
    642 #else
    643 # ifdef HAVE_STDLIB_H
    644 #  include <stdlib.h>
    645 # endif
    646 #endif
    647 #ifdef HAVE_STRING_H
    648 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    649 #  include <memory.h>
    650 # endif
    651 # include <string.h>
    652 #endif
    653 #ifdef HAVE_STRINGS_H
    654 # include <strings.h>
    655 #endif
    656 #ifdef HAVE_INTTYPES_H
    657 # include <inttypes.h>
    658 #endif
    659 #ifdef HAVE_STDINT_H
    660 # include <stdint.h>
    661 #endif
    662 #ifdef HAVE_UNISTD_H
    663 # include <unistd.h>
    664 #endif"
    665 
    666 ac_subst_vars='am__EXEEXT_FALSE
    667 am__EXEEXT_TRUE
    668 LTLIBOBJS
    669 LIBOBJS
    670 sticky_bit_define
    671 fchown_define
    672 HAVE_STYLESHEETS_FALSE
    673 HAVE_STYLESHEETS_TRUE
    674 XSL_STYLESHEET
    675 STYLESHEET_SRCDIR
    676 XORG_SGML_PATH
    677 HAVE_XSLTPROC_FALSE
    678 HAVE_XSLTPROC_TRUE
    679 XSLTPROC
    680 HAVE_FOP_FALSE
    681 HAVE_FOP_TRUE
    682 FOP
    683 HAVE_XMLTO_FALSE
    684 HAVE_XMLTO_TRUE
    685 HAVE_XMLTO_TEXT_FALSE
    686 HAVE_XMLTO_TEXT_TRUE
    687 XMLTO
    688 ENABLE_DOCS_FALSE
    689 ENABLE_DOCS_TRUE
    690 AM_BACKSLASH
    691 AM_DEFAULT_VERBOSITY
    692 MAN_SUBSTS
    693 XORG_MAN_PAGE
    694 ADMIN_MAN_DIR
    695 DRIVER_MAN_DIR
    696 MISC_MAN_DIR
    697 FILE_MAN_DIR
    698 LIB_MAN_DIR
    699 APP_MAN_DIR
    700 ADMIN_MAN_SUFFIX
    701 DRIVER_MAN_SUFFIX
    702 MISC_MAN_SUFFIX
    703 FILE_MAN_SUFFIX
    704 LIB_MAN_SUFFIX
    705 APP_MAN_SUFFIX
    706 SED
    707 host_os
    708 host_vendor
    709 host_cpu
    710 host
    711 build_os
    712 build_vendor
    713 build_cpu
    714 build
    715 INSTALL_CMD
    716 PKG_CONFIG
    717 CHANGELOG_CMD
    718 STRICT_CFLAGS
    719 CWARNFLAGS
    720 BASE_CFLAGS
    721 EGREP
    722 GREP
    723 CPP
    724 am__fastdepCC_FALSE
    725 am__fastdepCC_TRUE
    726 CCDEPMODE
    727 AMDEPBACKSLASH
    728 AMDEP_FALSE
    729 AMDEP_TRUE
    730 am__quote
    731 am__include
    732 DEPDIR
    733 OBJEXT
    734 EXEEXT
    735 ac_ct_CC
    736 CPPFLAGS
    737 LDFLAGS
    738 CFLAGS
    739 CC
    740 MAINT
    741 MAINTAINER_MODE_FALSE
    742 MAINTAINER_MODE_TRUE
    743 am__untar
    744 am__tar
    745 AMTAR
    746 am__leading_dot
    747 SET_MAKE
    748 AWK
    749 mkdir_p
    750 MKDIR_P
    751 INSTALL_STRIP_PROGRAM
    752 STRIP
    753 install_sh
    754 MAKEINFO
    755 AUTOHEADER
    756 AUTOMAKE
    757 AUTOCONF
    758 ACLOCAL
    759 VERSION
    760 PACKAGE
    761 CYGPATH_W
    762 am__isrc
    763 INSTALL_DATA
    764 INSTALL_SCRIPT
    765 INSTALL_PROGRAM
    766 target_alias
    767 host_alias
    768 build_alias
    769 LIBS
    770 ECHO_T
    771 ECHO_N
    772 ECHO_C
    773 DEFS
    774 mandir
    775 localedir
    776 libdir
    777 psdir
    778 pdfdir
    779 dvidir
    780 htmldir
    781 infodir
    782 docdir
    783 oldincludedir
    784 includedir
    785 localstatedir
    786 sharedstatedir
    787 sysconfdir
    788 datadir
    789 datarootdir
    790 libexecdir
    791 sbindir
    792 bindir
    793 program_transform_name
    794 prefix
    795 exec_prefix
    796 PACKAGE_URL
    797 PACKAGE_BUGREPORT
    798 PACKAGE_STRING
    799 PACKAGE_VERSION
    800 PACKAGE_TARNAME
    801 PACKAGE_NAME
    802 PATH_SEPARATOR
    803 SHELL'
    804 ac_subst_files=''
    805 ac_user_opts='
    806 enable_option_checking
    807 enable_maintainer_mode
    808 enable_dependency_tracking
    809 enable_selective_werror
    810 enable_strict_compilation
    811 enable_silent_rules
    812 enable_docs
    813 with_xmlto
    814 with_fop
    815 with_xsltproc
    816 '
    817       ac_precious_vars='build_alias
    818 host_alias
    819 target_alias
    820 CC
    821 CFLAGS
    822 LDFLAGS
    823 LIBS
    824 CPPFLAGS
    825 CPP
    826 PKG_CONFIG
    827 XMLTO
    828 FOP
    829 XSLTPROC'
    830 
    831 
    832 # Initialize some variables set by options.
    833 ac_init_help=
    834 ac_init_version=false
    835 ac_unrecognized_opts=
    836 ac_unrecognized_sep=
    837 # The variables have the same names as the options, with
    838 # dashes changed to underlines.
    839 cache_file=/dev/null
    840 exec_prefix=NONE
    841 no_create=
    842 no_recursion=
    843 prefix=NONE
    844 program_prefix=NONE
    845 program_suffix=NONE
    846 program_transform_name=s,x,x,
    847 silent=
    848 site=
    849 srcdir=
    850 verbose=
    851 x_includes=NONE
    852 x_libraries=NONE
    853 
    854 # Installation directory options.
    855 # These are left unexpanded so users can "make install exec_prefix=/foo"
    856 # and all the variables that are supposed to be based on exec_prefix
    857 # by default will actually change.
    858 # Use braces instead of parens because sh, perl, etc. also accept them.
    859 # (The list follows the same order as the GNU Coding Standards.)
    860 bindir='${exec_prefix}/bin'
    861 sbindir='${exec_prefix}/sbin'
    862 libexecdir='${exec_prefix}/libexec'
    863 datarootdir='${prefix}/share'
    864 datadir='${datarootdir}'
    865 sysconfdir='${prefix}/etc'
    866 sharedstatedir='${prefix}/com'
    867 localstatedir='${prefix}/var'
    868 includedir='${prefix}/include'
    869 oldincludedir='/usr/include'
    870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    871 infodir='${datarootdir}/info'
    872 htmldir='${docdir}'
    873 dvidir='${docdir}'
    874 pdfdir='${docdir}'
    875 psdir='${docdir}'
    876 libdir='${exec_prefix}/lib'
    877 localedir='${datarootdir}/locale'
    878 mandir='${datarootdir}/man'
    879 
    880 ac_prev=
    881 ac_dashdash=
    882 for ac_option
    883 do
    884   # If the previous option needs an argument, assign it.
    885   if test -n "$ac_prev"; then
    886     eval $ac_prev=\$ac_option
    887     ac_prev=
    888     continue
    889   fi
    890 
    891   case $ac_option in
    892   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    893   *=)   ac_optarg= ;;
    894   *)    ac_optarg=yes ;;
    895   esac
    896 
    897   # Accept the important Cygnus configure options, so we can diagnose typos.
    898 
    899   case $ac_dashdash$ac_option in
    900   --)
    901     ac_dashdash=yes ;;
    902 
    903   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    904     ac_prev=bindir ;;
    905   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    906     bindir=$ac_optarg ;;
    907 
    908   -build | --build | --buil | --bui | --bu)
    909     ac_prev=build_alias ;;
    910   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    911     build_alias=$ac_optarg ;;
    912 
    913   -cache-file | --cache-file | --cache-fil | --cache-fi \
    914   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    915     ac_prev=cache_file ;;
    916   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    917   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    918     cache_file=$ac_optarg ;;
    919 
    920   --config-cache | -C)
    921     cache_file=config.cache ;;
    922 
    923   -datadir | --datadir | --datadi | --datad)
    924     ac_prev=datadir ;;
    925   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    926     datadir=$ac_optarg ;;
    927 
    928   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    929   | --dataroo | --dataro | --datar)
    930     ac_prev=datarootdir ;;
    931   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    932   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    933     datarootdir=$ac_optarg ;;
    934 
    935   -disable-* | --disable-*)
    936     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    937     # Reject names that are not valid shell variable names.
    938     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    939       as_fn_error $? "invalid feature name: $ac_useropt"
    940     ac_useropt_orig=$ac_useropt
    941     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    942     case $ac_user_opts in
    943       *"
    944 "enable_$ac_useropt"
    945 "*) ;;
    946       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    947 	 ac_unrecognized_sep=', ';;
    948     esac
    949     eval enable_$ac_useropt=no ;;
    950 
    951   -docdir | --docdir | --docdi | --doc | --do)
    952     ac_prev=docdir ;;
    953   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    954     docdir=$ac_optarg ;;
    955 
    956   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    957     ac_prev=dvidir ;;
    958   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    959     dvidir=$ac_optarg ;;
    960 
    961   -enable-* | --enable-*)
    962     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    963     # Reject names that are not valid shell variable names.
    964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    965       as_fn_error $? "invalid feature name: $ac_useropt"
    966     ac_useropt_orig=$ac_useropt
    967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    968     case $ac_user_opts in
    969       *"
    970 "enable_$ac_useropt"
    971 "*) ;;
    972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    973 	 ac_unrecognized_sep=', ';;
    974     esac
    975     eval enable_$ac_useropt=\$ac_optarg ;;
    976 
    977   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    978   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    979   | --exec | --exe | --ex)
    980     ac_prev=exec_prefix ;;
    981   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    982   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    983   | --exec=* | --exe=* | --ex=*)
    984     exec_prefix=$ac_optarg ;;
    985 
    986   -gas | --gas | --ga | --g)
    987     # Obsolete; use --with-gas.
    988     with_gas=yes ;;
    989 
    990   -help | --help | --hel | --he | -h)
    991     ac_init_help=long ;;
    992   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    993     ac_init_help=recursive ;;
    994   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    995     ac_init_help=short ;;
    996 
    997   -host | --host | --hos | --ho)
    998     ac_prev=host_alias ;;
    999   -host=* | --host=* | --hos=* | --ho=*)
   1000     host_alias=$ac_optarg ;;
   1001 
   1002   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1003     ac_prev=htmldir ;;
   1004   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1005   | --ht=*)
   1006     htmldir=$ac_optarg ;;
   1007 
   1008   -includedir | --includedir | --includedi | --included | --include \
   1009   | --includ | --inclu | --incl | --inc)
   1010     ac_prev=includedir ;;
   1011   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1012   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1013     includedir=$ac_optarg ;;
   1014 
   1015   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1016     ac_prev=infodir ;;
   1017   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1018     infodir=$ac_optarg ;;
   1019 
   1020   -libdir | --libdir | --libdi | --libd)
   1021     ac_prev=libdir ;;
   1022   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1023     libdir=$ac_optarg ;;
   1024 
   1025   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1026   | --libexe | --libex | --libe)
   1027     ac_prev=libexecdir ;;
   1028   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1029   | --libexe=* | --libex=* | --libe=*)
   1030     libexecdir=$ac_optarg ;;
   1031 
   1032   -localedir | --localedir | --localedi | --localed | --locale)
   1033     ac_prev=localedir ;;
   1034   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1035     localedir=$ac_optarg ;;
   1036 
   1037   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1038   | --localstate | --localstat | --localsta | --localst | --locals)
   1039     ac_prev=localstatedir ;;
   1040   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1041   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1042     localstatedir=$ac_optarg ;;
   1043 
   1044   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1045     ac_prev=mandir ;;
   1046   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1047     mandir=$ac_optarg ;;
   1048 
   1049   -nfp | --nfp | --nf)
   1050     # Obsolete; use --without-fp.
   1051     with_fp=no ;;
   1052 
   1053   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1054   | --no-cr | --no-c | -n)
   1055     no_create=yes ;;
   1056 
   1057   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1058   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1059     no_recursion=yes ;;
   1060 
   1061   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1062   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1063   | --oldin | --oldi | --old | --ol | --o)
   1064     ac_prev=oldincludedir ;;
   1065   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1066   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1067   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1068     oldincludedir=$ac_optarg ;;
   1069 
   1070   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1071     ac_prev=prefix ;;
   1072   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1073     prefix=$ac_optarg ;;
   1074 
   1075   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1076   | --program-pre | --program-pr | --program-p)
   1077     ac_prev=program_prefix ;;
   1078   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1079   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1080     program_prefix=$ac_optarg ;;
   1081 
   1082   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1083   | --program-suf | --program-su | --program-s)
   1084     ac_prev=program_suffix ;;
   1085   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1086   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1087     program_suffix=$ac_optarg ;;
   1088 
   1089   -program-transform-name | --program-transform-name \
   1090   | --program-transform-nam | --program-transform-na \
   1091   | --program-transform-n | --program-transform- \
   1092   | --program-transform | --program-transfor \
   1093   | --program-transfo | --program-transf \
   1094   | --program-trans | --program-tran \
   1095   | --progr-tra | --program-tr | --program-t)
   1096     ac_prev=program_transform_name ;;
   1097   -program-transform-name=* | --program-transform-name=* \
   1098   | --program-transform-nam=* | --program-transform-na=* \
   1099   | --program-transform-n=* | --program-transform-=* \
   1100   | --program-transform=* | --program-transfor=* \
   1101   | --program-transfo=* | --program-transf=* \
   1102   | --program-trans=* | --program-tran=* \
   1103   | --progr-tra=* | --program-tr=* | --program-t=*)
   1104     program_transform_name=$ac_optarg ;;
   1105 
   1106   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1107     ac_prev=pdfdir ;;
   1108   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1109     pdfdir=$ac_optarg ;;
   1110 
   1111   -psdir | --psdir | --psdi | --psd | --ps)
   1112     ac_prev=psdir ;;
   1113   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1114     psdir=$ac_optarg ;;
   1115 
   1116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1117   | -silent | --silent | --silen | --sile | --sil)
   1118     silent=yes ;;
   1119 
   1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1121     ac_prev=sbindir ;;
   1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1123   | --sbi=* | --sb=*)
   1124     sbindir=$ac_optarg ;;
   1125 
   1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1128   | --sharedst | --shareds | --shared | --share | --shar \
   1129   | --sha | --sh)
   1130     ac_prev=sharedstatedir ;;
   1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1134   | --sha=* | --sh=*)
   1135     sharedstatedir=$ac_optarg ;;
   1136 
   1137   -site | --site | --sit)
   1138     ac_prev=site ;;
   1139   -site=* | --site=* | --sit=*)
   1140     site=$ac_optarg ;;
   1141 
   1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1143     ac_prev=srcdir ;;
   1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1145     srcdir=$ac_optarg ;;
   1146 
   1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1148   | --syscon | --sysco | --sysc | --sys | --sy)
   1149     ac_prev=sysconfdir ;;
   1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1152     sysconfdir=$ac_optarg ;;
   1153 
   1154   -target | --target | --targe | --targ | --tar | --ta | --t)
   1155     ac_prev=target_alias ;;
   1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1157     target_alias=$ac_optarg ;;
   1158 
   1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1160     verbose=yes ;;
   1161 
   1162   -version | --version | --versio | --versi | --vers | -V)
   1163     ac_init_version=: ;;
   1164 
   1165   -with-* | --with-*)
   1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1167     # Reject names that are not valid shell variable names.
   1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1169       as_fn_error $? "invalid package name: $ac_useropt"
   1170     ac_useropt_orig=$ac_useropt
   1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1172     case $ac_user_opts in
   1173       *"
   1174 "with_$ac_useropt"
   1175 "*) ;;
   1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1177 	 ac_unrecognized_sep=', ';;
   1178     esac
   1179     eval with_$ac_useropt=\$ac_optarg ;;
   1180 
   1181   -without-* | --without-*)
   1182     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1183     # Reject names that are not valid shell variable names.
   1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1185       as_fn_error $? "invalid package name: $ac_useropt"
   1186     ac_useropt_orig=$ac_useropt
   1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1188     case $ac_user_opts in
   1189       *"
   1190 "with_$ac_useropt"
   1191 "*) ;;
   1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1193 	 ac_unrecognized_sep=', ';;
   1194     esac
   1195     eval with_$ac_useropt=no ;;
   1196 
   1197   --x)
   1198     # Obsolete; use --with-x.
   1199     with_x=yes ;;
   1200 
   1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1202   | --x-incl | --x-inc | --x-in | --x-i)
   1203     ac_prev=x_includes ;;
   1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1206     x_includes=$ac_optarg ;;
   1207 
   1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1210     ac_prev=x_libraries ;;
   1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1213     x_libraries=$ac_optarg ;;
   1214 
   1215   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1216 Try \`$0 --help' for more information"
   1217     ;;
   1218 
   1219   *=*)
   1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1221     # Reject names that are not valid shell variable names.
   1222     case $ac_envvar in #(
   1223       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1224       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1225     esac
   1226     eval $ac_envvar=\$ac_optarg
   1227     export $ac_envvar ;;
   1228 
   1229   *)
   1230     # FIXME: should be removed in autoconf 3.0.
   1231     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1233       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1234     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1235     ;;
   1236 
   1237   esac
   1238 done
   1239 
   1240 if test -n "$ac_prev"; then
   1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1242   as_fn_error $? "missing argument to $ac_option"
   1243 fi
   1244 
   1245 if test -n "$ac_unrecognized_opts"; then
   1246   case $enable_option_checking in
   1247     no) ;;
   1248     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1249     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1250   esac
   1251 fi
   1252 
   1253 # Check all directory arguments for consistency.
   1254 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1255 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1256 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1257 		libdir localedir mandir
   1258 do
   1259   eval ac_val=\$$ac_var
   1260   # Remove trailing slashes.
   1261   case $ac_val in
   1262     */ )
   1263       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1264       eval $ac_var=\$ac_val;;
   1265   esac
   1266   # Be sure to have absolute directory names.
   1267   case $ac_val in
   1268     [\\/$]* | ?:[\\/]* )  continue;;
   1269     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1270   esac
   1271   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1272 done
   1273 
   1274 # There might be people who depend on the old broken behavior: `$host'
   1275 # used to hold the argument of --host etc.
   1276 # FIXME: To remove some day.
   1277 build=$build_alias
   1278 host=$host_alias
   1279 target=$target_alias
   1280 
   1281 # FIXME: To remove some day.
   1282 if test "x$host_alias" != x; then
   1283   if test "x$build_alias" = x; then
   1284     cross_compiling=maybe
   1285     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1286     If a cross compiler is detected then cross compile mode will be used" >&2
   1287   elif test "x$build_alias" != "x$host_alias"; then
   1288     cross_compiling=yes
   1289   fi
   1290 fi
   1291 
   1292 ac_tool_prefix=
   1293 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1294 
   1295 test "$silent" = yes && exec 6>/dev/null
   1296 
   1297 
   1298 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1299 ac_ls_di=`ls -di .` &&
   1300 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1301   as_fn_error $? "working directory cannot be determined"
   1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1303   as_fn_error $? "pwd does not report name of working directory"
   1304 
   1305 
   1306 # Find the source files, if location was not specified.
   1307 if test -z "$srcdir"; then
   1308   ac_srcdir_defaulted=yes
   1309   # Try the directory containing this script, then the parent directory.
   1310   ac_confdir=`$as_dirname -- "$as_myself" ||
   1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1312 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1313 	 X"$as_myself" : 'X\(//\)$' \| \
   1314 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1315 $as_echo X"$as_myself" |
   1316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  /^X\(\/\/\)[^/].*/{
   1321 	    s//\1/
   1322 	    q
   1323 	  }
   1324 	  /^X\(\/\/\)$/{
   1325 	    s//\1/
   1326 	    q
   1327 	  }
   1328 	  /^X\(\/\).*/{
   1329 	    s//\1/
   1330 	    q
   1331 	  }
   1332 	  s/.*/./; q'`
   1333   srcdir=$ac_confdir
   1334   if test ! -r "$srcdir/$ac_unique_file"; then
   1335     srcdir=..
   1336   fi
   1337 else
   1338   ac_srcdir_defaulted=no
   1339 fi
   1340 if test ! -r "$srcdir/$ac_unique_file"; then
   1341   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1342   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1343 fi
   1344 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1345 ac_abs_confdir=`(
   1346 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1347 	pwd)`
   1348 # When building in place, set srcdir=.
   1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1350   srcdir=.
   1351 fi
   1352 # Remove unnecessary trailing slashes from srcdir.
   1353 # Double slashes in file names in object file debugging info
   1354 # mess up M-x gdb in Emacs.
   1355 case $srcdir in
   1356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1357 esac
   1358 for ac_var in $ac_precious_vars; do
   1359   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1360   eval ac_env_${ac_var}_value=\$${ac_var}
   1361   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1362   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1363 done
   1364 
   1365 #
   1366 # Report the --help message.
   1367 #
   1368 if test "$ac_init_help" = "long"; then
   1369   # Omit some internal or obsolete options to make the list less imposing.
   1370   # This message is too long to be a string in the A/UX 3.1 sh.
   1371   cat <<_ACEOF
   1372 \`configure' configures xtrans 1.2.7 to adapt to many kinds of systems.
   1373 
   1374 Usage: $0 [OPTION]... [VAR=VALUE]...
   1375 
   1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1377 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1378 
   1379 Defaults for the options are specified in brackets.
   1380 
   1381 Configuration:
   1382   -h, --help              display this help and exit
   1383       --help=short        display options specific to this package
   1384       --help=recursive    display the short help of all the included packages
   1385   -V, --version           display version information and exit
   1386   -q, --quiet, --silent   do not print \`checking ...' messages
   1387       --cache-file=FILE   cache test results in FILE [disabled]
   1388   -C, --config-cache      alias for \`--cache-file=config.cache'
   1389   -n, --no-create         do not create output files
   1390       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1391 
   1392 Installation directories:
   1393   --prefix=PREFIX         install architecture-independent files in PREFIX
   1394                           [$ac_default_prefix]
   1395   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1396                           [PREFIX]
   1397 
   1398 By default, \`make install' will install all the files in
   1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1401 for instance \`--prefix=\$HOME'.
   1402 
   1403 For better control, use the options below.
   1404 
   1405 Fine tuning of the installation directories:
   1406   --bindir=DIR            user executables [EPREFIX/bin]
   1407   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1408   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1409   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1410   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1411   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1412   --libdir=DIR            object code libraries [EPREFIX/lib]
   1413   --includedir=DIR        C header files [PREFIX/include]
   1414   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1415   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1416   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1417   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1418   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1419   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1420   --docdir=DIR            documentation root [DATAROOTDIR/doc/xtrans]
   1421   --htmldir=DIR           html documentation [DOCDIR]
   1422   --dvidir=DIR            dvi documentation [DOCDIR]
   1423   --pdfdir=DIR            pdf documentation [DOCDIR]
   1424   --psdir=DIR             ps documentation [DOCDIR]
   1425 _ACEOF
   1426 
   1427   cat <<\_ACEOF
   1428 
   1429 Program names:
   1430   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1431   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1432   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1433 
   1434 System types:
   1435   --build=BUILD     configure for building on BUILD [guessed]
   1436   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1437 _ACEOF
   1438 fi
   1439 
   1440 if test -n "$ac_init_help"; then
   1441   case $ac_init_help in
   1442      short | recursive ) echo "Configuration of xtrans 1.2.7:";;
   1443    esac
   1444   cat <<\_ACEOF
   1445 
   1446 Optional Features:
   1447   --disable-option-checking  ignore unrecognized --enable/--with options
   1448   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1449   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1450   --enable-maintainer-mode  enable make rules and dependencies not useful
   1451 			  (and sometimes confusing) to the casual installer
   1452   --disable-dependency-tracking  speeds up one-time build
   1453   --enable-dependency-tracking   do not reject slow dependency extractors
   1454   --disable-selective-werror
   1455                           Turn off selective compiler errors. (default:
   1456                           enabled)
   1457   --enable-strict-compilation
   1458                           Enable all warnings from compiler and make them
   1459                           errors (default: disabled)
   1460   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1461   --disable-silent-rules         verbose build output (undo: `make V=0')
   1462   --enable-docs           Enable building the documentation (default: yes)
   1463 
   1464 Optional Packages:
   1465   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1466   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1467   --with-xmlto            Use xmlto to regenerate documentation (default:
   1468                           auto)
   1469   --with-fop              Use fop to regenerate documentation (default: auto)
   1470   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1471                           (default: auto)
   1472 
   1473 Some influential environment variables:
   1474   CC          C compiler command
   1475   CFLAGS      C compiler flags
   1476   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1477               nonstandard directory <lib dir>
   1478   LIBS        libraries to pass to the linker, e.g. -l<library>
   1479   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1480               you have headers in a nonstandard directory <include dir>
   1481   CPP         C preprocessor
   1482   PKG_CONFIG  path to pkg-config utility
   1483   XMLTO       Path to xmlto command
   1484   FOP         Path to fop command
   1485   XSLTPROC    Path to xsltproc command
   1486 
   1487 Use these variables to override the choices made by `configure' or to help
   1488 it to find libraries and programs with nonstandard names/locations.
   1489 
   1490 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1491 _ACEOF
   1492 ac_status=$?
   1493 fi
   1494 
   1495 if test "$ac_init_help" = "recursive"; then
   1496   # If there are subdirs, report their specific --help.
   1497   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1498     test -d "$ac_dir" ||
   1499       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1500       continue
   1501     ac_builddir=.
   1502 
   1503 case "$ac_dir" in
   1504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1505 *)
   1506   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1507   # A ".." for each directory in $ac_dir_suffix.
   1508   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1509   case $ac_top_builddir_sub in
   1510   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1511   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1512   esac ;;
   1513 esac
   1514 ac_abs_top_builddir=$ac_pwd
   1515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1516 # for backward compatibility:
   1517 ac_top_builddir=$ac_top_build_prefix
   1518 
   1519 case $srcdir in
   1520   .)  # We are building in place.
   1521     ac_srcdir=.
   1522     ac_top_srcdir=$ac_top_builddir_sub
   1523     ac_abs_top_srcdir=$ac_pwd ;;
   1524   [\\/]* | ?:[\\/]* )  # Absolute name.
   1525     ac_srcdir=$srcdir$ac_dir_suffix;
   1526     ac_top_srcdir=$srcdir
   1527     ac_abs_top_srcdir=$srcdir ;;
   1528   *) # Relative name.
   1529     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1530     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1531     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1532 esac
   1533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1534 
   1535     cd "$ac_dir" || { ac_status=$?; continue; }
   1536     # Check for guested configure.
   1537     if test -f "$ac_srcdir/configure.gnu"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1540     elif test -f "$ac_srcdir/configure"; then
   1541       echo &&
   1542       $SHELL "$ac_srcdir/configure" --help=recursive
   1543     else
   1544       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1545     fi || ac_status=$?
   1546     cd "$ac_pwd" || { ac_status=$?; break; }
   1547   done
   1548 fi
   1549 
   1550 test -n "$ac_init_help" && exit $ac_status
   1551 if $ac_init_version; then
   1552   cat <<\_ACEOF
   1553 xtrans configure 1.2.7
   1554 generated by GNU Autoconf 2.68
   1555 
   1556 Copyright (C) 2010 Free Software Foundation, Inc.
   1557 This configure script is free software; the Free Software Foundation
   1558 gives unlimited permission to copy, distribute and modify it.
   1559 _ACEOF
   1560   exit
   1561 fi
   1562 
   1563 ## ------------------------ ##
   1564 ## Autoconf initialization. ##
   1565 ## ------------------------ ##
   1566 
   1567 # ac_fn_c_try_compile LINENO
   1568 # --------------------------
   1569 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1570 ac_fn_c_try_compile ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   rm -f conftest.$ac_objext
   1574   if { { ac_try="$ac_compile"
   1575 case "(($ac_try" in
   1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1577   *) ac_try_echo=$ac_try;;
   1578 esac
   1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1580 $as_echo "$ac_try_echo"; } >&5
   1581   (eval "$ac_compile") 2>conftest.err
   1582   ac_status=$?
   1583   if test -s conftest.err; then
   1584     grep -v '^ *+' conftest.err >conftest.er1
   1585     cat conftest.er1 >&5
   1586     mv -f conftest.er1 conftest.err
   1587   fi
   1588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1589   test $ac_status = 0; } && {
   1590 	 test -z "$ac_c_werror_flag" ||
   1591 	 test ! -s conftest.err
   1592        } && test -s conftest.$ac_objext; then :
   1593   ac_retval=0
   1594 else
   1595   $as_echo "$as_me: failed program was:" >&5
   1596 sed 's/^/| /' conftest.$ac_ext >&5
   1597 
   1598 	ac_retval=1
   1599 fi
   1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1601   as_fn_set_status $ac_retval
   1602 
   1603 } # ac_fn_c_try_compile
   1604 
   1605 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1606 # ---------------------------------------------
   1607 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1608 # accordingly.
   1609 ac_fn_c_check_decl ()
   1610 {
   1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1612   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1613   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1615 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1616 if eval \${$3+:} false; then :
   1617   $as_echo_n "(cached) " >&6
   1618 else
   1619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1620 /* end confdefs.h.  */
   1621 $4
   1622 int
   1623 main ()
   1624 {
   1625 #ifndef $as_decl_name
   1626 #ifdef __cplusplus
   1627   (void) $as_decl_use;
   1628 #else
   1629   (void) $as_decl_name;
   1630 #endif
   1631 #endif
   1632 
   1633   ;
   1634   return 0;
   1635 }
   1636 _ACEOF
   1637 if ac_fn_c_try_compile "$LINENO"; then :
   1638   eval "$3=yes"
   1639 else
   1640   eval "$3=no"
   1641 fi
   1642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1643 fi
   1644 eval ac_res=\$$3
   1645 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1646 $as_echo "$ac_res" >&6; }
   1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1648 
   1649 } # ac_fn_c_check_decl
   1650 
   1651 # ac_fn_c_try_cpp LINENO
   1652 # ----------------------
   1653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1654 ac_fn_c_try_cpp ()
   1655 {
   1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1657   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1658 case "(($ac_try" in
   1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1660   *) ac_try_echo=$ac_try;;
   1661 esac
   1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1663 $as_echo "$ac_try_echo"; } >&5
   1664   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1665   ac_status=$?
   1666   if test -s conftest.err; then
   1667     grep -v '^ *+' conftest.err >conftest.er1
   1668     cat conftest.er1 >&5
   1669     mv -f conftest.er1 conftest.err
   1670   fi
   1671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1672   test $ac_status = 0; } > conftest.i && {
   1673 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1674 	 test ! -s conftest.err
   1675        }; then :
   1676   ac_retval=0
   1677 else
   1678   $as_echo "$as_me: failed program was:" >&5
   1679 sed 's/^/| /' conftest.$ac_ext >&5
   1680 
   1681     ac_retval=1
   1682 fi
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684   as_fn_set_status $ac_retval
   1685 
   1686 } # ac_fn_c_try_cpp
   1687 
   1688 # ac_fn_c_try_run LINENO
   1689 # ----------------------
   1690 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1691 # that executables *can* be run.
   1692 ac_fn_c_try_run ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   if { { ac_try="$ac_link"
   1696 case "(($ac_try" in
   1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1698   *) ac_try_echo=$ac_try;;
   1699 esac
   1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1701 $as_echo "$ac_try_echo"; } >&5
   1702   (eval "$ac_link") 2>&5
   1703   ac_status=$?
   1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1706   { { case "(($ac_try" in
   1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1708   *) ac_try_echo=$ac_try;;
   1709 esac
   1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1711 $as_echo "$ac_try_echo"; } >&5
   1712   (eval "$ac_try") 2>&5
   1713   ac_status=$?
   1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1715   test $ac_status = 0; }; }; then :
   1716   ac_retval=0
   1717 else
   1718   $as_echo "$as_me: program exited with status $ac_status" >&5
   1719        $as_echo "$as_me: failed program was:" >&5
   1720 sed 's/^/| /' conftest.$ac_ext >&5
   1721 
   1722        ac_retval=$ac_status
   1723 fi
   1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1726   as_fn_set_status $ac_retval
   1727 
   1728 } # ac_fn_c_try_run
   1729 
   1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1731 # -------------------------------------------------------
   1732 # Tests whether HEADER exists and can be compiled using the include files in
   1733 # INCLUDES, setting the cache variable VAR accordingly.
   1734 ac_fn_c_check_header_compile ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 $as_echo_n "checking for $2... " >&6; }
   1739 if eval \${$3+:} false; then :
   1740   $as_echo_n "(cached) " >&6
   1741 else
   1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1743 /* end confdefs.h.  */
   1744 $4
   1745 #include <$2>
   1746 _ACEOF
   1747 if ac_fn_c_try_compile "$LINENO"; then :
   1748   eval "$3=yes"
   1749 else
   1750   eval "$3=no"
   1751 fi
   1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1753 fi
   1754 eval ac_res=\$$3
   1755 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1756 $as_echo "$ac_res" >&6; }
   1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1758 
   1759 } # ac_fn_c_check_header_compile
   1760 
   1761 # ac_fn_c_try_link LINENO
   1762 # -----------------------
   1763 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1764 ac_fn_c_try_link ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   rm -f conftest.$ac_objext conftest$ac_exeext
   1768   if { { ac_try="$ac_link"
   1769 case "(($ac_try" in
   1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1771   *) ac_try_echo=$ac_try;;
   1772 esac
   1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1774 $as_echo "$ac_try_echo"; } >&5
   1775   (eval "$ac_link") 2>conftest.err
   1776   ac_status=$?
   1777   if test -s conftest.err; then
   1778     grep -v '^ *+' conftest.err >conftest.er1
   1779     cat conftest.er1 >&5
   1780     mv -f conftest.er1 conftest.err
   1781   fi
   1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1783   test $ac_status = 0; } && {
   1784 	 test -z "$ac_c_werror_flag" ||
   1785 	 test ! -s conftest.err
   1786        } && test -s conftest$ac_exeext && {
   1787 	 test "$cross_compiling" = yes ||
   1788 	 $as_test_x conftest$ac_exeext
   1789        }; then :
   1790   ac_retval=0
   1791 else
   1792   $as_echo "$as_me: failed program was:" >&5
   1793 sed 's/^/| /' conftest.$ac_ext >&5
   1794 
   1795 	ac_retval=1
   1796 fi
   1797   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1798   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1799   # interfere with the next link command; also delete a directory that is
   1800   # left behind by Apple's compiler.  We do this before executing the actions.
   1801   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1802   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1803   as_fn_set_status $ac_retval
   1804 
   1805 } # ac_fn_c_try_link
   1806 
   1807 # ac_fn_c_check_func LINENO FUNC VAR
   1808 # ----------------------------------
   1809 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1810 ac_fn_c_check_func ()
   1811 {
   1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1814 $as_echo_n "checking for $2... " >&6; }
   1815 if eval \${$3+:} false; then :
   1816   $as_echo_n "(cached) " >&6
   1817 else
   1818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1819 /* end confdefs.h.  */
   1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1822 #define $2 innocuous_$2
   1823 
   1824 /* System header to define __stub macros and hopefully few prototypes,
   1825     which can conflict with char $2 (); below.
   1826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1827     <limits.h> exists even on freestanding compilers.  */
   1828 
   1829 #ifdef __STDC__
   1830 # include <limits.h>
   1831 #else
   1832 # include <assert.h>
   1833 #endif
   1834 
   1835 #undef $2
   1836 
   1837 /* Override any GCC internal prototype to avoid an error.
   1838    Use char because int might match the return type of a GCC
   1839    builtin and then its argument prototype would still apply.  */
   1840 #ifdef __cplusplus
   1841 extern "C"
   1842 #endif
   1843 char $2 ();
   1844 /* The GNU C library defines this for functions which it implements
   1845     to always fail with ENOSYS.  Some functions are actually named
   1846     something starting with __ and the normal name is an alias.  */
   1847 #if defined __stub_$2 || defined __stub___$2
   1848 choke me
   1849 #endif
   1850 
   1851 int
   1852 main ()
   1853 {
   1854 return $2 ();
   1855   ;
   1856   return 0;
   1857 }
   1858 _ACEOF
   1859 if ac_fn_c_try_link "$LINENO"; then :
   1860   eval "$3=yes"
   1861 else
   1862   eval "$3=no"
   1863 fi
   1864 rm -f core conftest.err conftest.$ac_objext \
   1865     conftest$ac_exeext conftest.$ac_ext
   1866 fi
   1867 eval ac_res=\$$3
   1868 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1869 $as_echo "$ac_res" >&6; }
   1870   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1871 
   1872 } # ac_fn_c_check_func
   1873 cat >config.log <<_ACEOF
   1874 This file contains any messages produced by compilers while
   1875 running configure, to aid debugging if configure makes a mistake.
   1876 
   1877 It was created by xtrans $as_me 1.2.7, which was
   1878 generated by GNU Autoconf 2.68.  Invocation command line was
   1879 
   1880   $ $0 $@
   1881 
   1882 _ACEOF
   1883 exec 5>>config.log
   1884 {
   1885 cat <<_ASUNAME
   1886 ## --------- ##
   1887 ## Platform. ##
   1888 ## --------- ##
   1889 
   1890 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1891 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1892 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1893 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1894 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1895 
   1896 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1897 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1898 
   1899 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1900 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1901 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1902 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1903 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1904 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1905 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1906 
   1907 _ASUNAME
   1908 
   1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1910 for as_dir in $PATH
   1911 do
   1912   IFS=$as_save_IFS
   1913   test -z "$as_dir" && as_dir=.
   1914     $as_echo "PATH: $as_dir"
   1915   done
   1916 IFS=$as_save_IFS
   1917 
   1918 } >&5
   1919 
   1920 cat >&5 <<_ACEOF
   1921 
   1922 
   1923 ## ----------- ##
   1924 ## Core tests. ##
   1925 ## ----------- ##
   1926 
   1927 _ACEOF
   1928 
   1929 
   1930 # Keep a trace of the command line.
   1931 # Strip out --no-create and --no-recursion so they do not pile up.
   1932 # Strip out --silent because we don't want to record it for future runs.
   1933 # Also quote any args containing shell meta-characters.
   1934 # Make two passes to allow for proper duplicate-argument suppression.
   1935 ac_configure_args=
   1936 ac_configure_args0=
   1937 ac_configure_args1=
   1938 ac_must_keep_next=false
   1939 for ac_pass in 1 2
   1940 do
   1941   for ac_arg
   1942   do
   1943     case $ac_arg in
   1944     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1945     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1946     | -silent | --silent | --silen | --sile | --sil)
   1947       continue ;;
   1948     *\'*)
   1949       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1950     esac
   1951     case $ac_pass in
   1952     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1953     2)
   1954       as_fn_append ac_configure_args1 " '$ac_arg'"
   1955       if test $ac_must_keep_next = true; then
   1956 	ac_must_keep_next=false # Got value, back to normal.
   1957       else
   1958 	case $ac_arg in
   1959 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1960 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1961 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1962 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1963 	    case "$ac_configure_args0 " in
   1964 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1965 	    esac
   1966 	    ;;
   1967 	  -* ) ac_must_keep_next=true ;;
   1968 	esac
   1969       fi
   1970       as_fn_append ac_configure_args " '$ac_arg'"
   1971       ;;
   1972     esac
   1973   done
   1974 done
   1975 { ac_configure_args0=; unset ac_configure_args0;}
   1976 { ac_configure_args1=; unset ac_configure_args1;}
   1977 
   1978 # When interrupted or exit'd, cleanup temporary files, and complete
   1979 # config.log.  We remove comments because anyway the quotes in there
   1980 # would cause problems or look ugly.
   1981 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1982 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1983 trap 'exit_status=$?
   1984   # Save into config.log some information that might help in debugging.
   1985   {
   1986     echo
   1987 
   1988     $as_echo "## ---------------- ##
   1989 ## Cache variables. ##
   1990 ## ---------------- ##"
   1991     echo
   1992     # The following way of writing the cache mishandles newlines in values,
   1993 (
   1994   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1995     eval ac_val=\$$ac_var
   1996     case $ac_val in #(
   1997     *${as_nl}*)
   1998       case $ac_var in #(
   1999       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2001       esac
   2002       case $ac_var in #(
   2003       _ | IFS | as_nl) ;; #(
   2004       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2005       *) { eval $ac_var=; unset $ac_var;} ;;
   2006       esac ;;
   2007     esac
   2008   done
   2009   (set) 2>&1 |
   2010     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2011     *${as_nl}ac_space=\ *)
   2012       sed -n \
   2013 	"s/'\''/'\''\\\\'\'''\''/g;
   2014 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2015       ;; #(
   2016     *)
   2017       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2018       ;;
   2019     esac |
   2020     sort
   2021 )
   2022     echo
   2023 
   2024     $as_echo "## ----------------- ##
   2025 ## Output variables. ##
   2026 ## ----------------- ##"
   2027     echo
   2028     for ac_var in $ac_subst_vars
   2029     do
   2030       eval ac_val=\$$ac_var
   2031       case $ac_val in
   2032       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2033       esac
   2034       $as_echo "$ac_var='\''$ac_val'\''"
   2035     done | sort
   2036     echo
   2037 
   2038     if test -n "$ac_subst_files"; then
   2039       $as_echo "## ------------------- ##
   2040 ## File substitutions. ##
   2041 ## ------------------- ##"
   2042       echo
   2043       for ac_var in $ac_subst_files
   2044       do
   2045 	eval ac_val=\$$ac_var
   2046 	case $ac_val in
   2047 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2048 	esac
   2049 	$as_echo "$ac_var='\''$ac_val'\''"
   2050       done | sort
   2051       echo
   2052     fi
   2053 
   2054     if test -s confdefs.h; then
   2055       $as_echo "## ----------- ##
   2056 ## confdefs.h. ##
   2057 ## ----------- ##"
   2058       echo
   2059       cat confdefs.h
   2060       echo
   2061     fi
   2062     test "$ac_signal" != 0 &&
   2063       $as_echo "$as_me: caught signal $ac_signal"
   2064     $as_echo "$as_me: exit $exit_status"
   2065   } >&5
   2066   rm -f core *.core core.conftest.* &&
   2067     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2068     exit $exit_status
   2069 ' 0
   2070 for ac_signal in 1 2 13 15; do
   2071   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2072 done
   2073 ac_signal=0
   2074 
   2075 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2076 rm -f -r conftest* confdefs.h
   2077 
   2078 $as_echo "/* confdefs.h */" > confdefs.h
   2079 
   2080 # Predefined preprocessor variables.
   2081 
   2082 cat >>confdefs.h <<_ACEOF
   2083 #define PACKAGE_NAME "$PACKAGE_NAME"
   2084 _ACEOF
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2092 _ACEOF
   2093 
   2094 cat >>confdefs.h <<_ACEOF
   2095 #define PACKAGE_STRING "$PACKAGE_STRING"
   2096 _ACEOF
   2097 
   2098 cat >>confdefs.h <<_ACEOF
   2099 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2100 _ACEOF
   2101 
   2102 cat >>confdefs.h <<_ACEOF
   2103 #define PACKAGE_URL "$PACKAGE_URL"
   2104 _ACEOF
   2105 
   2106 
   2107 # Let the site file select an alternate cache file if it wants to.
   2108 # Prefer an explicitly selected file to automatically selected ones.
   2109 ac_site_file1=NONE
   2110 ac_site_file2=NONE
   2111 if test -n "$CONFIG_SITE"; then
   2112   # We do not want a PATH search for config.site.
   2113   case $CONFIG_SITE in #((
   2114     -*)  ac_site_file1=./$CONFIG_SITE;;
   2115     */*) ac_site_file1=$CONFIG_SITE;;
   2116     *)   ac_site_file1=./$CONFIG_SITE;;
   2117   esac
   2118 elif test "x$prefix" != xNONE; then
   2119   ac_site_file1=$prefix/share/config.site
   2120   ac_site_file2=$prefix/etc/config.site
   2121 else
   2122   ac_site_file1=$ac_default_prefix/share/config.site
   2123   ac_site_file2=$ac_default_prefix/etc/config.site
   2124 fi
   2125 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2126 do
   2127   test "x$ac_site_file" = xNONE && continue
   2128   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2129     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2130 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2131     sed 's/^/| /' "$ac_site_file" >&5
   2132     . "$ac_site_file" \
   2133       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2135 as_fn_error $? "failed to load site script $ac_site_file
   2136 See \`config.log' for more details" "$LINENO" 5; }
   2137   fi
   2138 done
   2139 
   2140 if test -r "$cache_file"; then
   2141   # Some versions of bash will fail to source /dev/null (special files
   2142   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2143   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2144     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2145 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2146     case $cache_file in
   2147       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2148       *)                      . "./$cache_file";;
   2149     esac
   2150   fi
   2151 else
   2152   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2153 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2154   >$cache_file
   2155 fi
   2156 
   2157 # Check that the precious variables saved in the cache have kept the same
   2158 # value.
   2159 ac_cache_corrupted=false
   2160 for ac_var in $ac_precious_vars; do
   2161   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2162   eval ac_new_set=\$ac_env_${ac_var}_set
   2163   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2164   eval ac_new_val=\$ac_env_${ac_var}_value
   2165   case $ac_old_set,$ac_new_set in
   2166     set,)
   2167       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2168 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2169       ac_cache_corrupted=: ;;
   2170     ,set)
   2171       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2172 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2173       ac_cache_corrupted=: ;;
   2174     ,);;
   2175     *)
   2176       if test "x$ac_old_val" != "x$ac_new_val"; then
   2177 	# differences in whitespace do not lead to failure.
   2178 	ac_old_val_w=`echo x $ac_old_val`
   2179 	ac_new_val_w=`echo x $ac_new_val`
   2180 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2181 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2182 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2183 	  ac_cache_corrupted=:
   2184 	else
   2185 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2186 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2187 	  eval $ac_var=\$ac_old_val
   2188 	fi
   2189 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2190 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2191 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2192 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2193       fi;;
   2194   esac
   2195   # Pass precious variables to config.status.
   2196   if test "$ac_new_set" = set; then
   2197     case $ac_new_val in
   2198     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2199     *) ac_arg=$ac_var=$ac_new_val ;;
   2200     esac
   2201     case " $ac_configure_args " in
   2202       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2203       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2204     esac
   2205   fi
   2206 done
   2207 if $ac_cache_corrupted; then
   2208   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2210   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2211 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2212   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2213 fi
   2214 ## -------------------- ##
   2215 ## Main body of script. ##
   2216 ## -------------------- ##
   2217 
   2218 ac_ext=c
   2219 ac_cpp='$CPP $CPPFLAGS'
   2220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2223 
   2224 
   2225 
   2226 
   2227 # Initialize Automake
   2228 am__api_version='1.11'
   2229 
   2230 ac_aux_dir=
   2231 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2232   if test -f "$ac_dir/install-sh"; then
   2233     ac_aux_dir=$ac_dir
   2234     ac_install_sh="$ac_aux_dir/install-sh -c"
   2235     break
   2236   elif test -f "$ac_dir/install.sh"; then
   2237     ac_aux_dir=$ac_dir
   2238     ac_install_sh="$ac_aux_dir/install.sh -c"
   2239     break
   2240   elif test -f "$ac_dir/shtool"; then
   2241     ac_aux_dir=$ac_dir
   2242     ac_install_sh="$ac_aux_dir/shtool install -c"
   2243     break
   2244   fi
   2245 done
   2246 if test -z "$ac_aux_dir"; then
   2247   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2248 fi
   2249 
   2250 # These three variables are undocumented and unsupported,
   2251 # and are intended to be withdrawn in a future Autoconf release.
   2252 # They can cause serious problems if a builder's source tree is in a directory
   2253 # whose full name contains unusual characters.
   2254 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2255 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2256 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2257 
   2258 
   2259 # Find a good install program.  We prefer a C program (faster),
   2260 # so one script is as good as another.  But avoid the broken or
   2261 # incompatible versions:
   2262 # SysV /etc/install, /usr/sbin/install
   2263 # SunOS /usr/etc/install
   2264 # IRIX /sbin/install
   2265 # AIX /bin/install
   2266 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2270 # OS/2's system install, which has a completely different semantic
   2271 # ./install, which can be erroneously created by make from ./install.sh.
   2272 # Reject install programs that cannot install multiple files.
   2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2275 if test -z "$INSTALL"; then
   2276 if ${ac_cv_path_install+:} false; then :
   2277   $as_echo_n "(cached) " >&6
   2278 else
   2279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284     # Account for people who put trailing slashes in PATH elements.
   2285 case $as_dir/ in #((
   2286   ./ | .// | /[cC]/* | \
   2287   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2288   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2289   /usr/ucb/* ) ;;
   2290   *)
   2291     # OSF1 and SCO ODT 3.0 have their own names for install.
   2292     # Don't use installbsd from OSF since it installs stuff as root
   2293     # by default.
   2294     for ac_prog in ginstall scoinst install; do
   2295       for ac_exec_ext in '' $ac_executable_extensions; do
   2296 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2297 	  if test $ac_prog = install &&
   2298 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2299 	    # AIX install.  It has an incompatible calling convention.
   2300 	    :
   2301 	  elif test $ac_prog = install &&
   2302 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2303 	    # program-specific install script used by HP pwplus--don't use.
   2304 	    :
   2305 	  else
   2306 	    rm -rf conftest.one conftest.two conftest.dir
   2307 	    echo one > conftest.one
   2308 	    echo two > conftest.two
   2309 	    mkdir conftest.dir
   2310 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2311 	      test -s conftest.one && test -s conftest.two &&
   2312 	      test -s conftest.dir/conftest.one &&
   2313 	      test -s conftest.dir/conftest.two
   2314 	    then
   2315 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2316 	      break 3
   2317 	    fi
   2318 	  fi
   2319 	fi
   2320       done
   2321     done
   2322     ;;
   2323 esac
   2324 
   2325   done
   2326 IFS=$as_save_IFS
   2327 
   2328 rm -rf conftest.one conftest.two conftest.dir
   2329 
   2330 fi
   2331   if test "${ac_cv_path_install+set}" = set; then
   2332     INSTALL=$ac_cv_path_install
   2333   else
   2334     # As a last resort, use the slow shell script.  Don't cache a
   2335     # value for INSTALL within a source directory, because that will
   2336     # break other packages using the cache if that directory is
   2337     # removed, or if the value is a relative name.
   2338     INSTALL=$ac_install_sh
   2339   fi
   2340 fi
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2342 $as_echo "$INSTALL" >&6; }
   2343 
   2344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2345 # It thinks the first close brace ends the variable substitution.
   2346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2347 
   2348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2349 
   2350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2351 
   2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2353 $as_echo_n "checking whether build environment is sane... " >&6; }
   2354 # Just in case
   2355 sleep 1
   2356 echo timestamp > conftest.file
   2357 # Reject unsafe characters in $srcdir or the absolute working directory
   2358 # name.  Accept space and tab only in the latter.
   2359 am_lf='
   2360 '
   2361 case `pwd` in
   2362   *[\\\"\#\$\&\'\`$am_lf]*)
   2363     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2364 esac
   2365 case $srcdir in
   2366   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2367     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2368 esac
   2369 
   2370 # Do `set' in a subshell so we don't clobber the current shell's
   2371 # arguments.  Must try -L first in case configure is actually a
   2372 # symlink; some systems play weird games with the mod time of symlinks
   2373 # (eg FreeBSD returns the mod time of the symlink's containing
   2374 # directory).
   2375 if (
   2376    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2377    if test "$*" = "X"; then
   2378       # -L didn't work.
   2379       set X `ls -t "$srcdir/configure" conftest.file`
   2380    fi
   2381    rm -f conftest.file
   2382    if test "$*" != "X $srcdir/configure conftest.file" \
   2383       && test "$*" != "X conftest.file $srcdir/configure"; then
   2384 
   2385       # If neither matched, then we have a broken ls.  This can happen
   2386       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2387       # broken ls alias from the environment.  This has actually
   2388       # happened.  Such a system could not be considered "sane".
   2389       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2390 alias in your environment" "$LINENO" 5
   2391    fi
   2392 
   2393    test "$2" = conftest.file
   2394    )
   2395 then
   2396    # Ok.
   2397    :
   2398 else
   2399    as_fn_error $? "newly created file is older than distributed files!
   2400 Check your system clock" "$LINENO" 5
   2401 fi
   2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2403 $as_echo "yes" >&6; }
   2404 test "$program_prefix" != NONE &&
   2405   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2406 # Use a double $ so make ignores it.
   2407 test "$program_suffix" != NONE &&
   2408   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2409 # Double any \ or $.
   2410 # By default was `s,x,x', remove it if useless.
   2411 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2412 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2413 
   2414 # expand $ac_aux_dir to an absolute path
   2415 am_aux_dir=`cd $ac_aux_dir && pwd`
   2416 
   2417 if test x"${MISSING+set}" != xset; then
   2418   case $am_aux_dir in
   2419   *\ * | *\	*)
   2420     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2421   *)
   2422     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2423   esac
   2424 fi
   2425 # Use eval to expand $SHELL
   2426 if eval "$MISSING --run true"; then
   2427   am_missing_run="$MISSING --run "
   2428 else
   2429   am_missing_run=
   2430   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2431 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2432 fi
   2433 
   2434 if test x"${install_sh}" != xset; then
   2435   case $am_aux_dir in
   2436   *\ * | *\	*)
   2437     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2438   *)
   2439     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2440   esac
   2441 fi
   2442 
   2443 # Installed binaries are usually stripped using `strip' when the user
   2444 # run `make install-strip'.  However `strip' might not be the right
   2445 # tool to use in cross-compilation environments, therefore Automake
   2446 # will honor the `STRIP' environment variable to overrule this program.
   2447 if test "$cross_compiling" != no; then
   2448   if test -n "$ac_tool_prefix"; then
   2449   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2450 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2452 $as_echo_n "checking for $ac_word... " >&6; }
   2453 if ${ac_cv_prog_STRIP+:} false; then :
   2454   $as_echo_n "(cached) " >&6
   2455 else
   2456   if test -n "$STRIP"; then
   2457   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2458 else
   2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2460 for as_dir in $PATH
   2461 do
   2462   IFS=$as_save_IFS
   2463   test -z "$as_dir" && as_dir=.
   2464     for ac_exec_ext in '' $ac_executable_extensions; do
   2465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2466     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2468     break 2
   2469   fi
   2470 done
   2471   done
   2472 IFS=$as_save_IFS
   2473 
   2474 fi
   2475 fi
   2476 STRIP=$ac_cv_prog_STRIP
   2477 if test -n "$STRIP"; then
   2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2479 $as_echo "$STRIP" >&6; }
   2480 else
   2481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2482 $as_echo "no" >&6; }
   2483 fi
   2484 
   2485 
   2486 fi
   2487 if test -z "$ac_cv_prog_STRIP"; then
   2488   ac_ct_STRIP=$STRIP
   2489   # Extract the first word of "strip", so it can be a program name with args.
   2490 set dummy strip; ac_word=$2
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2492 $as_echo_n "checking for $ac_word... " >&6; }
   2493 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2494   $as_echo_n "(cached) " >&6
   2495 else
   2496   if test -n "$ac_ct_STRIP"; then
   2497   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2498 else
   2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2500 for as_dir in $PATH
   2501 do
   2502   IFS=$as_save_IFS
   2503   test -z "$as_dir" && as_dir=.
   2504     for ac_exec_ext in '' $ac_executable_extensions; do
   2505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2506     ac_cv_prog_ac_ct_STRIP="strip"
   2507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2508     break 2
   2509   fi
   2510 done
   2511   done
   2512 IFS=$as_save_IFS
   2513 
   2514 fi
   2515 fi
   2516 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2517 if test -n "$ac_ct_STRIP"; then
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2519 $as_echo "$ac_ct_STRIP" >&6; }
   2520 else
   2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523 fi
   2524 
   2525   if test "x$ac_ct_STRIP" = x; then
   2526     STRIP=":"
   2527   else
   2528     case $cross_compiling:$ac_tool_warned in
   2529 yes:)
   2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2532 ac_tool_warned=yes ;;
   2533 esac
   2534     STRIP=$ac_ct_STRIP
   2535   fi
   2536 else
   2537   STRIP="$ac_cv_prog_STRIP"
   2538 fi
   2539 
   2540 fi
   2541 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2542 
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2544 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2545 if test -z "$MKDIR_P"; then
   2546   if ${ac_cv_path_mkdir+:} false; then :
   2547   $as_echo_n "(cached) " >&6
   2548 else
   2549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2550 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2551 do
   2552   IFS=$as_save_IFS
   2553   test -z "$as_dir" && as_dir=.
   2554     for ac_prog in mkdir gmkdir; do
   2555 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2556 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2557 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2558 	     'mkdir (GNU coreutils) '* | \
   2559 	     'mkdir (coreutils) '* | \
   2560 	     'mkdir (fileutils) '4.1*)
   2561 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2562 	       break 3;;
   2563 	   esac
   2564 	 done
   2565        done
   2566   done
   2567 IFS=$as_save_IFS
   2568 
   2569 fi
   2570 
   2571   test -d ./--version && rmdir ./--version
   2572   if test "${ac_cv_path_mkdir+set}" = set; then
   2573     MKDIR_P="$ac_cv_path_mkdir -p"
   2574   else
   2575     # As a last resort, use the slow shell script.  Don't cache a
   2576     # value for MKDIR_P within a source directory, because that will
   2577     # break other packages using the cache if that directory is
   2578     # removed, or if the value is a relative name.
   2579     MKDIR_P="$ac_install_sh -d"
   2580   fi
   2581 fi
   2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2583 $as_echo "$MKDIR_P" >&6; }
   2584 
   2585 mkdir_p="$MKDIR_P"
   2586 case $mkdir_p in
   2587   [\\/$]* | ?:[\\/]*) ;;
   2588   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2589 esac
   2590 
   2591 for ac_prog in gawk mawk nawk awk
   2592 do
   2593   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2594 set dummy $ac_prog; ac_word=$2
   2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2596 $as_echo_n "checking for $ac_word... " >&6; }
   2597 if ${ac_cv_prog_AWK+:} false; then :
   2598   $as_echo_n "(cached) " >&6
   2599 else
   2600   if test -n "$AWK"; then
   2601   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2602 else
   2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2604 for as_dir in $PATH
   2605 do
   2606   IFS=$as_save_IFS
   2607   test -z "$as_dir" && as_dir=.
   2608     for ac_exec_ext in '' $ac_executable_extensions; do
   2609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2610     ac_cv_prog_AWK="$ac_prog"
   2611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2612     break 2
   2613   fi
   2614 done
   2615   done
   2616 IFS=$as_save_IFS
   2617 
   2618 fi
   2619 fi
   2620 AWK=$ac_cv_prog_AWK
   2621 if test -n "$AWK"; then
   2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2623 $as_echo "$AWK" >&6; }
   2624 else
   2625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2626 $as_echo "no" >&6; }
   2627 fi
   2628 
   2629 
   2630   test -n "$AWK" && break
   2631 done
   2632 
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2634 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2635 set x ${MAKE-make}
   2636 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2637 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2638   $as_echo_n "(cached) " >&6
   2639 else
   2640   cat >conftest.make <<\_ACEOF
   2641 SHELL = /bin/sh
   2642 all:
   2643 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2644 _ACEOF
   2645 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2646 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2647   *@@@%%%=?*=@@@%%%*)
   2648     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2649   *)
   2650     eval ac_cv_prog_make_${ac_make}_set=no;;
   2651 esac
   2652 rm -f conftest.make
   2653 fi
   2654 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2656 $as_echo "yes" >&6; }
   2657   SET_MAKE=
   2658 else
   2659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2660 $as_echo "no" >&6; }
   2661   SET_MAKE="MAKE=${MAKE-make}"
   2662 fi
   2663 
   2664 rm -rf .tst 2>/dev/null
   2665 mkdir .tst 2>/dev/null
   2666 if test -d .tst; then
   2667   am__leading_dot=.
   2668 else
   2669   am__leading_dot=_
   2670 fi
   2671 rmdir .tst 2>/dev/null
   2672 
   2673 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2674   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2675   # is not polluted with repeated "-I."
   2676   am__isrc=' -I$(srcdir)'
   2677   # test to see if srcdir already configured
   2678   if test -f $srcdir/config.status; then
   2679     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2680   fi
   2681 fi
   2682 
   2683 # test whether we have cygpath
   2684 if test -z "$CYGPATH_W"; then
   2685   if (cygpath --version) >/dev/null 2>/dev/null; then
   2686     CYGPATH_W='cygpath -w'
   2687   else
   2688     CYGPATH_W=echo
   2689   fi
   2690 fi
   2691 
   2692 
   2693 # Define the identity of the package.
   2694  PACKAGE='xtrans'
   2695  VERSION='1.2.7'
   2696 
   2697 
   2698 cat >>confdefs.h <<_ACEOF
   2699 #define PACKAGE "$PACKAGE"
   2700 _ACEOF
   2701 
   2702 
   2703 cat >>confdefs.h <<_ACEOF
   2704 #define VERSION "$VERSION"
   2705 _ACEOF
   2706 
   2707 # Some tools Automake needs.
   2708 
   2709 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2710 
   2711 
   2712 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2713 
   2714 
   2715 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2716 
   2717 
   2718 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2719 
   2720 
   2721 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2722 
   2723 # We need awk for the "check" target.  The system "awk" is bad on
   2724 # some platforms.
   2725 # Always define AMTAR for backward compatibility.
   2726 
   2727 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2728 
   2729 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2730 
   2731 
   2732 
   2733 
   2734 
   2735 
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2737 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2738     # Check whether --enable-maintainer-mode was given.
   2739 if test "${enable_maintainer_mode+set}" = set; then :
   2740   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2741 else
   2742   USE_MAINTAINER_MODE=no
   2743 fi
   2744 
   2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2746 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2747    if test $USE_MAINTAINER_MODE = yes; then
   2748   MAINTAINER_MODE_TRUE=
   2749   MAINTAINER_MODE_FALSE='#'
   2750 else
   2751   MAINTAINER_MODE_TRUE='#'
   2752   MAINTAINER_MODE_FALSE=
   2753 fi
   2754 
   2755   MAINT=$MAINTAINER_MODE_TRUE
   2756 
   2757 
   2758 
   2759 # Require xorg-macros minimum of 1.12 for DocBook external references
   2760 
   2761 
   2762 
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 
   2769 
   2770 
   2771 DEPDIR="${am__leading_dot}deps"
   2772 
   2773 ac_config_commands="$ac_config_commands depfiles"
   2774 
   2775 
   2776 am_make=${MAKE-make}
   2777 cat > confinc << 'END'
   2778 am__doit:
   2779 	@echo this is the am__doit target
   2780 .PHONY: am__doit
   2781 END
   2782 # If we don't find an include directive, just comment out the code.
   2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2784 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2785 am__include="#"
   2786 am__quote=
   2787 _am_result=none
   2788 # First try GNU make style include.
   2789 echo "include confinc" > confmf
   2790 # Ignore all kinds of additional output from `make'.
   2791 case `$am_make -s -f confmf 2> /dev/null` in #(
   2792 *the\ am__doit\ target*)
   2793   am__include=include
   2794   am__quote=
   2795   _am_result=GNU
   2796   ;;
   2797 esac
   2798 # Now try BSD make style include.
   2799 if test "$am__include" = "#"; then
   2800    echo '.include "confinc"' > confmf
   2801    case `$am_make -s -f confmf 2> /dev/null` in #(
   2802    *the\ am__doit\ target*)
   2803      am__include=.include
   2804      am__quote="\""
   2805      _am_result=BSD
   2806      ;;
   2807    esac
   2808 fi
   2809 
   2810 
   2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2812 $as_echo "$_am_result" >&6; }
   2813 rm -f confinc confmf
   2814 
   2815 # Check whether --enable-dependency-tracking was given.
   2816 if test "${enable_dependency_tracking+set}" = set; then :
   2817   enableval=$enable_dependency_tracking;
   2818 fi
   2819 
   2820 if test "x$enable_dependency_tracking" != xno; then
   2821   am_depcomp="$ac_aux_dir/depcomp"
   2822   AMDEPBACKSLASH='\'
   2823 fi
   2824  if test "x$enable_dependency_tracking" != xno; then
   2825   AMDEP_TRUE=
   2826   AMDEP_FALSE='#'
   2827 else
   2828   AMDEP_TRUE='#'
   2829   AMDEP_FALSE=
   2830 fi
   2831 
   2832 
   2833 ac_ext=c
   2834 ac_cpp='$CPP $CPPFLAGS'
   2835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2838 if test -n "$ac_tool_prefix"; then
   2839   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2840 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 $as_echo_n "checking for $ac_word... " >&6; }
   2843 if ${ac_cv_prog_CC+:} false; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   if test -n "$CC"; then
   2847   ac_cv_prog_CC="$CC" # Let the user override the test.
   2848 else
   2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2850 for as_dir in $PATH
   2851 do
   2852   IFS=$as_save_IFS
   2853   test -z "$as_dir" && as_dir=.
   2854     for ac_exec_ext in '' $ac_executable_extensions; do
   2855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2856     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2858     break 2
   2859   fi
   2860 done
   2861   done
   2862 IFS=$as_save_IFS
   2863 
   2864 fi
   2865 fi
   2866 CC=$ac_cv_prog_CC
   2867 if test -n "$CC"; then
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2869 $as_echo "$CC" >&6; }
   2870 else
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2872 $as_echo "no" >&6; }
   2873 fi
   2874 
   2875 
   2876 fi
   2877 if test -z "$ac_cv_prog_CC"; then
   2878   ac_ct_CC=$CC
   2879   # Extract the first word of "gcc", so it can be a program name with args.
   2880 set dummy gcc; ac_word=$2
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2882 $as_echo_n "checking for $ac_word... " >&6; }
   2883 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2884   $as_echo_n "(cached) " >&6
   2885 else
   2886   if test -n "$ac_ct_CC"; then
   2887   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2888 else
   2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2890 for as_dir in $PATH
   2891 do
   2892   IFS=$as_save_IFS
   2893   test -z "$as_dir" && as_dir=.
   2894     for ac_exec_ext in '' $ac_executable_extensions; do
   2895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2896     ac_cv_prog_ac_ct_CC="gcc"
   2897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2898     break 2
   2899   fi
   2900 done
   2901   done
   2902 IFS=$as_save_IFS
   2903 
   2904 fi
   2905 fi
   2906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2907 if test -n "$ac_ct_CC"; then
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2909 $as_echo "$ac_ct_CC" >&6; }
   2910 else
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2912 $as_echo "no" >&6; }
   2913 fi
   2914 
   2915   if test "x$ac_ct_CC" = x; then
   2916     CC=""
   2917   else
   2918     case $cross_compiling:$ac_tool_warned in
   2919 yes:)
   2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2922 ac_tool_warned=yes ;;
   2923 esac
   2924     CC=$ac_ct_CC
   2925   fi
   2926 else
   2927   CC="$ac_cv_prog_CC"
   2928 fi
   2929 
   2930 if test -z "$CC"; then
   2931           if test -n "$ac_tool_prefix"; then
   2932     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2933 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2935 $as_echo_n "checking for $ac_word... " >&6; }
   2936 if ${ac_cv_prog_CC+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   if test -n "$CC"; then
   2940   ac_cv_prog_CC="$CC" # Let the user override the test.
   2941 else
   2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2943 for as_dir in $PATH
   2944 do
   2945   IFS=$as_save_IFS
   2946   test -z "$as_dir" && as_dir=.
   2947     for ac_exec_ext in '' $ac_executable_extensions; do
   2948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2949     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2951     break 2
   2952   fi
   2953 done
   2954   done
   2955 IFS=$as_save_IFS
   2956 
   2957 fi
   2958 fi
   2959 CC=$ac_cv_prog_CC
   2960 if test -n "$CC"; then
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2962 $as_echo "$CC" >&6; }
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966 fi
   2967 
   2968 
   2969   fi
   2970 fi
   2971 if test -z "$CC"; then
   2972   # Extract the first word of "cc", so it can be a program name with args.
   2973 set dummy cc; ac_word=$2
   2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2975 $as_echo_n "checking for $ac_word... " >&6; }
   2976 if ${ac_cv_prog_CC+:} false; then :
   2977   $as_echo_n "(cached) " >&6
   2978 else
   2979   if test -n "$CC"; then
   2980   ac_cv_prog_CC="$CC" # Let the user override the test.
   2981 else
   2982   ac_prog_rejected=no
   2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2984 for as_dir in $PATH
   2985 do
   2986   IFS=$as_save_IFS
   2987   test -z "$as_dir" && as_dir=.
   2988     for ac_exec_ext in '' $ac_executable_extensions; do
   2989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2990     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2991        ac_prog_rejected=yes
   2992        continue
   2993      fi
   2994     ac_cv_prog_CC="cc"
   2995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2996     break 2
   2997   fi
   2998 done
   2999   done
   3000 IFS=$as_save_IFS
   3001 
   3002 if test $ac_prog_rejected = yes; then
   3003   # We found a bogon in the path, so make sure we never use it.
   3004   set dummy $ac_cv_prog_CC
   3005   shift
   3006   if test $# != 0; then
   3007     # We chose a different compiler from the bogus one.
   3008     # However, it has the same basename, so the bogon will be chosen
   3009     # first if we set CC to just the basename; use the full file name.
   3010     shift
   3011     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3012   fi
   3013 fi
   3014 fi
   3015 fi
   3016 CC=$ac_cv_prog_CC
   3017 if test -n "$CC"; then
   3018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3019 $as_echo "$CC" >&6; }
   3020 else
   3021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3022 $as_echo "no" >&6; }
   3023 fi
   3024 
   3025 
   3026 fi
   3027 if test -z "$CC"; then
   3028   if test -n "$ac_tool_prefix"; then
   3029   for ac_prog in cl.exe
   3030   do
   3031     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3034 $as_echo_n "checking for $ac_word... " >&6; }
   3035 if ${ac_cv_prog_CC+:} false; then :
   3036   $as_echo_n "(cached) " >&6
   3037 else
   3038   if test -n "$CC"; then
   3039   ac_cv_prog_CC="$CC" # Let the user override the test.
   3040 else
   3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3042 for as_dir in $PATH
   3043 do
   3044   IFS=$as_save_IFS
   3045   test -z "$as_dir" && as_dir=.
   3046     for ac_exec_ext in '' $ac_executable_extensions; do
   3047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3048     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3050     break 2
   3051   fi
   3052 done
   3053   done
   3054 IFS=$as_save_IFS
   3055 
   3056 fi
   3057 fi
   3058 CC=$ac_cv_prog_CC
   3059 if test -n "$CC"; then
   3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3061 $as_echo "$CC" >&6; }
   3062 else
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3064 $as_echo "no" >&6; }
   3065 fi
   3066 
   3067 
   3068     test -n "$CC" && break
   3069   done
   3070 fi
   3071 if test -z "$CC"; then
   3072   ac_ct_CC=$CC
   3073   for ac_prog in cl.exe
   3074 do
   3075   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3076 set dummy $ac_prog; ac_word=$2
   3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3078 $as_echo_n "checking for $ac_word... " >&6; }
   3079 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3080   $as_echo_n "(cached) " >&6
   3081 else
   3082   if test -n "$ac_ct_CC"; then
   3083   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3084 else
   3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3086 for as_dir in $PATH
   3087 do
   3088   IFS=$as_save_IFS
   3089   test -z "$as_dir" && as_dir=.
   3090     for ac_exec_ext in '' $ac_executable_extensions; do
   3091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3092     ac_cv_prog_ac_ct_CC="$ac_prog"
   3093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3094     break 2
   3095   fi
   3096 done
   3097   done
   3098 IFS=$as_save_IFS
   3099 
   3100 fi
   3101 fi
   3102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3103 if test -n "$ac_ct_CC"; then
   3104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3105 $as_echo "$ac_ct_CC" >&6; }
   3106 else
   3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3108 $as_echo "no" >&6; }
   3109 fi
   3110 
   3111 
   3112   test -n "$ac_ct_CC" && break
   3113 done
   3114 
   3115   if test "x$ac_ct_CC" = x; then
   3116     CC=""
   3117   else
   3118     case $cross_compiling:$ac_tool_warned in
   3119 yes:)
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3122 ac_tool_warned=yes ;;
   3123 esac
   3124     CC=$ac_ct_CC
   3125   fi
   3126 fi
   3127 
   3128 fi
   3129 
   3130 
   3131 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3133 as_fn_error $? "no acceptable C compiler found in \$PATH
   3134 See \`config.log' for more details" "$LINENO" 5; }
   3135 
   3136 # Provide some information about the compiler.
   3137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3138 set X $ac_compile
   3139 ac_compiler=$2
   3140 for ac_option in --version -v -V -qversion; do
   3141   { { ac_try="$ac_compiler $ac_option >&5"
   3142 case "(($ac_try" in
   3143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3144   *) ac_try_echo=$ac_try;;
   3145 esac
   3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3147 $as_echo "$ac_try_echo"; } >&5
   3148   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3149   ac_status=$?
   3150   if test -s conftest.err; then
   3151     sed '10a\
   3152 ... rest of stderr output deleted ...
   3153          10q' conftest.err >conftest.er1
   3154     cat conftest.er1 >&5
   3155   fi
   3156   rm -f conftest.er1 conftest.err
   3157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3158   test $ac_status = 0; }
   3159 done
   3160 
   3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3162 /* end confdefs.h.  */
   3163 
   3164 int
   3165 main ()
   3166 {
   3167 
   3168   ;
   3169   return 0;
   3170 }
   3171 _ACEOF
   3172 ac_clean_files_save=$ac_clean_files
   3173 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3174 # Try to create an executable without -o first, disregard a.out.
   3175 # It will help us diagnose broken compilers, and finding out an intuition
   3176 # of exeext.
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3178 $as_echo_n "checking whether the C compiler works... " >&6; }
   3179 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3180 
   3181 # The possible output files:
   3182 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3183 
   3184 ac_rmfiles=
   3185 for ac_file in $ac_files
   3186 do
   3187   case $ac_file in
   3188     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3189     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3190   esac
   3191 done
   3192 rm -f $ac_rmfiles
   3193 
   3194 if { { ac_try="$ac_link_default"
   3195 case "(($ac_try" in
   3196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3197   *) ac_try_echo=$ac_try;;
   3198 esac
   3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3200 $as_echo "$ac_try_echo"; } >&5
   3201   (eval "$ac_link_default") 2>&5
   3202   ac_status=$?
   3203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3204   test $ac_status = 0; }; then :
   3205   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3207 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3208 # so that the user can short-circuit this test for compilers unknown to
   3209 # Autoconf.
   3210 for ac_file in $ac_files ''
   3211 do
   3212   test -f "$ac_file" || continue
   3213   case $ac_file in
   3214     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3215 	;;
   3216     [ab].out )
   3217 	# We found the default executable, but exeext='' is most
   3218 	# certainly right.
   3219 	break;;
   3220     *.* )
   3221 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3222 	then :; else
   3223 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3224 	fi
   3225 	# We set ac_cv_exeext here because the later test for it is not
   3226 	# safe: cross compilers may not add the suffix if given an `-o'
   3227 	# argument, so we may need to know it at that point already.
   3228 	# Even if this section looks crufty: it has the advantage of
   3229 	# actually working.
   3230 	break;;
   3231     * )
   3232 	break;;
   3233   esac
   3234 done
   3235 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3236 
   3237 else
   3238   ac_file=''
   3239 fi
   3240 if test -z "$ac_file"; then :
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3242 $as_echo "no" >&6; }
   3243 $as_echo "$as_me: failed program was:" >&5
   3244 sed 's/^/| /' conftest.$ac_ext >&5
   3245 
   3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3248 as_fn_error 77 "C compiler cannot create executables
   3249 See \`config.log' for more details" "$LINENO" 5; }
   3250 else
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3252 $as_echo "yes" >&6; }
   3253 fi
   3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3255 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3257 $as_echo "$ac_file" >&6; }
   3258 ac_exeext=$ac_cv_exeext
   3259 
   3260 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3261 ac_clean_files=$ac_clean_files_save
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3263 $as_echo_n "checking for suffix of executables... " >&6; }
   3264 if { { ac_try="$ac_link"
   3265 case "(($ac_try" in
   3266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3267   *) ac_try_echo=$ac_try;;
   3268 esac
   3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3270 $as_echo "$ac_try_echo"; } >&5
   3271   (eval "$ac_link") 2>&5
   3272   ac_status=$?
   3273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3274   test $ac_status = 0; }; then :
   3275   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3276 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3277 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3278 # `rm'.
   3279 for ac_file in conftest.exe conftest conftest.*; do
   3280   test -f "$ac_file" || continue
   3281   case $ac_file in
   3282     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3283     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3284 	  break;;
   3285     * ) break;;
   3286   esac
   3287 done
   3288 else
   3289   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3291 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3292 See \`config.log' for more details" "$LINENO" 5; }
   3293 fi
   3294 rm -f conftest conftest$ac_cv_exeext
   3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3296 $as_echo "$ac_cv_exeext" >&6; }
   3297 
   3298 rm -f conftest.$ac_ext
   3299 EXEEXT=$ac_cv_exeext
   3300 ac_exeext=$EXEEXT
   3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3302 /* end confdefs.h.  */
   3303 #include <stdio.h>
   3304 int
   3305 main ()
   3306 {
   3307 FILE *f = fopen ("conftest.out", "w");
   3308  return ferror (f) || fclose (f) != 0;
   3309 
   3310   ;
   3311   return 0;
   3312 }
   3313 _ACEOF
   3314 ac_clean_files="$ac_clean_files conftest.out"
   3315 # Check that the compiler produces executables we can run.  If not, either
   3316 # the compiler is broken, or we cross compile.
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3318 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3319 if test "$cross_compiling" != yes; then
   3320   { { ac_try="$ac_link"
   3321 case "(($ac_try" in
   3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3323   *) ac_try_echo=$ac_try;;
   3324 esac
   3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3326 $as_echo "$ac_try_echo"; } >&5
   3327   (eval "$ac_link") 2>&5
   3328   ac_status=$?
   3329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3330   test $ac_status = 0; }
   3331   if { ac_try='./conftest$ac_cv_exeext'
   3332   { { case "(($ac_try" in
   3333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3334   *) ac_try_echo=$ac_try;;
   3335 esac
   3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3337 $as_echo "$ac_try_echo"; } >&5
   3338   (eval "$ac_try") 2>&5
   3339   ac_status=$?
   3340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3341   test $ac_status = 0; }; }; then
   3342     cross_compiling=no
   3343   else
   3344     if test "$cross_compiling" = maybe; then
   3345 	cross_compiling=yes
   3346     else
   3347 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3349 as_fn_error $? "cannot run C compiled programs.
   3350 If you meant to cross compile, use \`--host'.
   3351 See \`config.log' for more details" "$LINENO" 5; }
   3352     fi
   3353   fi
   3354 fi
   3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3356 $as_echo "$cross_compiling" >&6; }
   3357 
   3358 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3359 ac_clean_files=$ac_clean_files_save
   3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3361 $as_echo_n "checking for suffix of object files... " >&6; }
   3362 if ${ac_cv_objext+:} false; then :
   3363   $as_echo_n "(cached) " >&6
   3364 else
   3365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3366 /* end confdefs.h.  */
   3367 
   3368 int
   3369 main ()
   3370 {
   3371 
   3372   ;
   3373   return 0;
   3374 }
   3375 _ACEOF
   3376 rm -f conftest.o conftest.obj
   3377 if { { ac_try="$ac_compile"
   3378 case "(($ac_try" in
   3379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3380   *) ac_try_echo=$ac_try;;
   3381 esac
   3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3383 $as_echo "$ac_try_echo"; } >&5
   3384   (eval "$ac_compile") 2>&5
   3385   ac_status=$?
   3386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3387   test $ac_status = 0; }; then :
   3388   for ac_file in conftest.o conftest.obj conftest.*; do
   3389   test -f "$ac_file" || continue;
   3390   case $ac_file in
   3391     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3392     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3393        break;;
   3394   esac
   3395 done
   3396 else
   3397   $as_echo "$as_me: failed program was:" >&5
   3398 sed 's/^/| /' conftest.$ac_ext >&5
   3399 
   3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3402 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3403 See \`config.log' for more details" "$LINENO" 5; }
   3404 fi
   3405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3406 fi
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3408 $as_echo "$ac_cv_objext" >&6; }
   3409 OBJEXT=$ac_cv_objext
   3410 ac_objext=$OBJEXT
   3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3413 if ${ac_cv_c_compiler_gnu+:} false; then :
   3414   $as_echo_n "(cached) " >&6
   3415 else
   3416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3417 /* end confdefs.h.  */
   3418 
   3419 int
   3420 main ()
   3421 {
   3422 #ifndef __GNUC__
   3423        choke me
   3424 #endif
   3425 
   3426   ;
   3427   return 0;
   3428 }
   3429 _ACEOF
   3430 if ac_fn_c_try_compile "$LINENO"; then :
   3431   ac_compiler_gnu=yes
   3432 else
   3433   ac_compiler_gnu=no
   3434 fi
   3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3437 
   3438 fi
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3441 if test $ac_compiler_gnu = yes; then
   3442   GCC=yes
   3443 else
   3444   GCC=
   3445 fi
   3446 ac_test_CFLAGS=${CFLAGS+set}
   3447 ac_save_CFLAGS=$CFLAGS
   3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3450 if ${ac_cv_prog_cc_g+:} false; then :
   3451   $as_echo_n "(cached) " >&6
   3452 else
   3453   ac_save_c_werror_flag=$ac_c_werror_flag
   3454    ac_c_werror_flag=yes
   3455    ac_cv_prog_cc_g=no
   3456    CFLAGS="-g"
   3457    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3458 /* end confdefs.h.  */
   3459 
   3460 int
   3461 main ()
   3462 {
   3463 
   3464   ;
   3465   return 0;
   3466 }
   3467 _ACEOF
   3468 if ac_fn_c_try_compile "$LINENO"; then :
   3469   ac_cv_prog_cc_g=yes
   3470 else
   3471   CFLAGS=""
   3472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3473 /* end confdefs.h.  */
   3474 
   3475 int
   3476 main ()
   3477 {
   3478 
   3479   ;
   3480   return 0;
   3481 }
   3482 _ACEOF
   3483 if ac_fn_c_try_compile "$LINENO"; then :
   3484 
   3485 else
   3486   ac_c_werror_flag=$ac_save_c_werror_flag
   3487 	 CFLAGS="-g"
   3488 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3489 /* end confdefs.h.  */
   3490 
   3491 int
   3492 main ()
   3493 {
   3494 
   3495   ;
   3496   return 0;
   3497 }
   3498 _ACEOF
   3499 if ac_fn_c_try_compile "$LINENO"; then :
   3500   ac_cv_prog_cc_g=yes
   3501 fi
   3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3503 fi
   3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3505 fi
   3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3507    ac_c_werror_flag=$ac_save_c_werror_flag
   3508 fi
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3510 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3511 if test "$ac_test_CFLAGS" = set; then
   3512   CFLAGS=$ac_save_CFLAGS
   3513 elif test $ac_cv_prog_cc_g = yes; then
   3514   if test "$GCC" = yes; then
   3515     CFLAGS="-g -O2"
   3516   else
   3517     CFLAGS="-g"
   3518   fi
   3519 else
   3520   if test "$GCC" = yes; then
   3521     CFLAGS="-O2"
   3522   else
   3523     CFLAGS=
   3524   fi
   3525 fi
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3528 if ${ac_cv_prog_cc_c89+:} false; then :
   3529   $as_echo_n "(cached) " >&6
   3530 else
   3531   ac_cv_prog_cc_c89=no
   3532 ac_save_CC=$CC
   3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3534 /* end confdefs.h.  */
   3535 #include <stdarg.h>
   3536 #include <stdio.h>
   3537 #include <sys/types.h>
   3538 #include <sys/stat.h>
   3539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3540 struct buf { int x; };
   3541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3542 static char *e (p, i)
   3543      char **p;
   3544      int i;
   3545 {
   3546   return p[i];
   3547 }
   3548 static char *f (char * (*g) (char **, int), char **p, ...)
   3549 {
   3550   char *s;
   3551   va_list v;
   3552   va_start (v,p);
   3553   s = g (p, va_arg (v,int));
   3554   va_end (v);
   3555   return s;
   3556 }
   3557 
   3558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3559    function prototypes and stuff, but not '\xHH' hex character constants.
   3560    These don't provoke an error unfortunately, instead are silently treated
   3561    as 'x'.  The following induces an error, until -std is added to get
   3562    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3563    array size at least.  It's necessary to write '\x00'==0 to get something
   3564    that's true only with -std.  */
   3565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3566 
   3567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3568    inside strings and character constants.  */
   3569 #define FOO(x) 'x'
   3570 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3571 
   3572 int test (int i, double x);
   3573 struct s1 {int (*f) (int a);};
   3574 struct s2 {int (*f) (double a);};
   3575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3576 int argc;
   3577 char **argv;
   3578 int
   3579 main ()
   3580 {
   3581 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3587 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3588 do
   3589   CC="$ac_save_CC $ac_arg"
   3590   if ac_fn_c_try_compile "$LINENO"; then :
   3591   ac_cv_prog_cc_c89=$ac_arg
   3592 fi
   3593 rm -f core conftest.err conftest.$ac_objext
   3594   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3595 done
   3596 rm -f conftest.$ac_ext
   3597 CC=$ac_save_CC
   3598 
   3599 fi
   3600 # AC_CACHE_VAL
   3601 case "x$ac_cv_prog_cc_c89" in
   3602   x)
   3603     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3604 $as_echo "none needed" >&6; } ;;
   3605   xno)
   3606     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3607 $as_echo "unsupported" >&6; } ;;
   3608   *)
   3609     CC="$CC $ac_cv_prog_cc_c89"
   3610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3611 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3612 esac
   3613 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3614 
   3615 fi
   3616 
   3617 ac_ext=c
   3618 ac_cpp='$CPP $CPPFLAGS'
   3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3622 
   3623 depcc="$CC"   am_compiler_list=
   3624 
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3626 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3627 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3628   $as_echo_n "(cached) " >&6
   3629 else
   3630   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3631   # We make a subdir and do the tests there.  Otherwise we can end up
   3632   # making bogus files that we don't know about and never remove.  For
   3633   # instance it was reported that on HP-UX the gcc test will end up
   3634   # making a dummy file named `D' -- because `-MD' means `put the output
   3635   # in D'.
   3636   mkdir conftest.dir
   3637   # Copy depcomp to subdir because otherwise we won't find it if we're
   3638   # using a relative directory.
   3639   cp "$am_depcomp" conftest.dir
   3640   cd conftest.dir
   3641   # We will build objects and dependencies in a subdirectory because
   3642   # it helps to detect inapplicable dependency modes.  For instance
   3643   # both Tru64's cc and ICC support -MD to output dependencies as a
   3644   # side effect of compilation, but ICC will put the dependencies in
   3645   # the current directory while Tru64 will put them in the object
   3646   # directory.
   3647   mkdir sub
   3648 
   3649   am_cv_CC_dependencies_compiler_type=none
   3650   if test "$am_compiler_list" = ""; then
   3651      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3652   fi
   3653   am__universal=false
   3654   case " $depcc " in #(
   3655      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3656      esac
   3657 
   3658   for depmode in $am_compiler_list; do
   3659     # Setup a source with many dependencies, because some compilers
   3660     # like to wrap large dependency lists on column 80 (with \), and
   3661     # we should not choose a depcomp mode which is confused by this.
   3662     #
   3663     # We need to recreate these files for each test, as the compiler may
   3664     # overwrite some of them when testing with obscure command lines.
   3665     # This happens at least with the AIX C compiler.
   3666     : > sub/conftest.c
   3667     for i in 1 2 3 4 5 6; do
   3668       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3669       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3670       # Solaris 8's {/usr,}/bin/sh.
   3671       touch sub/conftst$i.h
   3672     done
   3673     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3674 
   3675     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3676     # mode.  It turns out that the SunPro C++ compiler does not properly
   3677     # handle `-M -o', and we need to detect this.  Also, some Intel
   3678     # versions had trouble with output in subdirs
   3679     am__obj=sub/conftest.${OBJEXT-o}
   3680     am__minus_obj="-o $am__obj"
   3681     case $depmode in
   3682     gcc)
   3683       # This depmode causes a compiler race in universal mode.
   3684       test "$am__universal" = false || continue
   3685       ;;
   3686     nosideeffect)
   3687       # after this tag, mechanisms are not by side-effect, so they'll
   3688       # only be used when explicitly requested
   3689       if test "x$enable_dependency_tracking" = xyes; then
   3690 	continue
   3691       else
   3692 	break
   3693       fi
   3694       ;;
   3695     msvisualcpp | msvcmsys)
   3696       # This compiler won't grok `-c -o', but also, the minuso test has
   3697       # not run yet.  These depmodes are late enough in the game, and
   3698       # so weak that their functioning should not be impacted.
   3699       am__obj=conftest.${OBJEXT-o}
   3700       am__minus_obj=
   3701       ;;
   3702     none) break ;;
   3703     esac
   3704     if depmode=$depmode \
   3705        source=sub/conftest.c object=$am__obj \
   3706        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3707        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3708          >/dev/null 2>conftest.err &&
   3709        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3710        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3711        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3712        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3713       # icc doesn't choke on unknown options, it will just issue warnings
   3714       # or remarks (even with -Werror).  So we grep stderr for any message
   3715       # that says an option was ignored or not supported.
   3716       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3717       #   icc: Command line warning: ignoring option '-M'; no argument required
   3718       # The diagnosis changed in icc 8.0:
   3719       #   icc: Command line remark: option '-MP' not supported
   3720       if (grep 'ignoring option' conftest.err ||
   3721           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3722         am_cv_CC_dependencies_compiler_type=$depmode
   3723         break
   3724       fi
   3725     fi
   3726   done
   3727 
   3728   cd ..
   3729   rm -rf conftest.dir
   3730 else
   3731   am_cv_CC_dependencies_compiler_type=none
   3732 fi
   3733 
   3734 fi
   3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3736 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3737 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3738 
   3739  if
   3740   test "x$enable_dependency_tracking" != xno \
   3741   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3742   am__fastdepCC_TRUE=
   3743   am__fastdepCC_FALSE='#'
   3744 else
   3745   am__fastdepCC_TRUE='#'
   3746   am__fastdepCC_FALSE=
   3747 fi
   3748 
   3749 
   3750    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3751 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3752 if ${ac_cv_prog_cc_c99+:} false; then :
   3753   $as_echo_n "(cached) " >&6
   3754 else
   3755   ac_cv_prog_cc_c99=no
   3756 ac_save_CC=$CC
   3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3758 /* end confdefs.h.  */
   3759 #include <stdarg.h>
   3760 #include <stdbool.h>
   3761 #include <stdlib.h>
   3762 #include <wchar.h>
   3763 #include <stdio.h>
   3764 
   3765 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3766 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3767 #define showlist(...) puts (#__VA_ARGS__)
   3768 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3769 static void
   3770 test_varargs_macros (void)
   3771 {
   3772   int x = 1234;
   3773   int y = 5678;
   3774   debug ("Flag");
   3775   debug ("X = %d\n", x);
   3776   showlist (The first, second, and third items.);
   3777   report (x>y, "x is %d but y is %d", x, y);
   3778 }
   3779 
   3780 // Check long long types.
   3781 #define BIG64 18446744073709551615ull
   3782 #define BIG32 4294967295ul
   3783 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3784 #if !BIG_OK
   3785   your preprocessor is broken;
   3786 #endif
   3787 #if BIG_OK
   3788 #else
   3789   your preprocessor is broken;
   3790 #endif
   3791 static long long int bignum = -9223372036854775807LL;
   3792 static unsigned long long int ubignum = BIG64;
   3793 
   3794 struct incomplete_array
   3795 {
   3796   int datasize;
   3797   double data[];
   3798 };
   3799 
   3800 struct named_init {
   3801   int number;
   3802   const wchar_t *name;
   3803   double average;
   3804 };
   3805 
   3806 typedef const char *ccp;
   3807 
   3808 static inline int
   3809 test_restrict (ccp restrict text)
   3810 {
   3811   // See if C++-style comments work.
   3812   // Iterate through items via the restricted pointer.
   3813   // Also check for declarations in for loops.
   3814   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3815     continue;
   3816   return 0;
   3817 }
   3818 
   3819 // Check varargs and va_copy.
   3820 static void
   3821 test_varargs (const char *format, ...)
   3822 {
   3823   va_list args;
   3824   va_start (args, format);
   3825   va_list args_copy;
   3826   va_copy (args_copy, args);
   3827 
   3828   const char *str;
   3829   int number;
   3830   float fnumber;
   3831 
   3832   while (*format)
   3833     {
   3834       switch (*format++)
   3835 	{
   3836 	case 's': // string
   3837 	  str = va_arg (args_copy, const char *);
   3838 	  break;
   3839 	case 'd': // int
   3840 	  number = va_arg (args_copy, int);
   3841 	  break;
   3842 	case 'f': // float
   3843 	  fnumber = va_arg (args_copy, double);
   3844 	  break;
   3845 	default:
   3846 	  break;
   3847 	}
   3848     }
   3849   va_end (args_copy);
   3850   va_end (args);
   3851 }
   3852 
   3853 int
   3854 main ()
   3855 {
   3856 
   3857   // Check bool.
   3858   _Bool success = false;
   3859 
   3860   // Check restrict.
   3861   if (test_restrict ("String literal") == 0)
   3862     success = true;
   3863   char *restrict newvar = "Another string";
   3864 
   3865   // Check varargs.
   3866   test_varargs ("s, d' f .", "string", 65, 34.234);
   3867   test_varargs_macros ();
   3868 
   3869   // Check flexible array members.
   3870   struct incomplete_array *ia =
   3871     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3872   ia->datasize = 10;
   3873   for (int i = 0; i < ia->datasize; ++i)
   3874     ia->data[i] = i * 1.234;
   3875 
   3876   // Check named initializers.
   3877   struct named_init ni = {
   3878     .number = 34,
   3879     .name = L"Test wide string",
   3880     .average = 543.34343,
   3881   };
   3882 
   3883   ni.number = 58;
   3884 
   3885   int dynamic_array[ni.number];
   3886   dynamic_array[ni.number - 1] = 543;
   3887 
   3888   // work around unused variable warnings
   3889   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3890 	  || dynamic_array[ni.number - 1] != 543);
   3891 
   3892   ;
   3893   return 0;
   3894 }
   3895 _ACEOF
   3896 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3897 do
   3898   CC="$ac_save_CC $ac_arg"
   3899   if ac_fn_c_try_compile "$LINENO"; then :
   3900   ac_cv_prog_cc_c99=$ac_arg
   3901 fi
   3902 rm -f core conftest.err conftest.$ac_objext
   3903   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3904 done
   3905 rm -f conftest.$ac_ext
   3906 CC=$ac_save_CC
   3907 
   3908 fi
   3909 # AC_CACHE_VAL
   3910 case "x$ac_cv_prog_cc_c99" in
   3911   x)
   3912     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3913 $as_echo "none needed" >&6; } ;;
   3914   xno)
   3915     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3916 $as_echo "unsupported" >&6; } ;;
   3917   *)
   3918     CC="$CC $ac_cv_prog_cc_c99"
   3919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3920 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3921 esac
   3922 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3923 
   3924 fi
   3925 
   3926 
   3927 
   3928 ac_ext=c
   3929 ac_cpp='$CPP $CPPFLAGS'
   3930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3934 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3935 # On Suns, sometimes $CPP names a directory.
   3936 if test -n "$CPP" && test -d "$CPP"; then
   3937   CPP=
   3938 fi
   3939 if test -z "$CPP"; then
   3940   if ${ac_cv_prog_CPP+:} false; then :
   3941   $as_echo_n "(cached) " >&6
   3942 else
   3943       # Double quotes because CPP needs to be expanded
   3944     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3945     do
   3946       ac_preproc_ok=false
   3947 for ac_c_preproc_warn_flag in '' yes
   3948 do
   3949   # Use a header file that comes with gcc, so configuring glibc
   3950   # with a fresh cross-compiler works.
   3951   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3952   # <limits.h> exists even on freestanding compilers.
   3953   # On the NeXT, cc -E runs the code through the compiler's parser,
   3954   # not just through cpp. "Syntax error" is here to catch this case.
   3955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3956 /* end confdefs.h.  */
   3957 #ifdef __STDC__
   3958 # include <limits.h>
   3959 #else
   3960 # include <assert.h>
   3961 #endif
   3962 		     Syntax error
   3963 _ACEOF
   3964 if ac_fn_c_try_cpp "$LINENO"; then :
   3965 
   3966 else
   3967   # Broken: fails on valid input.
   3968 continue
   3969 fi
   3970 rm -f conftest.err conftest.i conftest.$ac_ext
   3971 
   3972   # OK, works on sane cases.  Now check whether nonexistent headers
   3973   # can be detected and how.
   3974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3975 /* end confdefs.h.  */
   3976 #include <ac_nonexistent.h>
   3977 _ACEOF
   3978 if ac_fn_c_try_cpp "$LINENO"; then :
   3979   # Broken: success on invalid input.
   3980 continue
   3981 else
   3982   # Passes both tests.
   3983 ac_preproc_ok=:
   3984 break
   3985 fi
   3986 rm -f conftest.err conftest.i conftest.$ac_ext
   3987 
   3988 done
   3989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3990 rm -f conftest.i conftest.err conftest.$ac_ext
   3991 if $ac_preproc_ok; then :
   3992   break
   3993 fi
   3994 
   3995     done
   3996     ac_cv_prog_CPP=$CPP
   3997 
   3998 fi
   3999   CPP=$ac_cv_prog_CPP
   4000 else
   4001   ac_cv_prog_CPP=$CPP
   4002 fi
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4004 $as_echo "$CPP" >&6; }
   4005 ac_preproc_ok=false
   4006 for ac_c_preproc_warn_flag in '' yes
   4007 do
   4008   # Use a header file that comes with gcc, so configuring glibc
   4009   # with a fresh cross-compiler works.
   4010   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4011   # <limits.h> exists even on freestanding compilers.
   4012   # On the NeXT, cc -E runs the code through the compiler's parser,
   4013   # not just through cpp. "Syntax error" is here to catch this case.
   4014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4015 /* end confdefs.h.  */
   4016 #ifdef __STDC__
   4017 # include <limits.h>
   4018 #else
   4019 # include <assert.h>
   4020 #endif
   4021 		     Syntax error
   4022 _ACEOF
   4023 if ac_fn_c_try_cpp "$LINENO"; then :
   4024 
   4025 else
   4026   # Broken: fails on valid input.
   4027 continue
   4028 fi
   4029 rm -f conftest.err conftest.i conftest.$ac_ext
   4030 
   4031   # OK, works on sane cases.  Now check whether nonexistent headers
   4032   # can be detected and how.
   4033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 #include <ac_nonexistent.h>
   4036 _ACEOF
   4037 if ac_fn_c_try_cpp "$LINENO"; then :
   4038   # Broken: success on invalid input.
   4039 continue
   4040 else
   4041   # Passes both tests.
   4042 ac_preproc_ok=:
   4043 break
   4044 fi
   4045 rm -f conftest.err conftest.i conftest.$ac_ext
   4046 
   4047 done
   4048 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4049 rm -f conftest.i conftest.err conftest.$ac_ext
   4050 if $ac_preproc_ok; then :
   4051 
   4052 else
   4053   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4055 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4056 See \`config.log' for more details" "$LINENO" 5; }
   4057 fi
   4058 
   4059 ac_ext=c
   4060 ac_cpp='$CPP $CPPFLAGS'
   4061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4064 
   4065 
   4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4067 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4068 if ${ac_cv_path_GREP+:} false; then :
   4069   $as_echo_n "(cached) " >&6
   4070 else
   4071   if test -z "$GREP"; then
   4072   ac_path_GREP_found=false
   4073   # Loop through the user's path and test for each of PROGNAME-LIST
   4074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4075 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4076 do
   4077   IFS=$as_save_IFS
   4078   test -z "$as_dir" && as_dir=.
   4079     for ac_prog in grep ggrep; do
   4080     for ac_exec_ext in '' $ac_executable_extensions; do
   4081       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4082       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4083 # Check for GNU ac_path_GREP and select it if it is found.
   4084   # Check for GNU $ac_path_GREP
   4085 case `"$ac_path_GREP" --version 2>&1` in
   4086 *GNU*)
   4087   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4088 *)
   4089   ac_count=0
   4090   $as_echo_n 0123456789 >"conftest.in"
   4091   while :
   4092   do
   4093     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4094     mv "conftest.tmp" "conftest.in"
   4095     cp "conftest.in" "conftest.nl"
   4096     $as_echo 'GREP' >> "conftest.nl"
   4097     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4098     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4099     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4100     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4101       # Best one so far, save it but keep looking for a better one
   4102       ac_cv_path_GREP="$ac_path_GREP"
   4103       ac_path_GREP_max=$ac_count
   4104     fi
   4105     # 10*(2^10) chars as input seems more than enough
   4106     test $ac_count -gt 10 && break
   4107   done
   4108   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4109 esac
   4110 
   4111       $ac_path_GREP_found && break 3
   4112     done
   4113   done
   4114   done
   4115 IFS=$as_save_IFS
   4116   if test -z "$ac_cv_path_GREP"; then
   4117     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4118   fi
   4119 else
   4120   ac_cv_path_GREP=$GREP
   4121 fi
   4122 
   4123 fi
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4125 $as_echo "$ac_cv_path_GREP" >&6; }
   4126  GREP="$ac_cv_path_GREP"
   4127 
   4128 
   4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4130 $as_echo_n "checking for egrep... " >&6; }
   4131 if ${ac_cv_path_EGREP+:} false; then :
   4132   $as_echo_n "(cached) " >&6
   4133 else
   4134   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4135    then ac_cv_path_EGREP="$GREP -E"
   4136    else
   4137      if test -z "$EGREP"; then
   4138   ac_path_EGREP_found=false
   4139   # Loop through the user's path and test for each of PROGNAME-LIST
   4140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4141 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4142 do
   4143   IFS=$as_save_IFS
   4144   test -z "$as_dir" && as_dir=.
   4145     for ac_prog in egrep; do
   4146     for ac_exec_ext in '' $ac_executable_extensions; do
   4147       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4148       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4149 # Check for GNU ac_path_EGREP and select it if it is found.
   4150   # Check for GNU $ac_path_EGREP
   4151 case `"$ac_path_EGREP" --version 2>&1` in
   4152 *GNU*)
   4153   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4154 *)
   4155   ac_count=0
   4156   $as_echo_n 0123456789 >"conftest.in"
   4157   while :
   4158   do
   4159     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4160     mv "conftest.tmp" "conftest.in"
   4161     cp "conftest.in" "conftest.nl"
   4162     $as_echo 'EGREP' >> "conftest.nl"
   4163     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4164     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4165     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4166     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4167       # Best one so far, save it but keep looking for a better one
   4168       ac_cv_path_EGREP="$ac_path_EGREP"
   4169       ac_path_EGREP_max=$ac_count
   4170     fi
   4171     # 10*(2^10) chars as input seems more than enough
   4172     test $ac_count -gt 10 && break
   4173   done
   4174   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4175 esac
   4176 
   4177       $ac_path_EGREP_found && break 3
   4178     done
   4179   done
   4180   done
   4181 IFS=$as_save_IFS
   4182   if test -z "$ac_cv_path_EGREP"; then
   4183     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4184   fi
   4185 else
   4186   ac_cv_path_EGREP=$EGREP
   4187 fi
   4188 
   4189    fi
   4190 fi
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4192 $as_echo "$ac_cv_path_EGREP" >&6; }
   4193  EGREP="$ac_cv_path_EGREP"
   4194 
   4195 
   4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4197 $as_echo_n "checking for ANSI C header files... " >&6; }
   4198 if ${ac_cv_header_stdc+:} false; then :
   4199   $as_echo_n "(cached) " >&6
   4200 else
   4201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4202 /* end confdefs.h.  */
   4203 #include <stdlib.h>
   4204 #include <stdarg.h>
   4205 #include <string.h>
   4206 #include <float.h>
   4207 
   4208 int
   4209 main ()
   4210 {
   4211 
   4212   ;
   4213   return 0;
   4214 }
   4215 _ACEOF
   4216 if ac_fn_c_try_compile "$LINENO"; then :
   4217   ac_cv_header_stdc=yes
   4218 else
   4219   ac_cv_header_stdc=no
   4220 fi
   4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4222 
   4223 if test $ac_cv_header_stdc = yes; then
   4224   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4226 /* end confdefs.h.  */
   4227 #include <string.h>
   4228 
   4229 _ACEOF
   4230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4231   $EGREP "memchr" >/dev/null 2>&1; then :
   4232 
   4233 else
   4234   ac_cv_header_stdc=no
   4235 fi
   4236 rm -f conftest*
   4237 
   4238 fi
   4239 
   4240 if test $ac_cv_header_stdc = yes; then
   4241   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4243 /* end confdefs.h.  */
   4244 #include <stdlib.h>
   4245 
   4246 _ACEOF
   4247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4248   $EGREP "free" >/dev/null 2>&1; then :
   4249 
   4250 else
   4251   ac_cv_header_stdc=no
   4252 fi
   4253 rm -f conftest*
   4254 
   4255 fi
   4256 
   4257 if test $ac_cv_header_stdc = yes; then
   4258   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4259   if test "$cross_compiling" = yes; then :
   4260   :
   4261 else
   4262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4263 /* end confdefs.h.  */
   4264 #include <ctype.h>
   4265 #include <stdlib.h>
   4266 #if ((' ' & 0x0FF) == 0x020)
   4267 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4268 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4269 #else
   4270 # define ISLOWER(c) \
   4271 		   (('a' <= (c) && (c) <= 'i') \
   4272 		     || ('j' <= (c) && (c) <= 'r') \
   4273 		     || ('s' <= (c) && (c) <= 'z'))
   4274 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4275 #endif
   4276 
   4277 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4278 int
   4279 main ()
   4280 {
   4281   int i;
   4282   for (i = 0; i < 256; i++)
   4283     if (XOR (islower (i), ISLOWER (i))
   4284 	|| toupper (i) != TOUPPER (i))
   4285       return 2;
   4286   return 0;
   4287 }
   4288 _ACEOF
   4289 if ac_fn_c_try_run "$LINENO"; then :
   4290 
   4291 else
   4292   ac_cv_header_stdc=no
   4293 fi
   4294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4295   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4296 fi
   4297 
   4298 fi
   4299 fi
   4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4301 $as_echo "$ac_cv_header_stdc" >&6; }
   4302 if test $ac_cv_header_stdc = yes; then
   4303 
   4304 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4305 
   4306 fi
   4307 
   4308 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4309 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4310 		  inttypes.h stdint.h unistd.h
   4311 do :
   4312   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4313 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4314 "
   4315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4316   cat >>confdefs.h <<_ACEOF
   4317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4318 _ACEOF
   4319 
   4320 fi
   4321 
   4322 done
   4323 
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4330 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4331   CLANGCC="yes"
   4332 else
   4333   CLANGCC="no"
   4334 fi
   4335 
   4336 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4337 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4338   INTELCC="yes"
   4339 else
   4340   INTELCC="no"
   4341 fi
   4342 
   4343 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4344 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4345   SUNCC="yes"
   4346 else
   4347   SUNCC="no"
   4348 fi
   4349 
   4350 
   4351 
   4352 
   4353 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4354 	if test -n "$ac_tool_prefix"; then
   4355   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4356 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4358 $as_echo_n "checking for $ac_word... " >&6; }
   4359 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4360   $as_echo_n "(cached) " >&6
   4361 else
   4362   case $PKG_CONFIG in
   4363   [\\/]* | ?:[\\/]*)
   4364   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4365   ;;
   4366   *)
   4367   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4368 for as_dir in $PATH
   4369 do
   4370   IFS=$as_save_IFS
   4371   test -z "$as_dir" && as_dir=.
   4372     for ac_exec_ext in '' $ac_executable_extensions; do
   4373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4374     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4376     break 2
   4377   fi
   4378 done
   4379   done
   4380 IFS=$as_save_IFS
   4381 
   4382   ;;
   4383 esac
   4384 fi
   4385 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4386 if test -n "$PKG_CONFIG"; then
   4387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4388 $as_echo "$PKG_CONFIG" >&6; }
   4389 else
   4390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4391 $as_echo "no" >&6; }
   4392 fi
   4393 
   4394 
   4395 fi
   4396 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4397   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4398   # Extract the first word of "pkg-config", so it can be a program name with args.
   4399 set dummy pkg-config; ac_word=$2
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4401 $as_echo_n "checking for $ac_word... " >&6; }
   4402 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4403   $as_echo_n "(cached) " >&6
   4404 else
   4405   case $ac_pt_PKG_CONFIG in
   4406   [\\/]* | ?:[\\/]*)
   4407   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4408   ;;
   4409   *)
   4410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4411 for as_dir in $PATH
   4412 do
   4413   IFS=$as_save_IFS
   4414   test -z "$as_dir" && as_dir=.
   4415     for ac_exec_ext in '' $ac_executable_extensions; do
   4416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4417     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4419     break 2
   4420   fi
   4421 done
   4422   done
   4423 IFS=$as_save_IFS
   4424 
   4425   ;;
   4426 esac
   4427 fi
   4428 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4429 if test -n "$ac_pt_PKG_CONFIG"; then
   4430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4431 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4432 else
   4433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4434 $as_echo "no" >&6; }
   4435 fi
   4436 
   4437   if test "x$ac_pt_PKG_CONFIG" = x; then
   4438     PKG_CONFIG=""
   4439   else
   4440     case $cross_compiling:$ac_tool_warned in
   4441 yes:)
   4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4444 ac_tool_warned=yes ;;
   4445 esac
   4446     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4447   fi
   4448 else
   4449   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4450 fi
   4451 
   4452 fi
   4453 if test -n "$PKG_CONFIG"; then
   4454 	_pkg_min_version=0.9.0
   4455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4456 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4457 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4459 $as_echo "yes" >&6; }
   4460 	else
   4461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4462 $as_echo "no" >&6; }
   4463 		PKG_CONFIG=""
   4464 	fi
   4465 
   4466 fi
   4467 # Make sure we can run config.sub.
   4468 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4469   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4470 
   4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4472 $as_echo_n "checking build system type... " >&6; }
   4473 if ${ac_cv_build+:} false; then :
   4474   $as_echo_n "(cached) " >&6
   4475 else
   4476   ac_build_alias=$build_alias
   4477 test "x$ac_build_alias" = x &&
   4478   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4479 test "x$ac_build_alias" = x &&
   4480   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4481 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4482   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4483 
   4484 fi
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4486 $as_echo "$ac_cv_build" >&6; }
   4487 case $ac_cv_build in
   4488 *-*-*) ;;
   4489 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4490 esac
   4491 build=$ac_cv_build
   4492 ac_save_IFS=$IFS; IFS='-'
   4493 set x $ac_cv_build
   4494 shift
   4495 build_cpu=$1
   4496 build_vendor=$2
   4497 shift; shift
   4498 # Remember, the first character of IFS is used to create $*,
   4499 # except with old shells:
   4500 build_os=$*
   4501 IFS=$ac_save_IFS
   4502 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4503 
   4504 
   4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4506 $as_echo_n "checking host system type... " >&6; }
   4507 if ${ac_cv_host+:} false; then :
   4508   $as_echo_n "(cached) " >&6
   4509 else
   4510   if test "x$host_alias" = x; then
   4511   ac_cv_host=$ac_cv_build
   4512 else
   4513   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4514     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4515 fi
   4516 
   4517 fi
   4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4519 $as_echo "$ac_cv_host" >&6; }
   4520 case $ac_cv_host in
   4521 *-*-*) ;;
   4522 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4523 esac
   4524 host=$ac_cv_host
   4525 ac_save_IFS=$IFS; IFS='-'
   4526 set x $ac_cv_host
   4527 shift
   4528 host_cpu=$1
   4529 host_vendor=$2
   4530 shift; shift
   4531 # Remember, the first character of IFS is used to create $*,
   4532 # except with old shells:
   4533 host_os=$*
   4534 IFS=$ac_save_IFS
   4535 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4536 
   4537 
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4539 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4540 if ${ac_cv_path_SED+:} false; then :
   4541   $as_echo_n "(cached) " >&6
   4542 else
   4543             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4544      for ac_i in 1 2 3 4 5 6 7; do
   4545        ac_script="$ac_script$as_nl$ac_script"
   4546      done
   4547      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4548      { ac_script=; unset ac_script;}
   4549      if test -z "$SED"; then
   4550   ac_path_SED_found=false
   4551   # Loop through the user's path and test for each of PROGNAME-LIST
   4552   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4553 for as_dir in $PATH
   4554 do
   4555   IFS=$as_save_IFS
   4556   test -z "$as_dir" && as_dir=.
   4557     for ac_prog in sed gsed; do
   4558     for ac_exec_ext in '' $ac_executable_extensions; do
   4559       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4560       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4561 # Check for GNU ac_path_SED and select it if it is found.
   4562   # Check for GNU $ac_path_SED
   4563 case `"$ac_path_SED" --version 2>&1` in
   4564 *GNU*)
   4565   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4566 *)
   4567   ac_count=0
   4568   $as_echo_n 0123456789 >"conftest.in"
   4569   while :
   4570   do
   4571     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4572     mv "conftest.tmp" "conftest.in"
   4573     cp "conftest.in" "conftest.nl"
   4574     $as_echo '' >> "conftest.nl"
   4575     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4576     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4577     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4578     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4579       # Best one so far, save it but keep looking for a better one
   4580       ac_cv_path_SED="$ac_path_SED"
   4581       ac_path_SED_max=$ac_count
   4582     fi
   4583     # 10*(2^10) chars as input seems more than enough
   4584     test $ac_count -gt 10 && break
   4585   done
   4586   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4587 esac
   4588 
   4589       $ac_path_SED_found && break 3
   4590     done
   4591   done
   4592   done
   4593 IFS=$as_save_IFS
   4594   if test -z "$ac_cv_path_SED"; then
   4595     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4596   fi
   4597 else
   4598   ac_cv_path_SED=$SED
   4599 fi
   4600 
   4601 fi
   4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4603 $as_echo "$ac_cv_path_SED" >&6; }
   4604  SED="$ac_cv_path_SED"
   4605   rm -f conftest.sed
   4606 
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 # Check whether --enable-selective-werror was given.
   4613 if test "${enable_selective_werror+set}" = set; then :
   4614   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4615 else
   4616   SELECTIVE_WERROR=yes
   4617 fi
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4624 if test "x$SUNCC" = "xyes"; then
   4625     BASE_CFLAGS="-v"
   4626 else
   4627     BASE_CFLAGS=""
   4628 fi
   4629 
   4630 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4631 
   4632 
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 xorg_testset_save_CFLAGS="$CFLAGS"
   4645 
   4646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4651   $as_echo_n "(cached) " >&6
   4652 else
   4653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4654 /* end confdefs.h.  */
   4655 int i;
   4656 _ACEOF
   4657 if ac_fn_c_try_compile "$LINENO"; then :
   4658   xorg_cv_cc_flag_unknown_warning_option=yes
   4659 else
   4660   xorg_cv_cc_flag_unknown_warning_option=no
   4661 fi
   4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4663 fi
   4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4667 	CFLAGS="$xorg_testset_save_CFLAGS"
   4668 fi
   4669 
   4670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4673 	fi
   4674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4678   $as_echo_n "(cached) " >&6
   4679 else
   4680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4681 /* end confdefs.h.  */
   4682 int i;
   4683 _ACEOF
   4684 if ac_fn_c_try_compile "$LINENO"; then :
   4685   xorg_cv_cc_flag_unused_command_line_argument=yes
   4686 else
   4687   xorg_cv_cc_flag_unused_command_line_argument=no
   4688 fi
   4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4690 fi
   4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4694 	CFLAGS="$xorg_testset_save_CFLAGS"
   4695 fi
   4696 
   4697 found="no"
   4698 
   4699 	if test $found = "no" ; then
   4700 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4702 		fi
   4703 
   4704 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4706 		fi
   4707 
   4708 		CFLAGS="$CFLAGS -Wall"
   4709 
   4710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   4711 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   4712 		cacheid=xorg_cv_cc_flag__Wall
   4713 		if eval \${$cacheid+:} false; then :
   4714   $as_echo_n "(cached) " >&6
   4715 else
   4716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4717 /* end confdefs.h.  */
   4718 int i;
   4719 int
   4720 main ()
   4721 {
   4722 
   4723   ;
   4724   return 0;
   4725 }
   4726 _ACEOF
   4727 if ac_fn_c_try_link "$LINENO"; then :
   4728   eval $cacheid=yes
   4729 else
   4730   eval $cacheid=no
   4731 fi
   4732 rm -f core conftest.err conftest.$ac_objext \
   4733     conftest$ac_exeext conftest.$ac_ext
   4734 fi
   4735 
   4736 
   4737 		CFLAGS="$xorg_testset_save_CFLAGS"
   4738 
   4739 		eval supported=\$$cacheid
   4740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4741 $as_echo "$supported" >&6; }
   4742 		if test "$supported" = "yes" ; then
   4743 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4744 			found="yes"
   4745 		fi
   4746 	fi
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 xorg_testset_save_CFLAGS="$CFLAGS"
   4763 
   4764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4772 /* end confdefs.h.  */
   4773 int i;
   4774 _ACEOF
   4775 if ac_fn_c_try_compile "$LINENO"; then :
   4776   xorg_cv_cc_flag_unknown_warning_option=yes
   4777 else
   4778   xorg_cv_cc_flag_unknown_warning_option=no
   4779 fi
   4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4781 fi
   4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4785 	CFLAGS="$xorg_testset_save_CFLAGS"
   4786 fi
   4787 
   4788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4791 	fi
   4792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4796   $as_echo_n "(cached) " >&6
   4797 else
   4798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4799 /* end confdefs.h.  */
   4800 int i;
   4801 _ACEOF
   4802 if ac_fn_c_try_compile "$LINENO"; then :
   4803   xorg_cv_cc_flag_unused_command_line_argument=yes
   4804 else
   4805   xorg_cv_cc_flag_unused_command_line_argument=no
   4806 fi
   4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4808 fi
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4812 	CFLAGS="$xorg_testset_save_CFLAGS"
   4813 fi
   4814 
   4815 found="no"
   4816 
   4817 	if test $found = "no" ; then
   4818 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4820 		fi
   4821 
   4822 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4824 		fi
   4825 
   4826 		CFLAGS="$CFLAGS -Wpointer-arith"
   4827 
   4828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   4829 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   4830 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4831 		if eval \${$cacheid+:} false; then :
   4832   $as_echo_n "(cached) " >&6
   4833 else
   4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4835 /* end confdefs.h.  */
   4836 int i;
   4837 int
   4838 main ()
   4839 {
   4840 
   4841   ;
   4842   return 0;
   4843 }
   4844 _ACEOF
   4845 if ac_fn_c_try_link "$LINENO"; then :
   4846   eval $cacheid=yes
   4847 else
   4848   eval $cacheid=no
   4849 fi
   4850 rm -f core conftest.err conftest.$ac_objext \
   4851     conftest$ac_exeext conftest.$ac_ext
   4852 fi
   4853 
   4854 
   4855 		CFLAGS="$xorg_testset_save_CFLAGS"
   4856 
   4857 		eval supported=\$$cacheid
   4858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4859 $as_echo "$supported" >&6; }
   4860 		if test "$supported" = "yes" ; then
   4861 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4862 			found="yes"
   4863 		fi
   4864 	fi
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 xorg_testset_save_CFLAGS="$CFLAGS"
   4881 
   4882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4885 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4886 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4887   $as_echo_n "(cached) " >&6
   4888 else
   4889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4890 /* end confdefs.h.  */
   4891 int i;
   4892 _ACEOF
   4893 if ac_fn_c_try_compile "$LINENO"; then :
   4894   xorg_cv_cc_flag_unknown_warning_option=yes
   4895 else
   4896   xorg_cv_cc_flag_unknown_warning_option=no
   4897 fi
   4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4899 fi
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4901 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4903 	CFLAGS="$xorg_testset_save_CFLAGS"
   4904 fi
   4905 
   4906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4909 	fi
   4910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4912 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4913 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4914   $as_echo_n "(cached) " >&6
   4915 else
   4916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4917 /* end confdefs.h.  */
   4918 int i;
   4919 _ACEOF
   4920 if ac_fn_c_try_compile "$LINENO"; then :
   4921   xorg_cv_cc_flag_unused_command_line_argument=yes
   4922 else
   4923   xorg_cv_cc_flag_unused_command_line_argument=no
   4924 fi
   4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4926 fi
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4928 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4930 	CFLAGS="$xorg_testset_save_CFLAGS"
   4931 fi
   4932 
   4933 found="no"
   4934 
   4935 	if test $found = "no" ; then
   4936 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4938 		fi
   4939 
   4940 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4942 		fi
   4943 
   4944 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4945 
   4946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   4947 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   4948 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4949 		if eval \${$cacheid+:} false; then :
   4950   $as_echo_n "(cached) " >&6
   4951 else
   4952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4953 /* end confdefs.h.  */
   4954 int i;
   4955 int
   4956 main ()
   4957 {
   4958 
   4959   ;
   4960   return 0;
   4961 }
   4962 _ACEOF
   4963 if ac_fn_c_try_link "$LINENO"; then :
   4964   eval $cacheid=yes
   4965 else
   4966   eval $cacheid=no
   4967 fi
   4968 rm -f core conftest.err conftest.$ac_objext \
   4969     conftest$ac_exeext conftest.$ac_ext
   4970 fi
   4971 
   4972 
   4973 		CFLAGS="$xorg_testset_save_CFLAGS"
   4974 
   4975 		eval supported=\$$cacheid
   4976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4977 $as_echo "$supported" >&6; }
   4978 		if test "$supported" = "yes" ; then
   4979 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4980 			found="yes"
   4981 		fi
   4982 	fi
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 xorg_testset_save_CFLAGS="$CFLAGS"
   4999 
   5000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5003 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5004 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5008 /* end confdefs.h.  */
   5009 int i;
   5010 _ACEOF
   5011 if ac_fn_c_try_compile "$LINENO"; then :
   5012   xorg_cv_cc_flag_unknown_warning_option=yes
   5013 else
   5014   xorg_cv_cc_flag_unknown_warning_option=no
   5015 fi
   5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5017 fi
   5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5019 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5021 	CFLAGS="$xorg_testset_save_CFLAGS"
   5022 fi
   5023 
   5024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5027 	fi
   5028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5030 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5031 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5032   $as_echo_n "(cached) " >&6
   5033 else
   5034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5035 /* end confdefs.h.  */
   5036 int i;
   5037 _ACEOF
   5038 if ac_fn_c_try_compile "$LINENO"; then :
   5039   xorg_cv_cc_flag_unused_command_line_argument=yes
   5040 else
   5041   xorg_cv_cc_flag_unused_command_line_argument=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5044 fi
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5046 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5048 	CFLAGS="$xorg_testset_save_CFLAGS"
   5049 fi
   5050 
   5051 found="no"
   5052 
   5053 	if test $found = "no" ; then
   5054 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5056 		fi
   5057 
   5058 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5060 		fi
   5061 
   5062 		CFLAGS="$CFLAGS -Wformat=2"
   5063 
   5064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   5065 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   5066 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5067 		if eval \${$cacheid+:} false; then :
   5068   $as_echo_n "(cached) " >&6
   5069 else
   5070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5071 /* end confdefs.h.  */
   5072 int i;
   5073 int
   5074 main ()
   5075 {
   5076 
   5077   ;
   5078   return 0;
   5079 }
   5080 _ACEOF
   5081 if ac_fn_c_try_link "$LINENO"; then :
   5082   eval $cacheid=yes
   5083 else
   5084   eval $cacheid=no
   5085 fi
   5086 rm -f core conftest.err conftest.$ac_objext \
   5087     conftest$ac_exeext conftest.$ac_ext
   5088 fi
   5089 
   5090 
   5091 		CFLAGS="$xorg_testset_save_CFLAGS"
   5092 
   5093 		eval supported=\$$cacheid
   5094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5095 $as_echo "$supported" >&6; }
   5096 		if test "$supported" = "yes" ; then
   5097 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5098 			found="yes"
   5099 		fi
   5100 	fi
   5101 
   5102 	if test $found = "no" ; then
   5103 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5105 		fi
   5106 
   5107 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5109 		fi
   5110 
   5111 		CFLAGS="$CFLAGS -Wformat"
   5112 
   5113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   5114 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   5115 		cacheid=xorg_cv_cc_flag__Wformat
   5116 		if eval \${$cacheid+:} false; then :
   5117   $as_echo_n "(cached) " >&6
   5118 else
   5119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5120 /* end confdefs.h.  */
   5121 int i;
   5122 int
   5123 main ()
   5124 {
   5125 
   5126   ;
   5127   return 0;
   5128 }
   5129 _ACEOF
   5130 if ac_fn_c_try_link "$LINENO"; then :
   5131   eval $cacheid=yes
   5132 else
   5133   eval $cacheid=no
   5134 fi
   5135 rm -f core conftest.err conftest.$ac_objext \
   5136     conftest$ac_exeext conftest.$ac_ext
   5137 fi
   5138 
   5139 
   5140 		CFLAGS="$xorg_testset_save_CFLAGS"
   5141 
   5142 		eval supported=\$$cacheid
   5143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5144 $as_echo "$supported" >&6; }
   5145 		if test "$supported" = "yes" ; then
   5146 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5147 			found="yes"
   5148 		fi
   5149 	fi
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 xorg_testset_save_CFLAGS="$CFLAGS"
   5168 
   5169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5172 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5173 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5174   $as_echo_n "(cached) " >&6
   5175 else
   5176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5177 /* end confdefs.h.  */
   5178 int i;
   5179 _ACEOF
   5180 if ac_fn_c_try_compile "$LINENO"; then :
   5181   xorg_cv_cc_flag_unknown_warning_option=yes
   5182 else
   5183   xorg_cv_cc_flag_unknown_warning_option=no
   5184 fi
   5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5186 fi
   5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5188 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5190 	CFLAGS="$xorg_testset_save_CFLAGS"
   5191 fi
   5192 
   5193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5196 	fi
   5197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5199 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5200 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5201   $as_echo_n "(cached) " >&6
   5202 else
   5203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5204 /* end confdefs.h.  */
   5205 int i;
   5206 _ACEOF
   5207 if ac_fn_c_try_compile "$LINENO"; then :
   5208   xorg_cv_cc_flag_unused_command_line_argument=yes
   5209 else
   5210   xorg_cv_cc_flag_unused_command_line_argument=no
   5211 fi
   5212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5213 fi
   5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5215 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5217 	CFLAGS="$xorg_testset_save_CFLAGS"
   5218 fi
   5219 
   5220 found="no"
   5221 
   5222 	if test $found = "no" ; then
   5223 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5225 		fi
   5226 
   5227 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5229 		fi
   5230 
   5231 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5232 
   5233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   5234 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   5235 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5236 		if eval \${$cacheid+:} false; then :
   5237   $as_echo_n "(cached) " >&6
   5238 else
   5239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5240 /* end confdefs.h.  */
   5241 int i;
   5242 int
   5243 main ()
   5244 {
   5245 
   5246   ;
   5247   return 0;
   5248 }
   5249 _ACEOF
   5250 if ac_fn_c_try_link "$LINENO"; then :
   5251   eval $cacheid=yes
   5252 else
   5253   eval $cacheid=no
   5254 fi
   5255 rm -f core conftest.err conftest.$ac_objext \
   5256     conftest$ac_exeext conftest.$ac_ext
   5257 fi
   5258 
   5259 
   5260 		CFLAGS="$xorg_testset_save_CFLAGS"
   5261 
   5262 		eval supported=\$$cacheid
   5263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5264 $as_echo "$supported" >&6; }
   5265 		if test "$supported" = "yes" ; then
   5266 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5267 			found="yes"
   5268 		fi
   5269 	fi
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 xorg_testset_save_CFLAGS="$CFLAGS"
   5286 
   5287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5290 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5291 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 _ACEOF
   5298 if ac_fn_c_try_compile "$LINENO"; then :
   5299   xorg_cv_cc_flag_unknown_warning_option=yes
   5300 else
   5301   xorg_cv_cc_flag_unknown_warning_option=no
   5302 fi
   5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5304 fi
   5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5306 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5307 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5308 	CFLAGS="$xorg_testset_save_CFLAGS"
   5309 fi
   5310 
   5311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5312 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5313 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5314 	fi
   5315 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5317 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5318 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5319   $as_echo_n "(cached) " >&6
   5320 else
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 _ACEOF
   5325 if ac_fn_c_try_compile "$LINENO"; then :
   5326   xorg_cv_cc_flag_unused_command_line_argument=yes
   5327 else
   5328   xorg_cv_cc_flag_unused_command_line_argument=no
   5329 fi
   5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5331 fi
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5333 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5335 	CFLAGS="$xorg_testset_save_CFLAGS"
   5336 fi
   5337 
   5338 found="no"
   5339 
   5340 	if test $found = "no" ; then
   5341 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5343 		fi
   5344 
   5345 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5347 		fi
   5348 
   5349 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5350 
   5351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   5352 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   5353 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5354 		if eval \${$cacheid+:} false; then :
   5355   $as_echo_n "(cached) " >&6
   5356 else
   5357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5358 /* end confdefs.h.  */
   5359 int i;
   5360 int
   5361 main ()
   5362 {
   5363 
   5364   ;
   5365   return 0;
   5366 }
   5367 _ACEOF
   5368 if ac_fn_c_try_link "$LINENO"; then :
   5369   eval $cacheid=yes
   5370 else
   5371   eval $cacheid=no
   5372 fi
   5373 rm -f core conftest.err conftest.$ac_objext \
   5374     conftest$ac_exeext conftest.$ac_ext
   5375 fi
   5376 
   5377 
   5378 		CFLAGS="$xorg_testset_save_CFLAGS"
   5379 
   5380 		eval supported=\$$cacheid
   5381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5382 $as_echo "$supported" >&6; }
   5383 		if test "$supported" = "yes" ; then
   5384 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5385 			found="yes"
   5386 		fi
   5387 	fi
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 xorg_testset_save_CFLAGS="$CFLAGS"
   5404 
   5405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5408 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5409 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 int i;
   5415 _ACEOF
   5416 if ac_fn_c_try_compile "$LINENO"; then :
   5417   xorg_cv_cc_flag_unknown_warning_option=yes
   5418 else
   5419   xorg_cv_cc_flag_unknown_warning_option=no
   5420 fi
   5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5422 fi
   5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5424 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5426 	CFLAGS="$xorg_testset_save_CFLAGS"
   5427 fi
   5428 
   5429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5432 	fi
   5433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5435 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5436 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5440 /* end confdefs.h.  */
   5441 int i;
   5442 _ACEOF
   5443 if ac_fn_c_try_compile "$LINENO"; then :
   5444   xorg_cv_cc_flag_unused_command_line_argument=yes
   5445 else
   5446   xorg_cv_cc_flag_unused_command_line_argument=no
   5447 fi
   5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5449 fi
   5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5451 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5453 	CFLAGS="$xorg_testset_save_CFLAGS"
   5454 fi
   5455 
   5456 found="no"
   5457 
   5458 	if test $found = "no" ; then
   5459 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5461 		fi
   5462 
   5463 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5465 		fi
   5466 
   5467 		CFLAGS="$CFLAGS -Wnested-externs"
   5468 
   5469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   5470 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   5471 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5472 		if eval \${$cacheid+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5476 /* end confdefs.h.  */
   5477 int i;
   5478 int
   5479 main ()
   5480 {
   5481 
   5482   ;
   5483   return 0;
   5484 }
   5485 _ACEOF
   5486 if ac_fn_c_try_link "$LINENO"; then :
   5487   eval $cacheid=yes
   5488 else
   5489   eval $cacheid=no
   5490 fi
   5491 rm -f core conftest.err conftest.$ac_objext \
   5492     conftest$ac_exeext conftest.$ac_ext
   5493 fi
   5494 
   5495 
   5496 		CFLAGS="$xorg_testset_save_CFLAGS"
   5497 
   5498 		eval supported=\$$cacheid
   5499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5500 $as_echo "$supported" >&6; }
   5501 		if test "$supported" = "yes" ; then
   5502 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5503 			found="yes"
   5504 		fi
   5505 	fi
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 xorg_testset_save_CFLAGS="$CFLAGS"
   5522 
   5523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5526 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5527 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5531 /* end confdefs.h.  */
   5532 int i;
   5533 _ACEOF
   5534 if ac_fn_c_try_compile "$LINENO"; then :
   5535   xorg_cv_cc_flag_unknown_warning_option=yes
   5536 else
   5537   xorg_cv_cc_flag_unknown_warning_option=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5540 fi
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5542 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5544 	CFLAGS="$xorg_testset_save_CFLAGS"
   5545 fi
   5546 
   5547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5550 	fi
   5551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5553 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5554 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5555   $as_echo_n "(cached) " >&6
   5556 else
   5557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5558 /* end confdefs.h.  */
   5559 int i;
   5560 _ACEOF
   5561 if ac_fn_c_try_compile "$LINENO"; then :
   5562   xorg_cv_cc_flag_unused_command_line_argument=yes
   5563 else
   5564   xorg_cv_cc_flag_unused_command_line_argument=no
   5565 fi
   5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5567 fi
   5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5569 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5571 	CFLAGS="$xorg_testset_save_CFLAGS"
   5572 fi
   5573 
   5574 found="no"
   5575 
   5576 	if test $found = "no" ; then
   5577 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5579 		fi
   5580 
   5581 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5583 		fi
   5584 
   5585 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5586 
   5587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   5588 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   5589 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5590 		if eval \${$cacheid+:} false; then :
   5591   $as_echo_n "(cached) " >&6
   5592 else
   5593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5594 /* end confdefs.h.  */
   5595 int i;
   5596 int
   5597 main ()
   5598 {
   5599 
   5600   ;
   5601   return 0;
   5602 }
   5603 _ACEOF
   5604 if ac_fn_c_try_link "$LINENO"; then :
   5605   eval $cacheid=yes
   5606 else
   5607   eval $cacheid=no
   5608 fi
   5609 rm -f core conftest.err conftest.$ac_objext \
   5610     conftest$ac_exeext conftest.$ac_ext
   5611 fi
   5612 
   5613 
   5614 		CFLAGS="$xorg_testset_save_CFLAGS"
   5615 
   5616 		eval supported=\$$cacheid
   5617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5618 $as_echo "$supported" >&6; }
   5619 		if test "$supported" = "yes" ; then
   5620 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5621 			found="yes"
   5622 		fi
   5623 	fi
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 xorg_testset_save_CFLAGS="$CFLAGS"
   5640 
   5641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5644 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5645 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5646   $as_echo_n "(cached) " >&6
   5647 else
   5648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 _ACEOF
   5652 if ac_fn_c_try_compile "$LINENO"; then :
   5653   xorg_cv_cc_flag_unknown_warning_option=yes
   5654 else
   5655   xorg_cv_cc_flag_unknown_warning_option=no
   5656 fi
   5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5658 fi
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5660 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5662 	CFLAGS="$xorg_testset_save_CFLAGS"
   5663 fi
   5664 
   5665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5668 	fi
   5669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5671 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5672 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5673   $as_echo_n "(cached) " >&6
   5674 else
   5675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5676 /* end confdefs.h.  */
   5677 int i;
   5678 _ACEOF
   5679 if ac_fn_c_try_compile "$LINENO"; then :
   5680   xorg_cv_cc_flag_unused_command_line_argument=yes
   5681 else
   5682   xorg_cv_cc_flag_unused_command_line_argument=no
   5683 fi
   5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5685 fi
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5687 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5689 	CFLAGS="$xorg_testset_save_CFLAGS"
   5690 fi
   5691 
   5692 found="no"
   5693 
   5694 	if test $found = "no" ; then
   5695 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5697 		fi
   5698 
   5699 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5701 		fi
   5702 
   5703 		CFLAGS="$CFLAGS -Wold-style-definition"
   5704 
   5705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   5706 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   5707 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5708 		if eval \${$cacheid+:} false; then :
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 int
   5715 main ()
   5716 {
   5717 
   5718   ;
   5719   return 0;
   5720 }
   5721 _ACEOF
   5722 if ac_fn_c_try_link "$LINENO"; then :
   5723   eval $cacheid=yes
   5724 else
   5725   eval $cacheid=no
   5726 fi
   5727 rm -f core conftest.err conftest.$ac_objext \
   5728     conftest$ac_exeext conftest.$ac_ext
   5729 fi
   5730 
   5731 
   5732 		CFLAGS="$xorg_testset_save_CFLAGS"
   5733 
   5734 		eval supported=\$$cacheid
   5735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5736 $as_echo "$supported" >&6; }
   5737 		if test "$supported" = "yes" ; then
   5738 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5739 			found="yes"
   5740 		fi
   5741 	fi
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 xorg_testset_save_CFLAGS="$CFLAGS"
   5758 
   5759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5762 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5763 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5764   $as_echo_n "(cached) " >&6
   5765 else
   5766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5767 /* end confdefs.h.  */
   5768 int i;
   5769 _ACEOF
   5770 if ac_fn_c_try_compile "$LINENO"; then :
   5771   xorg_cv_cc_flag_unknown_warning_option=yes
   5772 else
   5773   xorg_cv_cc_flag_unknown_warning_option=no
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5776 fi
   5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5778 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5780 	CFLAGS="$xorg_testset_save_CFLAGS"
   5781 fi
   5782 
   5783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5786 	fi
   5787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5789 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5790 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5791   $as_echo_n "(cached) " >&6
   5792 else
   5793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5794 /* end confdefs.h.  */
   5795 int i;
   5796 _ACEOF
   5797 if ac_fn_c_try_compile "$LINENO"; then :
   5798   xorg_cv_cc_flag_unused_command_line_argument=yes
   5799 else
   5800   xorg_cv_cc_flag_unused_command_line_argument=no
   5801 fi
   5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5803 fi
   5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5805 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5807 	CFLAGS="$xorg_testset_save_CFLAGS"
   5808 fi
   5809 
   5810 found="no"
   5811 
   5812 	if test $found = "no" ; then
   5813 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5815 		fi
   5816 
   5817 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5819 		fi
   5820 
   5821 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5822 
   5823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   5824 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   5825 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5826 		if eval \${$cacheid+:} false; then :
   5827   $as_echo_n "(cached) " >&6
   5828 else
   5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5830 /* end confdefs.h.  */
   5831 int i;
   5832 int
   5833 main ()
   5834 {
   5835 
   5836   ;
   5837   return 0;
   5838 }
   5839 _ACEOF
   5840 if ac_fn_c_try_link "$LINENO"; then :
   5841   eval $cacheid=yes
   5842 else
   5843   eval $cacheid=no
   5844 fi
   5845 rm -f core conftest.err conftest.$ac_objext \
   5846     conftest$ac_exeext conftest.$ac_ext
   5847 fi
   5848 
   5849 
   5850 		CFLAGS="$xorg_testset_save_CFLAGS"
   5851 
   5852 		eval supported=\$$cacheid
   5853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5854 $as_echo "$supported" >&6; }
   5855 		if test "$supported" = "yes" ; then
   5856 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5857 			found="yes"
   5858 		fi
   5859 	fi
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 # This chunk adds additional warnings that could catch undesired effects.
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 xorg_testset_save_CFLAGS="$CFLAGS"
   5880 
   5881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5884 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5885 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5886   $as_echo_n "(cached) " >&6
   5887 else
   5888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5889 /* end confdefs.h.  */
   5890 int i;
   5891 _ACEOF
   5892 if ac_fn_c_try_compile "$LINENO"; then :
   5893   xorg_cv_cc_flag_unknown_warning_option=yes
   5894 else
   5895   xorg_cv_cc_flag_unknown_warning_option=no
   5896 fi
   5897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5898 fi
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5900 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5902 	CFLAGS="$xorg_testset_save_CFLAGS"
   5903 fi
   5904 
   5905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5908 	fi
   5909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5911 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5912 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5913   $as_echo_n "(cached) " >&6
   5914 else
   5915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 _ACEOF
   5919 if ac_fn_c_try_compile "$LINENO"; then :
   5920   xorg_cv_cc_flag_unused_command_line_argument=yes
   5921 else
   5922   xorg_cv_cc_flag_unused_command_line_argument=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5925 fi
   5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5927 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5929 	CFLAGS="$xorg_testset_save_CFLAGS"
   5930 fi
   5931 
   5932 found="no"
   5933 
   5934 	if test $found = "no" ; then
   5935 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5937 		fi
   5938 
   5939 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5941 		fi
   5942 
   5943 		CFLAGS="$CFLAGS -Wunused"
   5944 
   5945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   5946 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   5947 		cacheid=xorg_cv_cc_flag__Wunused
   5948 		if eval \${$cacheid+:} false; then :
   5949   $as_echo_n "(cached) " >&6
   5950 else
   5951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5952 /* end confdefs.h.  */
   5953 int i;
   5954 int
   5955 main ()
   5956 {
   5957 
   5958   ;
   5959   return 0;
   5960 }
   5961 _ACEOF
   5962 if ac_fn_c_try_link "$LINENO"; then :
   5963   eval $cacheid=yes
   5964 else
   5965   eval $cacheid=no
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext \
   5968     conftest$ac_exeext conftest.$ac_ext
   5969 fi
   5970 
   5971 
   5972 		CFLAGS="$xorg_testset_save_CFLAGS"
   5973 
   5974 		eval supported=\$$cacheid
   5975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5976 $as_echo "$supported" >&6; }
   5977 		if test "$supported" = "yes" ; then
   5978 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5979 			found="yes"
   5980 		fi
   5981 	fi
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 xorg_testset_save_CFLAGS="$CFLAGS"
   5998 
   5999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6002 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6003 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6004   $as_echo_n "(cached) " >&6
   6005 else
   6006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6007 /* end confdefs.h.  */
   6008 int i;
   6009 _ACEOF
   6010 if ac_fn_c_try_compile "$LINENO"; then :
   6011   xorg_cv_cc_flag_unknown_warning_option=yes
   6012 else
   6013   xorg_cv_cc_flag_unknown_warning_option=no
   6014 fi
   6015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6016 fi
   6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6018 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6020 	CFLAGS="$xorg_testset_save_CFLAGS"
   6021 fi
   6022 
   6023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6026 	fi
   6027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6029 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6030 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6034 /* end confdefs.h.  */
   6035 int i;
   6036 _ACEOF
   6037 if ac_fn_c_try_compile "$LINENO"; then :
   6038   xorg_cv_cc_flag_unused_command_line_argument=yes
   6039 else
   6040   xorg_cv_cc_flag_unused_command_line_argument=no
   6041 fi
   6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6043 fi
   6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6045 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6047 	CFLAGS="$xorg_testset_save_CFLAGS"
   6048 fi
   6049 
   6050 found="no"
   6051 
   6052 	if test $found = "no" ; then
   6053 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6055 		fi
   6056 
   6057 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6059 		fi
   6060 
   6061 		CFLAGS="$CFLAGS -Wuninitialized"
   6062 
   6063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   6064 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   6065 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6066 		if eval \${$cacheid+:} false; then :
   6067   $as_echo_n "(cached) " >&6
   6068 else
   6069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6070 /* end confdefs.h.  */
   6071 int i;
   6072 int
   6073 main ()
   6074 {
   6075 
   6076   ;
   6077   return 0;
   6078 }
   6079 _ACEOF
   6080 if ac_fn_c_try_link "$LINENO"; then :
   6081   eval $cacheid=yes
   6082 else
   6083   eval $cacheid=no
   6084 fi
   6085 rm -f core conftest.err conftest.$ac_objext \
   6086     conftest$ac_exeext conftest.$ac_ext
   6087 fi
   6088 
   6089 
   6090 		CFLAGS="$xorg_testset_save_CFLAGS"
   6091 
   6092 		eval supported=\$$cacheid
   6093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6094 $as_echo "$supported" >&6; }
   6095 		if test "$supported" = "yes" ; then
   6096 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6097 			found="yes"
   6098 		fi
   6099 	fi
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 xorg_testset_save_CFLAGS="$CFLAGS"
   6116 
   6117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6120 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6121 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6122   $as_echo_n "(cached) " >&6
   6123 else
   6124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6125 /* end confdefs.h.  */
   6126 int i;
   6127 _ACEOF
   6128 if ac_fn_c_try_compile "$LINENO"; then :
   6129   xorg_cv_cc_flag_unknown_warning_option=yes
   6130 else
   6131   xorg_cv_cc_flag_unknown_warning_option=no
   6132 fi
   6133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6134 fi
   6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6136 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6138 	CFLAGS="$xorg_testset_save_CFLAGS"
   6139 fi
   6140 
   6141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6144 	fi
   6145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6147 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6148 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6149   $as_echo_n "(cached) " >&6
   6150 else
   6151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6152 /* end confdefs.h.  */
   6153 int i;
   6154 _ACEOF
   6155 if ac_fn_c_try_compile "$LINENO"; then :
   6156   xorg_cv_cc_flag_unused_command_line_argument=yes
   6157 else
   6158   xorg_cv_cc_flag_unused_command_line_argument=no
   6159 fi
   6160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6161 fi
   6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6163 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6164 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6165 	CFLAGS="$xorg_testset_save_CFLAGS"
   6166 fi
   6167 
   6168 found="no"
   6169 
   6170 	if test $found = "no" ; then
   6171 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6172 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6173 		fi
   6174 
   6175 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6176 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6177 		fi
   6178 
   6179 		CFLAGS="$CFLAGS -Wshadow"
   6180 
   6181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   6182 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   6183 		cacheid=xorg_cv_cc_flag__Wshadow
   6184 		if eval \${$cacheid+:} false; then :
   6185   $as_echo_n "(cached) " >&6
   6186 else
   6187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6188 /* end confdefs.h.  */
   6189 int i;
   6190 int
   6191 main ()
   6192 {
   6193 
   6194   ;
   6195   return 0;
   6196 }
   6197 _ACEOF
   6198 if ac_fn_c_try_link "$LINENO"; then :
   6199   eval $cacheid=yes
   6200 else
   6201   eval $cacheid=no
   6202 fi
   6203 rm -f core conftest.err conftest.$ac_objext \
   6204     conftest$ac_exeext conftest.$ac_ext
   6205 fi
   6206 
   6207 
   6208 		CFLAGS="$xorg_testset_save_CFLAGS"
   6209 
   6210 		eval supported=\$$cacheid
   6211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6212 $as_echo "$supported" >&6; }
   6213 		if test "$supported" = "yes" ; then
   6214 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6215 			found="yes"
   6216 		fi
   6217 	fi
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 xorg_testset_save_CFLAGS="$CFLAGS"
   6234 
   6235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6240   $as_echo_n "(cached) " >&6
   6241 else
   6242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6243 /* end confdefs.h.  */
   6244 int i;
   6245 _ACEOF
   6246 if ac_fn_c_try_compile "$LINENO"; then :
   6247   xorg_cv_cc_flag_unknown_warning_option=yes
   6248 else
   6249   xorg_cv_cc_flag_unknown_warning_option=no
   6250 fi
   6251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6252 fi
   6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6256 	CFLAGS="$xorg_testset_save_CFLAGS"
   6257 fi
   6258 
   6259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6262 	fi
   6263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6267   $as_echo_n "(cached) " >&6
   6268 else
   6269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6270 /* end confdefs.h.  */
   6271 int i;
   6272 _ACEOF
   6273 if ac_fn_c_try_compile "$LINENO"; then :
   6274   xorg_cv_cc_flag_unused_command_line_argument=yes
   6275 else
   6276   xorg_cv_cc_flag_unused_command_line_argument=no
   6277 fi
   6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6279 fi
   6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6283 	CFLAGS="$xorg_testset_save_CFLAGS"
   6284 fi
   6285 
   6286 found="no"
   6287 
   6288 	if test $found = "no" ; then
   6289 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6291 		fi
   6292 
   6293 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6295 		fi
   6296 
   6297 		CFLAGS="$CFLAGS -Wcast-qual"
   6298 
   6299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   6300 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   6301 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6302 		if eval \${$cacheid+:} false; then :
   6303   $as_echo_n "(cached) " >&6
   6304 else
   6305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6306 /* end confdefs.h.  */
   6307 int i;
   6308 int
   6309 main ()
   6310 {
   6311 
   6312   ;
   6313   return 0;
   6314 }
   6315 _ACEOF
   6316 if ac_fn_c_try_link "$LINENO"; then :
   6317   eval $cacheid=yes
   6318 else
   6319   eval $cacheid=no
   6320 fi
   6321 rm -f core conftest.err conftest.$ac_objext \
   6322     conftest$ac_exeext conftest.$ac_ext
   6323 fi
   6324 
   6325 
   6326 		CFLAGS="$xorg_testset_save_CFLAGS"
   6327 
   6328 		eval supported=\$$cacheid
   6329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6330 $as_echo "$supported" >&6; }
   6331 		if test "$supported" = "yes" ; then
   6332 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6333 			found="yes"
   6334 		fi
   6335 	fi
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 xorg_testset_save_CFLAGS="$CFLAGS"
   6352 
   6353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 _ACEOF
   6364 if ac_fn_c_try_compile "$LINENO"; then :
   6365   xorg_cv_cc_flag_unknown_warning_option=yes
   6366 else
   6367   xorg_cv_cc_flag_unknown_warning_option=no
   6368 fi
   6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6370 fi
   6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6374 	CFLAGS="$xorg_testset_save_CFLAGS"
   6375 fi
   6376 
   6377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6380 	fi
   6381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 _ACEOF
   6391 if ac_fn_c_try_compile "$LINENO"; then :
   6392   xorg_cv_cc_flag_unused_command_line_argument=yes
   6393 else
   6394   xorg_cv_cc_flag_unused_command_line_argument=no
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6397 fi
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6401 	CFLAGS="$xorg_testset_save_CFLAGS"
   6402 fi
   6403 
   6404 found="no"
   6405 
   6406 	if test $found = "no" ; then
   6407 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6409 		fi
   6410 
   6411 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6413 		fi
   6414 
   6415 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6416 
   6417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   6418 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   6419 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6420 		if eval \${$cacheid+:} false; then :
   6421   $as_echo_n "(cached) " >&6
   6422 else
   6423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6424 /* end confdefs.h.  */
   6425 int i;
   6426 int
   6427 main ()
   6428 {
   6429 
   6430   ;
   6431   return 0;
   6432 }
   6433 _ACEOF
   6434 if ac_fn_c_try_link "$LINENO"; then :
   6435   eval $cacheid=yes
   6436 else
   6437   eval $cacheid=no
   6438 fi
   6439 rm -f core conftest.err conftest.$ac_objext \
   6440     conftest$ac_exeext conftest.$ac_ext
   6441 fi
   6442 
   6443 
   6444 		CFLAGS="$xorg_testset_save_CFLAGS"
   6445 
   6446 		eval supported=\$$cacheid
   6447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6448 $as_echo "$supported" >&6; }
   6449 		if test "$supported" = "yes" ; then
   6450 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6451 			found="yes"
   6452 		fi
   6453 	fi
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 xorg_testset_save_CFLAGS="$CFLAGS"
   6470 
   6471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6476   $as_echo_n "(cached) " >&6
   6477 else
   6478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6479 /* end confdefs.h.  */
   6480 int i;
   6481 _ACEOF
   6482 if ac_fn_c_try_compile "$LINENO"; then :
   6483   xorg_cv_cc_flag_unknown_warning_option=yes
   6484 else
   6485   xorg_cv_cc_flag_unknown_warning_option=no
   6486 fi
   6487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6488 fi
   6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6492 	CFLAGS="$xorg_testset_save_CFLAGS"
   6493 fi
   6494 
   6495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6498 	fi
   6499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6503   $as_echo_n "(cached) " >&6
   6504 else
   6505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6506 /* end confdefs.h.  */
   6507 int i;
   6508 _ACEOF
   6509 if ac_fn_c_try_compile "$LINENO"; then :
   6510   xorg_cv_cc_flag_unused_command_line_argument=yes
   6511 else
   6512   xorg_cv_cc_flag_unused_command_line_argument=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6519 	CFLAGS="$xorg_testset_save_CFLAGS"
   6520 fi
   6521 
   6522 found="no"
   6523 
   6524 	if test $found = "no" ; then
   6525 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6527 		fi
   6528 
   6529 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6531 		fi
   6532 
   6533 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6534 
   6535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   6536 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   6537 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6538 		if eval \${$cacheid+:} false; then :
   6539   $as_echo_n "(cached) " >&6
   6540 else
   6541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6542 /* end confdefs.h.  */
   6543 int i;
   6544 int
   6545 main ()
   6546 {
   6547 
   6548   ;
   6549   return 0;
   6550 }
   6551 _ACEOF
   6552 if ac_fn_c_try_link "$LINENO"; then :
   6553   eval $cacheid=yes
   6554 else
   6555   eval $cacheid=no
   6556 fi
   6557 rm -f core conftest.err conftest.$ac_objext \
   6558     conftest$ac_exeext conftest.$ac_ext
   6559 fi
   6560 
   6561 
   6562 		CFLAGS="$xorg_testset_save_CFLAGS"
   6563 
   6564 		eval supported=\$$cacheid
   6565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6566 $as_echo "$supported" >&6; }
   6567 		if test "$supported" = "yes" ; then
   6568 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6569 			found="yes"
   6570 		fi
   6571 	fi
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 xorg_testset_save_CFLAGS="$CFLAGS"
   6588 
   6589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6597 /* end confdefs.h.  */
   6598 int i;
   6599 _ACEOF
   6600 if ac_fn_c_try_compile "$LINENO"; then :
   6601   xorg_cv_cc_flag_unknown_warning_option=yes
   6602 else
   6603   xorg_cv_cc_flag_unknown_warning_option=no
   6604 fi
   6605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6606 fi
   6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6610 	CFLAGS="$xorg_testset_save_CFLAGS"
   6611 fi
   6612 
   6613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6616 	fi
   6617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6621   $as_echo_n "(cached) " >&6
   6622 else
   6623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6624 /* end confdefs.h.  */
   6625 int i;
   6626 _ACEOF
   6627 if ac_fn_c_try_compile "$LINENO"; then :
   6628   xorg_cv_cc_flag_unused_command_line_argument=yes
   6629 else
   6630   xorg_cv_cc_flag_unused_command_line_argument=no
   6631 fi
   6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6633 fi
   6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6637 	CFLAGS="$xorg_testset_save_CFLAGS"
   6638 fi
   6639 
   6640 found="no"
   6641 
   6642 	if test $found = "no" ; then
   6643 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6645 		fi
   6646 
   6647 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6649 		fi
   6650 
   6651 		CFLAGS="$CFLAGS -Wredundant-decls"
   6652 
   6653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   6654 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   6655 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6656 		if eval \${$cacheid+:} false; then :
   6657   $as_echo_n "(cached) " >&6
   6658 else
   6659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6660 /* end confdefs.h.  */
   6661 int i;
   6662 int
   6663 main ()
   6664 {
   6665 
   6666   ;
   6667   return 0;
   6668 }
   6669 _ACEOF
   6670 if ac_fn_c_try_link "$LINENO"; then :
   6671   eval $cacheid=yes
   6672 else
   6673   eval $cacheid=no
   6674 fi
   6675 rm -f core conftest.err conftest.$ac_objext \
   6676     conftest$ac_exeext conftest.$ac_ext
   6677 fi
   6678 
   6679 
   6680 		CFLAGS="$xorg_testset_save_CFLAGS"
   6681 
   6682 		eval supported=\$$cacheid
   6683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6684 $as_echo "$supported" >&6; }
   6685 		if test "$supported" = "yes" ; then
   6686 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6687 			found="yes"
   6688 		fi
   6689 	fi
   6690 
   6691 
   6692 
   6693 # These are currently disabled because they are noisy.  They will be enabled
   6694 # in the future once the codebase is sufficiently modernized to silence
   6695 # them.  For now, I don't want them to drown out the other warnings.
   6696 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6697 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6698 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6699 
   6700 # Turn some warnings into errors, so we don't accidently get successful builds
   6701 # when there are problems that should be fixed.
   6702 
   6703 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 xorg_testset_save_CFLAGS="$CFLAGS"
   6718 
   6719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6722 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6723 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 _ACEOF
   6730 if ac_fn_c_try_compile "$LINENO"; then :
   6731   xorg_cv_cc_flag_unknown_warning_option=yes
   6732 else
   6733   xorg_cv_cc_flag_unknown_warning_option=no
   6734 fi
   6735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6736 fi
   6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6738 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6740 	CFLAGS="$xorg_testset_save_CFLAGS"
   6741 fi
   6742 
   6743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6746 	fi
   6747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6749 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6750 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6754 /* end confdefs.h.  */
   6755 int i;
   6756 _ACEOF
   6757 if ac_fn_c_try_compile "$LINENO"; then :
   6758   xorg_cv_cc_flag_unused_command_line_argument=yes
   6759 else
   6760   xorg_cv_cc_flag_unused_command_line_argument=no
   6761 fi
   6762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6763 fi
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6765 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6767 	CFLAGS="$xorg_testset_save_CFLAGS"
   6768 fi
   6769 
   6770 found="no"
   6771 
   6772 	if test $found = "no" ; then
   6773 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6775 		fi
   6776 
   6777 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6779 		fi
   6780 
   6781 		CFLAGS="$CFLAGS -Werror=implicit"
   6782 
   6783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   6784 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   6785 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6786 		if eval \${$cacheid+:} false; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6790 /* end confdefs.h.  */
   6791 int i;
   6792 int
   6793 main ()
   6794 {
   6795 
   6796   ;
   6797   return 0;
   6798 }
   6799 _ACEOF
   6800 if ac_fn_c_try_link "$LINENO"; then :
   6801   eval $cacheid=yes
   6802 else
   6803   eval $cacheid=no
   6804 fi
   6805 rm -f core conftest.err conftest.$ac_objext \
   6806     conftest$ac_exeext conftest.$ac_ext
   6807 fi
   6808 
   6809 
   6810 		CFLAGS="$xorg_testset_save_CFLAGS"
   6811 
   6812 		eval supported=\$$cacheid
   6813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6814 $as_echo "$supported" >&6; }
   6815 		if test "$supported" = "yes" ; then
   6816 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6817 			found="yes"
   6818 		fi
   6819 	fi
   6820 
   6821 	if test $found = "no" ; then
   6822 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6824 		fi
   6825 
   6826 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6828 		fi
   6829 
   6830 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6831 
   6832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6833 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6834 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6835 		if eval \${$cacheid+:} false; then :
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6839 /* end confdefs.h.  */
   6840 int i;
   6841 int
   6842 main ()
   6843 {
   6844 
   6845   ;
   6846   return 0;
   6847 }
   6848 _ACEOF
   6849 if ac_fn_c_try_link "$LINENO"; then :
   6850   eval $cacheid=yes
   6851 else
   6852   eval $cacheid=no
   6853 fi
   6854 rm -f core conftest.err conftest.$ac_objext \
   6855     conftest$ac_exeext conftest.$ac_ext
   6856 fi
   6857 
   6858 
   6859 		CFLAGS="$xorg_testset_save_CFLAGS"
   6860 
   6861 		eval supported=\$$cacheid
   6862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6863 $as_echo "$supported" >&6; }
   6864 		if test "$supported" = "yes" ; then
   6865 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6866 			found="yes"
   6867 		fi
   6868 	fi
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 xorg_testset_save_CFLAGS="$CFLAGS"
   6885 
   6886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6891   $as_echo_n "(cached) " >&6
   6892 else
   6893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 _ACEOF
   6897 if ac_fn_c_try_compile "$LINENO"; then :
   6898   xorg_cv_cc_flag_unknown_warning_option=yes
   6899 else
   6900   xorg_cv_cc_flag_unknown_warning_option=no
   6901 fi
   6902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6903 fi
   6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6907 	CFLAGS="$xorg_testset_save_CFLAGS"
   6908 fi
   6909 
   6910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 	fi
   6914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 _ACEOF
   6924 if ac_fn_c_try_compile "$LINENO"; then :
   6925   xorg_cv_cc_flag_unused_command_line_argument=yes
   6926 else
   6927   xorg_cv_cc_flag_unused_command_line_argument=no
   6928 fi
   6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6930 fi
   6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6934 	CFLAGS="$xorg_testset_save_CFLAGS"
   6935 fi
   6936 
   6937 found="no"
   6938 
   6939 	if test $found = "no" ; then
   6940 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 		fi
   6943 
   6944 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6946 		fi
   6947 
   6948 		CFLAGS="$CFLAGS -Werror=nonnull"
   6949 
   6950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   6951 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   6952 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6953 		if eval \${$cacheid+:} false; then :
   6954   $as_echo_n "(cached) " >&6
   6955 else
   6956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 int i;
   6959 int
   6960 main ()
   6961 {
   6962 
   6963   ;
   6964   return 0;
   6965 }
   6966 _ACEOF
   6967 if ac_fn_c_try_link "$LINENO"; then :
   6968   eval $cacheid=yes
   6969 else
   6970   eval $cacheid=no
   6971 fi
   6972 rm -f core conftest.err conftest.$ac_objext \
   6973     conftest$ac_exeext conftest.$ac_ext
   6974 fi
   6975 
   6976 
   6977 		CFLAGS="$xorg_testset_save_CFLAGS"
   6978 
   6979 		eval supported=\$$cacheid
   6980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6981 $as_echo "$supported" >&6; }
   6982 		if test "$supported" = "yes" ; then
   6983 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6984 			found="yes"
   6985 		fi
   6986 	fi
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 xorg_testset_save_CFLAGS="$CFLAGS"
   7003 
   7004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 int i;
   7014 _ACEOF
   7015 if ac_fn_c_try_compile "$LINENO"; then :
   7016   xorg_cv_cc_flag_unknown_warning_option=yes
   7017 else
   7018   xorg_cv_cc_flag_unknown_warning_option=no
   7019 fi
   7020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7021 fi
   7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7025 	CFLAGS="$xorg_testset_save_CFLAGS"
   7026 fi
   7027 
   7028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7031 	fi
   7032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7036   $as_echo_n "(cached) " >&6
   7037 else
   7038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7039 /* end confdefs.h.  */
   7040 int i;
   7041 _ACEOF
   7042 if ac_fn_c_try_compile "$LINENO"; then :
   7043   xorg_cv_cc_flag_unused_command_line_argument=yes
   7044 else
   7045   xorg_cv_cc_flag_unused_command_line_argument=no
   7046 fi
   7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7048 fi
   7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7052 	CFLAGS="$xorg_testset_save_CFLAGS"
   7053 fi
   7054 
   7055 found="no"
   7056 
   7057 	if test $found = "no" ; then
   7058 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7060 		fi
   7061 
   7062 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7064 		fi
   7065 
   7066 		CFLAGS="$CFLAGS -Werror=init-self"
   7067 
   7068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   7069 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   7070 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7071 		if eval \${$cacheid+:} false; then :
   7072   $as_echo_n "(cached) " >&6
   7073 else
   7074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 int i;
   7077 int
   7078 main ()
   7079 {
   7080 
   7081   ;
   7082   return 0;
   7083 }
   7084 _ACEOF
   7085 if ac_fn_c_try_link "$LINENO"; then :
   7086   eval $cacheid=yes
   7087 else
   7088   eval $cacheid=no
   7089 fi
   7090 rm -f core conftest.err conftest.$ac_objext \
   7091     conftest$ac_exeext conftest.$ac_ext
   7092 fi
   7093 
   7094 
   7095 		CFLAGS="$xorg_testset_save_CFLAGS"
   7096 
   7097 		eval supported=\$$cacheid
   7098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7099 $as_echo "$supported" >&6; }
   7100 		if test "$supported" = "yes" ; then
   7101 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7102 			found="yes"
   7103 		fi
   7104 	fi
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 xorg_testset_save_CFLAGS="$CFLAGS"
   7121 
   7122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7127   $as_echo_n "(cached) " >&6
   7128 else
   7129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7130 /* end confdefs.h.  */
   7131 int i;
   7132 _ACEOF
   7133 if ac_fn_c_try_compile "$LINENO"; then :
   7134   xorg_cv_cc_flag_unknown_warning_option=yes
   7135 else
   7136   xorg_cv_cc_flag_unknown_warning_option=no
   7137 fi
   7138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7139 fi
   7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7143 	CFLAGS="$xorg_testset_save_CFLAGS"
   7144 fi
   7145 
   7146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7149 	fi
   7150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7154   $as_echo_n "(cached) " >&6
   7155 else
   7156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7157 /* end confdefs.h.  */
   7158 int i;
   7159 _ACEOF
   7160 if ac_fn_c_try_compile "$LINENO"; then :
   7161   xorg_cv_cc_flag_unused_command_line_argument=yes
   7162 else
   7163   xorg_cv_cc_flag_unused_command_line_argument=no
   7164 fi
   7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7166 fi
   7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7170 	CFLAGS="$xorg_testset_save_CFLAGS"
   7171 fi
   7172 
   7173 found="no"
   7174 
   7175 	if test $found = "no" ; then
   7176 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7178 		fi
   7179 
   7180 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7182 		fi
   7183 
   7184 		CFLAGS="$CFLAGS -Werror=main"
   7185 
   7186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   7187 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   7188 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7189 		if eval \${$cacheid+:} false; then :
   7190   $as_echo_n "(cached) " >&6
   7191 else
   7192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 int i;
   7195 int
   7196 main ()
   7197 {
   7198 
   7199   ;
   7200   return 0;
   7201 }
   7202 _ACEOF
   7203 if ac_fn_c_try_link "$LINENO"; then :
   7204   eval $cacheid=yes
   7205 else
   7206   eval $cacheid=no
   7207 fi
   7208 rm -f core conftest.err conftest.$ac_objext \
   7209     conftest$ac_exeext conftest.$ac_ext
   7210 fi
   7211 
   7212 
   7213 		CFLAGS="$xorg_testset_save_CFLAGS"
   7214 
   7215 		eval supported=\$$cacheid
   7216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7217 $as_echo "$supported" >&6; }
   7218 		if test "$supported" = "yes" ; then
   7219 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7220 			found="yes"
   7221 		fi
   7222 	fi
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 xorg_testset_save_CFLAGS="$CFLAGS"
   7239 
   7240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7245   $as_echo_n "(cached) " >&6
   7246 else
   7247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 int i;
   7250 _ACEOF
   7251 if ac_fn_c_try_compile "$LINENO"; then :
   7252   xorg_cv_cc_flag_unknown_warning_option=yes
   7253 else
   7254   xorg_cv_cc_flag_unknown_warning_option=no
   7255 fi
   7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7257 fi
   7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7261 	CFLAGS="$xorg_testset_save_CFLAGS"
   7262 fi
   7263 
   7264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7267 	fi
   7268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7272   $as_echo_n "(cached) " >&6
   7273 else
   7274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 _ACEOF
   7278 if ac_fn_c_try_compile "$LINENO"; then :
   7279   xorg_cv_cc_flag_unused_command_line_argument=yes
   7280 else
   7281   xorg_cv_cc_flag_unused_command_line_argument=no
   7282 fi
   7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7284 fi
   7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7288 	CFLAGS="$xorg_testset_save_CFLAGS"
   7289 fi
   7290 
   7291 found="no"
   7292 
   7293 	if test $found = "no" ; then
   7294 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7296 		fi
   7297 
   7298 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7300 		fi
   7301 
   7302 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7303 
   7304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   7305 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   7306 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7307 		if eval \${$cacheid+:} false; then :
   7308   $as_echo_n "(cached) " >&6
   7309 else
   7310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7311 /* end confdefs.h.  */
   7312 int i;
   7313 int
   7314 main ()
   7315 {
   7316 
   7317   ;
   7318   return 0;
   7319 }
   7320 _ACEOF
   7321 if ac_fn_c_try_link "$LINENO"; then :
   7322   eval $cacheid=yes
   7323 else
   7324   eval $cacheid=no
   7325 fi
   7326 rm -f core conftest.err conftest.$ac_objext \
   7327     conftest$ac_exeext conftest.$ac_ext
   7328 fi
   7329 
   7330 
   7331 		CFLAGS="$xorg_testset_save_CFLAGS"
   7332 
   7333 		eval supported=\$$cacheid
   7334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7335 $as_echo "$supported" >&6; }
   7336 		if test "$supported" = "yes" ; then
   7337 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7338 			found="yes"
   7339 		fi
   7340 	fi
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 xorg_testset_save_CFLAGS="$CFLAGS"
   7357 
   7358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7363   $as_echo_n "(cached) " >&6
   7364 else
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"; then :
   7370   xorg_cv_cc_flag_unknown_warning_option=yes
   7371 else
   7372   xorg_cv_cc_flag_unknown_warning_option=no
   7373 fi
   7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7375 fi
   7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7379 	CFLAGS="$xorg_testset_save_CFLAGS"
   7380 fi
   7381 
   7382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7385 	fi
   7386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7393 /* end confdefs.h.  */
   7394 int i;
   7395 _ACEOF
   7396 if ac_fn_c_try_compile "$LINENO"; then :
   7397   xorg_cv_cc_flag_unused_command_line_argument=yes
   7398 else
   7399   xorg_cv_cc_flag_unused_command_line_argument=no
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7402 fi
   7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7406 	CFLAGS="$xorg_testset_save_CFLAGS"
   7407 fi
   7408 
   7409 found="no"
   7410 
   7411 	if test $found = "no" ; then
   7412 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7414 		fi
   7415 
   7416 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7418 		fi
   7419 
   7420 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7421 
   7422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   7423 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   7424 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7425 		if eval \${$cacheid+:} false; then :
   7426   $as_echo_n "(cached) " >&6
   7427 else
   7428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 int i;
   7431 int
   7432 main ()
   7433 {
   7434 
   7435   ;
   7436   return 0;
   7437 }
   7438 _ACEOF
   7439 if ac_fn_c_try_link "$LINENO"; then :
   7440   eval $cacheid=yes
   7441 else
   7442   eval $cacheid=no
   7443 fi
   7444 rm -f core conftest.err conftest.$ac_objext \
   7445     conftest$ac_exeext conftest.$ac_ext
   7446 fi
   7447 
   7448 
   7449 		CFLAGS="$xorg_testset_save_CFLAGS"
   7450 
   7451 		eval supported=\$$cacheid
   7452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7453 $as_echo "$supported" >&6; }
   7454 		if test "$supported" = "yes" ; then
   7455 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7456 			found="yes"
   7457 		fi
   7458 	fi
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 xorg_testset_save_CFLAGS="$CFLAGS"
   7475 
   7476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7481   $as_echo_n "(cached) " >&6
   7482 else
   7483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 _ACEOF
   7487 if ac_fn_c_try_compile "$LINENO"; then :
   7488   xorg_cv_cc_flag_unknown_warning_option=yes
   7489 else
   7490   xorg_cv_cc_flag_unknown_warning_option=no
   7491 fi
   7492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7493 fi
   7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7497 	CFLAGS="$xorg_testset_save_CFLAGS"
   7498 fi
   7499 
   7500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7503 	fi
   7504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7508   $as_echo_n "(cached) " >&6
   7509 else
   7510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7511 /* end confdefs.h.  */
   7512 int i;
   7513 _ACEOF
   7514 if ac_fn_c_try_compile "$LINENO"; then :
   7515   xorg_cv_cc_flag_unused_command_line_argument=yes
   7516 else
   7517   xorg_cv_cc_flag_unused_command_line_argument=no
   7518 fi
   7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7520 fi
   7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7524 	CFLAGS="$xorg_testset_save_CFLAGS"
   7525 fi
   7526 
   7527 found="no"
   7528 
   7529 	if test $found = "no" ; then
   7530 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7532 		fi
   7533 
   7534 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7536 		fi
   7537 
   7538 		CFLAGS="$CFLAGS -Werror=return-type"
   7539 
   7540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   7541 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   7542 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7543 		if eval \${$cacheid+:} false; then :
   7544   $as_echo_n "(cached) " >&6
   7545 else
   7546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7547 /* end confdefs.h.  */
   7548 int i;
   7549 int
   7550 main ()
   7551 {
   7552 
   7553   ;
   7554   return 0;
   7555 }
   7556 _ACEOF
   7557 if ac_fn_c_try_link "$LINENO"; then :
   7558   eval $cacheid=yes
   7559 else
   7560   eval $cacheid=no
   7561 fi
   7562 rm -f core conftest.err conftest.$ac_objext \
   7563     conftest$ac_exeext conftest.$ac_ext
   7564 fi
   7565 
   7566 
   7567 		CFLAGS="$xorg_testset_save_CFLAGS"
   7568 
   7569 		eval supported=\$$cacheid
   7570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7571 $as_echo "$supported" >&6; }
   7572 		if test "$supported" = "yes" ; then
   7573 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7574 			found="yes"
   7575 		fi
   7576 	fi
   7577 
   7578 	if test $found = "no" ; then
   7579 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 		fi
   7582 
   7583 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7585 		fi
   7586 
   7587 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7588 
   7589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7590 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7591 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7592 		if eval \${$cacheid+:} false; then :
   7593   $as_echo_n "(cached) " >&6
   7594 else
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 int i;
   7598 int
   7599 main ()
   7600 {
   7601 
   7602   ;
   7603   return 0;
   7604 }
   7605 _ACEOF
   7606 if ac_fn_c_try_link "$LINENO"; then :
   7607   eval $cacheid=yes
   7608 else
   7609   eval $cacheid=no
   7610 fi
   7611 rm -f core conftest.err conftest.$ac_objext \
   7612     conftest$ac_exeext conftest.$ac_ext
   7613 fi
   7614 
   7615 
   7616 		CFLAGS="$xorg_testset_save_CFLAGS"
   7617 
   7618 		eval supported=\$$cacheid
   7619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7620 $as_echo "$supported" >&6; }
   7621 		if test "$supported" = "yes" ; then
   7622 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7623 			found="yes"
   7624 		fi
   7625 	fi
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 xorg_testset_save_CFLAGS="$CFLAGS"
   7642 
   7643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7646 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7647 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7651 /* end confdefs.h.  */
   7652 int i;
   7653 _ACEOF
   7654 if ac_fn_c_try_compile "$LINENO"; then :
   7655   xorg_cv_cc_flag_unknown_warning_option=yes
   7656 else
   7657   xorg_cv_cc_flag_unknown_warning_option=no
   7658 fi
   7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7660 fi
   7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7662 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7664 	CFLAGS="$xorg_testset_save_CFLAGS"
   7665 fi
   7666 
   7667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7670 	fi
   7671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7673 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7674 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7675   $as_echo_n "(cached) " >&6
   7676 else
   7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 _ACEOF
   7681 if ac_fn_c_try_compile "$LINENO"; then :
   7682   xorg_cv_cc_flag_unused_command_line_argument=yes
   7683 else
   7684   xorg_cv_cc_flag_unused_command_line_argument=no
   7685 fi
   7686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7687 fi
   7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7689 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7691 	CFLAGS="$xorg_testset_save_CFLAGS"
   7692 fi
   7693 
   7694 found="no"
   7695 
   7696 	if test $found = "no" ; then
   7697 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7699 		fi
   7700 
   7701 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7703 		fi
   7704 
   7705 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7706 
   7707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   7708 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   7709 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7710 		if eval \${$cacheid+:} false; then :
   7711   $as_echo_n "(cached) " >&6
   7712 else
   7713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714 /* end confdefs.h.  */
   7715 int i;
   7716 int
   7717 main ()
   7718 {
   7719 
   7720   ;
   7721   return 0;
   7722 }
   7723 _ACEOF
   7724 if ac_fn_c_try_link "$LINENO"; then :
   7725   eval $cacheid=yes
   7726 else
   7727   eval $cacheid=no
   7728 fi
   7729 rm -f core conftest.err conftest.$ac_objext \
   7730     conftest$ac_exeext conftest.$ac_ext
   7731 fi
   7732 
   7733 
   7734 		CFLAGS="$xorg_testset_save_CFLAGS"
   7735 
   7736 		eval supported=\$$cacheid
   7737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7738 $as_echo "$supported" >&6; }
   7739 		if test "$supported" = "yes" ; then
   7740 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7741 			found="yes"
   7742 		fi
   7743 	fi
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 xorg_testset_save_CFLAGS="$CFLAGS"
   7760 
   7761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7764 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7765 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7766   $as_echo_n "(cached) " >&6
   7767 else
   7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7769 /* end confdefs.h.  */
   7770 int i;
   7771 _ACEOF
   7772 if ac_fn_c_try_compile "$LINENO"; then :
   7773   xorg_cv_cc_flag_unknown_warning_option=yes
   7774 else
   7775   xorg_cv_cc_flag_unknown_warning_option=no
   7776 fi
   7777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7778 fi
   7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7780 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7782 	CFLAGS="$xorg_testset_save_CFLAGS"
   7783 fi
   7784 
   7785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7788 	fi
   7789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7791 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7792 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7793   $as_echo_n "(cached) " >&6
   7794 else
   7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7796 /* end confdefs.h.  */
   7797 int i;
   7798 _ACEOF
   7799 if ac_fn_c_try_compile "$LINENO"; then :
   7800   xorg_cv_cc_flag_unused_command_line_argument=yes
   7801 else
   7802   xorg_cv_cc_flag_unused_command_line_argument=no
   7803 fi
   7804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7805 fi
   7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7807 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7809 	CFLAGS="$xorg_testset_save_CFLAGS"
   7810 fi
   7811 
   7812 found="no"
   7813 
   7814 	if test $found = "no" ; then
   7815 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7817 		fi
   7818 
   7819 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7821 		fi
   7822 
   7823 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7824 
   7825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   7826 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   7827 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7828 		if eval \${$cacheid+:} false; then :
   7829   $as_echo_n "(cached) " >&6
   7830 else
   7831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7832 /* end confdefs.h.  */
   7833 int i;
   7834 int
   7835 main ()
   7836 {
   7837 
   7838   ;
   7839   return 0;
   7840 }
   7841 _ACEOF
   7842 if ac_fn_c_try_link "$LINENO"; then :
   7843   eval $cacheid=yes
   7844 else
   7845   eval $cacheid=no
   7846 fi
   7847 rm -f core conftest.err conftest.$ac_objext \
   7848     conftest$ac_exeext conftest.$ac_ext
   7849 fi
   7850 
   7851 
   7852 		CFLAGS="$xorg_testset_save_CFLAGS"
   7853 
   7854 		eval supported=\$$cacheid
   7855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7856 $as_echo "$supported" >&6; }
   7857 		if test "$supported" = "yes" ; then
   7858 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7859 			found="yes"
   7860 		fi
   7861 	fi
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 xorg_testset_save_CFLAGS="$CFLAGS"
   7878 
   7879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7884   $as_echo_n "(cached) " >&6
   7885 else
   7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7887 /* end confdefs.h.  */
   7888 int i;
   7889 _ACEOF
   7890 if ac_fn_c_try_compile "$LINENO"; then :
   7891   xorg_cv_cc_flag_unknown_warning_option=yes
   7892 else
   7893   xorg_cv_cc_flag_unknown_warning_option=no
   7894 fi
   7895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7896 fi
   7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7900 	CFLAGS="$xorg_testset_save_CFLAGS"
   7901 fi
   7902 
   7903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7906 	fi
   7907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7914 /* end confdefs.h.  */
   7915 int i;
   7916 _ACEOF
   7917 if ac_fn_c_try_compile "$LINENO"; then :
   7918   xorg_cv_cc_flag_unused_command_line_argument=yes
   7919 else
   7920   xorg_cv_cc_flag_unused_command_line_argument=no
   7921 fi
   7922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7923 fi
   7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7927 	CFLAGS="$xorg_testset_save_CFLAGS"
   7928 fi
   7929 
   7930 found="no"
   7931 
   7932 	if test $found = "no" ; then
   7933 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7935 		fi
   7936 
   7937 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7939 		fi
   7940 
   7941 		CFLAGS="$CFLAGS -Werror=write-strings"
   7942 
   7943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   7944 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   7945 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7946 		if eval \${$cacheid+:} false; then :
   7947   $as_echo_n "(cached) " >&6
   7948 else
   7949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7950 /* end confdefs.h.  */
   7951 int i;
   7952 int
   7953 main ()
   7954 {
   7955 
   7956   ;
   7957   return 0;
   7958 }
   7959 _ACEOF
   7960 if ac_fn_c_try_link "$LINENO"; then :
   7961   eval $cacheid=yes
   7962 else
   7963   eval $cacheid=no
   7964 fi
   7965 rm -f core conftest.err conftest.$ac_objext \
   7966     conftest$ac_exeext conftest.$ac_ext
   7967 fi
   7968 
   7969 
   7970 		CFLAGS="$xorg_testset_save_CFLAGS"
   7971 
   7972 		eval supported=\$$cacheid
   7973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7974 $as_echo "$supported" >&6; }
   7975 		if test "$supported" = "yes" ; then
   7976 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7977 			found="yes"
   7978 		fi
   7979 	fi
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 xorg_testset_save_CFLAGS="$CFLAGS"
   7996 
   7997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8002   $as_echo_n "(cached) " >&6
   8003 else
   8004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8005 /* end confdefs.h.  */
   8006 int i;
   8007 _ACEOF
   8008 if ac_fn_c_try_compile "$LINENO"; then :
   8009   xorg_cv_cc_flag_unknown_warning_option=yes
   8010 else
   8011   xorg_cv_cc_flag_unknown_warning_option=no
   8012 fi
   8013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8014 fi
   8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8018 	CFLAGS="$xorg_testset_save_CFLAGS"
   8019 fi
   8020 
   8021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8024 	fi
   8025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8029   $as_echo_n "(cached) " >&6
   8030 else
   8031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8032 /* end confdefs.h.  */
   8033 int i;
   8034 _ACEOF
   8035 if ac_fn_c_try_compile "$LINENO"; then :
   8036   xorg_cv_cc_flag_unused_command_line_argument=yes
   8037 else
   8038   xorg_cv_cc_flag_unused_command_line_argument=no
   8039 fi
   8040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8041 fi
   8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8045 	CFLAGS="$xorg_testset_save_CFLAGS"
   8046 fi
   8047 
   8048 found="no"
   8049 
   8050 	if test $found = "no" ; then
   8051 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8053 		fi
   8054 
   8055 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8057 		fi
   8058 
   8059 		CFLAGS="$CFLAGS -Werror=address"
   8060 
   8061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   8062 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   8063 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8064 		if eval \${$cacheid+:} false; then :
   8065   $as_echo_n "(cached) " >&6
   8066 else
   8067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8068 /* end confdefs.h.  */
   8069 int i;
   8070 int
   8071 main ()
   8072 {
   8073 
   8074   ;
   8075   return 0;
   8076 }
   8077 _ACEOF
   8078 if ac_fn_c_try_link "$LINENO"; then :
   8079   eval $cacheid=yes
   8080 else
   8081   eval $cacheid=no
   8082 fi
   8083 rm -f core conftest.err conftest.$ac_objext \
   8084     conftest$ac_exeext conftest.$ac_ext
   8085 fi
   8086 
   8087 
   8088 		CFLAGS="$xorg_testset_save_CFLAGS"
   8089 
   8090 		eval supported=\$$cacheid
   8091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8092 $as_echo "$supported" >&6; }
   8093 		if test "$supported" = "yes" ; then
   8094 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8095 			found="yes"
   8096 		fi
   8097 	fi
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 xorg_testset_save_CFLAGS="$CFLAGS"
   8114 
   8115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8120   $as_echo_n "(cached) " >&6
   8121 else
   8122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8123 /* end confdefs.h.  */
   8124 int i;
   8125 _ACEOF
   8126 if ac_fn_c_try_compile "$LINENO"; then :
   8127   xorg_cv_cc_flag_unknown_warning_option=yes
   8128 else
   8129   xorg_cv_cc_flag_unknown_warning_option=no
   8130 fi
   8131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8132 fi
   8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8136 	CFLAGS="$xorg_testset_save_CFLAGS"
   8137 fi
   8138 
   8139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8142 	fi
   8143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8147   $as_echo_n "(cached) " >&6
   8148 else
   8149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8150 /* end confdefs.h.  */
   8151 int i;
   8152 _ACEOF
   8153 if ac_fn_c_try_compile "$LINENO"; then :
   8154   xorg_cv_cc_flag_unused_command_line_argument=yes
   8155 else
   8156   xorg_cv_cc_flag_unused_command_line_argument=no
   8157 fi
   8158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8159 fi
   8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8163 	CFLAGS="$xorg_testset_save_CFLAGS"
   8164 fi
   8165 
   8166 found="no"
   8167 
   8168 	if test $found = "no" ; then
   8169 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8171 		fi
   8172 
   8173 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8175 		fi
   8176 
   8177 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8178 
   8179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   8180 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   8181 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8182 		if eval \${$cacheid+:} false; then :
   8183   $as_echo_n "(cached) " >&6
   8184 else
   8185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8186 /* end confdefs.h.  */
   8187 int i;
   8188 int
   8189 main ()
   8190 {
   8191 
   8192   ;
   8193   return 0;
   8194 }
   8195 _ACEOF
   8196 if ac_fn_c_try_link "$LINENO"; then :
   8197   eval $cacheid=yes
   8198 else
   8199   eval $cacheid=no
   8200 fi
   8201 rm -f core conftest.err conftest.$ac_objext \
   8202     conftest$ac_exeext conftest.$ac_ext
   8203 fi
   8204 
   8205 
   8206 		CFLAGS="$xorg_testset_save_CFLAGS"
   8207 
   8208 		eval supported=\$$cacheid
   8209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8210 $as_echo "$supported" >&6; }
   8211 		if test "$supported" = "yes" ; then
   8212 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8213 			found="yes"
   8214 		fi
   8215 	fi
   8216 
   8217 	if test $found = "no" ; then
   8218 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8220 		fi
   8221 
   8222 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8224 		fi
   8225 
   8226 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8227 
   8228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8229 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8230 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8231 		if eval \${$cacheid+:} false; then :
   8232   $as_echo_n "(cached) " >&6
   8233 else
   8234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 int
   8238 main ()
   8239 {
   8240 
   8241   ;
   8242   return 0;
   8243 }
   8244 _ACEOF
   8245 if ac_fn_c_try_link "$LINENO"; then :
   8246   eval $cacheid=yes
   8247 else
   8248   eval $cacheid=no
   8249 fi
   8250 rm -f core conftest.err conftest.$ac_objext \
   8251     conftest$ac_exeext conftest.$ac_ext
   8252 fi
   8253 
   8254 
   8255 		CFLAGS="$xorg_testset_save_CFLAGS"
   8256 
   8257 		eval supported=\$$cacheid
   8258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8259 $as_echo "$supported" >&6; }
   8260 		if test "$supported" = "yes" ; then
   8261 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8262 			found="yes"
   8263 		fi
   8264 	fi
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 xorg_testset_save_CFLAGS="$CFLAGS"
   8281 
   8282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 int i;
   8292 _ACEOF
   8293 if ac_fn_c_try_compile "$LINENO"; then :
   8294   xorg_cv_cc_flag_unknown_warning_option=yes
   8295 else
   8296   xorg_cv_cc_flag_unknown_warning_option=no
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8299 fi
   8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8303 	CFLAGS="$xorg_testset_save_CFLAGS"
   8304 fi
   8305 
   8306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8309 	fi
   8310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8314   $as_echo_n "(cached) " >&6
   8315 else
   8316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8317 /* end confdefs.h.  */
   8318 int i;
   8319 _ACEOF
   8320 if ac_fn_c_try_compile "$LINENO"; then :
   8321   xorg_cv_cc_flag_unused_command_line_argument=yes
   8322 else
   8323   xorg_cv_cc_flag_unused_command_line_argument=no
   8324 fi
   8325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8326 fi
   8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8330 	CFLAGS="$xorg_testset_save_CFLAGS"
   8331 fi
   8332 
   8333 found="no"
   8334 
   8335 	if test $found = "no" ; then
   8336 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8338 		fi
   8339 
   8340 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8342 		fi
   8343 
   8344 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8345 
   8346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   8347 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   8348 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8349 		if eval \${$cacheid+:} false; then :
   8350   $as_echo_n "(cached) " >&6
   8351 else
   8352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 int i;
   8355 int
   8356 main ()
   8357 {
   8358 
   8359   ;
   8360   return 0;
   8361 }
   8362 _ACEOF
   8363 if ac_fn_c_try_link "$LINENO"; then :
   8364   eval $cacheid=yes
   8365 else
   8366   eval $cacheid=no
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext \
   8369     conftest$ac_exeext conftest.$ac_ext
   8370 fi
   8371 
   8372 
   8373 		CFLAGS="$xorg_testset_save_CFLAGS"
   8374 
   8375 		eval supported=\$$cacheid
   8376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8377 $as_echo "$supported" >&6; }
   8378 		if test "$supported" = "yes" ; then
   8379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8380 			found="yes"
   8381 		fi
   8382 	fi
   8383 
   8384  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8385 else
   8386 { $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
   8387 $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;}
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 xorg_testset_save_CFLAGS="$CFLAGS"
   8402 
   8403 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8404 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8406 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8407 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8408   $as_echo_n "(cached) " >&6
   8409 else
   8410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8411 /* end confdefs.h.  */
   8412 int i;
   8413 _ACEOF
   8414 if ac_fn_c_try_compile "$LINENO"; then :
   8415   xorg_cv_cc_flag_unknown_warning_option=yes
   8416 else
   8417   xorg_cv_cc_flag_unknown_warning_option=no
   8418 fi
   8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8420 fi
   8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8422 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8424 	CFLAGS="$xorg_testset_save_CFLAGS"
   8425 fi
   8426 
   8427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8430 	fi
   8431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8433 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8434 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8435   $as_echo_n "(cached) " >&6
   8436 else
   8437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 _ACEOF
   8441 if ac_fn_c_try_compile "$LINENO"; then :
   8442   xorg_cv_cc_flag_unused_command_line_argument=yes
   8443 else
   8444   xorg_cv_cc_flag_unused_command_line_argument=no
   8445 fi
   8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8447 fi
   8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8449 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8451 	CFLAGS="$xorg_testset_save_CFLAGS"
   8452 fi
   8453 
   8454 found="no"
   8455 
   8456 	if test $found = "no" ; then
   8457 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8459 		fi
   8460 
   8461 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8463 		fi
   8464 
   8465 		CFLAGS="$CFLAGS -Wimplicit"
   8466 
   8467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   8468 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   8469 		cacheid=xorg_cv_cc_flag__Wimplicit
   8470 		if eval \${$cacheid+:} false; then :
   8471   $as_echo_n "(cached) " >&6
   8472 else
   8473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8474 /* end confdefs.h.  */
   8475 int i;
   8476 int
   8477 main ()
   8478 {
   8479 
   8480   ;
   8481   return 0;
   8482 }
   8483 _ACEOF
   8484 if ac_fn_c_try_link "$LINENO"; then :
   8485   eval $cacheid=yes
   8486 else
   8487   eval $cacheid=no
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext \
   8490     conftest$ac_exeext conftest.$ac_ext
   8491 fi
   8492 
   8493 
   8494 		CFLAGS="$xorg_testset_save_CFLAGS"
   8495 
   8496 		eval supported=\$$cacheid
   8497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8498 $as_echo "$supported" >&6; }
   8499 		if test "$supported" = "yes" ; then
   8500 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8501 			found="yes"
   8502 		fi
   8503 	fi
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 xorg_testset_save_CFLAGS="$CFLAGS"
   8520 
   8521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8524 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8525 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8526   $as_echo_n "(cached) " >&6
   8527 else
   8528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8529 /* end confdefs.h.  */
   8530 int i;
   8531 _ACEOF
   8532 if ac_fn_c_try_compile "$LINENO"; then :
   8533   xorg_cv_cc_flag_unknown_warning_option=yes
   8534 else
   8535   xorg_cv_cc_flag_unknown_warning_option=no
   8536 fi
   8537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8538 fi
   8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8540 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8542 	CFLAGS="$xorg_testset_save_CFLAGS"
   8543 fi
   8544 
   8545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8548 	fi
   8549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8551 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8552 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8553   $as_echo_n "(cached) " >&6
   8554 else
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 _ACEOF
   8559 if ac_fn_c_try_compile "$LINENO"; then :
   8560   xorg_cv_cc_flag_unused_command_line_argument=yes
   8561 else
   8562   xorg_cv_cc_flag_unused_command_line_argument=no
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8565 fi
   8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8567 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8569 	CFLAGS="$xorg_testset_save_CFLAGS"
   8570 fi
   8571 
   8572 found="no"
   8573 
   8574 	if test $found = "no" ; then
   8575 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8577 		fi
   8578 
   8579 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8581 		fi
   8582 
   8583 		CFLAGS="$CFLAGS -Wnonnull"
   8584 
   8585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   8586 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   8587 		cacheid=xorg_cv_cc_flag__Wnonnull
   8588 		if eval \${$cacheid+:} false; then :
   8589   $as_echo_n "(cached) " >&6
   8590 else
   8591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8592 /* end confdefs.h.  */
   8593 int i;
   8594 int
   8595 main ()
   8596 {
   8597 
   8598   ;
   8599   return 0;
   8600 }
   8601 _ACEOF
   8602 if ac_fn_c_try_link "$LINENO"; then :
   8603   eval $cacheid=yes
   8604 else
   8605   eval $cacheid=no
   8606 fi
   8607 rm -f core conftest.err conftest.$ac_objext \
   8608     conftest$ac_exeext conftest.$ac_ext
   8609 fi
   8610 
   8611 
   8612 		CFLAGS="$xorg_testset_save_CFLAGS"
   8613 
   8614 		eval supported=\$$cacheid
   8615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8616 $as_echo "$supported" >&6; }
   8617 		if test "$supported" = "yes" ; then
   8618 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8619 			found="yes"
   8620 		fi
   8621 	fi
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 xorg_testset_save_CFLAGS="$CFLAGS"
   8638 
   8639 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8640 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8642 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8643 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8644   $as_echo_n "(cached) " >&6
   8645 else
   8646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 _ACEOF
   8650 if ac_fn_c_try_compile "$LINENO"; then :
   8651   xorg_cv_cc_flag_unknown_warning_option=yes
   8652 else
   8653   xorg_cv_cc_flag_unknown_warning_option=no
   8654 fi
   8655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8656 fi
   8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8658 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8660 	CFLAGS="$xorg_testset_save_CFLAGS"
   8661 fi
   8662 
   8663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8666 	fi
   8667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8669 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8670 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 _ACEOF
   8677 if ac_fn_c_try_compile "$LINENO"; then :
   8678   xorg_cv_cc_flag_unused_command_line_argument=yes
   8679 else
   8680   xorg_cv_cc_flag_unused_command_line_argument=no
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8683 fi
   8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8685 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8687 	CFLAGS="$xorg_testset_save_CFLAGS"
   8688 fi
   8689 
   8690 found="no"
   8691 
   8692 	if test $found = "no" ; then
   8693 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8695 		fi
   8696 
   8697 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8699 		fi
   8700 
   8701 		CFLAGS="$CFLAGS -Winit-self"
   8702 
   8703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   8704 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   8705 		cacheid=xorg_cv_cc_flag__Winit_self
   8706 		if eval \${$cacheid+:} false; then :
   8707   $as_echo_n "(cached) " >&6
   8708 else
   8709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8710 /* end confdefs.h.  */
   8711 int i;
   8712 int
   8713 main ()
   8714 {
   8715 
   8716   ;
   8717   return 0;
   8718 }
   8719 _ACEOF
   8720 if ac_fn_c_try_link "$LINENO"; then :
   8721   eval $cacheid=yes
   8722 else
   8723   eval $cacheid=no
   8724 fi
   8725 rm -f core conftest.err conftest.$ac_objext \
   8726     conftest$ac_exeext conftest.$ac_ext
   8727 fi
   8728 
   8729 
   8730 		CFLAGS="$xorg_testset_save_CFLAGS"
   8731 
   8732 		eval supported=\$$cacheid
   8733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8734 $as_echo "$supported" >&6; }
   8735 		if test "$supported" = "yes" ; then
   8736 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8737 			found="yes"
   8738 		fi
   8739 	fi
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 xorg_testset_save_CFLAGS="$CFLAGS"
   8756 
   8757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8760 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8761 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8762   $as_echo_n "(cached) " >&6
   8763 else
   8764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8765 /* end confdefs.h.  */
   8766 int i;
   8767 _ACEOF
   8768 if ac_fn_c_try_compile "$LINENO"; then :
   8769   xorg_cv_cc_flag_unknown_warning_option=yes
   8770 else
   8771   xorg_cv_cc_flag_unknown_warning_option=no
   8772 fi
   8773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8774 fi
   8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8776 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8778 	CFLAGS="$xorg_testset_save_CFLAGS"
   8779 fi
   8780 
   8781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8784 	fi
   8785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8787 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8788 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8789   $as_echo_n "(cached) " >&6
   8790 else
   8791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 _ACEOF
   8795 if ac_fn_c_try_compile "$LINENO"; then :
   8796   xorg_cv_cc_flag_unused_command_line_argument=yes
   8797 else
   8798   xorg_cv_cc_flag_unused_command_line_argument=no
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8801 fi
   8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8803 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8804 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8805 	CFLAGS="$xorg_testset_save_CFLAGS"
   8806 fi
   8807 
   8808 found="no"
   8809 
   8810 	if test $found = "no" ; then
   8811 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8813 		fi
   8814 
   8815 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8817 		fi
   8818 
   8819 		CFLAGS="$CFLAGS -Wmain"
   8820 
   8821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   8822 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   8823 		cacheid=xorg_cv_cc_flag__Wmain
   8824 		if eval \${$cacheid+:} false; then :
   8825   $as_echo_n "(cached) " >&6
   8826 else
   8827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8828 /* end confdefs.h.  */
   8829 int i;
   8830 int
   8831 main ()
   8832 {
   8833 
   8834   ;
   8835   return 0;
   8836 }
   8837 _ACEOF
   8838 if ac_fn_c_try_link "$LINENO"; then :
   8839   eval $cacheid=yes
   8840 else
   8841   eval $cacheid=no
   8842 fi
   8843 rm -f core conftest.err conftest.$ac_objext \
   8844     conftest$ac_exeext conftest.$ac_ext
   8845 fi
   8846 
   8847 
   8848 		CFLAGS="$xorg_testset_save_CFLAGS"
   8849 
   8850 		eval supported=\$$cacheid
   8851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8852 $as_echo "$supported" >&6; }
   8853 		if test "$supported" = "yes" ; then
   8854 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8855 			found="yes"
   8856 		fi
   8857 	fi
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 xorg_testset_save_CFLAGS="$CFLAGS"
   8874 
   8875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8880   $as_echo_n "(cached) " >&6
   8881 else
   8882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 _ACEOF
   8886 if ac_fn_c_try_compile "$LINENO"; then :
   8887   xorg_cv_cc_flag_unknown_warning_option=yes
   8888 else
   8889   xorg_cv_cc_flag_unknown_warning_option=no
   8890 fi
   8891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8892 fi
   8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8896 	CFLAGS="$xorg_testset_save_CFLAGS"
   8897 fi
   8898 
   8899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8902 	fi
   8903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8907   $as_echo_n "(cached) " >&6
   8908 else
   8909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8910 /* end confdefs.h.  */
   8911 int i;
   8912 _ACEOF
   8913 if ac_fn_c_try_compile "$LINENO"; then :
   8914   xorg_cv_cc_flag_unused_command_line_argument=yes
   8915 else
   8916   xorg_cv_cc_flag_unused_command_line_argument=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8919 fi
   8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8923 	CFLAGS="$xorg_testset_save_CFLAGS"
   8924 fi
   8925 
   8926 found="no"
   8927 
   8928 	if test $found = "no" ; then
   8929 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8931 		fi
   8932 
   8933 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8935 		fi
   8936 
   8937 		CFLAGS="$CFLAGS -Wmissing-braces"
   8938 
   8939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   8940 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   8941 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8942 		if eval \${$cacheid+:} false; then :
   8943   $as_echo_n "(cached) " >&6
   8944 else
   8945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8946 /* end confdefs.h.  */
   8947 int i;
   8948 int
   8949 main ()
   8950 {
   8951 
   8952   ;
   8953   return 0;
   8954 }
   8955 _ACEOF
   8956 if ac_fn_c_try_link "$LINENO"; then :
   8957   eval $cacheid=yes
   8958 else
   8959   eval $cacheid=no
   8960 fi
   8961 rm -f core conftest.err conftest.$ac_objext \
   8962     conftest$ac_exeext conftest.$ac_ext
   8963 fi
   8964 
   8965 
   8966 		CFLAGS="$xorg_testset_save_CFLAGS"
   8967 
   8968 		eval supported=\$$cacheid
   8969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8970 $as_echo "$supported" >&6; }
   8971 		if test "$supported" = "yes" ; then
   8972 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8973 			found="yes"
   8974 		fi
   8975 	fi
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 xorg_testset_save_CFLAGS="$CFLAGS"
   8992 
   8993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8998   $as_echo_n "(cached) " >&6
   8999 else
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 _ACEOF
   9004 if ac_fn_c_try_compile "$LINENO"; then :
   9005   xorg_cv_cc_flag_unknown_warning_option=yes
   9006 else
   9007   xorg_cv_cc_flag_unknown_warning_option=no
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9010 fi
   9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9014 	CFLAGS="$xorg_testset_save_CFLAGS"
   9015 fi
   9016 
   9017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9020 	fi
   9021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9025   $as_echo_n "(cached) " >&6
   9026 else
   9027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 int i;
   9030 _ACEOF
   9031 if ac_fn_c_try_compile "$LINENO"; then :
   9032   xorg_cv_cc_flag_unused_command_line_argument=yes
   9033 else
   9034   xorg_cv_cc_flag_unused_command_line_argument=no
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9037 fi
   9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9041 	CFLAGS="$xorg_testset_save_CFLAGS"
   9042 fi
   9043 
   9044 found="no"
   9045 
   9046 	if test $found = "no" ; then
   9047 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9049 		fi
   9050 
   9051 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9053 		fi
   9054 
   9055 		CFLAGS="$CFLAGS -Wsequence-point"
   9056 
   9057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   9058 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   9059 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9060 		if eval \${$cacheid+:} false; then :
   9061   $as_echo_n "(cached) " >&6
   9062 else
   9063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9064 /* end confdefs.h.  */
   9065 int i;
   9066 int
   9067 main ()
   9068 {
   9069 
   9070   ;
   9071   return 0;
   9072 }
   9073 _ACEOF
   9074 if ac_fn_c_try_link "$LINENO"; then :
   9075   eval $cacheid=yes
   9076 else
   9077   eval $cacheid=no
   9078 fi
   9079 rm -f core conftest.err conftest.$ac_objext \
   9080     conftest$ac_exeext conftest.$ac_ext
   9081 fi
   9082 
   9083 
   9084 		CFLAGS="$xorg_testset_save_CFLAGS"
   9085 
   9086 		eval supported=\$$cacheid
   9087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9088 $as_echo "$supported" >&6; }
   9089 		if test "$supported" = "yes" ; then
   9090 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9091 			found="yes"
   9092 		fi
   9093 	fi
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 xorg_testset_save_CFLAGS="$CFLAGS"
   9110 
   9111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9116   $as_echo_n "(cached) " >&6
   9117 else
   9118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9119 /* end confdefs.h.  */
   9120 int i;
   9121 _ACEOF
   9122 if ac_fn_c_try_compile "$LINENO"; then :
   9123   xorg_cv_cc_flag_unknown_warning_option=yes
   9124 else
   9125   xorg_cv_cc_flag_unknown_warning_option=no
   9126 fi
   9127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9128 fi
   9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9132 	CFLAGS="$xorg_testset_save_CFLAGS"
   9133 fi
   9134 
   9135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9138 	fi
   9139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9143   $as_echo_n "(cached) " >&6
   9144 else
   9145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9146 /* end confdefs.h.  */
   9147 int i;
   9148 _ACEOF
   9149 if ac_fn_c_try_compile "$LINENO"; then :
   9150   xorg_cv_cc_flag_unused_command_line_argument=yes
   9151 else
   9152   xorg_cv_cc_flag_unused_command_line_argument=no
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9155 fi
   9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9159 	CFLAGS="$xorg_testset_save_CFLAGS"
   9160 fi
   9161 
   9162 found="no"
   9163 
   9164 	if test $found = "no" ; then
   9165 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9167 		fi
   9168 
   9169 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9171 		fi
   9172 
   9173 		CFLAGS="$CFLAGS -Wreturn-type"
   9174 
   9175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   9176 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   9177 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9178 		if eval \${$cacheid+:} false; then :
   9179   $as_echo_n "(cached) " >&6
   9180 else
   9181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9182 /* end confdefs.h.  */
   9183 int i;
   9184 int
   9185 main ()
   9186 {
   9187 
   9188   ;
   9189   return 0;
   9190 }
   9191 _ACEOF
   9192 if ac_fn_c_try_link "$LINENO"; then :
   9193   eval $cacheid=yes
   9194 else
   9195   eval $cacheid=no
   9196 fi
   9197 rm -f core conftest.err conftest.$ac_objext \
   9198     conftest$ac_exeext conftest.$ac_ext
   9199 fi
   9200 
   9201 
   9202 		CFLAGS="$xorg_testset_save_CFLAGS"
   9203 
   9204 		eval supported=\$$cacheid
   9205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9206 $as_echo "$supported" >&6; }
   9207 		if test "$supported" = "yes" ; then
   9208 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9209 			found="yes"
   9210 		fi
   9211 	fi
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 xorg_testset_save_CFLAGS="$CFLAGS"
   9228 
   9229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9234   $as_echo_n "(cached) " >&6
   9235 else
   9236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9237 /* end confdefs.h.  */
   9238 int i;
   9239 _ACEOF
   9240 if ac_fn_c_try_compile "$LINENO"; then :
   9241   xorg_cv_cc_flag_unknown_warning_option=yes
   9242 else
   9243   xorg_cv_cc_flag_unknown_warning_option=no
   9244 fi
   9245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9246 fi
   9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9250 	CFLAGS="$xorg_testset_save_CFLAGS"
   9251 fi
   9252 
   9253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9256 	fi
   9257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9261   $as_echo_n "(cached) " >&6
   9262 else
   9263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9264 /* end confdefs.h.  */
   9265 int i;
   9266 _ACEOF
   9267 if ac_fn_c_try_compile "$LINENO"; then :
   9268   xorg_cv_cc_flag_unused_command_line_argument=yes
   9269 else
   9270   xorg_cv_cc_flag_unused_command_line_argument=no
   9271 fi
   9272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9273 fi
   9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9277 	CFLAGS="$xorg_testset_save_CFLAGS"
   9278 fi
   9279 
   9280 found="no"
   9281 
   9282 	if test $found = "no" ; then
   9283 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9285 		fi
   9286 
   9287 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9289 		fi
   9290 
   9291 		CFLAGS="$CFLAGS -Wtrigraphs"
   9292 
   9293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   9294 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   9295 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9296 		if eval \${$cacheid+:} false; then :
   9297   $as_echo_n "(cached) " >&6
   9298 else
   9299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9300 /* end confdefs.h.  */
   9301 int i;
   9302 int
   9303 main ()
   9304 {
   9305 
   9306   ;
   9307   return 0;
   9308 }
   9309 _ACEOF
   9310 if ac_fn_c_try_link "$LINENO"; then :
   9311   eval $cacheid=yes
   9312 else
   9313   eval $cacheid=no
   9314 fi
   9315 rm -f core conftest.err conftest.$ac_objext \
   9316     conftest$ac_exeext conftest.$ac_ext
   9317 fi
   9318 
   9319 
   9320 		CFLAGS="$xorg_testset_save_CFLAGS"
   9321 
   9322 		eval supported=\$$cacheid
   9323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9324 $as_echo "$supported" >&6; }
   9325 		if test "$supported" = "yes" ; then
   9326 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9327 			found="yes"
   9328 		fi
   9329 	fi
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 xorg_testset_save_CFLAGS="$CFLAGS"
   9346 
   9347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9352   $as_echo_n "(cached) " >&6
   9353 else
   9354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9355 /* end confdefs.h.  */
   9356 int i;
   9357 _ACEOF
   9358 if ac_fn_c_try_compile "$LINENO"; then :
   9359   xorg_cv_cc_flag_unknown_warning_option=yes
   9360 else
   9361   xorg_cv_cc_flag_unknown_warning_option=no
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9364 fi
   9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9368 	CFLAGS="$xorg_testset_save_CFLAGS"
   9369 fi
   9370 
   9371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9374 	fi
   9375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9379   $as_echo_n "(cached) " >&6
   9380 else
   9381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9382 /* end confdefs.h.  */
   9383 int i;
   9384 _ACEOF
   9385 if ac_fn_c_try_compile "$LINENO"; then :
   9386   xorg_cv_cc_flag_unused_command_line_argument=yes
   9387 else
   9388   xorg_cv_cc_flag_unused_command_line_argument=no
   9389 fi
   9390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9391 fi
   9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9395 	CFLAGS="$xorg_testset_save_CFLAGS"
   9396 fi
   9397 
   9398 found="no"
   9399 
   9400 	if test $found = "no" ; then
   9401 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9403 		fi
   9404 
   9405 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9407 		fi
   9408 
   9409 		CFLAGS="$CFLAGS -Warray-bounds"
   9410 
   9411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   9412 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   9413 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9414 		if eval \${$cacheid+:} false; then :
   9415   $as_echo_n "(cached) " >&6
   9416 else
   9417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9418 /* end confdefs.h.  */
   9419 int i;
   9420 int
   9421 main ()
   9422 {
   9423 
   9424   ;
   9425   return 0;
   9426 }
   9427 _ACEOF
   9428 if ac_fn_c_try_link "$LINENO"; then :
   9429   eval $cacheid=yes
   9430 else
   9431   eval $cacheid=no
   9432 fi
   9433 rm -f core conftest.err conftest.$ac_objext \
   9434     conftest$ac_exeext conftest.$ac_ext
   9435 fi
   9436 
   9437 
   9438 		CFLAGS="$xorg_testset_save_CFLAGS"
   9439 
   9440 		eval supported=\$$cacheid
   9441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9442 $as_echo "$supported" >&6; }
   9443 		if test "$supported" = "yes" ; then
   9444 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9445 			found="yes"
   9446 		fi
   9447 	fi
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 xorg_testset_save_CFLAGS="$CFLAGS"
   9464 
   9465 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9466 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9468 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9469 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9470   $as_echo_n "(cached) " >&6
   9471 else
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 _ACEOF
   9476 if ac_fn_c_try_compile "$LINENO"; then :
   9477   xorg_cv_cc_flag_unknown_warning_option=yes
   9478 else
   9479   xorg_cv_cc_flag_unknown_warning_option=no
   9480 fi
   9481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9482 fi
   9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9484 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9486 	CFLAGS="$xorg_testset_save_CFLAGS"
   9487 fi
   9488 
   9489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9492 	fi
   9493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9495 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9496 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9497   $as_echo_n "(cached) " >&6
   9498 else
   9499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9500 /* end confdefs.h.  */
   9501 int i;
   9502 _ACEOF
   9503 if ac_fn_c_try_compile "$LINENO"; then :
   9504   xorg_cv_cc_flag_unused_command_line_argument=yes
   9505 else
   9506   xorg_cv_cc_flag_unused_command_line_argument=no
   9507 fi
   9508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9509 fi
   9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9511 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9513 	CFLAGS="$xorg_testset_save_CFLAGS"
   9514 fi
   9515 
   9516 found="no"
   9517 
   9518 	if test $found = "no" ; then
   9519 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9521 		fi
   9522 
   9523 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9525 		fi
   9526 
   9527 		CFLAGS="$CFLAGS -Wwrite-strings"
   9528 
   9529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   9530 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   9531 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9532 		if eval \${$cacheid+:} false; then :
   9533   $as_echo_n "(cached) " >&6
   9534 else
   9535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9536 /* end confdefs.h.  */
   9537 int i;
   9538 int
   9539 main ()
   9540 {
   9541 
   9542   ;
   9543   return 0;
   9544 }
   9545 _ACEOF
   9546 if ac_fn_c_try_link "$LINENO"; then :
   9547   eval $cacheid=yes
   9548 else
   9549   eval $cacheid=no
   9550 fi
   9551 rm -f core conftest.err conftest.$ac_objext \
   9552     conftest$ac_exeext conftest.$ac_ext
   9553 fi
   9554 
   9555 
   9556 		CFLAGS="$xorg_testset_save_CFLAGS"
   9557 
   9558 		eval supported=\$$cacheid
   9559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9560 $as_echo "$supported" >&6; }
   9561 		if test "$supported" = "yes" ; then
   9562 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9563 			found="yes"
   9564 		fi
   9565 	fi
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 xorg_testset_save_CFLAGS="$CFLAGS"
   9582 
   9583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9586 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9587 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9588   $as_echo_n "(cached) " >&6
   9589 else
   9590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9591 /* end confdefs.h.  */
   9592 int i;
   9593 _ACEOF
   9594 if ac_fn_c_try_compile "$LINENO"; then :
   9595   xorg_cv_cc_flag_unknown_warning_option=yes
   9596 else
   9597   xorg_cv_cc_flag_unknown_warning_option=no
   9598 fi
   9599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9600 fi
   9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9602 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9604 	CFLAGS="$xorg_testset_save_CFLAGS"
   9605 fi
   9606 
   9607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9610 	fi
   9611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9613 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9614 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9615   $as_echo_n "(cached) " >&6
   9616 else
   9617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9618 /* end confdefs.h.  */
   9619 int i;
   9620 _ACEOF
   9621 if ac_fn_c_try_compile "$LINENO"; then :
   9622   xorg_cv_cc_flag_unused_command_line_argument=yes
   9623 else
   9624   xorg_cv_cc_flag_unused_command_line_argument=no
   9625 fi
   9626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9627 fi
   9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9629 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9631 	CFLAGS="$xorg_testset_save_CFLAGS"
   9632 fi
   9633 
   9634 found="no"
   9635 
   9636 	if test $found = "no" ; then
   9637 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9639 		fi
   9640 
   9641 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9643 		fi
   9644 
   9645 		CFLAGS="$CFLAGS -Waddress"
   9646 
   9647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   9648 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   9649 		cacheid=xorg_cv_cc_flag__Waddress
   9650 		if eval \${$cacheid+:} false; then :
   9651   $as_echo_n "(cached) " >&6
   9652 else
   9653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9654 /* end confdefs.h.  */
   9655 int i;
   9656 int
   9657 main ()
   9658 {
   9659 
   9660   ;
   9661   return 0;
   9662 }
   9663 _ACEOF
   9664 if ac_fn_c_try_link "$LINENO"; then :
   9665   eval $cacheid=yes
   9666 else
   9667   eval $cacheid=no
   9668 fi
   9669 rm -f core conftest.err conftest.$ac_objext \
   9670     conftest$ac_exeext conftest.$ac_ext
   9671 fi
   9672 
   9673 
   9674 		CFLAGS="$xorg_testset_save_CFLAGS"
   9675 
   9676 		eval supported=\$$cacheid
   9677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9678 $as_echo "$supported" >&6; }
   9679 		if test "$supported" = "yes" ; then
   9680 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9681 			found="yes"
   9682 		fi
   9683 	fi
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 xorg_testset_save_CFLAGS="$CFLAGS"
   9700 
   9701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9706   $as_echo_n "(cached) " >&6
   9707 else
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 _ACEOF
   9712 if ac_fn_c_try_compile "$LINENO"; then :
   9713   xorg_cv_cc_flag_unknown_warning_option=yes
   9714 else
   9715   xorg_cv_cc_flag_unknown_warning_option=no
   9716 fi
   9717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9718 fi
   9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9722 	CFLAGS="$xorg_testset_save_CFLAGS"
   9723 fi
   9724 
   9725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9728 	fi
   9729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9733   $as_echo_n "(cached) " >&6
   9734 else
   9735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9736 /* end confdefs.h.  */
   9737 int i;
   9738 _ACEOF
   9739 if ac_fn_c_try_compile "$LINENO"; then :
   9740   xorg_cv_cc_flag_unused_command_line_argument=yes
   9741 else
   9742   xorg_cv_cc_flag_unused_command_line_argument=no
   9743 fi
   9744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9745 fi
   9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9749 	CFLAGS="$xorg_testset_save_CFLAGS"
   9750 fi
   9751 
   9752 found="no"
   9753 
   9754 	if test $found = "no" ; then
   9755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9757 		fi
   9758 
   9759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9761 		fi
   9762 
   9763 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9764 
   9765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   9766 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   9767 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9768 		if eval \${$cacheid+:} false; then :
   9769   $as_echo_n "(cached) " >&6
   9770 else
   9771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9772 /* end confdefs.h.  */
   9773 int i;
   9774 int
   9775 main ()
   9776 {
   9777 
   9778   ;
   9779   return 0;
   9780 }
   9781 _ACEOF
   9782 if ac_fn_c_try_link "$LINENO"; then :
   9783   eval $cacheid=yes
   9784 else
   9785   eval $cacheid=no
   9786 fi
   9787 rm -f core conftest.err conftest.$ac_objext \
   9788     conftest$ac_exeext conftest.$ac_ext
   9789 fi
   9790 
   9791 
   9792 		CFLAGS="$xorg_testset_save_CFLAGS"
   9793 
   9794 		eval supported=\$$cacheid
   9795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9796 $as_echo "$supported" >&6; }
   9797 		if test "$supported" = "yes" ; then
   9798 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9799 			found="yes"
   9800 		fi
   9801 	fi
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 xorg_testset_save_CFLAGS="$CFLAGS"
   9818 
   9819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 _ACEOF
   9830 if ac_fn_c_try_compile "$LINENO"; then :
   9831   xorg_cv_cc_flag_unknown_warning_option=yes
   9832 else
   9833   xorg_cv_cc_flag_unknown_warning_option=no
   9834 fi
   9835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9836 fi
   9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9840 	CFLAGS="$xorg_testset_save_CFLAGS"
   9841 fi
   9842 
   9843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9846 	fi
   9847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9851   $as_echo_n "(cached) " >&6
   9852 else
   9853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9854 /* end confdefs.h.  */
   9855 int i;
   9856 _ACEOF
   9857 if ac_fn_c_try_compile "$LINENO"; then :
   9858   xorg_cv_cc_flag_unused_command_line_argument=yes
   9859 else
   9860   xorg_cv_cc_flag_unused_command_line_argument=no
   9861 fi
   9862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9863 fi
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9867 	CFLAGS="$xorg_testset_save_CFLAGS"
   9868 fi
   9869 
   9870 found="no"
   9871 
   9872 	if test $found = "no" ; then
   9873 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9875 		fi
   9876 
   9877 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9879 		fi
   9880 
   9881 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9882 
   9883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   9884 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   9885 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9886 		if eval \${$cacheid+:} false; then :
   9887   $as_echo_n "(cached) " >&6
   9888 else
   9889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9890 /* end confdefs.h.  */
   9891 int i;
   9892 int
   9893 main ()
   9894 {
   9895 
   9896   ;
   9897   return 0;
   9898 }
   9899 _ACEOF
   9900 if ac_fn_c_try_link "$LINENO"; then :
   9901   eval $cacheid=yes
   9902 else
   9903   eval $cacheid=no
   9904 fi
   9905 rm -f core conftest.err conftest.$ac_objext \
   9906     conftest$ac_exeext conftest.$ac_ext
   9907 fi
   9908 
   9909 
   9910 		CFLAGS="$xorg_testset_save_CFLAGS"
   9911 
   9912 		eval supported=\$$cacheid
   9913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9914 $as_echo "$supported" >&6; }
   9915 		if test "$supported" = "yes" ; then
   9916 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9917 			found="yes"
   9918 		fi
   9919 	fi
   9920 
   9921 
   9922 fi
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 		CWARNFLAGS="$BASE_CFLAGS"
   9931 		if  test "x$GCC" = xyes ; then
   9932 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9933 		fi
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 # Check whether --enable-strict-compilation was given.
   9943 if test "${enable_strict_compilation+set}" = set; then :
   9944   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9945 else
   9946   STRICT_COMPILE=no
   9947 fi
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 STRICT_CFLAGS=""
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 xorg_testset_save_CFLAGS="$CFLAGS"
   9969 
   9970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9975   $as_echo_n "(cached) " >&6
   9976 else
   9977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9978 /* end confdefs.h.  */
   9979 int i;
   9980 _ACEOF
   9981 if ac_fn_c_try_compile "$LINENO"; then :
   9982   xorg_cv_cc_flag_unknown_warning_option=yes
   9983 else
   9984   xorg_cv_cc_flag_unknown_warning_option=no
   9985 fi
   9986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9987 fi
   9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9991 	CFLAGS="$xorg_testset_save_CFLAGS"
   9992 fi
   9993 
   9994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9997 	fi
   9998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10002   $as_echo_n "(cached) " >&6
   10003 else
   10004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10005 /* end confdefs.h.  */
   10006 int i;
   10007 _ACEOF
   10008 if ac_fn_c_try_compile "$LINENO"; then :
   10009   xorg_cv_cc_flag_unused_command_line_argument=yes
   10010 else
   10011   xorg_cv_cc_flag_unused_command_line_argument=no
   10012 fi
   10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10014 fi
   10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10018 	CFLAGS="$xorg_testset_save_CFLAGS"
   10019 fi
   10020 
   10021 found="no"
   10022 
   10023 	if test $found = "no" ; then
   10024 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10026 		fi
   10027 
   10028 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10030 		fi
   10031 
   10032 		CFLAGS="$CFLAGS -pedantic"
   10033 
   10034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   10035 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   10036 		cacheid=xorg_cv_cc_flag__pedantic
   10037 		if eval \${$cacheid+:} false; then :
   10038   $as_echo_n "(cached) " >&6
   10039 else
   10040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10041 /* end confdefs.h.  */
   10042 int i;
   10043 int
   10044 main ()
   10045 {
   10046 
   10047   ;
   10048   return 0;
   10049 }
   10050 _ACEOF
   10051 if ac_fn_c_try_link "$LINENO"; then :
   10052   eval $cacheid=yes
   10053 else
   10054   eval $cacheid=no
   10055 fi
   10056 rm -f core conftest.err conftest.$ac_objext \
   10057     conftest$ac_exeext conftest.$ac_ext
   10058 fi
   10059 
   10060 
   10061 		CFLAGS="$xorg_testset_save_CFLAGS"
   10062 
   10063 		eval supported=\$$cacheid
   10064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10065 $as_echo "$supported" >&6; }
   10066 		if test "$supported" = "yes" ; then
   10067 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10068 			found="yes"
   10069 		fi
   10070 	fi
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 xorg_testset_save_CFLAGS="$CFLAGS"
   10087 
   10088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10093   $as_echo_n "(cached) " >&6
   10094 else
   10095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10096 /* end confdefs.h.  */
   10097 int i;
   10098 _ACEOF
   10099 if ac_fn_c_try_compile "$LINENO"; then :
   10100   xorg_cv_cc_flag_unknown_warning_option=yes
   10101 else
   10102   xorg_cv_cc_flag_unknown_warning_option=no
   10103 fi
   10104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10105 fi
   10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10109 	CFLAGS="$xorg_testset_save_CFLAGS"
   10110 fi
   10111 
   10112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10115 	fi
   10116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10120   $as_echo_n "(cached) " >&6
   10121 else
   10122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10123 /* end confdefs.h.  */
   10124 int i;
   10125 _ACEOF
   10126 if ac_fn_c_try_compile "$LINENO"; then :
   10127   xorg_cv_cc_flag_unused_command_line_argument=yes
   10128 else
   10129   xorg_cv_cc_flag_unused_command_line_argument=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10132 fi
   10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10136 	CFLAGS="$xorg_testset_save_CFLAGS"
   10137 fi
   10138 
   10139 found="no"
   10140 
   10141 	if test $found = "no" ; then
   10142 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10144 		fi
   10145 
   10146 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10148 		fi
   10149 
   10150 		CFLAGS="$CFLAGS -Werror"
   10151 
   10152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   10153 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   10154 		cacheid=xorg_cv_cc_flag__Werror
   10155 		if eval \${$cacheid+:} false; then :
   10156   $as_echo_n "(cached) " >&6
   10157 else
   10158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10159 /* end confdefs.h.  */
   10160 int i;
   10161 int
   10162 main ()
   10163 {
   10164 
   10165   ;
   10166   return 0;
   10167 }
   10168 _ACEOF
   10169 if ac_fn_c_try_link "$LINENO"; then :
   10170   eval $cacheid=yes
   10171 else
   10172   eval $cacheid=no
   10173 fi
   10174 rm -f core conftest.err conftest.$ac_objext \
   10175     conftest$ac_exeext conftest.$ac_ext
   10176 fi
   10177 
   10178 
   10179 		CFLAGS="$xorg_testset_save_CFLAGS"
   10180 
   10181 		eval supported=\$$cacheid
   10182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10183 $as_echo "$supported" >&6; }
   10184 		if test "$supported" = "yes" ; then
   10185 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10186 			found="yes"
   10187 		fi
   10188 	fi
   10189 
   10190 	if test $found = "no" ; then
   10191 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10193 		fi
   10194 
   10195 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10197 		fi
   10198 
   10199 		CFLAGS="$CFLAGS -errwarn"
   10200 
   10201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   10202 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   10203 		cacheid=xorg_cv_cc_flag__errwarn
   10204 		if eval \${$cacheid+:} false; then :
   10205   $as_echo_n "(cached) " >&6
   10206 else
   10207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10208 /* end confdefs.h.  */
   10209 int i;
   10210 int
   10211 main ()
   10212 {
   10213 
   10214   ;
   10215   return 0;
   10216 }
   10217 _ACEOF
   10218 if ac_fn_c_try_link "$LINENO"; then :
   10219   eval $cacheid=yes
   10220 else
   10221   eval $cacheid=no
   10222 fi
   10223 rm -f core conftest.err conftest.$ac_objext \
   10224     conftest$ac_exeext conftest.$ac_ext
   10225 fi
   10226 
   10227 
   10228 		CFLAGS="$xorg_testset_save_CFLAGS"
   10229 
   10230 		eval supported=\$$cacheid
   10231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10232 $as_echo "$supported" >&6; }
   10233 		if test "$supported" = "yes" ; then
   10234 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10235 			found="yes"
   10236 		fi
   10237 	fi
   10238 
   10239 
   10240 
   10241 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10242 # activate it with -Werror, so we add it here explicitly.
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 xorg_testset_save_CFLAGS="$CFLAGS"
   10257 
   10258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10261 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10262 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10263   $as_echo_n "(cached) " >&6
   10264 else
   10265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10266 /* end confdefs.h.  */
   10267 int i;
   10268 _ACEOF
   10269 if ac_fn_c_try_compile "$LINENO"; then :
   10270   xorg_cv_cc_flag_unknown_warning_option=yes
   10271 else
   10272   xorg_cv_cc_flag_unknown_warning_option=no
   10273 fi
   10274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10275 fi
   10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10277 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10279 	CFLAGS="$xorg_testset_save_CFLAGS"
   10280 fi
   10281 
   10282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10285 	fi
   10286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10288 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10289 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10290   $as_echo_n "(cached) " >&6
   10291 else
   10292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10293 /* end confdefs.h.  */
   10294 int i;
   10295 _ACEOF
   10296 if ac_fn_c_try_compile "$LINENO"; then :
   10297   xorg_cv_cc_flag_unused_command_line_argument=yes
   10298 else
   10299   xorg_cv_cc_flag_unused_command_line_argument=no
   10300 fi
   10301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10302 fi
   10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10304 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10305 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10306 	CFLAGS="$xorg_testset_save_CFLAGS"
   10307 fi
   10308 
   10309 found="no"
   10310 
   10311 	if test $found = "no" ; then
   10312 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10314 		fi
   10315 
   10316 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10318 		fi
   10319 
   10320 		CFLAGS="$CFLAGS -Werror=attributes"
   10321 
   10322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   10323 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   10324 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10325 		if eval \${$cacheid+:} false; then :
   10326   $as_echo_n "(cached) " >&6
   10327 else
   10328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10329 /* end confdefs.h.  */
   10330 int i;
   10331 int
   10332 main ()
   10333 {
   10334 
   10335   ;
   10336   return 0;
   10337 }
   10338 _ACEOF
   10339 if ac_fn_c_try_link "$LINENO"; then :
   10340   eval $cacheid=yes
   10341 else
   10342   eval $cacheid=no
   10343 fi
   10344 rm -f core conftest.err conftest.$ac_objext \
   10345     conftest$ac_exeext conftest.$ac_ext
   10346 fi
   10347 
   10348 
   10349 		CFLAGS="$xorg_testset_save_CFLAGS"
   10350 
   10351 		eval supported=\$$cacheid
   10352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10353 $as_echo "$supported" >&6; }
   10354 		if test "$supported" = "yes" ; then
   10355 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10356 			found="yes"
   10357 		fi
   10358 	fi
   10359 
   10360 
   10361 
   10362 if test "x$STRICT_COMPILE" = "xyes"; then
   10363     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10364     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10365 fi
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 cat >>confdefs.h <<_ACEOF
   10373 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10374 _ACEOF
   10375 
   10376 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10377 	if test "x$PVM" = "x"; then
   10378 		PVM="0"
   10379 	fi
   10380 
   10381 cat >>confdefs.h <<_ACEOF
   10382 #define PACKAGE_VERSION_MINOR $PVM
   10383 _ACEOF
   10384 
   10385 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10386 	if test "x$PVP" = "x"; then
   10387 		PVP="0"
   10388 	fi
   10389 
   10390 cat >>confdefs.h <<_ACEOF
   10391 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10392 _ACEOF
   10393 
   10394 
   10395 
   10396 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10397 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10398 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10399 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10400 
   10401 
   10402 
   10403 
   10404 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10405 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10406 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10407 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10408 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 if test x$APP_MAN_SUFFIX = x    ; then
   10416     APP_MAN_SUFFIX=1
   10417 fi
   10418 if test x$APP_MAN_DIR = x    ; then
   10419     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10420 fi
   10421 
   10422 if test x$LIB_MAN_SUFFIX = x    ; then
   10423     LIB_MAN_SUFFIX=3
   10424 fi
   10425 if test x$LIB_MAN_DIR = x    ; then
   10426     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10427 fi
   10428 
   10429 if test x$FILE_MAN_SUFFIX = x    ; then
   10430     case $host_os in
   10431 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10432 	*)		FILE_MAN_SUFFIX=5  ;;
   10433     esac
   10434 fi
   10435 if test x$FILE_MAN_DIR = x    ; then
   10436     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10437 fi
   10438 
   10439 if test x$MISC_MAN_SUFFIX = x    ; then
   10440     case $host_os in
   10441 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10442 	*)		MISC_MAN_SUFFIX=7  ;;
   10443     esac
   10444 fi
   10445 if test x$MISC_MAN_DIR = x    ; then
   10446     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10447 fi
   10448 
   10449 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10450     case $host_os in
   10451 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10452 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10453     esac
   10454 fi
   10455 if test x$DRIVER_MAN_DIR = x    ; then
   10456     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10457 fi
   10458 
   10459 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10460     case $host_os in
   10461 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10462 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10463     esac
   10464 fi
   10465 if test x$ADMIN_MAN_DIR = x    ; then
   10466     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10467 fi
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 XORG_MAN_PAGE="X Version 11"
   10484 
   10485 MAN_SUBSTS="\
   10486 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10487 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10488 	-e 's|__xservername__|Xorg|g' \
   10489 	-e 's|__xconfigfile__|xorg.conf|g' \
   10490 	-e 's|__projectroot__|\$(prefix)|g' \
   10491 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10492 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10493 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10494 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10495 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10496 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10497 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10498 
   10499 
   10500 
   10501 # Check whether --enable-silent-rules was given.
   10502 if test "${enable_silent_rules+set}" = set; then :
   10503   enableval=$enable_silent_rules;
   10504 fi
   10505 
   10506 case $enable_silent_rules in
   10507 yes) AM_DEFAULT_VERBOSITY=0;;
   10508 no)  AM_DEFAULT_VERBOSITY=1;;
   10509 *)   AM_DEFAULT_VERBOSITY=0;;
   10510 esac
   10511 AM_BACKSLASH='\'
   10512 
   10513 
   10514 
   10515 
   10516 # Check whether --enable-docs was given.
   10517 if test "${enable_docs+set}" = set; then :
   10518   enableval=$enable_docs; build_docs=$enableval
   10519 else
   10520   build_docs=yes
   10521 fi
   10522 
   10523 
   10524  if test x$build_docs = xyes; then
   10525   ENABLE_DOCS_TRUE=
   10526   ENABLE_DOCS_FALSE='#'
   10527 else
   10528   ENABLE_DOCS_TRUE='#'
   10529   ENABLE_DOCS_FALSE=
   10530 fi
   10531 
   10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   10533 $as_echo_n "checking whether to build documentation... " >&6; }
   10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   10535 $as_echo "$build_docs" >&6; }
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 # Check whether --with-xmlto was given.
   10542 if test "${with_xmlto+set}" = set; then :
   10543   withval=$with_xmlto; use_xmlto=$withval
   10544 else
   10545   use_xmlto=auto
   10546 fi
   10547 
   10548 
   10549 
   10550 if test "x$use_xmlto" = x"auto"; then
   10551    # Extract the first word of "xmlto", so it can be a program name with args.
   10552 set dummy xmlto; ac_word=$2
   10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10554 $as_echo_n "checking for $ac_word... " >&6; }
   10555 if ${ac_cv_path_XMLTO+:} false; then :
   10556   $as_echo_n "(cached) " >&6
   10557 else
   10558   case $XMLTO in
   10559   [\\/]* | ?:[\\/]*)
   10560   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   10561   ;;
   10562   *)
   10563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10564 for as_dir in $PATH
   10565 do
   10566   IFS=$as_save_IFS
   10567   test -z "$as_dir" && as_dir=.
   10568     for ac_exec_ext in '' $ac_executable_extensions; do
   10569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10570     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   10571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10572     break 2
   10573   fi
   10574 done
   10575   done
   10576 IFS=$as_save_IFS
   10577 
   10578   ;;
   10579 esac
   10580 fi
   10581 XMLTO=$ac_cv_path_XMLTO
   10582 if test -n "$XMLTO"; then
   10583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   10584 $as_echo "$XMLTO" >&6; }
   10585 else
   10586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10587 $as_echo "no" >&6; }
   10588 fi
   10589 
   10590 
   10591    if test "x$XMLTO" = "x"; then
   10592         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   10593 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   10594 	have_xmlto=no
   10595    else
   10596         have_xmlto=yes
   10597    fi
   10598 elif test "x$use_xmlto" = x"yes" ; then
   10599    # Extract the first word of "xmlto", so it can be a program name with args.
   10600 set dummy xmlto; ac_word=$2
   10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10602 $as_echo_n "checking for $ac_word... " >&6; }
   10603 if ${ac_cv_path_XMLTO+:} false; then :
   10604   $as_echo_n "(cached) " >&6
   10605 else
   10606   case $XMLTO in
   10607   [\\/]* | ?:[\\/]*)
   10608   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   10609   ;;
   10610   *)
   10611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10612 for as_dir in $PATH
   10613 do
   10614   IFS=$as_save_IFS
   10615   test -z "$as_dir" && as_dir=.
   10616     for ac_exec_ext in '' $ac_executable_extensions; do
   10617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10618     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   10619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10620     break 2
   10621   fi
   10622 done
   10623   done
   10624 IFS=$as_save_IFS
   10625 
   10626   ;;
   10627 esac
   10628 fi
   10629 XMLTO=$ac_cv_path_XMLTO
   10630 if test -n "$XMLTO"; then
   10631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   10632 $as_echo "$XMLTO" >&6; }
   10633 else
   10634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10635 $as_echo "no" >&6; }
   10636 fi
   10637 
   10638 
   10639    if test "x$XMLTO" = "x"; then
   10640         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   10641    fi
   10642    have_xmlto=yes
   10643 elif test "x$use_xmlto" = x"no" ; then
   10644    if test "x$XMLTO" != "x"; then
   10645       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   10646 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   10647    fi
   10648    have_xmlto=no
   10649 else
   10650    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   10651 fi
   10652 
   10653 # Test for a minimum version of xmlto, if provided.
   10654 if test "$have_xmlto" = yes; then
   10655     # scrape the xmlto version
   10656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   10657 $as_echo_n "checking the xmlto version... " >&6; }
   10658     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   10659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   10660 $as_echo "$xmlto_version" >&6; }
   10661     as_arg_v1=$xmlto_version
   10662 as_arg_v2=0.0.22
   10663 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   10664 case $? in #(
   10665   1) :
   10666     if test "x$use_xmlto" = xauto; then
   10667             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   10668 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   10669             have_xmlto=no
   10670         else
   10671             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   10672         fi ;; #(
   10673   0) :
   10674      ;; #(
   10675   2) :
   10676      ;; #(
   10677   *) :
   10678      ;;
   10679 esac
   10680 fi
   10681 
   10682 # Test for the ability of xmlto to generate a text target
   10683 have_xmlto_text=no
   10684 cat > conftest.xml << "EOF"
   10685 EOF
   10686 if test "$have_xmlto" = yes; then :
   10687   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   10688   have_xmlto_text=yes
   10689 else
   10690   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   10691 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   10692 fi
   10693 fi
   10694 rm -f conftest.xml
   10695  if test $have_xmlto_text = yes; then
   10696   HAVE_XMLTO_TEXT_TRUE=
   10697   HAVE_XMLTO_TEXT_FALSE='#'
   10698 else
   10699   HAVE_XMLTO_TEXT_TRUE='#'
   10700   HAVE_XMLTO_TEXT_FALSE=
   10701 fi
   10702 
   10703  if test "$have_xmlto" = yes; then
   10704   HAVE_XMLTO_TRUE=
   10705   HAVE_XMLTO_FALSE='#'
   10706 else
   10707   HAVE_XMLTO_TRUE='#'
   10708   HAVE_XMLTO_FALSE=
   10709 fi
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 # Check whether --with-fop was given.
   10717 if test "${with_fop+set}" = set; then :
   10718   withval=$with_fop; use_fop=$withval
   10719 else
   10720   use_fop=auto
   10721 fi
   10722 
   10723 
   10724 
   10725 if test "x$use_fop" = x"auto"; then
   10726    # Extract the first word of "fop", so it can be a program name with args.
   10727 set dummy fop; ac_word=$2
   10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10729 $as_echo_n "checking for $ac_word... " >&6; }
   10730 if ${ac_cv_path_FOP+:} false; then :
   10731   $as_echo_n "(cached) " >&6
   10732 else
   10733   case $FOP in
   10734   [\\/]* | ?:[\\/]*)
   10735   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   10736   ;;
   10737   *)
   10738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10739 for as_dir in $PATH
   10740 do
   10741   IFS=$as_save_IFS
   10742   test -z "$as_dir" && as_dir=.
   10743     for ac_exec_ext in '' $ac_executable_extensions; do
   10744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10745     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   10746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10747     break 2
   10748   fi
   10749 done
   10750   done
   10751 IFS=$as_save_IFS
   10752 
   10753   ;;
   10754 esac
   10755 fi
   10756 FOP=$ac_cv_path_FOP
   10757 if test -n "$FOP"; then
   10758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   10759 $as_echo "$FOP" >&6; }
   10760 else
   10761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10762 $as_echo "no" >&6; }
   10763 fi
   10764 
   10765 
   10766    if test "x$FOP" = "x"; then
   10767         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   10768 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   10769 	have_fop=no
   10770    else
   10771         have_fop=yes
   10772    fi
   10773 elif test "x$use_fop" = x"yes" ; then
   10774    # Extract the first word of "fop", so it can be a program name with args.
   10775 set dummy fop; ac_word=$2
   10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10777 $as_echo_n "checking for $ac_word... " >&6; }
   10778 if ${ac_cv_path_FOP+:} false; then :
   10779   $as_echo_n "(cached) " >&6
   10780 else
   10781   case $FOP in
   10782   [\\/]* | ?:[\\/]*)
   10783   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   10784   ;;
   10785   *)
   10786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10787 for as_dir in $PATH
   10788 do
   10789   IFS=$as_save_IFS
   10790   test -z "$as_dir" && as_dir=.
   10791     for ac_exec_ext in '' $ac_executable_extensions; do
   10792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10793     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   10794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10795     break 2
   10796   fi
   10797 done
   10798   done
   10799 IFS=$as_save_IFS
   10800 
   10801   ;;
   10802 esac
   10803 fi
   10804 FOP=$ac_cv_path_FOP
   10805 if test -n "$FOP"; then
   10806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   10807 $as_echo "$FOP" >&6; }
   10808 else
   10809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10810 $as_echo "no" >&6; }
   10811 fi
   10812 
   10813 
   10814    if test "x$FOP" = "x"; then
   10815         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   10816    fi
   10817    have_fop=yes
   10818 elif test "x$use_fop" = x"no" ; then
   10819    if test "x$FOP" != "x"; then
   10820       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   10821 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   10822    fi
   10823    have_fop=no
   10824 else
   10825    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   10826 fi
   10827 
   10828 # Test for a minimum version of fop, if provided.
   10829 
   10830  if test "$have_fop" = yes; then
   10831   HAVE_FOP_TRUE=
   10832   HAVE_FOP_FALSE='#'
   10833 else
   10834   HAVE_FOP_TRUE='#'
   10835   HAVE_FOP_FALSE=
   10836 fi
   10837 
   10838 
   10839 
   10840 
   10841 # Preserves the interface, should it be implemented later
   10842 
   10843 
   10844 
   10845 # Check whether --with-xsltproc was given.
   10846 if test "${with_xsltproc+set}" = set; then :
   10847   withval=$with_xsltproc; use_xsltproc=$withval
   10848 else
   10849   use_xsltproc=auto
   10850 fi
   10851 
   10852 
   10853 
   10854 if test "x$use_xsltproc" = x"auto"; then
   10855    # Extract the first word of "xsltproc", so it can be a program name with args.
   10856 set dummy xsltproc; ac_word=$2
   10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10858 $as_echo_n "checking for $ac_word... " >&6; }
   10859 if ${ac_cv_path_XSLTPROC+:} false; then :
   10860   $as_echo_n "(cached) " >&6
   10861 else
   10862   case $XSLTPROC in
   10863   [\\/]* | ?:[\\/]*)
   10864   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   10865   ;;
   10866   *)
   10867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10868 for as_dir in $PATH
   10869 do
   10870   IFS=$as_save_IFS
   10871   test -z "$as_dir" && as_dir=.
   10872     for ac_exec_ext in '' $ac_executable_extensions; do
   10873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10874     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   10875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10876     break 2
   10877   fi
   10878 done
   10879   done
   10880 IFS=$as_save_IFS
   10881 
   10882   ;;
   10883 esac
   10884 fi
   10885 XSLTPROC=$ac_cv_path_XSLTPROC
   10886 if test -n "$XSLTPROC"; then
   10887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   10888 $as_echo "$XSLTPROC" >&6; }
   10889 else
   10890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10891 $as_echo "no" >&6; }
   10892 fi
   10893 
   10894 
   10895    if test "x$XSLTPROC" = "x"; then
   10896         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   10897 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   10898 	have_xsltproc=no
   10899    else
   10900         have_xsltproc=yes
   10901    fi
   10902 elif test "x$use_xsltproc" = x"yes" ; then
   10903    # Extract the first word of "xsltproc", so it can be a program name with args.
   10904 set dummy xsltproc; ac_word=$2
   10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10906 $as_echo_n "checking for $ac_word... " >&6; }
   10907 if ${ac_cv_path_XSLTPROC+:} false; then :
   10908   $as_echo_n "(cached) " >&6
   10909 else
   10910   case $XSLTPROC in
   10911   [\\/]* | ?:[\\/]*)
   10912   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   10913   ;;
   10914   *)
   10915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10916 for as_dir in $PATH
   10917 do
   10918   IFS=$as_save_IFS
   10919   test -z "$as_dir" && as_dir=.
   10920     for ac_exec_ext in '' $ac_executable_extensions; do
   10921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10922     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   10923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10924     break 2
   10925   fi
   10926 done
   10927   done
   10928 IFS=$as_save_IFS
   10929 
   10930   ;;
   10931 esac
   10932 fi
   10933 XSLTPROC=$ac_cv_path_XSLTPROC
   10934 if test -n "$XSLTPROC"; then
   10935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   10936 $as_echo "$XSLTPROC" >&6; }
   10937 else
   10938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10939 $as_echo "no" >&6; }
   10940 fi
   10941 
   10942 
   10943    if test "x$XSLTPROC" = "x"; then
   10944         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   10945    fi
   10946    have_xsltproc=yes
   10947 elif test "x$use_xsltproc" = x"no" ; then
   10948    if test "x$XSLTPROC" != "x"; then
   10949       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   10950 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   10951    fi
   10952    have_xsltproc=no
   10953 else
   10954    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   10955 fi
   10956 
   10957  if test "$have_xsltproc" = yes; then
   10958   HAVE_XSLTPROC_TRUE=
   10959   HAVE_XSLTPROC_FALSE='#'
   10960 else
   10961   HAVE_XSLTPROC_TRUE='#'
   10962   HAVE_XSLTPROC_FALSE=
   10963 fi
   10964 
   10965 
   10966 
   10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   10968 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   10969 XORG_SGML_PATH=
   10970 if test -n "$PKG_CONFIG" && \
   10971     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   10972   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   10973   ac_status=$?
   10974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10975   test $ac_status = 0; }; then
   10976   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   10977 else
   10978   :
   10979 
   10980 fi
   10981 
   10982 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   10983 # the path and the name of the doc stylesheet
   10984 if test "x$XORG_SGML_PATH" != "x" ; then
   10985    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   10986 $as_echo "$XORG_SGML_PATH" >&6; }
   10987    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   10988    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   10989 else
   10990    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10991 $as_echo "no" >&6; }
   10992 fi
   10993 
   10994 
   10995 
   10996 
   10997  if test "x$XSL_STYLESHEET" != "x"; then
   10998   HAVE_STYLESHEETS_TRUE=
   10999   HAVE_STYLESHEETS_FALSE='#'
   11000 else
   11001   HAVE_STYLESHEETS_TRUE='#'
   11002   HAVE_STYLESHEETS_FALSE=
   11003 fi
   11004 
   11005 
   11006 
   11007 # Because xtrans is included into other modules rather than being linked
   11008 # with, these defines have to be added to the cflags line
   11009 
   11010 # fchown()
   11011 
   11012 ac_fn_c_check_func "$LINENO" "fchown" "ac_cv_func_fchown"
   11013 if test "x$ac_cv_func_fchown" = xyes; then :
   11014   fchown_define="-DHAS_FCHOWN"
   11015 else
   11016   fchown_define=""
   11017 fi
   11018 
   11019 
   11020 
   11021 
   11022 # sticky bit
   11023 #
   11024 # if any system exists without sticky dir bits this
   11025 # needs to be redone with a real autoconf test
   11026 
   11027 sticky_bit_define="-DHAS_STICKY_DIR_BIT"
   11028 
   11029 
   11030 
   11031 ac_config_files="$ac_config_files Makefile doc/Makefile xtrans.pc"
   11032 
   11033 cat >confcache <<\_ACEOF
   11034 # This file is a shell script that caches the results of configure
   11035 # tests run on this system so they can be shared between configure
   11036 # scripts and configure runs, see configure's option --config-cache.
   11037 # It is not useful on other systems.  If it contains results you don't
   11038 # want to keep, you may remove or edit it.
   11039 #
   11040 # config.status only pays attention to the cache file if you give it
   11041 # the --recheck option to rerun configure.
   11042 #
   11043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11045 # following values.
   11046 
   11047 _ACEOF
   11048 
   11049 # The following way of writing the cache mishandles newlines in values,
   11050 # but we know of no workaround that is simple, portable, and efficient.
   11051 # So, we kill variables containing newlines.
   11052 # Ultrix sh set writes to stderr and can't be redirected directly,
   11053 # and sets the high bit in the cache file unless we assign to the vars.
   11054 (
   11055   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11056     eval ac_val=\$$ac_var
   11057     case $ac_val in #(
   11058     *${as_nl}*)
   11059       case $ac_var in #(
   11060       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11062       esac
   11063       case $ac_var in #(
   11064       _ | IFS | as_nl) ;; #(
   11065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11066       *) { eval $ac_var=; unset $ac_var;} ;;
   11067       esac ;;
   11068     esac
   11069   done
   11070 
   11071   (set) 2>&1 |
   11072     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11073     *${as_nl}ac_space=\ *)
   11074       # `set' does not quote correctly, so add quotes: double-quote
   11075       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11076       sed -n \
   11077 	"s/'/'\\\\''/g;
   11078 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11079       ;; #(
   11080     *)
   11081       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11082       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11083       ;;
   11084     esac |
   11085     sort
   11086 ) |
   11087   sed '
   11088      /^ac_cv_env_/b end
   11089      t clear
   11090      :clear
   11091      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11092      t end
   11093      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11094      :end' >>confcache
   11095 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11096   if test -w "$cache_file"; then
   11097     if test "x$cache_file" != "x/dev/null"; then
   11098       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11099 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11100       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11101 	cat confcache >"$cache_file"
   11102       else
   11103         case $cache_file in #(
   11104         */* | ?:*)
   11105 	  mv -f confcache "$cache_file"$$ &&
   11106 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11107         *)
   11108 	  mv -f confcache "$cache_file" ;;
   11109 	esac
   11110       fi
   11111     fi
   11112   else
   11113     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11114 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11115   fi
   11116 fi
   11117 rm -f confcache
   11118 
   11119 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11120 # Let make expand exec_prefix.
   11121 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11122 
   11123 # Transform confdefs.h into DEFS.
   11124 # Protect against shell expansion while executing Makefile rules.
   11125 # Protect against Makefile macro expansion.
   11126 #
   11127 # If the first sed substitution is executed (which looks for macros that
   11128 # take arguments), then branch to the quote section.  Otherwise,
   11129 # look for a macro that doesn't take arguments.
   11130 ac_script='
   11131 :mline
   11132 /\\$/{
   11133  N
   11134  s,\\\n,,
   11135  b mline
   11136 }
   11137 t clear
   11138 :clear
   11139 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11140 t quote
   11141 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11142 t quote
   11143 b any
   11144 :quote
   11145 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11146 s/\[/\\&/g
   11147 s/\]/\\&/g
   11148 s/\$/$$/g
   11149 H
   11150 :any
   11151 ${
   11152 	g
   11153 	s/^\n//
   11154 	s/\n/ /g
   11155 	p
   11156 }
   11157 '
   11158 DEFS=`sed -n "$ac_script" confdefs.h`
   11159 
   11160 
   11161 ac_libobjs=
   11162 ac_ltlibobjs=
   11163 U=
   11164 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11165   # 1. Remove the extension, and $U if already installed.
   11166   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11167   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11168   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11169   #    will be set to the directory where LIBOBJS objects are built.
   11170   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11171   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11172 done
   11173 LIBOBJS=$ac_libobjs
   11174 
   11175 LTLIBOBJS=$ac_ltlibobjs
   11176 
   11177 
   11178  if test -n "$EXEEXT"; then
   11179   am__EXEEXT_TRUE=
   11180   am__EXEEXT_FALSE='#'
   11181 else
   11182   am__EXEEXT_TRUE='#'
   11183   am__EXEEXT_FALSE=
   11184 fi
   11185 
   11186 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11187   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11189 fi
   11190 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11191   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11193 fi
   11194 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11195   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11197 fi
   11198 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   11199   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   11200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11201 fi
   11202 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   11203   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   11204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11205 fi
   11206 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   11207   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   11208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11209 fi
   11210 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   11211   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   11212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11213 fi
   11214 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   11215   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   11216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11217 fi
   11218 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   11219   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   11220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11221 fi
   11222 
   11223 : "${CONFIG_STATUS=./config.status}"
   11224 ac_write_fail=0
   11225 ac_clean_files_save=$ac_clean_files
   11226 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11228 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11229 as_write_fail=0
   11230 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11231 #! $SHELL
   11232 # Generated by $as_me.
   11233 # Run this file to recreate the current configuration.
   11234 # Compiler output produced by configure, useful for debugging
   11235 # configure, is in config.log if it exists.
   11236 
   11237 debug=false
   11238 ac_cs_recheck=false
   11239 ac_cs_silent=false
   11240 
   11241 SHELL=\${CONFIG_SHELL-$SHELL}
   11242 export SHELL
   11243 _ASEOF
   11244 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11245 ## -------------------- ##
   11246 ## M4sh Initialization. ##
   11247 ## -------------------- ##
   11248 
   11249 # Be more Bourne compatible
   11250 DUALCASE=1; export DUALCASE # for MKS sh
   11251 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11252   emulate sh
   11253   NULLCMD=:
   11254   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11255   # is contrary to our usage.  Disable this feature.
   11256   alias -g '${1+"$@"}'='"$@"'
   11257   setopt NO_GLOB_SUBST
   11258 else
   11259   case `(set -o) 2>/dev/null` in #(
   11260   *posix*) :
   11261     set -o posix ;; #(
   11262   *) :
   11263      ;;
   11264 esac
   11265 fi
   11266 
   11267 
   11268 as_nl='
   11269 '
   11270 export as_nl
   11271 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11272 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11274 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11275 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11276 # but without wasting forks for bash or zsh.
   11277 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11278     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11279   as_echo='print -r --'
   11280   as_echo_n='print -rn --'
   11281 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11282   as_echo='printf %s\n'
   11283   as_echo_n='printf %s'
   11284 else
   11285   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11286     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11287     as_echo_n='/usr/ucb/echo -n'
   11288   else
   11289     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11290     as_echo_n_body='eval
   11291       arg=$1;
   11292       case $arg in #(
   11293       *"$as_nl"*)
   11294 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11295 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11296       esac;
   11297       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11298     '
   11299     export as_echo_n_body
   11300     as_echo_n='sh -c $as_echo_n_body as_echo'
   11301   fi
   11302   export as_echo_body
   11303   as_echo='sh -c $as_echo_body as_echo'
   11304 fi
   11305 
   11306 # The user is always right.
   11307 if test "${PATH_SEPARATOR+set}" != set; then
   11308   PATH_SEPARATOR=:
   11309   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11310     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11311       PATH_SEPARATOR=';'
   11312   }
   11313 fi
   11314 
   11315 
   11316 # IFS
   11317 # We need space, tab and new line, in precisely that order.  Quoting is
   11318 # there to prevent editors from complaining about space-tab.
   11319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11320 # splitting by setting IFS to empty value.)
   11321 IFS=" ""	$as_nl"
   11322 
   11323 # Find who we are.  Look in the path if we contain no directory separator.
   11324 as_myself=
   11325 case $0 in #((
   11326   *[\\/]* ) as_myself=$0 ;;
   11327   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11328 for as_dir in $PATH
   11329 do
   11330   IFS=$as_save_IFS
   11331   test -z "$as_dir" && as_dir=.
   11332     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11333   done
   11334 IFS=$as_save_IFS
   11335 
   11336      ;;
   11337 esac
   11338 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11339 # in which case we are not to be found in the path.
   11340 if test "x$as_myself" = x; then
   11341   as_myself=$0
   11342 fi
   11343 if test ! -f "$as_myself"; then
   11344   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11345   exit 1
   11346 fi
   11347 
   11348 # Unset variables that we do not need and which cause bugs (e.g. in
   11349 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11350 # suppresses any "Segmentation fault" message there.  '((' could
   11351 # trigger a bug in pdksh 5.2.14.
   11352 for as_var in BASH_ENV ENV MAIL MAILPATH
   11353 do eval test x\${$as_var+set} = xset \
   11354   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11355 done
   11356 PS1='$ '
   11357 PS2='> '
   11358 PS4='+ '
   11359 
   11360 # NLS nuisances.
   11361 LC_ALL=C
   11362 export LC_ALL
   11363 LANGUAGE=C
   11364 export LANGUAGE
   11365 
   11366 # CDPATH.
   11367 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11368 
   11369 
   11370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11371 # ----------------------------------------
   11372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11374 # script with STATUS, using 1 if that was 0.
   11375 as_fn_error ()
   11376 {
   11377   as_status=$1; test $as_status -eq 0 && as_status=1
   11378   if test "$4"; then
   11379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11381   fi
   11382   $as_echo "$as_me: error: $2" >&2
   11383   as_fn_exit $as_status
   11384 } # as_fn_error
   11385 
   11386 
   11387 # as_fn_set_status STATUS
   11388 # -----------------------
   11389 # Set $? to STATUS, without forking.
   11390 as_fn_set_status ()
   11391 {
   11392   return $1
   11393 } # as_fn_set_status
   11394 
   11395 # as_fn_exit STATUS
   11396 # -----------------
   11397 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11398 as_fn_exit ()
   11399 {
   11400   set +e
   11401   as_fn_set_status $1
   11402   exit $1
   11403 } # as_fn_exit
   11404 
   11405 # as_fn_unset VAR
   11406 # ---------------
   11407 # Portably unset VAR.
   11408 as_fn_unset ()
   11409 {
   11410   { eval $1=; unset $1;}
   11411 }
   11412 as_unset=as_fn_unset
   11413 # as_fn_append VAR VALUE
   11414 # ----------------------
   11415 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11416 # advantage of any shell optimizations that allow amortized linear growth over
   11417 # repeated appends, instead of the typical quadratic growth present in naive
   11418 # implementations.
   11419 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11420   eval 'as_fn_append ()
   11421   {
   11422     eval $1+=\$2
   11423   }'
   11424 else
   11425   as_fn_append ()
   11426   {
   11427     eval $1=\$$1\$2
   11428   }
   11429 fi # as_fn_append
   11430 
   11431 # as_fn_arith ARG...
   11432 # ------------------
   11433 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11434 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11435 # must be portable across $(()) and expr.
   11436 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11437   eval 'as_fn_arith ()
   11438   {
   11439     as_val=$(( $* ))
   11440   }'
   11441 else
   11442   as_fn_arith ()
   11443   {
   11444     as_val=`expr "$@" || test $? -eq 1`
   11445   }
   11446 fi # as_fn_arith
   11447 
   11448 
   11449 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11450    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11451   as_expr=expr
   11452 else
   11453   as_expr=false
   11454 fi
   11455 
   11456 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11457   as_basename=basename
   11458 else
   11459   as_basename=false
   11460 fi
   11461 
   11462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11463   as_dirname=dirname
   11464 else
   11465   as_dirname=false
   11466 fi
   11467 
   11468 as_me=`$as_basename -- "$0" ||
   11469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11470 	 X"$0" : 'X\(//\)$' \| \
   11471 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11472 $as_echo X/"$0" |
   11473     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11474 	    s//\1/
   11475 	    q
   11476 	  }
   11477 	  /^X\/\(\/\/\)$/{
   11478 	    s//\1/
   11479 	    q
   11480 	  }
   11481 	  /^X\/\(\/\).*/{
   11482 	    s//\1/
   11483 	    q
   11484 	  }
   11485 	  s/.*/./; q'`
   11486 
   11487 # Avoid depending upon Character Ranges.
   11488 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11489 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11490 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11491 as_cr_digits='0123456789'
   11492 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11493 
   11494 ECHO_C= ECHO_N= ECHO_T=
   11495 case `echo -n x` in #(((((
   11496 -n*)
   11497   case `echo 'xy\c'` in
   11498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11499   xy)  ECHO_C='\c';;
   11500   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11501        ECHO_T='	';;
   11502   esac;;
   11503 *)
   11504   ECHO_N='-n';;
   11505 esac
   11506 
   11507 rm -f conf$$ conf$$.exe conf$$.file
   11508 if test -d conf$$.dir; then
   11509   rm -f conf$$.dir/conf$$.file
   11510 else
   11511   rm -f conf$$.dir
   11512   mkdir conf$$.dir 2>/dev/null
   11513 fi
   11514 if (echo >conf$$.file) 2>/dev/null; then
   11515   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11516     as_ln_s='ln -s'
   11517     # ... but there are two gotchas:
   11518     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11519     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11520     # In both cases, we have to default to `cp -p'.
   11521     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11522       as_ln_s='cp -p'
   11523   elif ln conf$$.file conf$$ 2>/dev/null; then
   11524     as_ln_s=ln
   11525   else
   11526     as_ln_s='cp -p'
   11527   fi
   11528 else
   11529   as_ln_s='cp -p'
   11530 fi
   11531 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11532 rmdir conf$$.dir 2>/dev/null
   11533 
   11534 
   11535 # as_fn_mkdir_p
   11536 # -------------
   11537 # Create "$as_dir" as a directory, including parents if necessary.
   11538 as_fn_mkdir_p ()
   11539 {
   11540 
   11541   case $as_dir in #(
   11542   -*) as_dir=./$as_dir;;
   11543   esac
   11544   test -d "$as_dir" || eval $as_mkdir_p || {
   11545     as_dirs=
   11546     while :; do
   11547       case $as_dir in #(
   11548       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11549       *) as_qdir=$as_dir;;
   11550       esac
   11551       as_dirs="'$as_qdir' $as_dirs"
   11552       as_dir=`$as_dirname -- "$as_dir" ||
   11553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11554 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11555 	 X"$as_dir" : 'X\(//\)$' \| \
   11556 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11557 $as_echo X"$as_dir" |
   11558     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11559 	    s//\1/
   11560 	    q
   11561 	  }
   11562 	  /^X\(\/\/\)[^/].*/{
   11563 	    s//\1/
   11564 	    q
   11565 	  }
   11566 	  /^X\(\/\/\)$/{
   11567 	    s//\1/
   11568 	    q
   11569 	  }
   11570 	  /^X\(\/\).*/{
   11571 	    s//\1/
   11572 	    q
   11573 	  }
   11574 	  s/.*/./; q'`
   11575       test -d "$as_dir" && break
   11576     done
   11577     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11578   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11579 
   11580 
   11581 } # as_fn_mkdir_p
   11582 if mkdir -p . 2>/dev/null; then
   11583   as_mkdir_p='mkdir -p "$as_dir"'
   11584 else
   11585   test -d ./-p && rmdir ./-p
   11586   as_mkdir_p=false
   11587 fi
   11588 
   11589 if test -x / >/dev/null 2>&1; then
   11590   as_test_x='test -x'
   11591 else
   11592   if ls -dL / >/dev/null 2>&1; then
   11593     as_ls_L_option=L
   11594   else
   11595     as_ls_L_option=
   11596   fi
   11597   as_test_x='
   11598     eval sh -c '\''
   11599       if test -d "$1"; then
   11600 	test -d "$1/.";
   11601       else
   11602 	case $1 in #(
   11603 	-*)set "./$1";;
   11604 	esac;
   11605 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11606 	???[sx]*):;;*)false;;esac;fi
   11607     '\'' sh
   11608   '
   11609 fi
   11610 as_executable_p=$as_test_x
   11611 
   11612 # Sed expression to map a string onto a valid CPP name.
   11613 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11614 
   11615 # Sed expression to map a string onto a valid variable name.
   11616 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11617 
   11618 
   11619 exec 6>&1
   11620 ## ----------------------------------- ##
   11621 ## Main body of $CONFIG_STATUS script. ##
   11622 ## ----------------------------------- ##
   11623 _ASEOF
   11624 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11625 
   11626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11627 # Save the log message, to keep $0 and so on meaningful, and to
   11628 # report actual input values of CONFIG_FILES etc. instead of their
   11629 # values after options handling.
   11630 ac_log="
   11631 This file was extended by xtrans $as_me 1.2.7, which was
   11632 generated by GNU Autoconf 2.68.  Invocation command line was
   11633 
   11634   CONFIG_FILES    = $CONFIG_FILES
   11635   CONFIG_HEADERS  = $CONFIG_HEADERS
   11636   CONFIG_LINKS    = $CONFIG_LINKS
   11637   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11638   $ $0 $@
   11639 
   11640 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11641 "
   11642 
   11643 _ACEOF
   11644 
   11645 case $ac_config_files in *"
   11646 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11647 esac
   11648 
   11649 
   11650 
   11651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11652 # Files that config.status was made for.
   11653 config_files="$ac_config_files"
   11654 config_commands="$ac_config_commands"
   11655 
   11656 _ACEOF
   11657 
   11658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11659 ac_cs_usage="\
   11660 \`$as_me' instantiates files and other configuration actions
   11661 from templates according to the current configuration.  Unless the files
   11662 and actions are specified as TAGs, all are instantiated by default.
   11663 
   11664 Usage: $0 [OPTION]... [TAG]...
   11665 
   11666   -h, --help       print this help, then exit
   11667   -V, --version    print version number and configuration settings, then exit
   11668       --config     print configuration, then exit
   11669   -q, --quiet, --silent
   11670                    do not print progress messages
   11671   -d, --debug      don't remove temporary files
   11672       --recheck    update $as_me by reconfiguring in the same conditions
   11673       --file=FILE[:TEMPLATE]
   11674                    instantiate the configuration file FILE
   11675 
   11676 Configuration files:
   11677 $config_files
   11678 
   11679 Configuration commands:
   11680 $config_commands
   11681 
   11682 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11683 
   11684 _ACEOF
   11685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11686 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11687 ac_cs_version="\\
   11688 xtrans config.status 1.2.7
   11689 configured by $0, generated by GNU Autoconf 2.68,
   11690   with options \\"\$ac_cs_config\\"
   11691 
   11692 Copyright (C) 2010 Free Software Foundation, Inc.
   11693 This config.status script is free software; the Free Software Foundation
   11694 gives unlimited permission to copy, distribute and modify it."
   11695 
   11696 ac_pwd='$ac_pwd'
   11697 srcdir='$srcdir'
   11698 INSTALL='$INSTALL'
   11699 MKDIR_P='$MKDIR_P'
   11700 AWK='$AWK'
   11701 test -n "\$AWK" || AWK=awk
   11702 _ACEOF
   11703 
   11704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11705 # The default lists apply if the user does not specify any file.
   11706 ac_need_defaults=:
   11707 while test $# != 0
   11708 do
   11709   case $1 in
   11710   --*=?*)
   11711     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11712     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11713     ac_shift=:
   11714     ;;
   11715   --*=)
   11716     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11717     ac_optarg=
   11718     ac_shift=:
   11719     ;;
   11720   *)
   11721     ac_option=$1
   11722     ac_optarg=$2
   11723     ac_shift=shift
   11724     ;;
   11725   esac
   11726 
   11727   case $ac_option in
   11728   # Handling of the options.
   11729   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11730     ac_cs_recheck=: ;;
   11731   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11732     $as_echo "$ac_cs_version"; exit ;;
   11733   --config | --confi | --conf | --con | --co | --c )
   11734     $as_echo "$ac_cs_config"; exit ;;
   11735   --debug | --debu | --deb | --de | --d | -d )
   11736     debug=: ;;
   11737   --file | --fil | --fi | --f )
   11738     $ac_shift
   11739     case $ac_optarg in
   11740     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11741     '') as_fn_error $? "missing file argument" ;;
   11742     esac
   11743     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11744     ac_need_defaults=false;;
   11745   --he | --h |  --help | --hel | -h )
   11746     $as_echo "$ac_cs_usage"; exit ;;
   11747   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11748   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11749     ac_cs_silent=: ;;
   11750 
   11751   # This is an error.
   11752   -*) as_fn_error $? "unrecognized option: \`$1'
   11753 Try \`$0 --help' for more information." ;;
   11754 
   11755   *) as_fn_append ac_config_targets " $1"
   11756      ac_need_defaults=false ;;
   11757 
   11758   esac
   11759   shift
   11760 done
   11761 
   11762 ac_configure_extra_args=
   11763 
   11764 if $ac_cs_silent; then
   11765   exec 6>/dev/null
   11766   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11767 fi
   11768 
   11769 _ACEOF
   11770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11771 if \$ac_cs_recheck; then
   11772   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11773   shift
   11774   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11775   CONFIG_SHELL='$SHELL'
   11776   export CONFIG_SHELL
   11777   exec "\$@"
   11778 fi
   11779 
   11780 _ACEOF
   11781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11782 exec 5>>config.log
   11783 {
   11784   echo
   11785   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11786 ## Running $as_me. ##
   11787 _ASBOX
   11788   $as_echo "$ac_log"
   11789 } >&5
   11790 
   11791 _ACEOF
   11792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11793 #
   11794 # INIT-COMMANDS
   11795 #
   11796 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11797 
   11798 _ACEOF
   11799 
   11800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11801 
   11802 # Handling of arguments.
   11803 for ac_config_target in $ac_config_targets
   11804 do
   11805   case $ac_config_target in
   11806     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11807     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11808     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   11809     "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;;
   11810 
   11811   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11812   esac
   11813 done
   11814 
   11815 
   11816 # If the user did not use the arguments to specify the items to instantiate,
   11817 # then the envvar interface is used.  Set only those that are not.
   11818 # We use the long form for the default assignment because of an extremely
   11819 # bizarre bug on SunOS 4.1.3.
   11820 if $ac_need_defaults; then
   11821   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11822   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11823 fi
   11824 
   11825 # Have a temporary directory for convenience.  Make it in the build tree
   11826 # simply because there is no reason against having it here, and in addition,
   11827 # creating and moving files from /tmp can sometimes cause problems.
   11828 # Hook for its removal unless debugging.
   11829 # Note that there is a small window in which the directory will not be cleaned:
   11830 # after its creation but before its name has been assigned to `$tmp'.
   11831 $debug ||
   11832 {
   11833   tmp= ac_tmp=
   11834   trap 'exit_status=$?
   11835   : "${ac_tmp:=$tmp}"
   11836   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11837 ' 0
   11838   trap 'as_fn_exit 1' 1 2 13 15
   11839 }
   11840 # Create a (secure) tmp directory for tmp files.
   11841 
   11842 {
   11843   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11844   test -d "$tmp"
   11845 }  ||
   11846 {
   11847   tmp=./conf$$-$RANDOM
   11848   (umask 077 && mkdir "$tmp")
   11849 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11850 ac_tmp=$tmp
   11851 
   11852 # Set up the scripts for CONFIG_FILES section.
   11853 # No need to generate them if there are no CONFIG_FILES.
   11854 # This happens for instance with `./config.status config.h'.
   11855 if test -n "$CONFIG_FILES"; then
   11856 
   11857 
   11858 ac_cr=`echo X | tr X '\015'`
   11859 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11860 # But we know of no other shell where ac_cr would be empty at this
   11861 # point, so we can use a bashism as a fallback.
   11862 if test "x$ac_cr" = x; then
   11863   eval ac_cr=\$\'\\r\'
   11864 fi
   11865 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11866 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11867   ac_cs_awk_cr='\\r'
   11868 else
   11869   ac_cs_awk_cr=$ac_cr
   11870 fi
   11871 
   11872 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11873 _ACEOF
   11874 
   11875 
   11876 {
   11877   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11878   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11879   echo "_ACEOF"
   11880 } >conf$$subs.sh ||
   11881   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11882 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11883 ac_delim='%!_!# '
   11884 for ac_last_try in false false false false false :; do
   11885   . ./conf$$subs.sh ||
   11886     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11887 
   11888   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11889   if test $ac_delim_n = $ac_delim_num; then
   11890     break
   11891   elif $ac_last_try; then
   11892     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11893   else
   11894     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11895   fi
   11896 done
   11897 rm -f conf$$subs.sh
   11898 
   11899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11900 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11901 _ACEOF
   11902 sed -n '
   11903 h
   11904 s/^/S["/; s/!.*/"]=/
   11905 p
   11906 g
   11907 s/^[^!]*!//
   11908 :repl
   11909 t repl
   11910 s/'"$ac_delim"'$//
   11911 t delim
   11912 :nl
   11913 h
   11914 s/\(.\{148\}\)..*/\1/
   11915 t more1
   11916 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11917 p
   11918 n
   11919 b repl
   11920 :more1
   11921 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11922 p
   11923 g
   11924 s/.\{148\}//
   11925 t nl
   11926 :delim
   11927 h
   11928 s/\(.\{148\}\)..*/\1/
   11929 t more2
   11930 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11931 p
   11932 b
   11933 :more2
   11934 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11935 p
   11936 g
   11937 s/.\{148\}//
   11938 t delim
   11939 ' <conf$$subs.awk | sed '
   11940 /^[^""]/{
   11941   N
   11942   s/\n//
   11943 }
   11944 ' >>$CONFIG_STATUS || ac_write_fail=1
   11945 rm -f conf$$subs.awk
   11946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11947 _ACAWK
   11948 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11949   for (key in S) S_is_set[key] = 1
   11950   FS = ""
   11951 
   11952 }
   11953 {
   11954   line = $ 0
   11955   nfields = split(line, field, "@")
   11956   substed = 0
   11957   len = length(field[1])
   11958   for (i = 2; i < nfields; i++) {
   11959     key = field[i]
   11960     keylen = length(key)
   11961     if (S_is_set[key]) {
   11962       value = S[key]
   11963       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11964       len += length(value) + length(field[++i])
   11965       substed = 1
   11966     } else
   11967       len += 1 + keylen
   11968   }
   11969 
   11970   print line
   11971 }
   11972 
   11973 _ACAWK
   11974 _ACEOF
   11975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11976 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11977   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11978 else
   11979   cat
   11980 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11981   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11982 _ACEOF
   11983 
   11984 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11985 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11986 # trailing colons and then remove the whole line if VPATH becomes empty
   11987 # (actually we leave an empty line to preserve line numbers).
   11988 if test "x$srcdir" = x.; then
   11989   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11990 h
   11991 s///
   11992 s/^/:/
   11993 s/[	 ]*$/:/
   11994 s/:\$(srcdir):/:/g
   11995 s/:\${srcdir}:/:/g
   11996 s/:@srcdir@:/:/g
   11997 s/^:*//
   11998 s/:*$//
   11999 x
   12000 s/\(=[	 ]*\).*/\1/
   12001 G
   12002 s/\n//
   12003 s/^[^=]*=[	 ]*$//
   12004 }'
   12005 fi
   12006 
   12007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12008 fi # test -n "$CONFIG_FILES"
   12009 
   12010 
   12011 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   12012 shift
   12013 for ac_tag
   12014 do
   12015   case $ac_tag in
   12016   :[FHLC]) ac_mode=$ac_tag; continue;;
   12017   esac
   12018   case $ac_mode$ac_tag in
   12019   :[FHL]*:*);;
   12020   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12021   :[FH]-) ac_tag=-:-;;
   12022   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12023   esac
   12024   ac_save_IFS=$IFS
   12025   IFS=:
   12026   set x $ac_tag
   12027   IFS=$ac_save_IFS
   12028   shift
   12029   ac_file=$1
   12030   shift
   12031 
   12032   case $ac_mode in
   12033   :L) ac_source=$1;;
   12034   :[FH])
   12035     ac_file_inputs=
   12036     for ac_f
   12037     do
   12038       case $ac_f in
   12039       -) ac_f="$ac_tmp/stdin";;
   12040       *) # Look for the file first in the build tree, then in the source tree
   12041 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12042 	 # because $ac_f cannot contain `:'.
   12043 	 test -f "$ac_f" ||
   12044 	   case $ac_f in
   12045 	   [\\/$]*) false;;
   12046 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12047 	   esac ||
   12048 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12049       esac
   12050       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12051       as_fn_append ac_file_inputs " '$ac_f'"
   12052     done
   12053 
   12054     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12055     # use $as_me), people would be surprised to read:
   12056     #    /* config.h.  Generated by config.status.  */
   12057     configure_input='Generated from '`
   12058 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12059 	`' by configure.'
   12060     if test x"$ac_file" != x-; then
   12061       configure_input="$ac_file.  $configure_input"
   12062       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12063 $as_echo "$as_me: creating $ac_file" >&6;}
   12064     fi
   12065     # Neutralize special characters interpreted by sed in replacement strings.
   12066     case $configure_input in #(
   12067     *\&* | *\|* | *\\* )
   12068        ac_sed_conf_input=`$as_echo "$configure_input" |
   12069        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12070     *) ac_sed_conf_input=$configure_input;;
   12071     esac
   12072 
   12073     case $ac_tag in
   12074     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12075       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12076     esac
   12077     ;;
   12078   esac
   12079 
   12080   ac_dir=`$as_dirname -- "$ac_file" ||
   12081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12082 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12083 	 X"$ac_file" : 'X\(//\)$' \| \
   12084 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12085 $as_echo X"$ac_file" |
   12086     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12087 	    s//\1/
   12088 	    q
   12089 	  }
   12090 	  /^X\(\/\/\)[^/].*/{
   12091 	    s//\1/
   12092 	    q
   12093 	  }
   12094 	  /^X\(\/\/\)$/{
   12095 	    s//\1/
   12096 	    q
   12097 	  }
   12098 	  /^X\(\/\).*/{
   12099 	    s//\1/
   12100 	    q
   12101 	  }
   12102 	  s/.*/./; q'`
   12103   as_dir="$ac_dir"; as_fn_mkdir_p
   12104   ac_builddir=.
   12105 
   12106 case "$ac_dir" in
   12107 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12108 *)
   12109   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12110   # A ".." for each directory in $ac_dir_suffix.
   12111   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12112   case $ac_top_builddir_sub in
   12113   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12114   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12115   esac ;;
   12116 esac
   12117 ac_abs_top_builddir=$ac_pwd
   12118 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12119 # for backward compatibility:
   12120 ac_top_builddir=$ac_top_build_prefix
   12121 
   12122 case $srcdir in
   12123   .)  # We are building in place.
   12124     ac_srcdir=.
   12125     ac_top_srcdir=$ac_top_builddir_sub
   12126     ac_abs_top_srcdir=$ac_pwd ;;
   12127   [\\/]* | ?:[\\/]* )  # Absolute name.
   12128     ac_srcdir=$srcdir$ac_dir_suffix;
   12129     ac_top_srcdir=$srcdir
   12130     ac_abs_top_srcdir=$srcdir ;;
   12131   *) # Relative name.
   12132     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12133     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12134     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12135 esac
   12136 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12137 
   12138 
   12139   case $ac_mode in
   12140   :F)
   12141   #
   12142   # CONFIG_FILE
   12143   #
   12144 
   12145   case $INSTALL in
   12146   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12147   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12148   esac
   12149   ac_MKDIR_P=$MKDIR_P
   12150   case $MKDIR_P in
   12151   [\\/$]* | ?:[\\/]* ) ;;
   12152   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12153   esac
   12154 _ACEOF
   12155 
   12156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12157 # If the template does not know about datarootdir, expand it.
   12158 # FIXME: This hack should be removed a few years after 2.60.
   12159 ac_datarootdir_hack=; ac_datarootdir_seen=
   12160 ac_sed_dataroot='
   12161 /datarootdir/ {
   12162   p
   12163   q
   12164 }
   12165 /@datadir@/p
   12166 /@docdir@/p
   12167 /@infodir@/p
   12168 /@localedir@/p
   12169 /@mandir@/p'
   12170 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12171 *datarootdir*) ac_datarootdir_seen=yes;;
   12172 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12173   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12174 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12175 _ACEOF
   12176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12177   ac_datarootdir_hack='
   12178   s&@datadir@&$datadir&g
   12179   s&@docdir@&$docdir&g
   12180   s&@infodir@&$infodir&g
   12181   s&@localedir@&$localedir&g
   12182   s&@mandir@&$mandir&g
   12183   s&\\\${datarootdir}&$datarootdir&g' ;;
   12184 esac
   12185 _ACEOF
   12186 
   12187 # Neutralize VPATH when `$srcdir' = `.'.
   12188 # Shell code in configure.ac might set extrasub.
   12189 # FIXME: do we really want to maintain this feature?
   12190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12191 ac_sed_extra="$ac_vpsub
   12192 $extrasub
   12193 _ACEOF
   12194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12195 :t
   12196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12197 s|@configure_input@|$ac_sed_conf_input|;t t
   12198 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12199 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12200 s&@srcdir@&$ac_srcdir&;t t
   12201 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12202 s&@top_srcdir@&$ac_top_srcdir&;t t
   12203 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12204 s&@builddir@&$ac_builddir&;t t
   12205 s&@abs_builddir@&$ac_abs_builddir&;t t
   12206 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12207 s&@INSTALL@&$ac_INSTALL&;t t
   12208 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12209 $ac_datarootdir_hack
   12210 "
   12211 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12212   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12213 
   12214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12215   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12216   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12217       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12218   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12219 which seems to be undefined.  Please make sure it is defined" >&5
   12220 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12221 which seems to be undefined.  Please make sure it is defined" >&2;}
   12222 
   12223   rm -f "$ac_tmp/stdin"
   12224   case $ac_file in
   12225   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12226   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12227   esac \
   12228   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12229  ;;
   12230 
   12231 
   12232   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12233 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12234  ;;
   12235   esac
   12236 
   12237 
   12238   case $ac_file$ac_mode in
   12239     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12240   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12241   # are listed without --file.  Let's play safe and only enable the eval
   12242   # if we detect the quoting.
   12243   case $CONFIG_FILES in
   12244   *\'*) eval set x "$CONFIG_FILES" ;;
   12245   *)   set x $CONFIG_FILES ;;
   12246   esac
   12247   shift
   12248   for mf
   12249   do
   12250     # Strip MF so we end up with the name of the file.
   12251     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12252     # Check whether this is an Automake generated Makefile or not.
   12253     # We used to match only the files named `Makefile.in', but
   12254     # some people rename them; so instead we look at the file content.
   12255     # Grep'ing the first line is not enough: some people post-process
   12256     # each Makefile.in and add a new line on top of each file to say so.
   12257     # Grep'ing the whole file is not good either: AIX grep has a line
   12258     # limit of 2048, but all sed's we know have understand at least 4000.
   12259     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12260       dirpart=`$as_dirname -- "$mf" ||
   12261 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12262 	 X"$mf" : 'X\(//\)[^/]' \| \
   12263 	 X"$mf" : 'X\(//\)$' \| \
   12264 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12265 $as_echo X"$mf" |
   12266     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12267 	    s//\1/
   12268 	    q
   12269 	  }
   12270 	  /^X\(\/\/\)[^/].*/{
   12271 	    s//\1/
   12272 	    q
   12273 	  }
   12274 	  /^X\(\/\/\)$/{
   12275 	    s//\1/
   12276 	    q
   12277 	  }
   12278 	  /^X\(\/\).*/{
   12279 	    s//\1/
   12280 	    q
   12281 	  }
   12282 	  s/.*/./; q'`
   12283     else
   12284       continue
   12285     fi
   12286     # Extract the definition of DEPDIR, am__include, and am__quote
   12287     # from the Makefile without running `make'.
   12288     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12289     test -z "$DEPDIR" && continue
   12290     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12291     test -z "am__include" && continue
   12292     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12293     # When using ansi2knr, U may be empty or an underscore; expand it
   12294     U=`sed -n 's/^U = //p' < "$mf"`
   12295     # Find all dependency output files, they are included files with
   12296     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12297     # simplest approach to changing $(DEPDIR) to its actual value in the
   12298     # expansion.
   12299     for file in `sed -n "
   12300       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12301 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12302       # Make sure the directory exists.
   12303       test -f "$dirpart/$file" && continue
   12304       fdir=`$as_dirname -- "$file" ||
   12305 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12306 	 X"$file" : 'X\(//\)[^/]' \| \
   12307 	 X"$file" : 'X\(//\)$' \| \
   12308 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12309 $as_echo X"$file" |
   12310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12311 	    s//\1/
   12312 	    q
   12313 	  }
   12314 	  /^X\(\/\/\)[^/].*/{
   12315 	    s//\1/
   12316 	    q
   12317 	  }
   12318 	  /^X\(\/\/\)$/{
   12319 	    s//\1/
   12320 	    q
   12321 	  }
   12322 	  /^X\(\/\).*/{
   12323 	    s//\1/
   12324 	    q
   12325 	  }
   12326 	  s/.*/./; q'`
   12327       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12328       # echo "creating $dirpart/$file"
   12329       echo '# dummy' > "$dirpart/$file"
   12330     done
   12331   done
   12332 }
   12333  ;;
   12334 
   12335   esac
   12336 done # for ac_tag
   12337 
   12338 
   12339 as_fn_exit 0
   12340 _ACEOF
   12341 ac_clean_files=$ac_clean_files_save
   12342 
   12343 test $ac_write_fail = 0 ||
   12344   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12345 
   12346 
   12347 # configure is writing to config.log, and then calls config.status.
   12348 # config.status does its own redirection, appending to config.log.
   12349 # Unfortunately, on DOS this fails, as config.log is still kept open
   12350 # by configure, so config.status won't be able to write to it; its
   12351 # output is simply discarded.  So we exec the FD to /dev/null,
   12352 # effectively closing config.log, so it can be properly (re)opened and
   12353 # appended to by config.status.  When coming back to configure, we
   12354 # need to make the FD available again.
   12355 if test "$no_create" != yes; then
   12356   ac_cs_success=:
   12357   ac_config_status_args=
   12358   test "$silent" = yes &&
   12359     ac_config_status_args="$ac_config_status_args --quiet"
   12360   exec 5>/dev/null
   12361   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12362   exec 5>>config.log
   12363   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12364   # would make configure fail if this is the last instruction.
   12365   $ac_cs_success || as_fn_exit 1
   12366 fi
   12367 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12368   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12369 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12370 fi
   12371 
   12372