Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xtrans 1.3.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 as_awk_strverscmp='
    561   # Use only awk features that work with 7th edition Unix awk (1978).
    562   # My, what an old awk you have, Mr. Solaris!
    563   END {
    564     while (length(v1) && length(v2)) {
    565       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    566       # Normally this is a single character, but if v1 and v2 contain digits,
    567       # compare them as integers and fractions as strverscmp does.
    568       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    569 	# Split v1 and v2 into their leading digit string components d1 and d2,
    570 	# and advance v1 and v2 past the leading digit strings.
    571 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    572 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    573 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    574 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    575 	if (d1 ~ /^0/) {
    576 	  if (d2 ~ /^0/) {
    577 	    # Compare two fractions.
    578 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    579 	      d1 = substr(d1, 2); len1--
    580 	      d2 = substr(d2, 2); len2--
    581 	    }
    582 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    583 	      # The two components differ in length, and the common prefix
    584 	      # contains only leading zeros.  Consider the longer to be less.
    585 	      d1 = -len1
    586 	      d2 = -len2
    587 	    } else {
    588 	      # Otherwise, compare as strings.
    589 	      d1 = "x" d1
    590 	      d2 = "x" d2
    591 	    }
    592 	  } else {
    593 	    # A fraction is less than an integer.
    594 	    exit 1
    595 	  }
    596 	} else {
    597 	  if (d2 ~ /^0/) {
    598 	    # An integer is greater than a fraction.
    599 	    exit 2
    600 	  } else {
    601 	    # Compare two integers.
    602 	    d1 += 0
    603 	    d2 += 0
    604 	  }
    605 	}
    606       } else {
    607 	# The normal case, without worrying about digits.
    608 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    609 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    610       }
    611       if (d1 < d2) exit 1
    612       if (d1 > d2) exit 2
    613     }
    614     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    615     # which mishandles some comparisons of empty strings to integers.
    616     if (length(v2)) exit 1
    617     if (length(v1)) exit 2
    618   }
    619 '
    620 
    621 test -n "$DJDIR" || exec 7<&0 </dev/null
    622 exec 6>&1
    623 
    624 # Name of the host.
    625 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    626 # so uname gets run too.
    627 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    628 
    629 #
    630 # Initializations.
    631 #
    632 ac_default_prefix=/usr/local
    633 ac_clean_files=
    634 ac_config_libobj_dir=.
    635 LIBOBJS=
    636 cross_compiling=no
    637 subdirs=
    638 MFLAGS=
    639 MAKEFLAGS=
    640 
    641 # Identity of this package.
    642 PACKAGE_NAME='xtrans'
    643 PACKAGE_TARNAME='xtrans'
    644 PACKAGE_VERSION='1.3.3'
    645 PACKAGE_STRING='xtrans 1.3.3'
    646 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    647 PACKAGE_URL=''
    648 
    649 ac_unique_file="Makefile.am"
    650 # Factoring default headers for most tests.
    651 ac_includes_default="\
    652 #include <stdio.h>
    653 #ifdef HAVE_SYS_TYPES_H
    654 # include <sys/types.h>
    655 #endif
    656 #ifdef HAVE_SYS_STAT_H
    657 # include <sys/stat.h>
    658 #endif
    659 #ifdef STDC_HEADERS
    660 # include <stdlib.h>
    661 # include <stddef.h>
    662 #else
    663 # ifdef HAVE_STDLIB_H
    664 #  include <stdlib.h>
    665 # endif
    666 #endif
    667 #ifdef HAVE_STRING_H
    668 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    669 #  include <memory.h>
    670 # endif
    671 # include <string.h>
    672 #endif
    673 #ifdef HAVE_STRINGS_H
    674 # include <strings.h>
    675 #endif
    676 #ifdef HAVE_INTTYPES_H
    677 # include <inttypes.h>
    678 #endif
    679 #ifdef HAVE_STDINT_H
    680 # include <stdint.h>
    681 #endif
    682 #ifdef HAVE_UNISTD_H
    683 # include <unistd.h>
    684 #endif"
    685 
    686 ac_subst_vars='am__EXEEXT_FALSE
    687 am__EXEEXT_TRUE
    688 LTLIBOBJS
    689 LIBOBJS
    690 sticky_bit_define
    691 fchown_define
    692 HAVE_STYLESHEETS_FALSE
    693 HAVE_STYLESHEETS_TRUE
    694 XSL_STYLESHEET
    695 STYLESHEET_SRCDIR
    696 XORG_SGML_PATH
    697 HAVE_XSLTPROC_FALSE
    698 HAVE_XSLTPROC_TRUE
    699 XSLTPROC
    700 HAVE_FOP_FALSE
    701 HAVE_FOP_TRUE
    702 FOP
    703 HAVE_XMLTO_FALSE
    704 HAVE_XMLTO_TRUE
    705 HAVE_XMLTO_TEXT_FALSE
    706 HAVE_XMLTO_TEXT_TRUE
    707 XMLTO
    708 ENABLE_DOCS_FALSE
    709 ENABLE_DOCS_TRUE
    710 MAN_SUBSTS
    711 XORG_MAN_PAGE
    712 ADMIN_MAN_DIR
    713 DRIVER_MAN_DIR
    714 MISC_MAN_DIR
    715 FILE_MAN_DIR
    716 LIB_MAN_DIR
    717 APP_MAN_DIR
    718 ADMIN_MAN_SUFFIX
    719 DRIVER_MAN_SUFFIX
    720 MISC_MAN_SUFFIX
    721 FILE_MAN_SUFFIX
    722 LIB_MAN_SUFFIX
    723 APP_MAN_SUFFIX
    724 SED
    725 host_os
    726 host_vendor
    727 host_cpu
    728 host
    729 build_os
    730 build_vendor
    731 build_cpu
    732 build
    733 INSTALL_CMD
    734 PKG_CONFIG_LIBDIR
    735 PKG_CONFIG_PATH
    736 PKG_CONFIG
    737 CHANGELOG_CMD
    738 STRICT_CFLAGS
    739 CWARNFLAGS
    740 BASE_CFLAGS
    741 EGREP
    742 GREP
    743 CPP
    744 am__fastdepCC_FALSE
    745 am__fastdepCC_TRUE
    746 CCDEPMODE
    747 am__nodep
    748 AMDEPBACKSLASH
    749 AMDEP_FALSE
    750 AMDEP_TRUE
    751 am__quote
    752 am__include
    753 DEPDIR
    754 OBJEXT
    755 EXEEXT
    756 ac_ct_CC
    757 CPPFLAGS
    758 LDFLAGS
    759 CFLAGS
    760 CC
    761 AM_BACKSLASH
    762 AM_DEFAULT_VERBOSITY
    763 AM_DEFAULT_V
    764 AM_V
    765 am__untar
    766 am__tar
    767 AMTAR
    768 am__leading_dot
    769 SET_MAKE
    770 AWK
    771 mkdir_p
    772 MKDIR_P
    773 INSTALL_STRIP_PROGRAM
    774 STRIP
    775 install_sh
    776 MAKEINFO
    777 AUTOHEADER
    778 AUTOMAKE
    779 AUTOCONF
    780 ACLOCAL
    781 VERSION
    782 PACKAGE
    783 CYGPATH_W
    784 am__isrc
    785 INSTALL_DATA
    786 INSTALL_SCRIPT
    787 INSTALL_PROGRAM
    788 target_alias
    789 host_alias
    790 build_alias
    791 LIBS
    792 ECHO_T
    793 ECHO_N
    794 ECHO_C
    795 DEFS
    796 mandir
    797 localedir
    798 libdir
    799 psdir
    800 pdfdir
    801 dvidir
    802 htmldir
    803 infodir
    804 docdir
    805 oldincludedir
    806 includedir
    807 localstatedir
    808 sharedstatedir
    809 sysconfdir
    810 datadir
    811 datarootdir
    812 libexecdir
    813 sbindir
    814 bindir
    815 program_transform_name
    816 prefix
    817 exec_prefix
    818 PACKAGE_URL
    819 PACKAGE_BUGREPORT
    820 PACKAGE_STRING
    821 PACKAGE_VERSION
    822 PACKAGE_TARNAME
    823 PACKAGE_NAME
    824 PATH_SEPARATOR
    825 SHELL'
    826 ac_subst_files=''
    827 ac_user_opts='
    828 enable_option_checking
    829 enable_silent_rules
    830 enable_dependency_tracking
    831 enable_selective_werror
    832 enable_strict_compilation
    833 enable_docs
    834 with_xmlto
    835 with_fop
    836 with_xsltproc
    837 '
    838       ac_precious_vars='build_alias
    839 host_alias
    840 target_alias
    841 CC
    842 CFLAGS
    843 LDFLAGS
    844 LIBS
    845 CPPFLAGS
    846 CPP
    847 PKG_CONFIG
    848 PKG_CONFIG_PATH
    849 PKG_CONFIG_LIBDIR
    850 XMLTO
    851 FOP
    852 XSLTPROC'
    853 
    854 
    855 # Initialize some variables set by options.
    856 ac_init_help=
    857 ac_init_version=false
    858 ac_unrecognized_opts=
    859 ac_unrecognized_sep=
    860 # The variables have the same names as the options, with
    861 # dashes changed to underlines.
    862 cache_file=/dev/null
    863 exec_prefix=NONE
    864 no_create=
    865 no_recursion=
    866 prefix=NONE
    867 program_prefix=NONE
    868 program_suffix=NONE
    869 program_transform_name=s,x,x,
    870 silent=
    871 site=
    872 srcdir=
    873 verbose=
    874 x_includes=NONE
    875 x_libraries=NONE
    876 
    877 # Installation directory options.
    878 # These are left unexpanded so users can "make install exec_prefix=/foo"
    879 # and all the variables that are supposed to be based on exec_prefix
    880 # by default will actually change.
    881 # Use braces instead of parens because sh, perl, etc. also accept them.
    882 # (The list follows the same order as the GNU Coding Standards.)
    883 bindir='${exec_prefix}/bin'
    884 sbindir='${exec_prefix}/sbin'
    885 libexecdir='${exec_prefix}/libexec'
    886 datarootdir='${prefix}/share'
    887 datadir='${datarootdir}'
    888 sysconfdir='${prefix}/etc'
    889 sharedstatedir='${prefix}/com'
    890 localstatedir='${prefix}/var'
    891 includedir='${prefix}/include'
    892 oldincludedir='/usr/include'
    893 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    894 infodir='${datarootdir}/info'
    895 htmldir='${docdir}'
    896 dvidir='${docdir}'
    897 pdfdir='${docdir}'
    898 psdir='${docdir}'
    899 libdir='${exec_prefix}/lib'
    900 localedir='${datarootdir}/locale'
    901 mandir='${datarootdir}/man'
    902 
    903 ac_prev=
    904 ac_dashdash=
    905 for ac_option
    906 do
    907   # If the previous option needs an argument, assign it.
    908   if test -n "$ac_prev"; then
    909     eval $ac_prev=\$ac_option
    910     ac_prev=
    911     continue
    912   fi
    913 
    914   case $ac_option in
    915   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    916   *=)   ac_optarg= ;;
    917   *)    ac_optarg=yes ;;
    918   esac
    919 
    920   # Accept the important Cygnus configure options, so we can diagnose typos.
    921 
    922   case $ac_dashdash$ac_option in
    923   --)
    924     ac_dashdash=yes ;;
    925 
    926   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    927     ac_prev=bindir ;;
    928   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    929     bindir=$ac_optarg ;;
    930 
    931   -build | --build | --buil | --bui | --bu)
    932     ac_prev=build_alias ;;
    933   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    934     build_alias=$ac_optarg ;;
    935 
    936   -cache-file | --cache-file | --cache-fil | --cache-fi \
    937   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    938     ac_prev=cache_file ;;
    939   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    940   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    941     cache_file=$ac_optarg ;;
    942 
    943   --config-cache | -C)
    944     cache_file=config.cache ;;
    945 
    946   -datadir | --datadir | --datadi | --datad)
    947     ac_prev=datadir ;;
    948   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    949     datadir=$ac_optarg ;;
    950 
    951   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    952   | --dataroo | --dataro | --datar)
    953     ac_prev=datarootdir ;;
    954   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    955   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    956     datarootdir=$ac_optarg ;;
    957 
    958   -disable-* | --disable-*)
    959     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    960     # Reject names that are not valid shell variable names.
    961     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    962       as_fn_error $? "invalid feature name: $ac_useropt"
    963     ac_useropt_orig=$ac_useropt
    964     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    965     case $ac_user_opts in
    966       *"
    967 "enable_$ac_useropt"
    968 "*) ;;
    969       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    970 	 ac_unrecognized_sep=', ';;
    971     esac
    972     eval enable_$ac_useropt=no ;;
    973 
    974   -docdir | --docdir | --docdi | --doc | --do)
    975     ac_prev=docdir ;;
    976   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    977     docdir=$ac_optarg ;;
    978 
    979   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    980     ac_prev=dvidir ;;
    981   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    982     dvidir=$ac_optarg ;;
    983 
    984   -enable-* | --enable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: $ac_useropt"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=\$ac_optarg ;;
    999 
   1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1002   | --exec | --exe | --ex)
   1003     ac_prev=exec_prefix ;;
   1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1006   | --exec=* | --exe=* | --ex=*)
   1007     exec_prefix=$ac_optarg ;;
   1008 
   1009   -gas | --gas | --ga | --g)
   1010     # Obsolete; use --with-gas.
   1011     with_gas=yes ;;
   1012 
   1013   -help | --help | --hel | --he | -h)
   1014     ac_init_help=long ;;
   1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1016     ac_init_help=recursive ;;
   1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1018     ac_init_help=short ;;
   1019 
   1020   -host | --host | --hos | --ho)
   1021     ac_prev=host_alias ;;
   1022   -host=* | --host=* | --hos=* | --ho=*)
   1023     host_alias=$ac_optarg ;;
   1024 
   1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1026     ac_prev=htmldir ;;
   1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1028   | --ht=*)
   1029     htmldir=$ac_optarg ;;
   1030 
   1031   -includedir | --includedir | --includedi | --included | --include \
   1032   | --includ | --inclu | --incl | --inc)
   1033     ac_prev=includedir ;;
   1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1036     includedir=$ac_optarg ;;
   1037 
   1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1039     ac_prev=infodir ;;
   1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1041     infodir=$ac_optarg ;;
   1042 
   1043   -libdir | --libdir | --libdi | --libd)
   1044     ac_prev=libdir ;;
   1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1046     libdir=$ac_optarg ;;
   1047 
   1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1049   | --libexe | --libex | --libe)
   1050     ac_prev=libexecdir ;;
   1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1052   | --libexe=* | --libex=* | --libe=*)
   1053     libexecdir=$ac_optarg ;;
   1054 
   1055   -localedir | --localedir | --localedi | --localed | --locale)
   1056     ac_prev=localedir ;;
   1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1058     localedir=$ac_optarg ;;
   1059 
   1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1061   | --localstate | --localstat | --localsta | --localst | --locals)
   1062     ac_prev=localstatedir ;;
   1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1065     localstatedir=$ac_optarg ;;
   1066 
   1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1068     ac_prev=mandir ;;
   1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1070     mandir=$ac_optarg ;;
   1071 
   1072   -nfp | --nfp | --nf)
   1073     # Obsolete; use --without-fp.
   1074     with_fp=no ;;
   1075 
   1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1077   | --no-cr | --no-c | -n)
   1078     no_create=yes ;;
   1079 
   1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1082     no_recursion=yes ;;
   1083 
   1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1086   | --oldin | --oldi | --old | --ol | --o)
   1087     ac_prev=oldincludedir ;;
   1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1091     oldincludedir=$ac_optarg ;;
   1092 
   1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1094     ac_prev=prefix ;;
   1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1096     prefix=$ac_optarg ;;
   1097 
   1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1099   | --program-pre | --program-pr | --program-p)
   1100     ac_prev=program_prefix ;;
   1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1103     program_prefix=$ac_optarg ;;
   1104 
   1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1106   | --program-suf | --program-su | --program-s)
   1107     ac_prev=program_suffix ;;
   1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1110     program_suffix=$ac_optarg ;;
   1111 
   1112   -program-transform-name | --program-transform-name \
   1113   | --program-transform-nam | --program-transform-na \
   1114   | --program-transform-n | --program-transform- \
   1115   | --program-transform | --program-transfor \
   1116   | --program-transfo | --program-transf \
   1117   | --program-trans | --program-tran \
   1118   | --progr-tra | --program-tr | --program-t)
   1119     ac_prev=program_transform_name ;;
   1120   -program-transform-name=* | --program-transform-name=* \
   1121   | --program-transform-nam=* | --program-transform-na=* \
   1122   | --program-transform-n=* | --program-transform-=* \
   1123   | --program-transform=* | --program-transfor=* \
   1124   | --program-transfo=* | --program-transf=* \
   1125   | --program-trans=* | --program-tran=* \
   1126   | --progr-tra=* | --program-tr=* | --program-t=*)
   1127     program_transform_name=$ac_optarg ;;
   1128 
   1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1130     ac_prev=pdfdir ;;
   1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1132     pdfdir=$ac_optarg ;;
   1133 
   1134   -psdir | --psdir | --psdi | --psd | --ps)
   1135     ac_prev=psdir ;;
   1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1137     psdir=$ac_optarg ;;
   1138 
   1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1140   | -silent | --silent | --silen | --sile | --sil)
   1141     silent=yes ;;
   1142 
   1143   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1144     ac_prev=sbindir ;;
   1145   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1146   | --sbi=* | --sb=*)
   1147     sbindir=$ac_optarg ;;
   1148 
   1149   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1150   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1151   | --sharedst | --shareds | --shared | --share | --shar \
   1152   | --sha | --sh)
   1153     ac_prev=sharedstatedir ;;
   1154   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1155   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1156   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1157   | --sha=* | --sh=*)
   1158     sharedstatedir=$ac_optarg ;;
   1159 
   1160   -site | --site | --sit)
   1161     ac_prev=site ;;
   1162   -site=* | --site=* | --sit=*)
   1163     site=$ac_optarg ;;
   1164 
   1165   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1166     ac_prev=srcdir ;;
   1167   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1168     srcdir=$ac_optarg ;;
   1169 
   1170   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1171   | --syscon | --sysco | --sysc | --sys | --sy)
   1172     ac_prev=sysconfdir ;;
   1173   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1174   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1175     sysconfdir=$ac_optarg ;;
   1176 
   1177   -target | --target | --targe | --targ | --tar | --ta | --t)
   1178     ac_prev=target_alias ;;
   1179   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1180     target_alias=$ac_optarg ;;
   1181 
   1182   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1183     verbose=yes ;;
   1184 
   1185   -version | --version | --versio | --versi | --vers | -V)
   1186     ac_init_version=: ;;
   1187 
   1188   -with-* | --with-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=\$ac_optarg ;;
   1203 
   1204   -without-* | --without-*)
   1205     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1206     # Reject names that are not valid shell variable names.
   1207     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1208       as_fn_error $? "invalid package name: $ac_useropt"
   1209     ac_useropt_orig=$ac_useropt
   1210     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1211     case $ac_user_opts in
   1212       *"
   1213 "with_$ac_useropt"
   1214 "*) ;;
   1215       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1216 	 ac_unrecognized_sep=', ';;
   1217     esac
   1218     eval with_$ac_useropt=no ;;
   1219 
   1220   --x)
   1221     # Obsolete; use --with-x.
   1222     with_x=yes ;;
   1223 
   1224   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1225   | --x-incl | --x-inc | --x-in | --x-i)
   1226     ac_prev=x_includes ;;
   1227   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1228   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1229     x_includes=$ac_optarg ;;
   1230 
   1231   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1232   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1233     ac_prev=x_libraries ;;
   1234   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1235   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1236     x_libraries=$ac_optarg ;;
   1237 
   1238   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1239 Try \`$0 --help' for more information"
   1240     ;;
   1241 
   1242   *=*)
   1243     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1244     # Reject names that are not valid shell variable names.
   1245     case $ac_envvar in #(
   1246       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1247       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1248     esac
   1249     eval $ac_envvar=\$ac_optarg
   1250     export $ac_envvar ;;
   1251 
   1252   *)
   1253     # FIXME: should be removed in autoconf 3.0.
   1254     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1255     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1256       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1257     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1258     ;;
   1259 
   1260   esac
   1261 done
   1262 
   1263 if test -n "$ac_prev"; then
   1264   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1265   as_fn_error $? "missing argument to $ac_option"
   1266 fi
   1267 
   1268 if test -n "$ac_unrecognized_opts"; then
   1269   case $enable_option_checking in
   1270     no) ;;
   1271     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1272     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1273   esac
   1274 fi
   1275 
   1276 # Check all directory arguments for consistency.
   1277 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1278 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1279 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1280 		libdir localedir mandir
   1281 do
   1282   eval ac_val=\$$ac_var
   1283   # Remove trailing slashes.
   1284   case $ac_val in
   1285     */ )
   1286       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1287       eval $ac_var=\$ac_val;;
   1288   esac
   1289   # Be sure to have absolute directory names.
   1290   case $ac_val in
   1291     [\\/$]* | ?:[\\/]* )  continue;;
   1292     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1293   esac
   1294   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1295 done
   1296 
   1297 # There might be people who depend on the old broken behavior: `$host'
   1298 # used to hold the argument of --host etc.
   1299 # FIXME: To remove some day.
   1300 build=$build_alias
   1301 host=$host_alias
   1302 target=$target_alias
   1303 
   1304 # FIXME: To remove some day.
   1305 if test "x$host_alias" != x; then
   1306   if test "x$build_alias" = x; then
   1307     cross_compiling=maybe
   1308   elif test "x$build_alias" != "x$host_alias"; then
   1309     cross_compiling=yes
   1310   fi
   1311 fi
   1312 
   1313 ac_tool_prefix=
   1314 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1315 
   1316 test "$silent" = yes && exec 6>/dev/null
   1317 
   1318 
   1319 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1320 ac_ls_di=`ls -di .` &&
   1321 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1322   as_fn_error $? "working directory cannot be determined"
   1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1324   as_fn_error $? "pwd does not report name of working directory"
   1325 
   1326 
   1327 # Find the source files, if location was not specified.
   1328 if test -z "$srcdir"; then
   1329   ac_srcdir_defaulted=yes
   1330   # Try the directory containing this script, then the parent directory.
   1331   ac_confdir=`$as_dirname -- "$as_myself" ||
   1332 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1333 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1334 	 X"$as_myself" : 'X\(//\)$' \| \
   1335 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1336 $as_echo X"$as_myself" |
   1337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1338 	    s//\1/
   1339 	    q
   1340 	  }
   1341 	  /^X\(\/\/\)[^/].*/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)$/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\).*/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  s/.*/./; q'`
   1354   srcdir=$ac_confdir
   1355   if test ! -r "$srcdir/$ac_unique_file"; then
   1356     srcdir=..
   1357   fi
   1358 else
   1359   ac_srcdir_defaulted=no
   1360 fi
   1361 if test ! -r "$srcdir/$ac_unique_file"; then
   1362   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1363   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1364 fi
   1365 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1366 ac_abs_confdir=`(
   1367 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1368 	pwd)`
   1369 # When building in place, set srcdir=.
   1370 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1371   srcdir=.
   1372 fi
   1373 # Remove unnecessary trailing slashes from srcdir.
   1374 # Double slashes in file names in object file debugging info
   1375 # mess up M-x gdb in Emacs.
   1376 case $srcdir in
   1377 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1378 esac
   1379 for ac_var in $ac_precious_vars; do
   1380   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1381   eval ac_env_${ac_var}_value=\$${ac_var}
   1382   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1383   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1384 done
   1385 
   1386 #
   1387 # Report the --help message.
   1388 #
   1389 if test "$ac_init_help" = "long"; then
   1390   # Omit some internal or obsolete options to make the list less imposing.
   1391   # This message is too long to be a string in the A/UX 3.1 sh.
   1392   cat <<_ACEOF
   1393 \`configure' configures xtrans 1.3.3 to adapt to many kinds of systems.
   1394 
   1395 Usage: $0 [OPTION]... [VAR=VALUE]...
   1396 
   1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1398 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1399 
   1400 Defaults for the options are specified in brackets.
   1401 
   1402 Configuration:
   1403   -h, --help              display this help and exit
   1404       --help=short        display options specific to this package
   1405       --help=recursive    display the short help of all the included packages
   1406   -V, --version           display version information and exit
   1407   -q, --quiet, --silent   do not print \`checking ...' messages
   1408       --cache-file=FILE   cache test results in FILE [disabled]
   1409   -C, --config-cache      alias for \`--cache-file=config.cache'
   1410   -n, --no-create         do not create output files
   1411       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1412 
   1413 Installation directories:
   1414   --prefix=PREFIX         install architecture-independent files in PREFIX
   1415                           [$ac_default_prefix]
   1416   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1417                           [PREFIX]
   1418 
   1419 By default, \`make install' will install all the files in
   1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1422 for instance \`--prefix=\$HOME'.
   1423 
   1424 For better control, use the options below.
   1425 
   1426 Fine tuning of the installation directories:
   1427   --bindir=DIR            user executables [EPREFIX/bin]
   1428   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1429   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1430   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1431   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1432   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1433   --libdir=DIR            object code libraries [EPREFIX/lib]
   1434   --includedir=DIR        C header files [PREFIX/include]
   1435   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1436   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1437   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1438   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1439   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1440   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1441   --docdir=DIR            documentation root [DATAROOTDIR/doc/xtrans]
   1442   --htmldir=DIR           html documentation [DOCDIR]
   1443   --dvidir=DIR            dvi documentation [DOCDIR]
   1444   --pdfdir=DIR            pdf documentation [DOCDIR]
   1445   --psdir=DIR             ps documentation [DOCDIR]
   1446 _ACEOF
   1447 
   1448   cat <<\_ACEOF
   1449 
   1450 Program names:
   1451   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1452   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1453   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1454 
   1455 System types:
   1456   --build=BUILD     configure for building on BUILD [guessed]
   1457   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1458 _ACEOF
   1459 fi
   1460 
   1461 if test -n "$ac_init_help"; then
   1462   case $ac_init_help in
   1463      short | recursive ) echo "Configuration of xtrans 1.3.3:";;
   1464    esac
   1465   cat <<\_ACEOF
   1466 
   1467 Optional Features:
   1468   --disable-option-checking  ignore unrecognized --enable/--with options
   1469   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1470   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1471   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1472   --disable-silent-rules  verbose build output (undo: "make V=0")
   1473   --enable-dependency-tracking
   1474                           do not reject slow dependency extractors
   1475   --disable-dependency-tracking
   1476                           speeds up one-time build
   1477   --disable-selective-werror
   1478                           Turn off selective compiler errors. (default:
   1479                           enabled)
   1480   --enable-strict-compilation
   1481                           Enable all warnings from compiler and make them
   1482                           errors (default: disabled)
   1483   --enable-docs           Enable building the documentation (default: yes)
   1484 
   1485 Optional Packages:
   1486   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1487   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1488   --with-xmlto            Use xmlto to regenerate documentation (default:
   1489                           auto)
   1490   --with-fop              Use fop to regenerate documentation (default: auto)
   1491   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1492                           (default: auto)
   1493 
   1494 Some influential environment variables:
   1495   CC          C compiler command
   1496   CFLAGS      C compiler flags
   1497   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1498               nonstandard directory <lib dir>
   1499   LIBS        libraries to pass to the linker, e.g. -l<library>
   1500   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1501               you have headers in a nonstandard directory <include dir>
   1502   CPP         C preprocessor
   1503   PKG_CONFIG  path to pkg-config utility
   1504   PKG_CONFIG_PATH
   1505               directories to add to pkg-config's search path
   1506   PKG_CONFIG_LIBDIR
   1507               path overriding pkg-config's built-in search path
   1508   XMLTO       Path to xmlto command
   1509   FOP         Path to fop command
   1510   XSLTPROC    Path to xsltproc command
   1511 
   1512 Use these variables to override the choices made by `configure' or to help
   1513 it to find libraries and programs with nonstandard names/locations.
   1514 
   1515 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1516 _ACEOF
   1517 ac_status=$?
   1518 fi
   1519 
   1520 if test "$ac_init_help" = "recursive"; then
   1521   # If there are subdirs, report their specific --help.
   1522   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1523     test -d "$ac_dir" ||
   1524       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1525       continue
   1526     ac_builddir=.
   1527 
   1528 case "$ac_dir" in
   1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1530 *)
   1531   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1532   # A ".." for each directory in $ac_dir_suffix.
   1533   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1534   case $ac_top_builddir_sub in
   1535   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1536   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1537   esac ;;
   1538 esac
   1539 ac_abs_top_builddir=$ac_pwd
   1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1541 # for backward compatibility:
   1542 ac_top_builddir=$ac_top_build_prefix
   1543 
   1544 case $srcdir in
   1545   .)  # We are building in place.
   1546     ac_srcdir=.
   1547     ac_top_srcdir=$ac_top_builddir_sub
   1548     ac_abs_top_srcdir=$ac_pwd ;;
   1549   [\\/]* | ?:[\\/]* )  # Absolute name.
   1550     ac_srcdir=$srcdir$ac_dir_suffix;
   1551     ac_top_srcdir=$srcdir
   1552     ac_abs_top_srcdir=$srcdir ;;
   1553   *) # Relative name.
   1554     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1555     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1556     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1557 esac
   1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1559 
   1560     cd "$ac_dir" || { ac_status=$?; continue; }
   1561     # Check for guested configure.
   1562     if test -f "$ac_srcdir/configure.gnu"; then
   1563       echo &&
   1564       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1565     elif test -f "$ac_srcdir/configure"; then
   1566       echo &&
   1567       $SHELL "$ac_srcdir/configure" --help=recursive
   1568     else
   1569       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1570     fi || ac_status=$?
   1571     cd "$ac_pwd" || { ac_status=$?; break; }
   1572   done
   1573 fi
   1574 
   1575 test -n "$ac_init_help" && exit $ac_status
   1576 if $ac_init_version; then
   1577   cat <<\_ACEOF
   1578 xtrans configure 1.3.3
   1579 generated by GNU Autoconf 2.69
   1580 
   1581 Copyright (C) 2012 Free Software Foundation, Inc.
   1582 This configure script is free software; the Free Software Foundation
   1583 gives unlimited permission to copy, distribute and modify it.
   1584 _ACEOF
   1585   exit
   1586 fi
   1587 
   1588 ## ------------------------ ##
   1589 ## Autoconf initialization. ##
   1590 ## ------------------------ ##
   1591 
   1592 # ac_fn_c_try_compile LINENO
   1593 # --------------------------
   1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1595 ac_fn_c_try_compile ()
   1596 {
   1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1598   rm -f conftest.$ac_objext
   1599   if { { ac_try="$ac_compile"
   1600 case "(($ac_try" in
   1601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1602   *) ac_try_echo=$ac_try;;
   1603 esac
   1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1605 $as_echo "$ac_try_echo"; } >&5
   1606   (eval "$ac_compile") 2>conftest.err
   1607   ac_status=$?
   1608   if test -s conftest.err; then
   1609     grep -v '^ *+' conftest.err >conftest.er1
   1610     cat conftest.er1 >&5
   1611     mv -f conftest.er1 conftest.err
   1612   fi
   1613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1614   test $ac_status = 0; } && {
   1615 	 test -z "$ac_c_werror_flag" ||
   1616 	 test ! -s conftest.err
   1617        } && test -s conftest.$ac_objext; then :
   1618   ac_retval=0
   1619 else
   1620   $as_echo "$as_me: failed program was:" >&5
   1621 sed 's/^/| /' conftest.$ac_ext >&5
   1622 
   1623 	ac_retval=1
   1624 fi
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626   as_fn_set_status $ac_retval
   1627 
   1628 } # ac_fn_c_try_compile
   1629 
   1630 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1631 # ---------------------------------------------
   1632 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1633 # accordingly.
   1634 ac_fn_c_check_decl ()
   1635 {
   1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1637   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1638   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1640 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1641 if eval \${$3+:} false; then :
   1642   $as_echo_n "(cached) " >&6
   1643 else
   1644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1645 /* end confdefs.h.  */
   1646 $4
   1647 int
   1648 main ()
   1649 {
   1650 #ifndef $as_decl_name
   1651 #ifdef __cplusplus
   1652   (void) $as_decl_use;
   1653 #else
   1654   (void) $as_decl_name;
   1655 #endif
   1656 #endif
   1657 
   1658   ;
   1659   return 0;
   1660 }
   1661 _ACEOF
   1662 if ac_fn_c_try_compile "$LINENO"; then :
   1663   eval "$3=yes"
   1664 else
   1665   eval "$3=no"
   1666 fi
   1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1668 fi
   1669 eval ac_res=\$$3
   1670 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1671 $as_echo "$ac_res" >&6; }
   1672   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1673 
   1674 } # ac_fn_c_check_decl
   1675 
   1676 # ac_fn_c_try_cpp LINENO
   1677 # ----------------------
   1678 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_cpp ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 $as_echo "$ac_try_echo"; } >&5
   1689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1690   ac_status=$?
   1691   if test -s conftest.err; then
   1692     grep -v '^ *+' conftest.err >conftest.er1
   1693     cat conftest.er1 >&5
   1694     mv -f conftest.er1 conftest.err
   1695   fi
   1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; } > conftest.i && {
   1698 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1699 	 test ! -s conftest.err
   1700        }; then :
   1701   ac_retval=0
   1702 else
   1703   $as_echo "$as_me: failed program was:" >&5
   1704 sed 's/^/| /' conftest.$ac_ext >&5
   1705 
   1706     ac_retval=1
   1707 fi
   1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1709   as_fn_set_status $ac_retval
   1710 
   1711 } # ac_fn_c_try_cpp
   1712 
   1713 # ac_fn_c_try_run LINENO
   1714 # ----------------------
   1715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1716 # that executables *can* be run.
   1717 ac_fn_c_try_run ()
   1718 {
   1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1720   if { { ac_try="$ac_link"
   1721 case "(($ac_try" in
   1722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1723   *) ac_try_echo=$ac_try;;
   1724 esac
   1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1726 $as_echo "$ac_try_echo"; } >&5
   1727   (eval "$ac_link") 2>&5
   1728   ac_status=$?
   1729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1730   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1731   { { case "(($ac_try" in
   1732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1733   *) ac_try_echo=$ac_try;;
   1734 esac
   1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1736 $as_echo "$ac_try_echo"; } >&5
   1737   (eval "$ac_try") 2>&5
   1738   ac_status=$?
   1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1740   test $ac_status = 0; }; }; then :
   1741   ac_retval=0
   1742 else
   1743   $as_echo "$as_me: program exited with status $ac_status" >&5
   1744        $as_echo "$as_me: failed program was:" >&5
   1745 sed 's/^/| /' conftest.$ac_ext >&5
   1746 
   1747        ac_retval=$ac_status
   1748 fi
   1749   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751   as_fn_set_status $ac_retval
   1752 
   1753 } # ac_fn_c_try_run
   1754 
   1755 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1756 # -------------------------------------------------------
   1757 # Tests whether HEADER exists and can be compiled using the include files in
   1758 # INCLUDES, setting the cache variable VAR accordingly.
   1759 ac_fn_c_check_header_compile ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1763 $as_echo_n "checking for $2... " >&6; }
   1764 if eval \${$3+:} false; then :
   1765   $as_echo_n "(cached) " >&6
   1766 else
   1767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1768 /* end confdefs.h.  */
   1769 $4
   1770 #include <$2>
   1771 _ACEOF
   1772 if ac_fn_c_try_compile "$LINENO"; then :
   1773   eval "$3=yes"
   1774 else
   1775   eval "$3=no"
   1776 fi
   1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1778 fi
   1779 eval ac_res=\$$3
   1780 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1781 $as_echo "$ac_res" >&6; }
   1782   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1783 
   1784 } # ac_fn_c_check_header_compile
   1785 
   1786 # ac_fn_c_try_link LINENO
   1787 # -----------------------
   1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1789 ac_fn_c_try_link ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   rm -f conftest.$ac_objext conftest$ac_exeext
   1793   if { { ac_try="$ac_link"
   1794 case "(($ac_try" in
   1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1796   *) ac_try_echo=$ac_try;;
   1797 esac
   1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1799 $as_echo "$ac_try_echo"; } >&5
   1800   (eval "$ac_link") 2>conftest.err
   1801   ac_status=$?
   1802   if test -s conftest.err; then
   1803     grep -v '^ *+' conftest.err >conftest.er1
   1804     cat conftest.er1 >&5
   1805     mv -f conftest.er1 conftest.err
   1806   fi
   1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1808   test $ac_status = 0; } && {
   1809 	 test -z "$ac_c_werror_flag" ||
   1810 	 test ! -s conftest.err
   1811        } && test -s conftest$ac_exeext && {
   1812 	 test "$cross_compiling" = yes ||
   1813 	 test -x conftest$ac_exeext
   1814        }; then :
   1815   ac_retval=0
   1816 else
   1817   $as_echo "$as_me: failed program was:" >&5
   1818 sed 's/^/| /' conftest.$ac_ext >&5
   1819 
   1820 	ac_retval=1
   1821 fi
   1822   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1823   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1824   # interfere with the next link command; also delete a directory that is
   1825   # left behind by Apple's compiler.  We do this before executing the actions.
   1826   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828   as_fn_set_status $ac_retval
   1829 
   1830 } # ac_fn_c_try_link
   1831 
   1832 # ac_fn_c_check_func LINENO FUNC VAR
   1833 # ----------------------------------
   1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1835 ac_fn_c_check_func ()
   1836 {
   1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1839 $as_echo_n "checking for $2... " >&6; }
   1840 if eval \${$3+:} false; then :
   1841   $as_echo_n "(cached) " >&6
   1842 else
   1843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1844 /* end confdefs.h.  */
   1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1847 #define $2 innocuous_$2
   1848 
   1849 /* System header to define __stub macros and hopefully few prototypes,
   1850     which can conflict with char $2 (); below.
   1851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1852     <limits.h> exists even on freestanding compilers.  */
   1853 
   1854 #ifdef __STDC__
   1855 # include <limits.h>
   1856 #else
   1857 # include <assert.h>
   1858 #endif
   1859 
   1860 #undef $2
   1861 
   1862 /* Override any GCC internal prototype to avoid an error.
   1863    Use char because int might match the return type of a GCC
   1864    builtin and then its argument prototype would still apply.  */
   1865 #ifdef __cplusplus
   1866 extern "C"
   1867 #endif
   1868 char $2 ();
   1869 /* The GNU C library defines this for functions which it implements
   1870     to always fail with ENOSYS.  Some functions are actually named
   1871     something starting with __ and the normal name is an alias.  */
   1872 #if defined __stub_$2 || defined __stub___$2
   1873 choke me
   1874 #endif
   1875 
   1876 int
   1877 main ()
   1878 {
   1879 return $2 ();
   1880   ;
   1881   return 0;
   1882 }
   1883 _ACEOF
   1884 if ac_fn_c_try_link "$LINENO"; then :
   1885   eval "$3=yes"
   1886 else
   1887   eval "$3=no"
   1888 fi
   1889 rm -f core conftest.err conftest.$ac_objext \
   1890     conftest$ac_exeext conftest.$ac_ext
   1891 fi
   1892 eval ac_res=\$$3
   1893 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1894 $as_echo "$ac_res" >&6; }
   1895   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1896 
   1897 } # ac_fn_c_check_func
   1898 cat >config.log <<_ACEOF
   1899 This file contains any messages produced by compilers while
   1900 running configure, to aid debugging if configure makes a mistake.
   1901 
   1902 It was created by xtrans $as_me 1.3.3, which was
   1903 generated by GNU Autoconf 2.69.  Invocation command line was
   1904 
   1905   $ $0 $@
   1906 
   1907 _ACEOF
   1908 exec 5>>config.log
   1909 {
   1910 cat <<_ASUNAME
   1911 ## --------- ##
   1912 ## Platform. ##
   1913 ## --------- ##
   1914 
   1915 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1916 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1917 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1918 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1919 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1920 
   1921 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1922 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1923 
   1924 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1925 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1926 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1927 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1928 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1929 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1930 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1931 
   1932 _ASUNAME
   1933 
   1934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1935 for as_dir in $PATH
   1936 do
   1937   IFS=$as_save_IFS
   1938   test -z "$as_dir" && as_dir=.
   1939     $as_echo "PATH: $as_dir"
   1940   done
   1941 IFS=$as_save_IFS
   1942 
   1943 } >&5
   1944 
   1945 cat >&5 <<_ACEOF
   1946 
   1947 
   1948 ## ----------- ##
   1949 ## Core tests. ##
   1950 ## ----------- ##
   1951 
   1952 _ACEOF
   1953 
   1954 
   1955 # Keep a trace of the command line.
   1956 # Strip out --no-create and --no-recursion so they do not pile up.
   1957 # Strip out --silent because we don't want to record it for future runs.
   1958 # Also quote any args containing shell meta-characters.
   1959 # Make two passes to allow for proper duplicate-argument suppression.
   1960 ac_configure_args=
   1961 ac_configure_args0=
   1962 ac_configure_args1=
   1963 ac_must_keep_next=false
   1964 for ac_pass in 1 2
   1965 do
   1966   for ac_arg
   1967   do
   1968     case $ac_arg in
   1969     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1970     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1971     | -silent | --silent | --silen | --sile | --sil)
   1972       continue ;;
   1973     *\'*)
   1974       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1975     esac
   1976     case $ac_pass in
   1977     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1978     2)
   1979       as_fn_append ac_configure_args1 " '$ac_arg'"
   1980       if test $ac_must_keep_next = true; then
   1981 	ac_must_keep_next=false # Got value, back to normal.
   1982       else
   1983 	case $ac_arg in
   1984 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1985 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1986 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1987 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1988 	    case "$ac_configure_args0 " in
   1989 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1990 	    esac
   1991 	    ;;
   1992 	  -* ) ac_must_keep_next=true ;;
   1993 	esac
   1994       fi
   1995       as_fn_append ac_configure_args " '$ac_arg'"
   1996       ;;
   1997     esac
   1998   done
   1999 done
   2000 { ac_configure_args0=; unset ac_configure_args0;}
   2001 { ac_configure_args1=; unset ac_configure_args1;}
   2002 
   2003 # When interrupted or exit'd, cleanup temporary files, and complete
   2004 # config.log.  We remove comments because anyway the quotes in there
   2005 # would cause problems or look ugly.
   2006 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2007 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2008 trap 'exit_status=$?
   2009   # Save into config.log some information that might help in debugging.
   2010   {
   2011     echo
   2012 
   2013     $as_echo "## ---------------- ##
   2014 ## Cache variables. ##
   2015 ## ---------------- ##"
   2016     echo
   2017     # The following way of writing the cache mishandles newlines in values,
   2018 (
   2019   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2020     eval ac_val=\$$ac_var
   2021     case $ac_val in #(
   2022     *${as_nl}*)
   2023       case $ac_var in #(
   2024       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2025 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2026       esac
   2027       case $ac_var in #(
   2028       _ | IFS | as_nl) ;; #(
   2029       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2030       *) { eval $ac_var=; unset $ac_var;} ;;
   2031       esac ;;
   2032     esac
   2033   done
   2034   (set) 2>&1 |
   2035     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2036     *${as_nl}ac_space=\ *)
   2037       sed -n \
   2038 	"s/'\''/'\''\\\\'\'''\''/g;
   2039 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2040       ;; #(
   2041     *)
   2042       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2043       ;;
   2044     esac |
   2045     sort
   2046 )
   2047     echo
   2048 
   2049     $as_echo "## ----------------- ##
   2050 ## Output variables. ##
   2051 ## ----------------- ##"
   2052     echo
   2053     for ac_var in $ac_subst_vars
   2054     do
   2055       eval ac_val=\$$ac_var
   2056       case $ac_val in
   2057       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2058       esac
   2059       $as_echo "$ac_var='\''$ac_val'\''"
   2060     done | sort
   2061     echo
   2062 
   2063     if test -n "$ac_subst_files"; then
   2064       $as_echo "## ------------------- ##
   2065 ## File substitutions. ##
   2066 ## ------------------- ##"
   2067       echo
   2068       for ac_var in $ac_subst_files
   2069       do
   2070 	eval ac_val=\$$ac_var
   2071 	case $ac_val in
   2072 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2073 	esac
   2074 	$as_echo "$ac_var='\''$ac_val'\''"
   2075       done | sort
   2076       echo
   2077     fi
   2078 
   2079     if test -s confdefs.h; then
   2080       $as_echo "## ----------- ##
   2081 ## confdefs.h. ##
   2082 ## ----------- ##"
   2083       echo
   2084       cat confdefs.h
   2085       echo
   2086     fi
   2087     test "$ac_signal" != 0 &&
   2088       $as_echo "$as_me: caught signal $ac_signal"
   2089     $as_echo "$as_me: exit $exit_status"
   2090   } >&5
   2091   rm -f core *.core core.conftest.* &&
   2092     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2093     exit $exit_status
   2094 ' 0
   2095 for ac_signal in 1 2 13 15; do
   2096   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2097 done
   2098 ac_signal=0
   2099 
   2100 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2101 rm -f -r conftest* confdefs.h
   2102 
   2103 $as_echo "/* confdefs.h */" > confdefs.h
   2104 
   2105 # Predefined preprocessor variables.
   2106 
   2107 cat >>confdefs.h <<_ACEOF
   2108 #define PACKAGE_NAME "$PACKAGE_NAME"
   2109 _ACEOF
   2110 
   2111 cat >>confdefs.h <<_ACEOF
   2112 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2113 _ACEOF
   2114 
   2115 cat >>confdefs.h <<_ACEOF
   2116 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2117 _ACEOF
   2118 
   2119 cat >>confdefs.h <<_ACEOF
   2120 #define PACKAGE_STRING "$PACKAGE_STRING"
   2121 _ACEOF
   2122 
   2123 cat >>confdefs.h <<_ACEOF
   2124 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2125 _ACEOF
   2126 
   2127 cat >>confdefs.h <<_ACEOF
   2128 #define PACKAGE_URL "$PACKAGE_URL"
   2129 _ACEOF
   2130 
   2131 
   2132 # Let the site file select an alternate cache file if it wants to.
   2133 # Prefer an explicitly selected file to automatically selected ones.
   2134 ac_site_file1=NONE
   2135 ac_site_file2=NONE
   2136 if test -n "$CONFIG_SITE"; then
   2137   # We do not want a PATH search for config.site.
   2138   case $CONFIG_SITE in #((
   2139     -*)  ac_site_file1=./$CONFIG_SITE;;
   2140     */*) ac_site_file1=$CONFIG_SITE;;
   2141     *)   ac_site_file1=./$CONFIG_SITE;;
   2142   esac
   2143 elif test "x$prefix" != xNONE; then
   2144   ac_site_file1=$prefix/share/config.site
   2145   ac_site_file2=$prefix/etc/config.site
   2146 else
   2147   ac_site_file1=$ac_default_prefix/share/config.site
   2148   ac_site_file2=$ac_default_prefix/etc/config.site
   2149 fi
   2150 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2151 do
   2152   test "x$ac_site_file" = xNONE && continue
   2153   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2154     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2155 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2156     sed 's/^/| /' "$ac_site_file" >&5
   2157     . "$ac_site_file" \
   2158       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2160 as_fn_error $? "failed to load site script $ac_site_file
   2161 See \`config.log' for more details" "$LINENO" 5; }
   2162   fi
   2163 done
   2164 
   2165 if test -r "$cache_file"; then
   2166   # Some versions of bash will fail to source /dev/null (special files
   2167   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2168   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2169     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2170 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2171     case $cache_file in
   2172       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2173       *)                      . "./$cache_file";;
   2174     esac
   2175   fi
   2176 else
   2177   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2178 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2179   >$cache_file
   2180 fi
   2181 
   2182 # Check that the precious variables saved in the cache have kept the same
   2183 # value.
   2184 ac_cache_corrupted=false
   2185 for ac_var in $ac_precious_vars; do
   2186   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2187   eval ac_new_set=\$ac_env_${ac_var}_set
   2188   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2189   eval ac_new_val=\$ac_env_${ac_var}_value
   2190   case $ac_old_set,$ac_new_set in
   2191     set,)
   2192       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2193 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2194       ac_cache_corrupted=: ;;
   2195     ,set)
   2196       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2197 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2198       ac_cache_corrupted=: ;;
   2199     ,);;
   2200     *)
   2201       if test "x$ac_old_val" != "x$ac_new_val"; then
   2202 	# differences in whitespace do not lead to failure.
   2203 	ac_old_val_w=`echo x $ac_old_val`
   2204 	ac_new_val_w=`echo x $ac_new_val`
   2205 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2206 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2207 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2208 	  ac_cache_corrupted=:
   2209 	else
   2210 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2211 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2212 	  eval $ac_var=\$ac_old_val
   2213 	fi
   2214 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2215 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2216 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2217 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2218       fi;;
   2219   esac
   2220   # Pass precious variables to config.status.
   2221   if test "$ac_new_set" = set; then
   2222     case $ac_new_val in
   2223     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2224     *) ac_arg=$ac_var=$ac_new_val ;;
   2225     esac
   2226     case " $ac_configure_args " in
   2227       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2228       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2229     esac
   2230   fi
   2231 done
   2232 if $ac_cache_corrupted; then
   2233   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2235   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2236 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2237   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2238 fi
   2239 ## -------------------- ##
   2240 ## Main body of script. ##
   2241 ## -------------------- ##
   2242 
   2243 ac_ext=c
   2244 ac_cpp='$CPP $CPPFLAGS'
   2245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2248 
   2249 
   2250 
   2251 
   2252 # Initialize Automake
   2253 am__api_version='1.13'
   2254 
   2255 ac_aux_dir=
   2256 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2257   if test -f "$ac_dir/install-sh"; then
   2258     ac_aux_dir=$ac_dir
   2259     ac_install_sh="$ac_aux_dir/install-sh -c"
   2260     break
   2261   elif test -f "$ac_dir/install.sh"; then
   2262     ac_aux_dir=$ac_dir
   2263     ac_install_sh="$ac_aux_dir/install.sh -c"
   2264     break
   2265   elif test -f "$ac_dir/shtool"; then
   2266     ac_aux_dir=$ac_dir
   2267     ac_install_sh="$ac_aux_dir/shtool install -c"
   2268     break
   2269   fi
   2270 done
   2271 if test -z "$ac_aux_dir"; then
   2272   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2273 fi
   2274 
   2275 # These three variables are undocumented and unsupported,
   2276 # and are intended to be withdrawn in a future Autoconf release.
   2277 # They can cause serious problems if a builder's source tree is in a directory
   2278 # whose full name contains unusual characters.
   2279 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2280 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2281 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2282 
   2283 
   2284 # Find a good install program.  We prefer a C program (faster),
   2285 # so one script is as good as another.  But avoid the broken or
   2286 # incompatible versions:
   2287 # SysV /etc/install, /usr/sbin/install
   2288 # SunOS /usr/etc/install
   2289 # IRIX /sbin/install
   2290 # AIX /bin/install
   2291 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2295 # OS/2's system install, which has a completely different semantic
   2296 # ./install, which can be erroneously created by make from ./install.sh.
   2297 # Reject install programs that cannot install multiple files.
   2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2299 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2300 if test -z "$INSTALL"; then
   2301 if ${ac_cv_path_install+:} false; then :
   2302   $as_echo_n "(cached) " >&6
   2303 else
   2304   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2305 for as_dir in $PATH
   2306 do
   2307   IFS=$as_save_IFS
   2308   test -z "$as_dir" && as_dir=.
   2309     # Account for people who put trailing slashes in PATH elements.
   2310 case $as_dir/ in #((
   2311   ./ | .// | /[cC]/* | \
   2312   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2313   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2314   /usr/ucb/* ) ;;
   2315   *)
   2316     # OSF1 and SCO ODT 3.0 have their own names for install.
   2317     # Don't use installbsd from OSF since it installs stuff as root
   2318     # by default.
   2319     for ac_prog in ginstall scoinst install; do
   2320       for ac_exec_ext in '' $ac_executable_extensions; do
   2321 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2322 	  if test $ac_prog = install &&
   2323 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2324 	    # AIX install.  It has an incompatible calling convention.
   2325 	    :
   2326 	  elif test $ac_prog = install &&
   2327 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2328 	    # program-specific install script used by HP pwplus--don't use.
   2329 	    :
   2330 	  else
   2331 	    rm -rf conftest.one conftest.two conftest.dir
   2332 	    echo one > conftest.one
   2333 	    echo two > conftest.two
   2334 	    mkdir conftest.dir
   2335 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2336 	      test -s conftest.one && test -s conftest.two &&
   2337 	      test -s conftest.dir/conftest.one &&
   2338 	      test -s conftest.dir/conftest.two
   2339 	    then
   2340 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2341 	      break 3
   2342 	    fi
   2343 	  fi
   2344 	fi
   2345       done
   2346     done
   2347     ;;
   2348 esac
   2349 
   2350   done
   2351 IFS=$as_save_IFS
   2352 
   2353 rm -rf conftest.one conftest.two conftest.dir
   2354 
   2355 fi
   2356   if test "${ac_cv_path_install+set}" = set; then
   2357     INSTALL=$ac_cv_path_install
   2358   else
   2359     # As a last resort, use the slow shell script.  Don't cache a
   2360     # value for INSTALL within a source directory, because that will
   2361     # break other packages using the cache if that directory is
   2362     # removed, or if the value is a relative name.
   2363     INSTALL=$ac_install_sh
   2364   fi
   2365 fi
   2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2367 $as_echo "$INSTALL" >&6; }
   2368 
   2369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2370 # It thinks the first close brace ends the variable substitution.
   2371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2372 
   2373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2374 
   2375 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2376 
   2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2378 $as_echo_n "checking whether build environment is sane... " >&6; }
   2379 # Reject unsafe characters in $srcdir or the absolute working directory
   2380 # name.  Accept space and tab only in the latter.
   2381 am_lf='
   2382 '
   2383 case `pwd` in
   2384   *[\\\"\#\$\&\'\`$am_lf]*)
   2385     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2386 esac
   2387 case $srcdir in
   2388   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2389     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2390 esac
   2391 
   2392 # Do 'set' in a subshell so we don't clobber the current shell's
   2393 # arguments.  Must try -L first in case configure is actually a
   2394 # symlink; some systems play weird games with the mod time of symlinks
   2395 # (eg FreeBSD returns the mod time of the symlink's containing
   2396 # directory).
   2397 if (
   2398    am_has_slept=no
   2399    for am_try in 1 2; do
   2400      echo "timestamp, slept: $am_has_slept" > conftest.file
   2401      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2402      if test "$*" = "X"; then
   2403 	# -L didn't work.
   2404 	set X `ls -t "$srcdir/configure" conftest.file`
   2405      fi
   2406      if test "$*" != "X $srcdir/configure conftest.file" \
   2407 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2408 
   2409 	# If neither matched, then we have a broken ls.  This can happen
   2410 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2411 	# broken ls alias from the environment.  This has actually
   2412 	# happened.  Such a system could not be considered "sane".
   2413 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2414   alias in your environment" "$LINENO" 5
   2415      fi
   2416      if test "$2" = conftest.file || test $am_try -eq 2; then
   2417        break
   2418      fi
   2419      # Just in case.
   2420      sleep 1
   2421      am_has_slept=yes
   2422    done
   2423    test "$2" = conftest.file
   2424    )
   2425 then
   2426    # Ok.
   2427    :
   2428 else
   2429    as_fn_error $? "newly created file is older than distributed files!
   2430 Check your system clock" "$LINENO" 5
   2431 fi
   2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2433 $as_echo "yes" >&6; }
   2434 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2435 # generated files are strictly newer.
   2436 am_sleep_pid=
   2437 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2438   ( sleep 1 ) &
   2439   am_sleep_pid=$!
   2440 fi
   2441 
   2442 rm -f conftest.file
   2443 
   2444 test "$program_prefix" != NONE &&
   2445   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2446 # Use a double $ so make ignores it.
   2447 test "$program_suffix" != NONE &&
   2448   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2449 # Double any \ or $.
   2450 # By default was `s,x,x', remove it if useless.
   2451 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2452 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2453 
   2454 # expand $ac_aux_dir to an absolute path
   2455 am_aux_dir=`cd $ac_aux_dir && pwd`
   2456 
   2457 if test x"${MISSING+set}" != xset; then
   2458   case $am_aux_dir in
   2459   *\ * | *\	*)
   2460     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2461   *)
   2462     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2463   esac
   2464 fi
   2465 # Use eval to expand $SHELL
   2466 if eval "$MISSING --is-lightweight"; then
   2467   am_missing_run="$MISSING "
   2468 else
   2469   am_missing_run=
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2471 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2472 fi
   2473 
   2474 if test x"${install_sh}" != xset; then
   2475   case $am_aux_dir in
   2476   *\ * | *\	*)
   2477     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2478   *)
   2479     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2480   esac
   2481 fi
   2482 
   2483 # Installed binaries are usually stripped using 'strip' when the user
   2484 # run "make install-strip".  However 'strip' might not be the right
   2485 # tool to use in cross-compilation environments, therefore Automake
   2486 # will honor the 'STRIP' environment variable to overrule this program.
   2487 if test "$cross_compiling" != no; then
   2488   if test -n "$ac_tool_prefix"; then
   2489   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2490 set dummy ${ac_tool_prefix}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_STRIP+:} false; then :
   2494   $as_echo_n "(cached) " >&6
   2495 else
   2496   if test -n "$STRIP"; then
   2497   ac_cv_prog_STRIP="$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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2506     ac_cv_prog_STRIP="${ac_tool_prefix}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 STRIP=$ac_cv_prog_STRIP
   2517 if test -n "$STRIP"; then
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2519 $as_echo "$STRIP" >&6; }
   2520 else
   2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523 fi
   2524 
   2525 
   2526 fi
   2527 if test -z "$ac_cv_prog_STRIP"; then
   2528   ac_ct_STRIP=$STRIP
   2529   # Extract the first word of "strip", so it can be a program name with args.
   2530 set dummy strip; ac_word=$2
   2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2532 $as_echo_n "checking for $ac_word... " >&6; }
   2533 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2534   $as_echo_n "(cached) " >&6
   2535 else
   2536   if test -n "$ac_ct_STRIP"; then
   2537   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2538 else
   2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2540 for as_dir in $PATH
   2541 do
   2542   IFS=$as_save_IFS
   2543   test -z "$as_dir" && as_dir=.
   2544     for ac_exec_ext in '' $ac_executable_extensions; do
   2545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2546     ac_cv_prog_ac_ct_STRIP="strip"
   2547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2548     break 2
   2549   fi
   2550 done
   2551   done
   2552 IFS=$as_save_IFS
   2553 
   2554 fi
   2555 fi
   2556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2557 if test -n "$ac_ct_STRIP"; then
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2559 $as_echo "$ac_ct_STRIP" >&6; }
   2560 else
   2561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2562 $as_echo "no" >&6; }
   2563 fi
   2564 
   2565   if test "x$ac_ct_STRIP" = x; then
   2566     STRIP=":"
   2567   else
   2568     case $cross_compiling:$ac_tool_warned in
   2569 yes:)
   2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2572 ac_tool_warned=yes ;;
   2573 esac
   2574     STRIP=$ac_ct_STRIP
   2575   fi
   2576 else
   2577   STRIP="$ac_cv_prog_STRIP"
   2578 fi
   2579 
   2580 fi
   2581 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2582 
   2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2584 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2585 if test -z "$MKDIR_P"; then
   2586   if ${ac_cv_path_mkdir+:} false; then :
   2587   $as_echo_n "(cached) " >&6
   2588 else
   2589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2591 do
   2592   IFS=$as_save_IFS
   2593   test -z "$as_dir" && as_dir=.
   2594     for ac_prog in mkdir gmkdir; do
   2595 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2596 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2597 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2598 	     'mkdir (GNU coreutils) '* | \
   2599 	     'mkdir (coreutils) '* | \
   2600 	     'mkdir (fileutils) '4.1*)
   2601 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2602 	       break 3;;
   2603 	   esac
   2604 	 done
   2605        done
   2606   done
   2607 IFS=$as_save_IFS
   2608 
   2609 fi
   2610 
   2611   test -d ./--version && rmdir ./--version
   2612   if test "${ac_cv_path_mkdir+set}" = set; then
   2613     MKDIR_P="$ac_cv_path_mkdir -p"
   2614   else
   2615     # As a last resort, use the slow shell script.  Don't cache a
   2616     # value for MKDIR_P within a source directory, because that will
   2617     # break other packages using the cache if that directory is
   2618     # removed, or if the value is a relative name.
   2619     MKDIR_P="$ac_install_sh -d"
   2620   fi
   2621 fi
   2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2623 $as_echo "$MKDIR_P" >&6; }
   2624 
   2625 for ac_prog in gawk mawk nawk awk
   2626 do
   2627   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2628 set dummy $ac_prog; ac_word=$2
   2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2630 $as_echo_n "checking for $ac_word... " >&6; }
   2631 if ${ac_cv_prog_AWK+:} false; then :
   2632   $as_echo_n "(cached) " >&6
   2633 else
   2634   if test -n "$AWK"; then
   2635   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2636 else
   2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2638 for as_dir in $PATH
   2639 do
   2640   IFS=$as_save_IFS
   2641   test -z "$as_dir" && as_dir=.
   2642     for ac_exec_ext in '' $ac_executable_extensions; do
   2643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2644     ac_cv_prog_AWK="$ac_prog"
   2645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2646     break 2
   2647   fi
   2648 done
   2649   done
   2650 IFS=$as_save_IFS
   2651 
   2652 fi
   2653 fi
   2654 AWK=$ac_cv_prog_AWK
   2655 if test -n "$AWK"; then
   2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2657 $as_echo "$AWK" >&6; }
   2658 else
   2659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2660 $as_echo "no" >&6; }
   2661 fi
   2662 
   2663 
   2664   test -n "$AWK" && break
   2665 done
   2666 
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2668 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2669 set x ${MAKE-make}
   2670 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2671 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2672   $as_echo_n "(cached) " >&6
   2673 else
   2674   cat >conftest.make <<\_ACEOF
   2675 SHELL = /bin/sh
   2676 all:
   2677 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2678 _ACEOF
   2679 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2680 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2681   *@@@%%%=?*=@@@%%%*)
   2682     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2683   *)
   2684     eval ac_cv_prog_make_${ac_make}_set=no;;
   2685 esac
   2686 rm -f conftest.make
   2687 fi
   2688 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2690 $as_echo "yes" >&6; }
   2691   SET_MAKE=
   2692 else
   2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2694 $as_echo "no" >&6; }
   2695   SET_MAKE="MAKE=${MAKE-make}"
   2696 fi
   2697 
   2698 rm -rf .tst 2>/dev/null
   2699 mkdir .tst 2>/dev/null
   2700 if test -d .tst; then
   2701   am__leading_dot=.
   2702 else
   2703   am__leading_dot=_
   2704 fi
   2705 rmdir .tst 2>/dev/null
   2706 
   2707 # Check whether --enable-silent-rules was given.
   2708 if test "${enable_silent_rules+set}" = set; then :
   2709   enableval=$enable_silent_rules;
   2710 fi
   2711 
   2712 case $enable_silent_rules in # (((
   2713   yes) AM_DEFAULT_VERBOSITY=0;;
   2714    no) AM_DEFAULT_VERBOSITY=1;;
   2715     *) AM_DEFAULT_VERBOSITY=1;;
   2716 esac
   2717 am_make=${MAKE-make}
   2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2719 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2720 if ${am_cv_make_support_nested_variables+:} false; then :
   2721   $as_echo_n "(cached) " >&6
   2722 else
   2723   if $as_echo 'TRUE=$(BAR$(V))
   2724 BAR0=false
   2725 BAR1=true
   2726 V=1
   2727 am__doit:
   2728 	@$(TRUE)
   2729 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2730   am_cv_make_support_nested_variables=yes
   2731 else
   2732   am_cv_make_support_nested_variables=no
   2733 fi
   2734 fi
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2736 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2737 if test $am_cv_make_support_nested_variables = yes; then
   2738     AM_V='$(V)'
   2739   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2740 else
   2741   AM_V=$AM_DEFAULT_VERBOSITY
   2742   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2743 fi
   2744 AM_BACKSLASH='\'
   2745 
   2746 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2747   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2748   # is not polluted with repeated "-I."
   2749   am__isrc=' -I$(srcdir)'
   2750   # test to see if srcdir already configured
   2751   if test -f $srcdir/config.status; then
   2752     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2753   fi
   2754 fi
   2755 
   2756 # test whether we have cygpath
   2757 if test -z "$CYGPATH_W"; then
   2758   if (cygpath --version) >/dev/null 2>/dev/null; then
   2759     CYGPATH_W='cygpath -w'
   2760   else
   2761     CYGPATH_W=echo
   2762   fi
   2763 fi
   2764 
   2765 
   2766 # Define the identity of the package.
   2767  PACKAGE='xtrans'
   2768  VERSION='1.3.3'
   2769 
   2770 
   2771 cat >>confdefs.h <<_ACEOF
   2772 #define PACKAGE "$PACKAGE"
   2773 _ACEOF
   2774 
   2775 
   2776 cat >>confdefs.h <<_ACEOF
   2777 #define VERSION "$VERSION"
   2778 _ACEOF
   2779 
   2780 # Some tools Automake needs.
   2781 
   2782 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2783 
   2784 
   2785 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2786 
   2787 
   2788 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2789 
   2790 
   2791 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2792 
   2793 
   2794 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2795 
   2796 # For better backward compatibility.  To be removed once Automake 1.9.x
   2797 # dies out for good.  For more background, see:
   2798 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2799 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2800 mkdir_p='$(MKDIR_P)'
   2801 
   2802 # We need awk for the "check" target.  The system "awk" is bad on
   2803 # some platforms.
   2804 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2805 # in the wild :-(  We should find a proper way to deprecate it ...
   2806 AMTAR='$${TAR-tar}'
   2807 
   2808 
   2809 # We'll loop over all known methods to create a tar archive until one works.
   2810 _am_tools='gnutar  pax cpio none'
   2811 
   2812 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 # Require xorg-macros minimum of 1.12 for DocBook external references
   2821 
   2822 
   2823 
   2824 
   2825 
   2826 
   2827 
   2828 
   2829 
   2830 
   2831 
   2832 DEPDIR="${am__leading_dot}deps"
   2833 
   2834 ac_config_commands="$ac_config_commands depfiles"
   2835 
   2836 
   2837 am_make=${MAKE-make}
   2838 cat > confinc << 'END'
   2839 am__doit:
   2840 	@echo this is the am__doit target
   2841 .PHONY: am__doit
   2842 END
   2843 # If we don't find an include directive, just comment out the code.
   2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2845 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2846 am__include="#"
   2847 am__quote=
   2848 _am_result=none
   2849 # First try GNU make style include.
   2850 echo "include confinc" > confmf
   2851 # Ignore all kinds of additional output from 'make'.
   2852 case `$am_make -s -f confmf 2> /dev/null` in #(
   2853 *the\ am__doit\ target*)
   2854   am__include=include
   2855   am__quote=
   2856   _am_result=GNU
   2857   ;;
   2858 esac
   2859 # Now try BSD make style include.
   2860 if test "$am__include" = "#"; then
   2861    echo '.include "confinc"' > confmf
   2862    case `$am_make -s -f confmf 2> /dev/null` in #(
   2863    *the\ am__doit\ target*)
   2864      am__include=.include
   2865      am__quote="\""
   2866      _am_result=BSD
   2867      ;;
   2868    esac
   2869 fi
   2870 
   2871 
   2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2873 $as_echo "$_am_result" >&6; }
   2874 rm -f confinc confmf
   2875 
   2876 # Check whether --enable-dependency-tracking was given.
   2877 if test "${enable_dependency_tracking+set}" = set; then :
   2878   enableval=$enable_dependency_tracking;
   2879 fi
   2880 
   2881 if test "x$enable_dependency_tracking" != xno; then
   2882   am_depcomp="$ac_aux_dir/depcomp"
   2883   AMDEPBACKSLASH='\'
   2884   am__nodep='_no'
   2885 fi
   2886  if test "x$enable_dependency_tracking" != xno; then
   2887   AMDEP_TRUE=
   2888   AMDEP_FALSE='#'
   2889 else
   2890   AMDEP_TRUE='#'
   2891   AMDEP_FALSE=
   2892 fi
   2893 
   2894 
   2895 ac_ext=c
   2896 ac_cpp='$CPP $CPPFLAGS'
   2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2900 if test -n "$ac_tool_prefix"; then
   2901   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2904 $as_echo_n "checking for $ac_word... " >&6; }
   2905 if ${ac_cv_prog_CC+:} false; then :
   2906   $as_echo_n "(cached) " >&6
   2907 else
   2908   if test -n "$CC"; then
   2909   ac_cv_prog_CC="$CC" # Let the user override the test.
   2910 else
   2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2912 for as_dir in $PATH
   2913 do
   2914   IFS=$as_save_IFS
   2915   test -z "$as_dir" && as_dir=.
   2916     for ac_exec_ext in '' $ac_executable_extensions; do
   2917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2918     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2920     break 2
   2921   fi
   2922 done
   2923   done
   2924 IFS=$as_save_IFS
   2925 
   2926 fi
   2927 fi
   2928 CC=$ac_cv_prog_CC
   2929 if test -n "$CC"; then
   2930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2931 $as_echo "$CC" >&6; }
   2932 else
   2933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2934 $as_echo "no" >&6; }
   2935 fi
   2936 
   2937 
   2938 fi
   2939 if test -z "$ac_cv_prog_CC"; then
   2940   ac_ct_CC=$CC
   2941   # Extract the first word of "gcc", so it can be a program name with args.
   2942 set dummy gcc; ac_word=$2
   2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2944 $as_echo_n "checking for $ac_word... " >&6; }
   2945 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2946   $as_echo_n "(cached) " >&6
   2947 else
   2948   if test -n "$ac_ct_CC"; then
   2949   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2950 else
   2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2952 for as_dir in $PATH
   2953 do
   2954   IFS=$as_save_IFS
   2955   test -z "$as_dir" && as_dir=.
   2956     for ac_exec_ext in '' $ac_executable_extensions; do
   2957   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2958     ac_cv_prog_ac_ct_CC="gcc"
   2959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2960     break 2
   2961   fi
   2962 done
   2963   done
   2964 IFS=$as_save_IFS
   2965 
   2966 fi
   2967 fi
   2968 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2969 if test -n "$ac_ct_CC"; then
   2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2971 $as_echo "$ac_ct_CC" >&6; }
   2972 else
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2974 $as_echo "no" >&6; }
   2975 fi
   2976 
   2977   if test "x$ac_ct_CC" = x; then
   2978     CC=""
   2979   else
   2980     case $cross_compiling:$ac_tool_warned in
   2981 yes:)
   2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2984 ac_tool_warned=yes ;;
   2985 esac
   2986     CC=$ac_ct_CC
   2987   fi
   2988 else
   2989   CC="$ac_cv_prog_CC"
   2990 fi
   2991 
   2992 if test -z "$CC"; then
   2993           if test -n "$ac_tool_prefix"; then
   2994     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2995 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2997 $as_echo_n "checking for $ac_word... " >&6; }
   2998 if ${ac_cv_prog_CC+:} false; then :
   2999   $as_echo_n "(cached) " >&6
   3000 else
   3001   if test -n "$CC"; then
   3002   ac_cv_prog_CC="$CC" # Let the user override the test.
   3003 else
   3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3005 for as_dir in $PATH
   3006 do
   3007   IFS=$as_save_IFS
   3008   test -z "$as_dir" && as_dir=.
   3009     for ac_exec_ext in '' $ac_executable_extensions; do
   3010   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3011     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3013     break 2
   3014   fi
   3015 done
   3016   done
   3017 IFS=$as_save_IFS
   3018 
   3019 fi
   3020 fi
   3021 CC=$ac_cv_prog_CC
   3022 if test -n "$CC"; then
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3024 $as_echo "$CC" >&6; }
   3025 else
   3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3027 $as_echo "no" >&6; }
   3028 fi
   3029 
   3030 
   3031   fi
   3032 fi
   3033 if test -z "$CC"; then
   3034   # Extract the first word of "cc", so it can be a program name with args.
   3035 set dummy cc; ac_word=$2
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3037 $as_echo_n "checking for $ac_word... " >&6; }
   3038 if ${ac_cv_prog_CC+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$CC"; then
   3042   ac_cv_prog_CC="$CC" # Let the user override the test.
   3043 else
   3044   ac_prog_rejected=no
   3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3046 for as_dir in $PATH
   3047 do
   3048   IFS=$as_save_IFS
   3049   test -z "$as_dir" && as_dir=.
   3050     for ac_exec_ext in '' $ac_executable_extensions; do
   3051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3052     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3053        ac_prog_rejected=yes
   3054        continue
   3055      fi
   3056     ac_cv_prog_CC="cc"
   3057     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3058     break 2
   3059   fi
   3060 done
   3061   done
   3062 IFS=$as_save_IFS
   3063 
   3064 if test $ac_prog_rejected = yes; then
   3065   # We found a bogon in the path, so make sure we never use it.
   3066   set dummy $ac_cv_prog_CC
   3067   shift
   3068   if test $# != 0; then
   3069     # We chose a different compiler from the bogus one.
   3070     # However, it has the same basename, so the bogon will be chosen
   3071     # first if we set CC to just the basename; use the full file name.
   3072     shift
   3073     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3074   fi
   3075 fi
   3076 fi
   3077 fi
   3078 CC=$ac_cv_prog_CC
   3079 if test -n "$CC"; then
   3080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3081 $as_echo "$CC" >&6; }
   3082 else
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3084 $as_echo "no" >&6; }
   3085 fi
   3086 
   3087 
   3088 fi
   3089 if test -z "$CC"; then
   3090   if test -n "$ac_tool_prefix"; then
   3091   for ac_prog in cl.exe
   3092   do
   3093     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3096 $as_echo_n "checking for $ac_word... " >&6; }
   3097 if ${ac_cv_prog_CC+:} false; then :
   3098   $as_echo_n "(cached) " >&6
   3099 else
   3100   if test -n "$CC"; then
   3101   ac_cv_prog_CC="$CC" # Let the user override the test.
   3102 else
   3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3104 for as_dir in $PATH
   3105 do
   3106   IFS=$as_save_IFS
   3107   test -z "$as_dir" && as_dir=.
   3108     for ac_exec_ext in '' $ac_executable_extensions; do
   3109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3110     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3112     break 2
   3113   fi
   3114 done
   3115   done
   3116 IFS=$as_save_IFS
   3117 
   3118 fi
   3119 fi
   3120 CC=$ac_cv_prog_CC
   3121 if test -n "$CC"; then
   3122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3123 $as_echo "$CC" >&6; }
   3124 else
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3126 $as_echo "no" >&6; }
   3127 fi
   3128 
   3129 
   3130     test -n "$CC" && break
   3131   done
   3132 fi
   3133 if test -z "$CC"; then
   3134   ac_ct_CC=$CC
   3135   for ac_prog in cl.exe
   3136 do
   3137   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3138 set dummy $ac_prog; ac_word=$2
   3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3140 $as_echo_n "checking for $ac_word... " >&6; }
   3141 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3142   $as_echo_n "(cached) " >&6
   3143 else
   3144   if test -n "$ac_ct_CC"; then
   3145   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3146 else
   3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3148 for as_dir in $PATH
   3149 do
   3150   IFS=$as_save_IFS
   3151   test -z "$as_dir" && as_dir=.
   3152     for ac_exec_ext in '' $ac_executable_extensions; do
   3153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3154     ac_cv_prog_ac_ct_CC="$ac_prog"
   3155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3156     break 2
   3157   fi
   3158 done
   3159   done
   3160 IFS=$as_save_IFS
   3161 
   3162 fi
   3163 fi
   3164 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3165 if test -n "$ac_ct_CC"; then
   3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3167 $as_echo "$ac_ct_CC" >&6; }
   3168 else
   3169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3170 $as_echo "no" >&6; }
   3171 fi
   3172 
   3173 
   3174   test -n "$ac_ct_CC" && break
   3175 done
   3176 
   3177   if test "x$ac_ct_CC" = x; then
   3178     CC=""
   3179   else
   3180     case $cross_compiling:$ac_tool_warned in
   3181 yes:)
   3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3184 ac_tool_warned=yes ;;
   3185 esac
   3186     CC=$ac_ct_CC
   3187   fi
   3188 fi
   3189 
   3190 fi
   3191 
   3192 
   3193 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3195 as_fn_error $? "no acceptable C compiler found in \$PATH
   3196 See \`config.log' for more details" "$LINENO" 5; }
   3197 
   3198 # Provide some information about the compiler.
   3199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3200 set X $ac_compile
   3201 ac_compiler=$2
   3202 for ac_option in --version -v -V -qversion; do
   3203   { { ac_try="$ac_compiler $ac_option >&5"
   3204 case "(($ac_try" in
   3205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3206   *) ac_try_echo=$ac_try;;
   3207 esac
   3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3209 $as_echo "$ac_try_echo"; } >&5
   3210   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3211   ac_status=$?
   3212   if test -s conftest.err; then
   3213     sed '10a\
   3214 ... rest of stderr output deleted ...
   3215          10q' conftest.err >conftest.er1
   3216     cat conftest.er1 >&5
   3217   fi
   3218   rm -f conftest.er1 conftest.err
   3219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3220   test $ac_status = 0; }
   3221 done
   3222 
   3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3224 /* end confdefs.h.  */
   3225 
   3226 int
   3227 main ()
   3228 {
   3229 
   3230   ;
   3231   return 0;
   3232 }
   3233 _ACEOF
   3234 ac_clean_files_save=$ac_clean_files
   3235 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3236 # Try to create an executable without -o first, disregard a.out.
   3237 # It will help us diagnose broken compilers, and finding out an intuition
   3238 # of exeext.
   3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3240 $as_echo_n "checking whether the C compiler works... " >&6; }
   3241 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3242 
   3243 # The possible output files:
   3244 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3245 
   3246 ac_rmfiles=
   3247 for ac_file in $ac_files
   3248 do
   3249   case $ac_file in
   3250     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3251     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3252   esac
   3253 done
   3254 rm -f $ac_rmfiles
   3255 
   3256 if { { ac_try="$ac_link_default"
   3257 case "(($ac_try" in
   3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3259   *) ac_try_echo=$ac_try;;
   3260 esac
   3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3262 $as_echo "$ac_try_echo"; } >&5
   3263   (eval "$ac_link_default") 2>&5
   3264   ac_status=$?
   3265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3266   test $ac_status = 0; }; then :
   3267   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3268 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3269 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3270 # so that the user can short-circuit this test for compilers unknown to
   3271 # Autoconf.
   3272 for ac_file in $ac_files ''
   3273 do
   3274   test -f "$ac_file" || continue
   3275   case $ac_file in
   3276     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3277 	;;
   3278     [ab].out )
   3279 	# We found the default executable, but exeext='' is most
   3280 	# certainly right.
   3281 	break;;
   3282     *.* )
   3283 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3284 	then :; else
   3285 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3286 	fi
   3287 	# We set ac_cv_exeext here because the later test for it is not
   3288 	# safe: cross compilers may not add the suffix if given an `-o'
   3289 	# argument, so we may need to know it at that point already.
   3290 	# Even if this section looks crufty: it has the advantage of
   3291 	# actually working.
   3292 	break;;
   3293     * )
   3294 	break;;
   3295   esac
   3296 done
   3297 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3298 
   3299 else
   3300   ac_file=''
   3301 fi
   3302 if test -z "$ac_file"; then :
   3303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3304 $as_echo "no" >&6; }
   3305 $as_echo "$as_me: failed program was:" >&5
   3306 sed 's/^/| /' conftest.$ac_ext >&5
   3307 
   3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3310 as_fn_error 77 "C compiler cannot create executables
   3311 See \`config.log' for more details" "$LINENO" 5; }
   3312 else
   3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3314 $as_echo "yes" >&6; }
   3315 fi
   3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3317 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3319 $as_echo "$ac_file" >&6; }
   3320 ac_exeext=$ac_cv_exeext
   3321 
   3322 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3323 ac_clean_files=$ac_clean_files_save
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3325 $as_echo_n "checking for suffix of executables... " >&6; }
   3326 if { { ac_try="$ac_link"
   3327 case "(($ac_try" in
   3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3329   *) ac_try_echo=$ac_try;;
   3330 esac
   3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3332 $as_echo "$ac_try_echo"; } >&5
   3333   (eval "$ac_link") 2>&5
   3334   ac_status=$?
   3335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3336   test $ac_status = 0; }; then :
   3337   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3338 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3340 # `rm'.
   3341 for ac_file in conftest.exe conftest conftest.*; do
   3342   test -f "$ac_file" || continue
   3343   case $ac_file in
   3344     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3345     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3346 	  break;;
   3347     * ) break;;
   3348   esac
   3349 done
   3350 else
   3351   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3353 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3354 See \`config.log' for more details" "$LINENO" 5; }
   3355 fi
   3356 rm -f conftest conftest$ac_cv_exeext
   3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3358 $as_echo "$ac_cv_exeext" >&6; }
   3359 
   3360 rm -f conftest.$ac_ext
   3361 EXEEXT=$ac_cv_exeext
   3362 ac_exeext=$EXEEXT
   3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3364 /* end confdefs.h.  */
   3365 #include <stdio.h>
   3366 int
   3367 main ()
   3368 {
   3369 FILE *f = fopen ("conftest.out", "w");
   3370  return ferror (f) || fclose (f) != 0;
   3371 
   3372   ;
   3373   return 0;
   3374 }
   3375 _ACEOF
   3376 ac_clean_files="$ac_clean_files conftest.out"
   3377 # Check that the compiler produces executables we can run.  If not, either
   3378 # the compiler is broken, or we cross compile.
   3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3381 if test "$cross_compiling" != yes; then
   3382   { { ac_try="$ac_link"
   3383 case "(($ac_try" in
   3384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3385   *) ac_try_echo=$ac_try;;
   3386 esac
   3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3388 $as_echo "$ac_try_echo"; } >&5
   3389   (eval "$ac_link") 2>&5
   3390   ac_status=$?
   3391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3392   test $ac_status = 0; }
   3393   if { ac_try='./conftest$ac_cv_exeext'
   3394   { { case "(($ac_try" in
   3395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3396   *) ac_try_echo=$ac_try;;
   3397 esac
   3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3399 $as_echo "$ac_try_echo"; } >&5
   3400   (eval "$ac_try") 2>&5
   3401   ac_status=$?
   3402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3403   test $ac_status = 0; }; }; then
   3404     cross_compiling=no
   3405   else
   3406     if test "$cross_compiling" = maybe; then
   3407 	cross_compiling=yes
   3408     else
   3409 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3411 as_fn_error $? "cannot run C compiled programs.
   3412 If you meant to cross compile, use \`--host'.
   3413 See \`config.log' for more details" "$LINENO" 5; }
   3414     fi
   3415   fi
   3416 fi
   3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3418 $as_echo "$cross_compiling" >&6; }
   3419 
   3420 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3421 ac_clean_files=$ac_clean_files_save
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3423 $as_echo_n "checking for suffix of object files... " >&6; }
   3424 if ${ac_cv_objext+:} false; then :
   3425   $as_echo_n "(cached) " >&6
   3426 else
   3427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3428 /* end confdefs.h.  */
   3429 
   3430 int
   3431 main ()
   3432 {
   3433 
   3434   ;
   3435   return 0;
   3436 }
   3437 _ACEOF
   3438 rm -f conftest.o conftest.obj
   3439 if { { ac_try="$ac_compile"
   3440 case "(($ac_try" in
   3441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3442   *) ac_try_echo=$ac_try;;
   3443 esac
   3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3445 $as_echo "$ac_try_echo"; } >&5
   3446   (eval "$ac_compile") 2>&5
   3447   ac_status=$?
   3448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3449   test $ac_status = 0; }; then :
   3450   for ac_file in conftest.o conftest.obj conftest.*; do
   3451   test -f "$ac_file" || continue;
   3452   case $ac_file in
   3453     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3454     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3455        break;;
   3456   esac
   3457 done
   3458 else
   3459   $as_echo "$as_me: failed program was:" >&5
   3460 sed 's/^/| /' conftest.$ac_ext >&5
   3461 
   3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3464 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3465 See \`config.log' for more details" "$LINENO" 5; }
   3466 fi
   3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3470 $as_echo "$ac_cv_objext" >&6; }
   3471 OBJEXT=$ac_cv_objext
   3472 ac_objext=$OBJEXT
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3475 if ${ac_cv_c_compiler_gnu+:} false; then :
   3476   $as_echo_n "(cached) " >&6
   3477 else
   3478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3479 /* end confdefs.h.  */
   3480 
   3481 int
   3482 main ()
   3483 {
   3484 #ifndef __GNUC__
   3485        choke me
   3486 #endif
   3487 
   3488   ;
   3489   return 0;
   3490 }
   3491 _ACEOF
   3492 if ac_fn_c_try_compile "$LINENO"; then :
   3493   ac_compiler_gnu=yes
   3494 else
   3495   ac_compiler_gnu=no
   3496 fi
   3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3499 
   3500 fi
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3503 if test $ac_compiler_gnu = yes; then
   3504   GCC=yes
   3505 else
   3506   GCC=
   3507 fi
   3508 ac_test_CFLAGS=${CFLAGS+set}
   3509 ac_save_CFLAGS=$CFLAGS
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3512 if ${ac_cv_prog_cc_g+:} false; then :
   3513   $as_echo_n "(cached) " >&6
   3514 else
   3515   ac_save_c_werror_flag=$ac_c_werror_flag
   3516    ac_c_werror_flag=yes
   3517    ac_cv_prog_cc_g=no
   3518    CFLAGS="-g"
   3519    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3520 /* end confdefs.h.  */
   3521 
   3522 int
   3523 main ()
   3524 {
   3525 
   3526   ;
   3527   return 0;
   3528 }
   3529 _ACEOF
   3530 if ac_fn_c_try_compile "$LINENO"; then :
   3531   ac_cv_prog_cc_g=yes
   3532 else
   3533   CFLAGS=""
   3534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 
   3537 int
   3538 main ()
   3539 {
   3540 
   3541   ;
   3542   return 0;
   3543 }
   3544 _ACEOF
   3545 if ac_fn_c_try_compile "$LINENO"; then :
   3546 
   3547 else
   3548   ac_c_werror_flag=$ac_save_c_werror_flag
   3549 	 CFLAGS="-g"
   3550 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3551 /* end confdefs.h.  */
   3552 
   3553 int
   3554 main ()
   3555 {
   3556 
   3557   ;
   3558   return 0;
   3559 }
   3560 _ACEOF
   3561 if ac_fn_c_try_compile "$LINENO"; then :
   3562   ac_cv_prog_cc_g=yes
   3563 fi
   3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3565 fi
   3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3567 fi
   3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3569    ac_c_werror_flag=$ac_save_c_werror_flag
   3570 fi
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3572 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3573 if test "$ac_test_CFLAGS" = set; then
   3574   CFLAGS=$ac_save_CFLAGS
   3575 elif test $ac_cv_prog_cc_g = yes; then
   3576   if test "$GCC" = yes; then
   3577     CFLAGS="-g -O2"
   3578   else
   3579     CFLAGS="-g"
   3580   fi
   3581 else
   3582   if test "$GCC" = yes; then
   3583     CFLAGS="-O2"
   3584   else
   3585     CFLAGS=
   3586   fi
   3587 fi
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3590 if ${ac_cv_prog_cc_c89+:} false; then :
   3591   $as_echo_n "(cached) " >&6
   3592 else
   3593   ac_cv_prog_cc_c89=no
   3594 ac_save_CC=$CC
   3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 #include <stdarg.h>
   3598 #include <stdio.h>
   3599 struct stat;
   3600 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3601 struct buf { int x; };
   3602 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3603 static char *e (p, i)
   3604      char **p;
   3605      int i;
   3606 {
   3607   return p[i];
   3608 }
   3609 static char *f (char * (*g) (char **, int), char **p, ...)
   3610 {
   3611   char *s;
   3612   va_list v;
   3613   va_start (v,p);
   3614   s = g (p, va_arg (v,int));
   3615   va_end (v);
   3616   return s;
   3617 }
   3618 
   3619 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3620    function prototypes and stuff, but not '\xHH' hex character constants.
   3621    These don't provoke an error unfortunately, instead are silently treated
   3622    as 'x'.  The following induces an error, until -std is added to get
   3623    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3624    array size at least.  It's necessary to write '\x00'==0 to get something
   3625    that's true only with -std.  */
   3626 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3627 
   3628 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3629    inside strings and character constants.  */
   3630 #define FOO(x) 'x'
   3631 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3632 
   3633 int test (int i, double x);
   3634 struct s1 {int (*f) (int a);};
   3635 struct s2 {int (*f) (double a);};
   3636 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3637 int argc;
   3638 char **argv;
   3639 int
   3640 main ()
   3641 {
   3642 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3643   ;
   3644   return 0;
   3645 }
   3646 _ACEOF
   3647 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3648 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3649 do
   3650   CC="$ac_save_CC $ac_arg"
   3651   if ac_fn_c_try_compile "$LINENO"; then :
   3652   ac_cv_prog_cc_c89=$ac_arg
   3653 fi
   3654 rm -f core conftest.err conftest.$ac_objext
   3655   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3656 done
   3657 rm -f conftest.$ac_ext
   3658 CC=$ac_save_CC
   3659 
   3660 fi
   3661 # AC_CACHE_VAL
   3662 case "x$ac_cv_prog_cc_c89" in
   3663   x)
   3664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3665 $as_echo "none needed" >&6; } ;;
   3666   xno)
   3667     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3668 $as_echo "unsupported" >&6; } ;;
   3669   *)
   3670     CC="$CC $ac_cv_prog_cc_c89"
   3671     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3672 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3673 esac
   3674 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3675 
   3676 fi
   3677 
   3678 ac_ext=c
   3679 ac_cpp='$CPP $CPPFLAGS'
   3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3683 
   3684 depcc="$CC"   am_compiler_list=
   3685 
   3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3687 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3688 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3689   $as_echo_n "(cached) " >&6
   3690 else
   3691   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3692   # We make a subdir and do the tests there.  Otherwise we can end up
   3693   # making bogus files that we don't know about and never remove.  For
   3694   # instance it was reported that on HP-UX the gcc test will end up
   3695   # making a dummy file named 'D' -- because '-MD' means "put the output
   3696   # in D".
   3697   rm -rf conftest.dir
   3698   mkdir conftest.dir
   3699   # Copy depcomp to subdir because otherwise we won't find it if we're
   3700   # using a relative directory.
   3701   cp "$am_depcomp" conftest.dir
   3702   cd conftest.dir
   3703   # We will build objects and dependencies in a subdirectory because
   3704   # it helps to detect inapplicable dependency modes.  For instance
   3705   # both Tru64's cc and ICC support -MD to output dependencies as a
   3706   # side effect of compilation, but ICC will put the dependencies in
   3707   # the current directory while Tru64 will put them in the object
   3708   # directory.
   3709   mkdir sub
   3710 
   3711   am_cv_CC_dependencies_compiler_type=none
   3712   if test "$am_compiler_list" = ""; then
   3713      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3714   fi
   3715   am__universal=false
   3716   case " $depcc " in #(
   3717      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3718      esac
   3719 
   3720   for depmode in $am_compiler_list; do
   3721     # Setup a source with many dependencies, because some compilers
   3722     # like to wrap large dependency lists on column 80 (with \), and
   3723     # we should not choose a depcomp mode which is confused by this.
   3724     #
   3725     # We need to recreate these files for each test, as the compiler may
   3726     # overwrite some of them when testing with obscure command lines.
   3727     # This happens at least with the AIX C compiler.
   3728     : > sub/conftest.c
   3729     for i in 1 2 3 4 5 6; do
   3730       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3731       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3732       # Solaris 10 /bin/sh.
   3733       echo '/* dummy */' > sub/conftst$i.h
   3734     done
   3735     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3736 
   3737     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3738     # mode.  It turns out that the SunPro C++ compiler does not properly
   3739     # handle '-M -o', and we need to detect this.  Also, some Intel
   3740     # versions had trouble with output in subdirs.
   3741     am__obj=sub/conftest.${OBJEXT-o}
   3742     am__minus_obj="-o $am__obj"
   3743     case $depmode in
   3744     gcc)
   3745       # This depmode causes a compiler race in universal mode.
   3746       test "$am__universal" = false || continue
   3747       ;;
   3748     nosideeffect)
   3749       # After this tag, mechanisms are not by side-effect, so they'll
   3750       # only be used when explicitly requested.
   3751       if test "x$enable_dependency_tracking" = xyes; then
   3752 	continue
   3753       else
   3754 	break
   3755       fi
   3756       ;;
   3757     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3758       # This compiler won't grok '-c -o', but also, the minuso test has
   3759       # not run yet.  These depmodes are late enough in the game, and
   3760       # so weak that their functioning should not be impacted.
   3761       am__obj=conftest.${OBJEXT-o}
   3762       am__minus_obj=
   3763       ;;
   3764     none) break ;;
   3765     esac
   3766     if depmode=$depmode \
   3767        source=sub/conftest.c object=$am__obj \
   3768        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3769        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3770          >/dev/null 2>conftest.err &&
   3771        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3772        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3773        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3774        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3775       # icc doesn't choke on unknown options, it will just issue warnings
   3776       # or remarks (even with -Werror).  So we grep stderr for any message
   3777       # that says an option was ignored or not supported.
   3778       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3779       #   icc: Command line warning: ignoring option '-M'; no argument required
   3780       # The diagnosis changed in icc 8.0:
   3781       #   icc: Command line remark: option '-MP' not supported
   3782       if (grep 'ignoring option' conftest.err ||
   3783           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3784         am_cv_CC_dependencies_compiler_type=$depmode
   3785         break
   3786       fi
   3787     fi
   3788   done
   3789 
   3790   cd ..
   3791   rm -rf conftest.dir
   3792 else
   3793   am_cv_CC_dependencies_compiler_type=none
   3794 fi
   3795 
   3796 fi
   3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3798 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3799 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3800 
   3801  if
   3802   test "x$enable_dependency_tracking" != xno \
   3803   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3804   am__fastdepCC_TRUE=
   3805   am__fastdepCC_FALSE='#'
   3806 else
   3807   am__fastdepCC_TRUE='#'
   3808   am__fastdepCC_FALSE=
   3809 fi
   3810 
   3811 
   3812    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3813 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3814 if ${ac_cv_prog_cc_c99+:} false; then :
   3815   $as_echo_n "(cached) " >&6
   3816 else
   3817   ac_cv_prog_cc_c99=no
   3818 ac_save_CC=$CC
   3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3820 /* end confdefs.h.  */
   3821 #include <stdarg.h>
   3822 #include <stdbool.h>
   3823 #include <stdlib.h>
   3824 #include <wchar.h>
   3825 #include <stdio.h>
   3826 
   3827 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3828 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3829 #define showlist(...) puts (#__VA_ARGS__)
   3830 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3831 static void
   3832 test_varargs_macros (void)
   3833 {
   3834   int x = 1234;
   3835   int y = 5678;
   3836   debug ("Flag");
   3837   debug ("X = %d\n", x);
   3838   showlist (The first, second, and third items.);
   3839   report (x>y, "x is %d but y is %d", x, y);
   3840 }
   3841 
   3842 // Check long long types.
   3843 #define BIG64 18446744073709551615ull
   3844 #define BIG32 4294967295ul
   3845 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3846 #if !BIG_OK
   3847   your preprocessor is broken;
   3848 #endif
   3849 #if BIG_OK
   3850 #else
   3851   your preprocessor is broken;
   3852 #endif
   3853 static long long int bignum = -9223372036854775807LL;
   3854 static unsigned long long int ubignum = BIG64;
   3855 
   3856 struct incomplete_array
   3857 {
   3858   int datasize;
   3859   double data[];
   3860 };
   3861 
   3862 struct named_init {
   3863   int number;
   3864   const wchar_t *name;
   3865   double average;
   3866 };
   3867 
   3868 typedef const char *ccp;
   3869 
   3870 static inline int
   3871 test_restrict (ccp restrict text)
   3872 {
   3873   // See if C++-style comments work.
   3874   // Iterate through items via the restricted pointer.
   3875   // Also check for declarations in for loops.
   3876   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3877     continue;
   3878   return 0;
   3879 }
   3880 
   3881 // Check varargs and va_copy.
   3882 static void
   3883 test_varargs (const char *format, ...)
   3884 {
   3885   va_list args;
   3886   va_start (args, format);
   3887   va_list args_copy;
   3888   va_copy (args_copy, args);
   3889 
   3890   const char *str;
   3891   int number;
   3892   float fnumber;
   3893 
   3894   while (*format)
   3895     {
   3896       switch (*format++)
   3897 	{
   3898 	case 's': // string
   3899 	  str = va_arg (args_copy, const char *);
   3900 	  break;
   3901 	case 'd': // int
   3902 	  number = va_arg (args_copy, int);
   3903 	  break;
   3904 	case 'f': // float
   3905 	  fnumber = va_arg (args_copy, double);
   3906 	  break;
   3907 	default:
   3908 	  break;
   3909 	}
   3910     }
   3911   va_end (args_copy);
   3912   va_end (args);
   3913 }
   3914 
   3915 int
   3916 main ()
   3917 {
   3918 
   3919   // Check bool.
   3920   _Bool success = false;
   3921 
   3922   // Check restrict.
   3923   if (test_restrict ("String literal") == 0)
   3924     success = true;
   3925   char *restrict newvar = "Another string";
   3926 
   3927   // Check varargs.
   3928   test_varargs ("s, d' f .", "string", 65, 34.234);
   3929   test_varargs_macros ();
   3930 
   3931   // Check flexible array members.
   3932   struct incomplete_array *ia =
   3933     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3934   ia->datasize = 10;
   3935   for (int i = 0; i < ia->datasize; ++i)
   3936     ia->data[i] = i * 1.234;
   3937 
   3938   // Check named initializers.
   3939   struct named_init ni = {
   3940     .number = 34,
   3941     .name = L"Test wide string",
   3942     .average = 543.34343,
   3943   };
   3944 
   3945   ni.number = 58;
   3946 
   3947   int dynamic_array[ni.number];
   3948   dynamic_array[ni.number - 1] = 543;
   3949 
   3950   // work around unused variable warnings
   3951   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3952 	  || dynamic_array[ni.number - 1] != 543);
   3953 
   3954   ;
   3955   return 0;
   3956 }
   3957 _ACEOF
   3958 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3959 do
   3960   CC="$ac_save_CC $ac_arg"
   3961   if ac_fn_c_try_compile "$LINENO"; then :
   3962   ac_cv_prog_cc_c99=$ac_arg
   3963 fi
   3964 rm -f core conftest.err conftest.$ac_objext
   3965   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3966 done
   3967 rm -f conftest.$ac_ext
   3968 CC=$ac_save_CC
   3969 
   3970 fi
   3971 # AC_CACHE_VAL
   3972 case "x$ac_cv_prog_cc_c99" in
   3973   x)
   3974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3975 $as_echo "none needed" >&6; } ;;
   3976   xno)
   3977     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3978 $as_echo "unsupported" >&6; } ;;
   3979   *)
   3980     CC="$CC $ac_cv_prog_cc_c99"
   3981     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3982 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3983 esac
   3984 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3985 
   3986 fi
   3987 
   3988 
   3989 
   3990 ac_ext=c
   3991 ac_cpp='$CPP $CPPFLAGS'
   3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3996 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3997 # On Suns, sometimes $CPP names a directory.
   3998 if test -n "$CPP" && test -d "$CPP"; then
   3999   CPP=
   4000 fi
   4001 if test -z "$CPP"; then
   4002   if ${ac_cv_prog_CPP+:} false; then :
   4003   $as_echo_n "(cached) " >&6
   4004 else
   4005       # Double quotes because CPP needs to be expanded
   4006     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4007     do
   4008       ac_preproc_ok=false
   4009 for ac_c_preproc_warn_flag in '' yes
   4010 do
   4011   # Use a header file that comes with gcc, so configuring glibc
   4012   # with a fresh cross-compiler works.
   4013   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4014   # <limits.h> exists even on freestanding compilers.
   4015   # On the NeXT, cc -E runs the code through the compiler's parser,
   4016   # not just through cpp. "Syntax error" is here to catch this case.
   4017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4018 /* end confdefs.h.  */
   4019 #ifdef __STDC__
   4020 # include <limits.h>
   4021 #else
   4022 # include <assert.h>
   4023 #endif
   4024 		     Syntax error
   4025 _ACEOF
   4026 if ac_fn_c_try_cpp "$LINENO"; then :
   4027 
   4028 else
   4029   # Broken: fails on valid input.
   4030 continue
   4031 fi
   4032 rm -f conftest.err conftest.i conftest.$ac_ext
   4033 
   4034   # OK, works on sane cases.  Now check whether nonexistent headers
   4035   # can be detected and how.
   4036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4037 /* end confdefs.h.  */
   4038 #include <ac_nonexistent.h>
   4039 _ACEOF
   4040 if ac_fn_c_try_cpp "$LINENO"; then :
   4041   # Broken: success on invalid input.
   4042 continue
   4043 else
   4044   # Passes both tests.
   4045 ac_preproc_ok=:
   4046 break
   4047 fi
   4048 rm -f conftest.err conftest.i conftest.$ac_ext
   4049 
   4050 done
   4051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4052 rm -f conftest.i conftest.err conftest.$ac_ext
   4053 if $ac_preproc_ok; then :
   4054   break
   4055 fi
   4056 
   4057     done
   4058     ac_cv_prog_CPP=$CPP
   4059 
   4060 fi
   4061   CPP=$ac_cv_prog_CPP
   4062 else
   4063   ac_cv_prog_CPP=$CPP
   4064 fi
   4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4066 $as_echo "$CPP" >&6; }
   4067 ac_preproc_ok=false
   4068 for ac_c_preproc_warn_flag in '' yes
   4069 do
   4070   # Use a header file that comes with gcc, so configuring glibc
   4071   # with a fresh cross-compiler works.
   4072   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4073   # <limits.h> exists even on freestanding compilers.
   4074   # On the NeXT, cc -E runs the code through the compiler's parser,
   4075   # not just through cpp. "Syntax error" is here to catch this case.
   4076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4077 /* end confdefs.h.  */
   4078 #ifdef __STDC__
   4079 # include <limits.h>
   4080 #else
   4081 # include <assert.h>
   4082 #endif
   4083 		     Syntax error
   4084 _ACEOF
   4085 if ac_fn_c_try_cpp "$LINENO"; then :
   4086 
   4087 else
   4088   # Broken: fails on valid input.
   4089 continue
   4090 fi
   4091 rm -f conftest.err conftest.i conftest.$ac_ext
   4092 
   4093   # OK, works on sane cases.  Now check whether nonexistent headers
   4094   # can be detected and how.
   4095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4096 /* end confdefs.h.  */
   4097 #include <ac_nonexistent.h>
   4098 _ACEOF
   4099 if ac_fn_c_try_cpp "$LINENO"; then :
   4100   # Broken: success on invalid input.
   4101 continue
   4102 else
   4103   # Passes both tests.
   4104 ac_preproc_ok=:
   4105 break
   4106 fi
   4107 rm -f conftest.err conftest.i conftest.$ac_ext
   4108 
   4109 done
   4110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4111 rm -f conftest.i conftest.err conftest.$ac_ext
   4112 if $ac_preproc_ok; then :
   4113 
   4114 else
   4115   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4117 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4118 See \`config.log' for more details" "$LINENO" 5; }
   4119 fi
   4120 
   4121 ac_ext=c
   4122 ac_cpp='$CPP $CPPFLAGS'
   4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4126 
   4127 
   4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4129 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4130 if ${ac_cv_path_GREP+:} false; then :
   4131   $as_echo_n "(cached) " >&6
   4132 else
   4133   if test -z "$GREP"; then
   4134   ac_path_GREP_found=false
   4135   # Loop through the user's path and test for each of PROGNAME-LIST
   4136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4138 do
   4139   IFS=$as_save_IFS
   4140   test -z "$as_dir" && as_dir=.
   4141     for ac_prog in grep ggrep; do
   4142     for ac_exec_ext in '' $ac_executable_extensions; do
   4143       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4144       as_fn_executable_p "$ac_path_GREP" || continue
   4145 # Check for GNU ac_path_GREP and select it if it is found.
   4146   # Check for GNU $ac_path_GREP
   4147 case `"$ac_path_GREP" --version 2>&1` in
   4148 *GNU*)
   4149   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4150 *)
   4151   ac_count=0
   4152   $as_echo_n 0123456789 >"conftest.in"
   4153   while :
   4154   do
   4155     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4156     mv "conftest.tmp" "conftest.in"
   4157     cp "conftest.in" "conftest.nl"
   4158     $as_echo 'GREP' >> "conftest.nl"
   4159     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4160     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4161     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4162     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4163       # Best one so far, save it but keep looking for a better one
   4164       ac_cv_path_GREP="$ac_path_GREP"
   4165       ac_path_GREP_max=$ac_count
   4166     fi
   4167     # 10*(2^10) chars as input seems more than enough
   4168     test $ac_count -gt 10 && break
   4169   done
   4170   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4171 esac
   4172 
   4173       $ac_path_GREP_found && break 3
   4174     done
   4175   done
   4176   done
   4177 IFS=$as_save_IFS
   4178   if test -z "$ac_cv_path_GREP"; then
   4179     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4180   fi
   4181 else
   4182   ac_cv_path_GREP=$GREP
   4183 fi
   4184 
   4185 fi
   4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4187 $as_echo "$ac_cv_path_GREP" >&6; }
   4188  GREP="$ac_cv_path_GREP"
   4189 
   4190 
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4192 $as_echo_n "checking for egrep... " >&6; }
   4193 if ${ac_cv_path_EGREP+:} false; then :
   4194   $as_echo_n "(cached) " >&6
   4195 else
   4196   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4197    then ac_cv_path_EGREP="$GREP -E"
   4198    else
   4199      if test -z "$EGREP"; then
   4200   ac_path_EGREP_found=false
   4201   # Loop through the user's path and test for each of PROGNAME-LIST
   4202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4204 do
   4205   IFS=$as_save_IFS
   4206   test -z "$as_dir" && as_dir=.
   4207     for ac_prog in egrep; do
   4208     for ac_exec_ext in '' $ac_executable_extensions; do
   4209       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4210       as_fn_executable_p "$ac_path_EGREP" || continue
   4211 # Check for GNU ac_path_EGREP and select it if it is found.
   4212   # Check for GNU $ac_path_EGREP
   4213 case `"$ac_path_EGREP" --version 2>&1` in
   4214 *GNU*)
   4215   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4216 *)
   4217   ac_count=0
   4218   $as_echo_n 0123456789 >"conftest.in"
   4219   while :
   4220   do
   4221     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4222     mv "conftest.tmp" "conftest.in"
   4223     cp "conftest.in" "conftest.nl"
   4224     $as_echo 'EGREP' >> "conftest.nl"
   4225     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4226     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4227     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4228     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4229       # Best one so far, save it but keep looking for a better one
   4230       ac_cv_path_EGREP="$ac_path_EGREP"
   4231       ac_path_EGREP_max=$ac_count
   4232     fi
   4233     # 10*(2^10) chars as input seems more than enough
   4234     test $ac_count -gt 10 && break
   4235   done
   4236   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4237 esac
   4238 
   4239       $ac_path_EGREP_found && break 3
   4240     done
   4241   done
   4242   done
   4243 IFS=$as_save_IFS
   4244   if test -z "$ac_cv_path_EGREP"; then
   4245     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4246   fi
   4247 else
   4248   ac_cv_path_EGREP=$EGREP
   4249 fi
   4250 
   4251    fi
   4252 fi
   4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4254 $as_echo "$ac_cv_path_EGREP" >&6; }
   4255  EGREP="$ac_cv_path_EGREP"
   4256 
   4257 
   4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4259 $as_echo_n "checking for ANSI C header files... " >&6; }
   4260 if ${ac_cv_header_stdc+:} false; then :
   4261   $as_echo_n "(cached) " >&6
   4262 else
   4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 #include <stdlib.h>
   4266 #include <stdarg.h>
   4267 #include <string.h>
   4268 #include <float.h>
   4269 
   4270 int
   4271 main ()
   4272 {
   4273 
   4274   ;
   4275   return 0;
   4276 }
   4277 _ACEOF
   4278 if ac_fn_c_try_compile "$LINENO"; then :
   4279   ac_cv_header_stdc=yes
   4280 else
   4281   ac_cv_header_stdc=no
   4282 fi
   4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4284 
   4285 if test $ac_cv_header_stdc = yes; then
   4286   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4288 /* end confdefs.h.  */
   4289 #include <string.h>
   4290 
   4291 _ACEOF
   4292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4293   $EGREP "memchr" >/dev/null 2>&1; then :
   4294 
   4295 else
   4296   ac_cv_header_stdc=no
   4297 fi
   4298 rm -f conftest*
   4299 
   4300 fi
   4301 
   4302 if test $ac_cv_header_stdc = yes; then
   4303   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4305 /* end confdefs.h.  */
   4306 #include <stdlib.h>
   4307 
   4308 _ACEOF
   4309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4310   $EGREP "free" >/dev/null 2>&1; then :
   4311 
   4312 else
   4313   ac_cv_header_stdc=no
   4314 fi
   4315 rm -f conftest*
   4316 
   4317 fi
   4318 
   4319 if test $ac_cv_header_stdc = yes; then
   4320   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4321   if test "$cross_compiling" = yes; then :
   4322   :
   4323 else
   4324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4325 /* end confdefs.h.  */
   4326 #include <ctype.h>
   4327 #include <stdlib.h>
   4328 #if ((' ' & 0x0FF) == 0x020)
   4329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4331 #else
   4332 # define ISLOWER(c) \
   4333 		   (('a' <= (c) && (c) <= 'i') \
   4334 		     || ('j' <= (c) && (c) <= 'r') \
   4335 		     || ('s' <= (c) && (c) <= 'z'))
   4336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4337 #endif
   4338 
   4339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4340 int
   4341 main ()
   4342 {
   4343   int i;
   4344   for (i = 0; i < 256; i++)
   4345     if (XOR (islower (i), ISLOWER (i))
   4346 	|| toupper (i) != TOUPPER (i))
   4347       return 2;
   4348   return 0;
   4349 }
   4350 _ACEOF
   4351 if ac_fn_c_try_run "$LINENO"; then :
   4352 
   4353 else
   4354   ac_cv_header_stdc=no
   4355 fi
   4356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4357   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4358 fi
   4359 
   4360 fi
   4361 fi
   4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4363 $as_echo "$ac_cv_header_stdc" >&6; }
   4364 if test $ac_cv_header_stdc = yes; then
   4365 
   4366 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4367 
   4368 fi
   4369 
   4370 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4371 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4372 		  inttypes.h stdint.h unistd.h
   4373 do :
   4374   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4375 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4376 "
   4377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4378   cat >>confdefs.h <<_ACEOF
   4379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4380 _ACEOF
   4381 
   4382 fi
   4383 
   4384 done
   4385 
   4386 
   4387 
   4388 
   4389 
   4390 
   4391 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4392 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4393   CLANGCC="yes"
   4394 else
   4395   CLANGCC="no"
   4396 fi
   4397 
   4398 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4399 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4400   INTELCC="yes"
   4401 else
   4402   INTELCC="no"
   4403 fi
   4404 
   4405 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4406 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4407   SUNCC="yes"
   4408 else
   4409   SUNCC="no"
   4410 fi
   4411 
   4412 
   4413 
   4414 
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4421 	if test -n "$ac_tool_prefix"; then
   4422   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4423 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4425 $as_echo_n "checking for $ac_word... " >&6; }
   4426 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4427   $as_echo_n "(cached) " >&6
   4428 else
   4429   case $PKG_CONFIG in
   4430   [\\/]* | ?:[\\/]*)
   4431   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4432   ;;
   4433   *)
   4434   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4435 for as_dir in $PATH
   4436 do
   4437   IFS=$as_save_IFS
   4438   test -z "$as_dir" && as_dir=.
   4439     for ac_exec_ext in '' $ac_executable_extensions; do
   4440   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4441     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4443     break 2
   4444   fi
   4445 done
   4446   done
   4447 IFS=$as_save_IFS
   4448 
   4449   ;;
   4450 esac
   4451 fi
   4452 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4453 if test -n "$PKG_CONFIG"; then
   4454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4455 $as_echo "$PKG_CONFIG" >&6; }
   4456 else
   4457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4458 $as_echo "no" >&6; }
   4459 fi
   4460 
   4461 
   4462 fi
   4463 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4464   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4465   # Extract the first word of "pkg-config", so it can be a program name with args.
   4466 set dummy pkg-config; ac_word=$2
   4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4468 $as_echo_n "checking for $ac_word... " >&6; }
   4469 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4470   $as_echo_n "(cached) " >&6
   4471 else
   4472   case $ac_pt_PKG_CONFIG in
   4473   [\\/]* | ?:[\\/]*)
   4474   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4475   ;;
   4476   *)
   4477   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4478 for as_dir in $PATH
   4479 do
   4480   IFS=$as_save_IFS
   4481   test -z "$as_dir" && as_dir=.
   4482     for ac_exec_ext in '' $ac_executable_extensions; do
   4483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4484     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4486     break 2
   4487   fi
   4488 done
   4489   done
   4490 IFS=$as_save_IFS
   4491 
   4492   ;;
   4493 esac
   4494 fi
   4495 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4496 if test -n "$ac_pt_PKG_CONFIG"; then
   4497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4498 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4499 else
   4500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4501 $as_echo "no" >&6; }
   4502 fi
   4503 
   4504   if test "x$ac_pt_PKG_CONFIG" = x; then
   4505     PKG_CONFIG=""
   4506   else
   4507     case $cross_compiling:$ac_tool_warned in
   4508 yes:)
   4509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4511 ac_tool_warned=yes ;;
   4512 esac
   4513     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4514   fi
   4515 else
   4516   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4517 fi
   4518 
   4519 fi
   4520 if test -n "$PKG_CONFIG"; then
   4521 	_pkg_min_version=0.9.0
   4522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4523 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4524 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4526 $as_echo "yes" >&6; }
   4527 	else
   4528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4529 $as_echo "no" >&6; }
   4530 		PKG_CONFIG=""
   4531 	fi
   4532 fi
   4533 # Make sure we can run config.sub.
   4534 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4535   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4536 
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4538 $as_echo_n "checking build system type... " >&6; }
   4539 if ${ac_cv_build+:} false; then :
   4540   $as_echo_n "(cached) " >&6
   4541 else
   4542   ac_build_alias=$build_alias
   4543 test "x$ac_build_alias" = x &&
   4544   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4545 test "x$ac_build_alias" = x &&
   4546   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4547 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4548   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4549 
   4550 fi
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4552 $as_echo "$ac_cv_build" >&6; }
   4553 case $ac_cv_build in
   4554 *-*-*) ;;
   4555 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4556 esac
   4557 build=$ac_cv_build
   4558 ac_save_IFS=$IFS; IFS='-'
   4559 set x $ac_cv_build
   4560 shift
   4561 build_cpu=$1
   4562 build_vendor=$2
   4563 shift; shift
   4564 # Remember, the first character of IFS is used to create $*,
   4565 # except with old shells:
   4566 build_os=$*
   4567 IFS=$ac_save_IFS
   4568 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4569 
   4570 
   4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4572 $as_echo_n "checking host system type... " >&6; }
   4573 if ${ac_cv_host+:} false; then :
   4574   $as_echo_n "(cached) " >&6
   4575 else
   4576   if test "x$host_alias" = x; then
   4577   ac_cv_host=$ac_cv_build
   4578 else
   4579   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4580     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4581 fi
   4582 
   4583 fi
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4585 $as_echo "$ac_cv_host" >&6; }
   4586 case $ac_cv_host in
   4587 *-*-*) ;;
   4588 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4589 esac
   4590 host=$ac_cv_host
   4591 ac_save_IFS=$IFS; IFS='-'
   4592 set x $ac_cv_host
   4593 shift
   4594 host_cpu=$1
   4595 host_vendor=$2
   4596 shift; shift
   4597 # Remember, the first character of IFS is used to create $*,
   4598 # except with old shells:
   4599 host_os=$*
   4600 IFS=$ac_save_IFS
   4601 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4602 
   4603 
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4605 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4606 if ${ac_cv_path_SED+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4610      for ac_i in 1 2 3 4 5 6 7; do
   4611        ac_script="$ac_script$as_nl$ac_script"
   4612      done
   4613      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4614      { ac_script=; unset ac_script;}
   4615      if test -z "$SED"; then
   4616   ac_path_SED_found=false
   4617   # Loop through the user's path and test for each of PROGNAME-LIST
   4618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4619 for as_dir in $PATH
   4620 do
   4621   IFS=$as_save_IFS
   4622   test -z "$as_dir" && as_dir=.
   4623     for ac_prog in sed gsed; do
   4624     for ac_exec_ext in '' $ac_executable_extensions; do
   4625       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4626       as_fn_executable_p "$ac_path_SED" || continue
   4627 # Check for GNU ac_path_SED and select it if it is found.
   4628   # Check for GNU $ac_path_SED
   4629 case `"$ac_path_SED" --version 2>&1` in
   4630 *GNU*)
   4631   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4632 *)
   4633   ac_count=0
   4634   $as_echo_n 0123456789 >"conftest.in"
   4635   while :
   4636   do
   4637     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4638     mv "conftest.tmp" "conftest.in"
   4639     cp "conftest.in" "conftest.nl"
   4640     $as_echo '' >> "conftest.nl"
   4641     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4642     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4643     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4644     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4645       # Best one so far, save it but keep looking for a better one
   4646       ac_cv_path_SED="$ac_path_SED"
   4647       ac_path_SED_max=$ac_count
   4648     fi
   4649     # 10*(2^10) chars as input seems more than enough
   4650     test $ac_count -gt 10 && break
   4651   done
   4652   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4653 esac
   4654 
   4655       $ac_path_SED_found && break 3
   4656     done
   4657   done
   4658   done
   4659 IFS=$as_save_IFS
   4660   if test -z "$ac_cv_path_SED"; then
   4661     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4662   fi
   4663 else
   4664   ac_cv_path_SED=$SED
   4665 fi
   4666 
   4667 fi
   4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4669 $as_echo "$ac_cv_path_SED" >&6; }
   4670  SED="$ac_cv_path_SED"
   4671   rm -f conftest.sed
   4672 
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 # Check whether --enable-selective-werror was given.
   4679 if test "${enable_selective_werror+set}" = set; then :
   4680   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4681 else
   4682   SELECTIVE_WERROR=yes
   4683 fi
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4690 if test "x$SUNCC" = "xyes"; then
   4691     BASE_CFLAGS="-v"
   4692 else
   4693     BASE_CFLAGS=""
   4694 fi
   4695 
   4696 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 
   4708 
   4709 
   4710 xorg_testset_save_CFLAGS="$CFLAGS"
   4711 
   4712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4715 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4716 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4717   $as_echo_n "(cached) " >&6
   4718 else
   4719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4720 /* end confdefs.h.  */
   4721 int i;
   4722 _ACEOF
   4723 if ac_fn_c_try_compile "$LINENO"; then :
   4724   xorg_cv_cc_flag_unknown_warning_option=yes
   4725 else
   4726   xorg_cv_cc_flag_unknown_warning_option=no
   4727 fi
   4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4729 fi
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4731 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4733 	CFLAGS="$xorg_testset_save_CFLAGS"
   4734 fi
   4735 
   4736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4739 	fi
   4740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4743 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4747 /* end confdefs.h.  */
   4748 int i;
   4749 _ACEOF
   4750 if ac_fn_c_try_compile "$LINENO"; then :
   4751   xorg_cv_cc_flag_unused_command_line_argument=yes
   4752 else
   4753   xorg_cv_cc_flag_unused_command_line_argument=no
   4754 fi
   4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4756 fi
   4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4758 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4759 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4760 	CFLAGS="$xorg_testset_save_CFLAGS"
   4761 fi
   4762 
   4763 found="no"
   4764 
   4765 	if test $found = "no" ; then
   4766 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4768 		fi
   4769 
   4770 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4772 		fi
   4773 
   4774 		CFLAGS="$CFLAGS -Wall"
   4775 
   4776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   4777 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   4778 		cacheid=xorg_cv_cc_flag__Wall
   4779 		if eval \${$cacheid+:} false; then :
   4780   $as_echo_n "(cached) " >&6
   4781 else
   4782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4783 /* end confdefs.h.  */
   4784 int i;
   4785 int
   4786 main ()
   4787 {
   4788 
   4789   ;
   4790   return 0;
   4791 }
   4792 _ACEOF
   4793 if ac_fn_c_try_link "$LINENO"; then :
   4794   eval $cacheid=yes
   4795 else
   4796   eval $cacheid=no
   4797 fi
   4798 rm -f core conftest.err conftest.$ac_objext \
   4799     conftest$ac_exeext conftest.$ac_ext
   4800 fi
   4801 
   4802 
   4803 		CFLAGS="$xorg_testset_save_CFLAGS"
   4804 
   4805 		eval supported=\$$cacheid
   4806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4807 $as_echo "$supported" >&6; }
   4808 		if test "$supported" = "yes" ; then
   4809 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4810 			found="yes"
   4811 		fi
   4812 	fi
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 xorg_testset_save_CFLAGS="$CFLAGS"
   4829 
   4830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4833 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4834 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4835   $as_echo_n "(cached) " >&6
   4836 else
   4837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4838 /* end confdefs.h.  */
   4839 int i;
   4840 _ACEOF
   4841 if ac_fn_c_try_compile "$LINENO"; then :
   4842   xorg_cv_cc_flag_unknown_warning_option=yes
   4843 else
   4844   xorg_cv_cc_flag_unknown_warning_option=no
   4845 fi
   4846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4847 fi
   4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4849 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4851 	CFLAGS="$xorg_testset_save_CFLAGS"
   4852 fi
   4853 
   4854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4857 	fi
   4858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4860 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4861 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4862   $as_echo_n "(cached) " >&6
   4863 else
   4864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4865 /* end confdefs.h.  */
   4866 int i;
   4867 _ACEOF
   4868 if ac_fn_c_try_compile "$LINENO"; then :
   4869   xorg_cv_cc_flag_unused_command_line_argument=yes
   4870 else
   4871   xorg_cv_cc_flag_unused_command_line_argument=no
   4872 fi
   4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4874 fi
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4876 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4878 	CFLAGS="$xorg_testset_save_CFLAGS"
   4879 fi
   4880 
   4881 found="no"
   4882 
   4883 	if test $found = "no" ; then
   4884 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4886 		fi
   4887 
   4888 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4890 		fi
   4891 
   4892 		CFLAGS="$CFLAGS -Wpointer-arith"
   4893 
   4894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   4895 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   4896 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4897 		if eval \${$cacheid+:} false; then :
   4898   $as_echo_n "(cached) " >&6
   4899 else
   4900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4901 /* end confdefs.h.  */
   4902 int i;
   4903 int
   4904 main ()
   4905 {
   4906 
   4907   ;
   4908   return 0;
   4909 }
   4910 _ACEOF
   4911 if ac_fn_c_try_link "$LINENO"; then :
   4912   eval $cacheid=yes
   4913 else
   4914   eval $cacheid=no
   4915 fi
   4916 rm -f core conftest.err conftest.$ac_objext \
   4917     conftest$ac_exeext conftest.$ac_ext
   4918 fi
   4919 
   4920 
   4921 		CFLAGS="$xorg_testset_save_CFLAGS"
   4922 
   4923 		eval supported=\$$cacheid
   4924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4925 $as_echo "$supported" >&6; }
   4926 		if test "$supported" = "yes" ; then
   4927 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4928 			found="yes"
   4929 		fi
   4930 	fi
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 xorg_testset_save_CFLAGS="$CFLAGS"
   4947 
   4948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4951 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4952 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4953   $as_echo_n "(cached) " >&6
   4954 else
   4955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4956 /* end confdefs.h.  */
   4957 int i;
   4958 _ACEOF
   4959 if ac_fn_c_try_compile "$LINENO"; then :
   4960   xorg_cv_cc_flag_unknown_warning_option=yes
   4961 else
   4962   xorg_cv_cc_flag_unknown_warning_option=no
   4963 fi
   4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4965 fi
   4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4967 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4968 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4969 	CFLAGS="$xorg_testset_save_CFLAGS"
   4970 fi
   4971 
   4972 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4973 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4974 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4975 	fi
   4976 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4978 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4979 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4983 /* end confdefs.h.  */
   4984 int i;
   4985 _ACEOF
   4986 if ac_fn_c_try_compile "$LINENO"; then :
   4987   xorg_cv_cc_flag_unused_command_line_argument=yes
   4988 else
   4989   xorg_cv_cc_flag_unused_command_line_argument=no
   4990 fi
   4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4992 fi
   4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4994 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4996 	CFLAGS="$xorg_testset_save_CFLAGS"
   4997 fi
   4998 
   4999 found="no"
   5000 
   5001 	if test $found = "no" ; then
   5002 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5004 		fi
   5005 
   5006 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5008 		fi
   5009 
   5010 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5011 
   5012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   5013 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   5014 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5015 		if eval \${$cacheid+:} false; then :
   5016   $as_echo_n "(cached) " >&6
   5017 else
   5018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5019 /* end confdefs.h.  */
   5020 int i;
   5021 int
   5022 main ()
   5023 {
   5024 
   5025   ;
   5026   return 0;
   5027 }
   5028 _ACEOF
   5029 if ac_fn_c_try_link "$LINENO"; then :
   5030   eval $cacheid=yes
   5031 else
   5032   eval $cacheid=no
   5033 fi
   5034 rm -f core conftest.err conftest.$ac_objext \
   5035     conftest$ac_exeext conftest.$ac_ext
   5036 fi
   5037 
   5038 
   5039 		CFLAGS="$xorg_testset_save_CFLAGS"
   5040 
   5041 		eval supported=\$$cacheid
   5042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5043 $as_echo "$supported" >&6; }
   5044 		if test "$supported" = "yes" ; then
   5045 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5046 			found="yes"
   5047 		fi
   5048 	fi
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 xorg_testset_save_CFLAGS="$CFLAGS"
   5065 
   5066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5069 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5070 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5071   $as_echo_n "(cached) " >&6
   5072 else
   5073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5074 /* end confdefs.h.  */
   5075 int i;
   5076 _ACEOF
   5077 if ac_fn_c_try_compile "$LINENO"; then :
   5078   xorg_cv_cc_flag_unknown_warning_option=yes
   5079 else
   5080   xorg_cv_cc_flag_unknown_warning_option=no
   5081 fi
   5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5083 fi
   5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5085 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5087 	CFLAGS="$xorg_testset_save_CFLAGS"
   5088 fi
   5089 
   5090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 	fi
   5094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5096 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5097 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5101 /* end confdefs.h.  */
   5102 int i;
   5103 _ACEOF
   5104 if ac_fn_c_try_compile "$LINENO"; then :
   5105   xorg_cv_cc_flag_unused_command_line_argument=yes
   5106 else
   5107   xorg_cv_cc_flag_unused_command_line_argument=no
   5108 fi
   5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5110 fi
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5112 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5113 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5114 	CFLAGS="$xorg_testset_save_CFLAGS"
   5115 fi
   5116 
   5117 found="no"
   5118 
   5119 	if test $found = "no" ; then
   5120 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5122 		fi
   5123 
   5124 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5126 		fi
   5127 
   5128 		CFLAGS="$CFLAGS -Wformat=2"
   5129 
   5130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   5131 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   5132 		cacheid=xorg_cv_cc_flag__Wformat_2
   5133 		if eval \${$cacheid+:} false; then :
   5134   $as_echo_n "(cached) " >&6
   5135 else
   5136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5137 /* end confdefs.h.  */
   5138 int i;
   5139 int
   5140 main ()
   5141 {
   5142 
   5143   ;
   5144   return 0;
   5145 }
   5146 _ACEOF
   5147 if ac_fn_c_try_link "$LINENO"; then :
   5148   eval $cacheid=yes
   5149 else
   5150   eval $cacheid=no
   5151 fi
   5152 rm -f core conftest.err conftest.$ac_objext \
   5153     conftest$ac_exeext conftest.$ac_ext
   5154 fi
   5155 
   5156 
   5157 		CFLAGS="$xorg_testset_save_CFLAGS"
   5158 
   5159 		eval supported=\$$cacheid
   5160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5161 $as_echo "$supported" >&6; }
   5162 		if test "$supported" = "yes" ; then
   5163 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5164 			found="yes"
   5165 		fi
   5166 	fi
   5167 
   5168 	if test $found = "no" ; then
   5169 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 		fi
   5172 
   5173 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5175 		fi
   5176 
   5177 		CFLAGS="$CFLAGS -Wformat"
   5178 
   5179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   5180 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   5181 		cacheid=xorg_cv_cc_flag__Wformat
   5182 		if eval \${$cacheid+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5186 /* end confdefs.h.  */
   5187 int i;
   5188 int
   5189 main ()
   5190 {
   5191 
   5192   ;
   5193   return 0;
   5194 }
   5195 _ACEOF
   5196 if ac_fn_c_try_link "$LINENO"; then :
   5197   eval $cacheid=yes
   5198 else
   5199   eval $cacheid=no
   5200 fi
   5201 rm -f core conftest.err conftest.$ac_objext \
   5202     conftest$ac_exeext conftest.$ac_ext
   5203 fi
   5204 
   5205 
   5206 		CFLAGS="$xorg_testset_save_CFLAGS"
   5207 
   5208 		eval supported=\$$cacheid
   5209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5210 $as_echo "$supported" >&6; }
   5211 		if test "$supported" = "yes" ; then
   5212 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5213 			found="yes"
   5214 		fi
   5215 	fi
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 xorg_testset_save_CFLAGS="$CFLAGS"
   5234 
   5235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5240   $as_echo_n "(cached) " >&6
   5241 else
   5242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5243 /* end confdefs.h.  */
   5244 int i;
   5245 _ACEOF
   5246 if ac_fn_c_try_compile "$LINENO"; then :
   5247   xorg_cv_cc_flag_unknown_warning_option=yes
   5248 else
   5249   xorg_cv_cc_flag_unknown_warning_option=no
   5250 fi
   5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5252 fi
   5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5256 	CFLAGS="$xorg_testset_save_CFLAGS"
   5257 fi
   5258 
   5259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5262 	fi
   5263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5270 /* end confdefs.h.  */
   5271 int i;
   5272 _ACEOF
   5273 if ac_fn_c_try_compile "$LINENO"; then :
   5274   xorg_cv_cc_flag_unused_command_line_argument=yes
   5275 else
   5276   xorg_cv_cc_flag_unused_command_line_argument=no
   5277 fi
   5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5279 fi
   5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5283 	CFLAGS="$xorg_testset_save_CFLAGS"
   5284 fi
   5285 
   5286 found="no"
   5287 
   5288 	if test $found = "no" ; then
   5289 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5291 		fi
   5292 
   5293 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5295 		fi
   5296 
   5297 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5298 
   5299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   5300 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   5301 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5302 		if eval \${$cacheid+:} false; then :
   5303   $as_echo_n "(cached) " >&6
   5304 else
   5305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5306 /* end confdefs.h.  */
   5307 int i;
   5308 int
   5309 main ()
   5310 {
   5311 
   5312   ;
   5313   return 0;
   5314 }
   5315 _ACEOF
   5316 if ac_fn_c_try_link "$LINENO"; then :
   5317   eval $cacheid=yes
   5318 else
   5319   eval $cacheid=no
   5320 fi
   5321 rm -f core conftest.err conftest.$ac_objext \
   5322     conftest$ac_exeext conftest.$ac_ext
   5323 fi
   5324 
   5325 
   5326 		CFLAGS="$xorg_testset_save_CFLAGS"
   5327 
   5328 		eval supported=\$$cacheid
   5329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5330 $as_echo "$supported" >&6; }
   5331 		if test "$supported" = "yes" ; then
   5332 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5333 			found="yes"
   5334 		fi
   5335 	fi
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 xorg_testset_save_CFLAGS="$CFLAGS"
   5352 
   5353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"; then :
   5365   xorg_cv_cc_flag_unknown_warning_option=yes
   5366 else
   5367   xorg_cv_cc_flag_unknown_warning_option=no
   5368 fi
   5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5370 fi
   5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5374 	CFLAGS="$xorg_testset_save_CFLAGS"
   5375 fi
   5376 
   5377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5380 	fi
   5381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5385   $as_echo_n "(cached) " >&6
   5386 else
   5387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5388 /* end confdefs.h.  */
   5389 int i;
   5390 _ACEOF
   5391 if ac_fn_c_try_compile "$LINENO"; then :
   5392   xorg_cv_cc_flag_unused_command_line_argument=yes
   5393 else
   5394   xorg_cv_cc_flag_unused_command_line_argument=no
   5395 fi
   5396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5397 fi
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5401 	CFLAGS="$xorg_testset_save_CFLAGS"
   5402 fi
   5403 
   5404 found="no"
   5405 
   5406 	if test $found = "no" ; then
   5407 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 		fi
   5410 
   5411 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5413 		fi
   5414 
   5415 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5416 
   5417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   5418 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   5419 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5420 		if eval \${$cacheid+:} false; then :
   5421   $as_echo_n "(cached) " >&6
   5422 else
   5423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5424 /* end confdefs.h.  */
   5425 int i;
   5426 int
   5427 main ()
   5428 {
   5429 
   5430   ;
   5431   return 0;
   5432 }
   5433 _ACEOF
   5434 if ac_fn_c_try_link "$LINENO"; then :
   5435   eval $cacheid=yes
   5436 else
   5437   eval $cacheid=no
   5438 fi
   5439 rm -f core conftest.err conftest.$ac_objext \
   5440     conftest$ac_exeext conftest.$ac_ext
   5441 fi
   5442 
   5443 
   5444 		CFLAGS="$xorg_testset_save_CFLAGS"
   5445 
   5446 		eval supported=\$$cacheid
   5447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5448 $as_echo "$supported" >&6; }
   5449 		if test "$supported" = "yes" ; then
   5450 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5451 			found="yes"
   5452 		fi
   5453 	fi
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 xorg_testset_save_CFLAGS="$CFLAGS"
   5470 
   5471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5476   $as_echo_n "(cached) " >&6
   5477 else
   5478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5479 /* end confdefs.h.  */
   5480 int i;
   5481 _ACEOF
   5482 if ac_fn_c_try_compile "$LINENO"; then :
   5483   xorg_cv_cc_flag_unknown_warning_option=yes
   5484 else
   5485   xorg_cv_cc_flag_unknown_warning_option=no
   5486 fi
   5487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5488 fi
   5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5492 	CFLAGS="$xorg_testset_save_CFLAGS"
   5493 fi
   5494 
   5495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5498 	fi
   5499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5503   $as_echo_n "(cached) " >&6
   5504 else
   5505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5506 /* end confdefs.h.  */
   5507 int i;
   5508 _ACEOF
   5509 if ac_fn_c_try_compile "$LINENO"; then :
   5510   xorg_cv_cc_flag_unused_command_line_argument=yes
   5511 else
   5512   xorg_cv_cc_flag_unused_command_line_argument=no
   5513 fi
   5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5515 fi
   5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5519 	CFLAGS="$xorg_testset_save_CFLAGS"
   5520 fi
   5521 
   5522 found="no"
   5523 
   5524 	if test $found = "no" ; then
   5525 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5527 		fi
   5528 
   5529 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5531 		fi
   5532 
   5533 		CFLAGS="$CFLAGS -Wnested-externs"
   5534 
   5535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   5536 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   5537 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5538 		if eval \${$cacheid+:} false; then :
   5539   $as_echo_n "(cached) " >&6
   5540 else
   5541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5542 /* end confdefs.h.  */
   5543 int i;
   5544 int
   5545 main ()
   5546 {
   5547 
   5548   ;
   5549   return 0;
   5550 }
   5551 _ACEOF
   5552 if ac_fn_c_try_link "$LINENO"; then :
   5553   eval $cacheid=yes
   5554 else
   5555   eval $cacheid=no
   5556 fi
   5557 rm -f core conftest.err conftest.$ac_objext \
   5558     conftest$ac_exeext conftest.$ac_ext
   5559 fi
   5560 
   5561 
   5562 		CFLAGS="$xorg_testset_save_CFLAGS"
   5563 
   5564 		eval supported=\$$cacheid
   5565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5566 $as_echo "$supported" >&6; }
   5567 		if test "$supported" = "yes" ; then
   5568 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5569 			found="yes"
   5570 		fi
   5571 	fi
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 xorg_testset_save_CFLAGS="$CFLAGS"
   5588 
   5589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5594   $as_echo_n "(cached) " >&6
   5595 else
   5596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5597 /* end confdefs.h.  */
   5598 int i;
   5599 _ACEOF
   5600 if ac_fn_c_try_compile "$LINENO"; then :
   5601   xorg_cv_cc_flag_unknown_warning_option=yes
   5602 else
   5603   xorg_cv_cc_flag_unknown_warning_option=no
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5606 fi
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5610 	CFLAGS="$xorg_testset_save_CFLAGS"
   5611 fi
   5612 
   5613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 	fi
   5617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5624 /* end confdefs.h.  */
   5625 int i;
   5626 _ACEOF
   5627 if ac_fn_c_try_compile "$LINENO"; then :
   5628   xorg_cv_cc_flag_unused_command_line_argument=yes
   5629 else
   5630   xorg_cv_cc_flag_unused_command_line_argument=no
   5631 fi
   5632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5633 fi
   5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5637 	CFLAGS="$xorg_testset_save_CFLAGS"
   5638 fi
   5639 
   5640 found="no"
   5641 
   5642 	if test $found = "no" ; then
   5643 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 		fi
   5646 
   5647 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5649 		fi
   5650 
   5651 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5652 
   5653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   5654 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   5655 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5656 		if eval \${$cacheid+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5660 /* end confdefs.h.  */
   5661 int i;
   5662 int
   5663 main ()
   5664 {
   5665 
   5666   ;
   5667   return 0;
   5668 }
   5669 _ACEOF
   5670 if ac_fn_c_try_link "$LINENO"; then :
   5671   eval $cacheid=yes
   5672 else
   5673   eval $cacheid=no
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext \
   5676     conftest$ac_exeext conftest.$ac_ext
   5677 fi
   5678 
   5679 
   5680 		CFLAGS="$xorg_testset_save_CFLAGS"
   5681 
   5682 		eval supported=\$$cacheid
   5683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5684 $as_echo "$supported" >&6; }
   5685 		if test "$supported" = "yes" ; then
   5686 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5687 			found="yes"
   5688 		fi
   5689 	fi
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 xorg_testset_save_CFLAGS="$CFLAGS"
   5706 
   5707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5710 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5711 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5712   $as_echo_n "(cached) " >&6
   5713 else
   5714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5715 /* end confdefs.h.  */
   5716 int i;
   5717 _ACEOF
   5718 if ac_fn_c_try_compile "$LINENO"; then :
   5719   xorg_cv_cc_flag_unknown_warning_option=yes
   5720 else
   5721   xorg_cv_cc_flag_unknown_warning_option=no
   5722 fi
   5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5724 fi
   5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5726 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5728 	CFLAGS="$xorg_testset_save_CFLAGS"
   5729 fi
   5730 
   5731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 	fi
   5735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5737 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5738 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5739   $as_echo_n "(cached) " >&6
   5740 else
   5741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5742 /* end confdefs.h.  */
   5743 int i;
   5744 _ACEOF
   5745 if ac_fn_c_try_compile "$LINENO"; then :
   5746   xorg_cv_cc_flag_unused_command_line_argument=yes
   5747 else
   5748   xorg_cv_cc_flag_unused_command_line_argument=no
   5749 fi
   5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5751 fi
   5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5753 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5755 	CFLAGS="$xorg_testset_save_CFLAGS"
   5756 fi
   5757 
   5758 found="no"
   5759 
   5760 	if test $found = "no" ; then
   5761 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5763 		fi
   5764 
   5765 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5767 		fi
   5768 
   5769 		CFLAGS="$CFLAGS -Wold-style-definition"
   5770 
   5771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   5772 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   5773 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5774 		if eval \${$cacheid+:} false; then :
   5775   $as_echo_n "(cached) " >&6
   5776 else
   5777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5778 /* end confdefs.h.  */
   5779 int i;
   5780 int
   5781 main ()
   5782 {
   5783 
   5784   ;
   5785   return 0;
   5786 }
   5787 _ACEOF
   5788 if ac_fn_c_try_link "$LINENO"; then :
   5789   eval $cacheid=yes
   5790 else
   5791   eval $cacheid=no
   5792 fi
   5793 rm -f core conftest.err conftest.$ac_objext \
   5794     conftest$ac_exeext conftest.$ac_ext
   5795 fi
   5796 
   5797 
   5798 		CFLAGS="$xorg_testset_save_CFLAGS"
   5799 
   5800 		eval supported=\$$cacheid
   5801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5802 $as_echo "$supported" >&6; }
   5803 		if test "$supported" = "yes" ; then
   5804 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5805 			found="yes"
   5806 		fi
   5807 	fi
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 xorg_testset_save_CFLAGS="$CFLAGS"
   5824 
   5825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5830   $as_echo_n "(cached) " >&6
   5831 else
   5832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5833 /* end confdefs.h.  */
   5834 int i;
   5835 _ACEOF
   5836 if ac_fn_c_try_compile "$LINENO"; then :
   5837   xorg_cv_cc_flag_unknown_warning_option=yes
   5838 else
   5839   xorg_cv_cc_flag_unknown_warning_option=no
   5840 fi
   5841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5842 fi
   5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5846 	CFLAGS="$xorg_testset_save_CFLAGS"
   5847 fi
   5848 
   5849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 	fi
   5853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5857   $as_echo_n "(cached) " >&6
   5858 else
   5859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5860 /* end confdefs.h.  */
   5861 int i;
   5862 _ACEOF
   5863 if ac_fn_c_try_compile "$LINENO"; then :
   5864   xorg_cv_cc_flag_unused_command_line_argument=yes
   5865 else
   5866   xorg_cv_cc_flag_unused_command_line_argument=no
   5867 fi
   5868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5869 fi
   5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5873 	CFLAGS="$xorg_testset_save_CFLAGS"
   5874 fi
   5875 
   5876 found="no"
   5877 
   5878 	if test $found = "no" ; then
   5879 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5881 		fi
   5882 
   5883 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5885 		fi
   5886 
   5887 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5888 
   5889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   5890 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   5891 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5892 		if eval \${$cacheid+:} false; then :
   5893   $as_echo_n "(cached) " >&6
   5894 else
   5895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5896 /* end confdefs.h.  */
   5897 int i;
   5898 int
   5899 main ()
   5900 {
   5901 
   5902   ;
   5903   return 0;
   5904 }
   5905 _ACEOF
   5906 if ac_fn_c_try_link "$LINENO"; then :
   5907   eval $cacheid=yes
   5908 else
   5909   eval $cacheid=no
   5910 fi
   5911 rm -f core conftest.err conftest.$ac_objext \
   5912     conftest$ac_exeext conftest.$ac_ext
   5913 fi
   5914 
   5915 
   5916 		CFLAGS="$xorg_testset_save_CFLAGS"
   5917 
   5918 		eval supported=\$$cacheid
   5919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5920 $as_echo "$supported" >&6; }
   5921 		if test "$supported" = "yes" ; then
   5922 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5923 			found="yes"
   5924 		fi
   5925 	fi
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 # This chunk adds additional warnings that could catch undesired effects.
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 xorg_testset_save_CFLAGS="$CFLAGS"
   5946 
   5947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5952   $as_echo_n "(cached) " >&6
   5953 else
   5954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5955 /* end confdefs.h.  */
   5956 int i;
   5957 _ACEOF
   5958 if ac_fn_c_try_compile "$LINENO"; then :
   5959   xorg_cv_cc_flag_unknown_warning_option=yes
   5960 else
   5961   xorg_cv_cc_flag_unknown_warning_option=no
   5962 fi
   5963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5964 fi
   5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5968 	CFLAGS="$xorg_testset_save_CFLAGS"
   5969 fi
   5970 
   5971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5974 	fi
   5975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5979   $as_echo_n "(cached) " >&6
   5980 else
   5981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5982 /* end confdefs.h.  */
   5983 int i;
   5984 _ACEOF
   5985 if ac_fn_c_try_compile "$LINENO"; then :
   5986   xorg_cv_cc_flag_unused_command_line_argument=yes
   5987 else
   5988   xorg_cv_cc_flag_unused_command_line_argument=no
   5989 fi
   5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5991 fi
   5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5995 	CFLAGS="$xorg_testset_save_CFLAGS"
   5996 fi
   5997 
   5998 found="no"
   5999 
   6000 	if test $found = "no" ; then
   6001 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 		fi
   6004 
   6005 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 		fi
   6008 
   6009 		CFLAGS="$CFLAGS -Wunused"
   6010 
   6011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   6012 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   6013 		cacheid=xorg_cv_cc_flag__Wunused
   6014 		if eval \${$cacheid+:} false; then :
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6018 /* end confdefs.h.  */
   6019 int i;
   6020 int
   6021 main ()
   6022 {
   6023 
   6024   ;
   6025   return 0;
   6026 }
   6027 _ACEOF
   6028 if ac_fn_c_try_link "$LINENO"; then :
   6029   eval $cacheid=yes
   6030 else
   6031   eval $cacheid=no
   6032 fi
   6033 rm -f core conftest.err conftest.$ac_objext \
   6034     conftest$ac_exeext conftest.$ac_ext
   6035 fi
   6036 
   6037 
   6038 		CFLAGS="$xorg_testset_save_CFLAGS"
   6039 
   6040 		eval supported=\$$cacheid
   6041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6042 $as_echo "$supported" >&6; }
   6043 		if test "$supported" = "yes" ; then
   6044 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6045 			found="yes"
   6046 		fi
   6047 	fi
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 xorg_testset_save_CFLAGS="$CFLAGS"
   6064 
   6065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6070   $as_echo_n "(cached) " >&6
   6071 else
   6072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6073 /* end confdefs.h.  */
   6074 int i;
   6075 _ACEOF
   6076 if ac_fn_c_try_compile "$LINENO"; then :
   6077   xorg_cv_cc_flag_unknown_warning_option=yes
   6078 else
   6079   xorg_cv_cc_flag_unknown_warning_option=no
   6080 fi
   6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6082 fi
   6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6086 	CFLAGS="$xorg_testset_save_CFLAGS"
   6087 fi
   6088 
   6089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 	fi
   6093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6097   $as_echo_n "(cached) " >&6
   6098 else
   6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 _ACEOF
   6103 if ac_fn_c_try_compile "$LINENO"; then :
   6104   xorg_cv_cc_flag_unused_command_line_argument=yes
   6105 else
   6106   xorg_cv_cc_flag_unused_command_line_argument=no
   6107 fi
   6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6109 fi
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6113 	CFLAGS="$xorg_testset_save_CFLAGS"
   6114 fi
   6115 
   6116 found="no"
   6117 
   6118 	if test $found = "no" ; then
   6119 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6121 		fi
   6122 
   6123 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6125 		fi
   6126 
   6127 		CFLAGS="$CFLAGS -Wuninitialized"
   6128 
   6129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   6130 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   6131 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6132 		if eval \${$cacheid+:} false; then :
   6133   $as_echo_n "(cached) " >&6
   6134 else
   6135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 int i;
   6138 int
   6139 main ()
   6140 {
   6141 
   6142   ;
   6143   return 0;
   6144 }
   6145 _ACEOF
   6146 if ac_fn_c_try_link "$LINENO"; then :
   6147   eval $cacheid=yes
   6148 else
   6149   eval $cacheid=no
   6150 fi
   6151 rm -f core conftest.err conftest.$ac_objext \
   6152     conftest$ac_exeext conftest.$ac_ext
   6153 fi
   6154 
   6155 
   6156 		CFLAGS="$xorg_testset_save_CFLAGS"
   6157 
   6158 		eval supported=\$$cacheid
   6159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6160 $as_echo "$supported" >&6; }
   6161 		if test "$supported" = "yes" ; then
   6162 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6163 			found="yes"
   6164 		fi
   6165 	fi
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 xorg_testset_save_CFLAGS="$CFLAGS"
   6182 
   6183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6188   $as_echo_n "(cached) " >&6
   6189 else
   6190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6191 /* end confdefs.h.  */
   6192 int i;
   6193 _ACEOF
   6194 if ac_fn_c_try_compile "$LINENO"; then :
   6195   xorg_cv_cc_flag_unknown_warning_option=yes
   6196 else
   6197   xorg_cv_cc_flag_unknown_warning_option=no
   6198 fi
   6199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6200 fi
   6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6204 	CFLAGS="$xorg_testset_save_CFLAGS"
   6205 fi
   6206 
   6207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6210 	fi
   6211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6215   $as_echo_n "(cached) " >&6
   6216 else
   6217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6218 /* end confdefs.h.  */
   6219 int i;
   6220 _ACEOF
   6221 if ac_fn_c_try_compile "$LINENO"; then :
   6222   xorg_cv_cc_flag_unused_command_line_argument=yes
   6223 else
   6224   xorg_cv_cc_flag_unused_command_line_argument=no
   6225 fi
   6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6227 fi
   6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6231 	CFLAGS="$xorg_testset_save_CFLAGS"
   6232 fi
   6233 
   6234 found="no"
   6235 
   6236 	if test $found = "no" ; then
   6237 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6239 		fi
   6240 
   6241 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6243 		fi
   6244 
   6245 		CFLAGS="$CFLAGS -Wshadow"
   6246 
   6247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   6248 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   6249 		cacheid=xorg_cv_cc_flag__Wshadow
   6250 		if eval \${$cacheid+:} false; then :
   6251   $as_echo_n "(cached) " >&6
   6252 else
   6253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6254 /* end confdefs.h.  */
   6255 int i;
   6256 int
   6257 main ()
   6258 {
   6259 
   6260   ;
   6261   return 0;
   6262 }
   6263 _ACEOF
   6264 if ac_fn_c_try_link "$LINENO"; then :
   6265   eval $cacheid=yes
   6266 else
   6267   eval $cacheid=no
   6268 fi
   6269 rm -f core conftest.err conftest.$ac_objext \
   6270     conftest$ac_exeext conftest.$ac_ext
   6271 fi
   6272 
   6273 
   6274 		CFLAGS="$xorg_testset_save_CFLAGS"
   6275 
   6276 		eval supported=\$$cacheid
   6277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6278 $as_echo "$supported" >&6; }
   6279 		if test "$supported" = "yes" ; then
   6280 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6281 			found="yes"
   6282 		fi
   6283 	fi
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 xorg_testset_save_CFLAGS="$CFLAGS"
   6300 
   6301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6306   $as_echo_n "(cached) " >&6
   6307 else
   6308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6309 /* end confdefs.h.  */
   6310 int i;
   6311 _ACEOF
   6312 if ac_fn_c_try_compile "$LINENO"; then :
   6313   xorg_cv_cc_flag_unknown_warning_option=yes
   6314 else
   6315   xorg_cv_cc_flag_unknown_warning_option=no
   6316 fi
   6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6318 fi
   6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6322 	CFLAGS="$xorg_testset_save_CFLAGS"
   6323 fi
   6324 
   6325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6328 	fi
   6329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6336 /* end confdefs.h.  */
   6337 int i;
   6338 _ACEOF
   6339 if ac_fn_c_try_compile "$LINENO"; then :
   6340   xorg_cv_cc_flag_unused_command_line_argument=yes
   6341 else
   6342   xorg_cv_cc_flag_unused_command_line_argument=no
   6343 fi
   6344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6345 fi
   6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6349 	CFLAGS="$xorg_testset_save_CFLAGS"
   6350 fi
   6351 
   6352 found="no"
   6353 
   6354 	if test $found = "no" ; then
   6355 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6357 		fi
   6358 
   6359 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6361 		fi
   6362 
   6363 		CFLAGS="$CFLAGS -Wcast-qual"
   6364 
   6365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   6366 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   6367 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6368 		if eval \${$cacheid+:} false; then :
   6369   $as_echo_n "(cached) " >&6
   6370 else
   6371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6372 /* end confdefs.h.  */
   6373 int i;
   6374 int
   6375 main ()
   6376 {
   6377 
   6378   ;
   6379   return 0;
   6380 }
   6381 _ACEOF
   6382 if ac_fn_c_try_link "$LINENO"; then :
   6383   eval $cacheid=yes
   6384 else
   6385   eval $cacheid=no
   6386 fi
   6387 rm -f core conftest.err conftest.$ac_objext \
   6388     conftest$ac_exeext conftest.$ac_ext
   6389 fi
   6390 
   6391 
   6392 		CFLAGS="$xorg_testset_save_CFLAGS"
   6393 
   6394 		eval supported=\$$cacheid
   6395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6396 $as_echo "$supported" >&6; }
   6397 		if test "$supported" = "yes" ; then
   6398 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6399 			found="yes"
   6400 		fi
   6401 	fi
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 xorg_testset_save_CFLAGS="$CFLAGS"
   6418 
   6419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6424   $as_echo_n "(cached) " >&6
   6425 else
   6426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6427 /* end confdefs.h.  */
   6428 int i;
   6429 _ACEOF
   6430 if ac_fn_c_try_compile "$LINENO"; then :
   6431   xorg_cv_cc_flag_unknown_warning_option=yes
   6432 else
   6433   xorg_cv_cc_flag_unknown_warning_option=no
   6434 fi
   6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6436 fi
   6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6440 	CFLAGS="$xorg_testset_save_CFLAGS"
   6441 fi
   6442 
   6443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 	fi
   6447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6451   $as_echo_n "(cached) " >&6
   6452 else
   6453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6454 /* end confdefs.h.  */
   6455 int i;
   6456 _ACEOF
   6457 if ac_fn_c_try_compile "$LINENO"; then :
   6458   xorg_cv_cc_flag_unused_command_line_argument=yes
   6459 else
   6460   xorg_cv_cc_flag_unused_command_line_argument=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6463 fi
   6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6467 	CFLAGS="$xorg_testset_save_CFLAGS"
   6468 fi
   6469 
   6470 found="no"
   6471 
   6472 	if test $found = "no" ; then
   6473 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 		fi
   6476 
   6477 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6479 		fi
   6480 
   6481 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6482 
   6483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   6484 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   6485 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6486 		if eval \${$cacheid+:} false; then :
   6487   $as_echo_n "(cached) " >&6
   6488 else
   6489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6490 /* end confdefs.h.  */
   6491 int i;
   6492 int
   6493 main ()
   6494 {
   6495 
   6496   ;
   6497   return 0;
   6498 }
   6499 _ACEOF
   6500 if ac_fn_c_try_link "$LINENO"; then :
   6501   eval $cacheid=yes
   6502 else
   6503   eval $cacheid=no
   6504 fi
   6505 rm -f core conftest.err conftest.$ac_objext \
   6506     conftest$ac_exeext conftest.$ac_ext
   6507 fi
   6508 
   6509 
   6510 		CFLAGS="$xorg_testset_save_CFLAGS"
   6511 
   6512 		eval supported=\$$cacheid
   6513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6514 $as_echo "$supported" >&6; }
   6515 		if test "$supported" = "yes" ; then
   6516 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6517 			found="yes"
   6518 		fi
   6519 	fi
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 xorg_testset_save_CFLAGS="$CFLAGS"
   6536 
   6537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6542   $as_echo_n "(cached) " >&6
   6543 else
   6544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6545 /* end confdefs.h.  */
   6546 int i;
   6547 _ACEOF
   6548 if ac_fn_c_try_compile "$LINENO"; then :
   6549   xorg_cv_cc_flag_unknown_warning_option=yes
   6550 else
   6551   xorg_cv_cc_flag_unknown_warning_option=no
   6552 fi
   6553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6554 fi
   6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6558 	CFLAGS="$xorg_testset_save_CFLAGS"
   6559 fi
   6560 
   6561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6564 	fi
   6565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6569   $as_echo_n "(cached) " >&6
   6570 else
   6571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6572 /* end confdefs.h.  */
   6573 int i;
   6574 _ACEOF
   6575 if ac_fn_c_try_compile "$LINENO"; then :
   6576   xorg_cv_cc_flag_unused_command_line_argument=yes
   6577 else
   6578   xorg_cv_cc_flag_unused_command_line_argument=no
   6579 fi
   6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6581 fi
   6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6585 	CFLAGS="$xorg_testset_save_CFLAGS"
   6586 fi
   6587 
   6588 found="no"
   6589 
   6590 	if test $found = "no" ; then
   6591 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6593 		fi
   6594 
   6595 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6597 		fi
   6598 
   6599 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6600 
   6601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   6602 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   6603 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6604 		if eval \${$cacheid+:} false; then :
   6605   $as_echo_n "(cached) " >&6
   6606 else
   6607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6608 /* end confdefs.h.  */
   6609 int i;
   6610 int
   6611 main ()
   6612 {
   6613 
   6614   ;
   6615   return 0;
   6616 }
   6617 _ACEOF
   6618 if ac_fn_c_try_link "$LINENO"; then :
   6619   eval $cacheid=yes
   6620 else
   6621   eval $cacheid=no
   6622 fi
   6623 rm -f core conftest.err conftest.$ac_objext \
   6624     conftest$ac_exeext conftest.$ac_ext
   6625 fi
   6626 
   6627 
   6628 		CFLAGS="$xorg_testset_save_CFLAGS"
   6629 
   6630 		eval supported=\$$cacheid
   6631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6632 $as_echo "$supported" >&6; }
   6633 		if test "$supported" = "yes" ; then
   6634 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6635 			found="yes"
   6636 		fi
   6637 	fi
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 xorg_testset_save_CFLAGS="$CFLAGS"
   6654 
   6655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6658 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6659 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6660   $as_echo_n "(cached) " >&6
   6661 else
   6662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6663 /* end confdefs.h.  */
   6664 int i;
   6665 _ACEOF
   6666 if ac_fn_c_try_compile "$LINENO"; then :
   6667   xorg_cv_cc_flag_unknown_warning_option=yes
   6668 else
   6669   xorg_cv_cc_flag_unknown_warning_option=no
   6670 fi
   6671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6672 fi
   6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6674 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6676 	CFLAGS="$xorg_testset_save_CFLAGS"
   6677 fi
   6678 
   6679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 	fi
   6683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6685 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6686 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6687   $as_echo_n "(cached) " >&6
   6688 else
   6689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6690 /* end confdefs.h.  */
   6691 int i;
   6692 _ACEOF
   6693 if ac_fn_c_try_compile "$LINENO"; then :
   6694   xorg_cv_cc_flag_unused_command_line_argument=yes
   6695 else
   6696   xorg_cv_cc_flag_unused_command_line_argument=no
   6697 fi
   6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6699 fi
   6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6701 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6703 	CFLAGS="$xorg_testset_save_CFLAGS"
   6704 fi
   6705 
   6706 found="no"
   6707 
   6708 	if test $found = "no" ; then
   6709 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6711 		fi
   6712 
   6713 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6715 		fi
   6716 
   6717 		CFLAGS="$CFLAGS -Wredundant-decls"
   6718 
   6719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   6720 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   6721 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6722 		if eval \${$cacheid+:} false; then :
   6723   $as_echo_n "(cached) " >&6
   6724 else
   6725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6726 /* end confdefs.h.  */
   6727 int i;
   6728 int
   6729 main ()
   6730 {
   6731 
   6732   ;
   6733   return 0;
   6734 }
   6735 _ACEOF
   6736 if ac_fn_c_try_link "$LINENO"; then :
   6737   eval $cacheid=yes
   6738 else
   6739   eval $cacheid=no
   6740 fi
   6741 rm -f core conftest.err conftest.$ac_objext \
   6742     conftest$ac_exeext conftest.$ac_ext
   6743 fi
   6744 
   6745 
   6746 		CFLAGS="$xorg_testset_save_CFLAGS"
   6747 
   6748 		eval supported=\$$cacheid
   6749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6750 $as_echo "$supported" >&6; }
   6751 		if test "$supported" = "yes" ; then
   6752 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6753 			found="yes"
   6754 		fi
   6755 	fi
   6756 
   6757 
   6758 
   6759 # These are currently disabled because they are noisy.  They will be enabled
   6760 # in the future once the codebase is sufficiently modernized to silence
   6761 # them.  For now, I don't want them to drown out the other warnings.
   6762 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6763 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6764 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6765 
   6766 # Turn some warnings into errors, so we don't accidently get successful builds
   6767 # when there are problems that should be fixed.
   6768 
   6769 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 xorg_testset_save_CFLAGS="$CFLAGS"
   6784 
   6785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6790   $as_echo_n "(cached) " >&6
   6791 else
   6792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6793 /* end confdefs.h.  */
   6794 int i;
   6795 _ACEOF
   6796 if ac_fn_c_try_compile "$LINENO"; then :
   6797   xorg_cv_cc_flag_unknown_warning_option=yes
   6798 else
   6799   xorg_cv_cc_flag_unknown_warning_option=no
   6800 fi
   6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6802 fi
   6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6806 	CFLAGS="$xorg_testset_save_CFLAGS"
   6807 fi
   6808 
   6809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6812 	fi
   6813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 _ACEOF
   6823 if ac_fn_c_try_compile "$LINENO"; then :
   6824   xorg_cv_cc_flag_unused_command_line_argument=yes
   6825 else
   6826   xorg_cv_cc_flag_unused_command_line_argument=no
   6827 fi
   6828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6829 fi
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6833 	CFLAGS="$xorg_testset_save_CFLAGS"
   6834 fi
   6835 
   6836 found="no"
   6837 
   6838 	if test $found = "no" ; then
   6839 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6841 		fi
   6842 
   6843 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6845 		fi
   6846 
   6847 		CFLAGS="$CFLAGS -Werror=implicit"
   6848 
   6849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   6850 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   6851 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6852 		if eval \${$cacheid+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6856 /* end confdefs.h.  */
   6857 int i;
   6858 int
   6859 main ()
   6860 {
   6861 
   6862   ;
   6863   return 0;
   6864 }
   6865 _ACEOF
   6866 if ac_fn_c_try_link "$LINENO"; then :
   6867   eval $cacheid=yes
   6868 else
   6869   eval $cacheid=no
   6870 fi
   6871 rm -f core conftest.err conftest.$ac_objext \
   6872     conftest$ac_exeext conftest.$ac_ext
   6873 fi
   6874 
   6875 
   6876 		CFLAGS="$xorg_testset_save_CFLAGS"
   6877 
   6878 		eval supported=\$$cacheid
   6879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6880 $as_echo "$supported" >&6; }
   6881 		if test "$supported" = "yes" ; then
   6882 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6883 			found="yes"
   6884 		fi
   6885 	fi
   6886 
   6887 	if test $found = "no" ; then
   6888 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6890 		fi
   6891 
   6892 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6894 		fi
   6895 
   6896 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6897 
   6898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6899 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6900 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6901 		if eval \${$cacheid+:} false; then :
   6902   $as_echo_n "(cached) " >&6
   6903 else
   6904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6905 /* end confdefs.h.  */
   6906 int i;
   6907 int
   6908 main ()
   6909 {
   6910 
   6911   ;
   6912   return 0;
   6913 }
   6914 _ACEOF
   6915 if ac_fn_c_try_link "$LINENO"; then :
   6916   eval $cacheid=yes
   6917 else
   6918   eval $cacheid=no
   6919 fi
   6920 rm -f core conftest.err conftest.$ac_objext \
   6921     conftest$ac_exeext conftest.$ac_ext
   6922 fi
   6923 
   6924 
   6925 		CFLAGS="$xorg_testset_save_CFLAGS"
   6926 
   6927 		eval supported=\$$cacheid
   6928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6929 $as_echo "$supported" >&6; }
   6930 		if test "$supported" = "yes" ; then
   6931 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6932 			found="yes"
   6933 		fi
   6934 	fi
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 xorg_testset_save_CFLAGS="$CFLAGS"
   6951 
   6952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6957   $as_echo_n "(cached) " >&6
   6958 else
   6959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 int i;
   6962 _ACEOF
   6963 if ac_fn_c_try_compile "$LINENO"; then :
   6964   xorg_cv_cc_flag_unknown_warning_option=yes
   6965 else
   6966   xorg_cv_cc_flag_unknown_warning_option=no
   6967 fi
   6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6969 fi
   6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6973 	CFLAGS="$xorg_testset_save_CFLAGS"
   6974 fi
   6975 
   6976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6979 	fi
   6980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6984   $as_echo_n "(cached) " >&6
   6985 else
   6986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6987 /* end confdefs.h.  */
   6988 int i;
   6989 _ACEOF
   6990 if ac_fn_c_try_compile "$LINENO"; then :
   6991   xorg_cv_cc_flag_unused_command_line_argument=yes
   6992 else
   6993   xorg_cv_cc_flag_unused_command_line_argument=no
   6994 fi
   6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6996 fi
   6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7000 	CFLAGS="$xorg_testset_save_CFLAGS"
   7001 fi
   7002 
   7003 found="no"
   7004 
   7005 	if test $found = "no" ; then
   7006 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7008 		fi
   7009 
   7010 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7012 		fi
   7013 
   7014 		CFLAGS="$CFLAGS -Werror=nonnull"
   7015 
   7016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   7017 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   7018 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7019 		if eval \${$cacheid+:} false; then :
   7020   $as_echo_n "(cached) " >&6
   7021 else
   7022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7023 /* end confdefs.h.  */
   7024 int i;
   7025 int
   7026 main ()
   7027 {
   7028 
   7029   ;
   7030   return 0;
   7031 }
   7032 _ACEOF
   7033 if ac_fn_c_try_link "$LINENO"; then :
   7034   eval $cacheid=yes
   7035 else
   7036   eval $cacheid=no
   7037 fi
   7038 rm -f core conftest.err conftest.$ac_objext \
   7039     conftest$ac_exeext conftest.$ac_ext
   7040 fi
   7041 
   7042 
   7043 		CFLAGS="$xorg_testset_save_CFLAGS"
   7044 
   7045 		eval supported=\$$cacheid
   7046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7047 $as_echo "$supported" >&6; }
   7048 		if test "$supported" = "yes" ; then
   7049 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7050 			found="yes"
   7051 		fi
   7052 	fi
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 xorg_testset_save_CFLAGS="$CFLAGS"
   7069 
   7070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7075   $as_echo_n "(cached) " >&6
   7076 else
   7077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7078 /* end confdefs.h.  */
   7079 int i;
   7080 _ACEOF
   7081 if ac_fn_c_try_compile "$LINENO"; then :
   7082   xorg_cv_cc_flag_unknown_warning_option=yes
   7083 else
   7084   xorg_cv_cc_flag_unknown_warning_option=no
   7085 fi
   7086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7087 fi
   7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7091 	CFLAGS="$xorg_testset_save_CFLAGS"
   7092 fi
   7093 
   7094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7097 	fi
   7098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7102   $as_echo_n "(cached) " >&6
   7103 else
   7104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7105 /* end confdefs.h.  */
   7106 int i;
   7107 _ACEOF
   7108 if ac_fn_c_try_compile "$LINENO"; then :
   7109   xorg_cv_cc_flag_unused_command_line_argument=yes
   7110 else
   7111   xorg_cv_cc_flag_unused_command_line_argument=no
   7112 fi
   7113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7114 fi
   7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7118 	CFLAGS="$xorg_testset_save_CFLAGS"
   7119 fi
   7120 
   7121 found="no"
   7122 
   7123 	if test $found = "no" ; then
   7124 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7126 		fi
   7127 
   7128 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7130 		fi
   7131 
   7132 		CFLAGS="$CFLAGS -Werror=init-self"
   7133 
   7134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   7135 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   7136 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7137 		if eval \${$cacheid+:} false; then :
   7138   $as_echo_n "(cached) " >&6
   7139 else
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 int i;
   7143 int
   7144 main ()
   7145 {
   7146 
   7147   ;
   7148   return 0;
   7149 }
   7150 _ACEOF
   7151 if ac_fn_c_try_link "$LINENO"; then :
   7152   eval $cacheid=yes
   7153 else
   7154   eval $cacheid=no
   7155 fi
   7156 rm -f core conftest.err conftest.$ac_objext \
   7157     conftest$ac_exeext conftest.$ac_ext
   7158 fi
   7159 
   7160 
   7161 		CFLAGS="$xorg_testset_save_CFLAGS"
   7162 
   7163 		eval supported=\$$cacheid
   7164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7165 $as_echo "$supported" >&6; }
   7166 		if test "$supported" = "yes" ; then
   7167 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7168 			found="yes"
   7169 		fi
   7170 	fi
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 xorg_testset_save_CFLAGS="$CFLAGS"
   7187 
   7188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7193   $as_echo_n "(cached) " >&6
   7194 else
   7195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7196 /* end confdefs.h.  */
   7197 int i;
   7198 _ACEOF
   7199 if ac_fn_c_try_compile "$LINENO"; then :
   7200   xorg_cv_cc_flag_unknown_warning_option=yes
   7201 else
   7202   xorg_cv_cc_flag_unknown_warning_option=no
   7203 fi
   7204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7205 fi
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7209 	CFLAGS="$xorg_testset_save_CFLAGS"
   7210 fi
   7211 
   7212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 	fi
   7216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7220   $as_echo_n "(cached) " >&6
   7221 else
   7222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 _ACEOF
   7226 if ac_fn_c_try_compile "$LINENO"; then :
   7227   xorg_cv_cc_flag_unused_command_line_argument=yes
   7228 else
   7229   xorg_cv_cc_flag_unused_command_line_argument=no
   7230 fi
   7231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7232 fi
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7236 	CFLAGS="$xorg_testset_save_CFLAGS"
   7237 fi
   7238 
   7239 found="no"
   7240 
   7241 	if test $found = "no" ; then
   7242 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7244 		fi
   7245 
   7246 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7248 		fi
   7249 
   7250 		CFLAGS="$CFLAGS -Werror=main"
   7251 
   7252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   7253 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   7254 		cacheid=xorg_cv_cc_flag__Werror_main
   7255 		if eval \${$cacheid+:} false; then :
   7256   $as_echo_n "(cached) " >&6
   7257 else
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 int i;
   7261 int
   7262 main ()
   7263 {
   7264 
   7265   ;
   7266   return 0;
   7267 }
   7268 _ACEOF
   7269 if ac_fn_c_try_link "$LINENO"; then :
   7270   eval $cacheid=yes
   7271 else
   7272   eval $cacheid=no
   7273 fi
   7274 rm -f core conftest.err conftest.$ac_objext \
   7275     conftest$ac_exeext conftest.$ac_ext
   7276 fi
   7277 
   7278 
   7279 		CFLAGS="$xorg_testset_save_CFLAGS"
   7280 
   7281 		eval supported=\$$cacheid
   7282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7283 $as_echo "$supported" >&6; }
   7284 		if test "$supported" = "yes" ; then
   7285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7286 			found="yes"
   7287 		fi
   7288 	fi
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 xorg_testset_save_CFLAGS="$CFLAGS"
   7305 
   7306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7309 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7310 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7311   $as_echo_n "(cached) " >&6
   7312 else
   7313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7314 /* end confdefs.h.  */
   7315 int i;
   7316 _ACEOF
   7317 if ac_fn_c_try_compile "$LINENO"; then :
   7318   xorg_cv_cc_flag_unknown_warning_option=yes
   7319 else
   7320   xorg_cv_cc_flag_unknown_warning_option=no
   7321 fi
   7322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7323 fi
   7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7325 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7327 	CFLAGS="$xorg_testset_save_CFLAGS"
   7328 fi
   7329 
   7330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 	fi
   7334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7336 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7337 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7338   $as_echo_n "(cached) " >&6
   7339 else
   7340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7341 /* end confdefs.h.  */
   7342 int i;
   7343 _ACEOF
   7344 if ac_fn_c_try_compile "$LINENO"; then :
   7345   xorg_cv_cc_flag_unused_command_line_argument=yes
   7346 else
   7347   xorg_cv_cc_flag_unused_command_line_argument=no
   7348 fi
   7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7350 fi
   7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7352 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7354 	CFLAGS="$xorg_testset_save_CFLAGS"
   7355 fi
   7356 
   7357 found="no"
   7358 
   7359 	if test $found = "no" ; then
   7360 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7362 		fi
   7363 
   7364 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 		fi
   7367 
   7368 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7369 
   7370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   7371 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   7372 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7373 		if eval \${$cacheid+:} false; then :
   7374   $as_echo_n "(cached) " >&6
   7375 else
   7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 int i;
   7379 int
   7380 main ()
   7381 {
   7382 
   7383   ;
   7384   return 0;
   7385 }
   7386 _ACEOF
   7387 if ac_fn_c_try_link "$LINENO"; then :
   7388   eval $cacheid=yes
   7389 else
   7390   eval $cacheid=no
   7391 fi
   7392 rm -f core conftest.err conftest.$ac_objext \
   7393     conftest$ac_exeext conftest.$ac_ext
   7394 fi
   7395 
   7396 
   7397 		CFLAGS="$xorg_testset_save_CFLAGS"
   7398 
   7399 		eval supported=\$$cacheid
   7400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7401 $as_echo "$supported" >&6; }
   7402 		if test "$supported" = "yes" ; then
   7403 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7404 			found="yes"
   7405 		fi
   7406 	fi
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 xorg_testset_save_CFLAGS="$CFLAGS"
   7423 
   7424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7427 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7428 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7429   $as_echo_n "(cached) " >&6
   7430 else
   7431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7432 /* end confdefs.h.  */
   7433 int i;
   7434 _ACEOF
   7435 if ac_fn_c_try_compile "$LINENO"; then :
   7436   xorg_cv_cc_flag_unknown_warning_option=yes
   7437 else
   7438   xorg_cv_cc_flag_unknown_warning_option=no
   7439 fi
   7440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7441 fi
   7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7443 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7445 	CFLAGS="$xorg_testset_save_CFLAGS"
   7446 fi
   7447 
   7448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7451 	fi
   7452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7454 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7455 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7456   $as_echo_n "(cached) " >&6
   7457 else
   7458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 _ACEOF
   7462 if ac_fn_c_try_compile "$LINENO"; then :
   7463   xorg_cv_cc_flag_unused_command_line_argument=yes
   7464 else
   7465   xorg_cv_cc_flag_unused_command_line_argument=no
   7466 fi
   7467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7468 fi
   7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7470 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7472 	CFLAGS="$xorg_testset_save_CFLAGS"
   7473 fi
   7474 
   7475 found="no"
   7476 
   7477 	if test $found = "no" ; then
   7478 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7480 		fi
   7481 
   7482 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7484 		fi
   7485 
   7486 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7487 
   7488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   7489 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   7490 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7491 		if eval \${$cacheid+:} false; then :
   7492   $as_echo_n "(cached) " >&6
   7493 else
   7494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7495 /* end confdefs.h.  */
   7496 int i;
   7497 int
   7498 main ()
   7499 {
   7500 
   7501   ;
   7502   return 0;
   7503 }
   7504 _ACEOF
   7505 if ac_fn_c_try_link "$LINENO"; then :
   7506   eval $cacheid=yes
   7507 else
   7508   eval $cacheid=no
   7509 fi
   7510 rm -f core conftest.err conftest.$ac_objext \
   7511     conftest$ac_exeext conftest.$ac_ext
   7512 fi
   7513 
   7514 
   7515 		CFLAGS="$xorg_testset_save_CFLAGS"
   7516 
   7517 		eval supported=\$$cacheid
   7518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7519 $as_echo "$supported" >&6; }
   7520 		if test "$supported" = "yes" ; then
   7521 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7522 			found="yes"
   7523 		fi
   7524 	fi
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 xorg_testset_save_CFLAGS="$CFLAGS"
   7541 
   7542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7545 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7546 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7547   $as_echo_n "(cached) " >&6
   7548 else
   7549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7550 /* end confdefs.h.  */
   7551 int i;
   7552 _ACEOF
   7553 if ac_fn_c_try_compile "$LINENO"; then :
   7554   xorg_cv_cc_flag_unknown_warning_option=yes
   7555 else
   7556   xorg_cv_cc_flag_unknown_warning_option=no
   7557 fi
   7558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7559 fi
   7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7561 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7563 	CFLAGS="$xorg_testset_save_CFLAGS"
   7564 fi
   7565 
   7566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7569 	fi
   7570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7572 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7573 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7574   $as_echo_n "(cached) " >&6
   7575 else
   7576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7577 /* end confdefs.h.  */
   7578 int i;
   7579 _ACEOF
   7580 if ac_fn_c_try_compile "$LINENO"; then :
   7581   xorg_cv_cc_flag_unused_command_line_argument=yes
   7582 else
   7583   xorg_cv_cc_flag_unused_command_line_argument=no
   7584 fi
   7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7586 fi
   7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7588 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7589 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7590 	CFLAGS="$xorg_testset_save_CFLAGS"
   7591 fi
   7592 
   7593 found="no"
   7594 
   7595 	if test $found = "no" ; then
   7596 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7598 		fi
   7599 
   7600 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7602 		fi
   7603 
   7604 		CFLAGS="$CFLAGS -Werror=return-type"
   7605 
   7606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   7607 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   7608 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7609 		if eval \${$cacheid+:} false; then :
   7610   $as_echo_n "(cached) " >&6
   7611 else
   7612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7613 /* end confdefs.h.  */
   7614 int i;
   7615 int
   7616 main ()
   7617 {
   7618 
   7619   ;
   7620   return 0;
   7621 }
   7622 _ACEOF
   7623 if ac_fn_c_try_link "$LINENO"; then :
   7624   eval $cacheid=yes
   7625 else
   7626   eval $cacheid=no
   7627 fi
   7628 rm -f core conftest.err conftest.$ac_objext \
   7629     conftest$ac_exeext conftest.$ac_ext
   7630 fi
   7631 
   7632 
   7633 		CFLAGS="$xorg_testset_save_CFLAGS"
   7634 
   7635 		eval supported=\$$cacheid
   7636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7637 $as_echo "$supported" >&6; }
   7638 		if test "$supported" = "yes" ; then
   7639 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7640 			found="yes"
   7641 		fi
   7642 	fi
   7643 
   7644 	if test $found = "no" ; then
   7645 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7647 		fi
   7648 
   7649 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7651 		fi
   7652 
   7653 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7654 
   7655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7656 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7657 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7658 		if eval \${$cacheid+:} false; then :
   7659   $as_echo_n "(cached) " >&6
   7660 else
   7661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7662 /* end confdefs.h.  */
   7663 int i;
   7664 int
   7665 main ()
   7666 {
   7667 
   7668   ;
   7669   return 0;
   7670 }
   7671 _ACEOF
   7672 if ac_fn_c_try_link "$LINENO"; then :
   7673   eval $cacheid=yes
   7674 else
   7675   eval $cacheid=no
   7676 fi
   7677 rm -f core conftest.err conftest.$ac_objext \
   7678     conftest$ac_exeext conftest.$ac_ext
   7679 fi
   7680 
   7681 
   7682 		CFLAGS="$xorg_testset_save_CFLAGS"
   7683 
   7684 		eval supported=\$$cacheid
   7685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7686 $as_echo "$supported" >&6; }
   7687 		if test "$supported" = "yes" ; then
   7688 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7689 			found="yes"
   7690 		fi
   7691 	fi
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 xorg_testset_save_CFLAGS="$CFLAGS"
   7708 
   7709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7714   $as_echo_n "(cached) " >&6
   7715 else
   7716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7717 /* end confdefs.h.  */
   7718 int i;
   7719 _ACEOF
   7720 if ac_fn_c_try_compile "$LINENO"; then :
   7721   xorg_cv_cc_flag_unknown_warning_option=yes
   7722 else
   7723   xorg_cv_cc_flag_unknown_warning_option=no
   7724 fi
   7725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7726 fi
   7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7730 	CFLAGS="$xorg_testset_save_CFLAGS"
   7731 fi
   7732 
   7733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7736 	fi
   7737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7741   $as_echo_n "(cached) " >&6
   7742 else
   7743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7744 /* end confdefs.h.  */
   7745 int i;
   7746 _ACEOF
   7747 if ac_fn_c_try_compile "$LINENO"; then :
   7748   xorg_cv_cc_flag_unused_command_line_argument=yes
   7749 else
   7750   xorg_cv_cc_flag_unused_command_line_argument=no
   7751 fi
   7752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7753 fi
   7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7757 	CFLAGS="$xorg_testset_save_CFLAGS"
   7758 fi
   7759 
   7760 found="no"
   7761 
   7762 	if test $found = "no" ; then
   7763 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7765 		fi
   7766 
   7767 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7769 		fi
   7770 
   7771 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7772 
   7773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   7774 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   7775 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7776 		if eval \${$cacheid+:} false; then :
   7777   $as_echo_n "(cached) " >&6
   7778 else
   7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7780 /* end confdefs.h.  */
   7781 int i;
   7782 int
   7783 main ()
   7784 {
   7785 
   7786   ;
   7787   return 0;
   7788 }
   7789 _ACEOF
   7790 if ac_fn_c_try_link "$LINENO"; then :
   7791   eval $cacheid=yes
   7792 else
   7793   eval $cacheid=no
   7794 fi
   7795 rm -f core conftest.err conftest.$ac_objext \
   7796     conftest$ac_exeext conftest.$ac_ext
   7797 fi
   7798 
   7799 
   7800 		CFLAGS="$xorg_testset_save_CFLAGS"
   7801 
   7802 		eval supported=\$$cacheid
   7803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7804 $as_echo "$supported" >&6; }
   7805 		if test "$supported" = "yes" ; then
   7806 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7807 			found="yes"
   7808 		fi
   7809 	fi
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 xorg_testset_save_CFLAGS="$CFLAGS"
   7826 
   7827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7832   $as_echo_n "(cached) " >&6
   7833 else
   7834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7835 /* end confdefs.h.  */
   7836 int i;
   7837 _ACEOF
   7838 if ac_fn_c_try_compile "$LINENO"; then :
   7839   xorg_cv_cc_flag_unknown_warning_option=yes
   7840 else
   7841   xorg_cv_cc_flag_unknown_warning_option=no
   7842 fi
   7843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7844 fi
   7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7848 	CFLAGS="$xorg_testset_save_CFLAGS"
   7849 fi
   7850 
   7851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7854 	fi
   7855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7859   $as_echo_n "(cached) " >&6
   7860 else
   7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 int i;
   7864 _ACEOF
   7865 if ac_fn_c_try_compile "$LINENO"; then :
   7866   xorg_cv_cc_flag_unused_command_line_argument=yes
   7867 else
   7868   xorg_cv_cc_flag_unused_command_line_argument=no
   7869 fi
   7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7871 fi
   7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7875 	CFLAGS="$xorg_testset_save_CFLAGS"
   7876 fi
   7877 
   7878 found="no"
   7879 
   7880 	if test $found = "no" ; then
   7881 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7883 		fi
   7884 
   7885 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7887 		fi
   7888 
   7889 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7890 
   7891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   7892 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   7893 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7894 		if eval \${$cacheid+:} false; then :
   7895   $as_echo_n "(cached) " >&6
   7896 else
   7897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7898 /* end confdefs.h.  */
   7899 int i;
   7900 int
   7901 main ()
   7902 {
   7903 
   7904   ;
   7905   return 0;
   7906 }
   7907 _ACEOF
   7908 if ac_fn_c_try_link "$LINENO"; then :
   7909   eval $cacheid=yes
   7910 else
   7911   eval $cacheid=no
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext \
   7914     conftest$ac_exeext conftest.$ac_ext
   7915 fi
   7916 
   7917 
   7918 		CFLAGS="$xorg_testset_save_CFLAGS"
   7919 
   7920 		eval supported=\$$cacheid
   7921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7922 $as_echo "$supported" >&6; }
   7923 		if test "$supported" = "yes" ; then
   7924 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7925 			found="yes"
   7926 		fi
   7927 	fi
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 xorg_testset_save_CFLAGS="$CFLAGS"
   7944 
   7945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7950   $as_echo_n "(cached) " >&6
   7951 else
   7952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7953 /* end confdefs.h.  */
   7954 int i;
   7955 _ACEOF
   7956 if ac_fn_c_try_compile "$LINENO"; then :
   7957   xorg_cv_cc_flag_unknown_warning_option=yes
   7958 else
   7959   xorg_cv_cc_flag_unknown_warning_option=no
   7960 fi
   7961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7962 fi
   7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7966 	CFLAGS="$xorg_testset_save_CFLAGS"
   7967 fi
   7968 
   7969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 	fi
   7973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7977   $as_echo_n "(cached) " >&6
   7978 else
   7979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7980 /* end confdefs.h.  */
   7981 int i;
   7982 _ACEOF
   7983 if ac_fn_c_try_compile "$LINENO"; then :
   7984   xorg_cv_cc_flag_unused_command_line_argument=yes
   7985 else
   7986   xorg_cv_cc_flag_unused_command_line_argument=no
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7989 fi
   7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7993 	CFLAGS="$xorg_testset_save_CFLAGS"
   7994 fi
   7995 
   7996 found="no"
   7997 
   7998 	if test $found = "no" ; then
   7999 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8001 		fi
   8002 
   8003 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8005 		fi
   8006 
   8007 		CFLAGS="$CFLAGS -Werror=write-strings"
   8008 
   8009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   8010 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   8011 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8012 		if eval \${$cacheid+:} false; then :
   8013   $as_echo_n "(cached) " >&6
   8014 else
   8015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8016 /* end confdefs.h.  */
   8017 int i;
   8018 int
   8019 main ()
   8020 {
   8021 
   8022   ;
   8023   return 0;
   8024 }
   8025 _ACEOF
   8026 if ac_fn_c_try_link "$LINENO"; then :
   8027   eval $cacheid=yes
   8028 else
   8029   eval $cacheid=no
   8030 fi
   8031 rm -f core conftest.err conftest.$ac_objext \
   8032     conftest$ac_exeext conftest.$ac_ext
   8033 fi
   8034 
   8035 
   8036 		CFLAGS="$xorg_testset_save_CFLAGS"
   8037 
   8038 		eval supported=\$$cacheid
   8039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8040 $as_echo "$supported" >&6; }
   8041 		if test "$supported" = "yes" ; then
   8042 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8043 			found="yes"
   8044 		fi
   8045 	fi
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 xorg_testset_save_CFLAGS="$CFLAGS"
   8062 
   8063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8066 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8067 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8068   $as_echo_n "(cached) " >&6
   8069 else
   8070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8071 /* end confdefs.h.  */
   8072 int i;
   8073 _ACEOF
   8074 if ac_fn_c_try_compile "$LINENO"; then :
   8075   xorg_cv_cc_flag_unknown_warning_option=yes
   8076 else
   8077   xorg_cv_cc_flag_unknown_warning_option=no
   8078 fi
   8079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8080 fi
   8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8082 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8084 	CFLAGS="$xorg_testset_save_CFLAGS"
   8085 fi
   8086 
   8087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8090 	fi
   8091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8093 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8094 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8095   $as_echo_n "(cached) " >&6
   8096 else
   8097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8098 /* end confdefs.h.  */
   8099 int i;
   8100 _ACEOF
   8101 if ac_fn_c_try_compile "$LINENO"; then :
   8102   xorg_cv_cc_flag_unused_command_line_argument=yes
   8103 else
   8104   xorg_cv_cc_flag_unused_command_line_argument=no
   8105 fi
   8106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8107 fi
   8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8109 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8111 	CFLAGS="$xorg_testset_save_CFLAGS"
   8112 fi
   8113 
   8114 found="no"
   8115 
   8116 	if test $found = "no" ; then
   8117 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8119 		fi
   8120 
   8121 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8123 		fi
   8124 
   8125 		CFLAGS="$CFLAGS -Werror=address"
   8126 
   8127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   8128 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   8129 		cacheid=xorg_cv_cc_flag__Werror_address
   8130 		if eval \${$cacheid+:} false; then :
   8131   $as_echo_n "(cached) " >&6
   8132 else
   8133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8134 /* end confdefs.h.  */
   8135 int i;
   8136 int
   8137 main ()
   8138 {
   8139 
   8140   ;
   8141   return 0;
   8142 }
   8143 _ACEOF
   8144 if ac_fn_c_try_link "$LINENO"; then :
   8145   eval $cacheid=yes
   8146 else
   8147   eval $cacheid=no
   8148 fi
   8149 rm -f core conftest.err conftest.$ac_objext \
   8150     conftest$ac_exeext conftest.$ac_ext
   8151 fi
   8152 
   8153 
   8154 		CFLAGS="$xorg_testset_save_CFLAGS"
   8155 
   8156 		eval supported=\$$cacheid
   8157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8158 $as_echo "$supported" >&6; }
   8159 		if test "$supported" = "yes" ; then
   8160 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8161 			found="yes"
   8162 		fi
   8163 	fi
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 xorg_testset_save_CFLAGS="$CFLAGS"
   8180 
   8181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8186   $as_echo_n "(cached) " >&6
   8187 else
   8188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8189 /* end confdefs.h.  */
   8190 int i;
   8191 _ACEOF
   8192 if ac_fn_c_try_compile "$LINENO"; then :
   8193   xorg_cv_cc_flag_unknown_warning_option=yes
   8194 else
   8195   xorg_cv_cc_flag_unknown_warning_option=no
   8196 fi
   8197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8198 fi
   8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8202 	CFLAGS="$xorg_testset_save_CFLAGS"
   8203 fi
   8204 
   8205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8208 	fi
   8209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8213   $as_echo_n "(cached) " >&6
   8214 else
   8215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8216 /* end confdefs.h.  */
   8217 int i;
   8218 _ACEOF
   8219 if ac_fn_c_try_compile "$LINENO"; then :
   8220   xorg_cv_cc_flag_unused_command_line_argument=yes
   8221 else
   8222   xorg_cv_cc_flag_unused_command_line_argument=no
   8223 fi
   8224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8225 fi
   8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8229 	CFLAGS="$xorg_testset_save_CFLAGS"
   8230 fi
   8231 
   8232 found="no"
   8233 
   8234 	if test $found = "no" ; then
   8235 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8237 		fi
   8238 
   8239 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8241 		fi
   8242 
   8243 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8244 
   8245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   8246 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   8247 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8248 		if eval \${$cacheid+:} false; then :
   8249   $as_echo_n "(cached) " >&6
   8250 else
   8251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8252 /* end confdefs.h.  */
   8253 int i;
   8254 int
   8255 main ()
   8256 {
   8257 
   8258   ;
   8259   return 0;
   8260 }
   8261 _ACEOF
   8262 if ac_fn_c_try_link "$LINENO"; then :
   8263   eval $cacheid=yes
   8264 else
   8265   eval $cacheid=no
   8266 fi
   8267 rm -f core conftest.err conftest.$ac_objext \
   8268     conftest$ac_exeext conftest.$ac_ext
   8269 fi
   8270 
   8271 
   8272 		CFLAGS="$xorg_testset_save_CFLAGS"
   8273 
   8274 		eval supported=\$$cacheid
   8275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8276 $as_echo "$supported" >&6; }
   8277 		if test "$supported" = "yes" ; then
   8278 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8279 			found="yes"
   8280 		fi
   8281 	fi
   8282 
   8283 	if test $found = "no" ; then
   8284 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8286 		fi
   8287 
   8288 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8290 		fi
   8291 
   8292 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8293 
   8294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8295 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8296 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8297 		if eval \${$cacheid+:} false; then :
   8298   $as_echo_n "(cached) " >&6
   8299 else
   8300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 int
   8304 main ()
   8305 {
   8306 
   8307   ;
   8308   return 0;
   8309 }
   8310 _ACEOF
   8311 if ac_fn_c_try_link "$LINENO"; then :
   8312   eval $cacheid=yes
   8313 else
   8314   eval $cacheid=no
   8315 fi
   8316 rm -f core conftest.err conftest.$ac_objext \
   8317     conftest$ac_exeext conftest.$ac_ext
   8318 fi
   8319 
   8320 
   8321 		CFLAGS="$xorg_testset_save_CFLAGS"
   8322 
   8323 		eval supported=\$$cacheid
   8324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8325 $as_echo "$supported" >&6; }
   8326 		if test "$supported" = "yes" ; then
   8327 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8328 			found="yes"
   8329 		fi
   8330 	fi
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 xorg_testset_save_CFLAGS="$CFLAGS"
   8347 
   8348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8351 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8352 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8353   $as_echo_n "(cached) " >&6
   8354 else
   8355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8356 /* end confdefs.h.  */
   8357 int i;
   8358 _ACEOF
   8359 if ac_fn_c_try_compile "$LINENO"; then :
   8360   xorg_cv_cc_flag_unknown_warning_option=yes
   8361 else
   8362   xorg_cv_cc_flag_unknown_warning_option=no
   8363 fi
   8364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8365 fi
   8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8367 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8368 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8369 	CFLAGS="$xorg_testset_save_CFLAGS"
   8370 fi
   8371 
   8372 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8373 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8374 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8375 	fi
   8376 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8377 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8378 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8379 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8380   $as_echo_n "(cached) " >&6
   8381 else
   8382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8383 /* end confdefs.h.  */
   8384 int i;
   8385 _ACEOF
   8386 if ac_fn_c_try_compile "$LINENO"; then :
   8387   xorg_cv_cc_flag_unused_command_line_argument=yes
   8388 else
   8389   xorg_cv_cc_flag_unused_command_line_argument=no
   8390 fi
   8391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8392 fi
   8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8394 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8396 	CFLAGS="$xorg_testset_save_CFLAGS"
   8397 fi
   8398 
   8399 found="no"
   8400 
   8401 	if test $found = "no" ; then
   8402 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8404 		fi
   8405 
   8406 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8408 		fi
   8409 
   8410 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8411 
   8412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   8413 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   8414 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8415 		if eval \${$cacheid+:} false; then :
   8416   $as_echo_n "(cached) " >&6
   8417 else
   8418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8419 /* end confdefs.h.  */
   8420 int i;
   8421 int
   8422 main ()
   8423 {
   8424 
   8425   ;
   8426   return 0;
   8427 }
   8428 _ACEOF
   8429 if ac_fn_c_try_link "$LINENO"; then :
   8430   eval $cacheid=yes
   8431 else
   8432   eval $cacheid=no
   8433 fi
   8434 rm -f core conftest.err conftest.$ac_objext \
   8435     conftest$ac_exeext conftest.$ac_ext
   8436 fi
   8437 
   8438 
   8439 		CFLAGS="$xorg_testset_save_CFLAGS"
   8440 
   8441 		eval supported=\$$cacheid
   8442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8443 $as_echo "$supported" >&6; }
   8444 		if test "$supported" = "yes" ; then
   8445 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8446 			found="yes"
   8447 		fi
   8448 	fi
   8449 
   8450  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8451 else
   8452 { $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
   8453 $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;}
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 xorg_testset_save_CFLAGS="$CFLAGS"
   8468 
   8469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8474   $as_echo_n "(cached) " >&6
   8475 else
   8476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 int i;
   8479 _ACEOF
   8480 if ac_fn_c_try_compile "$LINENO"; then :
   8481   xorg_cv_cc_flag_unknown_warning_option=yes
   8482 else
   8483   xorg_cv_cc_flag_unknown_warning_option=no
   8484 fi
   8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8486 fi
   8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8490 	CFLAGS="$xorg_testset_save_CFLAGS"
   8491 fi
   8492 
   8493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8496 	fi
   8497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8501   $as_echo_n "(cached) " >&6
   8502 else
   8503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8504 /* end confdefs.h.  */
   8505 int i;
   8506 _ACEOF
   8507 if ac_fn_c_try_compile "$LINENO"; then :
   8508   xorg_cv_cc_flag_unused_command_line_argument=yes
   8509 else
   8510   xorg_cv_cc_flag_unused_command_line_argument=no
   8511 fi
   8512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8513 fi
   8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8517 	CFLAGS="$xorg_testset_save_CFLAGS"
   8518 fi
   8519 
   8520 found="no"
   8521 
   8522 	if test $found = "no" ; then
   8523 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8525 		fi
   8526 
   8527 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8529 		fi
   8530 
   8531 		CFLAGS="$CFLAGS -Wimplicit"
   8532 
   8533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   8534 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   8535 		cacheid=xorg_cv_cc_flag__Wimplicit
   8536 		if eval \${$cacheid+:} false; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8540 /* end confdefs.h.  */
   8541 int i;
   8542 int
   8543 main ()
   8544 {
   8545 
   8546   ;
   8547   return 0;
   8548 }
   8549 _ACEOF
   8550 if ac_fn_c_try_link "$LINENO"; then :
   8551   eval $cacheid=yes
   8552 else
   8553   eval $cacheid=no
   8554 fi
   8555 rm -f core conftest.err conftest.$ac_objext \
   8556     conftest$ac_exeext conftest.$ac_ext
   8557 fi
   8558 
   8559 
   8560 		CFLAGS="$xorg_testset_save_CFLAGS"
   8561 
   8562 		eval supported=\$$cacheid
   8563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8564 $as_echo "$supported" >&6; }
   8565 		if test "$supported" = "yes" ; then
   8566 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8567 			found="yes"
   8568 		fi
   8569 	fi
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 xorg_testset_save_CFLAGS="$CFLAGS"
   8586 
   8587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8592   $as_echo_n "(cached) " >&6
   8593 else
   8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 _ACEOF
   8598 if ac_fn_c_try_compile "$LINENO"; then :
   8599   xorg_cv_cc_flag_unknown_warning_option=yes
   8600 else
   8601   xorg_cv_cc_flag_unknown_warning_option=no
   8602 fi
   8603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8604 fi
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8608 	CFLAGS="$xorg_testset_save_CFLAGS"
   8609 fi
   8610 
   8611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8614 	fi
   8615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8619   $as_echo_n "(cached) " >&6
   8620 else
   8621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8622 /* end confdefs.h.  */
   8623 int i;
   8624 _ACEOF
   8625 if ac_fn_c_try_compile "$LINENO"; then :
   8626   xorg_cv_cc_flag_unused_command_line_argument=yes
   8627 else
   8628   xorg_cv_cc_flag_unused_command_line_argument=no
   8629 fi
   8630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8631 fi
   8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8635 	CFLAGS="$xorg_testset_save_CFLAGS"
   8636 fi
   8637 
   8638 found="no"
   8639 
   8640 	if test $found = "no" ; then
   8641 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8643 		fi
   8644 
   8645 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8647 		fi
   8648 
   8649 		CFLAGS="$CFLAGS -Wnonnull"
   8650 
   8651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   8652 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   8653 		cacheid=xorg_cv_cc_flag__Wnonnull
   8654 		if eval \${$cacheid+:} false; then :
   8655   $as_echo_n "(cached) " >&6
   8656 else
   8657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8658 /* end confdefs.h.  */
   8659 int i;
   8660 int
   8661 main ()
   8662 {
   8663 
   8664   ;
   8665   return 0;
   8666 }
   8667 _ACEOF
   8668 if ac_fn_c_try_link "$LINENO"; then :
   8669   eval $cacheid=yes
   8670 else
   8671   eval $cacheid=no
   8672 fi
   8673 rm -f core conftest.err conftest.$ac_objext \
   8674     conftest$ac_exeext conftest.$ac_ext
   8675 fi
   8676 
   8677 
   8678 		CFLAGS="$xorg_testset_save_CFLAGS"
   8679 
   8680 		eval supported=\$$cacheid
   8681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8682 $as_echo "$supported" >&6; }
   8683 		if test "$supported" = "yes" ; then
   8684 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8685 			found="yes"
   8686 		fi
   8687 	fi
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 xorg_testset_save_CFLAGS="$CFLAGS"
   8704 
   8705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8710   $as_echo_n "(cached) " >&6
   8711 else
   8712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8713 /* end confdefs.h.  */
   8714 int i;
   8715 _ACEOF
   8716 if ac_fn_c_try_compile "$LINENO"; then :
   8717   xorg_cv_cc_flag_unknown_warning_option=yes
   8718 else
   8719   xorg_cv_cc_flag_unknown_warning_option=no
   8720 fi
   8721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8722 fi
   8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8726 	CFLAGS="$xorg_testset_save_CFLAGS"
   8727 fi
   8728 
   8729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8732 	fi
   8733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8737   $as_echo_n "(cached) " >&6
   8738 else
   8739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8740 /* end confdefs.h.  */
   8741 int i;
   8742 _ACEOF
   8743 if ac_fn_c_try_compile "$LINENO"; then :
   8744   xorg_cv_cc_flag_unused_command_line_argument=yes
   8745 else
   8746   xorg_cv_cc_flag_unused_command_line_argument=no
   8747 fi
   8748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8749 fi
   8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8753 	CFLAGS="$xorg_testset_save_CFLAGS"
   8754 fi
   8755 
   8756 found="no"
   8757 
   8758 	if test $found = "no" ; then
   8759 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8761 		fi
   8762 
   8763 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8765 		fi
   8766 
   8767 		CFLAGS="$CFLAGS -Winit-self"
   8768 
   8769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   8770 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   8771 		cacheid=xorg_cv_cc_flag__Winit_self
   8772 		if eval \${$cacheid+:} false; then :
   8773   $as_echo_n "(cached) " >&6
   8774 else
   8775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8776 /* end confdefs.h.  */
   8777 int i;
   8778 int
   8779 main ()
   8780 {
   8781 
   8782   ;
   8783   return 0;
   8784 }
   8785 _ACEOF
   8786 if ac_fn_c_try_link "$LINENO"; then :
   8787   eval $cacheid=yes
   8788 else
   8789   eval $cacheid=no
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext \
   8792     conftest$ac_exeext conftest.$ac_ext
   8793 fi
   8794 
   8795 
   8796 		CFLAGS="$xorg_testset_save_CFLAGS"
   8797 
   8798 		eval supported=\$$cacheid
   8799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8800 $as_echo "$supported" >&6; }
   8801 		if test "$supported" = "yes" ; then
   8802 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8803 			found="yes"
   8804 		fi
   8805 	fi
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 xorg_testset_save_CFLAGS="$CFLAGS"
   8822 
   8823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8828   $as_echo_n "(cached) " >&6
   8829 else
   8830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8831 /* end confdefs.h.  */
   8832 int i;
   8833 _ACEOF
   8834 if ac_fn_c_try_compile "$LINENO"; then :
   8835   xorg_cv_cc_flag_unknown_warning_option=yes
   8836 else
   8837   xorg_cv_cc_flag_unknown_warning_option=no
   8838 fi
   8839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8840 fi
   8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8844 	CFLAGS="$xorg_testset_save_CFLAGS"
   8845 fi
   8846 
   8847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8850 	fi
   8851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8855   $as_echo_n "(cached) " >&6
   8856 else
   8857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8858 /* end confdefs.h.  */
   8859 int i;
   8860 _ACEOF
   8861 if ac_fn_c_try_compile "$LINENO"; then :
   8862   xorg_cv_cc_flag_unused_command_line_argument=yes
   8863 else
   8864   xorg_cv_cc_flag_unused_command_line_argument=no
   8865 fi
   8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8867 fi
   8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8871 	CFLAGS="$xorg_testset_save_CFLAGS"
   8872 fi
   8873 
   8874 found="no"
   8875 
   8876 	if test $found = "no" ; then
   8877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8879 		fi
   8880 
   8881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8883 		fi
   8884 
   8885 		CFLAGS="$CFLAGS -Wmain"
   8886 
   8887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   8888 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   8889 		cacheid=xorg_cv_cc_flag__Wmain
   8890 		if eval \${$cacheid+:} false; then :
   8891   $as_echo_n "(cached) " >&6
   8892 else
   8893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8894 /* end confdefs.h.  */
   8895 int i;
   8896 int
   8897 main ()
   8898 {
   8899 
   8900   ;
   8901   return 0;
   8902 }
   8903 _ACEOF
   8904 if ac_fn_c_try_link "$LINENO"; then :
   8905   eval $cacheid=yes
   8906 else
   8907   eval $cacheid=no
   8908 fi
   8909 rm -f core conftest.err conftest.$ac_objext \
   8910     conftest$ac_exeext conftest.$ac_ext
   8911 fi
   8912 
   8913 
   8914 		CFLAGS="$xorg_testset_save_CFLAGS"
   8915 
   8916 		eval supported=\$$cacheid
   8917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8918 $as_echo "$supported" >&6; }
   8919 		if test "$supported" = "yes" ; then
   8920 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8921 			found="yes"
   8922 		fi
   8923 	fi
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 xorg_testset_save_CFLAGS="$CFLAGS"
   8940 
   8941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8946   $as_echo_n "(cached) " >&6
   8947 else
   8948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8949 /* end confdefs.h.  */
   8950 int i;
   8951 _ACEOF
   8952 if ac_fn_c_try_compile "$LINENO"; then :
   8953   xorg_cv_cc_flag_unknown_warning_option=yes
   8954 else
   8955   xorg_cv_cc_flag_unknown_warning_option=no
   8956 fi
   8957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8958 fi
   8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8962 	CFLAGS="$xorg_testset_save_CFLAGS"
   8963 fi
   8964 
   8965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8968 	fi
   8969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8973   $as_echo_n "(cached) " >&6
   8974 else
   8975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8976 /* end confdefs.h.  */
   8977 int i;
   8978 _ACEOF
   8979 if ac_fn_c_try_compile "$LINENO"; then :
   8980   xorg_cv_cc_flag_unused_command_line_argument=yes
   8981 else
   8982   xorg_cv_cc_flag_unused_command_line_argument=no
   8983 fi
   8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8985 fi
   8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8989 	CFLAGS="$xorg_testset_save_CFLAGS"
   8990 fi
   8991 
   8992 found="no"
   8993 
   8994 	if test $found = "no" ; then
   8995 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8997 		fi
   8998 
   8999 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9001 		fi
   9002 
   9003 		CFLAGS="$CFLAGS -Wmissing-braces"
   9004 
   9005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   9006 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   9007 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9008 		if eval \${$cacheid+:} false; then :
   9009   $as_echo_n "(cached) " >&6
   9010 else
   9011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9012 /* end confdefs.h.  */
   9013 int i;
   9014 int
   9015 main ()
   9016 {
   9017 
   9018   ;
   9019   return 0;
   9020 }
   9021 _ACEOF
   9022 if ac_fn_c_try_link "$LINENO"; then :
   9023   eval $cacheid=yes
   9024 else
   9025   eval $cacheid=no
   9026 fi
   9027 rm -f core conftest.err conftest.$ac_objext \
   9028     conftest$ac_exeext conftest.$ac_ext
   9029 fi
   9030 
   9031 
   9032 		CFLAGS="$xorg_testset_save_CFLAGS"
   9033 
   9034 		eval supported=\$$cacheid
   9035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9036 $as_echo "$supported" >&6; }
   9037 		if test "$supported" = "yes" ; then
   9038 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9039 			found="yes"
   9040 		fi
   9041 	fi
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 xorg_testset_save_CFLAGS="$CFLAGS"
   9058 
   9059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9064   $as_echo_n "(cached) " >&6
   9065 else
   9066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9067 /* end confdefs.h.  */
   9068 int i;
   9069 _ACEOF
   9070 if ac_fn_c_try_compile "$LINENO"; then :
   9071   xorg_cv_cc_flag_unknown_warning_option=yes
   9072 else
   9073   xorg_cv_cc_flag_unknown_warning_option=no
   9074 fi
   9075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9076 fi
   9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9080 	CFLAGS="$xorg_testset_save_CFLAGS"
   9081 fi
   9082 
   9083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 	fi
   9087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9091   $as_echo_n "(cached) " >&6
   9092 else
   9093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9094 /* end confdefs.h.  */
   9095 int i;
   9096 _ACEOF
   9097 if ac_fn_c_try_compile "$LINENO"; then :
   9098   xorg_cv_cc_flag_unused_command_line_argument=yes
   9099 else
   9100   xorg_cv_cc_flag_unused_command_line_argument=no
   9101 fi
   9102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9103 fi
   9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9107 	CFLAGS="$xorg_testset_save_CFLAGS"
   9108 fi
   9109 
   9110 found="no"
   9111 
   9112 	if test $found = "no" ; then
   9113 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9115 		fi
   9116 
   9117 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9119 		fi
   9120 
   9121 		CFLAGS="$CFLAGS -Wsequence-point"
   9122 
   9123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   9124 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   9125 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9126 		if eval \${$cacheid+:} false; then :
   9127   $as_echo_n "(cached) " >&6
   9128 else
   9129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 int
   9133 main ()
   9134 {
   9135 
   9136   ;
   9137   return 0;
   9138 }
   9139 _ACEOF
   9140 if ac_fn_c_try_link "$LINENO"; then :
   9141   eval $cacheid=yes
   9142 else
   9143   eval $cacheid=no
   9144 fi
   9145 rm -f core conftest.err conftest.$ac_objext \
   9146     conftest$ac_exeext conftest.$ac_ext
   9147 fi
   9148 
   9149 
   9150 		CFLAGS="$xorg_testset_save_CFLAGS"
   9151 
   9152 		eval supported=\$$cacheid
   9153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9154 $as_echo "$supported" >&6; }
   9155 		if test "$supported" = "yes" ; then
   9156 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9157 			found="yes"
   9158 		fi
   9159 	fi
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 xorg_testset_save_CFLAGS="$CFLAGS"
   9176 
   9177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9182   $as_echo_n "(cached) " >&6
   9183 else
   9184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9185 /* end confdefs.h.  */
   9186 int i;
   9187 _ACEOF
   9188 if ac_fn_c_try_compile "$LINENO"; then :
   9189   xorg_cv_cc_flag_unknown_warning_option=yes
   9190 else
   9191   xorg_cv_cc_flag_unknown_warning_option=no
   9192 fi
   9193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9194 fi
   9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9198 	CFLAGS="$xorg_testset_save_CFLAGS"
   9199 fi
   9200 
   9201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9204 	fi
   9205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9209   $as_echo_n "(cached) " >&6
   9210 else
   9211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9212 /* end confdefs.h.  */
   9213 int i;
   9214 _ACEOF
   9215 if ac_fn_c_try_compile "$LINENO"; then :
   9216   xorg_cv_cc_flag_unused_command_line_argument=yes
   9217 else
   9218   xorg_cv_cc_flag_unused_command_line_argument=no
   9219 fi
   9220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9221 fi
   9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9225 	CFLAGS="$xorg_testset_save_CFLAGS"
   9226 fi
   9227 
   9228 found="no"
   9229 
   9230 	if test $found = "no" ; then
   9231 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9233 		fi
   9234 
   9235 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9237 		fi
   9238 
   9239 		CFLAGS="$CFLAGS -Wreturn-type"
   9240 
   9241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   9242 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   9243 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9244 		if eval \${$cacheid+:} false; then :
   9245   $as_echo_n "(cached) " >&6
   9246 else
   9247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9248 /* end confdefs.h.  */
   9249 int i;
   9250 int
   9251 main ()
   9252 {
   9253 
   9254   ;
   9255   return 0;
   9256 }
   9257 _ACEOF
   9258 if ac_fn_c_try_link "$LINENO"; then :
   9259   eval $cacheid=yes
   9260 else
   9261   eval $cacheid=no
   9262 fi
   9263 rm -f core conftest.err conftest.$ac_objext \
   9264     conftest$ac_exeext conftest.$ac_ext
   9265 fi
   9266 
   9267 
   9268 		CFLAGS="$xorg_testset_save_CFLAGS"
   9269 
   9270 		eval supported=\$$cacheid
   9271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9272 $as_echo "$supported" >&6; }
   9273 		if test "$supported" = "yes" ; then
   9274 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9275 			found="yes"
   9276 		fi
   9277 	fi
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 xorg_testset_save_CFLAGS="$CFLAGS"
   9294 
   9295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9300   $as_echo_n "(cached) " >&6
   9301 else
   9302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9303 /* end confdefs.h.  */
   9304 int i;
   9305 _ACEOF
   9306 if ac_fn_c_try_compile "$LINENO"; then :
   9307   xorg_cv_cc_flag_unknown_warning_option=yes
   9308 else
   9309   xorg_cv_cc_flag_unknown_warning_option=no
   9310 fi
   9311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9312 fi
   9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9316 	CFLAGS="$xorg_testset_save_CFLAGS"
   9317 fi
   9318 
   9319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 	fi
   9323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9327   $as_echo_n "(cached) " >&6
   9328 else
   9329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9330 /* end confdefs.h.  */
   9331 int i;
   9332 _ACEOF
   9333 if ac_fn_c_try_compile "$LINENO"; then :
   9334   xorg_cv_cc_flag_unused_command_line_argument=yes
   9335 else
   9336   xorg_cv_cc_flag_unused_command_line_argument=no
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9339 fi
   9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9343 	CFLAGS="$xorg_testset_save_CFLAGS"
   9344 fi
   9345 
   9346 found="no"
   9347 
   9348 	if test $found = "no" ; then
   9349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 		fi
   9352 
   9353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9355 		fi
   9356 
   9357 		CFLAGS="$CFLAGS -Wtrigraphs"
   9358 
   9359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   9360 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   9361 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9362 		if eval \${$cacheid+:} false; then :
   9363   $as_echo_n "(cached) " >&6
   9364 else
   9365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9366 /* end confdefs.h.  */
   9367 int i;
   9368 int
   9369 main ()
   9370 {
   9371 
   9372   ;
   9373   return 0;
   9374 }
   9375 _ACEOF
   9376 if ac_fn_c_try_link "$LINENO"; then :
   9377   eval $cacheid=yes
   9378 else
   9379   eval $cacheid=no
   9380 fi
   9381 rm -f core conftest.err conftest.$ac_objext \
   9382     conftest$ac_exeext conftest.$ac_ext
   9383 fi
   9384 
   9385 
   9386 		CFLAGS="$xorg_testset_save_CFLAGS"
   9387 
   9388 		eval supported=\$$cacheid
   9389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9390 $as_echo "$supported" >&6; }
   9391 		if test "$supported" = "yes" ; then
   9392 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9393 			found="yes"
   9394 		fi
   9395 	fi
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 xorg_testset_save_CFLAGS="$CFLAGS"
   9412 
   9413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9418   $as_echo_n "(cached) " >&6
   9419 else
   9420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9421 /* end confdefs.h.  */
   9422 int i;
   9423 _ACEOF
   9424 if ac_fn_c_try_compile "$LINENO"; then :
   9425   xorg_cv_cc_flag_unknown_warning_option=yes
   9426 else
   9427   xorg_cv_cc_flag_unknown_warning_option=no
   9428 fi
   9429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9430 fi
   9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9434 	CFLAGS="$xorg_testset_save_CFLAGS"
   9435 fi
   9436 
   9437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 	fi
   9441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9445   $as_echo_n "(cached) " >&6
   9446 else
   9447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9448 /* end confdefs.h.  */
   9449 int i;
   9450 _ACEOF
   9451 if ac_fn_c_try_compile "$LINENO"; then :
   9452   xorg_cv_cc_flag_unused_command_line_argument=yes
   9453 else
   9454   xorg_cv_cc_flag_unused_command_line_argument=no
   9455 fi
   9456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9457 fi
   9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9461 	CFLAGS="$xorg_testset_save_CFLAGS"
   9462 fi
   9463 
   9464 found="no"
   9465 
   9466 	if test $found = "no" ; then
   9467 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9469 		fi
   9470 
   9471 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9473 		fi
   9474 
   9475 		CFLAGS="$CFLAGS -Warray-bounds"
   9476 
   9477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   9478 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   9479 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9480 		if eval \${$cacheid+:} false; then :
   9481   $as_echo_n "(cached) " >&6
   9482 else
   9483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9484 /* end confdefs.h.  */
   9485 int i;
   9486 int
   9487 main ()
   9488 {
   9489 
   9490   ;
   9491   return 0;
   9492 }
   9493 _ACEOF
   9494 if ac_fn_c_try_link "$LINENO"; then :
   9495   eval $cacheid=yes
   9496 else
   9497   eval $cacheid=no
   9498 fi
   9499 rm -f core conftest.err conftest.$ac_objext \
   9500     conftest$ac_exeext conftest.$ac_ext
   9501 fi
   9502 
   9503 
   9504 		CFLAGS="$xorg_testset_save_CFLAGS"
   9505 
   9506 		eval supported=\$$cacheid
   9507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9508 $as_echo "$supported" >&6; }
   9509 		if test "$supported" = "yes" ; then
   9510 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9511 			found="yes"
   9512 		fi
   9513 	fi
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 xorg_testset_save_CFLAGS="$CFLAGS"
   9530 
   9531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9536   $as_echo_n "(cached) " >&6
   9537 else
   9538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9539 /* end confdefs.h.  */
   9540 int i;
   9541 _ACEOF
   9542 if ac_fn_c_try_compile "$LINENO"; then :
   9543   xorg_cv_cc_flag_unknown_warning_option=yes
   9544 else
   9545   xorg_cv_cc_flag_unknown_warning_option=no
   9546 fi
   9547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9548 fi
   9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9552 	CFLAGS="$xorg_testset_save_CFLAGS"
   9553 fi
   9554 
   9555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 	fi
   9559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9563   $as_echo_n "(cached) " >&6
   9564 else
   9565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9566 /* end confdefs.h.  */
   9567 int i;
   9568 _ACEOF
   9569 if ac_fn_c_try_compile "$LINENO"; then :
   9570   xorg_cv_cc_flag_unused_command_line_argument=yes
   9571 else
   9572   xorg_cv_cc_flag_unused_command_line_argument=no
   9573 fi
   9574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9575 fi
   9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9579 	CFLAGS="$xorg_testset_save_CFLAGS"
   9580 fi
   9581 
   9582 found="no"
   9583 
   9584 	if test $found = "no" ; then
   9585 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9587 		fi
   9588 
   9589 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9591 		fi
   9592 
   9593 		CFLAGS="$CFLAGS -Wwrite-strings"
   9594 
   9595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   9596 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   9597 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9598 		if eval \${$cacheid+:} false; then :
   9599   $as_echo_n "(cached) " >&6
   9600 else
   9601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9602 /* end confdefs.h.  */
   9603 int i;
   9604 int
   9605 main ()
   9606 {
   9607 
   9608   ;
   9609   return 0;
   9610 }
   9611 _ACEOF
   9612 if ac_fn_c_try_link "$LINENO"; then :
   9613   eval $cacheid=yes
   9614 else
   9615   eval $cacheid=no
   9616 fi
   9617 rm -f core conftest.err conftest.$ac_objext \
   9618     conftest$ac_exeext conftest.$ac_ext
   9619 fi
   9620 
   9621 
   9622 		CFLAGS="$xorg_testset_save_CFLAGS"
   9623 
   9624 		eval supported=\$$cacheid
   9625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9626 $as_echo "$supported" >&6; }
   9627 		if test "$supported" = "yes" ; then
   9628 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9629 			found="yes"
   9630 		fi
   9631 	fi
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 xorg_testset_save_CFLAGS="$CFLAGS"
   9648 
   9649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9654   $as_echo_n "(cached) " >&6
   9655 else
   9656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9657 /* end confdefs.h.  */
   9658 int i;
   9659 _ACEOF
   9660 if ac_fn_c_try_compile "$LINENO"; then :
   9661   xorg_cv_cc_flag_unknown_warning_option=yes
   9662 else
   9663   xorg_cv_cc_flag_unknown_warning_option=no
   9664 fi
   9665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9666 fi
   9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9670 	CFLAGS="$xorg_testset_save_CFLAGS"
   9671 fi
   9672 
   9673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9676 	fi
   9677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9681   $as_echo_n "(cached) " >&6
   9682 else
   9683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9684 /* end confdefs.h.  */
   9685 int i;
   9686 _ACEOF
   9687 if ac_fn_c_try_compile "$LINENO"; then :
   9688   xorg_cv_cc_flag_unused_command_line_argument=yes
   9689 else
   9690   xorg_cv_cc_flag_unused_command_line_argument=no
   9691 fi
   9692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9693 fi
   9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9697 	CFLAGS="$xorg_testset_save_CFLAGS"
   9698 fi
   9699 
   9700 found="no"
   9701 
   9702 	if test $found = "no" ; then
   9703 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9705 		fi
   9706 
   9707 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9709 		fi
   9710 
   9711 		CFLAGS="$CFLAGS -Waddress"
   9712 
   9713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   9714 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   9715 		cacheid=xorg_cv_cc_flag__Waddress
   9716 		if eval \${$cacheid+:} false; then :
   9717   $as_echo_n "(cached) " >&6
   9718 else
   9719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 int i;
   9722 int
   9723 main ()
   9724 {
   9725 
   9726   ;
   9727   return 0;
   9728 }
   9729 _ACEOF
   9730 if ac_fn_c_try_link "$LINENO"; then :
   9731   eval $cacheid=yes
   9732 else
   9733   eval $cacheid=no
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext \
   9736     conftest$ac_exeext conftest.$ac_ext
   9737 fi
   9738 
   9739 
   9740 		CFLAGS="$xorg_testset_save_CFLAGS"
   9741 
   9742 		eval supported=\$$cacheid
   9743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9744 $as_echo "$supported" >&6; }
   9745 		if test "$supported" = "yes" ; then
   9746 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9747 			found="yes"
   9748 		fi
   9749 	fi
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 xorg_testset_save_CFLAGS="$CFLAGS"
   9766 
   9767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9772   $as_echo_n "(cached) " >&6
   9773 else
   9774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9775 /* end confdefs.h.  */
   9776 int i;
   9777 _ACEOF
   9778 if ac_fn_c_try_compile "$LINENO"; then :
   9779   xorg_cv_cc_flag_unknown_warning_option=yes
   9780 else
   9781   xorg_cv_cc_flag_unknown_warning_option=no
   9782 fi
   9783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9784 fi
   9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9788 	CFLAGS="$xorg_testset_save_CFLAGS"
   9789 fi
   9790 
   9791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9794 	fi
   9795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9799   $as_echo_n "(cached) " >&6
   9800 else
   9801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9802 /* end confdefs.h.  */
   9803 int i;
   9804 _ACEOF
   9805 if ac_fn_c_try_compile "$LINENO"; then :
   9806   xorg_cv_cc_flag_unused_command_line_argument=yes
   9807 else
   9808   xorg_cv_cc_flag_unused_command_line_argument=no
   9809 fi
   9810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9811 fi
   9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9815 	CFLAGS="$xorg_testset_save_CFLAGS"
   9816 fi
   9817 
   9818 found="no"
   9819 
   9820 	if test $found = "no" ; then
   9821 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9823 		fi
   9824 
   9825 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9827 		fi
   9828 
   9829 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9830 
   9831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   9832 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   9833 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9834 		if eval \${$cacheid+:} false; then :
   9835   $as_echo_n "(cached) " >&6
   9836 else
   9837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9838 /* end confdefs.h.  */
   9839 int i;
   9840 int
   9841 main ()
   9842 {
   9843 
   9844   ;
   9845   return 0;
   9846 }
   9847 _ACEOF
   9848 if ac_fn_c_try_link "$LINENO"; then :
   9849   eval $cacheid=yes
   9850 else
   9851   eval $cacheid=no
   9852 fi
   9853 rm -f core conftest.err conftest.$ac_objext \
   9854     conftest$ac_exeext conftest.$ac_ext
   9855 fi
   9856 
   9857 
   9858 		CFLAGS="$xorg_testset_save_CFLAGS"
   9859 
   9860 		eval supported=\$$cacheid
   9861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9862 $as_echo "$supported" >&6; }
   9863 		if test "$supported" = "yes" ; then
   9864 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9865 			found="yes"
   9866 		fi
   9867 	fi
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 xorg_testset_save_CFLAGS="$CFLAGS"
   9884 
   9885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9888 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9889 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9890   $as_echo_n "(cached) " >&6
   9891 else
   9892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9893 /* end confdefs.h.  */
   9894 int i;
   9895 _ACEOF
   9896 if ac_fn_c_try_compile "$LINENO"; then :
   9897   xorg_cv_cc_flag_unknown_warning_option=yes
   9898 else
   9899   xorg_cv_cc_flag_unknown_warning_option=no
   9900 fi
   9901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9902 fi
   9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9904 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9906 	CFLAGS="$xorg_testset_save_CFLAGS"
   9907 fi
   9908 
   9909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9912 	fi
   9913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9915 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9916 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9917   $as_echo_n "(cached) " >&6
   9918 else
   9919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9920 /* end confdefs.h.  */
   9921 int i;
   9922 _ACEOF
   9923 if ac_fn_c_try_compile "$LINENO"; then :
   9924   xorg_cv_cc_flag_unused_command_line_argument=yes
   9925 else
   9926   xorg_cv_cc_flag_unused_command_line_argument=no
   9927 fi
   9928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9929 fi
   9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9931 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9933 	CFLAGS="$xorg_testset_save_CFLAGS"
   9934 fi
   9935 
   9936 found="no"
   9937 
   9938 	if test $found = "no" ; then
   9939 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9941 		fi
   9942 
   9943 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9945 		fi
   9946 
   9947 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9948 
   9949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   9950 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   9951 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9952 		if eval \${$cacheid+:} false; then :
   9953   $as_echo_n "(cached) " >&6
   9954 else
   9955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9956 /* end confdefs.h.  */
   9957 int i;
   9958 int
   9959 main ()
   9960 {
   9961 
   9962   ;
   9963   return 0;
   9964 }
   9965 _ACEOF
   9966 if ac_fn_c_try_link "$LINENO"; then :
   9967   eval $cacheid=yes
   9968 else
   9969   eval $cacheid=no
   9970 fi
   9971 rm -f core conftest.err conftest.$ac_objext \
   9972     conftest$ac_exeext conftest.$ac_ext
   9973 fi
   9974 
   9975 
   9976 		CFLAGS="$xorg_testset_save_CFLAGS"
   9977 
   9978 		eval supported=\$$cacheid
   9979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9980 $as_echo "$supported" >&6; }
   9981 		if test "$supported" = "yes" ; then
   9982 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9983 			found="yes"
   9984 		fi
   9985 	fi
   9986 
   9987 
   9988 fi
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 		CWARNFLAGS="$BASE_CFLAGS"
   9997 		if  test "x$GCC" = xyes ; then
   9998 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9999 		fi
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 # Check whether --enable-strict-compilation was given.
   10009 if test "${enable_strict_compilation+set}" = set; then :
   10010   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10011 else
   10012   STRICT_COMPILE=no
   10013 fi
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 STRICT_CFLAGS=""
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 xorg_testset_save_CFLAGS="$CFLAGS"
   10035 
   10036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10041   $as_echo_n "(cached) " >&6
   10042 else
   10043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10044 /* end confdefs.h.  */
   10045 int i;
   10046 _ACEOF
   10047 if ac_fn_c_try_compile "$LINENO"; then :
   10048   xorg_cv_cc_flag_unknown_warning_option=yes
   10049 else
   10050   xorg_cv_cc_flag_unknown_warning_option=no
   10051 fi
   10052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10053 fi
   10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10057 	CFLAGS="$xorg_testset_save_CFLAGS"
   10058 fi
   10059 
   10060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10063 	fi
   10064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10068   $as_echo_n "(cached) " >&6
   10069 else
   10070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10071 /* end confdefs.h.  */
   10072 int i;
   10073 _ACEOF
   10074 if ac_fn_c_try_compile "$LINENO"; then :
   10075   xorg_cv_cc_flag_unused_command_line_argument=yes
   10076 else
   10077   xorg_cv_cc_flag_unused_command_line_argument=no
   10078 fi
   10079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10080 fi
   10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10084 	CFLAGS="$xorg_testset_save_CFLAGS"
   10085 fi
   10086 
   10087 found="no"
   10088 
   10089 	if test $found = "no" ; then
   10090 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10092 		fi
   10093 
   10094 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10096 		fi
   10097 
   10098 		CFLAGS="$CFLAGS -pedantic"
   10099 
   10100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   10101 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   10102 		cacheid=xorg_cv_cc_flag__pedantic
   10103 		if eval \${$cacheid+:} false; then :
   10104   $as_echo_n "(cached) " >&6
   10105 else
   10106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10107 /* end confdefs.h.  */
   10108 int i;
   10109 int
   10110 main ()
   10111 {
   10112 
   10113   ;
   10114   return 0;
   10115 }
   10116 _ACEOF
   10117 if ac_fn_c_try_link "$LINENO"; then :
   10118   eval $cacheid=yes
   10119 else
   10120   eval $cacheid=no
   10121 fi
   10122 rm -f core conftest.err conftest.$ac_objext \
   10123     conftest$ac_exeext conftest.$ac_ext
   10124 fi
   10125 
   10126 
   10127 		CFLAGS="$xorg_testset_save_CFLAGS"
   10128 
   10129 		eval supported=\$$cacheid
   10130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10131 $as_echo "$supported" >&6; }
   10132 		if test "$supported" = "yes" ; then
   10133 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10134 			found="yes"
   10135 		fi
   10136 	fi
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 xorg_testset_save_CFLAGS="$CFLAGS"
   10153 
   10154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10159   $as_echo_n "(cached) " >&6
   10160 else
   10161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10162 /* end confdefs.h.  */
   10163 int i;
   10164 _ACEOF
   10165 if ac_fn_c_try_compile "$LINENO"; then :
   10166   xorg_cv_cc_flag_unknown_warning_option=yes
   10167 else
   10168   xorg_cv_cc_flag_unknown_warning_option=no
   10169 fi
   10170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10171 fi
   10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10175 	CFLAGS="$xorg_testset_save_CFLAGS"
   10176 fi
   10177 
   10178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10181 	fi
   10182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10186   $as_echo_n "(cached) " >&6
   10187 else
   10188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10189 /* end confdefs.h.  */
   10190 int i;
   10191 _ACEOF
   10192 if ac_fn_c_try_compile "$LINENO"; then :
   10193   xorg_cv_cc_flag_unused_command_line_argument=yes
   10194 else
   10195   xorg_cv_cc_flag_unused_command_line_argument=no
   10196 fi
   10197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10198 fi
   10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10202 	CFLAGS="$xorg_testset_save_CFLAGS"
   10203 fi
   10204 
   10205 found="no"
   10206 
   10207 	if test $found = "no" ; then
   10208 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 		fi
   10211 
   10212 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10214 		fi
   10215 
   10216 		CFLAGS="$CFLAGS -Werror"
   10217 
   10218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   10219 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   10220 		cacheid=xorg_cv_cc_flag__Werror
   10221 		if eval \${$cacheid+:} false; then :
   10222   $as_echo_n "(cached) " >&6
   10223 else
   10224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10225 /* end confdefs.h.  */
   10226 int i;
   10227 int
   10228 main ()
   10229 {
   10230 
   10231   ;
   10232   return 0;
   10233 }
   10234 _ACEOF
   10235 if ac_fn_c_try_link "$LINENO"; then :
   10236   eval $cacheid=yes
   10237 else
   10238   eval $cacheid=no
   10239 fi
   10240 rm -f core conftest.err conftest.$ac_objext \
   10241     conftest$ac_exeext conftest.$ac_ext
   10242 fi
   10243 
   10244 
   10245 		CFLAGS="$xorg_testset_save_CFLAGS"
   10246 
   10247 		eval supported=\$$cacheid
   10248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10249 $as_echo "$supported" >&6; }
   10250 		if test "$supported" = "yes" ; then
   10251 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10252 			found="yes"
   10253 		fi
   10254 	fi
   10255 
   10256 	if test $found = "no" ; then
   10257 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10259 		fi
   10260 
   10261 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10263 		fi
   10264 
   10265 		CFLAGS="$CFLAGS -errwarn"
   10266 
   10267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   10268 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   10269 		cacheid=xorg_cv_cc_flag__errwarn
   10270 		if eval \${$cacheid+:} false; then :
   10271   $as_echo_n "(cached) " >&6
   10272 else
   10273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10274 /* end confdefs.h.  */
   10275 int i;
   10276 int
   10277 main ()
   10278 {
   10279 
   10280   ;
   10281   return 0;
   10282 }
   10283 _ACEOF
   10284 if ac_fn_c_try_link "$LINENO"; then :
   10285   eval $cacheid=yes
   10286 else
   10287   eval $cacheid=no
   10288 fi
   10289 rm -f core conftest.err conftest.$ac_objext \
   10290     conftest$ac_exeext conftest.$ac_ext
   10291 fi
   10292 
   10293 
   10294 		CFLAGS="$xorg_testset_save_CFLAGS"
   10295 
   10296 		eval supported=\$$cacheid
   10297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10298 $as_echo "$supported" >&6; }
   10299 		if test "$supported" = "yes" ; then
   10300 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10301 			found="yes"
   10302 		fi
   10303 	fi
   10304 
   10305 
   10306 
   10307 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10308 # activate it with -Werror, so we add it here explicitly.
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 xorg_testset_save_CFLAGS="$CFLAGS"
   10323 
   10324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10329   $as_echo_n "(cached) " >&6
   10330 else
   10331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10332 /* end confdefs.h.  */
   10333 int i;
   10334 _ACEOF
   10335 if ac_fn_c_try_compile "$LINENO"; then :
   10336   xorg_cv_cc_flag_unknown_warning_option=yes
   10337 else
   10338   xorg_cv_cc_flag_unknown_warning_option=no
   10339 fi
   10340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10341 fi
   10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10345 	CFLAGS="$xorg_testset_save_CFLAGS"
   10346 fi
   10347 
   10348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 	fi
   10352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10356   $as_echo_n "(cached) " >&6
   10357 else
   10358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10359 /* end confdefs.h.  */
   10360 int i;
   10361 _ACEOF
   10362 if ac_fn_c_try_compile "$LINENO"; then :
   10363   xorg_cv_cc_flag_unused_command_line_argument=yes
   10364 else
   10365   xorg_cv_cc_flag_unused_command_line_argument=no
   10366 fi
   10367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10368 fi
   10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10372 	CFLAGS="$xorg_testset_save_CFLAGS"
   10373 fi
   10374 
   10375 found="no"
   10376 
   10377 	if test $found = "no" ; then
   10378 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10380 		fi
   10381 
   10382 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10384 		fi
   10385 
   10386 		CFLAGS="$CFLAGS -Werror=attributes"
   10387 
   10388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   10389 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   10390 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10391 		if eval \${$cacheid+:} false; then :
   10392   $as_echo_n "(cached) " >&6
   10393 else
   10394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10395 /* end confdefs.h.  */
   10396 int i;
   10397 int
   10398 main ()
   10399 {
   10400 
   10401   ;
   10402   return 0;
   10403 }
   10404 _ACEOF
   10405 if ac_fn_c_try_link "$LINENO"; then :
   10406   eval $cacheid=yes
   10407 else
   10408   eval $cacheid=no
   10409 fi
   10410 rm -f core conftest.err conftest.$ac_objext \
   10411     conftest$ac_exeext conftest.$ac_ext
   10412 fi
   10413 
   10414 
   10415 		CFLAGS="$xorg_testset_save_CFLAGS"
   10416 
   10417 		eval supported=\$$cacheid
   10418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10419 $as_echo "$supported" >&6; }
   10420 		if test "$supported" = "yes" ; then
   10421 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10422 			found="yes"
   10423 		fi
   10424 	fi
   10425 
   10426 
   10427 
   10428 if test "x$STRICT_COMPILE" = "xyes"; then
   10429     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10430     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10431 fi
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 cat >>confdefs.h <<_ACEOF
   10439 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10440 _ACEOF
   10441 
   10442 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10443 	if test "x$PVM" = "x"; then
   10444 		PVM="0"
   10445 	fi
   10446 
   10447 cat >>confdefs.h <<_ACEOF
   10448 #define PACKAGE_VERSION_MINOR $PVM
   10449 _ACEOF
   10450 
   10451 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10452 	if test "x$PVP" = "x"; then
   10453 		PVP="0"
   10454 	fi
   10455 
   10456 cat >>confdefs.h <<_ACEOF
   10457 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10458 _ACEOF
   10459 
   10460 
   10461 
   10462 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10463 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10464 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10465 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10466 
   10467 
   10468 
   10469 
   10470 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10471 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10472 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10473 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10474 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 if test x$APP_MAN_SUFFIX = x    ; then
   10482     APP_MAN_SUFFIX=1
   10483 fi
   10484 if test x$APP_MAN_DIR = x    ; then
   10485     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10486 fi
   10487 
   10488 if test x$LIB_MAN_SUFFIX = x    ; then
   10489     LIB_MAN_SUFFIX=3
   10490 fi
   10491 if test x$LIB_MAN_DIR = x    ; then
   10492     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10493 fi
   10494 
   10495 if test x$FILE_MAN_SUFFIX = x    ; then
   10496     case $host_os in
   10497 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10498 	*)		FILE_MAN_SUFFIX=5  ;;
   10499     esac
   10500 fi
   10501 if test x$FILE_MAN_DIR = x    ; then
   10502     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10503 fi
   10504 
   10505 if test x$MISC_MAN_SUFFIX = x    ; then
   10506     case $host_os in
   10507 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10508 	*)		MISC_MAN_SUFFIX=7  ;;
   10509     esac
   10510 fi
   10511 if test x$MISC_MAN_DIR = x    ; then
   10512     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10513 fi
   10514 
   10515 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10516     case $host_os in
   10517 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10518 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10519     esac
   10520 fi
   10521 if test x$DRIVER_MAN_DIR = x    ; then
   10522     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10523 fi
   10524 
   10525 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10526     case $host_os in
   10527 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10528 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10529     esac
   10530 fi
   10531 if test x$ADMIN_MAN_DIR = x    ; then
   10532     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10533 fi
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 XORG_MAN_PAGE="X Version 11"
   10550 
   10551 MAN_SUBSTS="\
   10552 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10553 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10554 	-e 's|__xservername__|Xorg|g' \
   10555 	-e 's|__xconfigfile__|xorg.conf|g' \
   10556 	-e 's|__projectroot__|\$(prefix)|g' \
   10557 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10558 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10559 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10560 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10561 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10562 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10563 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10564 
   10565 
   10566 
   10567 # Check whether --enable-silent-rules was given.
   10568 if test "${enable_silent_rules+set}" = set; then :
   10569   enableval=$enable_silent_rules;
   10570 fi
   10571 
   10572 case $enable_silent_rules in # (((
   10573   yes) AM_DEFAULT_VERBOSITY=0;;
   10574    no) AM_DEFAULT_VERBOSITY=1;;
   10575     *) AM_DEFAULT_VERBOSITY=0;;
   10576 esac
   10577 am_make=${MAKE-make}
   10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10579 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10580 if ${am_cv_make_support_nested_variables+:} false; then :
   10581   $as_echo_n "(cached) " >&6
   10582 else
   10583   if $as_echo 'TRUE=$(BAR$(V))
   10584 BAR0=false
   10585 BAR1=true
   10586 V=1
   10587 am__doit:
   10588 	@$(TRUE)
   10589 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10590   am_cv_make_support_nested_variables=yes
   10591 else
   10592   am_cv_make_support_nested_variables=no
   10593 fi
   10594 fi
   10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10596 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10597 if test $am_cv_make_support_nested_variables = yes; then
   10598     AM_V='$(V)'
   10599   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10600 else
   10601   AM_V=$AM_DEFAULT_VERBOSITY
   10602   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10603 fi
   10604 AM_BACKSLASH='\'
   10605 
   10606 
   10607 
   10608 
   10609 # Check whether --enable-docs was given.
   10610 if test "${enable_docs+set}" = set; then :
   10611   enableval=$enable_docs; build_docs=$enableval
   10612 else
   10613   build_docs=yes
   10614 fi
   10615 
   10616 
   10617  if test x$build_docs = xyes; then
   10618   ENABLE_DOCS_TRUE=
   10619   ENABLE_DOCS_FALSE='#'
   10620 else
   10621   ENABLE_DOCS_TRUE='#'
   10622   ENABLE_DOCS_FALSE=
   10623 fi
   10624 
   10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   10626 $as_echo_n "checking whether to build documentation... " >&6; }
   10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   10628 $as_echo "$build_docs" >&6; }
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 # Check whether --with-xmlto was given.
   10635 if test "${with_xmlto+set}" = set; then :
   10636   withval=$with_xmlto; use_xmlto=$withval
   10637 else
   10638   use_xmlto=auto
   10639 fi
   10640 
   10641 
   10642 
   10643 if test "x$use_xmlto" = x"auto"; then
   10644    # Extract the first word of "xmlto", so it can be a program name with args.
   10645 set dummy xmlto; ac_word=$2
   10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10647 $as_echo_n "checking for $ac_word... " >&6; }
   10648 if ${ac_cv_path_XMLTO+:} false; then :
   10649   $as_echo_n "(cached) " >&6
   10650 else
   10651   case $XMLTO in
   10652   [\\/]* | ?:[\\/]*)
   10653   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   10654   ;;
   10655   *)
   10656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10657 for as_dir in $PATH
   10658 do
   10659   IFS=$as_save_IFS
   10660   test -z "$as_dir" && as_dir=.
   10661     for ac_exec_ext in '' $ac_executable_extensions; do
   10662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10663     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   10664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10665     break 2
   10666   fi
   10667 done
   10668   done
   10669 IFS=$as_save_IFS
   10670 
   10671   ;;
   10672 esac
   10673 fi
   10674 XMLTO=$ac_cv_path_XMLTO
   10675 if test -n "$XMLTO"; then
   10676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   10677 $as_echo "$XMLTO" >&6; }
   10678 else
   10679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10680 $as_echo "no" >&6; }
   10681 fi
   10682 
   10683 
   10684    if test "x$XMLTO" = "x"; then
   10685         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   10686 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   10687 	have_xmlto=no
   10688    else
   10689         have_xmlto=yes
   10690    fi
   10691 elif test "x$use_xmlto" = x"yes" ; then
   10692    # Extract the first word of "xmlto", so it can be a program name with args.
   10693 set dummy xmlto; ac_word=$2
   10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10695 $as_echo_n "checking for $ac_word... " >&6; }
   10696 if ${ac_cv_path_XMLTO+:} false; then :
   10697   $as_echo_n "(cached) " >&6
   10698 else
   10699   case $XMLTO in
   10700   [\\/]* | ?:[\\/]*)
   10701   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   10702   ;;
   10703   *)
   10704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10705 for as_dir in $PATH
   10706 do
   10707   IFS=$as_save_IFS
   10708   test -z "$as_dir" && as_dir=.
   10709     for ac_exec_ext in '' $ac_executable_extensions; do
   10710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10711     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   10712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10713     break 2
   10714   fi
   10715 done
   10716   done
   10717 IFS=$as_save_IFS
   10718 
   10719   ;;
   10720 esac
   10721 fi
   10722 XMLTO=$ac_cv_path_XMLTO
   10723 if test -n "$XMLTO"; then
   10724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   10725 $as_echo "$XMLTO" >&6; }
   10726 else
   10727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10728 $as_echo "no" >&6; }
   10729 fi
   10730 
   10731 
   10732    if test "x$XMLTO" = "x"; then
   10733         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   10734    fi
   10735    have_xmlto=yes
   10736 elif test "x$use_xmlto" = x"no" ; then
   10737    if test "x$XMLTO" != "x"; then
   10738       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   10739 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   10740    fi
   10741    have_xmlto=no
   10742 else
   10743    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   10744 fi
   10745 
   10746 # Test for a minimum version of xmlto, if provided.
   10747 if test "$have_xmlto" = yes; then
   10748     # scrape the xmlto version
   10749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   10750 $as_echo_n "checking the xmlto version... " >&6; }
   10751     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   10752     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   10753 $as_echo "$xmlto_version" >&6; }
   10754     as_arg_v1=$xmlto_version
   10755 as_arg_v2=0.0.22
   10756 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   10757 case $? in #(
   10758   1) :
   10759     if test "x$use_xmlto" = xauto; then
   10760             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   10761 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   10762             have_xmlto=no
   10763         else
   10764             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   10765         fi ;; #(
   10766   0) :
   10767      ;; #(
   10768   2) :
   10769      ;; #(
   10770   *) :
   10771      ;;
   10772 esac
   10773 fi
   10774 
   10775 # Test for the ability of xmlto to generate a text target
   10776 have_xmlto_text=no
   10777 cat > conftest.xml << "EOF"
   10778 EOF
   10779 if test "$have_xmlto" = yes; then :
   10780   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   10781   have_xmlto_text=yes
   10782 else
   10783   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   10784 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   10785 fi
   10786 fi
   10787 rm -f conftest.xml
   10788  if test $have_xmlto_text = yes; then
   10789   HAVE_XMLTO_TEXT_TRUE=
   10790   HAVE_XMLTO_TEXT_FALSE='#'
   10791 else
   10792   HAVE_XMLTO_TEXT_TRUE='#'
   10793   HAVE_XMLTO_TEXT_FALSE=
   10794 fi
   10795 
   10796  if test "$have_xmlto" = yes; then
   10797   HAVE_XMLTO_TRUE=
   10798   HAVE_XMLTO_FALSE='#'
   10799 else
   10800   HAVE_XMLTO_TRUE='#'
   10801   HAVE_XMLTO_FALSE=
   10802 fi
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 # Check whether --with-fop was given.
   10810 if test "${with_fop+set}" = set; then :
   10811   withval=$with_fop; use_fop=$withval
   10812 else
   10813   use_fop=auto
   10814 fi
   10815 
   10816 
   10817 
   10818 if test "x$use_fop" = x"auto"; then
   10819    # Extract the first word of "fop", so it can be a program name with args.
   10820 set dummy fop; ac_word=$2
   10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10822 $as_echo_n "checking for $ac_word... " >&6; }
   10823 if ${ac_cv_path_FOP+:} false; then :
   10824   $as_echo_n "(cached) " >&6
   10825 else
   10826   case $FOP in
   10827   [\\/]* | ?:[\\/]*)
   10828   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   10829   ;;
   10830   *)
   10831   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10832 for as_dir in $PATH
   10833 do
   10834   IFS=$as_save_IFS
   10835   test -z "$as_dir" && as_dir=.
   10836     for ac_exec_ext in '' $ac_executable_extensions; do
   10837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10838     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   10839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10840     break 2
   10841   fi
   10842 done
   10843   done
   10844 IFS=$as_save_IFS
   10845 
   10846   ;;
   10847 esac
   10848 fi
   10849 FOP=$ac_cv_path_FOP
   10850 if test -n "$FOP"; then
   10851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   10852 $as_echo "$FOP" >&6; }
   10853 else
   10854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10855 $as_echo "no" >&6; }
   10856 fi
   10857 
   10858 
   10859    if test "x$FOP" = "x"; then
   10860         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   10861 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   10862 	have_fop=no
   10863    else
   10864         have_fop=yes
   10865    fi
   10866 elif test "x$use_fop" = x"yes" ; then
   10867    # Extract the first word of "fop", so it can be a program name with args.
   10868 set dummy fop; ac_word=$2
   10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10870 $as_echo_n "checking for $ac_word... " >&6; }
   10871 if ${ac_cv_path_FOP+:} false; then :
   10872   $as_echo_n "(cached) " >&6
   10873 else
   10874   case $FOP in
   10875   [\\/]* | ?:[\\/]*)
   10876   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   10877   ;;
   10878   *)
   10879   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10880 for as_dir in $PATH
   10881 do
   10882   IFS=$as_save_IFS
   10883   test -z "$as_dir" && as_dir=.
   10884     for ac_exec_ext in '' $ac_executable_extensions; do
   10885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10886     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   10887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10888     break 2
   10889   fi
   10890 done
   10891   done
   10892 IFS=$as_save_IFS
   10893 
   10894   ;;
   10895 esac
   10896 fi
   10897 FOP=$ac_cv_path_FOP
   10898 if test -n "$FOP"; then
   10899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   10900 $as_echo "$FOP" >&6; }
   10901 else
   10902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10903 $as_echo "no" >&6; }
   10904 fi
   10905 
   10906 
   10907    if test "x$FOP" = "x"; then
   10908         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   10909    fi
   10910    have_fop=yes
   10911 elif test "x$use_fop" = x"no" ; then
   10912    if test "x$FOP" != "x"; then
   10913       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   10914 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   10915    fi
   10916    have_fop=no
   10917 else
   10918    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   10919 fi
   10920 
   10921 # Test for a minimum version of fop, if provided.
   10922 
   10923  if test "$have_fop" = yes; then
   10924   HAVE_FOP_TRUE=
   10925   HAVE_FOP_FALSE='#'
   10926 else
   10927   HAVE_FOP_TRUE='#'
   10928   HAVE_FOP_FALSE=
   10929 fi
   10930 
   10931 
   10932 
   10933 
   10934 # Preserves the interface, should it be implemented later
   10935 
   10936 
   10937 
   10938 # Check whether --with-xsltproc was given.
   10939 if test "${with_xsltproc+set}" = set; then :
   10940   withval=$with_xsltproc; use_xsltproc=$withval
   10941 else
   10942   use_xsltproc=auto
   10943 fi
   10944 
   10945 
   10946 
   10947 if test "x$use_xsltproc" = x"auto"; then
   10948    # Extract the first word of "xsltproc", so it can be a program name with args.
   10949 set dummy xsltproc; ac_word=$2
   10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10951 $as_echo_n "checking for $ac_word... " >&6; }
   10952 if ${ac_cv_path_XSLTPROC+:} false; then :
   10953   $as_echo_n "(cached) " >&6
   10954 else
   10955   case $XSLTPROC in
   10956   [\\/]* | ?:[\\/]*)
   10957   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   10958   ;;
   10959   *)
   10960   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10961 for as_dir in $PATH
   10962 do
   10963   IFS=$as_save_IFS
   10964   test -z "$as_dir" && as_dir=.
   10965     for ac_exec_ext in '' $ac_executable_extensions; do
   10966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10967     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   10968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10969     break 2
   10970   fi
   10971 done
   10972   done
   10973 IFS=$as_save_IFS
   10974 
   10975   ;;
   10976 esac
   10977 fi
   10978 XSLTPROC=$ac_cv_path_XSLTPROC
   10979 if test -n "$XSLTPROC"; then
   10980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   10981 $as_echo "$XSLTPROC" >&6; }
   10982 else
   10983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10984 $as_echo "no" >&6; }
   10985 fi
   10986 
   10987 
   10988    if test "x$XSLTPROC" = "x"; then
   10989         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   10990 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   10991 	have_xsltproc=no
   10992    else
   10993         have_xsltproc=yes
   10994    fi
   10995 elif test "x$use_xsltproc" = x"yes" ; then
   10996    # Extract the first word of "xsltproc", so it can be a program name with args.
   10997 set dummy xsltproc; ac_word=$2
   10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10999 $as_echo_n "checking for $ac_word... " >&6; }
   11000 if ${ac_cv_path_XSLTPROC+:} false; then :
   11001   $as_echo_n "(cached) " >&6
   11002 else
   11003   case $XSLTPROC in
   11004   [\\/]* | ?:[\\/]*)
   11005   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   11006   ;;
   11007   *)
   11008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11009 for as_dir in $PATH
   11010 do
   11011   IFS=$as_save_IFS
   11012   test -z "$as_dir" && as_dir=.
   11013     for ac_exec_ext in '' $ac_executable_extensions; do
   11014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11015     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   11016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11017     break 2
   11018   fi
   11019 done
   11020   done
   11021 IFS=$as_save_IFS
   11022 
   11023   ;;
   11024 esac
   11025 fi
   11026 XSLTPROC=$ac_cv_path_XSLTPROC
   11027 if test -n "$XSLTPROC"; then
   11028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   11029 $as_echo "$XSLTPROC" >&6; }
   11030 else
   11031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11032 $as_echo "no" >&6; }
   11033 fi
   11034 
   11035 
   11036    if test "x$XSLTPROC" = "x"; then
   11037         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   11038    fi
   11039    have_xsltproc=yes
   11040 elif test "x$use_xsltproc" = x"no" ; then
   11041    if test "x$XSLTPROC" != "x"; then
   11042       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   11043 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   11044    fi
   11045    have_xsltproc=no
   11046 else
   11047    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   11048 fi
   11049 
   11050  if test "$have_xsltproc" = yes; then
   11051   HAVE_XSLTPROC_TRUE=
   11052   HAVE_XSLTPROC_FALSE='#'
   11053 else
   11054   HAVE_XSLTPROC_TRUE='#'
   11055   HAVE_XSLTPROC_FALSE=
   11056 fi
   11057 
   11058 
   11059 
   11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   11061 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   11062 XORG_SGML_PATH=
   11063 if test -n "$PKG_CONFIG" && \
   11064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   11065   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   11066   ac_status=$?
   11067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11068   test $ac_status = 0; }; then
   11069   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   11070 else
   11071   :
   11072 
   11073 fi
   11074 
   11075 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   11076 # the path and the name of the doc stylesheet
   11077 if test "x$XORG_SGML_PATH" != "x" ; then
   11078    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   11079 $as_echo "$XORG_SGML_PATH" >&6; }
   11080    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   11081    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   11082 else
   11083    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11084 $as_echo "no" >&6; }
   11085 fi
   11086 
   11087 
   11088 
   11089 
   11090  if test "x$XSL_STYLESHEET" != "x"; then
   11091   HAVE_STYLESHEETS_TRUE=
   11092   HAVE_STYLESHEETS_FALSE='#'
   11093 else
   11094   HAVE_STYLESHEETS_TRUE='#'
   11095   HAVE_STYLESHEETS_FALSE=
   11096 fi
   11097 
   11098 
   11099 
   11100 # Because xtrans is included into other modules rather than being linked
   11101 # with, these defines have to be added to the cflags line
   11102 
   11103 # fchown()
   11104 
   11105 ac_fn_c_check_func "$LINENO" "fchown" "ac_cv_func_fchown"
   11106 if test "x$ac_cv_func_fchown" = xyes; then :
   11107   fchown_define="-DHAS_FCHOWN"
   11108 else
   11109   fchown_define=""
   11110 fi
   11111 
   11112 
   11113 
   11114 
   11115 # sticky bit
   11116 #
   11117 # if any system exists without sticky dir bits this
   11118 # needs to be redone with a real autoconf test
   11119 
   11120 sticky_bit_define="-DHAS_STICKY_DIR_BIT"
   11121 
   11122 
   11123 
   11124 ac_config_files="$ac_config_files Makefile doc/Makefile xtrans.pc"
   11125 
   11126 cat >confcache <<\_ACEOF
   11127 # This file is a shell script that caches the results of configure
   11128 # tests run on this system so they can be shared between configure
   11129 # scripts and configure runs, see configure's option --config-cache.
   11130 # It is not useful on other systems.  If it contains results you don't
   11131 # want to keep, you may remove or edit it.
   11132 #
   11133 # config.status only pays attention to the cache file if you give it
   11134 # the --recheck option to rerun configure.
   11135 #
   11136 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11137 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11138 # following values.
   11139 
   11140 _ACEOF
   11141 
   11142 # The following way of writing the cache mishandles newlines in values,
   11143 # but we know of no workaround that is simple, portable, and efficient.
   11144 # So, we kill variables containing newlines.
   11145 # Ultrix sh set writes to stderr and can't be redirected directly,
   11146 # and sets the high bit in the cache file unless we assign to the vars.
   11147 (
   11148   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11149     eval ac_val=\$$ac_var
   11150     case $ac_val in #(
   11151     *${as_nl}*)
   11152       case $ac_var in #(
   11153       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11154 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11155       esac
   11156       case $ac_var in #(
   11157       _ | IFS | as_nl) ;; #(
   11158       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11159       *) { eval $ac_var=; unset $ac_var;} ;;
   11160       esac ;;
   11161     esac
   11162   done
   11163 
   11164   (set) 2>&1 |
   11165     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11166     *${as_nl}ac_space=\ *)
   11167       # `set' does not quote correctly, so add quotes: double-quote
   11168       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11169       sed -n \
   11170 	"s/'/'\\\\''/g;
   11171 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11172       ;; #(
   11173     *)
   11174       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11175       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11176       ;;
   11177     esac |
   11178     sort
   11179 ) |
   11180   sed '
   11181      /^ac_cv_env_/b end
   11182      t clear
   11183      :clear
   11184      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11185      t end
   11186      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11187      :end' >>confcache
   11188 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11189   if test -w "$cache_file"; then
   11190     if test "x$cache_file" != "x/dev/null"; then
   11191       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11192 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11193       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11194 	cat confcache >"$cache_file"
   11195       else
   11196         case $cache_file in #(
   11197         */* | ?:*)
   11198 	  mv -f confcache "$cache_file"$$ &&
   11199 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11200         *)
   11201 	  mv -f confcache "$cache_file" ;;
   11202 	esac
   11203       fi
   11204     fi
   11205   else
   11206     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11207 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11208   fi
   11209 fi
   11210 rm -f confcache
   11211 
   11212 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11213 # Let make expand exec_prefix.
   11214 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11215 
   11216 # Transform confdefs.h into DEFS.
   11217 # Protect against shell expansion while executing Makefile rules.
   11218 # Protect against Makefile macro expansion.
   11219 #
   11220 # If the first sed substitution is executed (which looks for macros that
   11221 # take arguments), then branch to the quote section.  Otherwise,
   11222 # look for a macro that doesn't take arguments.
   11223 ac_script='
   11224 :mline
   11225 /\\$/{
   11226  N
   11227  s,\\\n,,
   11228  b mline
   11229 }
   11230 t clear
   11231 :clear
   11232 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11233 t quote
   11234 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11235 t quote
   11236 b any
   11237 :quote
   11238 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11239 s/\[/\\&/g
   11240 s/\]/\\&/g
   11241 s/\$/$$/g
   11242 H
   11243 :any
   11244 ${
   11245 	g
   11246 	s/^\n//
   11247 	s/\n/ /g
   11248 	p
   11249 }
   11250 '
   11251 DEFS=`sed -n "$ac_script" confdefs.h`
   11252 
   11253 
   11254 ac_libobjs=
   11255 ac_ltlibobjs=
   11256 U=
   11257 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11258   # 1. Remove the extension, and $U if already installed.
   11259   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11260   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11261   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11262   #    will be set to the directory where LIBOBJS objects are built.
   11263   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11264   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11265 done
   11266 LIBOBJS=$ac_libobjs
   11267 
   11268 LTLIBOBJS=$ac_ltlibobjs
   11269 
   11270 
   11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11272 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11273    if test -n "$am_sleep_pid"; then
   11274      # Hide warnings about reused PIDs.
   11275      wait $am_sleep_pid 2>/dev/null
   11276    fi
   11277    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11278 $as_echo "done" >&6; }
   11279  if test -n "$EXEEXT"; then
   11280   am__EXEEXT_TRUE=
   11281   am__EXEEXT_FALSE='#'
   11282 else
   11283   am__EXEEXT_TRUE='#'
   11284   am__EXEEXT_FALSE=
   11285 fi
   11286 
   11287 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11288   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11290 fi
   11291 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11292   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11294 fi
   11295 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   11296   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   11297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11298 fi
   11299 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   11300   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   11301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11302 fi
   11303 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   11304   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   11305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11306 fi
   11307 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   11308   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   11309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11310 fi
   11311 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   11312   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   11313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11314 fi
   11315 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   11316   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   11317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11318 fi
   11319 
   11320 : "${CONFIG_STATUS=./config.status}"
   11321 ac_write_fail=0
   11322 ac_clean_files_save=$ac_clean_files
   11323 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11324 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11325 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11326 as_write_fail=0
   11327 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11328 #! $SHELL
   11329 # Generated by $as_me.
   11330 # Run this file to recreate the current configuration.
   11331 # Compiler output produced by configure, useful for debugging
   11332 # configure, is in config.log if it exists.
   11333 
   11334 debug=false
   11335 ac_cs_recheck=false
   11336 ac_cs_silent=false
   11337 
   11338 SHELL=\${CONFIG_SHELL-$SHELL}
   11339 export SHELL
   11340 _ASEOF
   11341 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11342 ## -------------------- ##
   11343 ## M4sh Initialization. ##
   11344 ## -------------------- ##
   11345 
   11346 # Be more Bourne compatible
   11347 DUALCASE=1; export DUALCASE # for MKS sh
   11348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11349   emulate sh
   11350   NULLCMD=:
   11351   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11352   # is contrary to our usage.  Disable this feature.
   11353   alias -g '${1+"$@"}'='"$@"'
   11354   setopt NO_GLOB_SUBST
   11355 else
   11356   case `(set -o) 2>/dev/null` in #(
   11357   *posix*) :
   11358     set -o posix ;; #(
   11359   *) :
   11360      ;;
   11361 esac
   11362 fi
   11363 
   11364 
   11365 as_nl='
   11366 '
   11367 export as_nl
   11368 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11369 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11370 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11371 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11372 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11373 # but without wasting forks for bash or zsh.
   11374 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11375     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11376   as_echo='print -r --'
   11377   as_echo_n='print -rn --'
   11378 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11379   as_echo='printf %s\n'
   11380   as_echo_n='printf %s'
   11381 else
   11382   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11383     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11384     as_echo_n='/usr/ucb/echo -n'
   11385   else
   11386     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11387     as_echo_n_body='eval
   11388       arg=$1;
   11389       case $arg in #(
   11390       *"$as_nl"*)
   11391 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11392 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11393       esac;
   11394       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11395     '
   11396     export as_echo_n_body
   11397     as_echo_n='sh -c $as_echo_n_body as_echo'
   11398   fi
   11399   export as_echo_body
   11400   as_echo='sh -c $as_echo_body as_echo'
   11401 fi
   11402 
   11403 # The user is always right.
   11404 if test "${PATH_SEPARATOR+set}" != set; then
   11405   PATH_SEPARATOR=:
   11406   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11407     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11408       PATH_SEPARATOR=';'
   11409   }
   11410 fi
   11411 
   11412 
   11413 # IFS
   11414 # We need space, tab and new line, in precisely that order.  Quoting is
   11415 # there to prevent editors from complaining about space-tab.
   11416 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11417 # splitting by setting IFS to empty value.)
   11418 IFS=" ""	$as_nl"
   11419 
   11420 # Find who we are.  Look in the path if we contain no directory separator.
   11421 as_myself=
   11422 case $0 in #((
   11423   *[\\/]* ) as_myself=$0 ;;
   11424   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11425 for as_dir in $PATH
   11426 do
   11427   IFS=$as_save_IFS
   11428   test -z "$as_dir" && as_dir=.
   11429     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11430   done
   11431 IFS=$as_save_IFS
   11432 
   11433      ;;
   11434 esac
   11435 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11436 # in which case we are not to be found in the path.
   11437 if test "x$as_myself" = x; then
   11438   as_myself=$0
   11439 fi
   11440 if test ! -f "$as_myself"; then
   11441   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11442   exit 1
   11443 fi
   11444 
   11445 # Unset variables that we do not need and which cause bugs (e.g. in
   11446 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11447 # suppresses any "Segmentation fault" message there.  '((' could
   11448 # trigger a bug in pdksh 5.2.14.
   11449 for as_var in BASH_ENV ENV MAIL MAILPATH
   11450 do eval test x\${$as_var+set} = xset \
   11451   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11452 done
   11453 PS1='$ '
   11454 PS2='> '
   11455 PS4='+ '
   11456 
   11457 # NLS nuisances.
   11458 LC_ALL=C
   11459 export LC_ALL
   11460 LANGUAGE=C
   11461 export LANGUAGE
   11462 
   11463 # CDPATH.
   11464 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11465 
   11466 
   11467 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11468 # ----------------------------------------
   11469 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11470 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11471 # script with STATUS, using 1 if that was 0.
   11472 as_fn_error ()
   11473 {
   11474   as_status=$1; test $as_status -eq 0 && as_status=1
   11475   if test "$4"; then
   11476     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11477     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11478   fi
   11479   $as_echo "$as_me: error: $2" >&2
   11480   as_fn_exit $as_status
   11481 } # as_fn_error
   11482 
   11483 
   11484 # as_fn_set_status STATUS
   11485 # -----------------------
   11486 # Set $? to STATUS, without forking.
   11487 as_fn_set_status ()
   11488 {
   11489   return $1
   11490 } # as_fn_set_status
   11491 
   11492 # as_fn_exit STATUS
   11493 # -----------------
   11494 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11495 as_fn_exit ()
   11496 {
   11497   set +e
   11498   as_fn_set_status $1
   11499   exit $1
   11500 } # as_fn_exit
   11501 
   11502 # as_fn_unset VAR
   11503 # ---------------
   11504 # Portably unset VAR.
   11505 as_fn_unset ()
   11506 {
   11507   { eval $1=; unset $1;}
   11508 }
   11509 as_unset=as_fn_unset
   11510 # as_fn_append VAR VALUE
   11511 # ----------------------
   11512 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11513 # advantage of any shell optimizations that allow amortized linear growth over
   11514 # repeated appends, instead of the typical quadratic growth present in naive
   11515 # implementations.
   11516 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11517   eval 'as_fn_append ()
   11518   {
   11519     eval $1+=\$2
   11520   }'
   11521 else
   11522   as_fn_append ()
   11523   {
   11524     eval $1=\$$1\$2
   11525   }
   11526 fi # as_fn_append
   11527 
   11528 # as_fn_arith ARG...
   11529 # ------------------
   11530 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11531 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11532 # must be portable across $(()) and expr.
   11533 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11534   eval 'as_fn_arith ()
   11535   {
   11536     as_val=$(( $* ))
   11537   }'
   11538 else
   11539   as_fn_arith ()
   11540   {
   11541     as_val=`expr "$@" || test $? -eq 1`
   11542   }
   11543 fi # as_fn_arith
   11544 
   11545 
   11546 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11547    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11548   as_expr=expr
   11549 else
   11550   as_expr=false
   11551 fi
   11552 
   11553 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11554   as_basename=basename
   11555 else
   11556   as_basename=false
   11557 fi
   11558 
   11559 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11560   as_dirname=dirname
   11561 else
   11562   as_dirname=false
   11563 fi
   11564 
   11565 as_me=`$as_basename -- "$0" ||
   11566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11567 	 X"$0" : 'X\(//\)$' \| \
   11568 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11569 $as_echo X/"$0" |
   11570     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11571 	    s//\1/
   11572 	    q
   11573 	  }
   11574 	  /^X\/\(\/\/\)$/{
   11575 	    s//\1/
   11576 	    q
   11577 	  }
   11578 	  /^X\/\(\/\).*/{
   11579 	    s//\1/
   11580 	    q
   11581 	  }
   11582 	  s/.*/./; q'`
   11583 
   11584 # Avoid depending upon Character Ranges.
   11585 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11586 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11587 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11588 as_cr_digits='0123456789'
   11589 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11590 
   11591 ECHO_C= ECHO_N= ECHO_T=
   11592 case `echo -n x` in #(((((
   11593 -n*)
   11594   case `echo 'xy\c'` in
   11595   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11596   xy)  ECHO_C='\c';;
   11597   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11598        ECHO_T='	';;
   11599   esac;;
   11600 *)
   11601   ECHO_N='-n';;
   11602 esac
   11603 
   11604 rm -f conf$$ conf$$.exe conf$$.file
   11605 if test -d conf$$.dir; then
   11606   rm -f conf$$.dir/conf$$.file
   11607 else
   11608   rm -f conf$$.dir
   11609   mkdir conf$$.dir 2>/dev/null
   11610 fi
   11611 if (echo >conf$$.file) 2>/dev/null; then
   11612   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11613     as_ln_s='ln -s'
   11614     # ... but there are two gotchas:
   11615     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11616     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11617     # In both cases, we have to default to `cp -pR'.
   11618     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11619       as_ln_s='cp -pR'
   11620   elif ln conf$$.file conf$$ 2>/dev/null; then
   11621     as_ln_s=ln
   11622   else
   11623     as_ln_s='cp -pR'
   11624   fi
   11625 else
   11626   as_ln_s='cp -pR'
   11627 fi
   11628 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11629 rmdir conf$$.dir 2>/dev/null
   11630 
   11631 
   11632 # as_fn_mkdir_p
   11633 # -------------
   11634 # Create "$as_dir" as a directory, including parents if necessary.
   11635 as_fn_mkdir_p ()
   11636 {
   11637 
   11638   case $as_dir in #(
   11639   -*) as_dir=./$as_dir;;
   11640   esac
   11641   test -d "$as_dir" || eval $as_mkdir_p || {
   11642     as_dirs=
   11643     while :; do
   11644       case $as_dir in #(
   11645       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11646       *) as_qdir=$as_dir;;
   11647       esac
   11648       as_dirs="'$as_qdir' $as_dirs"
   11649       as_dir=`$as_dirname -- "$as_dir" ||
   11650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11651 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11652 	 X"$as_dir" : 'X\(//\)$' \| \
   11653 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11654 $as_echo X"$as_dir" |
   11655     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11656 	    s//\1/
   11657 	    q
   11658 	  }
   11659 	  /^X\(\/\/\)[^/].*/{
   11660 	    s//\1/
   11661 	    q
   11662 	  }
   11663 	  /^X\(\/\/\)$/{
   11664 	    s//\1/
   11665 	    q
   11666 	  }
   11667 	  /^X\(\/\).*/{
   11668 	    s//\1/
   11669 	    q
   11670 	  }
   11671 	  s/.*/./; q'`
   11672       test -d "$as_dir" && break
   11673     done
   11674     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11675   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11676 
   11677 
   11678 } # as_fn_mkdir_p
   11679 if mkdir -p . 2>/dev/null; then
   11680   as_mkdir_p='mkdir -p "$as_dir"'
   11681 else
   11682   test -d ./-p && rmdir ./-p
   11683   as_mkdir_p=false
   11684 fi
   11685 
   11686 
   11687 # as_fn_executable_p FILE
   11688 # -----------------------
   11689 # Test if FILE is an executable regular file.
   11690 as_fn_executable_p ()
   11691 {
   11692   test -f "$1" && test -x "$1"
   11693 } # as_fn_executable_p
   11694 as_test_x='test -x'
   11695 as_executable_p=as_fn_executable_p
   11696 
   11697 # Sed expression to map a string onto a valid CPP name.
   11698 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11699 
   11700 # Sed expression to map a string onto a valid variable name.
   11701 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11702 
   11703 
   11704 exec 6>&1
   11705 ## ----------------------------------- ##
   11706 ## Main body of $CONFIG_STATUS script. ##
   11707 ## ----------------------------------- ##
   11708 _ASEOF
   11709 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11710 
   11711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11712 # Save the log message, to keep $0 and so on meaningful, and to
   11713 # report actual input values of CONFIG_FILES etc. instead of their
   11714 # values after options handling.
   11715 ac_log="
   11716 This file was extended by xtrans $as_me 1.3.3, which was
   11717 generated by GNU Autoconf 2.69.  Invocation command line was
   11718 
   11719   CONFIG_FILES    = $CONFIG_FILES
   11720   CONFIG_HEADERS  = $CONFIG_HEADERS
   11721   CONFIG_LINKS    = $CONFIG_LINKS
   11722   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11723   $ $0 $@
   11724 
   11725 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11726 "
   11727 
   11728 _ACEOF
   11729 
   11730 case $ac_config_files in *"
   11731 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11732 esac
   11733 
   11734 
   11735 
   11736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11737 # Files that config.status was made for.
   11738 config_files="$ac_config_files"
   11739 config_commands="$ac_config_commands"
   11740 
   11741 _ACEOF
   11742 
   11743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11744 ac_cs_usage="\
   11745 \`$as_me' instantiates files and other configuration actions
   11746 from templates according to the current configuration.  Unless the files
   11747 and actions are specified as TAGs, all are instantiated by default.
   11748 
   11749 Usage: $0 [OPTION]... [TAG]...
   11750 
   11751   -h, --help       print this help, then exit
   11752   -V, --version    print version number and configuration settings, then exit
   11753       --config     print configuration, then exit
   11754   -q, --quiet, --silent
   11755                    do not print progress messages
   11756   -d, --debug      don't remove temporary files
   11757       --recheck    update $as_me by reconfiguring in the same conditions
   11758       --file=FILE[:TEMPLATE]
   11759                    instantiate the configuration file FILE
   11760 
   11761 Configuration files:
   11762 $config_files
   11763 
   11764 Configuration commands:
   11765 $config_commands
   11766 
   11767 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11768 
   11769 _ACEOF
   11770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11771 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11772 ac_cs_version="\\
   11773 xtrans config.status 1.3.3
   11774 configured by $0, generated by GNU Autoconf 2.69,
   11775   with options \\"\$ac_cs_config\\"
   11776 
   11777 Copyright (C) 2012 Free Software Foundation, Inc.
   11778 This config.status script is free software; the Free Software Foundation
   11779 gives unlimited permission to copy, distribute and modify it."
   11780 
   11781 ac_pwd='$ac_pwd'
   11782 srcdir='$srcdir'
   11783 INSTALL='$INSTALL'
   11784 MKDIR_P='$MKDIR_P'
   11785 AWK='$AWK'
   11786 test -n "\$AWK" || AWK=awk
   11787 _ACEOF
   11788 
   11789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11790 # The default lists apply if the user does not specify any file.
   11791 ac_need_defaults=:
   11792 while test $# != 0
   11793 do
   11794   case $1 in
   11795   --*=?*)
   11796     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11797     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11798     ac_shift=:
   11799     ;;
   11800   --*=)
   11801     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11802     ac_optarg=
   11803     ac_shift=:
   11804     ;;
   11805   *)
   11806     ac_option=$1
   11807     ac_optarg=$2
   11808     ac_shift=shift
   11809     ;;
   11810   esac
   11811 
   11812   case $ac_option in
   11813   # Handling of the options.
   11814   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11815     ac_cs_recheck=: ;;
   11816   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11817     $as_echo "$ac_cs_version"; exit ;;
   11818   --config | --confi | --conf | --con | --co | --c )
   11819     $as_echo "$ac_cs_config"; exit ;;
   11820   --debug | --debu | --deb | --de | --d | -d )
   11821     debug=: ;;
   11822   --file | --fil | --fi | --f )
   11823     $ac_shift
   11824     case $ac_optarg in
   11825     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11826     '') as_fn_error $? "missing file argument" ;;
   11827     esac
   11828     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11829     ac_need_defaults=false;;
   11830   --he | --h |  --help | --hel | -h )
   11831     $as_echo "$ac_cs_usage"; exit ;;
   11832   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11833   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11834     ac_cs_silent=: ;;
   11835 
   11836   # This is an error.
   11837   -*) as_fn_error $? "unrecognized option: \`$1'
   11838 Try \`$0 --help' for more information." ;;
   11839 
   11840   *) as_fn_append ac_config_targets " $1"
   11841      ac_need_defaults=false ;;
   11842 
   11843   esac
   11844   shift
   11845 done
   11846 
   11847 ac_configure_extra_args=
   11848 
   11849 if $ac_cs_silent; then
   11850   exec 6>/dev/null
   11851   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11852 fi
   11853 
   11854 _ACEOF
   11855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11856 if \$ac_cs_recheck; then
   11857   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11858   shift
   11859   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11860   CONFIG_SHELL='$SHELL'
   11861   export CONFIG_SHELL
   11862   exec "\$@"
   11863 fi
   11864 
   11865 _ACEOF
   11866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11867 exec 5>>config.log
   11868 {
   11869   echo
   11870   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11871 ## Running $as_me. ##
   11872 _ASBOX
   11873   $as_echo "$ac_log"
   11874 } >&5
   11875 
   11876 _ACEOF
   11877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11878 #
   11879 # INIT-COMMANDS
   11880 #
   11881 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11882 
   11883 _ACEOF
   11884 
   11885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11886 
   11887 # Handling of arguments.
   11888 for ac_config_target in $ac_config_targets
   11889 do
   11890   case $ac_config_target in
   11891     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11892     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11893     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   11894     "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;;
   11895 
   11896   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11897   esac
   11898 done
   11899 
   11900 
   11901 # If the user did not use the arguments to specify the items to instantiate,
   11902 # then the envvar interface is used.  Set only those that are not.
   11903 # We use the long form for the default assignment because of an extremely
   11904 # bizarre bug on SunOS 4.1.3.
   11905 if $ac_need_defaults; then
   11906   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11907   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11908 fi
   11909 
   11910 # Have a temporary directory for convenience.  Make it in the build tree
   11911 # simply because there is no reason against having it here, and in addition,
   11912 # creating and moving files from /tmp can sometimes cause problems.
   11913 # Hook for its removal unless debugging.
   11914 # Note that there is a small window in which the directory will not be cleaned:
   11915 # after its creation but before its name has been assigned to `$tmp'.
   11916 $debug ||
   11917 {
   11918   tmp= ac_tmp=
   11919   trap 'exit_status=$?
   11920   : "${ac_tmp:=$tmp}"
   11921   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11922 ' 0
   11923   trap 'as_fn_exit 1' 1 2 13 15
   11924 }
   11925 # Create a (secure) tmp directory for tmp files.
   11926 
   11927 {
   11928   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11929   test -d "$tmp"
   11930 }  ||
   11931 {
   11932   tmp=./conf$$-$RANDOM
   11933   (umask 077 && mkdir "$tmp")
   11934 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11935 ac_tmp=$tmp
   11936 
   11937 # Set up the scripts for CONFIG_FILES section.
   11938 # No need to generate them if there are no CONFIG_FILES.
   11939 # This happens for instance with `./config.status config.h'.
   11940 if test -n "$CONFIG_FILES"; then
   11941 
   11942 
   11943 ac_cr=`echo X | tr X '\015'`
   11944 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11945 # But we know of no other shell where ac_cr would be empty at this
   11946 # point, so we can use a bashism as a fallback.
   11947 if test "x$ac_cr" = x; then
   11948   eval ac_cr=\$\'\\r\'
   11949 fi
   11950 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11951 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11952   ac_cs_awk_cr='\\r'
   11953 else
   11954   ac_cs_awk_cr=$ac_cr
   11955 fi
   11956 
   11957 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11958 _ACEOF
   11959 
   11960 
   11961 {
   11962   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11963   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11964   echo "_ACEOF"
   11965 } >conf$$subs.sh ||
   11966   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11967 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11968 ac_delim='%!_!# '
   11969 for ac_last_try in false false false false false :; do
   11970   . ./conf$$subs.sh ||
   11971     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11972 
   11973   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11974   if test $ac_delim_n = $ac_delim_num; then
   11975     break
   11976   elif $ac_last_try; then
   11977     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11978   else
   11979     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11980   fi
   11981 done
   11982 rm -f conf$$subs.sh
   11983 
   11984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11985 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11986 _ACEOF
   11987 sed -n '
   11988 h
   11989 s/^/S["/; s/!.*/"]=/
   11990 p
   11991 g
   11992 s/^[^!]*!//
   11993 :repl
   11994 t repl
   11995 s/'"$ac_delim"'$//
   11996 t delim
   11997 :nl
   11998 h
   11999 s/\(.\{148\}\)..*/\1/
   12000 t more1
   12001 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12002 p
   12003 n
   12004 b repl
   12005 :more1
   12006 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12007 p
   12008 g
   12009 s/.\{148\}//
   12010 t nl
   12011 :delim
   12012 h
   12013 s/\(.\{148\}\)..*/\1/
   12014 t more2
   12015 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12016 p
   12017 b
   12018 :more2
   12019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12020 p
   12021 g
   12022 s/.\{148\}//
   12023 t delim
   12024 ' <conf$$subs.awk | sed '
   12025 /^[^""]/{
   12026   N
   12027   s/\n//
   12028 }
   12029 ' >>$CONFIG_STATUS || ac_write_fail=1
   12030 rm -f conf$$subs.awk
   12031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12032 _ACAWK
   12033 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12034   for (key in S) S_is_set[key] = 1
   12035   FS = ""
   12036 
   12037 }
   12038 {
   12039   line = $ 0
   12040   nfields = split(line, field, "@")
   12041   substed = 0
   12042   len = length(field[1])
   12043   for (i = 2; i < nfields; i++) {
   12044     key = field[i]
   12045     keylen = length(key)
   12046     if (S_is_set[key]) {
   12047       value = S[key]
   12048       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12049       len += length(value) + length(field[++i])
   12050       substed = 1
   12051     } else
   12052       len += 1 + keylen
   12053   }
   12054 
   12055   print line
   12056 }
   12057 
   12058 _ACAWK
   12059 _ACEOF
   12060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12061 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12062   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12063 else
   12064   cat
   12065 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12066   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12067 _ACEOF
   12068 
   12069 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12070 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12071 # trailing colons and then remove the whole line if VPATH becomes empty
   12072 # (actually we leave an empty line to preserve line numbers).
   12073 if test "x$srcdir" = x.; then
   12074   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12075 h
   12076 s///
   12077 s/^/:/
   12078 s/[	 ]*$/:/
   12079 s/:\$(srcdir):/:/g
   12080 s/:\${srcdir}:/:/g
   12081 s/:@srcdir@:/:/g
   12082 s/^:*//
   12083 s/:*$//
   12084 x
   12085 s/\(=[	 ]*\).*/\1/
   12086 G
   12087 s/\n//
   12088 s/^[^=]*=[	 ]*$//
   12089 }'
   12090 fi
   12091 
   12092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12093 fi # test -n "$CONFIG_FILES"
   12094 
   12095 
   12096 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   12097 shift
   12098 for ac_tag
   12099 do
   12100   case $ac_tag in
   12101   :[FHLC]) ac_mode=$ac_tag; continue;;
   12102   esac
   12103   case $ac_mode$ac_tag in
   12104   :[FHL]*:*);;
   12105   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12106   :[FH]-) ac_tag=-:-;;
   12107   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12108   esac
   12109   ac_save_IFS=$IFS
   12110   IFS=:
   12111   set x $ac_tag
   12112   IFS=$ac_save_IFS
   12113   shift
   12114   ac_file=$1
   12115   shift
   12116 
   12117   case $ac_mode in
   12118   :L) ac_source=$1;;
   12119   :[FH])
   12120     ac_file_inputs=
   12121     for ac_f
   12122     do
   12123       case $ac_f in
   12124       -) ac_f="$ac_tmp/stdin";;
   12125       *) # Look for the file first in the build tree, then in the source tree
   12126 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12127 	 # because $ac_f cannot contain `:'.
   12128 	 test -f "$ac_f" ||
   12129 	   case $ac_f in
   12130 	   [\\/$]*) false;;
   12131 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12132 	   esac ||
   12133 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12134       esac
   12135       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12136       as_fn_append ac_file_inputs " '$ac_f'"
   12137     done
   12138 
   12139     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12140     # use $as_me), people would be surprised to read:
   12141     #    /* config.h.  Generated by config.status.  */
   12142     configure_input='Generated from '`
   12143 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12144 	`' by configure.'
   12145     if test x"$ac_file" != x-; then
   12146       configure_input="$ac_file.  $configure_input"
   12147       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12148 $as_echo "$as_me: creating $ac_file" >&6;}
   12149     fi
   12150     # Neutralize special characters interpreted by sed in replacement strings.
   12151     case $configure_input in #(
   12152     *\&* | *\|* | *\\* )
   12153        ac_sed_conf_input=`$as_echo "$configure_input" |
   12154        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12155     *) ac_sed_conf_input=$configure_input;;
   12156     esac
   12157 
   12158     case $ac_tag in
   12159     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12160       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12161     esac
   12162     ;;
   12163   esac
   12164 
   12165   ac_dir=`$as_dirname -- "$ac_file" ||
   12166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12167 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12168 	 X"$ac_file" : 'X\(//\)$' \| \
   12169 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12170 $as_echo X"$ac_file" |
   12171     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12172 	    s//\1/
   12173 	    q
   12174 	  }
   12175 	  /^X\(\/\/\)[^/].*/{
   12176 	    s//\1/
   12177 	    q
   12178 	  }
   12179 	  /^X\(\/\/\)$/{
   12180 	    s//\1/
   12181 	    q
   12182 	  }
   12183 	  /^X\(\/\).*/{
   12184 	    s//\1/
   12185 	    q
   12186 	  }
   12187 	  s/.*/./; q'`
   12188   as_dir="$ac_dir"; as_fn_mkdir_p
   12189   ac_builddir=.
   12190 
   12191 case "$ac_dir" in
   12192 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12193 *)
   12194   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12195   # A ".." for each directory in $ac_dir_suffix.
   12196   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12197   case $ac_top_builddir_sub in
   12198   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12199   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12200   esac ;;
   12201 esac
   12202 ac_abs_top_builddir=$ac_pwd
   12203 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12204 # for backward compatibility:
   12205 ac_top_builddir=$ac_top_build_prefix
   12206 
   12207 case $srcdir in
   12208   .)  # We are building in place.
   12209     ac_srcdir=.
   12210     ac_top_srcdir=$ac_top_builddir_sub
   12211     ac_abs_top_srcdir=$ac_pwd ;;
   12212   [\\/]* | ?:[\\/]* )  # Absolute name.
   12213     ac_srcdir=$srcdir$ac_dir_suffix;
   12214     ac_top_srcdir=$srcdir
   12215     ac_abs_top_srcdir=$srcdir ;;
   12216   *) # Relative name.
   12217     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12218     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12219     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12220 esac
   12221 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12222 
   12223 
   12224   case $ac_mode in
   12225   :F)
   12226   #
   12227   # CONFIG_FILE
   12228   #
   12229 
   12230   case $INSTALL in
   12231   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12232   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12233   esac
   12234   ac_MKDIR_P=$MKDIR_P
   12235   case $MKDIR_P in
   12236   [\\/$]* | ?:[\\/]* ) ;;
   12237   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12238   esac
   12239 _ACEOF
   12240 
   12241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12242 # If the template does not know about datarootdir, expand it.
   12243 # FIXME: This hack should be removed a few years after 2.60.
   12244 ac_datarootdir_hack=; ac_datarootdir_seen=
   12245 ac_sed_dataroot='
   12246 /datarootdir/ {
   12247   p
   12248   q
   12249 }
   12250 /@datadir@/p
   12251 /@docdir@/p
   12252 /@infodir@/p
   12253 /@localedir@/p
   12254 /@mandir@/p'
   12255 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12256 *datarootdir*) ac_datarootdir_seen=yes;;
   12257 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12258   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12259 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12260 _ACEOF
   12261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12262   ac_datarootdir_hack='
   12263   s&@datadir@&$datadir&g
   12264   s&@docdir@&$docdir&g
   12265   s&@infodir@&$infodir&g
   12266   s&@localedir@&$localedir&g
   12267   s&@mandir@&$mandir&g
   12268   s&\\\${datarootdir}&$datarootdir&g' ;;
   12269 esac
   12270 _ACEOF
   12271 
   12272 # Neutralize VPATH when `$srcdir' = `.'.
   12273 # Shell code in configure.ac might set extrasub.
   12274 # FIXME: do we really want to maintain this feature?
   12275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12276 ac_sed_extra="$ac_vpsub
   12277 $extrasub
   12278 _ACEOF
   12279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12280 :t
   12281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12282 s|@configure_input@|$ac_sed_conf_input|;t t
   12283 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12284 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12285 s&@srcdir@&$ac_srcdir&;t t
   12286 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12287 s&@top_srcdir@&$ac_top_srcdir&;t t
   12288 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12289 s&@builddir@&$ac_builddir&;t t
   12290 s&@abs_builddir@&$ac_abs_builddir&;t t
   12291 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12292 s&@INSTALL@&$ac_INSTALL&;t t
   12293 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12294 $ac_datarootdir_hack
   12295 "
   12296 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12297   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12298 
   12299 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12300   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12301   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12302       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12303   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12304 which seems to be undefined.  Please make sure it is defined" >&5
   12305 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12306 which seems to be undefined.  Please make sure it is defined" >&2;}
   12307 
   12308   rm -f "$ac_tmp/stdin"
   12309   case $ac_file in
   12310   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12311   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12312   esac \
   12313   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12314  ;;
   12315 
   12316 
   12317   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12318 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12319  ;;
   12320   esac
   12321 
   12322 
   12323   case $ac_file$ac_mode in
   12324     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12325   # Older Autoconf quotes --file arguments for eval, but not when files
   12326   # are listed without --file.  Let's play safe and only enable the eval
   12327   # if we detect the quoting.
   12328   case $CONFIG_FILES in
   12329   *\'*) eval set x "$CONFIG_FILES" ;;
   12330   *)   set x $CONFIG_FILES ;;
   12331   esac
   12332   shift
   12333   for mf
   12334   do
   12335     # Strip MF so we end up with the name of the file.
   12336     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12337     # Check whether this is an Automake generated Makefile or not.
   12338     # We used to match only the files named 'Makefile.in', but
   12339     # some people rename them; so instead we look at the file content.
   12340     # Grep'ing the first line is not enough: some people post-process
   12341     # each Makefile.in and add a new line on top of each file to say so.
   12342     # Grep'ing the whole file is not good either: AIX grep has a line
   12343     # limit of 2048, but all sed's we know have understand at least 4000.
   12344     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12345       dirpart=`$as_dirname -- "$mf" ||
   12346 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12347 	 X"$mf" : 'X\(//\)[^/]' \| \
   12348 	 X"$mf" : 'X\(//\)$' \| \
   12349 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12350 $as_echo X"$mf" |
   12351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12352 	    s//\1/
   12353 	    q
   12354 	  }
   12355 	  /^X\(\/\/\)[^/].*/{
   12356 	    s//\1/
   12357 	    q
   12358 	  }
   12359 	  /^X\(\/\/\)$/{
   12360 	    s//\1/
   12361 	    q
   12362 	  }
   12363 	  /^X\(\/\).*/{
   12364 	    s//\1/
   12365 	    q
   12366 	  }
   12367 	  s/.*/./; q'`
   12368     else
   12369       continue
   12370     fi
   12371     # Extract the definition of DEPDIR, am__include, and am__quote
   12372     # from the Makefile without running 'make'.
   12373     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12374     test -z "$DEPDIR" && continue
   12375     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12376     test -z "$am__include" && continue
   12377     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12378     # Find all dependency output files, they are included files with
   12379     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12380     # simplest approach to changing $(DEPDIR) to its actual value in the
   12381     # expansion.
   12382     for file in `sed -n "
   12383       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12384 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12385       # Make sure the directory exists.
   12386       test -f "$dirpart/$file" && continue
   12387       fdir=`$as_dirname -- "$file" ||
   12388 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12389 	 X"$file" : 'X\(//\)[^/]' \| \
   12390 	 X"$file" : 'X\(//\)$' \| \
   12391 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12392 $as_echo X"$file" |
   12393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12394 	    s//\1/
   12395 	    q
   12396 	  }
   12397 	  /^X\(\/\/\)[^/].*/{
   12398 	    s//\1/
   12399 	    q
   12400 	  }
   12401 	  /^X\(\/\/\)$/{
   12402 	    s//\1/
   12403 	    q
   12404 	  }
   12405 	  /^X\(\/\).*/{
   12406 	    s//\1/
   12407 	    q
   12408 	  }
   12409 	  s/.*/./; q'`
   12410       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12411       # echo "creating $dirpart/$file"
   12412       echo '# dummy' > "$dirpart/$file"
   12413     done
   12414   done
   12415 }
   12416  ;;
   12417 
   12418   esac
   12419 done # for ac_tag
   12420 
   12421 
   12422 as_fn_exit 0
   12423 _ACEOF
   12424 ac_clean_files=$ac_clean_files_save
   12425 
   12426 test $ac_write_fail = 0 ||
   12427   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12428 
   12429 
   12430 # configure is writing to config.log, and then calls config.status.
   12431 # config.status does its own redirection, appending to config.log.
   12432 # Unfortunately, on DOS this fails, as config.log is still kept open
   12433 # by configure, so config.status won't be able to write to it; its
   12434 # output is simply discarded.  So we exec the FD to /dev/null,
   12435 # effectively closing config.log, so it can be properly (re)opened and
   12436 # appended to by config.status.  When coming back to configure, we
   12437 # need to make the FD available again.
   12438 if test "$no_create" != yes; then
   12439   ac_cs_success=:
   12440   ac_config_status_args=
   12441   test "$silent" = yes &&
   12442     ac_config_status_args="$ac_config_status_args --quiet"
   12443   exec 5>/dev/null
   12444   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12445   exec 5>>config.log
   12446   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12447   # would make configure fail if this is the last instruction.
   12448   $ac_cs_success || as_fn_exit 1
   12449 fi
   12450 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12451   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12452 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12453 fi
   12454 
   12455