Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xfs 1.2.0.
      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='xfs'
    643 PACKAGE_TARNAME='xfs'
    644 PACKAGE_VERSION='1.2.0'
    645 PACKAGE_STRING='xfs 1.2.0'
    646 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    647 PACKAGE_URL=''
    648 
    649 # Factoring default headers for most tests.
    650 ac_includes_default="\
    651 #include <stdio.h>
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef STDC_HEADERS
    659 # include <stdlib.h>
    660 # include <stddef.h>
    661 #else
    662 # ifdef HAVE_STDLIB_H
    663 #  include <stdlib.h>
    664 # endif
    665 #endif
    666 #ifdef HAVE_STRING_H
    667 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    668 #  include <memory.h>
    669 # endif
    670 # include <string.h>
    671 #endif
    672 #ifdef HAVE_STRINGS_H
    673 # include <strings.h>
    674 #endif
    675 #ifdef HAVE_INTTYPES_H
    676 # include <inttypes.h>
    677 #endif
    678 #ifdef HAVE_STDINT_H
    679 # include <stdint.h>
    680 #endif
    681 #ifdef HAVE_UNISTD_H
    682 # include <unistd.h>
    683 #endif"
    684 
    685 ac_subst_vars='am__EXEEXT_FALSE
    686 am__EXEEXT_TRUE
    687 LTLIBOBJS
    688 LIBOBJS
    689 XFS_LIBS
    690 XFS_CFLAGS
    691 FONTPATH
    692 FONT100DPIDIR
    693 FONT75DPIDIR
    694 FONTTYPE1DIR
    695 FONTTTFDIR
    696 FONTOTFDIR
    697 FONTMISCDIR
    698 FONTROOTDIR
    699 CONFIG_FILE_PATH
    700 CONFIG_FILE_DESC
    701 DEFAULT_CONFIG_FILE
    702 LINT_FALSE
    703 LINT_TRUE
    704 LINT_FLAGS
    705 LINT
    706 HAVE_STYLESHEETS_FALSE
    707 HAVE_STYLESHEETS_TRUE
    708 XSL_STYLESHEET
    709 STYLESHEET_SRCDIR
    710 XORG_SGML_PATH
    711 HAVE_FOP_FALSE
    712 HAVE_FOP_TRUE
    713 FOP
    714 HAVE_XMLTO_FALSE
    715 HAVE_XMLTO_TRUE
    716 HAVE_XMLTO_TEXT_FALSE
    717 HAVE_XMLTO_TEXT_TRUE
    718 XMLTO
    719 ENABLE_DEVEL_DOCS_FALSE
    720 ENABLE_DEVEL_DOCS_TRUE
    721 MAN_SUBSTS
    722 XORG_MAN_PAGE
    723 ADMIN_MAN_DIR
    724 DRIVER_MAN_DIR
    725 MISC_MAN_DIR
    726 FILE_MAN_DIR
    727 LIB_MAN_DIR
    728 APP_MAN_DIR
    729 ADMIN_MAN_SUFFIX
    730 DRIVER_MAN_SUFFIX
    731 MISC_MAN_SUFFIX
    732 FILE_MAN_SUFFIX
    733 LIB_MAN_SUFFIX
    734 APP_MAN_SUFFIX
    735 SED
    736 host_os
    737 host_vendor
    738 host_cpu
    739 host
    740 build_os
    741 build_vendor
    742 build_cpu
    743 build
    744 INSTALL_CMD
    745 PKG_CONFIG_LIBDIR
    746 PKG_CONFIG_PATH
    747 PKG_CONFIG
    748 CHANGELOG_CMD
    749 STRICT_CFLAGS
    750 CWARNFLAGS
    751 BASE_CFLAGS
    752 AM_BACKSLASH
    753 AM_DEFAULT_VERBOSITY
    754 AM_DEFAULT_V
    755 AM_V
    756 am__fastdepCC_FALSE
    757 am__fastdepCC_TRUE
    758 CCDEPMODE
    759 am__nodep
    760 AMDEPBACKSLASH
    761 AMDEP_FALSE
    762 AMDEP_TRUE
    763 am__quote
    764 am__include
    765 DEPDIR
    766 am__untar
    767 am__tar
    768 AMTAR
    769 am__leading_dot
    770 SET_MAKE
    771 AWK
    772 mkdir_p
    773 MKDIR_P
    774 INSTALL_STRIP_PROGRAM
    775 STRIP
    776 install_sh
    777 MAKEINFO
    778 AUTOHEADER
    779 AUTOMAKE
    780 AUTOCONF
    781 ACLOCAL
    782 VERSION
    783 PACKAGE
    784 CYGPATH_W
    785 am__isrc
    786 INSTALL_DATA
    787 INSTALL_SCRIPT
    788 INSTALL_PROGRAM
    789 EGREP
    790 GREP
    791 CPP
    792 OBJEXT
    793 EXEEXT
    794 ac_ct_CC
    795 CPPFLAGS
    796 LDFLAGS
    797 CFLAGS
    798 CC
    799 target_alias
    800 host_alias
    801 build_alias
    802 LIBS
    803 ECHO_T
    804 ECHO_N
    805 ECHO_C
    806 DEFS
    807 mandir
    808 localedir
    809 libdir
    810 psdir
    811 pdfdir
    812 dvidir
    813 htmldir
    814 infodir
    815 docdir
    816 oldincludedir
    817 includedir
    818 localstatedir
    819 sharedstatedir
    820 sysconfdir
    821 datadir
    822 datarootdir
    823 libexecdir
    824 sbindir
    825 bindir
    826 program_transform_name
    827 prefix
    828 exec_prefix
    829 PACKAGE_URL
    830 PACKAGE_BUGREPORT
    831 PACKAGE_STRING
    832 PACKAGE_VERSION
    833 PACKAGE_TARNAME
    834 PACKAGE_NAME
    835 PATH_SEPARATOR
    836 SHELL'
    837 ac_subst_files=''
    838 ac_user_opts='
    839 enable_option_checking
    840 enable_dependency_tracking
    841 enable_silent_rules
    842 enable_selective_werror
    843 enable_strict_compilation
    844 enable_devel_docs
    845 with_xmlto
    846 with_fop
    847 with_lint
    848 with_default_config_file
    849 with_fontrootdir
    850 with_fontmiscdir
    851 with_fontotfdir
    852 with_fontttfdir
    853 with_fonttype1dir
    854 with_font75dpidir
    855 with_font100dpidir
    856 with_default_font_path
    857 enable_inetd
    858 enable_syslog
    859 enable_unix_transport
    860 enable_tcp_transport
    861 enable_ipv6
    862 enable_local_transport
    863 '
    864       ac_precious_vars='build_alias
    865 host_alias
    866 target_alias
    867 CC
    868 CFLAGS
    869 LDFLAGS
    870 LIBS
    871 CPPFLAGS
    872 CPP
    873 PKG_CONFIG
    874 PKG_CONFIG_PATH
    875 PKG_CONFIG_LIBDIR
    876 XMLTO
    877 FOP
    878 LINT
    879 LINT_FLAGS
    880 XFS_CFLAGS
    881 XFS_LIBS'
    882 
    883 
    884 # Initialize some variables set by options.
    885 ac_init_help=
    886 ac_init_version=false
    887 ac_unrecognized_opts=
    888 ac_unrecognized_sep=
    889 # The variables have the same names as the options, with
    890 # dashes changed to underlines.
    891 cache_file=/dev/null
    892 exec_prefix=NONE
    893 no_create=
    894 no_recursion=
    895 prefix=NONE
    896 program_prefix=NONE
    897 program_suffix=NONE
    898 program_transform_name=s,x,x,
    899 silent=
    900 site=
    901 srcdir=
    902 verbose=
    903 x_includes=NONE
    904 x_libraries=NONE
    905 
    906 # Installation directory options.
    907 # These are left unexpanded so users can "make install exec_prefix=/foo"
    908 # and all the variables that are supposed to be based on exec_prefix
    909 # by default will actually change.
    910 # Use braces instead of parens because sh, perl, etc. also accept them.
    911 # (The list follows the same order as the GNU Coding Standards.)
    912 bindir='${exec_prefix}/bin'
    913 sbindir='${exec_prefix}/sbin'
    914 libexecdir='${exec_prefix}/libexec'
    915 datarootdir='${prefix}/share'
    916 datadir='${datarootdir}'
    917 sysconfdir='${prefix}/etc'
    918 sharedstatedir='${prefix}/com'
    919 localstatedir='${prefix}/var'
    920 includedir='${prefix}/include'
    921 oldincludedir='/usr/include'
    922 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    923 infodir='${datarootdir}/info'
    924 htmldir='${docdir}'
    925 dvidir='${docdir}'
    926 pdfdir='${docdir}'
    927 psdir='${docdir}'
    928 libdir='${exec_prefix}/lib'
    929 localedir='${datarootdir}/locale'
    930 mandir='${datarootdir}/man'
    931 
    932 ac_prev=
    933 ac_dashdash=
    934 for ac_option
    935 do
    936   # If the previous option needs an argument, assign it.
    937   if test -n "$ac_prev"; then
    938     eval $ac_prev=\$ac_option
    939     ac_prev=
    940     continue
    941   fi
    942 
    943   case $ac_option in
    944   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    945   *=)   ac_optarg= ;;
    946   *)    ac_optarg=yes ;;
    947   esac
    948 
    949   # Accept the important Cygnus configure options, so we can diagnose typos.
    950 
    951   case $ac_dashdash$ac_option in
    952   --)
    953     ac_dashdash=yes ;;
    954 
    955   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    956     ac_prev=bindir ;;
    957   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    958     bindir=$ac_optarg ;;
    959 
    960   -build | --build | --buil | --bui | --bu)
    961     ac_prev=build_alias ;;
    962   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    963     build_alias=$ac_optarg ;;
    964 
    965   -cache-file | --cache-file | --cache-fil | --cache-fi \
    966   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    967     ac_prev=cache_file ;;
    968   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    969   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    970     cache_file=$ac_optarg ;;
    971 
    972   --config-cache | -C)
    973     cache_file=config.cache ;;
    974 
    975   -datadir | --datadir | --datadi | --datad)
    976     ac_prev=datadir ;;
    977   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    978     datadir=$ac_optarg ;;
    979 
    980   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    981   | --dataroo | --dataro | --datar)
    982     ac_prev=datarootdir ;;
    983   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    984   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    985     datarootdir=$ac_optarg ;;
    986 
    987   -disable-* | --disable-*)
    988     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    989     # Reject names that are not valid shell variable names.
    990     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    991       as_fn_error $? "invalid feature name: $ac_useropt"
    992     ac_useropt_orig=$ac_useropt
    993     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    994     case $ac_user_opts in
    995       *"
    996 "enable_$ac_useropt"
    997 "*) ;;
    998       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    999 	 ac_unrecognized_sep=', ';;
   1000     esac
   1001     eval enable_$ac_useropt=no ;;
   1002 
   1003   -docdir | --docdir | --docdi | --doc | --do)
   1004     ac_prev=docdir ;;
   1005   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1006     docdir=$ac_optarg ;;
   1007 
   1008   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1009     ac_prev=dvidir ;;
   1010   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1011     dvidir=$ac_optarg ;;
   1012 
   1013   -enable-* | --enable-*)
   1014     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1015     # Reject names that are not valid shell variable names.
   1016     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1017       as_fn_error $? "invalid feature name: $ac_useropt"
   1018     ac_useropt_orig=$ac_useropt
   1019     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1020     case $ac_user_opts in
   1021       *"
   1022 "enable_$ac_useropt"
   1023 "*) ;;
   1024       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1025 	 ac_unrecognized_sep=', ';;
   1026     esac
   1027     eval enable_$ac_useropt=\$ac_optarg ;;
   1028 
   1029   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1030   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1031   | --exec | --exe | --ex)
   1032     ac_prev=exec_prefix ;;
   1033   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1034   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1035   | --exec=* | --exe=* | --ex=*)
   1036     exec_prefix=$ac_optarg ;;
   1037 
   1038   -gas | --gas | --ga | --g)
   1039     # Obsolete; use --with-gas.
   1040     with_gas=yes ;;
   1041 
   1042   -help | --help | --hel | --he | -h)
   1043     ac_init_help=long ;;
   1044   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1045     ac_init_help=recursive ;;
   1046   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1047     ac_init_help=short ;;
   1048 
   1049   -host | --host | --hos | --ho)
   1050     ac_prev=host_alias ;;
   1051   -host=* | --host=* | --hos=* | --ho=*)
   1052     host_alias=$ac_optarg ;;
   1053 
   1054   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1055     ac_prev=htmldir ;;
   1056   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1057   | --ht=*)
   1058     htmldir=$ac_optarg ;;
   1059 
   1060   -includedir | --includedir | --includedi | --included | --include \
   1061   | --includ | --inclu | --incl | --inc)
   1062     ac_prev=includedir ;;
   1063   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1064   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1065     includedir=$ac_optarg ;;
   1066 
   1067   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1068     ac_prev=infodir ;;
   1069   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1070     infodir=$ac_optarg ;;
   1071 
   1072   -libdir | --libdir | --libdi | --libd)
   1073     ac_prev=libdir ;;
   1074   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1075     libdir=$ac_optarg ;;
   1076 
   1077   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1078   | --libexe | --libex | --libe)
   1079     ac_prev=libexecdir ;;
   1080   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1081   | --libexe=* | --libex=* | --libe=*)
   1082     libexecdir=$ac_optarg ;;
   1083 
   1084   -localedir | --localedir | --localedi | --localed | --locale)
   1085     ac_prev=localedir ;;
   1086   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1087     localedir=$ac_optarg ;;
   1088 
   1089   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1090   | --localstate | --localstat | --localsta | --localst | --locals)
   1091     ac_prev=localstatedir ;;
   1092   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1093   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1094     localstatedir=$ac_optarg ;;
   1095 
   1096   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1097     ac_prev=mandir ;;
   1098   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1099     mandir=$ac_optarg ;;
   1100 
   1101   -nfp | --nfp | --nf)
   1102     # Obsolete; use --without-fp.
   1103     with_fp=no ;;
   1104 
   1105   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1106   | --no-cr | --no-c | -n)
   1107     no_create=yes ;;
   1108 
   1109   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1110   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1111     no_recursion=yes ;;
   1112 
   1113   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1114   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1115   | --oldin | --oldi | --old | --ol | --o)
   1116     ac_prev=oldincludedir ;;
   1117   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1118   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1119   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1120     oldincludedir=$ac_optarg ;;
   1121 
   1122   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1123     ac_prev=prefix ;;
   1124   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1125     prefix=$ac_optarg ;;
   1126 
   1127   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1128   | --program-pre | --program-pr | --program-p)
   1129     ac_prev=program_prefix ;;
   1130   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1131   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1132     program_prefix=$ac_optarg ;;
   1133 
   1134   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1135   | --program-suf | --program-su | --program-s)
   1136     ac_prev=program_suffix ;;
   1137   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1138   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1139     program_suffix=$ac_optarg ;;
   1140 
   1141   -program-transform-name | --program-transform-name \
   1142   | --program-transform-nam | --program-transform-na \
   1143   | --program-transform-n | --program-transform- \
   1144   | --program-transform | --program-transfor \
   1145   | --program-transfo | --program-transf \
   1146   | --program-trans | --program-tran \
   1147   | --progr-tra | --program-tr | --program-t)
   1148     ac_prev=program_transform_name ;;
   1149   -program-transform-name=* | --program-transform-name=* \
   1150   | --program-transform-nam=* | --program-transform-na=* \
   1151   | --program-transform-n=* | --program-transform-=* \
   1152   | --program-transform=* | --program-transfor=* \
   1153   | --program-transfo=* | --program-transf=* \
   1154   | --program-trans=* | --program-tran=* \
   1155   | --progr-tra=* | --program-tr=* | --program-t=*)
   1156     program_transform_name=$ac_optarg ;;
   1157 
   1158   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1159     ac_prev=pdfdir ;;
   1160   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1161     pdfdir=$ac_optarg ;;
   1162 
   1163   -psdir | --psdir | --psdi | --psd | --ps)
   1164     ac_prev=psdir ;;
   1165   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1166     psdir=$ac_optarg ;;
   1167 
   1168   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1169   | -silent | --silent | --silen | --sile | --sil)
   1170     silent=yes ;;
   1171 
   1172   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1173     ac_prev=sbindir ;;
   1174   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1175   | --sbi=* | --sb=*)
   1176     sbindir=$ac_optarg ;;
   1177 
   1178   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1179   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1180   | --sharedst | --shareds | --shared | --share | --shar \
   1181   | --sha | --sh)
   1182     ac_prev=sharedstatedir ;;
   1183   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1184   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1185   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1186   | --sha=* | --sh=*)
   1187     sharedstatedir=$ac_optarg ;;
   1188 
   1189   -site | --site | --sit)
   1190     ac_prev=site ;;
   1191   -site=* | --site=* | --sit=*)
   1192     site=$ac_optarg ;;
   1193 
   1194   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1195     ac_prev=srcdir ;;
   1196   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1197     srcdir=$ac_optarg ;;
   1198 
   1199   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1200   | --syscon | --sysco | --sysc | --sys | --sy)
   1201     ac_prev=sysconfdir ;;
   1202   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1203   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1204     sysconfdir=$ac_optarg ;;
   1205 
   1206   -target | --target | --targe | --targ | --tar | --ta | --t)
   1207     ac_prev=target_alias ;;
   1208   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1209     target_alias=$ac_optarg ;;
   1210 
   1211   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1212     verbose=yes ;;
   1213 
   1214   -version | --version | --versio | --versi | --vers | -V)
   1215     ac_init_version=: ;;
   1216 
   1217   -with-* | --with-*)
   1218     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1219     # Reject names that are not valid shell variable names.
   1220     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1221       as_fn_error $? "invalid package name: $ac_useropt"
   1222     ac_useropt_orig=$ac_useropt
   1223     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1224     case $ac_user_opts in
   1225       *"
   1226 "with_$ac_useropt"
   1227 "*) ;;
   1228       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1229 	 ac_unrecognized_sep=', ';;
   1230     esac
   1231     eval with_$ac_useropt=\$ac_optarg ;;
   1232 
   1233   -without-* | --without-*)
   1234     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1235     # Reject names that are not valid shell variable names.
   1236     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1237       as_fn_error $? "invalid package name: $ac_useropt"
   1238     ac_useropt_orig=$ac_useropt
   1239     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1240     case $ac_user_opts in
   1241       *"
   1242 "with_$ac_useropt"
   1243 "*) ;;
   1244       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1245 	 ac_unrecognized_sep=', ';;
   1246     esac
   1247     eval with_$ac_useropt=no ;;
   1248 
   1249   --x)
   1250     # Obsolete; use --with-x.
   1251     with_x=yes ;;
   1252 
   1253   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1254   | --x-incl | --x-inc | --x-in | --x-i)
   1255     ac_prev=x_includes ;;
   1256   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1257   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1258     x_includes=$ac_optarg ;;
   1259 
   1260   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1261   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1262     ac_prev=x_libraries ;;
   1263   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1264   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1265     x_libraries=$ac_optarg ;;
   1266 
   1267   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1268 Try \`$0 --help' for more information"
   1269     ;;
   1270 
   1271   *=*)
   1272     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1273     # Reject names that are not valid shell variable names.
   1274     case $ac_envvar in #(
   1275       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1276       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1277     esac
   1278     eval $ac_envvar=\$ac_optarg
   1279     export $ac_envvar ;;
   1280 
   1281   *)
   1282     # FIXME: should be removed in autoconf 3.0.
   1283     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1284     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1285       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1286     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1287     ;;
   1288 
   1289   esac
   1290 done
   1291 
   1292 if test -n "$ac_prev"; then
   1293   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1294   as_fn_error $? "missing argument to $ac_option"
   1295 fi
   1296 
   1297 if test -n "$ac_unrecognized_opts"; then
   1298   case $enable_option_checking in
   1299     no) ;;
   1300     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1301     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1302   esac
   1303 fi
   1304 
   1305 # Check all directory arguments for consistency.
   1306 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1307 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1308 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1309 		libdir localedir mandir
   1310 do
   1311   eval ac_val=\$$ac_var
   1312   # Remove trailing slashes.
   1313   case $ac_val in
   1314     */ )
   1315       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1316       eval $ac_var=\$ac_val;;
   1317   esac
   1318   # Be sure to have absolute directory names.
   1319   case $ac_val in
   1320     [\\/$]* | ?:[\\/]* )  continue;;
   1321     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1322   esac
   1323   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1324 done
   1325 
   1326 # There might be people who depend on the old broken behavior: `$host'
   1327 # used to hold the argument of --host etc.
   1328 # FIXME: To remove some day.
   1329 build=$build_alias
   1330 host=$host_alias
   1331 target=$target_alias
   1332 
   1333 # FIXME: To remove some day.
   1334 if test "x$host_alias" != x; then
   1335   if test "x$build_alias" = x; then
   1336     cross_compiling=maybe
   1337   elif test "x$build_alias" != "x$host_alias"; then
   1338     cross_compiling=yes
   1339   fi
   1340 fi
   1341 
   1342 ac_tool_prefix=
   1343 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1344 
   1345 test "$silent" = yes && exec 6>/dev/null
   1346 
   1347 
   1348 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1349 ac_ls_di=`ls -di .` &&
   1350 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1351   as_fn_error $? "working directory cannot be determined"
   1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1353   as_fn_error $? "pwd does not report name of working directory"
   1354 
   1355 
   1356 # Find the source files, if location was not specified.
   1357 if test -z "$srcdir"; then
   1358   ac_srcdir_defaulted=yes
   1359   # Try the directory containing this script, then the parent directory.
   1360   ac_confdir=`$as_dirname -- "$as_myself" ||
   1361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1362 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1363 	 X"$as_myself" : 'X\(//\)$' \| \
   1364 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1365 $as_echo X"$as_myself" |
   1366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\/\)[^/].*/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  /^X\(\/\/\)$/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  /^X\(\/\).*/{
   1379 	    s//\1/
   1380 	    q
   1381 	  }
   1382 	  s/.*/./; q'`
   1383   srcdir=$ac_confdir
   1384   if test ! -r "$srcdir/$ac_unique_file"; then
   1385     srcdir=..
   1386   fi
   1387 else
   1388   ac_srcdir_defaulted=no
   1389 fi
   1390 if test ! -r "$srcdir/$ac_unique_file"; then
   1391   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1392   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1393 fi
   1394 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1395 ac_abs_confdir=`(
   1396 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1397 	pwd)`
   1398 # When building in place, set srcdir=.
   1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1400   srcdir=.
   1401 fi
   1402 # Remove unnecessary trailing slashes from srcdir.
   1403 # Double slashes in file names in object file debugging info
   1404 # mess up M-x gdb in Emacs.
   1405 case $srcdir in
   1406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1407 esac
   1408 for ac_var in $ac_precious_vars; do
   1409   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1410   eval ac_env_${ac_var}_value=\$${ac_var}
   1411   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1412   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1413 done
   1414 
   1415 #
   1416 # Report the --help message.
   1417 #
   1418 if test "$ac_init_help" = "long"; then
   1419   # Omit some internal or obsolete options to make the list less imposing.
   1420   # This message is too long to be a string in the A/UX 3.1 sh.
   1421   cat <<_ACEOF
   1422 \`configure' configures xfs 1.2.0 to adapt to many kinds of systems.
   1423 
   1424 Usage: $0 [OPTION]... [VAR=VALUE]...
   1425 
   1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1427 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1428 
   1429 Defaults for the options are specified in brackets.
   1430 
   1431 Configuration:
   1432   -h, --help              display this help and exit
   1433       --help=short        display options specific to this package
   1434       --help=recursive    display the short help of all the included packages
   1435   -V, --version           display version information and exit
   1436   -q, --quiet, --silent   do not print \`checking ...' messages
   1437       --cache-file=FILE   cache test results in FILE [disabled]
   1438   -C, --config-cache      alias for \`--cache-file=config.cache'
   1439   -n, --no-create         do not create output files
   1440       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1441 
   1442 Installation directories:
   1443   --prefix=PREFIX         install architecture-independent files in PREFIX
   1444                           [$ac_default_prefix]
   1445   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1446                           [PREFIX]
   1447 
   1448 By default, \`make install' will install all the files in
   1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1451 for instance \`--prefix=\$HOME'.
   1452 
   1453 For better control, use the options below.
   1454 
   1455 Fine tuning of the installation directories:
   1456   --bindir=DIR            user executables [EPREFIX/bin]
   1457   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1458   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1459   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1460   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1461   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1462   --libdir=DIR            object code libraries [EPREFIX/lib]
   1463   --includedir=DIR        C header files [PREFIX/include]
   1464   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1465   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1466   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1467   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1468   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1469   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1470   --docdir=DIR            documentation root [DATAROOTDIR/doc/xfs]
   1471   --htmldir=DIR           html documentation [DOCDIR]
   1472   --dvidir=DIR            dvi documentation [DOCDIR]
   1473   --pdfdir=DIR            pdf documentation [DOCDIR]
   1474   --psdir=DIR             ps documentation [DOCDIR]
   1475 _ACEOF
   1476 
   1477   cat <<\_ACEOF
   1478 
   1479 Program names:
   1480   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1481   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1482   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1483 
   1484 System types:
   1485   --build=BUILD     configure for building on BUILD [guessed]
   1486   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1487 _ACEOF
   1488 fi
   1489 
   1490 if test -n "$ac_init_help"; then
   1491   case $ac_init_help in
   1492      short | recursive ) echo "Configuration of xfs 1.2.0:";;
   1493    esac
   1494   cat <<\_ACEOF
   1495 
   1496 Optional Features:
   1497   --disable-option-checking  ignore unrecognized --enable/--with options
   1498   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1499   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1500   --enable-dependency-tracking
   1501                           do not reject slow dependency extractors
   1502   --disable-dependency-tracking
   1503                           speeds up one-time build
   1504   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1505   --disable-silent-rules  verbose build output (undo: "make V=0")
   1506   --disable-selective-werror
   1507                           Turn off selective compiler errors. (default:
   1508                           enabled)
   1509   --enable-strict-compilation
   1510                           Enable all warnings from compiler and make them
   1511                           errors (default: disabled)
   1512   --enable-devel-docs     Enable building the developer documentation
   1513                           (default: yes)
   1514   --enable-inetd          Support -inetd flag for starting from inetd
   1515                           (default: enabled)
   1516   --enable-syslog         Support option for logging via syslog (default:
   1517                           enabled)
   1518   --enable-unix-transport Enable UNIX domain socket transport
   1519   --enable-tcp-transport  Enable TCP socket transport
   1520   --enable-ipv6           Enable IPv6 support
   1521   --enable-local-transport
   1522                           Enable os-specific local transport
   1523 
   1524 Optional Packages:
   1525   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1526   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1527   --with-xmlto            Use xmlto to regenerate documentation (default:
   1528                           auto)
   1529   --with-fop              Use fop to regenerate documentation (default: auto)
   1530   --with-lint             Use a lint-style source code checker (default:
   1531                           disabled)
   1532   --with-default-config-file=PATH
   1533                           comma-separated list of paths to look for config
   1534                           file when not specified (default:
   1535                           ${sysconfdir}/X11/fs/config)
   1536   --with-fontrootdir=DIR  Path to root directory for font files
   1537   --with-fontmiscdir=DIR  Path to misc files [FONTROOTDIR/misc]
   1538   --with-fontotfdir=DIR   Path to OTF files [FONTROOTDIR/OTF]
   1539   --with-fontttfdir=DIR   Path to TTF files [FONTROOTDIR/TTF]
   1540   --with-fonttype1dir=DIR Path to Type1 files [FONTROOTDIR/Type1]
   1541   --with-font75dpidir=DIR Path to 75dpi files [FONTROOTDIR/75dpi]
   1542   --with-font100dpidir=DIR
   1543                           Path to 100dpi files [FONTROOTDIR/100dpi]
   1544   --with-default-font-path=PATH
   1545                           Comma separated list of font dirs
   1546 
   1547 Some influential environment variables:
   1548   CC          C compiler command
   1549   CFLAGS      C compiler flags
   1550   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1551               nonstandard directory <lib dir>
   1552   LIBS        libraries to pass to the linker, e.g. -l<library>
   1553   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1554               you have headers in a nonstandard directory <include dir>
   1555   CPP         C preprocessor
   1556   PKG_CONFIG  path to pkg-config utility
   1557   PKG_CONFIG_PATH
   1558               directories to add to pkg-config's search path
   1559   PKG_CONFIG_LIBDIR
   1560               path overriding pkg-config's built-in search path
   1561   XMLTO       Path to xmlto command
   1562   FOP         Path to fop command
   1563   LINT        Path to a lint-style command
   1564   LINT_FLAGS  Flags for the lint-style command
   1565   XFS_CFLAGS  C compiler flags for XFS, overriding pkg-config
   1566   XFS_LIBS    linker flags for XFS, overriding pkg-config
   1567 
   1568 Use these variables to override the choices made by `configure' or to help
   1569 it to find libraries and programs with nonstandard names/locations.
   1570 
   1571 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1572 _ACEOF
   1573 ac_status=$?
   1574 fi
   1575 
   1576 if test "$ac_init_help" = "recursive"; then
   1577   # If there are subdirs, report their specific --help.
   1578   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1579     test -d "$ac_dir" ||
   1580       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1581       continue
   1582     ac_builddir=.
   1583 
   1584 case "$ac_dir" in
   1585 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1586 *)
   1587   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1588   # A ".." for each directory in $ac_dir_suffix.
   1589   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1590   case $ac_top_builddir_sub in
   1591   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1592   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1593   esac ;;
   1594 esac
   1595 ac_abs_top_builddir=$ac_pwd
   1596 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1597 # for backward compatibility:
   1598 ac_top_builddir=$ac_top_build_prefix
   1599 
   1600 case $srcdir in
   1601   .)  # We are building in place.
   1602     ac_srcdir=.
   1603     ac_top_srcdir=$ac_top_builddir_sub
   1604     ac_abs_top_srcdir=$ac_pwd ;;
   1605   [\\/]* | ?:[\\/]* )  # Absolute name.
   1606     ac_srcdir=$srcdir$ac_dir_suffix;
   1607     ac_top_srcdir=$srcdir
   1608     ac_abs_top_srcdir=$srcdir ;;
   1609   *) # Relative name.
   1610     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1611     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1612     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1613 esac
   1614 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1615 
   1616     cd "$ac_dir" || { ac_status=$?; continue; }
   1617     # Check for guested configure.
   1618     if test -f "$ac_srcdir/configure.gnu"; then
   1619       echo &&
   1620       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1621     elif test -f "$ac_srcdir/configure"; then
   1622       echo &&
   1623       $SHELL "$ac_srcdir/configure" --help=recursive
   1624     else
   1625       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1626     fi || ac_status=$?
   1627     cd "$ac_pwd" || { ac_status=$?; break; }
   1628   done
   1629 fi
   1630 
   1631 test -n "$ac_init_help" && exit $ac_status
   1632 if $ac_init_version; then
   1633   cat <<\_ACEOF
   1634 xfs configure 1.2.0
   1635 generated by GNU Autoconf 2.69
   1636 
   1637 Copyright (C) 2012 Free Software Foundation, Inc.
   1638 This configure script is free software; the Free Software Foundation
   1639 gives unlimited permission to copy, distribute and modify it.
   1640 _ACEOF
   1641   exit
   1642 fi
   1643 
   1644 ## ------------------------ ##
   1645 ## Autoconf initialization. ##
   1646 ## ------------------------ ##
   1647 
   1648 # ac_fn_c_try_compile LINENO
   1649 # --------------------------
   1650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1651 ac_fn_c_try_compile ()
   1652 {
   1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1654   rm -f conftest.$ac_objext
   1655   if { { ac_try="$ac_compile"
   1656 case "(($ac_try" in
   1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1658   *) ac_try_echo=$ac_try;;
   1659 esac
   1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1661 $as_echo "$ac_try_echo"; } >&5
   1662   (eval "$ac_compile") 2>conftest.err
   1663   ac_status=$?
   1664   if test -s conftest.err; then
   1665     grep -v '^ *+' conftest.err >conftest.er1
   1666     cat conftest.er1 >&5
   1667     mv -f conftest.er1 conftest.err
   1668   fi
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } && {
   1671 	 test -z "$ac_c_werror_flag" ||
   1672 	 test ! -s conftest.err
   1673        } && test -s conftest.$ac_objext; then :
   1674   ac_retval=0
   1675 else
   1676   $as_echo "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679 	ac_retval=1
   1680 fi
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682   as_fn_set_status $ac_retval
   1683 
   1684 } # ac_fn_c_try_compile
   1685 
   1686 # ac_fn_c_try_cpp LINENO
   1687 # ----------------------
   1688 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1689 ac_fn_c_try_cpp ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } > conftest.i && {
   1708 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716     ac_retval=1
   1717 fi
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_cpp
   1722 
   1723 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1726 # the include files in INCLUDES and setting the cache variable VAR
   1727 # accordingly.
   1728 ac_fn_c_check_header_mongrel ()
   1729 {
   1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1731   if eval \${$3+:} false; then :
   1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1733 $as_echo_n "checking for $2... " >&6; }
   1734 if eval \${$3+:} false; then :
   1735   $as_echo_n "(cached) " >&6
   1736 fi
   1737 eval ac_res=\$$3
   1738 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1739 $as_echo "$ac_res" >&6; }
   1740 else
   1741   # Is the header compilable?
   1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1743 $as_echo_n "checking $2 usability... " >&6; }
   1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1745 /* end confdefs.h.  */
   1746 $4
   1747 #include <$2>
   1748 _ACEOF
   1749 if ac_fn_c_try_compile "$LINENO"; then :
   1750   ac_header_compiler=yes
   1751 else
   1752   ac_header_compiler=no
   1753 fi
   1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1756 $as_echo "$ac_header_compiler" >&6; }
   1757 
   1758 # Is the header present?
   1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1760 $as_echo_n "checking $2 presence... " >&6; }
   1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1762 /* end confdefs.h.  */
   1763 #include <$2>
   1764 _ACEOF
   1765 if ac_fn_c_try_cpp "$LINENO"; then :
   1766   ac_header_preproc=yes
   1767 else
   1768   ac_header_preproc=no
   1769 fi
   1770 rm -f conftest.err conftest.i conftest.$ac_ext
   1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1772 $as_echo "$ac_header_preproc" >&6; }
   1773 
   1774 # So?  What about this header?
   1775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1776   yes:no: )
   1777     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1778 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1781     ;;
   1782   no:yes:* )
   1783     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1784 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1785     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1786 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1787     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1788 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1790 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1792 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1793 ( $as_echo "## ---------------------------------------------------------------------- ##
   1794 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1795 ## ---------------------------------------------------------------------- ##"
   1796      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1797     ;;
   1798 esac
   1799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1800 $as_echo_n "checking for $2... " >&6; }
   1801 if eval \${$3+:} false; then :
   1802   $as_echo_n "(cached) " >&6
   1803 else
   1804   eval "$3=\$ac_header_compiler"
   1805 fi
   1806 eval ac_res=\$$3
   1807 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1808 $as_echo "$ac_res" >&6; }
   1809 fi
   1810   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1811 
   1812 } # ac_fn_c_check_header_mongrel
   1813 
   1814 # ac_fn_c_try_run LINENO
   1815 # ----------------------
   1816 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1817 # that executables *can* be run.
   1818 ac_fn_c_try_run ()
   1819 {
   1820   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1821   if { { ac_try="$ac_link"
   1822 case "(($ac_try" in
   1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1824   *) ac_try_echo=$ac_try;;
   1825 esac
   1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1827 $as_echo "$ac_try_echo"; } >&5
   1828   (eval "$ac_link") 2>&5
   1829   ac_status=$?
   1830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1831   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1832   { { case "(($ac_try" in
   1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1834   *) ac_try_echo=$ac_try;;
   1835 esac
   1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1837 $as_echo "$ac_try_echo"; } >&5
   1838   (eval "$ac_try") 2>&5
   1839   ac_status=$?
   1840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1841   test $ac_status = 0; }; }; then :
   1842   ac_retval=0
   1843 else
   1844   $as_echo "$as_me: program exited with status $ac_status" >&5
   1845        $as_echo "$as_me: failed program was:" >&5
   1846 sed 's/^/| /' conftest.$ac_ext >&5
   1847 
   1848        ac_retval=$ac_status
   1849 fi
   1850   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1851   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1852   as_fn_set_status $ac_retval
   1853 
   1854 } # ac_fn_c_try_run
   1855 
   1856 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1857 # -------------------------------------------------------
   1858 # Tests whether HEADER exists and can be compiled using the include files in
   1859 # INCLUDES, setting the cache variable VAR accordingly.
   1860 ac_fn_c_check_header_compile ()
   1861 {
   1862   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1864 $as_echo_n "checking for $2... " >&6; }
   1865 if eval \${$3+:} false; then :
   1866   $as_echo_n "(cached) " >&6
   1867 else
   1868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1869 /* end confdefs.h.  */
   1870 $4
   1871 #include <$2>
   1872 _ACEOF
   1873 if ac_fn_c_try_compile "$LINENO"; then :
   1874   eval "$3=yes"
   1875 else
   1876   eval "$3=no"
   1877 fi
   1878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1879 fi
   1880 eval ac_res=\$$3
   1881 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1882 $as_echo "$ac_res" >&6; }
   1883   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1884 
   1885 } # ac_fn_c_check_header_compile
   1886 
   1887 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1888 # ---------------------------------------------
   1889 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1890 # accordingly.
   1891 ac_fn_c_check_decl ()
   1892 {
   1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1894   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1895   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1897 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1898 if eval \${$3+:} false; then :
   1899   $as_echo_n "(cached) " >&6
   1900 else
   1901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1902 /* end confdefs.h.  */
   1903 $4
   1904 int
   1905 main ()
   1906 {
   1907 #ifndef $as_decl_name
   1908 #ifdef __cplusplus
   1909   (void) $as_decl_use;
   1910 #else
   1911   (void) $as_decl_name;
   1912 #endif
   1913 #endif
   1914 
   1915   ;
   1916   return 0;
   1917 }
   1918 _ACEOF
   1919 if ac_fn_c_try_compile "$LINENO"; then :
   1920   eval "$3=yes"
   1921 else
   1922   eval "$3=no"
   1923 fi
   1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1925 fi
   1926 eval ac_res=\$$3
   1927 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1928 $as_echo "$ac_res" >&6; }
   1929   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1930 
   1931 } # ac_fn_c_check_decl
   1932 
   1933 # ac_fn_c_try_link LINENO
   1934 # -----------------------
   1935 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1936 ac_fn_c_try_link ()
   1937 {
   1938   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1939   rm -f conftest.$ac_objext conftest$ac_exeext
   1940   if { { ac_try="$ac_link"
   1941 case "(($ac_try" in
   1942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1943   *) ac_try_echo=$ac_try;;
   1944 esac
   1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1946 $as_echo "$ac_try_echo"; } >&5
   1947   (eval "$ac_link") 2>conftest.err
   1948   ac_status=$?
   1949   if test -s conftest.err; then
   1950     grep -v '^ *+' conftest.err >conftest.er1
   1951     cat conftest.er1 >&5
   1952     mv -f conftest.er1 conftest.err
   1953   fi
   1954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1955   test $ac_status = 0; } && {
   1956 	 test -z "$ac_c_werror_flag" ||
   1957 	 test ! -s conftest.err
   1958        } && test -s conftest$ac_exeext && {
   1959 	 test "$cross_compiling" = yes ||
   1960 	 test -x conftest$ac_exeext
   1961        }; then :
   1962   ac_retval=0
   1963 else
   1964   $as_echo "$as_me: failed program was:" >&5
   1965 sed 's/^/| /' conftest.$ac_ext >&5
   1966 
   1967 	ac_retval=1
   1968 fi
   1969   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1970   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1971   # interfere with the next link command; also delete a directory that is
   1972   # left behind by Apple's compiler.  We do this before executing the actions.
   1973   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1974   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1975   as_fn_set_status $ac_retval
   1976 
   1977 } # ac_fn_c_try_link
   1978 
   1979 # ac_fn_c_check_func LINENO FUNC VAR
   1980 # ----------------------------------
   1981 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1982 ac_fn_c_check_func ()
   1983 {
   1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1986 $as_echo_n "checking for $2... " >&6; }
   1987 if eval \${$3+:} false; then :
   1988   $as_echo_n "(cached) " >&6
   1989 else
   1990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1991 /* end confdefs.h.  */
   1992 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1994 #define $2 innocuous_$2
   1995 
   1996 /* System header to define __stub macros and hopefully few prototypes,
   1997     which can conflict with char $2 (); below.
   1998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1999     <limits.h> exists even on freestanding compilers.  */
   2000 
   2001 #ifdef __STDC__
   2002 # include <limits.h>
   2003 #else
   2004 # include <assert.h>
   2005 #endif
   2006 
   2007 #undef $2
   2008 
   2009 /* Override any GCC internal prototype to avoid an error.
   2010    Use char because int might match the return type of a GCC
   2011    builtin and then its argument prototype would still apply.  */
   2012 #ifdef __cplusplus
   2013 extern "C"
   2014 #endif
   2015 char $2 ();
   2016 /* The GNU C library defines this for functions which it implements
   2017     to always fail with ENOSYS.  Some functions are actually named
   2018     something starting with __ and the normal name is an alias.  */
   2019 #if defined __stub_$2 || defined __stub___$2
   2020 choke me
   2021 #endif
   2022 
   2023 int
   2024 main ()
   2025 {
   2026 return $2 ();
   2027   ;
   2028   return 0;
   2029 }
   2030 _ACEOF
   2031 if ac_fn_c_try_link "$LINENO"; then :
   2032   eval "$3=yes"
   2033 else
   2034   eval "$3=no"
   2035 fi
   2036 rm -f core conftest.err conftest.$ac_objext \
   2037     conftest$ac_exeext conftest.$ac_ext
   2038 fi
   2039 eval ac_res=\$$3
   2040 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2041 $as_echo "$ac_res" >&6; }
   2042   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2043 
   2044 } # ac_fn_c_check_func
   2045 
   2046 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2047 # ----------------------------------------------------
   2048 # Tries to find if the field MEMBER exists in type AGGR, after including
   2049 # INCLUDES, setting cache variable VAR accordingly.
   2050 ac_fn_c_check_member ()
   2051 {
   2052   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2054 $as_echo_n "checking for $2.$3... " >&6; }
   2055 if eval \${$4+:} false; then :
   2056   $as_echo_n "(cached) " >&6
   2057 else
   2058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2059 /* end confdefs.h.  */
   2060 $5
   2061 int
   2062 main ()
   2063 {
   2064 static $2 ac_aggr;
   2065 if (ac_aggr.$3)
   2066 return 0;
   2067   ;
   2068   return 0;
   2069 }
   2070 _ACEOF
   2071 if ac_fn_c_try_compile "$LINENO"; then :
   2072   eval "$4=yes"
   2073 else
   2074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2075 /* end confdefs.h.  */
   2076 $5
   2077 int
   2078 main ()
   2079 {
   2080 static $2 ac_aggr;
   2081 if (sizeof ac_aggr.$3)
   2082 return 0;
   2083   ;
   2084   return 0;
   2085 }
   2086 _ACEOF
   2087 if ac_fn_c_try_compile "$LINENO"; then :
   2088   eval "$4=yes"
   2089 else
   2090   eval "$4=no"
   2091 fi
   2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2093 fi
   2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2095 fi
   2096 eval ac_res=\$$4
   2097 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2098 $as_echo "$ac_res" >&6; }
   2099   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2100 
   2101 } # ac_fn_c_check_member
   2102 
   2103 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2104 # -------------------------------------------
   2105 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2106 # variable VAR accordingly.
   2107 ac_fn_c_check_type ()
   2108 {
   2109   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2111 $as_echo_n "checking for $2... " >&6; }
   2112 if eval \${$3+:} false; then :
   2113   $as_echo_n "(cached) " >&6
   2114 else
   2115   eval "$3=no"
   2116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2117 /* end confdefs.h.  */
   2118 $4
   2119 int
   2120 main ()
   2121 {
   2122 if (sizeof ($2))
   2123 	 return 0;
   2124   ;
   2125   return 0;
   2126 }
   2127 _ACEOF
   2128 if ac_fn_c_try_compile "$LINENO"; then :
   2129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2130 /* end confdefs.h.  */
   2131 $4
   2132 int
   2133 main ()
   2134 {
   2135 if (sizeof (($2)))
   2136 	    return 0;
   2137   ;
   2138   return 0;
   2139 }
   2140 _ACEOF
   2141 if ac_fn_c_try_compile "$LINENO"; then :
   2142 
   2143 else
   2144   eval "$3=yes"
   2145 fi
   2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2147 fi
   2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2149 fi
   2150 eval ac_res=\$$3
   2151 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2152 $as_echo "$ac_res" >&6; }
   2153   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2154 
   2155 } # ac_fn_c_check_type
   2156 cat >config.log <<_ACEOF
   2157 This file contains any messages produced by compilers while
   2158 running configure, to aid debugging if configure makes a mistake.
   2159 
   2160 It was created by xfs $as_me 1.2.0, which was
   2161 generated by GNU Autoconf 2.69.  Invocation command line was
   2162 
   2163   $ $0 $@
   2164 
   2165 _ACEOF
   2166 exec 5>>config.log
   2167 {
   2168 cat <<_ASUNAME
   2169 ## --------- ##
   2170 ## Platform. ##
   2171 ## --------- ##
   2172 
   2173 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2174 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2175 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2176 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2177 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2178 
   2179 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2180 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2181 
   2182 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2183 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2184 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2185 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2186 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2187 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2188 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2189 
   2190 _ASUNAME
   2191 
   2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2193 for as_dir in $PATH
   2194 do
   2195   IFS=$as_save_IFS
   2196   test -z "$as_dir" && as_dir=.
   2197     $as_echo "PATH: $as_dir"
   2198   done
   2199 IFS=$as_save_IFS
   2200 
   2201 } >&5
   2202 
   2203 cat >&5 <<_ACEOF
   2204 
   2205 
   2206 ## ----------- ##
   2207 ## Core tests. ##
   2208 ## ----------- ##
   2209 
   2210 _ACEOF
   2211 
   2212 
   2213 # Keep a trace of the command line.
   2214 # Strip out --no-create and --no-recursion so they do not pile up.
   2215 # Strip out --silent because we don't want to record it for future runs.
   2216 # Also quote any args containing shell meta-characters.
   2217 # Make two passes to allow for proper duplicate-argument suppression.
   2218 ac_configure_args=
   2219 ac_configure_args0=
   2220 ac_configure_args1=
   2221 ac_must_keep_next=false
   2222 for ac_pass in 1 2
   2223 do
   2224   for ac_arg
   2225   do
   2226     case $ac_arg in
   2227     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2228     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2229     | -silent | --silent | --silen | --sile | --sil)
   2230       continue ;;
   2231     *\'*)
   2232       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2233     esac
   2234     case $ac_pass in
   2235     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2236     2)
   2237       as_fn_append ac_configure_args1 " '$ac_arg'"
   2238       if test $ac_must_keep_next = true; then
   2239 	ac_must_keep_next=false # Got value, back to normal.
   2240       else
   2241 	case $ac_arg in
   2242 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2243 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2244 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2245 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2246 	    case "$ac_configure_args0 " in
   2247 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2248 	    esac
   2249 	    ;;
   2250 	  -* ) ac_must_keep_next=true ;;
   2251 	esac
   2252       fi
   2253       as_fn_append ac_configure_args " '$ac_arg'"
   2254       ;;
   2255     esac
   2256   done
   2257 done
   2258 { ac_configure_args0=; unset ac_configure_args0;}
   2259 { ac_configure_args1=; unset ac_configure_args1;}
   2260 
   2261 # When interrupted or exit'd, cleanup temporary files, and complete
   2262 # config.log.  We remove comments because anyway the quotes in there
   2263 # would cause problems or look ugly.
   2264 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2265 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2266 trap 'exit_status=$?
   2267   # Save into config.log some information that might help in debugging.
   2268   {
   2269     echo
   2270 
   2271     $as_echo "## ---------------- ##
   2272 ## Cache variables. ##
   2273 ## ---------------- ##"
   2274     echo
   2275     # The following way of writing the cache mishandles newlines in values,
   2276 (
   2277   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2278     eval ac_val=\$$ac_var
   2279     case $ac_val in #(
   2280     *${as_nl}*)
   2281       case $ac_var in #(
   2282       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2283 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2284       esac
   2285       case $ac_var in #(
   2286       _ | IFS | as_nl) ;; #(
   2287       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2288       *) { eval $ac_var=; unset $ac_var;} ;;
   2289       esac ;;
   2290     esac
   2291   done
   2292   (set) 2>&1 |
   2293     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2294     *${as_nl}ac_space=\ *)
   2295       sed -n \
   2296 	"s/'\''/'\''\\\\'\'''\''/g;
   2297 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2298       ;; #(
   2299     *)
   2300       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2301       ;;
   2302     esac |
   2303     sort
   2304 )
   2305     echo
   2306 
   2307     $as_echo "## ----------------- ##
   2308 ## Output variables. ##
   2309 ## ----------------- ##"
   2310     echo
   2311     for ac_var in $ac_subst_vars
   2312     do
   2313       eval ac_val=\$$ac_var
   2314       case $ac_val in
   2315       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2316       esac
   2317       $as_echo "$ac_var='\''$ac_val'\''"
   2318     done | sort
   2319     echo
   2320 
   2321     if test -n "$ac_subst_files"; then
   2322       $as_echo "## ------------------- ##
   2323 ## File substitutions. ##
   2324 ## ------------------- ##"
   2325       echo
   2326       for ac_var in $ac_subst_files
   2327       do
   2328 	eval ac_val=\$$ac_var
   2329 	case $ac_val in
   2330 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2331 	esac
   2332 	$as_echo "$ac_var='\''$ac_val'\''"
   2333       done | sort
   2334       echo
   2335     fi
   2336 
   2337     if test -s confdefs.h; then
   2338       $as_echo "## ----------- ##
   2339 ## confdefs.h. ##
   2340 ## ----------- ##"
   2341       echo
   2342       cat confdefs.h
   2343       echo
   2344     fi
   2345     test "$ac_signal" != 0 &&
   2346       $as_echo "$as_me: caught signal $ac_signal"
   2347     $as_echo "$as_me: exit $exit_status"
   2348   } >&5
   2349   rm -f core *.core core.conftest.* &&
   2350     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2351     exit $exit_status
   2352 ' 0
   2353 for ac_signal in 1 2 13 15; do
   2354   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2355 done
   2356 ac_signal=0
   2357 
   2358 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2359 rm -f -r conftest* confdefs.h
   2360 
   2361 $as_echo "/* confdefs.h */" > confdefs.h
   2362 
   2363 # Predefined preprocessor variables.
   2364 
   2365 cat >>confdefs.h <<_ACEOF
   2366 #define PACKAGE_NAME "$PACKAGE_NAME"
   2367 _ACEOF
   2368 
   2369 cat >>confdefs.h <<_ACEOF
   2370 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2371 _ACEOF
   2372 
   2373 cat >>confdefs.h <<_ACEOF
   2374 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2375 _ACEOF
   2376 
   2377 cat >>confdefs.h <<_ACEOF
   2378 #define PACKAGE_STRING "$PACKAGE_STRING"
   2379 _ACEOF
   2380 
   2381 cat >>confdefs.h <<_ACEOF
   2382 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2383 _ACEOF
   2384 
   2385 cat >>confdefs.h <<_ACEOF
   2386 #define PACKAGE_URL "$PACKAGE_URL"
   2387 _ACEOF
   2388 
   2389 
   2390 # Let the site file select an alternate cache file if it wants to.
   2391 # Prefer an explicitly selected file to automatically selected ones.
   2392 ac_site_file1=NONE
   2393 ac_site_file2=NONE
   2394 if test -n "$CONFIG_SITE"; then
   2395   # We do not want a PATH search for config.site.
   2396   case $CONFIG_SITE in #((
   2397     -*)  ac_site_file1=./$CONFIG_SITE;;
   2398     */*) ac_site_file1=$CONFIG_SITE;;
   2399     *)   ac_site_file1=./$CONFIG_SITE;;
   2400   esac
   2401 elif test "x$prefix" != xNONE; then
   2402   ac_site_file1=$prefix/share/config.site
   2403   ac_site_file2=$prefix/etc/config.site
   2404 else
   2405   ac_site_file1=$ac_default_prefix/share/config.site
   2406   ac_site_file2=$ac_default_prefix/etc/config.site
   2407 fi
   2408 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2409 do
   2410   test "x$ac_site_file" = xNONE && continue
   2411   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2412     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2413 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2414     sed 's/^/| /' "$ac_site_file" >&5
   2415     . "$ac_site_file" \
   2416       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2418 as_fn_error $? "failed to load site script $ac_site_file
   2419 See \`config.log' for more details" "$LINENO" 5; }
   2420   fi
   2421 done
   2422 
   2423 if test -r "$cache_file"; then
   2424   # Some versions of bash will fail to source /dev/null (special files
   2425   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2426   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2427     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2428 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2429     case $cache_file in
   2430       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2431       *)                      . "./$cache_file";;
   2432     esac
   2433   fi
   2434 else
   2435   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2436 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2437   >$cache_file
   2438 fi
   2439 
   2440 # Check that the precious variables saved in the cache have kept the same
   2441 # value.
   2442 ac_cache_corrupted=false
   2443 for ac_var in $ac_precious_vars; do
   2444   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2445   eval ac_new_set=\$ac_env_${ac_var}_set
   2446   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2447   eval ac_new_val=\$ac_env_${ac_var}_value
   2448   case $ac_old_set,$ac_new_set in
   2449     set,)
   2450       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2451 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2452       ac_cache_corrupted=: ;;
   2453     ,set)
   2454       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2455 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2456       ac_cache_corrupted=: ;;
   2457     ,);;
   2458     *)
   2459       if test "x$ac_old_val" != "x$ac_new_val"; then
   2460 	# differences in whitespace do not lead to failure.
   2461 	ac_old_val_w=`echo x $ac_old_val`
   2462 	ac_new_val_w=`echo x $ac_new_val`
   2463 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2464 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2465 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2466 	  ac_cache_corrupted=:
   2467 	else
   2468 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2469 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2470 	  eval $ac_var=\$ac_old_val
   2471 	fi
   2472 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2473 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2474 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2475 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2476       fi;;
   2477   esac
   2478   # Pass precious variables to config.status.
   2479   if test "$ac_new_set" = set; then
   2480     case $ac_new_val in
   2481     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2482     *) ac_arg=$ac_var=$ac_new_val ;;
   2483     esac
   2484     case " $ac_configure_args " in
   2485       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2486       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2487     esac
   2488   fi
   2489 done
   2490 if $ac_cache_corrupted; then
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2494 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2495   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2496 fi
   2497 ## -------------------- ##
   2498 ## Main body of script. ##
   2499 ## -------------------- ##
   2500 
   2501 ac_ext=c
   2502 ac_cpp='$CPP $CPPFLAGS'
   2503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2506 
   2507 
   2508 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2509 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   2510 ac_aux_dir=
   2511 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2512   if test -f "$ac_dir/install-sh"; then
   2513     ac_aux_dir=$ac_dir
   2514     ac_install_sh="$ac_aux_dir/install-sh -c"
   2515     break
   2516   elif test -f "$ac_dir/install.sh"; then
   2517     ac_aux_dir=$ac_dir
   2518     ac_install_sh="$ac_aux_dir/install.sh -c"
   2519     break
   2520   elif test -f "$ac_dir/shtool"; then
   2521     ac_aux_dir=$ac_dir
   2522     ac_install_sh="$ac_aux_dir/shtool install -c"
   2523     break
   2524   fi
   2525 done
   2526 if test -z "$ac_aux_dir"; then
   2527   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2528 fi
   2529 
   2530 # These three variables are undocumented and unsupported,
   2531 # and are intended to be withdrawn in a future Autoconf release.
   2532 # They can cause serious problems if a builder's source tree is in a directory
   2533 # whose full name contains unusual characters.
   2534 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2535 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2536 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2537 
   2538 
   2539 # Expand $ac_aux_dir to an absolute path.
   2540 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2541 
   2542 ac_ext=c
   2543 ac_cpp='$CPP $CPPFLAGS'
   2544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2547 if test -n "$ac_tool_prefix"; then
   2548   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2549 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2551 $as_echo_n "checking for $ac_word... " >&6; }
   2552 if ${ac_cv_prog_CC+:} false; then :
   2553   $as_echo_n "(cached) " >&6
   2554 else
   2555   if test -n "$CC"; then
   2556   ac_cv_prog_CC="$CC" # Let the user override the test.
   2557 else
   2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2559 for as_dir in $PATH
   2560 do
   2561   IFS=$as_save_IFS
   2562   test -z "$as_dir" && as_dir=.
   2563     for ac_exec_ext in '' $ac_executable_extensions; do
   2564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2565     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2567     break 2
   2568   fi
   2569 done
   2570   done
   2571 IFS=$as_save_IFS
   2572 
   2573 fi
   2574 fi
   2575 CC=$ac_cv_prog_CC
   2576 if test -n "$CC"; then
   2577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2578 $as_echo "$CC" >&6; }
   2579 else
   2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2581 $as_echo "no" >&6; }
   2582 fi
   2583 
   2584 
   2585 fi
   2586 if test -z "$ac_cv_prog_CC"; then
   2587   ac_ct_CC=$CC
   2588   # Extract the first word of "gcc", so it can be a program name with args.
   2589 set dummy gcc; ac_word=$2
   2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2591 $as_echo_n "checking for $ac_word... " >&6; }
   2592 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2593   $as_echo_n "(cached) " >&6
   2594 else
   2595   if test -n "$ac_ct_CC"; then
   2596   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2597 else
   2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2599 for as_dir in $PATH
   2600 do
   2601   IFS=$as_save_IFS
   2602   test -z "$as_dir" && as_dir=.
   2603     for ac_exec_ext in '' $ac_executable_extensions; do
   2604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2605     ac_cv_prog_ac_ct_CC="gcc"
   2606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2607     break 2
   2608   fi
   2609 done
   2610   done
   2611 IFS=$as_save_IFS
   2612 
   2613 fi
   2614 fi
   2615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2616 if test -n "$ac_ct_CC"; then
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2618 $as_echo "$ac_ct_CC" >&6; }
   2619 else
   2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2621 $as_echo "no" >&6; }
   2622 fi
   2623 
   2624   if test "x$ac_ct_CC" = x; then
   2625     CC=""
   2626   else
   2627     case $cross_compiling:$ac_tool_warned in
   2628 yes:)
   2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2631 ac_tool_warned=yes ;;
   2632 esac
   2633     CC=$ac_ct_CC
   2634   fi
   2635 else
   2636   CC="$ac_cv_prog_CC"
   2637 fi
   2638 
   2639 if test -z "$CC"; then
   2640           if test -n "$ac_tool_prefix"; then
   2641     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2642 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2644 $as_echo_n "checking for $ac_word... " >&6; }
   2645 if ${ac_cv_prog_CC+:} false; then :
   2646   $as_echo_n "(cached) " >&6
   2647 else
   2648   if test -n "$CC"; then
   2649   ac_cv_prog_CC="$CC" # Let the user override the test.
   2650 else
   2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2652 for as_dir in $PATH
   2653 do
   2654   IFS=$as_save_IFS
   2655   test -z "$as_dir" && as_dir=.
   2656     for ac_exec_ext in '' $ac_executable_extensions; do
   2657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2658     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2660     break 2
   2661   fi
   2662 done
   2663   done
   2664 IFS=$as_save_IFS
   2665 
   2666 fi
   2667 fi
   2668 CC=$ac_cv_prog_CC
   2669 if test -n "$CC"; then
   2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2671 $as_echo "$CC" >&6; }
   2672 else
   2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2674 $as_echo "no" >&6; }
   2675 fi
   2676 
   2677 
   2678   fi
   2679 fi
   2680 if test -z "$CC"; then
   2681   # Extract the first word of "cc", so it can be a program name with args.
   2682 set dummy cc; ac_word=$2
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2684 $as_echo_n "checking for $ac_word... " >&6; }
   2685 if ${ac_cv_prog_CC+:} false; then :
   2686   $as_echo_n "(cached) " >&6
   2687 else
   2688   if test -n "$CC"; then
   2689   ac_cv_prog_CC="$CC" # Let the user override the test.
   2690 else
   2691   ac_prog_rejected=no
   2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH
   2694 do
   2695   IFS=$as_save_IFS
   2696   test -z "$as_dir" && as_dir=.
   2697     for ac_exec_ext in '' $ac_executable_extensions; do
   2698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2699     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2700        ac_prog_rejected=yes
   2701        continue
   2702      fi
   2703     ac_cv_prog_CC="cc"
   2704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2705     break 2
   2706   fi
   2707 done
   2708   done
   2709 IFS=$as_save_IFS
   2710 
   2711 if test $ac_prog_rejected = yes; then
   2712   # We found a bogon in the path, so make sure we never use it.
   2713   set dummy $ac_cv_prog_CC
   2714   shift
   2715   if test $# != 0; then
   2716     # We chose a different compiler from the bogus one.
   2717     # However, it has the same basename, so the bogon will be chosen
   2718     # first if we set CC to just the basename; use the full file name.
   2719     shift
   2720     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2721   fi
   2722 fi
   2723 fi
   2724 fi
   2725 CC=$ac_cv_prog_CC
   2726 if test -n "$CC"; then
   2727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2728 $as_echo "$CC" >&6; }
   2729 else
   2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2731 $as_echo "no" >&6; }
   2732 fi
   2733 
   2734 
   2735 fi
   2736 if test -z "$CC"; then
   2737   if test -n "$ac_tool_prefix"; then
   2738   for ac_prog in cl.exe
   2739   do
   2740     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2743 $as_echo_n "checking for $ac_word... " >&6; }
   2744 if ${ac_cv_prog_CC+:} false; then :
   2745   $as_echo_n "(cached) " >&6
   2746 else
   2747   if test -n "$CC"; then
   2748   ac_cv_prog_CC="$CC" # Let the user override the test.
   2749 else
   2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2751 for as_dir in $PATH
   2752 do
   2753   IFS=$as_save_IFS
   2754   test -z "$as_dir" && as_dir=.
   2755     for ac_exec_ext in '' $ac_executable_extensions; do
   2756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2757     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2759     break 2
   2760   fi
   2761 done
   2762   done
   2763 IFS=$as_save_IFS
   2764 
   2765 fi
   2766 fi
   2767 CC=$ac_cv_prog_CC
   2768 if test -n "$CC"; then
   2769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2770 $as_echo "$CC" >&6; }
   2771 else
   2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2773 $as_echo "no" >&6; }
   2774 fi
   2775 
   2776 
   2777     test -n "$CC" && break
   2778   done
   2779 fi
   2780 if test -z "$CC"; then
   2781   ac_ct_CC=$CC
   2782   for ac_prog in cl.exe
   2783 do
   2784   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2785 set dummy $ac_prog; ac_word=$2
   2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2787 $as_echo_n "checking for $ac_word... " >&6; }
   2788 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2789   $as_echo_n "(cached) " >&6
   2790 else
   2791   if test -n "$ac_ct_CC"; then
   2792   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2793 else
   2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2795 for as_dir in $PATH
   2796 do
   2797   IFS=$as_save_IFS
   2798   test -z "$as_dir" && as_dir=.
   2799     for ac_exec_ext in '' $ac_executable_extensions; do
   2800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2801     ac_cv_prog_ac_ct_CC="$ac_prog"
   2802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2803     break 2
   2804   fi
   2805 done
   2806   done
   2807 IFS=$as_save_IFS
   2808 
   2809 fi
   2810 fi
   2811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2812 if test -n "$ac_ct_CC"; then
   2813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2814 $as_echo "$ac_ct_CC" >&6; }
   2815 else
   2816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2817 $as_echo "no" >&6; }
   2818 fi
   2819 
   2820 
   2821   test -n "$ac_ct_CC" && break
   2822 done
   2823 
   2824   if test "x$ac_ct_CC" = x; then
   2825     CC=""
   2826   else
   2827     case $cross_compiling:$ac_tool_warned in
   2828 yes:)
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2831 ac_tool_warned=yes ;;
   2832 esac
   2833     CC=$ac_ct_CC
   2834   fi
   2835 fi
   2836 
   2837 fi
   2838 
   2839 
   2840 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2842 as_fn_error $? "no acceptable C compiler found in \$PATH
   2843 See \`config.log' for more details" "$LINENO" 5; }
   2844 
   2845 # Provide some information about the compiler.
   2846 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2847 set X $ac_compile
   2848 ac_compiler=$2
   2849 for ac_option in --version -v -V -qversion; do
   2850   { { ac_try="$ac_compiler $ac_option >&5"
   2851 case "(($ac_try" in
   2852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2853   *) ac_try_echo=$ac_try;;
   2854 esac
   2855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2856 $as_echo "$ac_try_echo"; } >&5
   2857   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2858   ac_status=$?
   2859   if test -s conftest.err; then
   2860     sed '10a\
   2861 ... rest of stderr output deleted ...
   2862          10q' conftest.err >conftest.er1
   2863     cat conftest.er1 >&5
   2864   fi
   2865   rm -f conftest.er1 conftest.err
   2866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2867   test $ac_status = 0; }
   2868 done
   2869 
   2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2871 /* end confdefs.h.  */
   2872 
   2873 int
   2874 main ()
   2875 {
   2876 
   2877   ;
   2878   return 0;
   2879 }
   2880 _ACEOF
   2881 ac_clean_files_save=$ac_clean_files
   2882 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2883 # Try to create an executable without -o first, disregard a.out.
   2884 # It will help us diagnose broken compilers, and finding out an intuition
   2885 # of exeext.
   2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2887 $as_echo_n "checking whether the C compiler works... " >&6; }
   2888 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2889 
   2890 # The possible output files:
   2891 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2892 
   2893 ac_rmfiles=
   2894 for ac_file in $ac_files
   2895 do
   2896   case $ac_file in
   2897     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2898     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2899   esac
   2900 done
   2901 rm -f $ac_rmfiles
   2902 
   2903 if { { ac_try="$ac_link_default"
   2904 case "(($ac_try" in
   2905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2906   *) ac_try_echo=$ac_try;;
   2907 esac
   2908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2909 $as_echo "$ac_try_echo"; } >&5
   2910   (eval "$ac_link_default") 2>&5
   2911   ac_status=$?
   2912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2913   test $ac_status = 0; }; then :
   2914   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2915 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2916 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2917 # so that the user can short-circuit this test for compilers unknown to
   2918 # Autoconf.
   2919 for ac_file in $ac_files ''
   2920 do
   2921   test -f "$ac_file" || continue
   2922   case $ac_file in
   2923     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2924 	;;
   2925     [ab].out )
   2926 	# We found the default executable, but exeext='' is most
   2927 	# certainly right.
   2928 	break;;
   2929     *.* )
   2930 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2931 	then :; else
   2932 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2933 	fi
   2934 	# We set ac_cv_exeext here because the later test for it is not
   2935 	# safe: cross compilers may not add the suffix if given an `-o'
   2936 	# argument, so we may need to know it at that point already.
   2937 	# Even if this section looks crufty: it has the advantage of
   2938 	# actually working.
   2939 	break;;
   2940     * )
   2941 	break;;
   2942   esac
   2943 done
   2944 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2945 
   2946 else
   2947   ac_file=''
   2948 fi
   2949 if test -z "$ac_file"; then :
   2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2951 $as_echo "no" >&6; }
   2952 $as_echo "$as_me: failed program was:" >&5
   2953 sed 's/^/| /' conftest.$ac_ext >&5
   2954 
   2955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2957 as_fn_error 77 "C compiler cannot create executables
   2958 See \`config.log' for more details" "$LINENO" 5; }
   2959 else
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2961 $as_echo "yes" >&6; }
   2962 fi
   2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2964 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2966 $as_echo "$ac_file" >&6; }
   2967 ac_exeext=$ac_cv_exeext
   2968 
   2969 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2970 ac_clean_files=$ac_clean_files_save
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2972 $as_echo_n "checking for suffix of executables... " >&6; }
   2973 if { { ac_try="$ac_link"
   2974 case "(($ac_try" in
   2975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2976   *) ac_try_echo=$ac_try;;
   2977 esac
   2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2979 $as_echo "$ac_try_echo"; } >&5
   2980   (eval "$ac_link") 2>&5
   2981   ac_status=$?
   2982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2983   test $ac_status = 0; }; then :
   2984   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2985 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2986 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2987 # `rm'.
   2988 for ac_file in conftest.exe conftest conftest.*; do
   2989   test -f "$ac_file" || continue
   2990   case $ac_file in
   2991     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2992     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2993 	  break;;
   2994     * ) break;;
   2995   esac
   2996 done
   2997 else
   2998   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3000 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3001 See \`config.log' for more details" "$LINENO" 5; }
   3002 fi
   3003 rm -f conftest conftest$ac_cv_exeext
   3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3005 $as_echo "$ac_cv_exeext" >&6; }
   3006 
   3007 rm -f conftest.$ac_ext
   3008 EXEEXT=$ac_cv_exeext
   3009 ac_exeext=$EXEEXT
   3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3011 /* end confdefs.h.  */
   3012 #include <stdio.h>
   3013 int
   3014 main ()
   3015 {
   3016 FILE *f = fopen ("conftest.out", "w");
   3017  return ferror (f) || fclose (f) != 0;
   3018 
   3019   ;
   3020   return 0;
   3021 }
   3022 _ACEOF
   3023 ac_clean_files="$ac_clean_files conftest.out"
   3024 # Check that the compiler produces executables we can run.  If not, either
   3025 # the compiler is broken, or we cross compile.
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3027 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3028 if test "$cross_compiling" != yes; then
   3029   { { ac_try="$ac_link"
   3030 case "(($ac_try" in
   3031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3032   *) ac_try_echo=$ac_try;;
   3033 esac
   3034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3035 $as_echo "$ac_try_echo"; } >&5
   3036   (eval "$ac_link") 2>&5
   3037   ac_status=$?
   3038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3039   test $ac_status = 0; }
   3040   if { ac_try='./conftest$ac_cv_exeext'
   3041   { { case "(($ac_try" in
   3042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3043   *) ac_try_echo=$ac_try;;
   3044 esac
   3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3046 $as_echo "$ac_try_echo"; } >&5
   3047   (eval "$ac_try") 2>&5
   3048   ac_status=$?
   3049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3050   test $ac_status = 0; }; }; then
   3051     cross_compiling=no
   3052   else
   3053     if test "$cross_compiling" = maybe; then
   3054 	cross_compiling=yes
   3055     else
   3056 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3058 as_fn_error $? "cannot run C compiled programs.
   3059 If you meant to cross compile, use \`--host'.
   3060 See \`config.log' for more details" "$LINENO" 5; }
   3061     fi
   3062   fi
   3063 fi
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3065 $as_echo "$cross_compiling" >&6; }
   3066 
   3067 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3068 ac_clean_files=$ac_clean_files_save
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3070 $as_echo_n "checking for suffix of object files... " >&6; }
   3071 if ${ac_cv_objext+:} false; then :
   3072   $as_echo_n "(cached) " >&6
   3073 else
   3074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3075 /* end confdefs.h.  */
   3076 
   3077 int
   3078 main ()
   3079 {
   3080 
   3081   ;
   3082   return 0;
   3083 }
   3084 _ACEOF
   3085 rm -f conftest.o conftest.obj
   3086 if { { ac_try="$ac_compile"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3092 $as_echo "$ac_try_echo"; } >&5
   3093   (eval "$ac_compile") 2>&5
   3094   ac_status=$?
   3095   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3096   test $ac_status = 0; }; then :
   3097   for ac_file in conftest.o conftest.obj conftest.*; do
   3098   test -f "$ac_file" || continue;
   3099   case $ac_file in
   3100     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3101     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3102        break;;
   3103   esac
   3104 done
   3105 else
   3106   $as_echo "$as_me: failed program was:" >&5
   3107 sed 's/^/| /' conftest.$ac_ext >&5
   3108 
   3109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3111 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3112 See \`config.log' for more details" "$LINENO" 5; }
   3113 fi
   3114 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3115 fi
   3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3117 $as_echo "$ac_cv_objext" >&6; }
   3118 OBJEXT=$ac_cv_objext
   3119 ac_objext=$OBJEXT
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3121 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3122 if ${ac_cv_c_compiler_gnu+:} false; then :
   3123   $as_echo_n "(cached) " >&6
   3124 else
   3125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3126 /* end confdefs.h.  */
   3127 
   3128 int
   3129 main ()
   3130 {
   3131 #ifndef __GNUC__
   3132        choke me
   3133 #endif
   3134 
   3135   ;
   3136   return 0;
   3137 }
   3138 _ACEOF
   3139 if ac_fn_c_try_compile "$LINENO"; then :
   3140   ac_compiler_gnu=yes
   3141 else
   3142   ac_compiler_gnu=no
   3143 fi
   3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3145 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3146 
   3147 fi
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3149 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3150 if test $ac_compiler_gnu = yes; then
   3151   GCC=yes
   3152 else
   3153   GCC=
   3154 fi
   3155 ac_test_CFLAGS=${CFLAGS+set}
   3156 ac_save_CFLAGS=$CFLAGS
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3158 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3159 if ${ac_cv_prog_cc_g+:} false; then :
   3160   $as_echo_n "(cached) " >&6
   3161 else
   3162   ac_save_c_werror_flag=$ac_c_werror_flag
   3163    ac_c_werror_flag=yes
   3164    ac_cv_prog_cc_g=no
   3165    CFLAGS="-g"
   3166    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3167 /* end confdefs.h.  */
   3168 
   3169 int
   3170 main ()
   3171 {
   3172 
   3173   ;
   3174   return 0;
   3175 }
   3176 _ACEOF
   3177 if ac_fn_c_try_compile "$LINENO"; then :
   3178   ac_cv_prog_cc_g=yes
   3179 else
   3180   CFLAGS=""
   3181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3182 /* end confdefs.h.  */
   3183 
   3184 int
   3185 main ()
   3186 {
   3187 
   3188   ;
   3189   return 0;
   3190 }
   3191 _ACEOF
   3192 if ac_fn_c_try_compile "$LINENO"; then :
   3193 
   3194 else
   3195   ac_c_werror_flag=$ac_save_c_werror_flag
   3196 	 CFLAGS="-g"
   3197 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3198 /* end confdefs.h.  */
   3199 
   3200 int
   3201 main ()
   3202 {
   3203 
   3204   ;
   3205   return 0;
   3206 }
   3207 _ACEOF
   3208 if ac_fn_c_try_compile "$LINENO"; then :
   3209   ac_cv_prog_cc_g=yes
   3210 fi
   3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3212 fi
   3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3214 fi
   3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3216    ac_c_werror_flag=$ac_save_c_werror_flag
   3217 fi
   3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3219 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3220 if test "$ac_test_CFLAGS" = set; then
   3221   CFLAGS=$ac_save_CFLAGS
   3222 elif test $ac_cv_prog_cc_g = yes; then
   3223   if test "$GCC" = yes; then
   3224     CFLAGS="-g -O2"
   3225   else
   3226     CFLAGS="-g"
   3227   fi
   3228 else
   3229   if test "$GCC" = yes; then
   3230     CFLAGS="-O2"
   3231   else
   3232     CFLAGS=
   3233   fi
   3234 fi
   3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3236 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3237 if ${ac_cv_prog_cc_c89+:} false; then :
   3238   $as_echo_n "(cached) " >&6
   3239 else
   3240   ac_cv_prog_cc_c89=no
   3241 ac_save_CC=$CC
   3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3243 /* end confdefs.h.  */
   3244 #include <stdarg.h>
   3245 #include <stdio.h>
   3246 struct stat;
   3247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3248 struct buf { int x; };
   3249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3250 static char *e (p, i)
   3251      char **p;
   3252      int i;
   3253 {
   3254   return p[i];
   3255 }
   3256 static char *f (char * (*g) (char **, int), char **p, ...)
   3257 {
   3258   char *s;
   3259   va_list v;
   3260   va_start (v,p);
   3261   s = g (p, va_arg (v,int));
   3262   va_end (v);
   3263   return s;
   3264 }
   3265 
   3266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3267    function prototypes and stuff, but not '\xHH' hex character constants.
   3268    These don't provoke an error unfortunately, instead are silently treated
   3269    as 'x'.  The following induces an error, until -std is added to get
   3270    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3271    array size at least.  It's necessary to write '\x00'==0 to get something
   3272    that's true only with -std.  */
   3273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3274 
   3275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3276    inside strings and character constants.  */
   3277 #define FOO(x) 'x'
   3278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3279 
   3280 int test (int i, double x);
   3281 struct s1 {int (*f) (int a);};
   3282 struct s2 {int (*f) (double a);};
   3283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3284 int argc;
   3285 char **argv;
   3286 int
   3287 main ()
   3288 {
   3289 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3290   ;
   3291   return 0;
   3292 }
   3293 _ACEOF
   3294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3295 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3296 do
   3297   CC="$ac_save_CC $ac_arg"
   3298   if ac_fn_c_try_compile "$LINENO"; then :
   3299   ac_cv_prog_cc_c89=$ac_arg
   3300 fi
   3301 rm -f core conftest.err conftest.$ac_objext
   3302   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3303 done
   3304 rm -f conftest.$ac_ext
   3305 CC=$ac_save_CC
   3306 
   3307 fi
   3308 # AC_CACHE_VAL
   3309 case "x$ac_cv_prog_cc_c89" in
   3310   x)
   3311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3312 $as_echo "none needed" >&6; } ;;
   3313   xno)
   3314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3315 $as_echo "unsupported" >&6; } ;;
   3316   *)
   3317     CC="$CC $ac_cv_prog_cc_c89"
   3318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3320 esac
   3321 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3322 
   3323 fi
   3324 
   3325 ac_ext=c
   3326 ac_cpp='$CPP $CPPFLAGS'
   3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3330 
   3331 ac_ext=c
   3332 ac_cpp='$CPP $CPPFLAGS'
   3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3337 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3338 if ${am_cv_prog_cc_c_o+:} false; then :
   3339   $as_echo_n "(cached) " >&6
   3340 else
   3341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3342 /* end confdefs.h.  */
   3343 
   3344 int
   3345 main ()
   3346 {
   3347 
   3348   ;
   3349   return 0;
   3350 }
   3351 _ACEOF
   3352   # Make sure it works both with $CC and with simple cc.
   3353   # Following AC_PROG_CC_C_O, we do the test twice because some
   3354   # compilers refuse to overwrite an existing .o file with -o,
   3355   # though they will create one.
   3356   am_cv_prog_cc_c_o=yes
   3357   for am_i in 1 2; do
   3358     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3359    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3360    ac_status=$?
   3361    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3362    (exit $ac_status); } \
   3363          && test -f conftest2.$ac_objext; then
   3364       : OK
   3365     else
   3366       am_cv_prog_cc_c_o=no
   3367       break
   3368     fi
   3369   done
   3370   rm -f core conftest*
   3371   unset am_i
   3372 fi
   3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3374 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3375 if test "$am_cv_prog_cc_c_o" != yes; then
   3376    # Losing compiler, so override with the script.
   3377    # FIXME: It is wrong to rewrite CC.
   3378    # But if we don't then we get into trouble of one sort or another.
   3379    # A longer-term fix would be to have automake use am__CC in this case,
   3380    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3381    CC="$am_aux_dir/compile $CC"
   3382 fi
   3383 ac_ext=c
   3384 ac_cpp='$CPP $CPPFLAGS'
   3385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3388 
   3389 
   3390 
   3391 ac_ext=c
   3392 ac_cpp='$CPP $CPPFLAGS'
   3393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3397 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3398 # On Suns, sometimes $CPP names a directory.
   3399 if test -n "$CPP" && test -d "$CPP"; then
   3400   CPP=
   3401 fi
   3402 if test -z "$CPP"; then
   3403   if ${ac_cv_prog_CPP+:} false; then :
   3404   $as_echo_n "(cached) " >&6
   3405 else
   3406       # Double quotes because CPP needs to be expanded
   3407     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3408     do
   3409       ac_preproc_ok=false
   3410 for ac_c_preproc_warn_flag in '' yes
   3411 do
   3412   # Use a header file that comes with gcc, so configuring glibc
   3413   # with a fresh cross-compiler works.
   3414   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3415   # <limits.h> exists even on freestanding compilers.
   3416   # On the NeXT, cc -E runs the code through the compiler's parser,
   3417   # not just through cpp. "Syntax error" is here to catch this case.
   3418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3419 /* end confdefs.h.  */
   3420 #ifdef __STDC__
   3421 # include <limits.h>
   3422 #else
   3423 # include <assert.h>
   3424 #endif
   3425 		     Syntax error
   3426 _ACEOF
   3427 if ac_fn_c_try_cpp "$LINENO"; then :
   3428 
   3429 else
   3430   # Broken: fails on valid input.
   3431 continue
   3432 fi
   3433 rm -f conftest.err conftest.i conftest.$ac_ext
   3434 
   3435   # OK, works on sane cases.  Now check whether nonexistent headers
   3436   # can be detected and how.
   3437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3438 /* end confdefs.h.  */
   3439 #include <ac_nonexistent.h>
   3440 _ACEOF
   3441 if ac_fn_c_try_cpp "$LINENO"; then :
   3442   # Broken: success on invalid input.
   3443 continue
   3444 else
   3445   # Passes both tests.
   3446 ac_preproc_ok=:
   3447 break
   3448 fi
   3449 rm -f conftest.err conftest.i conftest.$ac_ext
   3450 
   3451 done
   3452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3453 rm -f conftest.i conftest.err conftest.$ac_ext
   3454 if $ac_preproc_ok; then :
   3455   break
   3456 fi
   3457 
   3458     done
   3459     ac_cv_prog_CPP=$CPP
   3460 
   3461 fi
   3462   CPP=$ac_cv_prog_CPP
   3463 else
   3464   ac_cv_prog_CPP=$CPP
   3465 fi
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3467 $as_echo "$CPP" >&6; }
   3468 ac_preproc_ok=false
   3469 for ac_c_preproc_warn_flag in '' yes
   3470 do
   3471   # Use a header file that comes with gcc, so configuring glibc
   3472   # with a fresh cross-compiler works.
   3473   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3474   # <limits.h> exists even on freestanding compilers.
   3475   # On the NeXT, cc -E runs the code through the compiler's parser,
   3476   # not just through cpp. "Syntax error" is here to catch this case.
   3477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3478 /* end confdefs.h.  */
   3479 #ifdef __STDC__
   3480 # include <limits.h>
   3481 #else
   3482 # include <assert.h>
   3483 #endif
   3484 		     Syntax error
   3485 _ACEOF
   3486 if ac_fn_c_try_cpp "$LINENO"; then :
   3487 
   3488 else
   3489   # Broken: fails on valid input.
   3490 continue
   3491 fi
   3492 rm -f conftest.err conftest.i conftest.$ac_ext
   3493 
   3494   # OK, works on sane cases.  Now check whether nonexistent headers
   3495   # can be detected and how.
   3496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3497 /* end confdefs.h.  */
   3498 #include <ac_nonexistent.h>
   3499 _ACEOF
   3500 if ac_fn_c_try_cpp "$LINENO"; then :
   3501   # Broken: success on invalid input.
   3502 continue
   3503 else
   3504   # Passes both tests.
   3505 ac_preproc_ok=:
   3506 break
   3507 fi
   3508 rm -f conftest.err conftest.i conftest.$ac_ext
   3509 
   3510 done
   3511 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3512 rm -f conftest.i conftest.err conftest.$ac_ext
   3513 if $ac_preproc_ok; then :
   3514 
   3515 else
   3516   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3518 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3519 See \`config.log' for more details" "$LINENO" 5; }
   3520 fi
   3521 
   3522 ac_ext=c
   3523 ac_cpp='$CPP $CPPFLAGS'
   3524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3527 
   3528 
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3530 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3531 if ${ac_cv_path_GREP+:} false; then :
   3532   $as_echo_n "(cached) " >&6
   3533 else
   3534   if test -z "$GREP"; then
   3535   ac_path_GREP_found=false
   3536   # Loop through the user's path and test for each of PROGNAME-LIST
   3537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3538 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3539 do
   3540   IFS=$as_save_IFS
   3541   test -z "$as_dir" && as_dir=.
   3542     for ac_prog in grep ggrep; do
   3543     for ac_exec_ext in '' $ac_executable_extensions; do
   3544       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3545       as_fn_executable_p "$ac_path_GREP" || continue
   3546 # Check for GNU ac_path_GREP and select it if it is found.
   3547   # Check for GNU $ac_path_GREP
   3548 case `"$ac_path_GREP" --version 2>&1` in
   3549 *GNU*)
   3550   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3551 *)
   3552   ac_count=0
   3553   $as_echo_n 0123456789 >"conftest.in"
   3554   while :
   3555   do
   3556     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3557     mv "conftest.tmp" "conftest.in"
   3558     cp "conftest.in" "conftest.nl"
   3559     $as_echo 'GREP' >> "conftest.nl"
   3560     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3561     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3562     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3563     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3564       # Best one so far, save it but keep looking for a better one
   3565       ac_cv_path_GREP="$ac_path_GREP"
   3566       ac_path_GREP_max=$ac_count
   3567     fi
   3568     # 10*(2^10) chars as input seems more than enough
   3569     test $ac_count -gt 10 && break
   3570   done
   3571   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3572 esac
   3573 
   3574       $ac_path_GREP_found && break 3
   3575     done
   3576   done
   3577   done
   3578 IFS=$as_save_IFS
   3579   if test -z "$ac_cv_path_GREP"; then
   3580     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3581   fi
   3582 else
   3583   ac_cv_path_GREP=$GREP
   3584 fi
   3585 
   3586 fi
   3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3588 $as_echo "$ac_cv_path_GREP" >&6; }
   3589  GREP="$ac_cv_path_GREP"
   3590 
   3591 
   3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3593 $as_echo_n "checking for egrep... " >&6; }
   3594 if ${ac_cv_path_EGREP+:} false; then :
   3595   $as_echo_n "(cached) " >&6
   3596 else
   3597   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3598    then ac_cv_path_EGREP="$GREP -E"
   3599    else
   3600      if test -z "$EGREP"; then
   3601   ac_path_EGREP_found=false
   3602   # Loop through the user's path and test for each of PROGNAME-LIST
   3603   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3604 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3605 do
   3606   IFS=$as_save_IFS
   3607   test -z "$as_dir" && as_dir=.
   3608     for ac_prog in egrep; do
   3609     for ac_exec_ext in '' $ac_executable_extensions; do
   3610       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3611       as_fn_executable_p "$ac_path_EGREP" || continue
   3612 # Check for GNU ac_path_EGREP and select it if it is found.
   3613   # Check for GNU $ac_path_EGREP
   3614 case `"$ac_path_EGREP" --version 2>&1` in
   3615 *GNU*)
   3616   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3617 *)
   3618   ac_count=0
   3619   $as_echo_n 0123456789 >"conftest.in"
   3620   while :
   3621   do
   3622     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3623     mv "conftest.tmp" "conftest.in"
   3624     cp "conftest.in" "conftest.nl"
   3625     $as_echo 'EGREP' >> "conftest.nl"
   3626     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3627     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3628     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3629     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3630       # Best one so far, save it but keep looking for a better one
   3631       ac_cv_path_EGREP="$ac_path_EGREP"
   3632       ac_path_EGREP_max=$ac_count
   3633     fi
   3634     # 10*(2^10) chars as input seems more than enough
   3635     test $ac_count -gt 10 && break
   3636   done
   3637   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3638 esac
   3639 
   3640       $ac_path_EGREP_found && break 3
   3641     done
   3642   done
   3643   done
   3644 IFS=$as_save_IFS
   3645   if test -z "$ac_cv_path_EGREP"; then
   3646     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3647   fi
   3648 else
   3649   ac_cv_path_EGREP=$EGREP
   3650 fi
   3651 
   3652    fi
   3653 fi
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3655 $as_echo "$ac_cv_path_EGREP" >&6; }
   3656  EGREP="$ac_cv_path_EGREP"
   3657 
   3658 
   3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3660 $as_echo_n "checking for ANSI C header files... " >&6; }
   3661 if ${ac_cv_header_stdc+:} false; then :
   3662   $as_echo_n "(cached) " >&6
   3663 else
   3664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3665 /* end confdefs.h.  */
   3666 #include <stdlib.h>
   3667 #include <stdarg.h>
   3668 #include <string.h>
   3669 #include <float.h>
   3670 
   3671 int
   3672 main ()
   3673 {
   3674 
   3675   ;
   3676   return 0;
   3677 }
   3678 _ACEOF
   3679 if ac_fn_c_try_compile "$LINENO"; then :
   3680   ac_cv_header_stdc=yes
   3681 else
   3682   ac_cv_header_stdc=no
   3683 fi
   3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3685 
   3686 if test $ac_cv_header_stdc = yes; then
   3687   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3689 /* end confdefs.h.  */
   3690 #include <string.h>
   3691 
   3692 _ACEOF
   3693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3694   $EGREP "memchr" >/dev/null 2>&1; then :
   3695 
   3696 else
   3697   ac_cv_header_stdc=no
   3698 fi
   3699 rm -f conftest*
   3700 
   3701 fi
   3702 
   3703 if test $ac_cv_header_stdc = yes; then
   3704   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3706 /* end confdefs.h.  */
   3707 #include <stdlib.h>
   3708 
   3709 _ACEOF
   3710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3711   $EGREP "free" >/dev/null 2>&1; then :
   3712 
   3713 else
   3714   ac_cv_header_stdc=no
   3715 fi
   3716 rm -f conftest*
   3717 
   3718 fi
   3719 
   3720 if test $ac_cv_header_stdc = yes; then
   3721   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3722   if test "$cross_compiling" = yes; then :
   3723   :
   3724 else
   3725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3726 /* end confdefs.h.  */
   3727 #include <ctype.h>
   3728 #include <stdlib.h>
   3729 #if ((' ' & 0x0FF) == 0x020)
   3730 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3731 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3732 #else
   3733 # define ISLOWER(c) \
   3734 		   (('a' <= (c) && (c) <= 'i') \
   3735 		     || ('j' <= (c) && (c) <= 'r') \
   3736 		     || ('s' <= (c) && (c) <= 'z'))
   3737 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3738 #endif
   3739 
   3740 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3741 int
   3742 main ()
   3743 {
   3744   int i;
   3745   for (i = 0; i < 256; i++)
   3746     if (XOR (islower (i), ISLOWER (i))
   3747 	|| toupper (i) != TOUPPER (i))
   3748       return 2;
   3749   return 0;
   3750 }
   3751 _ACEOF
   3752 if ac_fn_c_try_run "$LINENO"; then :
   3753 
   3754 else
   3755   ac_cv_header_stdc=no
   3756 fi
   3757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3758   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3759 fi
   3760 
   3761 fi
   3762 fi
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3764 $as_echo "$ac_cv_header_stdc" >&6; }
   3765 if test $ac_cv_header_stdc = yes; then
   3766 
   3767 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3768 
   3769 fi
   3770 
   3771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3772 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3773 		  inttypes.h stdint.h unistd.h
   3774 do :
   3775   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3776 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3777 "
   3778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3779   cat >>confdefs.h <<_ACEOF
   3780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3781 _ACEOF
   3782 
   3783 fi
   3784 
   3785 done
   3786 
   3787 
   3788 
   3789   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3790 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3791   MINIX=yes
   3792 else
   3793   MINIX=
   3794 fi
   3795 
   3796 
   3797   if test "$MINIX" = yes; then
   3798 
   3799 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3800 
   3801 
   3802 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3803 
   3804 
   3805 $as_echo "#define _MINIX 1" >>confdefs.h
   3806 
   3807   fi
   3808 
   3809 
   3810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3811 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3812 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3813   $as_echo_n "(cached) " >&6
   3814 else
   3815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3816 /* end confdefs.h.  */
   3817 
   3818 #         define __EXTENSIONS__ 1
   3819           $ac_includes_default
   3820 int
   3821 main ()
   3822 {
   3823 
   3824   ;
   3825   return 0;
   3826 }
   3827 _ACEOF
   3828 if ac_fn_c_try_compile "$LINENO"; then :
   3829   ac_cv_safe_to_define___extensions__=yes
   3830 else
   3831   ac_cv_safe_to_define___extensions__=no
   3832 fi
   3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3834 fi
   3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3836 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3837   test $ac_cv_safe_to_define___extensions__ = yes &&
   3838     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3839 
   3840   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3841 
   3842   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3843 
   3844   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3845 
   3846   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3847 
   3848 
   3849 ac_config_headers="$ac_config_headers config.h"
   3850 
   3851 
   3852 
   3853 # Initialize Automake
   3854 am__api_version='1.15'
   3855 
   3856 # Find a good install program.  We prefer a C program (faster),
   3857 # so one script is as good as another.  But avoid the broken or
   3858 # incompatible versions:
   3859 # SysV /etc/install, /usr/sbin/install
   3860 # SunOS /usr/etc/install
   3861 # IRIX /sbin/install
   3862 # AIX /bin/install
   3863 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3864 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3865 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3866 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3867 # OS/2's system install, which has a completely different semantic
   3868 # ./install, which can be erroneously created by make from ./install.sh.
   3869 # Reject install programs that cannot install multiple files.
   3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3871 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3872 if test -z "$INSTALL"; then
   3873 if ${ac_cv_path_install+:} false; then :
   3874   $as_echo_n "(cached) " >&6
   3875 else
   3876   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3877 for as_dir in $PATH
   3878 do
   3879   IFS=$as_save_IFS
   3880   test -z "$as_dir" && as_dir=.
   3881     # Account for people who put trailing slashes in PATH elements.
   3882 case $as_dir/ in #((
   3883   ./ | .// | /[cC]/* | \
   3884   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3885   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3886   /usr/ucb/* ) ;;
   3887   *)
   3888     # OSF1 and SCO ODT 3.0 have their own names for install.
   3889     # Don't use installbsd from OSF since it installs stuff as root
   3890     # by default.
   3891     for ac_prog in ginstall scoinst install; do
   3892       for ac_exec_ext in '' $ac_executable_extensions; do
   3893 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3894 	  if test $ac_prog = install &&
   3895 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3896 	    # AIX install.  It has an incompatible calling convention.
   3897 	    :
   3898 	  elif test $ac_prog = install &&
   3899 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3900 	    # program-specific install script used by HP pwplus--don't use.
   3901 	    :
   3902 	  else
   3903 	    rm -rf conftest.one conftest.two conftest.dir
   3904 	    echo one > conftest.one
   3905 	    echo two > conftest.two
   3906 	    mkdir conftest.dir
   3907 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3908 	      test -s conftest.one && test -s conftest.two &&
   3909 	      test -s conftest.dir/conftest.one &&
   3910 	      test -s conftest.dir/conftest.two
   3911 	    then
   3912 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3913 	      break 3
   3914 	    fi
   3915 	  fi
   3916 	fi
   3917       done
   3918     done
   3919     ;;
   3920 esac
   3921 
   3922   done
   3923 IFS=$as_save_IFS
   3924 
   3925 rm -rf conftest.one conftest.two conftest.dir
   3926 
   3927 fi
   3928   if test "${ac_cv_path_install+set}" = set; then
   3929     INSTALL=$ac_cv_path_install
   3930   else
   3931     # As a last resort, use the slow shell script.  Don't cache a
   3932     # value for INSTALL within a source directory, because that will
   3933     # break other packages using the cache if that directory is
   3934     # removed, or if the value is a relative name.
   3935     INSTALL=$ac_install_sh
   3936   fi
   3937 fi
   3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3939 $as_echo "$INSTALL" >&6; }
   3940 
   3941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3942 # It thinks the first close brace ends the variable substitution.
   3943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3944 
   3945 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3946 
   3947 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3948 
   3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3950 $as_echo_n "checking whether build environment is sane... " >&6; }
   3951 # Reject unsafe characters in $srcdir or the absolute working directory
   3952 # name.  Accept space and tab only in the latter.
   3953 am_lf='
   3954 '
   3955 case `pwd` in
   3956   *[\\\"\#\$\&\'\`$am_lf]*)
   3957     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3958 esac
   3959 case $srcdir in
   3960   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3961     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3962 esac
   3963 
   3964 # Do 'set' in a subshell so we don't clobber the current shell's
   3965 # arguments.  Must try -L first in case configure is actually a
   3966 # symlink; some systems play weird games with the mod time of symlinks
   3967 # (eg FreeBSD returns the mod time of the symlink's containing
   3968 # directory).
   3969 if (
   3970    am_has_slept=no
   3971    for am_try in 1 2; do
   3972      echo "timestamp, slept: $am_has_slept" > conftest.file
   3973      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3974      if test "$*" = "X"; then
   3975 	# -L didn't work.
   3976 	set X `ls -t "$srcdir/configure" conftest.file`
   3977      fi
   3978      if test "$*" != "X $srcdir/configure conftest.file" \
   3979 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3980 
   3981 	# If neither matched, then we have a broken ls.  This can happen
   3982 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3983 	# broken ls alias from the environment.  This has actually
   3984 	# happened.  Such a system could not be considered "sane".
   3985 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3986   alias in your environment" "$LINENO" 5
   3987      fi
   3988      if test "$2" = conftest.file || test $am_try -eq 2; then
   3989        break
   3990      fi
   3991      # Just in case.
   3992      sleep 1
   3993      am_has_slept=yes
   3994    done
   3995    test "$2" = conftest.file
   3996    )
   3997 then
   3998    # Ok.
   3999    :
   4000 else
   4001    as_fn_error $? "newly created file is older than distributed files!
   4002 Check your system clock" "$LINENO" 5
   4003 fi
   4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4005 $as_echo "yes" >&6; }
   4006 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4007 # generated files are strictly newer.
   4008 am_sleep_pid=
   4009 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4010   ( sleep 1 ) &
   4011   am_sleep_pid=$!
   4012 fi
   4013 
   4014 rm -f conftest.file
   4015 
   4016 test "$program_prefix" != NONE &&
   4017   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4018 # Use a double $ so make ignores it.
   4019 test "$program_suffix" != NONE &&
   4020   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4021 # Double any \ or $.
   4022 # By default was `s,x,x', remove it if useless.
   4023 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4024 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4025 
   4026 if test x"${MISSING+set}" != xset; then
   4027   case $am_aux_dir in
   4028   *\ * | *\	*)
   4029     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4030   *)
   4031     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4032   esac
   4033 fi
   4034 # Use eval to expand $SHELL
   4035 if eval "$MISSING --is-lightweight"; then
   4036   am_missing_run="$MISSING "
   4037 else
   4038   am_missing_run=
   4039   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4040 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4041 fi
   4042 
   4043 if test x"${install_sh+set}" != xset; then
   4044   case $am_aux_dir in
   4045   *\ * | *\	*)
   4046     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4047   *)
   4048     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4049   esac
   4050 fi
   4051 
   4052 # Installed binaries are usually stripped using 'strip' when the user
   4053 # run "make install-strip".  However 'strip' might not be the right
   4054 # tool to use in cross-compilation environments, therefore Automake
   4055 # will honor the 'STRIP' environment variable to overrule this program.
   4056 if test "$cross_compiling" != no; then
   4057   if test -n "$ac_tool_prefix"; then
   4058   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4059 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4061 $as_echo_n "checking for $ac_word... " >&6; }
   4062 if ${ac_cv_prog_STRIP+:} false; then :
   4063   $as_echo_n "(cached) " >&6
   4064 else
   4065   if test -n "$STRIP"; then
   4066   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4067 else
   4068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4069 for as_dir in $PATH
   4070 do
   4071   IFS=$as_save_IFS
   4072   test -z "$as_dir" && as_dir=.
   4073     for ac_exec_ext in '' $ac_executable_extensions; do
   4074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4075     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4077     break 2
   4078   fi
   4079 done
   4080   done
   4081 IFS=$as_save_IFS
   4082 
   4083 fi
   4084 fi
   4085 STRIP=$ac_cv_prog_STRIP
   4086 if test -n "$STRIP"; then
   4087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4088 $as_echo "$STRIP" >&6; }
   4089 else
   4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4091 $as_echo "no" >&6; }
   4092 fi
   4093 
   4094 
   4095 fi
   4096 if test -z "$ac_cv_prog_STRIP"; then
   4097   ac_ct_STRIP=$STRIP
   4098   # Extract the first word of "strip", so it can be a program name with args.
   4099 set dummy strip; ac_word=$2
   4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4101 $as_echo_n "checking for $ac_word... " >&6; }
   4102 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4103   $as_echo_n "(cached) " >&6
   4104 else
   4105   if test -n "$ac_ct_STRIP"; then
   4106   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4107 else
   4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4109 for as_dir in $PATH
   4110 do
   4111   IFS=$as_save_IFS
   4112   test -z "$as_dir" && as_dir=.
   4113     for ac_exec_ext in '' $ac_executable_extensions; do
   4114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4115     ac_cv_prog_ac_ct_STRIP="strip"
   4116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4117     break 2
   4118   fi
   4119 done
   4120   done
   4121 IFS=$as_save_IFS
   4122 
   4123 fi
   4124 fi
   4125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4126 if test -n "$ac_ct_STRIP"; then
   4127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4128 $as_echo "$ac_ct_STRIP" >&6; }
   4129 else
   4130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4131 $as_echo "no" >&6; }
   4132 fi
   4133 
   4134   if test "x$ac_ct_STRIP" = x; then
   4135     STRIP=":"
   4136   else
   4137     case $cross_compiling:$ac_tool_warned in
   4138 yes:)
   4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4141 ac_tool_warned=yes ;;
   4142 esac
   4143     STRIP=$ac_ct_STRIP
   4144   fi
   4145 else
   4146   STRIP="$ac_cv_prog_STRIP"
   4147 fi
   4148 
   4149 fi
   4150 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4151 
   4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4153 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4154 if test -z "$MKDIR_P"; then
   4155   if ${ac_cv_path_mkdir+:} false; then :
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4159 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4160 do
   4161   IFS=$as_save_IFS
   4162   test -z "$as_dir" && as_dir=.
   4163     for ac_prog in mkdir gmkdir; do
   4164 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4165 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4166 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4167 	     'mkdir (GNU coreutils) '* | \
   4168 	     'mkdir (coreutils) '* | \
   4169 	     'mkdir (fileutils) '4.1*)
   4170 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4171 	       break 3;;
   4172 	   esac
   4173 	 done
   4174        done
   4175   done
   4176 IFS=$as_save_IFS
   4177 
   4178 fi
   4179 
   4180   test -d ./--version && rmdir ./--version
   4181   if test "${ac_cv_path_mkdir+set}" = set; then
   4182     MKDIR_P="$ac_cv_path_mkdir -p"
   4183   else
   4184     # As a last resort, use the slow shell script.  Don't cache a
   4185     # value for MKDIR_P within a source directory, because that will
   4186     # break other packages using the cache if that directory is
   4187     # removed, or if the value is a relative name.
   4188     MKDIR_P="$ac_install_sh -d"
   4189   fi
   4190 fi
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4192 $as_echo "$MKDIR_P" >&6; }
   4193 
   4194 for ac_prog in gawk mawk nawk awk
   4195 do
   4196   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4197 set dummy $ac_prog; ac_word=$2
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4199 $as_echo_n "checking for $ac_word... " >&6; }
   4200 if ${ac_cv_prog_AWK+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203   if test -n "$AWK"; then
   4204   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4205 else
   4206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4207 for as_dir in $PATH
   4208 do
   4209   IFS=$as_save_IFS
   4210   test -z "$as_dir" && as_dir=.
   4211     for ac_exec_ext in '' $ac_executable_extensions; do
   4212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4213     ac_cv_prog_AWK="$ac_prog"
   4214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4215     break 2
   4216   fi
   4217 done
   4218   done
   4219 IFS=$as_save_IFS
   4220 
   4221 fi
   4222 fi
   4223 AWK=$ac_cv_prog_AWK
   4224 if test -n "$AWK"; then
   4225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4226 $as_echo "$AWK" >&6; }
   4227 else
   4228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4229 $as_echo "no" >&6; }
   4230 fi
   4231 
   4232 
   4233   test -n "$AWK" && break
   4234 done
   4235 
   4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4237 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4238 set x ${MAKE-make}
   4239 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4240 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4241   $as_echo_n "(cached) " >&6
   4242 else
   4243   cat >conftest.make <<\_ACEOF
   4244 SHELL = /bin/sh
   4245 all:
   4246 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4247 _ACEOF
   4248 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4249 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4250   *@@@%%%=?*=@@@%%%*)
   4251     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4252   *)
   4253     eval ac_cv_prog_make_${ac_make}_set=no;;
   4254 esac
   4255 rm -f conftest.make
   4256 fi
   4257 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4259 $as_echo "yes" >&6; }
   4260   SET_MAKE=
   4261 else
   4262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4263 $as_echo "no" >&6; }
   4264   SET_MAKE="MAKE=${MAKE-make}"
   4265 fi
   4266 
   4267 rm -rf .tst 2>/dev/null
   4268 mkdir .tst 2>/dev/null
   4269 if test -d .tst; then
   4270   am__leading_dot=.
   4271 else
   4272   am__leading_dot=_
   4273 fi
   4274 rmdir .tst 2>/dev/null
   4275 
   4276 DEPDIR="${am__leading_dot}deps"
   4277 
   4278 ac_config_commands="$ac_config_commands depfiles"
   4279 
   4280 
   4281 am_make=${MAKE-make}
   4282 cat > confinc << 'END'
   4283 am__doit:
   4284 	@echo this is the am__doit target
   4285 .PHONY: am__doit
   4286 END
   4287 # If we don't find an include directive, just comment out the code.
   4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4289 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4290 am__include="#"
   4291 am__quote=
   4292 _am_result=none
   4293 # First try GNU make style include.
   4294 echo "include confinc" > confmf
   4295 # Ignore all kinds of additional output from 'make'.
   4296 case `$am_make -s -f confmf 2> /dev/null` in #(
   4297 *the\ am__doit\ target*)
   4298   am__include=include
   4299   am__quote=
   4300   _am_result=GNU
   4301   ;;
   4302 esac
   4303 # Now try BSD make style include.
   4304 if test "$am__include" = "#"; then
   4305    echo '.include "confinc"' > confmf
   4306    case `$am_make -s -f confmf 2> /dev/null` in #(
   4307    *the\ am__doit\ target*)
   4308      am__include=.include
   4309      am__quote="\""
   4310      _am_result=BSD
   4311      ;;
   4312    esac
   4313 fi
   4314 
   4315 
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4317 $as_echo "$_am_result" >&6; }
   4318 rm -f confinc confmf
   4319 
   4320 # Check whether --enable-dependency-tracking was given.
   4321 if test "${enable_dependency_tracking+set}" = set; then :
   4322   enableval=$enable_dependency_tracking;
   4323 fi
   4324 
   4325 if test "x$enable_dependency_tracking" != xno; then
   4326   am_depcomp="$ac_aux_dir/depcomp"
   4327   AMDEPBACKSLASH='\'
   4328   am__nodep='_no'
   4329 fi
   4330  if test "x$enable_dependency_tracking" != xno; then
   4331   AMDEP_TRUE=
   4332   AMDEP_FALSE='#'
   4333 else
   4334   AMDEP_TRUE='#'
   4335   AMDEP_FALSE=
   4336 fi
   4337 
   4338 
   4339 # Check whether --enable-silent-rules was given.
   4340 if test "${enable_silent_rules+set}" = set; then :
   4341   enableval=$enable_silent_rules;
   4342 fi
   4343 
   4344 case $enable_silent_rules in # (((
   4345   yes) AM_DEFAULT_VERBOSITY=0;;
   4346    no) AM_DEFAULT_VERBOSITY=1;;
   4347     *) AM_DEFAULT_VERBOSITY=1;;
   4348 esac
   4349 am_make=${MAKE-make}
   4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4351 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4352 if ${am_cv_make_support_nested_variables+:} false; then :
   4353   $as_echo_n "(cached) " >&6
   4354 else
   4355   if $as_echo 'TRUE=$(BAR$(V))
   4356 BAR0=false
   4357 BAR1=true
   4358 V=1
   4359 am__doit:
   4360 	@$(TRUE)
   4361 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4362   am_cv_make_support_nested_variables=yes
   4363 else
   4364   am_cv_make_support_nested_variables=no
   4365 fi
   4366 fi
   4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4368 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4369 if test $am_cv_make_support_nested_variables = yes; then
   4370     AM_V='$(V)'
   4371   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4372 else
   4373   AM_V=$AM_DEFAULT_VERBOSITY
   4374   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4375 fi
   4376 AM_BACKSLASH='\'
   4377 
   4378 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4379   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4380   # is not polluted with repeated "-I."
   4381   am__isrc=' -I$(srcdir)'
   4382   # test to see if srcdir already configured
   4383   if test -f $srcdir/config.status; then
   4384     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4385   fi
   4386 fi
   4387 
   4388 # test whether we have cygpath
   4389 if test -z "$CYGPATH_W"; then
   4390   if (cygpath --version) >/dev/null 2>/dev/null; then
   4391     CYGPATH_W='cygpath -w'
   4392   else
   4393     CYGPATH_W=echo
   4394   fi
   4395 fi
   4396 
   4397 
   4398 # Define the identity of the package.
   4399  PACKAGE='xfs'
   4400  VERSION='1.2.0'
   4401 
   4402 
   4403 cat >>confdefs.h <<_ACEOF
   4404 #define PACKAGE "$PACKAGE"
   4405 _ACEOF
   4406 
   4407 
   4408 cat >>confdefs.h <<_ACEOF
   4409 #define VERSION "$VERSION"
   4410 _ACEOF
   4411 
   4412 # Some tools Automake needs.
   4413 
   4414 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4415 
   4416 
   4417 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4418 
   4419 
   4420 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4421 
   4422 
   4423 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4424 
   4425 
   4426 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4427 
   4428 # For better backward compatibility.  To be removed once Automake 1.9.x
   4429 # dies out for good.  For more background, see:
   4430 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4431 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4432 mkdir_p='$(MKDIR_P)'
   4433 
   4434 # We need awk for the "check" target (and possibly the TAP driver).  The
   4435 # system "awk" is bad on some platforms.
   4436 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4437 # in the wild :-(  We should find a proper way to deprecate it ...
   4438 AMTAR='$${TAR-tar}'
   4439 
   4440 
   4441 # We'll loop over all known methods to create a tar archive until one works.
   4442 _am_tools='gnutar  pax cpio none'
   4443 
   4444 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4445 
   4446 
   4447 
   4448 
   4449 
   4450 depcc="$CC"   am_compiler_list=
   4451 
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4453 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4454 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4458   # We make a subdir and do the tests there.  Otherwise we can end up
   4459   # making bogus files that we don't know about and never remove.  For
   4460   # instance it was reported that on HP-UX the gcc test will end up
   4461   # making a dummy file named 'D' -- because '-MD' means "put the output
   4462   # in D".
   4463   rm -rf conftest.dir
   4464   mkdir conftest.dir
   4465   # Copy depcomp to subdir because otherwise we won't find it if we're
   4466   # using a relative directory.
   4467   cp "$am_depcomp" conftest.dir
   4468   cd conftest.dir
   4469   # We will build objects and dependencies in a subdirectory because
   4470   # it helps to detect inapplicable dependency modes.  For instance
   4471   # both Tru64's cc and ICC support -MD to output dependencies as a
   4472   # side effect of compilation, but ICC will put the dependencies in
   4473   # the current directory while Tru64 will put them in the object
   4474   # directory.
   4475   mkdir sub
   4476 
   4477   am_cv_CC_dependencies_compiler_type=none
   4478   if test "$am_compiler_list" = ""; then
   4479      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4480   fi
   4481   am__universal=false
   4482   case " $depcc " in #(
   4483      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4484      esac
   4485 
   4486   for depmode in $am_compiler_list; do
   4487     # Setup a source with many dependencies, because some compilers
   4488     # like to wrap large dependency lists on column 80 (with \), and
   4489     # we should not choose a depcomp mode which is confused by this.
   4490     #
   4491     # We need to recreate these files for each test, as the compiler may
   4492     # overwrite some of them when testing with obscure command lines.
   4493     # This happens at least with the AIX C compiler.
   4494     : > sub/conftest.c
   4495     for i in 1 2 3 4 5 6; do
   4496       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4497       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4498       # Solaris 10 /bin/sh.
   4499       echo '/* dummy */' > sub/conftst$i.h
   4500     done
   4501     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4502 
   4503     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4504     # mode.  It turns out that the SunPro C++ compiler does not properly
   4505     # handle '-M -o', and we need to detect this.  Also, some Intel
   4506     # versions had trouble with output in subdirs.
   4507     am__obj=sub/conftest.${OBJEXT-o}
   4508     am__minus_obj="-o $am__obj"
   4509     case $depmode in
   4510     gcc)
   4511       # This depmode causes a compiler race in universal mode.
   4512       test "$am__universal" = false || continue
   4513       ;;
   4514     nosideeffect)
   4515       # After this tag, mechanisms are not by side-effect, so they'll
   4516       # only be used when explicitly requested.
   4517       if test "x$enable_dependency_tracking" = xyes; then
   4518 	continue
   4519       else
   4520 	break
   4521       fi
   4522       ;;
   4523     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4524       # This compiler won't grok '-c -o', but also, the minuso test has
   4525       # not run yet.  These depmodes are late enough in the game, and
   4526       # so weak that their functioning should not be impacted.
   4527       am__obj=conftest.${OBJEXT-o}
   4528       am__minus_obj=
   4529       ;;
   4530     none) break ;;
   4531     esac
   4532     if depmode=$depmode \
   4533        source=sub/conftest.c object=$am__obj \
   4534        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4535        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4536          >/dev/null 2>conftest.err &&
   4537        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4538        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4539        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4540        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4541       # icc doesn't choke on unknown options, it will just issue warnings
   4542       # or remarks (even with -Werror).  So we grep stderr for any message
   4543       # that says an option was ignored or not supported.
   4544       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4545       #   icc: Command line warning: ignoring option '-M'; no argument required
   4546       # The diagnosis changed in icc 8.0:
   4547       #   icc: Command line remark: option '-MP' not supported
   4548       if (grep 'ignoring option' conftest.err ||
   4549           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4550         am_cv_CC_dependencies_compiler_type=$depmode
   4551         break
   4552       fi
   4553     fi
   4554   done
   4555 
   4556   cd ..
   4557   rm -rf conftest.dir
   4558 else
   4559   am_cv_CC_dependencies_compiler_type=none
   4560 fi
   4561 
   4562 fi
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4564 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4566 
   4567  if
   4568   test "x$enable_dependency_tracking" != xno \
   4569   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4570   am__fastdepCC_TRUE=
   4571   am__fastdepCC_FALSE='#'
   4572 else
   4573   am__fastdepCC_TRUE='#'
   4574   am__fastdepCC_FALSE=
   4575 fi
   4576 
   4577 
   4578 
   4579 # POSIX will say in a future version that running "rm -f" with no argument
   4580 # is OK; and we want to be able to make that assumption in our Makefile
   4581 # recipes.  So use an aggressive probe to check that the usage we want is
   4582 # actually supported "in the wild" to an acceptable degree.
   4583 # See automake bug#10828.
   4584 # To make any issue more visible, cause the running configure to be aborted
   4585 # by default if the 'rm' program in use doesn't match our expectations; the
   4586 # user can still override this though.
   4587 if rm -f && rm -fr && rm -rf; then : OK; else
   4588   cat >&2 <<'END'
   4589 Oops!
   4590 
   4591 Your 'rm' program seems unable to run without file operands specified
   4592 on the command line, even when the '-f' option is present.  This is contrary
   4593 to the behaviour of most rm programs out there, and not conforming with
   4594 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4595 
   4596 Please tell bug-automake@gnu.org about your system, including the value
   4597 of your $PATH and any error possibly output before this message.  This
   4598 can help us improve future automake versions.
   4599 
   4600 END
   4601   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4602     echo 'Configuration will proceed anyway, since you have set the' >&2
   4603     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4604     echo >&2
   4605   else
   4606     cat >&2 <<'END'
   4607 Aborting the configuration process, to ensure you take notice of the issue.
   4608 
   4609 You can download and install GNU coreutils to get an 'rm' implementation
   4610 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4611 
   4612 If you want to complete the configuration process using your problematic
   4613 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4614 to "yes", and re-run configure.
   4615 
   4616 END
   4617     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4618   fi
   4619 fi
   4620 
   4621 
   4622 # Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 
   4634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4635 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4636 if ${ac_cv_prog_cc_c99+:} false; then :
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639   ac_cv_prog_cc_c99=no
   4640 ac_save_CC=$CC
   4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4642 /* end confdefs.h.  */
   4643 #include <stdarg.h>
   4644 #include <stdbool.h>
   4645 #include <stdlib.h>
   4646 #include <wchar.h>
   4647 #include <stdio.h>
   4648 
   4649 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4650 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4651 #define showlist(...) puts (#__VA_ARGS__)
   4652 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4653 static void
   4654 test_varargs_macros (void)
   4655 {
   4656   int x = 1234;
   4657   int y = 5678;
   4658   debug ("Flag");
   4659   debug ("X = %d\n", x);
   4660   showlist (The first, second, and third items.);
   4661   report (x>y, "x is %d but y is %d", x, y);
   4662 }
   4663 
   4664 // Check long long types.
   4665 #define BIG64 18446744073709551615ull
   4666 #define BIG32 4294967295ul
   4667 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4668 #if !BIG_OK
   4669   your preprocessor is broken;
   4670 #endif
   4671 #if BIG_OK
   4672 #else
   4673   your preprocessor is broken;
   4674 #endif
   4675 static long long int bignum = -9223372036854775807LL;
   4676 static unsigned long long int ubignum = BIG64;
   4677 
   4678 struct incomplete_array
   4679 {
   4680   int datasize;
   4681   double data[];
   4682 };
   4683 
   4684 struct named_init {
   4685   int number;
   4686   const wchar_t *name;
   4687   double average;
   4688 };
   4689 
   4690 typedef const char *ccp;
   4691 
   4692 static inline int
   4693 test_restrict (ccp restrict text)
   4694 {
   4695   // See if C++-style comments work.
   4696   // Iterate through items via the restricted pointer.
   4697   // Also check for declarations in for loops.
   4698   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4699     continue;
   4700   return 0;
   4701 }
   4702 
   4703 // Check varargs and va_copy.
   4704 static void
   4705 test_varargs (const char *format, ...)
   4706 {
   4707   va_list args;
   4708   va_start (args, format);
   4709   va_list args_copy;
   4710   va_copy (args_copy, args);
   4711 
   4712   const char *str;
   4713   int number;
   4714   float fnumber;
   4715 
   4716   while (*format)
   4717     {
   4718       switch (*format++)
   4719 	{
   4720 	case 's': // string
   4721 	  str = va_arg (args_copy, const char *);
   4722 	  break;
   4723 	case 'd': // int
   4724 	  number = va_arg (args_copy, int);
   4725 	  break;
   4726 	case 'f': // float
   4727 	  fnumber = va_arg (args_copy, double);
   4728 	  break;
   4729 	default:
   4730 	  break;
   4731 	}
   4732     }
   4733   va_end (args_copy);
   4734   va_end (args);
   4735 }
   4736 
   4737 int
   4738 main ()
   4739 {
   4740 
   4741   // Check bool.
   4742   _Bool success = false;
   4743 
   4744   // Check restrict.
   4745   if (test_restrict ("String literal") == 0)
   4746     success = true;
   4747   char *restrict newvar = "Another string";
   4748 
   4749   // Check varargs.
   4750   test_varargs ("s, d' f .", "string", 65, 34.234);
   4751   test_varargs_macros ();
   4752 
   4753   // Check flexible array members.
   4754   struct incomplete_array *ia =
   4755     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4756   ia->datasize = 10;
   4757   for (int i = 0; i < ia->datasize; ++i)
   4758     ia->data[i] = i * 1.234;
   4759 
   4760   // Check named initializers.
   4761   struct named_init ni = {
   4762     .number = 34,
   4763     .name = L"Test wide string",
   4764     .average = 543.34343,
   4765   };
   4766 
   4767   ni.number = 58;
   4768 
   4769   int dynamic_array[ni.number];
   4770   dynamic_array[ni.number - 1] = 543;
   4771 
   4772   // work around unused variable warnings
   4773   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4774 	  || dynamic_array[ni.number - 1] != 543);
   4775 
   4776   ;
   4777   return 0;
   4778 }
   4779 _ACEOF
   4780 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4781 do
   4782   CC="$ac_save_CC $ac_arg"
   4783   if ac_fn_c_try_compile "$LINENO"; then :
   4784   ac_cv_prog_cc_c99=$ac_arg
   4785 fi
   4786 rm -f core conftest.err conftest.$ac_objext
   4787   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4788 done
   4789 rm -f conftest.$ac_ext
   4790 CC=$ac_save_CC
   4791 
   4792 fi
   4793 # AC_CACHE_VAL
   4794 case "x$ac_cv_prog_cc_c99" in
   4795   x)
   4796     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4797 $as_echo "none needed" >&6; } ;;
   4798   xno)
   4799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4800 $as_echo "unsupported" >&6; } ;;
   4801   *)
   4802     CC="$CC $ac_cv_prog_cc_c99"
   4803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4804 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4805 esac
   4806 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4807 
   4808 fi
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4816 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4817   CLANGCC="yes"
   4818 else
   4819   CLANGCC="no"
   4820 fi
   4821 
   4822 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4823 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4824   INTELCC="yes"
   4825 else
   4826   INTELCC="no"
   4827 fi
   4828 
   4829 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4830 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4831   SUNCC="yes"
   4832 else
   4833   SUNCC="no"
   4834 fi
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4845 	if test -n "$ac_tool_prefix"; then
   4846   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4847 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4849 $as_echo_n "checking for $ac_word... " >&6; }
   4850 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   case $PKG_CONFIG in
   4854   [\\/]* | ?:[\\/]*)
   4855   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4856   ;;
   4857   *)
   4858   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4859 for as_dir in $PATH
   4860 do
   4861   IFS=$as_save_IFS
   4862   test -z "$as_dir" && as_dir=.
   4863     for ac_exec_ext in '' $ac_executable_extensions; do
   4864   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4865     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4867     break 2
   4868   fi
   4869 done
   4870   done
   4871 IFS=$as_save_IFS
   4872 
   4873   ;;
   4874 esac
   4875 fi
   4876 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4877 if test -n "$PKG_CONFIG"; then
   4878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4879 $as_echo "$PKG_CONFIG" >&6; }
   4880 else
   4881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4882 $as_echo "no" >&6; }
   4883 fi
   4884 
   4885 
   4886 fi
   4887 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4888   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4889   # Extract the first word of "pkg-config", so it can be a program name with args.
   4890 set dummy pkg-config; ac_word=$2
   4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4892 $as_echo_n "checking for $ac_word... " >&6; }
   4893 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4894   $as_echo_n "(cached) " >&6
   4895 else
   4896   case $ac_pt_PKG_CONFIG in
   4897   [\\/]* | ?:[\\/]*)
   4898   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4899   ;;
   4900   *)
   4901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4902 for as_dir in $PATH
   4903 do
   4904   IFS=$as_save_IFS
   4905   test -z "$as_dir" && as_dir=.
   4906     for ac_exec_ext in '' $ac_executable_extensions; do
   4907   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4908     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4910     break 2
   4911   fi
   4912 done
   4913   done
   4914 IFS=$as_save_IFS
   4915 
   4916   ;;
   4917 esac
   4918 fi
   4919 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4920 if test -n "$ac_pt_PKG_CONFIG"; then
   4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4922 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4923 else
   4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4925 $as_echo "no" >&6; }
   4926 fi
   4927 
   4928   if test "x$ac_pt_PKG_CONFIG" = x; then
   4929     PKG_CONFIG=""
   4930   else
   4931     case $cross_compiling:$ac_tool_warned in
   4932 yes:)
   4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4935 ac_tool_warned=yes ;;
   4936 esac
   4937     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4938   fi
   4939 else
   4940   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4941 fi
   4942 
   4943 fi
   4944 if test -n "$PKG_CONFIG"; then
   4945 	_pkg_min_version=0.9.0
   4946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4947 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4948 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4950 $as_echo "yes" >&6; }
   4951 	else
   4952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4953 $as_echo "no" >&6; }
   4954 		PKG_CONFIG=""
   4955 	fi
   4956 fi
   4957 # Make sure we can run config.sub.
   4958 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4959   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4960 
   4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4962 $as_echo_n "checking build system type... " >&6; }
   4963 if ${ac_cv_build+:} false; then :
   4964   $as_echo_n "(cached) " >&6
   4965 else
   4966   ac_build_alias=$build_alias
   4967 test "x$ac_build_alias" = x &&
   4968   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4969 test "x$ac_build_alias" = x &&
   4970   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4971 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4972   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4973 
   4974 fi
   4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4976 $as_echo "$ac_cv_build" >&6; }
   4977 case $ac_cv_build in
   4978 *-*-*) ;;
   4979 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4980 esac
   4981 build=$ac_cv_build
   4982 ac_save_IFS=$IFS; IFS='-'
   4983 set x $ac_cv_build
   4984 shift
   4985 build_cpu=$1
   4986 build_vendor=$2
   4987 shift; shift
   4988 # Remember, the first character of IFS is used to create $*,
   4989 # except with old shells:
   4990 build_os=$*
   4991 IFS=$ac_save_IFS
   4992 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4993 
   4994 
   4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4996 $as_echo_n "checking host system type... " >&6; }
   4997 if ${ac_cv_host+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   if test "x$host_alias" = x; then
   5001   ac_cv_host=$ac_cv_build
   5002 else
   5003   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5004     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5005 fi
   5006 
   5007 fi
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5009 $as_echo "$ac_cv_host" >&6; }
   5010 case $ac_cv_host in
   5011 *-*-*) ;;
   5012 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5013 esac
   5014 host=$ac_cv_host
   5015 ac_save_IFS=$IFS; IFS='-'
   5016 set x $ac_cv_host
   5017 shift
   5018 host_cpu=$1
   5019 host_vendor=$2
   5020 shift; shift
   5021 # Remember, the first character of IFS is used to create $*,
   5022 # except with old shells:
   5023 host_os=$*
   5024 IFS=$ac_save_IFS
   5025 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5026 
   5027 
   5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5030 if ${ac_cv_path_SED+:} false; then :
   5031   $as_echo_n "(cached) " >&6
   5032 else
   5033             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5034      for ac_i in 1 2 3 4 5 6 7; do
   5035        ac_script="$ac_script$as_nl$ac_script"
   5036      done
   5037      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5038      { ac_script=; unset ac_script;}
   5039      if test -z "$SED"; then
   5040   ac_path_SED_found=false
   5041   # Loop through the user's path and test for each of PROGNAME-LIST
   5042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5043 for as_dir in $PATH
   5044 do
   5045   IFS=$as_save_IFS
   5046   test -z "$as_dir" && as_dir=.
   5047     for ac_prog in sed gsed; do
   5048     for ac_exec_ext in '' $ac_executable_extensions; do
   5049       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5050       as_fn_executable_p "$ac_path_SED" || continue
   5051 # Check for GNU ac_path_SED and select it if it is found.
   5052   # Check for GNU $ac_path_SED
   5053 case `"$ac_path_SED" --version 2>&1` in
   5054 *GNU*)
   5055   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5056 *)
   5057   ac_count=0
   5058   $as_echo_n 0123456789 >"conftest.in"
   5059   while :
   5060   do
   5061     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5062     mv "conftest.tmp" "conftest.in"
   5063     cp "conftest.in" "conftest.nl"
   5064     $as_echo '' >> "conftest.nl"
   5065     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5066     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5067     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5068     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5069       # Best one so far, save it but keep looking for a better one
   5070       ac_cv_path_SED="$ac_path_SED"
   5071       ac_path_SED_max=$ac_count
   5072     fi
   5073     # 10*(2^10) chars as input seems more than enough
   5074     test $ac_count -gt 10 && break
   5075   done
   5076   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5077 esac
   5078 
   5079       $ac_path_SED_found && break 3
   5080     done
   5081   done
   5082   done
   5083 IFS=$as_save_IFS
   5084   if test -z "$ac_cv_path_SED"; then
   5085     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5086   fi
   5087 else
   5088   ac_cv_path_SED=$SED
   5089 fi
   5090 
   5091 fi
   5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5093 $as_echo "$ac_cv_path_SED" >&6; }
   5094  SED="$ac_cv_path_SED"
   5095   rm -f conftest.sed
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 # Check whether --enable-selective-werror was given.
   5103 if test "${enable_selective_werror+set}" = set; then :
   5104   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5105 else
   5106   SELECTIVE_WERROR=yes
   5107 fi
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5114 if test "x$SUNCC" = "xyes"; then
   5115     BASE_CFLAGS="-v"
   5116 else
   5117     BASE_CFLAGS=""
   5118 fi
   5119 
   5120 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 xorg_testset_save_CFLAGS="$CFLAGS"
   5135 
   5136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5139 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5140 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5141   $as_echo_n "(cached) " >&6
   5142 else
   5143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5144 /* end confdefs.h.  */
   5145 int i;
   5146 _ACEOF
   5147 if ac_fn_c_try_compile "$LINENO"; then :
   5148   xorg_cv_cc_flag_unknown_warning_option=yes
   5149 else
   5150   xorg_cv_cc_flag_unknown_warning_option=no
   5151 fi
   5152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5153 fi
   5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5155 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5157 	CFLAGS="$xorg_testset_save_CFLAGS"
   5158 fi
   5159 
   5160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5163 	fi
   5164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5166 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5167 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5168   $as_echo_n "(cached) " >&6
   5169 else
   5170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5171 /* end confdefs.h.  */
   5172 int i;
   5173 _ACEOF
   5174 if ac_fn_c_try_compile "$LINENO"; then :
   5175   xorg_cv_cc_flag_unused_command_line_argument=yes
   5176 else
   5177   xorg_cv_cc_flag_unused_command_line_argument=no
   5178 fi
   5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5180 fi
   5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5182 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5184 	CFLAGS="$xorg_testset_save_CFLAGS"
   5185 fi
   5186 
   5187 found="no"
   5188 
   5189 	if test $found = "no" ; then
   5190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5192 		fi
   5193 
   5194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5196 		fi
   5197 
   5198 		CFLAGS="$CFLAGS -Wall"
   5199 
   5200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5201 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5202 		cacheid=xorg_cv_cc_flag__Wall
   5203 		if eval \${$cacheid+:} false; then :
   5204   $as_echo_n "(cached) " >&6
   5205 else
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 int i;
   5209 int
   5210 main ()
   5211 {
   5212 
   5213   ;
   5214   return 0;
   5215 }
   5216 _ACEOF
   5217 if ac_fn_c_try_link "$LINENO"; then :
   5218   eval $cacheid=yes
   5219 else
   5220   eval $cacheid=no
   5221 fi
   5222 rm -f core conftest.err conftest.$ac_objext \
   5223     conftest$ac_exeext conftest.$ac_ext
   5224 fi
   5225 
   5226 
   5227 		CFLAGS="$xorg_testset_save_CFLAGS"
   5228 
   5229 		eval supported=\$$cacheid
   5230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5231 $as_echo "$supported" >&6; }
   5232 		if test "$supported" = "yes" ; then
   5233 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5234 			found="yes"
   5235 		fi
   5236 	fi
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 xorg_testset_save_CFLAGS="$CFLAGS"
   5253 
   5254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5257 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5258 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5259   $as_echo_n "(cached) " >&6
   5260 else
   5261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5262 /* end confdefs.h.  */
   5263 int i;
   5264 _ACEOF
   5265 if ac_fn_c_try_compile "$LINENO"; then :
   5266   xorg_cv_cc_flag_unknown_warning_option=yes
   5267 else
   5268   xorg_cv_cc_flag_unknown_warning_option=no
   5269 fi
   5270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5271 fi
   5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5273 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5274 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5275 	CFLAGS="$xorg_testset_save_CFLAGS"
   5276 fi
   5277 
   5278 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5279 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5280 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5281 	fi
   5282 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5284 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5285 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5286   $as_echo_n "(cached) " >&6
   5287 else
   5288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5289 /* end confdefs.h.  */
   5290 int i;
   5291 _ACEOF
   5292 if ac_fn_c_try_compile "$LINENO"; then :
   5293   xorg_cv_cc_flag_unused_command_line_argument=yes
   5294 else
   5295   xorg_cv_cc_flag_unused_command_line_argument=no
   5296 fi
   5297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5298 fi
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5300 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5302 	CFLAGS="$xorg_testset_save_CFLAGS"
   5303 fi
   5304 
   5305 found="no"
   5306 
   5307 	if test $found = "no" ; then
   5308 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5310 		fi
   5311 
   5312 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5314 		fi
   5315 
   5316 		CFLAGS="$CFLAGS -Wpointer-arith"
   5317 
   5318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5319 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5320 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5321 		if eval \${$cacheid+:} false; then :
   5322   $as_echo_n "(cached) " >&6
   5323 else
   5324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5325 /* end confdefs.h.  */
   5326 int i;
   5327 int
   5328 main ()
   5329 {
   5330 
   5331   ;
   5332   return 0;
   5333 }
   5334 _ACEOF
   5335 if ac_fn_c_try_link "$LINENO"; then :
   5336   eval $cacheid=yes
   5337 else
   5338   eval $cacheid=no
   5339 fi
   5340 rm -f core conftest.err conftest.$ac_objext \
   5341     conftest$ac_exeext conftest.$ac_ext
   5342 fi
   5343 
   5344 
   5345 		CFLAGS="$xorg_testset_save_CFLAGS"
   5346 
   5347 		eval supported=\$$cacheid
   5348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5349 $as_echo "$supported" >&6; }
   5350 		if test "$supported" = "yes" ; then
   5351 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5352 			found="yes"
   5353 		fi
   5354 	fi
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 xorg_testset_save_CFLAGS="$CFLAGS"
   5371 
   5372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5375 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5376 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5377   $as_echo_n "(cached) " >&6
   5378 else
   5379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5380 /* end confdefs.h.  */
   5381 int i;
   5382 _ACEOF
   5383 if ac_fn_c_try_compile "$LINENO"; then :
   5384   xorg_cv_cc_flag_unknown_warning_option=yes
   5385 else
   5386   xorg_cv_cc_flag_unknown_warning_option=no
   5387 fi
   5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5389 fi
   5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5391 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5393 	CFLAGS="$xorg_testset_save_CFLAGS"
   5394 fi
   5395 
   5396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5399 	fi
   5400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5402 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5403 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5404   $as_echo_n "(cached) " >&6
   5405 else
   5406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5407 /* end confdefs.h.  */
   5408 int i;
   5409 _ACEOF
   5410 if ac_fn_c_try_compile "$LINENO"; then :
   5411   xorg_cv_cc_flag_unused_command_line_argument=yes
   5412 else
   5413   xorg_cv_cc_flag_unused_command_line_argument=no
   5414 fi
   5415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5416 fi
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5418 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 found="no"
   5424 
   5425 	if test $found = "no" ; then
   5426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5428 		fi
   5429 
   5430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5432 		fi
   5433 
   5434 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5435 
   5436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5437 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5438 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5439 		if eval \${$cacheid+:} false; then :
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5443 /* end confdefs.h.  */
   5444 int i;
   5445 int
   5446 main ()
   5447 {
   5448 
   5449   ;
   5450   return 0;
   5451 }
   5452 _ACEOF
   5453 if ac_fn_c_try_link "$LINENO"; then :
   5454   eval $cacheid=yes
   5455 else
   5456   eval $cacheid=no
   5457 fi
   5458 rm -f core conftest.err conftest.$ac_objext \
   5459     conftest$ac_exeext conftest.$ac_ext
   5460 fi
   5461 
   5462 
   5463 		CFLAGS="$xorg_testset_save_CFLAGS"
   5464 
   5465 		eval supported=\$$cacheid
   5466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5467 $as_echo "$supported" >&6; }
   5468 		if test "$supported" = "yes" ; then
   5469 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5470 			found="yes"
   5471 		fi
   5472 	fi
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 xorg_testset_save_CFLAGS="$CFLAGS"
   5489 
   5490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5495   $as_echo_n "(cached) " >&6
   5496 else
   5497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5498 /* end confdefs.h.  */
   5499 int i;
   5500 _ACEOF
   5501 if ac_fn_c_try_compile "$LINENO"; then :
   5502   xorg_cv_cc_flag_unknown_warning_option=yes
   5503 else
   5504   xorg_cv_cc_flag_unknown_warning_option=no
   5505 fi
   5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5507 fi
   5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5511 	CFLAGS="$xorg_testset_save_CFLAGS"
   5512 fi
   5513 
   5514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5517 	fi
   5518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5522   $as_echo_n "(cached) " >&6
   5523 else
   5524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5525 /* end confdefs.h.  */
   5526 int i;
   5527 _ACEOF
   5528 if ac_fn_c_try_compile "$LINENO"; then :
   5529   xorg_cv_cc_flag_unused_command_line_argument=yes
   5530 else
   5531   xorg_cv_cc_flag_unused_command_line_argument=no
   5532 fi
   5533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5534 fi
   5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5538 	CFLAGS="$xorg_testset_save_CFLAGS"
   5539 fi
   5540 
   5541 found="no"
   5542 
   5543 	if test $found = "no" ; then
   5544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 		fi
   5547 
   5548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5550 		fi
   5551 
   5552 		CFLAGS="$CFLAGS -Wformat=2"
   5553 
   5554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5555 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5556 		cacheid=xorg_cv_cc_flag__Wformat_2
   5557 		if eval \${$cacheid+:} false; then :
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5561 /* end confdefs.h.  */
   5562 int i;
   5563 int
   5564 main ()
   5565 {
   5566 
   5567   ;
   5568   return 0;
   5569 }
   5570 _ACEOF
   5571 if ac_fn_c_try_link "$LINENO"; then :
   5572   eval $cacheid=yes
   5573 else
   5574   eval $cacheid=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext \
   5577     conftest$ac_exeext conftest.$ac_ext
   5578 fi
   5579 
   5580 
   5581 		CFLAGS="$xorg_testset_save_CFLAGS"
   5582 
   5583 		eval supported=\$$cacheid
   5584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5585 $as_echo "$supported" >&6; }
   5586 		if test "$supported" = "yes" ; then
   5587 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5588 			found="yes"
   5589 		fi
   5590 	fi
   5591 
   5592 	if test $found = "no" ; then
   5593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5595 		fi
   5596 
   5597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5599 		fi
   5600 
   5601 		CFLAGS="$CFLAGS -Wformat"
   5602 
   5603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5604 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5605 		cacheid=xorg_cv_cc_flag__Wformat
   5606 		if eval \${$cacheid+:} false; then :
   5607   $as_echo_n "(cached) " >&6
   5608 else
   5609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5610 /* end confdefs.h.  */
   5611 int i;
   5612 int
   5613 main ()
   5614 {
   5615 
   5616   ;
   5617   return 0;
   5618 }
   5619 _ACEOF
   5620 if ac_fn_c_try_link "$LINENO"; then :
   5621   eval $cacheid=yes
   5622 else
   5623   eval $cacheid=no
   5624 fi
   5625 rm -f core conftest.err conftest.$ac_objext \
   5626     conftest$ac_exeext conftest.$ac_ext
   5627 fi
   5628 
   5629 
   5630 		CFLAGS="$xorg_testset_save_CFLAGS"
   5631 
   5632 		eval supported=\$$cacheid
   5633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5634 $as_echo "$supported" >&6; }
   5635 		if test "$supported" = "yes" ; then
   5636 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5637 			found="yes"
   5638 		fi
   5639 	fi
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 xorg_testset_save_CFLAGS="$CFLAGS"
   5658 
   5659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5662 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5663 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 int i;
   5669 _ACEOF
   5670 if ac_fn_c_try_compile "$LINENO"; then :
   5671   xorg_cv_cc_flag_unknown_warning_option=yes
   5672 else
   5673   xorg_cv_cc_flag_unknown_warning_option=no
   5674 fi
   5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5676 fi
   5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5678 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5680 	CFLAGS="$xorg_testset_save_CFLAGS"
   5681 fi
   5682 
   5683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5686 	fi
   5687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5689 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5690 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5691   $as_echo_n "(cached) " >&6
   5692 else
   5693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5694 /* end confdefs.h.  */
   5695 int i;
   5696 _ACEOF
   5697 if ac_fn_c_try_compile "$LINENO"; then :
   5698   xorg_cv_cc_flag_unused_command_line_argument=yes
   5699 else
   5700   xorg_cv_cc_flag_unused_command_line_argument=no
   5701 fi
   5702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5703 fi
   5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5705 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5707 	CFLAGS="$xorg_testset_save_CFLAGS"
   5708 fi
   5709 
   5710 found="no"
   5711 
   5712 	if test $found = "no" ; then
   5713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5715 		fi
   5716 
   5717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5719 		fi
   5720 
   5721 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5722 
   5723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5724 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5725 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5726 		if eval \${$cacheid+:} false; then :
   5727   $as_echo_n "(cached) " >&6
   5728 else
   5729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5730 /* end confdefs.h.  */
   5731 int i;
   5732 int
   5733 main ()
   5734 {
   5735 
   5736   ;
   5737   return 0;
   5738 }
   5739 _ACEOF
   5740 if ac_fn_c_try_link "$LINENO"; then :
   5741   eval $cacheid=yes
   5742 else
   5743   eval $cacheid=no
   5744 fi
   5745 rm -f core conftest.err conftest.$ac_objext \
   5746     conftest$ac_exeext conftest.$ac_ext
   5747 fi
   5748 
   5749 
   5750 		CFLAGS="$xorg_testset_save_CFLAGS"
   5751 
   5752 		eval supported=\$$cacheid
   5753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5754 $as_echo "$supported" >&6; }
   5755 		if test "$supported" = "yes" ; then
   5756 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5757 			found="yes"
   5758 		fi
   5759 	fi
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 xorg_testset_save_CFLAGS="$CFLAGS"
   5776 
   5777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5780 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5781 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5782   $as_echo_n "(cached) " >&6
   5783 else
   5784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5785 /* end confdefs.h.  */
   5786 int i;
   5787 _ACEOF
   5788 if ac_fn_c_try_compile "$LINENO"; then :
   5789   xorg_cv_cc_flag_unknown_warning_option=yes
   5790 else
   5791   xorg_cv_cc_flag_unknown_warning_option=no
   5792 fi
   5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5794 fi
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5796 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5798 	CFLAGS="$xorg_testset_save_CFLAGS"
   5799 fi
   5800 
   5801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5804 	fi
   5805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5807 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5808 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5809   $as_echo_n "(cached) " >&6
   5810 else
   5811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5812 /* end confdefs.h.  */
   5813 int i;
   5814 _ACEOF
   5815 if ac_fn_c_try_compile "$LINENO"; then :
   5816   xorg_cv_cc_flag_unused_command_line_argument=yes
   5817 else
   5818   xorg_cv_cc_flag_unused_command_line_argument=no
   5819 fi
   5820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5821 fi
   5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5823 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5825 	CFLAGS="$xorg_testset_save_CFLAGS"
   5826 fi
   5827 
   5828 found="no"
   5829 
   5830 	if test $found = "no" ; then
   5831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5833 		fi
   5834 
   5835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5837 		fi
   5838 
   5839 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5840 
   5841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5842 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5843 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5844 		if eval \${$cacheid+:} false; then :
   5845   $as_echo_n "(cached) " >&6
   5846 else
   5847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5848 /* end confdefs.h.  */
   5849 int i;
   5850 int
   5851 main ()
   5852 {
   5853 
   5854   ;
   5855   return 0;
   5856 }
   5857 _ACEOF
   5858 if ac_fn_c_try_link "$LINENO"; then :
   5859   eval $cacheid=yes
   5860 else
   5861   eval $cacheid=no
   5862 fi
   5863 rm -f core conftest.err conftest.$ac_objext \
   5864     conftest$ac_exeext conftest.$ac_ext
   5865 fi
   5866 
   5867 
   5868 		CFLAGS="$xorg_testset_save_CFLAGS"
   5869 
   5870 		eval supported=\$$cacheid
   5871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5872 $as_echo "$supported" >&6; }
   5873 		if test "$supported" = "yes" ; then
   5874 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5875 			found="yes"
   5876 		fi
   5877 	fi
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 xorg_testset_save_CFLAGS="$CFLAGS"
   5894 
   5895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5898 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5899 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5900   $as_echo_n "(cached) " >&6
   5901 else
   5902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5903 /* end confdefs.h.  */
   5904 int i;
   5905 _ACEOF
   5906 if ac_fn_c_try_compile "$LINENO"; then :
   5907   xorg_cv_cc_flag_unknown_warning_option=yes
   5908 else
   5909   xorg_cv_cc_flag_unknown_warning_option=no
   5910 fi
   5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5912 fi
   5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5914 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5916 	CFLAGS="$xorg_testset_save_CFLAGS"
   5917 fi
   5918 
   5919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5922 	fi
   5923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5925 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5926 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 _ACEOF
   5933 if ac_fn_c_try_compile "$LINENO"; then :
   5934   xorg_cv_cc_flag_unused_command_line_argument=yes
   5935 else
   5936   xorg_cv_cc_flag_unused_command_line_argument=no
   5937 fi
   5938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5939 fi
   5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5941 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5943 	CFLAGS="$xorg_testset_save_CFLAGS"
   5944 fi
   5945 
   5946 found="no"
   5947 
   5948 	if test $found = "no" ; then
   5949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5951 		fi
   5952 
   5953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5955 		fi
   5956 
   5957 		CFLAGS="$CFLAGS -Wnested-externs"
   5958 
   5959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5960 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5961 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5962 		if eval \${$cacheid+:} false; then :
   5963   $as_echo_n "(cached) " >&6
   5964 else
   5965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5966 /* end confdefs.h.  */
   5967 int i;
   5968 int
   5969 main ()
   5970 {
   5971 
   5972   ;
   5973   return 0;
   5974 }
   5975 _ACEOF
   5976 if ac_fn_c_try_link "$LINENO"; then :
   5977   eval $cacheid=yes
   5978 else
   5979   eval $cacheid=no
   5980 fi
   5981 rm -f core conftest.err conftest.$ac_objext \
   5982     conftest$ac_exeext conftest.$ac_ext
   5983 fi
   5984 
   5985 
   5986 		CFLAGS="$xorg_testset_save_CFLAGS"
   5987 
   5988 		eval supported=\$$cacheid
   5989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5990 $as_echo "$supported" >&6; }
   5991 		if test "$supported" = "yes" ; then
   5992 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5993 			found="yes"
   5994 		fi
   5995 	fi
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 xorg_testset_save_CFLAGS="$CFLAGS"
   6012 
   6013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6018   $as_echo_n "(cached) " >&6
   6019 else
   6020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 int i;
   6023 _ACEOF
   6024 if ac_fn_c_try_compile "$LINENO"; then :
   6025   xorg_cv_cc_flag_unknown_warning_option=yes
   6026 else
   6027   xorg_cv_cc_flag_unknown_warning_option=no
   6028 fi
   6029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6030 fi
   6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6034 	CFLAGS="$xorg_testset_save_CFLAGS"
   6035 fi
   6036 
   6037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6040 	fi
   6041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6045   $as_echo_n "(cached) " >&6
   6046 else
   6047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6048 /* end confdefs.h.  */
   6049 int i;
   6050 _ACEOF
   6051 if ac_fn_c_try_compile "$LINENO"; then :
   6052   xorg_cv_cc_flag_unused_command_line_argument=yes
   6053 else
   6054   xorg_cv_cc_flag_unused_command_line_argument=no
   6055 fi
   6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6057 fi
   6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6061 	CFLAGS="$xorg_testset_save_CFLAGS"
   6062 fi
   6063 
   6064 found="no"
   6065 
   6066 	if test $found = "no" ; then
   6067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6069 		fi
   6070 
   6071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6073 		fi
   6074 
   6075 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6076 
   6077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6078 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   6079 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6080 		if eval \${$cacheid+:} false; then :
   6081   $as_echo_n "(cached) " >&6
   6082 else
   6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 int
   6087 main ()
   6088 {
   6089 
   6090   ;
   6091   return 0;
   6092 }
   6093 _ACEOF
   6094 if ac_fn_c_try_link "$LINENO"; then :
   6095   eval $cacheid=yes
   6096 else
   6097   eval $cacheid=no
   6098 fi
   6099 rm -f core conftest.err conftest.$ac_objext \
   6100     conftest$ac_exeext conftest.$ac_ext
   6101 fi
   6102 
   6103 
   6104 		CFLAGS="$xorg_testset_save_CFLAGS"
   6105 
   6106 		eval supported=\$$cacheid
   6107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6108 $as_echo "$supported" >&6; }
   6109 		if test "$supported" = "yes" ; then
   6110 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6111 			found="yes"
   6112 		fi
   6113 	fi
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 xorg_testset_save_CFLAGS="$CFLAGS"
   6130 
   6131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6136   $as_echo_n "(cached) " >&6
   6137 else
   6138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 _ACEOF
   6142 if ac_fn_c_try_compile "$LINENO"; then :
   6143   xorg_cv_cc_flag_unknown_warning_option=yes
   6144 else
   6145   xorg_cv_cc_flag_unknown_warning_option=no
   6146 fi
   6147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6148 fi
   6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6152 	CFLAGS="$xorg_testset_save_CFLAGS"
   6153 fi
   6154 
   6155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 	fi
   6159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 _ACEOF
   6169 if ac_fn_c_try_compile "$LINENO"; then :
   6170   xorg_cv_cc_flag_unused_command_line_argument=yes
   6171 else
   6172   xorg_cv_cc_flag_unused_command_line_argument=no
   6173 fi
   6174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6175 fi
   6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6179 	CFLAGS="$xorg_testset_save_CFLAGS"
   6180 fi
   6181 
   6182 found="no"
   6183 
   6184 	if test $found = "no" ; then
   6185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6187 		fi
   6188 
   6189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6191 		fi
   6192 
   6193 		CFLAGS="$CFLAGS -Wold-style-definition"
   6194 
   6195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6196 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6197 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6198 		if eval \${$cacheid+:} false; then :
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 int i;
   6204 int
   6205 main ()
   6206 {
   6207 
   6208   ;
   6209   return 0;
   6210 }
   6211 _ACEOF
   6212 if ac_fn_c_try_link "$LINENO"; then :
   6213   eval $cacheid=yes
   6214 else
   6215   eval $cacheid=no
   6216 fi
   6217 rm -f core conftest.err conftest.$ac_objext \
   6218     conftest$ac_exeext conftest.$ac_ext
   6219 fi
   6220 
   6221 
   6222 		CFLAGS="$xorg_testset_save_CFLAGS"
   6223 
   6224 		eval supported=\$$cacheid
   6225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6226 $as_echo "$supported" >&6; }
   6227 		if test "$supported" = "yes" ; then
   6228 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6229 			found="yes"
   6230 		fi
   6231 	fi
   6232 
   6233 	if test $found = "no" ; then
   6234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6236 		fi
   6237 
   6238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6240 		fi
   6241 
   6242 		CFLAGS="$CFLAGS -fd"
   6243 
   6244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6245 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6246 		cacheid=xorg_cv_cc_flag__fd
   6247 		if eval \${$cacheid+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 int i;
   6253 int
   6254 main ()
   6255 {
   6256 
   6257   ;
   6258   return 0;
   6259 }
   6260 _ACEOF
   6261 if ac_fn_c_try_link "$LINENO"; then :
   6262   eval $cacheid=yes
   6263 else
   6264   eval $cacheid=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext \
   6267     conftest$ac_exeext conftest.$ac_ext
   6268 fi
   6269 
   6270 
   6271 		CFLAGS="$xorg_testset_save_CFLAGS"
   6272 
   6273 		eval supported=\$$cacheid
   6274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6275 $as_echo "$supported" >&6; }
   6276 		if test "$supported" = "yes" ; then
   6277 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6278 			found="yes"
   6279 		fi
   6280 	fi
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 xorg_testset_save_CFLAGS="$CFLAGS"
   6297 
   6298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6303   $as_echo_n "(cached) " >&6
   6304 else
   6305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6306 /* end confdefs.h.  */
   6307 int i;
   6308 _ACEOF
   6309 if ac_fn_c_try_compile "$LINENO"; then :
   6310   xorg_cv_cc_flag_unknown_warning_option=yes
   6311 else
   6312   xorg_cv_cc_flag_unknown_warning_option=no
   6313 fi
   6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6315 fi
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6319 	CFLAGS="$xorg_testset_save_CFLAGS"
   6320 fi
   6321 
   6322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6325 	fi
   6326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6333 /* end confdefs.h.  */
   6334 int i;
   6335 _ACEOF
   6336 if ac_fn_c_try_compile "$LINENO"; then :
   6337   xorg_cv_cc_flag_unused_command_line_argument=yes
   6338 else
   6339   xorg_cv_cc_flag_unused_command_line_argument=no
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6342 fi
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6346 	CFLAGS="$xorg_testset_save_CFLAGS"
   6347 fi
   6348 
   6349 found="no"
   6350 
   6351 	if test $found = "no" ; then
   6352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6354 		fi
   6355 
   6356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6358 		fi
   6359 
   6360 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6361 
   6362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6363 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6364 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6365 		if eval \${$cacheid+:} false; then :
   6366   $as_echo_n "(cached) " >&6
   6367 else
   6368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6369 /* end confdefs.h.  */
   6370 int i;
   6371 int
   6372 main ()
   6373 {
   6374 
   6375   ;
   6376   return 0;
   6377 }
   6378 _ACEOF
   6379 if ac_fn_c_try_link "$LINENO"; then :
   6380   eval $cacheid=yes
   6381 else
   6382   eval $cacheid=no
   6383 fi
   6384 rm -f core conftest.err conftest.$ac_objext \
   6385     conftest$ac_exeext conftest.$ac_ext
   6386 fi
   6387 
   6388 
   6389 		CFLAGS="$xorg_testset_save_CFLAGS"
   6390 
   6391 		eval supported=\$$cacheid
   6392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6393 $as_echo "$supported" >&6; }
   6394 		if test "$supported" = "yes" ; then
   6395 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6396 			found="yes"
   6397 		fi
   6398 	fi
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 # This chunk adds additional warnings that could catch undesired effects.
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 xorg_testset_save_CFLAGS="$CFLAGS"
   6419 
   6420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6423 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6424 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6428 /* end confdefs.h.  */
   6429 int i;
   6430 _ACEOF
   6431 if ac_fn_c_try_compile "$LINENO"; then :
   6432   xorg_cv_cc_flag_unknown_warning_option=yes
   6433 else
   6434   xorg_cv_cc_flag_unknown_warning_option=no
   6435 fi
   6436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6437 fi
   6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6439 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6441 	CFLAGS="$xorg_testset_save_CFLAGS"
   6442 fi
   6443 
   6444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6447 	fi
   6448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6450 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6451 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 _ACEOF
   6458 if ac_fn_c_try_compile "$LINENO"; then :
   6459   xorg_cv_cc_flag_unused_command_line_argument=yes
   6460 else
   6461   xorg_cv_cc_flag_unused_command_line_argument=no
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6464 fi
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6466 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6468 	CFLAGS="$xorg_testset_save_CFLAGS"
   6469 fi
   6470 
   6471 found="no"
   6472 
   6473 	if test $found = "no" ; then
   6474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6476 		fi
   6477 
   6478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6480 		fi
   6481 
   6482 		CFLAGS="$CFLAGS -Wunused"
   6483 
   6484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6485 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6486 		cacheid=xorg_cv_cc_flag__Wunused
   6487 		if eval \${$cacheid+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6491 /* end confdefs.h.  */
   6492 int i;
   6493 int
   6494 main ()
   6495 {
   6496 
   6497   ;
   6498   return 0;
   6499 }
   6500 _ACEOF
   6501 if ac_fn_c_try_link "$LINENO"; then :
   6502   eval $cacheid=yes
   6503 else
   6504   eval $cacheid=no
   6505 fi
   6506 rm -f core conftest.err conftest.$ac_objext \
   6507     conftest$ac_exeext conftest.$ac_ext
   6508 fi
   6509 
   6510 
   6511 		CFLAGS="$xorg_testset_save_CFLAGS"
   6512 
   6513 		eval supported=\$$cacheid
   6514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6515 $as_echo "$supported" >&6; }
   6516 		if test "$supported" = "yes" ; then
   6517 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6518 			found="yes"
   6519 		fi
   6520 	fi
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 xorg_testset_save_CFLAGS="$CFLAGS"
   6537 
   6538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6541 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6542 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 _ACEOF
   6549 if ac_fn_c_try_compile "$LINENO"; then :
   6550   xorg_cv_cc_flag_unknown_warning_option=yes
   6551 else
   6552   xorg_cv_cc_flag_unknown_warning_option=no
   6553 fi
   6554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6555 fi
   6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6557 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6558 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6559 	CFLAGS="$xorg_testset_save_CFLAGS"
   6560 fi
   6561 
   6562 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6563 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6564 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6565 	fi
   6566 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6568 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6569 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6570   $as_echo_n "(cached) " >&6
   6571 else
   6572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6573 /* end confdefs.h.  */
   6574 int i;
   6575 _ACEOF
   6576 if ac_fn_c_try_compile "$LINENO"; then :
   6577   xorg_cv_cc_flag_unused_command_line_argument=yes
   6578 else
   6579   xorg_cv_cc_flag_unused_command_line_argument=no
   6580 fi
   6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6582 fi
   6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6584 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6585 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6586 	CFLAGS="$xorg_testset_save_CFLAGS"
   6587 fi
   6588 
   6589 found="no"
   6590 
   6591 	if test $found = "no" ; then
   6592 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6593 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6594 		fi
   6595 
   6596 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6597 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6598 		fi
   6599 
   6600 		CFLAGS="$CFLAGS -Wuninitialized"
   6601 
   6602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6603 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6604 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6605 		if eval \${$cacheid+:} false; then :
   6606   $as_echo_n "(cached) " >&6
   6607 else
   6608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 int i;
   6611 int
   6612 main ()
   6613 {
   6614 
   6615   ;
   6616   return 0;
   6617 }
   6618 _ACEOF
   6619 if ac_fn_c_try_link "$LINENO"; then :
   6620   eval $cacheid=yes
   6621 else
   6622   eval $cacheid=no
   6623 fi
   6624 rm -f core conftest.err conftest.$ac_objext \
   6625     conftest$ac_exeext conftest.$ac_ext
   6626 fi
   6627 
   6628 
   6629 		CFLAGS="$xorg_testset_save_CFLAGS"
   6630 
   6631 		eval supported=\$$cacheid
   6632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6633 $as_echo "$supported" >&6; }
   6634 		if test "$supported" = "yes" ; then
   6635 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6636 			found="yes"
   6637 		fi
   6638 	fi
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 xorg_testset_save_CFLAGS="$CFLAGS"
   6655 
   6656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6659 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6660 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6661   $as_echo_n "(cached) " >&6
   6662 else
   6663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6664 /* end confdefs.h.  */
   6665 int i;
   6666 _ACEOF
   6667 if ac_fn_c_try_compile "$LINENO"; then :
   6668   xorg_cv_cc_flag_unknown_warning_option=yes
   6669 else
   6670   xorg_cv_cc_flag_unknown_warning_option=no
   6671 fi
   6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6673 fi
   6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6675 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6677 	CFLAGS="$xorg_testset_save_CFLAGS"
   6678 fi
   6679 
   6680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6683 	fi
   6684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6686 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6687 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6691 /* end confdefs.h.  */
   6692 int i;
   6693 _ACEOF
   6694 if ac_fn_c_try_compile "$LINENO"; then :
   6695   xorg_cv_cc_flag_unused_command_line_argument=yes
   6696 else
   6697   xorg_cv_cc_flag_unused_command_line_argument=no
   6698 fi
   6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6700 fi
   6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6702 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6703 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6704 	CFLAGS="$xorg_testset_save_CFLAGS"
   6705 fi
   6706 
   6707 found="no"
   6708 
   6709 	if test $found = "no" ; then
   6710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6712 		fi
   6713 
   6714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6716 		fi
   6717 
   6718 		CFLAGS="$CFLAGS -Wshadow"
   6719 
   6720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6721 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6722 		cacheid=xorg_cv_cc_flag__Wshadow
   6723 		if eval \${$cacheid+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 int
   6730 main ()
   6731 {
   6732 
   6733   ;
   6734   return 0;
   6735 }
   6736 _ACEOF
   6737 if ac_fn_c_try_link "$LINENO"; then :
   6738   eval $cacheid=yes
   6739 else
   6740   eval $cacheid=no
   6741 fi
   6742 rm -f core conftest.err conftest.$ac_objext \
   6743     conftest$ac_exeext conftest.$ac_ext
   6744 fi
   6745 
   6746 
   6747 		CFLAGS="$xorg_testset_save_CFLAGS"
   6748 
   6749 		eval supported=\$$cacheid
   6750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6751 $as_echo "$supported" >&6; }
   6752 		if test "$supported" = "yes" ; then
   6753 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6754 			found="yes"
   6755 		fi
   6756 	fi
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 xorg_testset_save_CFLAGS="$CFLAGS"
   6773 
   6774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6782 /* end confdefs.h.  */
   6783 int i;
   6784 _ACEOF
   6785 if ac_fn_c_try_compile "$LINENO"; then :
   6786   xorg_cv_cc_flag_unknown_warning_option=yes
   6787 else
   6788   xorg_cv_cc_flag_unknown_warning_option=no
   6789 fi
   6790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6791 fi
   6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6795 	CFLAGS="$xorg_testset_save_CFLAGS"
   6796 fi
   6797 
   6798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6801 	fi
   6802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6806   $as_echo_n "(cached) " >&6
   6807 else
   6808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6809 /* end confdefs.h.  */
   6810 int i;
   6811 _ACEOF
   6812 if ac_fn_c_try_compile "$LINENO"; then :
   6813   xorg_cv_cc_flag_unused_command_line_argument=yes
   6814 else
   6815   xorg_cv_cc_flag_unused_command_line_argument=no
   6816 fi
   6817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6818 fi
   6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6822 	CFLAGS="$xorg_testset_save_CFLAGS"
   6823 fi
   6824 
   6825 found="no"
   6826 
   6827 	if test $found = "no" ; then
   6828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6830 		fi
   6831 
   6832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6834 		fi
   6835 
   6836 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6837 
   6838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6839 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6840 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6841 		if eval \${$cacheid+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6845 /* end confdefs.h.  */
   6846 int i;
   6847 int
   6848 main ()
   6849 {
   6850 
   6851   ;
   6852   return 0;
   6853 }
   6854 _ACEOF
   6855 if ac_fn_c_try_link "$LINENO"; then :
   6856   eval $cacheid=yes
   6857 else
   6858   eval $cacheid=no
   6859 fi
   6860 rm -f core conftest.err conftest.$ac_objext \
   6861     conftest$ac_exeext conftest.$ac_ext
   6862 fi
   6863 
   6864 
   6865 		CFLAGS="$xorg_testset_save_CFLAGS"
   6866 
   6867 		eval supported=\$$cacheid
   6868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6869 $as_echo "$supported" >&6; }
   6870 		if test "$supported" = "yes" ; then
   6871 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6872 			found="yes"
   6873 		fi
   6874 	fi
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 xorg_testset_save_CFLAGS="$CFLAGS"
   6891 
   6892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6897   $as_echo_n "(cached) " >&6
   6898 else
   6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6900 /* end confdefs.h.  */
   6901 int i;
   6902 _ACEOF
   6903 if ac_fn_c_try_compile "$LINENO"; then :
   6904   xorg_cv_cc_flag_unknown_warning_option=yes
   6905 else
   6906   xorg_cv_cc_flag_unknown_warning_option=no
   6907 fi
   6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6909 fi
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6913 	CFLAGS="$xorg_testset_save_CFLAGS"
   6914 fi
   6915 
   6916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6919 	fi
   6920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6924   $as_echo_n "(cached) " >&6
   6925 else
   6926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6927 /* end confdefs.h.  */
   6928 int i;
   6929 _ACEOF
   6930 if ac_fn_c_try_compile "$LINENO"; then :
   6931   xorg_cv_cc_flag_unused_command_line_argument=yes
   6932 else
   6933   xorg_cv_cc_flag_unused_command_line_argument=no
   6934 fi
   6935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6936 fi
   6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6940 	CFLAGS="$xorg_testset_save_CFLAGS"
   6941 fi
   6942 
   6943 found="no"
   6944 
   6945 	if test $found = "no" ; then
   6946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6948 		fi
   6949 
   6950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6952 		fi
   6953 
   6954 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6955 
   6956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6957 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6958 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6959 		if eval \${$cacheid+:} false; then :
   6960   $as_echo_n "(cached) " >&6
   6961 else
   6962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6963 /* end confdefs.h.  */
   6964 int i;
   6965 int
   6966 main ()
   6967 {
   6968 
   6969   ;
   6970   return 0;
   6971 }
   6972 _ACEOF
   6973 if ac_fn_c_try_link "$LINENO"; then :
   6974   eval $cacheid=yes
   6975 else
   6976   eval $cacheid=no
   6977 fi
   6978 rm -f core conftest.err conftest.$ac_objext \
   6979     conftest$ac_exeext conftest.$ac_ext
   6980 fi
   6981 
   6982 
   6983 		CFLAGS="$xorg_testset_save_CFLAGS"
   6984 
   6985 		eval supported=\$$cacheid
   6986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6987 $as_echo "$supported" >&6; }
   6988 		if test "$supported" = "yes" ; then
   6989 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6990 			found="yes"
   6991 		fi
   6992 	fi
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 xorg_testset_save_CFLAGS="$CFLAGS"
   7009 
   7010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7018 /* end confdefs.h.  */
   7019 int i;
   7020 _ACEOF
   7021 if ac_fn_c_try_compile "$LINENO"; then :
   7022   xorg_cv_cc_flag_unknown_warning_option=yes
   7023 else
   7024   xorg_cv_cc_flag_unknown_warning_option=no
   7025 fi
   7026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7027 fi
   7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7031 	CFLAGS="$xorg_testset_save_CFLAGS"
   7032 fi
   7033 
   7034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7037 	fi
   7038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7042   $as_echo_n "(cached) " >&6
   7043 else
   7044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7045 /* end confdefs.h.  */
   7046 int i;
   7047 _ACEOF
   7048 if ac_fn_c_try_compile "$LINENO"; then :
   7049   xorg_cv_cc_flag_unused_command_line_argument=yes
   7050 else
   7051   xorg_cv_cc_flag_unused_command_line_argument=no
   7052 fi
   7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7054 fi
   7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7058 	CFLAGS="$xorg_testset_save_CFLAGS"
   7059 fi
   7060 
   7061 found="no"
   7062 
   7063 	if test $found = "no" ; then
   7064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7066 		fi
   7067 
   7068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7070 		fi
   7071 
   7072 		CFLAGS="$CFLAGS -Wredundant-decls"
   7073 
   7074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7075 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7076 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7077 		if eval \${$cacheid+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7081 /* end confdefs.h.  */
   7082 int i;
   7083 int
   7084 main ()
   7085 {
   7086 
   7087   ;
   7088   return 0;
   7089 }
   7090 _ACEOF
   7091 if ac_fn_c_try_link "$LINENO"; then :
   7092   eval $cacheid=yes
   7093 else
   7094   eval $cacheid=no
   7095 fi
   7096 rm -f core conftest.err conftest.$ac_objext \
   7097     conftest$ac_exeext conftest.$ac_ext
   7098 fi
   7099 
   7100 
   7101 		CFLAGS="$xorg_testset_save_CFLAGS"
   7102 
   7103 		eval supported=\$$cacheid
   7104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7105 $as_echo "$supported" >&6; }
   7106 		if test "$supported" = "yes" ; then
   7107 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7108 			found="yes"
   7109 		fi
   7110 	fi
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 xorg_testset_save_CFLAGS="$CFLAGS"
   7127 
   7128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7133   $as_echo_n "(cached) " >&6
   7134 else
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 _ACEOF
   7139 if ac_fn_c_try_compile "$LINENO"; then :
   7140   xorg_cv_cc_flag_unknown_warning_option=yes
   7141 else
   7142   xorg_cv_cc_flag_unknown_warning_option=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7145 fi
   7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7149 	CFLAGS="$xorg_testset_save_CFLAGS"
   7150 fi
   7151 
   7152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 	fi
   7156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7160   $as_echo_n "(cached) " >&6
   7161 else
   7162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 int i;
   7165 _ACEOF
   7166 if ac_fn_c_try_compile "$LINENO"; then :
   7167   xorg_cv_cc_flag_unused_command_line_argument=yes
   7168 else
   7169   xorg_cv_cc_flag_unused_command_line_argument=no
   7170 fi
   7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7172 fi
   7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7176 	CFLAGS="$xorg_testset_save_CFLAGS"
   7177 fi
   7178 
   7179 found="no"
   7180 
   7181 	if test $found = "no" ; then
   7182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7184 		fi
   7185 
   7186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7188 		fi
   7189 
   7190 		CFLAGS="$CFLAGS -Wlogical-op"
   7191 
   7192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7193 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7194 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7195 		if eval \${$cacheid+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 int
   7202 main ()
   7203 {
   7204 
   7205   ;
   7206   return 0;
   7207 }
   7208 _ACEOF
   7209 if ac_fn_c_try_link "$LINENO"; then :
   7210   eval $cacheid=yes
   7211 else
   7212   eval $cacheid=no
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext \
   7215     conftest$ac_exeext conftest.$ac_ext
   7216 fi
   7217 
   7218 
   7219 		CFLAGS="$xorg_testset_save_CFLAGS"
   7220 
   7221 		eval supported=\$$cacheid
   7222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7223 $as_echo "$supported" >&6; }
   7224 		if test "$supported" = "yes" ; then
   7225 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7226 			found="yes"
   7227 		fi
   7228 	fi
   7229 
   7230 
   7231 
   7232 # These are currently disabled because they are noisy.  They will be enabled
   7233 # in the future once the codebase is sufficiently modernized to silence
   7234 # them.  For now, I don't want them to drown out the other warnings.
   7235 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7236 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7237 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7238 
   7239 # Turn some warnings into errors, so we don't accidently get successful builds
   7240 # when there are problems that should be fixed.
   7241 
   7242 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 xorg_testset_save_CFLAGS="$CFLAGS"
   7257 
   7258 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7259 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7261 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7262 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7263   $as_echo_n "(cached) " >&6
   7264 else
   7265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7266 /* end confdefs.h.  */
   7267 int i;
   7268 _ACEOF
   7269 if ac_fn_c_try_compile "$LINENO"; then :
   7270   xorg_cv_cc_flag_unknown_warning_option=yes
   7271 else
   7272   xorg_cv_cc_flag_unknown_warning_option=no
   7273 fi
   7274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7275 fi
   7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7277 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7279 	CFLAGS="$xorg_testset_save_CFLAGS"
   7280 fi
   7281 
   7282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7285 	fi
   7286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7288 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7289 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7290   $as_echo_n "(cached) " >&6
   7291 else
   7292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 int i;
   7295 _ACEOF
   7296 if ac_fn_c_try_compile "$LINENO"; then :
   7297   xorg_cv_cc_flag_unused_command_line_argument=yes
   7298 else
   7299   xorg_cv_cc_flag_unused_command_line_argument=no
   7300 fi
   7301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7302 fi
   7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7304 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7305 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7306 	CFLAGS="$xorg_testset_save_CFLAGS"
   7307 fi
   7308 
   7309 found="no"
   7310 
   7311 	if test $found = "no" ; then
   7312 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7314 		fi
   7315 
   7316 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7318 		fi
   7319 
   7320 		CFLAGS="$CFLAGS -Werror=implicit"
   7321 
   7322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7323 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7324 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7325 		if eval \${$cacheid+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7329 /* end confdefs.h.  */
   7330 int i;
   7331 int
   7332 main ()
   7333 {
   7334 
   7335   ;
   7336   return 0;
   7337 }
   7338 _ACEOF
   7339 if ac_fn_c_try_link "$LINENO"; then :
   7340   eval $cacheid=yes
   7341 else
   7342   eval $cacheid=no
   7343 fi
   7344 rm -f core conftest.err conftest.$ac_objext \
   7345     conftest$ac_exeext conftest.$ac_ext
   7346 fi
   7347 
   7348 
   7349 		CFLAGS="$xorg_testset_save_CFLAGS"
   7350 
   7351 		eval supported=\$$cacheid
   7352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7353 $as_echo "$supported" >&6; }
   7354 		if test "$supported" = "yes" ; then
   7355 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7356 			found="yes"
   7357 		fi
   7358 	fi
   7359 
   7360 	if test $found = "no" ; then
   7361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7363 		fi
   7364 
   7365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7367 		fi
   7368 
   7369 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7370 
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7372 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7373 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7374 		if eval \${$cacheid+:} false; then :
   7375   $as_echo_n "(cached) " >&6
   7376 else
   7377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7378 /* end confdefs.h.  */
   7379 int i;
   7380 int
   7381 main ()
   7382 {
   7383 
   7384   ;
   7385   return 0;
   7386 }
   7387 _ACEOF
   7388 if ac_fn_c_try_link "$LINENO"; then :
   7389   eval $cacheid=yes
   7390 else
   7391   eval $cacheid=no
   7392 fi
   7393 rm -f core conftest.err conftest.$ac_objext \
   7394     conftest$ac_exeext conftest.$ac_ext
   7395 fi
   7396 
   7397 
   7398 		CFLAGS="$xorg_testset_save_CFLAGS"
   7399 
   7400 		eval supported=\$$cacheid
   7401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7402 $as_echo "$supported" >&6; }
   7403 		if test "$supported" = "yes" ; then
   7404 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7405 			found="yes"
   7406 		fi
   7407 	fi
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 xorg_testset_save_CFLAGS="$CFLAGS"
   7424 
   7425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7430   $as_echo_n "(cached) " >&6
   7431 else
   7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 _ACEOF
   7436 if ac_fn_c_try_compile "$LINENO"; then :
   7437   xorg_cv_cc_flag_unknown_warning_option=yes
   7438 else
   7439   xorg_cv_cc_flag_unknown_warning_option=no
   7440 fi
   7441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7442 fi
   7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7446 	CFLAGS="$xorg_testset_save_CFLAGS"
   7447 fi
   7448 
   7449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7452 	fi
   7453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7457   $as_echo_n "(cached) " >&6
   7458 else
   7459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7460 /* end confdefs.h.  */
   7461 int i;
   7462 _ACEOF
   7463 if ac_fn_c_try_compile "$LINENO"; then :
   7464   xorg_cv_cc_flag_unused_command_line_argument=yes
   7465 else
   7466   xorg_cv_cc_flag_unused_command_line_argument=no
   7467 fi
   7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7469 fi
   7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7473 	CFLAGS="$xorg_testset_save_CFLAGS"
   7474 fi
   7475 
   7476 found="no"
   7477 
   7478 	if test $found = "no" ; then
   7479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7481 		fi
   7482 
   7483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7485 		fi
   7486 
   7487 		CFLAGS="$CFLAGS -Werror=nonnull"
   7488 
   7489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7490 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7491 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7492 		if eval \${$cacheid+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7496 /* end confdefs.h.  */
   7497 int i;
   7498 int
   7499 main ()
   7500 {
   7501 
   7502   ;
   7503   return 0;
   7504 }
   7505 _ACEOF
   7506 if ac_fn_c_try_link "$LINENO"; then :
   7507   eval $cacheid=yes
   7508 else
   7509   eval $cacheid=no
   7510 fi
   7511 rm -f core conftest.err conftest.$ac_objext \
   7512     conftest$ac_exeext conftest.$ac_ext
   7513 fi
   7514 
   7515 
   7516 		CFLAGS="$xorg_testset_save_CFLAGS"
   7517 
   7518 		eval supported=\$$cacheid
   7519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7520 $as_echo "$supported" >&6; }
   7521 		if test "$supported" = "yes" ; then
   7522 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7523 			found="yes"
   7524 		fi
   7525 	fi
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 xorg_testset_save_CFLAGS="$CFLAGS"
   7542 
   7543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7548   $as_echo_n "(cached) " >&6
   7549 else
   7550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7551 /* end confdefs.h.  */
   7552 int i;
   7553 _ACEOF
   7554 if ac_fn_c_try_compile "$LINENO"; then :
   7555   xorg_cv_cc_flag_unknown_warning_option=yes
   7556 else
   7557   xorg_cv_cc_flag_unknown_warning_option=no
   7558 fi
   7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7560 fi
   7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7564 	CFLAGS="$xorg_testset_save_CFLAGS"
   7565 fi
   7566 
   7567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7570 	fi
   7571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7575   $as_echo_n "(cached) " >&6
   7576 else
   7577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7578 /* end confdefs.h.  */
   7579 int i;
   7580 _ACEOF
   7581 if ac_fn_c_try_compile "$LINENO"; then :
   7582   xorg_cv_cc_flag_unused_command_line_argument=yes
   7583 else
   7584   xorg_cv_cc_flag_unused_command_line_argument=no
   7585 fi
   7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7587 fi
   7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7591 	CFLAGS="$xorg_testset_save_CFLAGS"
   7592 fi
   7593 
   7594 found="no"
   7595 
   7596 	if test $found = "no" ; then
   7597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7599 		fi
   7600 
   7601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7603 		fi
   7604 
   7605 		CFLAGS="$CFLAGS -Werror=init-self"
   7606 
   7607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7608 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7609 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7610 		if eval \${$cacheid+:} false; then :
   7611   $as_echo_n "(cached) " >&6
   7612 else
   7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7614 /* end confdefs.h.  */
   7615 int i;
   7616 int
   7617 main ()
   7618 {
   7619 
   7620   ;
   7621   return 0;
   7622 }
   7623 _ACEOF
   7624 if ac_fn_c_try_link "$LINENO"; then :
   7625   eval $cacheid=yes
   7626 else
   7627   eval $cacheid=no
   7628 fi
   7629 rm -f core conftest.err conftest.$ac_objext \
   7630     conftest$ac_exeext conftest.$ac_ext
   7631 fi
   7632 
   7633 
   7634 		CFLAGS="$xorg_testset_save_CFLAGS"
   7635 
   7636 		eval supported=\$$cacheid
   7637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7638 $as_echo "$supported" >&6; }
   7639 		if test "$supported" = "yes" ; then
   7640 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7641 			found="yes"
   7642 		fi
   7643 	fi
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 xorg_testset_save_CFLAGS="$CFLAGS"
   7660 
   7661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7666   $as_echo_n "(cached) " >&6
   7667 else
   7668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 int i;
   7671 _ACEOF
   7672 if ac_fn_c_try_compile "$LINENO"; then :
   7673   xorg_cv_cc_flag_unknown_warning_option=yes
   7674 else
   7675   xorg_cv_cc_flag_unknown_warning_option=no
   7676 fi
   7677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7678 fi
   7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7682 	CFLAGS="$xorg_testset_save_CFLAGS"
   7683 fi
   7684 
   7685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7688 	fi
   7689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7693   $as_echo_n "(cached) " >&6
   7694 else
   7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7696 /* end confdefs.h.  */
   7697 int i;
   7698 _ACEOF
   7699 if ac_fn_c_try_compile "$LINENO"; then :
   7700   xorg_cv_cc_flag_unused_command_line_argument=yes
   7701 else
   7702   xorg_cv_cc_flag_unused_command_line_argument=no
   7703 fi
   7704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7705 fi
   7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7709 	CFLAGS="$xorg_testset_save_CFLAGS"
   7710 fi
   7711 
   7712 found="no"
   7713 
   7714 	if test $found = "no" ; then
   7715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7717 		fi
   7718 
   7719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7721 		fi
   7722 
   7723 		CFLAGS="$CFLAGS -Werror=main"
   7724 
   7725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7726 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7727 		cacheid=xorg_cv_cc_flag__Werror_main
   7728 		if eval \${$cacheid+:} false; then :
   7729   $as_echo_n "(cached) " >&6
   7730 else
   7731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 int i;
   7734 int
   7735 main ()
   7736 {
   7737 
   7738   ;
   7739   return 0;
   7740 }
   7741 _ACEOF
   7742 if ac_fn_c_try_link "$LINENO"; then :
   7743   eval $cacheid=yes
   7744 else
   7745   eval $cacheid=no
   7746 fi
   7747 rm -f core conftest.err conftest.$ac_objext \
   7748     conftest$ac_exeext conftest.$ac_ext
   7749 fi
   7750 
   7751 
   7752 		CFLAGS="$xorg_testset_save_CFLAGS"
   7753 
   7754 		eval supported=\$$cacheid
   7755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7756 $as_echo "$supported" >&6; }
   7757 		if test "$supported" = "yes" ; then
   7758 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7759 			found="yes"
   7760 		fi
   7761 	fi
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 xorg_testset_save_CFLAGS="$CFLAGS"
   7778 
   7779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7782 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7783 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7784   $as_echo_n "(cached) " >&6
   7785 else
   7786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7787 /* end confdefs.h.  */
   7788 int i;
   7789 _ACEOF
   7790 if ac_fn_c_try_compile "$LINENO"; then :
   7791   xorg_cv_cc_flag_unknown_warning_option=yes
   7792 else
   7793   xorg_cv_cc_flag_unknown_warning_option=no
   7794 fi
   7795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7796 fi
   7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7798 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7800 	CFLAGS="$xorg_testset_save_CFLAGS"
   7801 fi
   7802 
   7803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7806 	fi
   7807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7809 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7810 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7814 /* end confdefs.h.  */
   7815 int i;
   7816 _ACEOF
   7817 if ac_fn_c_try_compile "$LINENO"; then :
   7818   xorg_cv_cc_flag_unused_command_line_argument=yes
   7819 else
   7820   xorg_cv_cc_flag_unused_command_line_argument=no
   7821 fi
   7822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7823 fi
   7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7825 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7826 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7827 	CFLAGS="$xorg_testset_save_CFLAGS"
   7828 fi
   7829 
   7830 found="no"
   7831 
   7832 	if test $found = "no" ; then
   7833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7835 		fi
   7836 
   7837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7839 		fi
   7840 
   7841 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7842 
   7843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7844 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7845 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7846 		if eval \${$cacheid+:} false; then :
   7847   $as_echo_n "(cached) " >&6
   7848 else
   7849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7850 /* end confdefs.h.  */
   7851 int i;
   7852 int
   7853 main ()
   7854 {
   7855 
   7856   ;
   7857   return 0;
   7858 }
   7859 _ACEOF
   7860 if ac_fn_c_try_link "$LINENO"; then :
   7861   eval $cacheid=yes
   7862 else
   7863   eval $cacheid=no
   7864 fi
   7865 rm -f core conftest.err conftest.$ac_objext \
   7866     conftest$ac_exeext conftest.$ac_ext
   7867 fi
   7868 
   7869 
   7870 		CFLAGS="$xorg_testset_save_CFLAGS"
   7871 
   7872 		eval supported=\$$cacheid
   7873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7874 $as_echo "$supported" >&6; }
   7875 		if test "$supported" = "yes" ; then
   7876 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7877 			found="yes"
   7878 		fi
   7879 	fi
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 xorg_testset_save_CFLAGS="$CFLAGS"
   7896 
   7897 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7900 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7901 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7902   $as_echo_n "(cached) " >&6
   7903 else
   7904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7905 /* end confdefs.h.  */
   7906 int i;
   7907 _ACEOF
   7908 if ac_fn_c_try_compile "$LINENO"; then :
   7909   xorg_cv_cc_flag_unknown_warning_option=yes
   7910 else
   7911   xorg_cv_cc_flag_unknown_warning_option=no
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7914 fi
   7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7916 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7918 	CFLAGS="$xorg_testset_save_CFLAGS"
   7919 fi
   7920 
   7921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7924 	fi
   7925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7927 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7928 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7929   $as_echo_n "(cached) " >&6
   7930 else
   7931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7932 /* end confdefs.h.  */
   7933 int i;
   7934 _ACEOF
   7935 if ac_fn_c_try_compile "$LINENO"; then :
   7936   xorg_cv_cc_flag_unused_command_line_argument=yes
   7937 else
   7938   xorg_cv_cc_flag_unused_command_line_argument=no
   7939 fi
   7940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7941 fi
   7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7943 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7945 	CFLAGS="$xorg_testset_save_CFLAGS"
   7946 fi
   7947 
   7948 found="no"
   7949 
   7950 	if test $found = "no" ; then
   7951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7953 		fi
   7954 
   7955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7957 		fi
   7958 
   7959 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7960 
   7961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7962 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7963 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7964 		if eval \${$cacheid+:} false; then :
   7965   $as_echo_n "(cached) " >&6
   7966 else
   7967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7968 /* end confdefs.h.  */
   7969 int i;
   7970 int
   7971 main ()
   7972 {
   7973 
   7974   ;
   7975   return 0;
   7976 }
   7977 _ACEOF
   7978 if ac_fn_c_try_link "$LINENO"; then :
   7979   eval $cacheid=yes
   7980 else
   7981   eval $cacheid=no
   7982 fi
   7983 rm -f core conftest.err conftest.$ac_objext \
   7984     conftest$ac_exeext conftest.$ac_ext
   7985 fi
   7986 
   7987 
   7988 		CFLAGS="$xorg_testset_save_CFLAGS"
   7989 
   7990 		eval supported=\$$cacheid
   7991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7992 $as_echo "$supported" >&6; }
   7993 		if test "$supported" = "yes" ; then
   7994 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7995 			found="yes"
   7996 		fi
   7997 	fi
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 xorg_testset_save_CFLAGS="$CFLAGS"
   8014 
   8015 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8016 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8018 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8019 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8020   $as_echo_n "(cached) " >&6
   8021 else
   8022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8023 /* end confdefs.h.  */
   8024 int i;
   8025 _ACEOF
   8026 if ac_fn_c_try_compile "$LINENO"; then :
   8027   xorg_cv_cc_flag_unknown_warning_option=yes
   8028 else
   8029   xorg_cv_cc_flag_unknown_warning_option=no
   8030 fi
   8031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8032 fi
   8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8034 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8036 	CFLAGS="$xorg_testset_save_CFLAGS"
   8037 fi
   8038 
   8039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8042 	fi
   8043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8046 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8047   $as_echo_n "(cached) " >&6
   8048 else
   8049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8050 /* end confdefs.h.  */
   8051 int i;
   8052 _ACEOF
   8053 if ac_fn_c_try_compile "$LINENO"; then :
   8054   xorg_cv_cc_flag_unused_command_line_argument=yes
   8055 else
   8056   xorg_cv_cc_flag_unused_command_line_argument=no
   8057 fi
   8058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8059 fi
   8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8061 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8063 	CFLAGS="$xorg_testset_save_CFLAGS"
   8064 fi
   8065 
   8066 found="no"
   8067 
   8068 	if test $found = "no" ; then
   8069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8071 		fi
   8072 
   8073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8075 		fi
   8076 
   8077 		CFLAGS="$CFLAGS -Werror=return-type"
   8078 
   8079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8080 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   8081 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8082 		if eval \${$cacheid+:} false; then :
   8083   $as_echo_n "(cached) " >&6
   8084 else
   8085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8086 /* end confdefs.h.  */
   8087 int i;
   8088 int
   8089 main ()
   8090 {
   8091 
   8092   ;
   8093   return 0;
   8094 }
   8095 _ACEOF
   8096 if ac_fn_c_try_link "$LINENO"; then :
   8097   eval $cacheid=yes
   8098 else
   8099   eval $cacheid=no
   8100 fi
   8101 rm -f core conftest.err conftest.$ac_objext \
   8102     conftest$ac_exeext conftest.$ac_ext
   8103 fi
   8104 
   8105 
   8106 		CFLAGS="$xorg_testset_save_CFLAGS"
   8107 
   8108 		eval supported=\$$cacheid
   8109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8110 $as_echo "$supported" >&6; }
   8111 		if test "$supported" = "yes" ; then
   8112 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8113 			found="yes"
   8114 		fi
   8115 	fi
   8116 
   8117 	if test $found = "no" ; then
   8118 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8119 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8120 		fi
   8121 
   8122 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8123 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8124 		fi
   8125 
   8126 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8127 
   8128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8129 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8130 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8131 		if eval \${$cacheid+:} false; then :
   8132   $as_echo_n "(cached) " >&6
   8133 else
   8134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8135 /* end confdefs.h.  */
   8136 int i;
   8137 int
   8138 main ()
   8139 {
   8140 
   8141   ;
   8142   return 0;
   8143 }
   8144 _ACEOF
   8145 if ac_fn_c_try_link "$LINENO"; then :
   8146   eval $cacheid=yes
   8147 else
   8148   eval $cacheid=no
   8149 fi
   8150 rm -f core conftest.err conftest.$ac_objext \
   8151     conftest$ac_exeext conftest.$ac_ext
   8152 fi
   8153 
   8154 
   8155 		CFLAGS="$xorg_testset_save_CFLAGS"
   8156 
   8157 		eval supported=\$$cacheid
   8158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8159 $as_echo "$supported" >&6; }
   8160 		if test "$supported" = "yes" ; then
   8161 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8162 			found="yes"
   8163 		fi
   8164 	fi
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 xorg_testset_save_CFLAGS="$CFLAGS"
   8181 
   8182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8185 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8186 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8190 /* end confdefs.h.  */
   8191 int i;
   8192 _ACEOF
   8193 if ac_fn_c_try_compile "$LINENO"; then :
   8194   xorg_cv_cc_flag_unknown_warning_option=yes
   8195 else
   8196   xorg_cv_cc_flag_unknown_warning_option=no
   8197 fi
   8198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8199 fi
   8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8201 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8203 	CFLAGS="$xorg_testset_save_CFLAGS"
   8204 fi
   8205 
   8206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8209 	fi
   8210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8212 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8213 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8214   $as_echo_n "(cached) " >&6
   8215 else
   8216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8217 /* end confdefs.h.  */
   8218 int i;
   8219 _ACEOF
   8220 if ac_fn_c_try_compile "$LINENO"; then :
   8221   xorg_cv_cc_flag_unused_command_line_argument=yes
   8222 else
   8223   xorg_cv_cc_flag_unused_command_line_argument=no
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8226 fi
   8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8228 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8230 	CFLAGS="$xorg_testset_save_CFLAGS"
   8231 fi
   8232 
   8233 found="no"
   8234 
   8235 	if test $found = "no" ; then
   8236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8238 		fi
   8239 
   8240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8242 		fi
   8243 
   8244 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8245 
   8246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8247 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8248 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8249 		if eval \${$cacheid+:} false; then :
   8250   $as_echo_n "(cached) " >&6
   8251 else
   8252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8253 /* end confdefs.h.  */
   8254 int i;
   8255 int
   8256 main ()
   8257 {
   8258 
   8259   ;
   8260   return 0;
   8261 }
   8262 _ACEOF
   8263 if ac_fn_c_try_link "$LINENO"; then :
   8264   eval $cacheid=yes
   8265 else
   8266   eval $cacheid=no
   8267 fi
   8268 rm -f core conftest.err conftest.$ac_objext \
   8269     conftest$ac_exeext conftest.$ac_ext
   8270 fi
   8271 
   8272 
   8273 		CFLAGS="$xorg_testset_save_CFLAGS"
   8274 
   8275 		eval supported=\$$cacheid
   8276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8277 $as_echo "$supported" >&6; }
   8278 		if test "$supported" = "yes" ; then
   8279 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8280 			found="yes"
   8281 		fi
   8282 	fi
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 xorg_testset_save_CFLAGS="$CFLAGS"
   8299 
   8300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8303 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8304 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8305   $as_echo_n "(cached) " >&6
   8306 else
   8307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 _ACEOF
   8311 if ac_fn_c_try_compile "$LINENO"; then :
   8312   xorg_cv_cc_flag_unknown_warning_option=yes
   8313 else
   8314   xorg_cv_cc_flag_unknown_warning_option=no
   8315 fi
   8316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8317 fi
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8319 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8321 	CFLAGS="$xorg_testset_save_CFLAGS"
   8322 fi
   8323 
   8324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8327 	fi
   8328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8330 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8331 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8332   $as_echo_n "(cached) " >&6
   8333 else
   8334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8335 /* end confdefs.h.  */
   8336 int i;
   8337 _ACEOF
   8338 if ac_fn_c_try_compile "$LINENO"; then :
   8339   xorg_cv_cc_flag_unused_command_line_argument=yes
   8340 else
   8341   xorg_cv_cc_flag_unused_command_line_argument=no
   8342 fi
   8343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8344 fi
   8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8346 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8348 	CFLAGS="$xorg_testset_save_CFLAGS"
   8349 fi
   8350 
   8351 found="no"
   8352 
   8353 	if test $found = "no" ; then
   8354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8356 		fi
   8357 
   8358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8360 		fi
   8361 
   8362 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8363 
   8364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8365 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8366 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8367 		if eval \${$cacheid+:} false; then :
   8368   $as_echo_n "(cached) " >&6
   8369 else
   8370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8371 /* end confdefs.h.  */
   8372 int i;
   8373 int
   8374 main ()
   8375 {
   8376 
   8377   ;
   8378   return 0;
   8379 }
   8380 _ACEOF
   8381 if ac_fn_c_try_link "$LINENO"; then :
   8382   eval $cacheid=yes
   8383 else
   8384   eval $cacheid=no
   8385 fi
   8386 rm -f core conftest.err conftest.$ac_objext \
   8387     conftest$ac_exeext conftest.$ac_ext
   8388 fi
   8389 
   8390 
   8391 		CFLAGS="$xorg_testset_save_CFLAGS"
   8392 
   8393 		eval supported=\$$cacheid
   8394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8395 $as_echo "$supported" >&6; }
   8396 		if test "$supported" = "yes" ; then
   8397 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8398 			found="yes"
   8399 		fi
   8400 	fi
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 xorg_testset_save_CFLAGS="$CFLAGS"
   8417 
   8418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8421 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8422 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8423   $as_echo_n "(cached) " >&6
   8424 else
   8425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8426 /* end confdefs.h.  */
   8427 int i;
   8428 _ACEOF
   8429 if ac_fn_c_try_compile "$LINENO"; then :
   8430   xorg_cv_cc_flag_unknown_warning_option=yes
   8431 else
   8432   xorg_cv_cc_flag_unknown_warning_option=no
   8433 fi
   8434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8435 fi
   8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8437 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8438 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8439 	CFLAGS="$xorg_testset_save_CFLAGS"
   8440 fi
   8441 
   8442 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8443 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8444 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8445 	fi
   8446 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8448 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8449 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8450   $as_echo_n "(cached) " >&6
   8451 else
   8452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8453 /* end confdefs.h.  */
   8454 int i;
   8455 _ACEOF
   8456 if ac_fn_c_try_compile "$LINENO"; then :
   8457   xorg_cv_cc_flag_unused_command_line_argument=yes
   8458 else
   8459   xorg_cv_cc_flag_unused_command_line_argument=no
   8460 fi
   8461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8462 fi
   8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8464 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8466 	CFLAGS="$xorg_testset_save_CFLAGS"
   8467 fi
   8468 
   8469 found="no"
   8470 
   8471 	if test $found = "no" ; then
   8472 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8474 		fi
   8475 
   8476 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8478 		fi
   8479 
   8480 		CFLAGS="$CFLAGS -Werror=write-strings"
   8481 
   8482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8483 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8484 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8485 		if eval \${$cacheid+:} false; then :
   8486   $as_echo_n "(cached) " >&6
   8487 else
   8488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8489 /* end confdefs.h.  */
   8490 int i;
   8491 int
   8492 main ()
   8493 {
   8494 
   8495   ;
   8496   return 0;
   8497 }
   8498 _ACEOF
   8499 if ac_fn_c_try_link "$LINENO"; then :
   8500   eval $cacheid=yes
   8501 else
   8502   eval $cacheid=no
   8503 fi
   8504 rm -f core conftest.err conftest.$ac_objext \
   8505     conftest$ac_exeext conftest.$ac_ext
   8506 fi
   8507 
   8508 
   8509 		CFLAGS="$xorg_testset_save_CFLAGS"
   8510 
   8511 		eval supported=\$$cacheid
   8512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8513 $as_echo "$supported" >&6; }
   8514 		if test "$supported" = "yes" ; then
   8515 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8516 			found="yes"
   8517 		fi
   8518 	fi
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 xorg_testset_save_CFLAGS="$CFLAGS"
   8535 
   8536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8541   $as_echo_n "(cached) " >&6
   8542 else
   8543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8544 /* end confdefs.h.  */
   8545 int i;
   8546 _ACEOF
   8547 if ac_fn_c_try_compile "$LINENO"; then :
   8548   xorg_cv_cc_flag_unknown_warning_option=yes
   8549 else
   8550   xorg_cv_cc_flag_unknown_warning_option=no
   8551 fi
   8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8553 fi
   8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8557 	CFLAGS="$xorg_testset_save_CFLAGS"
   8558 fi
   8559 
   8560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8563 	fi
   8564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8568   $as_echo_n "(cached) " >&6
   8569 else
   8570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8571 /* end confdefs.h.  */
   8572 int i;
   8573 _ACEOF
   8574 if ac_fn_c_try_compile "$LINENO"; then :
   8575   xorg_cv_cc_flag_unused_command_line_argument=yes
   8576 else
   8577   xorg_cv_cc_flag_unused_command_line_argument=no
   8578 fi
   8579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8580 fi
   8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8584 	CFLAGS="$xorg_testset_save_CFLAGS"
   8585 fi
   8586 
   8587 found="no"
   8588 
   8589 	if test $found = "no" ; then
   8590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8592 		fi
   8593 
   8594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8596 		fi
   8597 
   8598 		CFLAGS="$CFLAGS -Werror=address"
   8599 
   8600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8601 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8602 		cacheid=xorg_cv_cc_flag__Werror_address
   8603 		if eval \${$cacheid+:} false; then :
   8604   $as_echo_n "(cached) " >&6
   8605 else
   8606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 int
   8610 main ()
   8611 {
   8612 
   8613   ;
   8614   return 0;
   8615 }
   8616 _ACEOF
   8617 if ac_fn_c_try_link "$LINENO"; then :
   8618   eval $cacheid=yes
   8619 else
   8620   eval $cacheid=no
   8621 fi
   8622 rm -f core conftest.err conftest.$ac_objext \
   8623     conftest$ac_exeext conftest.$ac_ext
   8624 fi
   8625 
   8626 
   8627 		CFLAGS="$xorg_testset_save_CFLAGS"
   8628 
   8629 		eval supported=\$$cacheid
   8630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8631 $as_echo "$supported" >&6; }
   8632 		if test "$supported" = "yes" ; then
   8633 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8634 			found="yes"
   8635 		fi
   8636 	fi
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 xorg_testset_save_CFLAGS="$CFLAGS"
   8653 
   8654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8659   $as_echo_n "(cached) " >&6
   8660 else
   8661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8662 /* end confdefs.h.  */
   8663 int i;
   8664 _ACEOF
   8665 if ac_fn_c_try_compile "$LINENO"; then :
   8666   xorg_cv_cc_flag_unknown_warning_option=yes
   8667 else
   8668   xorg_cv_cc_flag_unknown_warning_option=no
   8669 fi
   8670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8671 fi
   8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8675 	CFLAGS="$xorg_testset_save_CFLAGS"
   8676 fi
   8677 
   8678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8681 	fi
   8682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8686   $as_echo_n "(cached) " >&6
   8687 else
   8688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 _ACEOF
   8692 if ac_fn_c_try_compile "$LINENO"; then :
   8693   xorg_cv_cc_flag_unused_command_line_argument=yes
   8694 else
   8695   xorg_cv_cc_flag_unused_command_line_argument=no
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8698 fi
   8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8702 	CFLAGS="$xorg_testset_save_CFLAGS"
   8703 fi
   8704 
   8705 found="no"
   8706 
   8707 	if test $found = "no" ; then
   8708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8710 		fi
   8711 
   8712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8714 		fi
   8715 
   8716 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8717 
   8718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8719 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8720 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8721 		if eval \${$cacheid+:} false; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8725 /* end confdefs.h.  */
   8726 int i;
   8727 int
   8728 main ()
   8729 {
   8730 
   8731   ;
   8732   return 0;
   8733 }
   8734 _ACEOF
   8735 if ac_fn_c_try_link "$LINENO"; then :
   8736   eval $cacheid=yes
   8737 else
   8738   eval $cacheid=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext \
   8741     conftest$ac_exeext conftest.$ac_ext
   8742 fi
   8743 
   8744 
   8745 		CFLAGS="$xorg_testset_save_CFLAGS"
   8746 
   8747 		eval supported=\$$cacheid
   8748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8749 $as_echo "$supported" >&6; }
   8750 		if test "$supported" = "yes" ; then
   8751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8752 			found="yes"
   8753 		fi
   8754 	fi
   8755 
   8756 	if test $found = "no" ; then
   8757 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 		fi
   8760 
   8761 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8763 		fi
   8764 
   8765 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8766 
   8767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8768 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8769 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8770 		if eval \${$cacheid+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8774 /* end confdefs.h.  */
   8775 int i;
   8776 int
   8777 main ()
   8778 {
   8779 
   8780   ;
   8781   return 0;
   8782 }
   8783 _ACEOF
   8784 if ac_fn_c_try_link "$LINENO"; then :
   8785   eval $cacheid=yes
   8786 else
   8787   eval $cacheid=no
   8788 fi
   8789 rm -f core conftest.err conftest.$ac_objext \
   8790     conftest$ac_exeext conftest.$ac_ext
   8791 fi
   8792 
   8793 
   8794 		CFLAGS="$xorg_testset_save_CFLAGS"
   8795 
   8796 		eval supported=\$$cacheid
   8797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8798 $as_echo "$supported" >&6; }
   8799 		if test "$supported" = "yes" ; then
   8800 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8801 			found="yes"
   8802 		fi
   8803 	fi
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 xorg_testset_save_CFLAGS="$CFLAGS"
   8820 
   8821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8824 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8825 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8826   $as_echo_n "(cached) " >&6
   8827 else
   8828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8829 /* end confdefs.h.  */
   8830 int i;
   8831 _ACEOF
   8832 if ac_fn_c_try_compile "$LINENO"; then :
   8833   xorg_cv_cc_flag_unknown_warning_option=yes
   8834 else
   8835   xorg_cv_cc_flag_unknown_warning_option=no
   8836 fi
   8837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8838 fi
   8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8840 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8842 	CFLAGS="$xorg_testset_save_CFLAGS"
   8843 fi
   8844 
   8845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8848 	fi
   8849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8851 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8852 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8853   $as_echo_n "(cached) " >&6
   8854 else
   8855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8856 /* end confdefs.h.  */
   8857 int i;
   8858 _ACEOF
   8859 if ac_fn_c_try_compile "$LINENO"; then :
   8860   xorg_cv_cc_flag_unused_command_line_argument=yes
   8861 else
   8862   xorg_cv_cc_flag_unused_command_line_argument=no
   8863 fi
   8864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8865 fi
   8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8867 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8868 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8869 	CFLAGS="$xorg_testset_save_CFLAGS"
   8870 fi
   8871 
   8872 found="no"
   8873 
   8874 	if test $found = "no" ; then
   8875 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8877 		fi
   8878 
   8879 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8881 		fi
   8882 
   8883 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8884 
   8885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8886 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8887 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8888 		if eval \${$cacheid+:} false; then :
   8889   $as_echo_n "(cached) " >&6
   8890 else
   8891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8892 /* end confdefs.h.  */
   8893 int i;
   8894 int
   8895 main ()
   8896 {
   8897 
   8898   ;
   8899   return 0;
   8900 }
   8901 _ACEOF
   8902 if ac_fn_c_try_link "$LINENO"; then :
   8903   eval $cacheid=yes
   8904 else
   8905   eval $cacheid=no
   8906 fi
   8907 rm -f core conftest.err conftest.$ac_objext \
   8908     conftest$ac_exeext conftest.$ac_ext
   8909 fi
   8910 
   8911 
   8912 		CFLAGS="$xorg_testset_save_CFLAGS"
   8913 
   8914 		eval supported=\$$cacheid
   8915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8916 $as_echo "$supported" >&6; }
   8917 		if test "$supported" = "yes" ; then
   8918 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8919 			found="yes"
   8920 		fi
   8921 	fi
   8922 
   8923  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8924 else
   8925 { $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
   8926 $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;}
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 xorg_testset_save_CFLAGS="$CFLAGS"
   8941 
   8942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8945 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8946 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8947   $as_echo_n "(cached) " >&6
   8948 else
   8949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8950 /* end confdefs.h.  */
   8951 int i;
   8952 _ACEOF
   8953 if ac_fn_c_try_compile "$LINENO"; then :
   8954   xorg_cv_cc_flag_unknown_warning_option=yes
   8955 else
   8956   xorg_cv_cc_flag_unknown_warning_option=no
   8957 fi
   8958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8959 fi
   8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8961 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8963 	CFLAGS="$xorg_testset_save_CFLAGS"
   8964 fi
   8965 
   8966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8969 	fi
   8970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8972 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8973 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8974   $as_echo_n "(cached) " >&6
   8975 else
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 _ACEOF
   8980 if ac_fn_c_try_compile "$LINENO"; then :
   8981   xorg_cv_cc_flag_unused_command_line_argument=yes
   8982 else
   8983   xorg_cv_cc_flag_unused_command_line_argument=no
   8984 fi
   8985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8986 fi
   8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8988 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8990 	CFLAGS="$xorg_testset_save_CFLAGS"
   8991 fi
   8992 
   8993 found="no"
   8994 
   8995 	if test $found = "no" ; then
   8996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8998 		fi
   8999 
   9000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9002 		fi
   9003 
   9004 		CFLAGS="$CFLAGS -Wimplicit"
   9005 
   9006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9007 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   9008 		cacheid=xorg_cv_cc_flag__Wimplicit
   9009 		if eval \${$cacheid+:} false; then :
   9010   $as_echo_n "(cached) " >&6
   9011 else
   9012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9013 /* end confdefs.h.  */
   9014 int i;
   9015 int
   9016 main ()
   9017 {
   9018 
   9019   ;
   9020   return 0;
   9021 }
   9022 _ACEOF
   9023 if ac_fn_c_try_link "$LINENO"; then :
   9024   eval $cacheid=yes
   9025 else
   9026   eval $cacheid=no
   9027 fi
   9028 rm -f core conftest.err conftest.$ac_objext \
   9029     conftest$ac_exeext conftest.$ac_ext
   9030 fi
   9031 
   9032 
   9033 		CFLAGS="$xorg_testset_save_CFLAGS"
   9034 
   9035 		eval supported=\$$cacheid
   9036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9037 $as_echo "$supported" >&6; }
   9038 		if test "$supported" = "yes" ; then
   9039 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9040 			found="yes"
   9041 		fi
   9042 	fi
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 xorg_testset_save_CFLAGS="$CFLAGS"
   9059 
   9060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9065   $as_echo_n "(cached) " >&6
   9066 else
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 _ACEOF
   9071 if ac_fn_c_try_compile "$LINENO"; then :
   9072   xorg_cv_cc_flag_unknown_warning_option=yes
   9073 else
   9074   xorg_cv_cc_flag_unknown_warning_option=no
   9075 fi
   9076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9077 fi
   9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9081 	CFLAGS="$xorg_testset_save_CFLAGS"
   9082 fi
   9083 
   9084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9087 	fi
   9088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9095 /* end confdefs.h.  */
   9096 int i;
   9097 _ACEOF
   9098 if ac_fn_c_try_compile "$LINENO"; then :
   9099   xorg_cv_cc_flag_unused_command_line_argument=yes
   9100 else
   9101   xorg_cv_cc_flag_unused_command_line_argument=no
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9104 fi
   9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9108 	CFLAGS="$xorg_testset_save_CFLAGS"
   9109 fi
   9110 
   9111 found="no"
   9112 
   9113 	if test $found = "no" ; then
   9114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9116 		fi
   9117 
   9118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9120 		fi
   9121 
   9122 		CFLAGS="$CFLAGS -Wnonnull"
   9123 
   9124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9125 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9126 		cacheid=xorg_cv_cc_flag__Wnonnull
   9127 		if eval \${$cacheid+:} false; then :
   9128   $as_echo_n "(cached) " >&6
   9129 else
   9130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9131 /* end confdefs.h.  */
   9132 int i;
   9133 int
   9134 main ()
   9135 {
   9136 
   9137   ;
   9138   return 0;
   9139 }
   9140 _ACEOF
   9141 if ac_fn_c_try_link "$LINENO"; then :
   9142   eval $cacheid=yes
   9143 else
   9144   eval $cacheid=no
   9145 fi
   9146 rm -f core conftest.err conftest.$ac_objext \
   9147     conftest$ac_exeext conftest.$ac_ext
   9148 fi
   9149 
   9150 
   9151 		CFLAGS="$xorg_testset_save_CFLAGS"
   9152 
   9153 		eval supported=\$$cacheid
   9154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9155 $as_echo "$supported" >&6; }
   9156 		if test "$supported" = "yes" ; then
   9157 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9158 			found="yes"
   9159 		fi
   9160 	fi
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 xorg_testset_save_CFLAGS="$CFLAGS"
   9177 
   9178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9181 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9182 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9183   $as_echo_n "(cached) " >&6
   9184 else
   9185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9186 /* end confdefs.h.  */
   9187 int i;
   9188 _ACEOF
   9189 if ac_fn_c_try_compile "$LINENO"; then :
   9190   xorg_cv_cc_flag_unknown_warning_option=yes
   9191 else
   9192   xorg_cv_cc_flag_unknown_warning_option=no
   9193 fi
   9194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9195 fi
   9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9197 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9199 	CFLAGS="$xorg_testset_save_CFLAGS"
   9200 fi
   9201 
   9202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9205 	fi
   9206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9208 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9209 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9210   $as_echo_n "(cached) " >&6
   9211 else
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 _ACEOF
   9216 if ac_fn_c_try_compile "$LINENO"; then :
   9217   xorg_cv_cc_flag_unused_command_line_argument=yes
   9218 else
   9219   xorg_cv_cc_flag_unused_command_line_argument=no
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9222 fi
   9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9224 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9226 	CFLAGS="$xorg_testset_save_CFLAGS"
   9227 fi
   9228 
   9229 found="no"
   9230 
   9231 	if test $found = "no" ; then
   9232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9234 		fi
   9235 
   9236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9238 		fi
   9239 
   9240 		CFLAGS="$CFLAGS -Winit-self"
   9241 
   9242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9243 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9244 		cacheid=xorg_cv_cc_flag__Winit_self
   9245 		if eval \${$cacheid+:} false; then :
   9246   $as_echo_n "(cached) " >&6
   9247 else
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 int i;
   9251 int
   9252 main ()
   9253 {
   9254 
   9255   ;
   9256   return 0;
   9257 }
   9258 _ACEOF
   9259 if ac_fn_c_try_link "$LINENO"; then :
   9260   eval $cacheid=yes
   9261 else
   9262   eval $cacheid=no
   9263 fi
   9264 rm -f core conftest.err conftest.$ac_objext \
   9265     conftest$ac_exeext conftest.$ac_ext
   9266 fi
   9267 
   9268 
   9269 		CFLAGS="$xorg_testset_save_CFLAGS"
   9270 
   9271 		eval supported=\$$cacheid
   9272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9273 $as_echo "$supported" >&6; }
   9274 		if test "$supported" = "yes" ; then
   9275 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9276 			found="yes"
   9277 		fi
   9278 	fi
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 xorg_testset_save_CFLAGS="$CFLAGS"
   9295 
   9296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9301   $as_echo_n "(cached) " >&6
   9302 else
   9303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9304 /* end confdefs.h.  */
   9305 int i;
   9306 _ACEOF
   9307 if ac_fn_c_try_compile "$LINENO"; then :
   9308   xorg_cv_cc_flag_unknown_warning_option=yes
   9309 else
   9310   xorg_cv_cc_flag_unknown_warning_option=no
   9311 fi
   9312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9313 fi
   9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9317 	CFLAGS="$xorg_testset_save_CFLAGS"
   9318 fi
   9319 
   9320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9323 	fi
   9324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9328   $as_echo_n "(cached) " >&6
   9329 else
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 _ACEOF
   9334 if ac_fn_c_try_compile "$LINENO"; then :
   9335   xorg_cv_cc_flag_unused_command_line_argument=yes
   9336 else
   9337   xorg_cv_cc_flag_unused_command_line_argument=no
   9338 fi
   9339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9340 fi
   9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9344 	CFLAGS="$xorg_testset_save_CFLAGS"
   9345 fi
   9346 
   9347 found="no"
   9348 
   9349 	if test $found = "no" ; then
   9350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9352 		fi
   9353 
   9354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9356 		fi
   9357 
   9358 		CFLAGS="$CFLAGS -Wmain"
   9359 
   9360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9361 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9362 		cacheid=xorg_cv_cc_flag__Wmain
   9363 		if eval \${$cacheid+:} false; then :
   9364   $as_echo_n "(cached) " >&6
   9365 else
   9366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9367 /* end confdefs.h.  */
   9368 int i;
   9369 int
   9370 main ()
   9371 {
   9372 
   9373   ;
   9374   return 0;
   9375 }
   9376 _ACEOF
   9377 if ac_fn_c_try_link "$LINENO"; then :
   9378   eval $cacheid=yes
   9379 else
   9380   eval $cacheid=no
   9381 fi
   9382 rm -f core conftest.err conftest.$ac_objext \
   9383     conftest$ac_exeext conftest.$ac_ext
   9384 fi
   9385 
   9386 
   9387 		CFLAGS="$xorg_testset_save_CFLAGS"
   9388 
   9389 		eval supported=\$$cacheid
   9390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9391 $as_echo "$supported" >&6; }
   9392 		if test "$supported" = "yes" ; then
   9393 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9394 			found="yes"
   9395 		fi
   9396 	fi
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 xorg_testset_save_CFLAGS="$CFLAGS"
   9413 
   9414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9419   $as_echo_n "(cached) " >&6
   9420 else
   9421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9422 /* end confdefs.h.  */
   9423 int i;
   9424 _ACEOF
   9425 if ac_fn_c_try_compile "$LINENO"; then :
   9426   xorg_cv_cc_flag_unknown_warning_option=yes
   9427 else
   9428   xorg_cv_cc_flag_unknown_warning_option=no
   9429 fi
   9430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9431 fi
   9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9435 	CFLAGS="$xorg_testset_save_CFLAGS"
   9436 fi
   9437 
   9438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9441 	fi
   9442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9446   $as_echo_n "(cached) " >&6
   9447 else
   9448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9449 /* end confdefs.h.  */
   9450 int i;
   9451 _ACEOF
   9452 if ac_fn_c_try_compile "$LINENO"; then :
   9453   xorg_cv_cc_flag_unused_command_line_argument=yes
   9454 else
   9455   xorg_cv_cc_flag_unused_command_line_argument=no
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9458 fi
   9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9462 	CFLAGS="$xorg_testset_save_CFLAGS"
   9463 fi
   9464 
   9465 found="no"
   9466 
   9467 	if test $found = "no" ; then
   9468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9470 		fi
   9471 
   9472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9474 		fi
   9475 
   9476 		CFLAGS="$CFLAGS -Wmissing-braces"
   9477 
   9478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9479 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9480 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9481 		if eval \${$cacheid+:} false; then :
   9482   $as_echo_n "(cached) " >&6
   9483 else
   9484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9485 /* end confdefs.h.  */
   9486 int i;
   9487 int
   9488 main ()
   9489 {
   9490 
   9491   ;
   9492   return 0;
   9493 }
   9494 _ACEOF
   9495 if ac_fn_c_try_link "$LINENO"; then :
   9496   eval $cacheid=yes
   9497 else
   9498   eval $cacheid=no
   9499 fi
   9500 rm -f core conftest.err conftest.$ac_objext \
   9501     conftest$ac_exeext conftest.$ac_ext
   9502 fi
   9503 
   9504 
   9505 		CFLAGS="$xorg_testset_save_CFLAGS"
   9506 
   9507 		eval supported=\$$cacheid
   9508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9509 $as_echo "$supported" >&6; }
   9510 		if test "$supported" = "yes" ; then
   9511 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9512 			found="yes"
   9513 		fi
   9514 	fi
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 xorg_testset_save_CFLAGS="$CFLAGS"
   9531 
   9532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9537   $as_echo_n "(cached) " >&6
   9538 else
   9539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9540 /* end confdefs.h.  */
   9541 int i;
   9542 _ACEOF
   9543 if ac_fn_c_try_compile "$LINENO"; then :
   9544   xorg_cv_cc_flag_unknown_warning_option=yes
   9545 else
   9546   xorg_cv_cc_flag_unknown_warning_option=no
   9547 fi
   9548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9549 fi
   9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9553 	CFLAGS="$xorg_testset_save_CFLAGS"
   9554 fi
   9555 
   9556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9559 	fi
   9560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9564   $as_echo_n "(cached) " >&6
   9565 else
   9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 _ACEOF
   9570 if ac_fn_c_try_compile "$LINENO"; then :
   9571   xorg_cv_cc_flag_unused_command_line_argument=yes
   9572 else
   9573   xorg_cv_cc_flag_unused_command_line_argument=no
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9576 fi
   9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9580 	CFLAGS="$xorg_testset_save_CFLAGS"
   9581 fi
   9582 
   9583 found="no"
   9584 
   9585 	if test $found = "no" ; then
   9586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9588 		fi
   9589 
   9590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9592 		fi
   9593 
   9594 		CFLAGS="$CFLAGS -Wsequence-point"
   9595 
   9596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9597 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9598 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9599 		if eval \${$cacheid+:} false; then :
   9600   $as_echo_n "(cached) " >&6
   9601 else
   9602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9603 /* end confdefs.h.  */
   9604 int i;
   9605 int
   9606 main ()
   9607 {
   9608 
   9609   ;
   9610   return 0;
   9611 }
   9612 _ACEOF
   9613 if ac_fn_c_try_link "$LINENO"; then :
   9614   eval $cacheid=yes
   9615 else
   9616   eval $cacheid=no
   9617 fi
   9618 rm -f core conftest.err conftest.$ac_objext \
   9619     conftest$ac_exeext conftest.$ac_ext
   9620 fi
   9621 
   9622 
   9623 		CFLAGS="$xorg_testset_save_CFLAGS"
   9624 
   9625 		eval supported=\$$cacheid
   9626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9627 $as_echo "$supported" >&6; }
   9628 		if test "$supported" = "yes" ; then
   9629 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9630 			found="yes"
   9631 		fi
   9632 	fi
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 xorg_testset_save_CFLAGS="$CFLAGS"
   9649 
   9650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9655   $as_echo_n "(cached) " >&6
   9656 else
   9657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9658 /* end confdefs.h.  */
   9659 int i;
   9660 _ACEOF
   9661 if ac_fn_c_try_compile "$LINENO"; then :
   9662   xorg_cv_cc_flag_unknown_warning_option=yes
   9663 else
   9664   xorg_cv_cc_flag_unknown_warning_option=no
   9665 fi
   9666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9667 fi
   9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9671 	CFLAGS="$xorg_testset_save_CFLAGS"
   9672 fi
   9673 
   9674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9677 	fi
   9678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9682   $as_echo_n "(cached) " >&6
   9683 else
   9684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 _ACEOF
   9688 if ac_fn_c_try_compile "$LINENO"; then :
   9689   xorg_cv_cc_flag_unused_command_line_argument=yes
   9690 else
   9691   xorg_cv_cc_flag_unused_command_line_argument=no
   9692 fi
   9693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9694 fi
   9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9698 	CFLAGS="$xorg_testset_save_CFLAGS"
   9699 fi
   9700 
   9701 found="no"
   9702 
   9703 	if test $found = "no" ; then
   9704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9706 		fi
   9707 
   9708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9710 		fi
   9711 
   9712 		CFLAGS="$CFLAGS -Wreturn-type"
   9713 
   9714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9715 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9716 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9717 		if eval \${$cacheid+:} false; then :
   9718   $as_echo_n "(cached) " >&6
   9719 else
   9720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9721 /* end confdefs.h.  */
   9722 int i;
   9723 int
   9724 main ()
   9725 {
   9726 
   9727   ;
   9728   return 0;
   9729 }
   9730 _ACEOF
   9731 if ac_fn_c_try_link "$LINENO"; then :
   9732   eval $cacheid=yes
   9733 else
   9734   eval $cacheid=no
   9735 fi
   9736 rm -f core conftest.err conftest.$ac_objext \
   9737     conftest$ac_exeext conftest.$ac_ext
   9738 fi
   9739 
   9740 
   9741 		CFLAGS="$xorg_testset_save_CFLAGS"
   9742 
   9743 		eval supported=\$$cacheid
   9744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9745 $as_echo "$supported" >&6; }
   9746 		if test "$supported" = "yes" ; then
   9747 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9748 			found="yes"
   9749 		fi
   9750 	fi
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 xorg_testset_save_CFLAGS="$CFLAGS"
   9767 
   9768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9773   $as_echo_n "(cached) " >&6
   9774 else
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 _ACEOF
   9779 if ac_fn_c_try_compile "$LINENO"; then :
   9780   xorg_cv_cc_flag_unknown_warning_option=yes
   9781 else
   9782   xorg_cv_cc_flag_unknown_warning_option=no
   9783 fi
   9784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9785 fi
   9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9789 	CFLAGS="$xorg_testset_save_CFLAGS"
   9790 fi
   9791 
   9792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9795 	fi
   9796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9800   $as_echo_n "(cached) " >&6
   9801 else
   9802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9803 /* end confdefs.h.  */
   9804 int i;
   9805 _ACEOF
   9806 if ac_fn_c_try_compile "$LINENO"; then :
   9807   xorg_cv_cc_flag_unused_command_line_argument=yes
   9808 else
   9809   xorg_cv_cc_flag_unused_command_line_argument=no
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9812 fi
   9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9814 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9816 	CFLAGS="$xorg_testset_save_CFLAGS"
   9817 fi
   9818 
   9819 found="no"
   9820 
   9821 	if test $found = "no" ; then
   9822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9824 		fi
   9825 
   9826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9828 		fi
   9829 
   9830 		CFLAGS="$CFLAGS -Wtrigraphs"
   9831 
   9832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9833 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9834 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9835 		if eval \${$cacheid+:} false; then :
   9836   $as_echo_n "(cached) " >&6
   9837 else
   9838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9839 /* end confdefs.h.  */
   9840 int i;
   9841 int
   9842 main ()
   9843 {
   9844 
   9845   ;
   9846   return 0;
   9847 }
   9848 _ACEOF
   9849 if ac_fn_c_try_link "$LINENO"; then :
   9850   eval $cacheid=yes
   9851 else
   9852   eval $cacheid=no
   9853 fi
   9854 rm -f core conftest.err conftest.$ac_objext \
   9855     conftest$ac_exeext conftest.$ac_ext
   9856 fi
   9857 
   9858 
   9859 		CFLAGS="$xorg_testset_save_CFLAGS"
   9860 
   9861 		eval supported=\$$cacheid
   9862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9863 $as_echo "$supported" >&6; }
   9864 		if test "$supported" = "yes" ; then
   9865 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9866 			found="yes"
   9867 		fi
   9868 	fi
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 xorg_testset_save_CFLAGS="$CFLAGS"
   9885 
   9886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9891   $as_echo_n "(cached) " >&6
   9892 else
   9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int i;
   9896 _ACEOF
   9897 if ac_fn_c_try_compile "$LINENO"; then :
   9898   xorg_cv_cc_flag_unknown_warning_option=yes
   9899 else
   9900   xorg_cv_cc_flag_unknown_warning_option=no
   9901 fi
   9902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9903 fi
   9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9907 	CFLAGS="$xorg_testset_save_CFLAGS"
   9908 fi
   9909 
   9910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9913 	fi
   9914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9921 /* end confdefs.h.  */
   9922 int i;
   9923 _ACEOF
   9924 if ac_fn_c_try_compile "$LINENO"; then :
   9925   xorg_cv_cc_flag_unused_command_line_argument=yes
   9926 else
   9927   xorg_cv_cc_flag_unused_command_line_argument=no
   9928 fi
   9929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9930 fi
   9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9934 	CFLAGS="$xorg_testset_save_CFLAGS"
   9935 fi
   9936 
   9937 found="no"
   9938 
   9939 	if test $found = "no" ; then
   9940 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9942 		fi
   9943 
   9944 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9946 		fi
   9947 
   9948 		CFLAGS="$CFLAGS -Warray-bounds"
   9949 
   9950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9951 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9952 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9953 		if eval \${$cacheid+:} false; then :
   9954   $as_echo_n "(cached) " >&6
   9955 else
   9956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 int
   9960 main ()
   9961 {
   9962 
   9963   ;
   9964   return 0;
   9965 }
   9966 _ACEOF
   9967 if ac_fn_c_try_link "$LINENO"; then :
   9968   eval $cacheid=yes
   9969 else
   9970   eval $cacheid=no
   9971 fi
   9972 rm -f core conftest.err conftest.$ac_objext \
   9973     conftest$ac_exeext conftest.$ac_ext
   9974 fi
   9975 
   9976 
   9977 		CFLAGS="$xorg_testset_save_CFLAGS"
   9978 
   9979 		eval supported=\$$cacheid
   9980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9981 $as_echo "$supported" >&6; }
   9982 		if test "$supported" = "yes" ; then
   9983 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9984 			found="yes"
   9985 		fi
   9986 	fi
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 xorg_testset_save_CFLAGS="$CFLAGS"
   10003 
   10004 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10005 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10007 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10008 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10009   $as_echo_n "(cached) " >&6
   10010 else
   10011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10012 /* end confdefs.h.  */
   10013 int i;
   10014 _ACEOF
   10015 if ac_fn_c_try_compile "$LINENO"; then :
   10016   xorg_cv_cc_flag_unknown_warning_option=yes
   10017 else
   10018   xorg_cv_cc_flag_unknown_warning_option=no
   10019 fi
   10020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10021 fi
   10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10023 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10025 	CFLAGS="$xorg_testset_save_CFLAGS"
   10026 fi
   10027 
   10028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10031 	fi
   10032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10034 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10035 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10036   $as_echo_n "(cached) " >&6
   10037 else
   10038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10039 /* end confdefs.h.  */
   10040 int i;
   10041 _ACEOF
   10042 if ac_fn_c_try_compile "$LINENO"; then :
   10043   xorg_cv_cc_flag_unused_command_line_argument=yes
   10044 else
   10045   xorg_cv_cc_flag_unused_command_line_argument=no
   10046 fi
   10047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10048 fi
   10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10050 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10051 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10052 	CFLAGS="$xorg_testset_save_CFLAGS"
   10053 fi
   10054 
   10055 found="no"
   10056 
   10057 	if test $found = "no" ; then
   10058 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10059 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10060 		fi
   10061 
   10062 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10063 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10064 		fi
   10065 
   10066 		CFLAGS="$CFLAGS -Wwrite-strings"
   10067 
   10068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10069 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   10070 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10071 		if eval \${$cacheid+:} false; then :
   10072   $as_echo_n "(cached) " >&6
   10073 else
   10074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 int
   10078 main ()
   10079 {
   10080 
   10081   ;
   10082   return 0;
   10083 }
   10084 _ACEOF
   10085 if ac_fn_c_try_link "$LINENO"; then :
   10086   eval $cacheid=yes
   10087 else
   10088   eval $cacheid=no
   10089 fi
   10090 rm -f core conftest.err conftest.$ac_objext \
   10091     conftest$ac_exeext conftest.$ac_ext
   10092 fi
   10093 
   10094 
   10095 		CFLAGS="$xorg_testset_save_CFLAGS"
   10096 
   10097 		eval supported=\$$cacheid
   10098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10099 $as_echo "$supported" >&6; }
   10100 		if test "$supported" = "yes" ; then
   10101 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10102 			found="yes"
   10103 		fi
   10104 	fi
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 xorg_testset_save_CFLAGS="$CFLAGS"
   10121 
   10122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10127   $as_echo_n "(cached) " >&6
   10128 else
   10129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10130 /* end confdefs.h.  */
   10131 int i;
   10132 _ACEOF
   10133 if ac_fn_c_try_compile "$LINENO"; then :
   10134   xorg_cv_cc_flag_unknown_warning_option=yes
   10135 else
   10136   xorg_cv_cc_flag_unknown_warning_option=no
   10137 fi
   10138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10139 fi
   10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10143 	CFLAGS="$xorg_testset_save_CFLAGS"
   10144 fi
   10145 
   10146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10149 	fi
   10150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10154   $as_echo_n "(cached) " >&6
   10155 else
   10156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10157 /* end confdefs.h.  */
   10158 int i;
   10159 _ACEOF
   10160 if ac_fn_c_try_compile "$LINENO"; then :
   10161   xorg_cv_cc_flag_unused_command_line_argument=yes
   10162 else
   10163   xorg_cv_cc_flag_unused_command_line_argument=no
   10164 fi
   10165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10166 fi
   10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10170 	CFLAGS="$xorg_testset_save_CFLAGS"
   10171 fi
   10172 
   10173 found="no"
   10174 
   10175 	if test $found = "no" ; then
   10176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10178 		fi
   10179 
   10180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10182 		fi
   10183 
   10184 		CFLAGS="$CFLAGS -Waddress"
   10185 
   10186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10187 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10188 		cacheid=xorg_cv_cc_flag__Waddress
   10189 		if eval \${$cacheid+:} false; then :
   10190   $as_echo_n "(cached) " >&6
   10191 else
   10192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10193 /* end confdefs.h.  */
   10194 int i;
   10195 int
   10196 main ()
   10197 {
   10198 
   10199   ;
   10200   return 0;
   10201 }
   10202 _ACEOF
   10203 if ac_fn_c_try_link "$LINENO"; then :
   10204   eval $cacheid=yes
   10205 else
   10206   eval $cacheid=no
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext \
   10209     conftest$ac_exeext conftest.$ac_ext
   10210 fi
   10211 
   10212 
   10213 		CFLAGS="$xorg_testset_save_CFLAGS"
   10214 
   10215 		eval supported=\$$cacheid
   10216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10217 $as_echo "$supported" >&6; }
   10218 		if test "$supported" = "yes" ; then
   10219 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10220 			found="yes"
   10221 		fi
   10222 	fi
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 xorg_testset_save_CFLAGS="$CFLAGS"
   10239 
   10240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10243 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10244 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10245   $as_echo_n "(cached) " >&6
   10246 else
   10247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10248 /* end confdefs.h.  */
   10249 int i;
   10250 _ACEOF
   10251 if ac_fn_c_try_compile "$LINENO"; then :
   10252   xorg_cv_cc_flag_unknown_warning_option=yes
   10253 else
   10254   xorg_cv_cc_flag_unknown_warning_option=no
   10255 fi
   10256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10257 fi
   10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10259 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10261 	CFLAGS="$xorg_testset_save_CFLAGS"
   10262 fi
   10263 
   10264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10267 	fi
   10268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10270 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10271 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10272   $as_echo_n "(cached) " >&6
   10273 else
   10274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10275 /* end confdefs.h.  */
   10276 int i;
   10277 _ACEOF
   10278 if ac_fn_c_try_compile "$LINENO"; then :
   10279   xorg_cv_cc_flag_unused_command_line_argument=yes
   10280 else
   10281   xorg_cv_cc_flag_unused_command_line_argument=no
   10282 fi
   10283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10284 fi
   10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10286 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10288 	CFLAGS="$xorg_testset_save_CFLAGS"
   10289 fi
   10290 
   10291 found="no"
   10292 
   10293 	if test $found = "no" ; then
   10294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10296 		fi
   10297 
   10298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10300 		fi
   10301 
   10302 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10303 
   10304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10305 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10306 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10307 		if eval \${$cacheid+:} false; then :
   10308   $as_echo_n "(cached) " >&6
   10309 else
   10310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10311 /* end confdefs.h.  */
   10312 int i;
   10313 int
   10314 main ()
   10315 {
   10316 
   10317   ;
   10318   return 0;
   10319 }
   10320 _ACEOF
   10321 if ac_fn_c_try_link "$LINENO"; then :
   10322   eval $cacheid=yes
   10323 else
   10324   eval $cacheid=no
   10325 fi
   10326 rm -f core conftest.err conftest.$ac_objext \
   10327     conftest$ac_exeext conftest.$ac_ext
   10328 fi
   10329 
   10330 
   10331 		CFLAGS="$xorg_testset_save_CFLAGS"
   10332 
   10333 		eval supported=\$$cacheid
   10334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10335 $as_echo "$supported" >&6; }
   10336 		if test "$supported" = "yes" ; then
   10337 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10338 			found="yes"
   10339 		fi
   10340 	fi
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 xorg_testset_save_CFLAGS="$CFLAGS"
   10357 
   10358 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10359 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10361 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10362 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10363   $as_echo_n "(cached) " >&6
   10364 else
   10365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10366 /* end confdefs.h.  */
   10367 int i;
   10368 _ACEOF
   10369 if ac_fn_c_try_compile "$LINENO"; then :
   10370   xorg_cv_cc_flag_unknown_warning_option=yes
   10371 else
   10372   xorg_cv_cc_flag_unknown_warning_option=no
   10373 fi
   10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10375 fi
   10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10377 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10379 	CFLAGS="$xorg_testset_save_CFLAGS"
   10380 fi
   10381 
   10382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10385 	fi
   10386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10388 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10389 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10390   $as_echo_n "(cached) " >&6
   10391 else
   10392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10393 /* end confdefs.h.  */
   10394 int i;
   10395 _ACEOF
   10396 if ac_fn_c_try_compile "$LINENO"; then :
   10397   xorg_cv_cc_flag_unused_command_line_argument=yes
   10398 else
   10399   xorg_cv_cc_flag_unused_command_line_argument=no
   10400 fi
   10401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10402 fi
   10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10404 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10406 	CFLAGS="$xorg_testset_save_CFLAGS"
   10407 fi
   10408 
   10409 found="no"
   10410 
   10411 	if test $found = "no" ; then
   10412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10414 		fi
   10415 
   10416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10418 		fi
   10419 
   10420 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10421 
   10422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10423 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10424 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10425 		if eval \${$cacheid+:} false; then :
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10429 /* end confdefs.h.  */
   10430 int i;
   10431 int
   10432 main ()
   10433 {
   10434 
   10435   ;
   10436   return 0;
   10437 }
   10438 _ACEOF
   10439 if ac_fn_c_try_link "$LINENO"; then :
   10440   eval $cacheid=yes
   10441 else
   10442   eval $cacheid=no
   10443 fi
   10444 rm -f core conftest.err conftest.$ac_objext \
   10445     conftest$ac_exeext conftest.$ac_ext
   10446 fi
   10447 
   10448 
   10449 		CFLAGS="$xorg_testset_save_CFLAGS"
   10450 
   10451 		eval supported=\$$cacheid
   10452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10453 $as_echo "$supported" >&6; }
   10454 		if test "$supported" = "yes" ; then
   10455 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10456 			found="yes"
   10457 		fi
   10458 	fi
   10459 
   10460 
   10461 fi
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 		CWARNFLAGS="$BASE_CFLAGS"
   10470 		if  test "x$GCC" = xyes ; then
   10471 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10472 		fi
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 # Check whether --enable-strict-compilation was given.
   10482 if test "${enable_strict_compilation+set}" = set; then :
   10483   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10484 else
   10485   STRICT_COMPILE=no
   10486 fi
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 STRICT_CFLAGS=""
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 xorg_testset_save_CFLAGS="$CFLAGS"
   10508 
   10509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10512 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10513 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10514   $as_echo_n "(cached) " >&6
   10515 else
   10516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10517 /* end confdefs.h.  */
   10518 int i;
   10519 _ACEOF
   10520 if ac_fn_c_try_compile "$LINENO"; then :
   10521   xorg_cv_cc_flag_unknown_warning_option=yes
   10522 else
   10523   xorg_cv_cc_flag_unknown_warning_option=no
   10524 fi
   10525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10526 fi
   10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10528 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10530 	CFLAGS="$xorg_testset_save_CFLAGS"
   10531 fi
   10532 
   10533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10536 	fi
   10537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10539 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10540 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10541   $as_echo_n "(cached) " >&6
   10542 else
   10543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10544 /* end confdefs.h.  */
   10545 int i;
   10546 _ACEOF
   10547 if ac_fn_c_try_compile "$LINENO"; then :
   10548   xorg_cv_cc_flag_unused_command_line_argument=yes
   10549 else
   10550   xorg_cv_cc_flag_unused_command_line_argument=no
   10551 fi
   10552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10553 fi
   10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10555 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10557 	CFLAGS="$xorg_testset_save_CFLAGS"
   10558 fi
   10559 
   10560 found="no"
   10561 
   10562 	if test $found = "no" ; then
   10563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10565 		fi
   10566 
   10567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10569 		fi
   10570 
   10571 		CFLAGS="$CFLAGS -pedantic"
   10572 
   10573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10574 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10575 		cacheid=xorg_cv_cc_flag__pedantic
   10576 		if eval \${$cacheid+:} false; then :
   10577   $as_echo_n "(cached) " >&6
   10578 else
   10579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10580 /* end confdefs.h.  */
   10581 int i;
   10582 int
   10583 main ()
   10584 {
   10585 
   10586   ;
   10587   return 0;
   10588 }
   10589 _ACEOF
   10590 if ac_fn_c_try_link "$LINENO"; then :
   10591   eval $cacheid=yes
   10592 else
   10593   eval $cacheid=no
   10594 fi
   10595 rm -f core conftest.err conftest.$ac_objext \
   10596     conftest$ac_exeext conftest.$ac_ext
   10597 fi
   10598 
   10599 
   10600 		CFLAGS="$xorg_testset_save_CFLAGS"
   10601 
   10602 		eval supported=\$$cacheid
   10603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10604 $as_echo "$supported" >&6; }
   10605 		if test "$supported" = "yes" ; then
   10606 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10607 			found="yes"
   10608 		fi
   10609 	fi
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 xorg_testset_save_CFLAGS="$CFLAGS"
   10626 
   10627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10630 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10631 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10632   $as_echo_n "(cached) " >&6
   10633 else
   10634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10635 /* end confdefs.h.  */
   10636 int i;
   10637 _ACEOF
   10638 if ac_fn_c_try_compile "$LINENO"; then :
   10639   xorg_cv_cc_flag_unknown_warning_option=yes
   10640 else
   10641   xorg_cv_cc_flag_unknown_warning_option=no
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10644 fi
   10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10646 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10648 	CFLAGS="$xorg_testset_save_CFLAGS"
   10649 fi
   10650 
   10651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10654 	fi
   10655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10657 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10658 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10659   $as_echo_n "(cached) " >&6
   10660 else
   10661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10662 /* end confdefs.h.  */
   10663 int i;
   10664 _ACEOF
   10665 if ac_fn_c_try_compile "$LINENO"; then :
   10666   xorg_cv_cc_flag_unused_command_line_argument=yes
   10667 else
   10668   xorg_cv_cc_flag_unused_command_line_argument=no
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10671 fi
   10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10673 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10675 	CFLAGS="$xorg_testset_save_CFLAGS"
   10676 fi
   10677 
   10678 found="no"
   10679 
   10680 	if test $found = "no" ; then
   10681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10683 		fi
   10684 
   10685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10687 		fi
   10688 
   10689 		CFLAGS="$CFLAGS -Werror"
   10690 
   10691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10692 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10693 		cacheid=xorg_cv_cc_flag__Werror
   10694 		if eval \${$cacheid+:} false; then :
   10695   $as_echo_n "(cached) " >&6
   10696 else
   10697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10698 /* end confdefs.h.  */
   10699 int i;
   10700 int
   10701 main ()
   10702 {
   10703 
   10704   ;
   10705   return 0;
   10706 }
   10707 _ACEOF
   10708 if ac_fn_c_try_link "$LINENO"; then :
   10709   eval $cacheid=yes
   10710 else
   10711   eval $cacheid=no
   10712 fi
   10713 rm -f core conftest.err conftest.$ac_objext \
   10714     conftest$ac_exeext conftest.$ac_ext
   10715 fi
   10716 
   10717 
   10718 		CFLAGS="$xorg_testset_save_CFLAGS"
   10719 
   10720 		eval supported=\$$cacheid
   10721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10722 $as_echo "$supported" >&6; }
   10723 		if test "$supported" = "yes" ; then
   10724 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10725 			found="yes"
   10726 		fi
   10727 	fi
   10728 
   10729 	if test $found = "no" ; then
   10730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10732 		fi
   10733 
   10734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10736 		fi
   10737 
   10738 		CFLAGS="$CFLAGS -errwarn"
   10739 
   10740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10741 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10742 		cacheid=xorg_cv_cc_flag__errwarn
   10743 		if eval \${$cacheid+:} false; then :
   10744   $as_echo_n "(cached) " >&6
   10745 else
   10746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10747 /* end confdefs.h.  */
   10748 int i;
   10749 int
   10750 main ()
   10751 {
   10752 
   10753   ;
   10754   return 0;
   10755 }
   10756 _ACEOF
   10757 if ac_fn_c_try_link "$LINENO"; then :
   10758   eval $cacheid=yes
   10759 else
   10760   eval $cacheid=no
   10761 fi
   10762 rm -f core conftest.err conftest.$ac_objext \
   10763     conftest$ac_exeext conftest.$ac_ext
   10764 fi
   10765 
   10766 
   10767 		CFLAGS="$xorg_testset_save_CFLAGS"
   10768 
   10769 		eval supported=\$$cacheid
   10770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10771 $as_echo "$supported" >&6; }
   10772 		if test "$supported" = "yes" ; then
   10773 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10774 			found="yes"
   10775 		fi
   10776 	fi
   10777 
   10778 
   10779 
   10780 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10781 # activate it with -Werror, so we add it here explicitly.
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 xorg_testset_save_CFLAGS="$CFLAGS"
   10796 
   10797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10800 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10801 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10802   $as_echo_n "(cached) " >&6
   10803 else
   10804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10805 /* end confdefs.h.  */
   10806 int i;
   10807 _ACEOF
   10808 if ac_fn_c_try_compile "$LINENO"; then :
   10809   xorg_cv_cc_flag_unknown_warning_option=yes
   10810 else
   10811   xorg_cv_cc_flag_unknown_warning_option=no
   10812 fi
   10813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10814 fi
   10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10816 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10818 	CFLAGS="$xorg_testset_save_CFLAGS"
   10819 fi
   10820 
   10821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10824 	fi
   10825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10827 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10828 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10829   $as_echo_n "(cached) " >&6
   10830 else
   10831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10832 /* end confdefs.h.  */
   10833 int i;
   10834 _ACEOF
   10835 if ac_fn_c_try_compile "$LINENO"; then :
   10836   xorg_cv_cc_flag_unused_command_line_argument=yes
   10837 else
   10838   xorg_cv_cc_flag_unused_command_line_argument=no
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10841 fi
   10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10843 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10845 	CFLAGS="$xorg_testset_save_CFLAGS"
   10846 fi
   10847 
   10848 found="no"
   10849 
   10850 	if test $found = "no" ; then
   10851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10853 		fi
   10854 
   10855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10857 		fi
   10858 
   10859 		CFLAGS="$CFLAGS -Werror=attributes"
   10860 
   10861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10862 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10863 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10864 		if eval \${$cacheid+:} false; then :
   10865   $as_echo_n "(cached) " >&6
   10866 else
   10867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10868 /* end confdefs.h.  */
   10869 int i;
   10870 int
   10871 main ()
   10872 {
   10873 
   10874   ;
   10875   return 0;
   10876 }
   10877 _ACEOF
   10878 if ac_fn_c_try_link "$LINENO"; then :
   10879   eval $cacheid=yes
   10880 else
   10881   eval $cacheid=no
   10882 fi
   10883 rm -f core conftest.err conftest.$ac_objext \
   10884     conftest$ac_exeext conftest.$ac_ext
   10885 fi
   10886 
   10887 
   10888 		CFLAGS="$xorg_testset_save_CFLAGS"
   10889 
   10890 		eval supported=\$$cacheid
   10891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10892 $as_echo "$supported" >&6; }
   10893 		if test "$supported" = "yes" ; then
   10894 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10895 			found="yes"
   10896 		fi
   10897 	fi
   10898 
   10899 
   10900 
   10901 if test "x$STRICT_COMPILE" = "xyes"; then
   10902     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10903     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10904 fi
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 cat >>confdefs.h <<_ACEOF
   10912 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10913 _ACEOF
   10914 
   10915 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10916 	if test "x$PVM" = "x"; then
   10917 		PVM="0"
   10918 	fi
   10919 
   10920 cat >>confdefs.h <<_ACEOF
   10921 #define PACKAGE_VERSION_MINOR $PVM
   10922 _ACEOF
   10923 
   10924 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10925 	if test "x$PVP" = "x"; then
   10926 		PVP="0"
   10927 	fi
   10928 
   10929 cat >>confdefs.h <<_ACEOF
   10930 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10931 _ACEOF
   10932 
   10933 
   10934 
   10935 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10936 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10937 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10938 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10939 
   10940 
   10941 
   10942 
   10943 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10944 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10945 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10946 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10947 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 if test x$APP_MAN_SUFFIX = x    ; then
   10955     APP_MAN_SUFFIX=1
   10956 fi
   10957 if test x$APP_MAN_DIR = x    ; then
   10958     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10959 fi
   10960 
   10961 if test x$LIB_MAN_SUFFIX = x    ; then
   10962     LIB_MAN_SUFFIX=3
   10963 fi
   10964 if test x$LIB_MAN_DIR = x    ; then
   10965     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10966 fi
   10967 
   10968 if test x$FILE_MAN_SUFFIX = x    ; then
   10969     case $host_os in
   10970 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10971 	*)		FILE_MAN_SUFFIX=5  ;;
   10972     esac
   10973 fi
   10974 if test x$FILE_MAN_DIR = x    ; then
   10975     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10976 fi
   10977 
   10978 if test x$MISC_MAN_SUFFIX = x    ; then
   10979     case $host_os in
   10980 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10981 	*)		MISC_MAN_SUFFIX=7  ;;
   10982     esac
   10983 fi
   10984 if test x$MISC_MAN_DIR = x    ; then
   10985     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10986 fi
   10987 
   10988 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10989     case $host_os in
   10990 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10991 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10992     esac
   10993 fi
   10994 if test x$DRIVER_MAN_DIR = x    ; then
   10995     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10996 fi
   10997 
   10998 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10999     case $host_os in
   11000 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11001 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11002     esac
   11003 fi
   11004 if test x$ADMIN_MAN_DIR = x    ; then
   11005     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11006 fi
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 XORG_MAN_PAGE="X Version 11"
   11023 
   11024 MAN_SUBSTS="\
   11025 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11026 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11027 	-e 's|__xservername__|Xorg|g' \
   11028 	-e 's|__xconfigfile__|xorg.conf|g' \
   11029 	-e 's|__projectroot__|\$(prefix)|g' \
   11030 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11031 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11032 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11033 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11034 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11035 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11036 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11037 
   11038 
   11039 
   11040 # Check whether --enable-silent-rules was given.
   11041 if test "${enable_silent_rules+set}" = set; then :
   11042   enableval=$enable_silent_rules;
   11043 fi
   11044 
   11045 case $enable_silent_rules in # (((
   11046   yes) AM_DEFAULT_VERBOSITY=0;;
   11047    no) AM_DEFAULT_VERBOSITY=1;;
   11048     *) AM_DEFAULT_VERBOSITY=0;;
   11049 esac
   11050 am_make=${MAKE-make}
   11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11052 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   11053 if ${am_cv_make_support_nested_variables+:} false; then :
   11054   $as_echo_n "(cached) " >&6
   11055 else
   11056   if $as_echo 'TRUE=$(BAR$(V))
   11057 BAR0=false
   11058 BAR1=true
   11059 V=1
   11060 am__doit:
   11061 	@$(TRUE)
   11062 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11063   am_cv_make_support_nested_variables=yes
   11064 else
   11065   am_cv_make_support_nested_variables=no
   11066 fi
   11067 fi
   11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11069 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   11070 if test $am_cv_make_support_nested_variables = yes; then
   11071     AM_V='$(V)'
   11072   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11073 else
   11074   AM_V=$AM_DEFAULT_VERBOSITY
   11075   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11076 fi
   11077 AM_BACKSLASH='\'
   11078 
   11079 
   11080 
   11081 
   11082 # Check whether --enable-devel-docs was given.
   11083 if test "${enable_devel_docs+set}" = set; then :
   11084   enableval=$enable_devel_docs; build_devel_docs=$enableval
   11085 else
   11086   build_devel_docs=yes
   11087 fi
   11088 
   11089 
   11090  if test x$build_devel_docs = xyes; then
   11091   ENABLE_DEVEL_DOCS_TRUE=
   11092   ENABLE_DEVEL_DOCS_FALSE='#'
   11093 else
   11094   ENABLE_DEVEL_DOCS_TRUE='#'
   11095   ENABLE_DEVEL_DOCS_FALSE=
   11096 fi
   11097 
   11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   11099 $as_echo_n "checking whether to build developer documentation... " >&6; }
   11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   11101 $as_echo "$build_devel_docs" >&6; }
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 # Check whether --with-xmlto was given.
   11108 if test "${with_xmlto+set}" = set; then :
   11109   withval=$with_xmlto; use_xmlto=$withval
   11110 else
   11111   use_xmlto=auto
   11112 fi
   11113 
   11114 
   11115 
   11116 if test "x$use_xmlto" = x"auto"; then
   11117    # Extract the first word of "xmlto", so it can be a program name with args.
   11118 set dummy xmlto; ac_word=$2
   11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11120 $as_echo_n "checking for $ac_word... " >&6; }
   11121 if ${ac_cv_path_XMLTO+:} false; then :
   11122   $as_echo_n "(cached) " >&6
   11123 else
   11124   case $XMLTO in
   11125   [\\/]* | ?:[\\/]*)
   11126   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11127   ;;
   11128   *)
   11129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11130 for as_dir in $PATH
   11131 do
   11132   IFS=$as_save_IFS
   11133   test -z "$as_dir" && as_dir=.
   11134     for ac_exec_ext in '' $ac_executable_extensions; do
   11135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11136     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   11137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11138     break 2
   11139   fi
   11140 done
   11141   done
   11142 IFS=$as_save_IFS
   11143 
   11144   ;;
   11145 esac
   11146 fi
   11147 XMLTO=$ac_cv_path_XMLTO
   11148 if test -n "$XMLTO"; then
   11149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11150 $as_echo "$XMLTO" >&6; }
   11151 else
   11152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11153 $as_echo "no" >&6; }
   11154 fi
   11155 
   11156 
   11157    if test "x$XMLTO" = "x"; then
   11158         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   11159 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   11160 	have_xmlto=no
   11161    else
   11162         have_xmlto=yes
   11163    fi
   11164 elif test "x$use_xmlto" = x"yes" ; then
   11165    # Extract the first word of "xmlto", so it can be a program name with args.
   11166 set dummy xmlto; ac_word=$2
   11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11168 $as_echo_n "checking for $ac_word... " >&6; }
   11169 if ${ac_cv_path_XMLTO+:} false; then :
   11170   $as_echo_n "(cached) " >&6
   11171 else
   11172   case $XMLTO in
   11173   [\\/]* | ?:[\\/]*)
   11174   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11175   ;;
   11176   *)
   11177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11178 for as_dir in $PATH
   11179 do
   11180   IFS=$as_save_IFS
   11181   test -z "$as_dir" && as_dir=.
   11182     for ac_exec_ext in '' $ac_executable_extensions; do
   11183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11184     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   11185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11186     break 2
   11187   fi
   11188 done
   11189   done
   11190 IFS=$as_save_IFS
   11191 
   11192   ;;
   11193 esac
   11194 fi
   11195 XMLTO=$ac_cv_path_XMLTO
   11196 if test -n "$XMLTO"; then
   11197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11198 $as_echo "$XMLTO" >&6; }
   11199 else
   11200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11201 $as_echo "no" >&6; }
   11202 fi
   11203 
   11204 
   11205    if test "x$XMLTO" = "x"; then
   11206         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   11207    fi
   11208    have_xmlto=yes
   11209 elif test "x$use_xmlto" = x"no" ; then
   11210    if test "x$XMLTO" != "x"; then
   11211       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   11212 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   11213    fi
   11214    have_xmlto=no
   11215 else
   11216    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   11217 fi
   11218 
   11219 # Test for a minimum version of xmlto, if provided.
   11220 if test "$have_xmlto" = yes; then
   11221     # scrape the xmlto version
   11222     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   11223 $as_echo_n "checking the xmlto version... " >&6; }
   11224     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   11225     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   11226 $as_echo "$xmlto_version" >&6; }
   11227     as_arg_v1=$xmlto_version
   11228 as_arg_v2=0.0.20
   11229 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   11230 case $? in #(
   11231   1) :
   11232     if test "x$use_xmlto" = xauto; then
   11233             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   11234 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   11235             have_xmlto=no
   11236         else
   11237             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   11238         fi ;; #(
   11239   0) :
   11240      ;; #(
   11241   2) :
   11242      ;; #(
   11243   *) :
   11244      ;;
   11245 esac
   11246 fi
   11247 
   11248 # Test for the ability of xmlto to generate a text target
   11249 have_xmlto_text=no
   11250 cat > conftest.xml << "EOF"
   11251 EOF
   11252 if test "$have_xmlto" = yes; then :
   11253   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   11254   have_xmlto_text=yes
   11255 else
   11256   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   11257 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   11258 fi
   11259 fi
   11260 rm -f conftest.xml
   11261  if test $have_xmlto_text = yes; then
   11262   HAVE_XMLTO_TEXT_TRUE=
   11263   HAVE_XMLTO_TEXT_FALSE='#'
   11264 else
   11265   HAVE_XMLTO_TEXT_TRUE='#'
   11266   HAVE_XMLTO_TEXT_FALSE=
   11267 fi
   11268 
   11269  if test "$have_xmlto" = yes; then
   11270   HAVE_XMLTO_TRUE=
   11271   HAVE_XMLTO_FALSE='#'
   11272 else
   11273   HAVE_XMLTO_TRUE='#'
   11274   HAVE_XMLTO_FALSE=
   11275 fi
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 # Check whether --with-fop was given.
   11283 if test "${with_fop+set}" = set; then :
   11284   withval=$with_fop; use_fop=$withval
   11285 else
   11286   use_fop=auto
   11287 fi
   11288 
   11289 
   11290 
   11291 if test "x$use_fop" = x"auto"; then
   11292    # Extract the first word of "fop", so it can be a program name with args.
   11293 set dummy fop; ac_word=$2
   11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11295 $as_echo_n "checking for $ac_word... " >&6; }
   11296 if ${ac_cv_path_FOP+:} false; then :
   11297   $as_echo_n "(cached) " >&6
   11298 else
   11299   case $FOP in
   11300   [\\/]* | ?:[\\/]*)
   11301   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11302   ;;
   11303   *)
   11304   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11305 for as_dir in $PATH
   11306 do
   11307   IFS=$as_save_IFS
   11308   test -z "$as_dir" && as_dir=.
   11309     for ac_exec_ext in '' $ac_executable_extensions; do
   11310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11311     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   11312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11313     break 2
   11314   fi
   11315 done
   11316   done
   11317 IFS=$as_save_IFS
   11318 
   11319   ;;
   11320 esac
   11321 fi
   11322 FOP=$ac_cv_path_FOP
   11323 if test -n "$FOP"; then
   11324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11325 $as_echo "$FOP" >&6; }
   11326 else
   11327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11328 $as_echo "no" >&6; }
   11329 fi
   11330 
   11331 
   11332    if test "x$FOP" = "x"; then
   11333         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   11334 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   11335 	have_fop=no
   11336    else
   11337         have_fop=yes
   11338    fi
   11339 elif test "x$use_fop" = x"yes" ; then
   11340    # Extract the first word of "fop", so it can be a program name with args.
   11341 set dummy fop; ac_word=$2
   11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11343 $as_echo_n "checking for $ac_word... " >&6; }
   11344 if ${ac_cv_path_FOP+:} false; then :
   11345   $as_echo_n "(cached) " >&6
   11346 else
   11347   case $FOP in
   11348   [\\/]* | ?:[\\/]*)
   11349   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   11350   ;;
   11351   *)
   11352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11353 for as_dir in $PATH
   11354 do
   11355   IFS=$as_save_IFS
   11356   test -z "$as_dir" && as_dir=.
   11357     for ac_exec_ext in '' $ac_executable_extensions; do
   11358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11359     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   11360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11361     break 2
   11362   fi
   11363 done
   11364   done
   11365 IFS=$as_save_IFS
   11366 
   11367   ;;
   11368 esac
   11369 fi
   11370 FOP=$ac_cv_path_FOP
   11371 if test -n "$FOP"; then
   11372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   11373 $as_echo "$FOP" >&6; }
   11374 else
   11375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11376 $as_echo "no" >&6; }
   11377 fi
   11378 
   11379 
   11380    if test "x$FOP" = "x"; then
   11381         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   11382    fi
   11383    have_fop=yes
   11384 elif test "x$use_fop" = x"no" ; then
   11385    if test "x$FOP" != "x"; then
   11386       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   11387 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   11388    fi
   11389    have_fop=no
   11390 else
   11391    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   11392 fi
   11393 
   11394 # Test for a minimum version of fop, if provided.
   11395 
   11396  if test "$have_fop" = yes; then
   11397   HAVE_FOP_TRUE=
   11398   HAVE_FOP_FALSE='#'
   11399 else
   11400   HAVE_FOP_TRUE='#'
   11401   HAVE_FOP_FALSE=
   11402 fi
   11403 
   11404 
   11405 
   11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
   11407 $as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
   11408 XORG_SGML_PATH=
   11409 if test -n "$PKG_CONFIG" && \
   11410     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
   11411   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
   11412   ac_status=$?
   11413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11414   test $ac_status = 0; }; then
   11415   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   11416 else
   11417   :
   11418 
   11419 fi
   11420 
   11421 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   11422 # the path and the name of the doc stylesheet
   11423 if test "x$XORG_SGML_PATH" != "x" ; then
   11424    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   11425 $as_echo "$XORG_SGML_PATH" >&6; }
   11426    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   11427    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   11428 else
   11429    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11430 $as_echo "no" >&6; }
   11431 fi
   11432 
   11433 
   11434 
   11435 
   11436  if test "x$XSL_STYLESHEET" != "x"; then
   11437   HAVE_STYLESHEETS_TRUE=
   11438   HAVE_STYLESHEETS_FALSE='#'
   11439 else
   11440   HAVE_STYLESHEETS_TRUE='#'
   11441   HAVE_STYLESHEETS_FALSE=
   11442 fi
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 # Check whether --with-lint was given.
   11451 if test "${with_lint+set}" = set; then :
   11452   withval=$with_lint; use_lint=$withval
   11453 else
   11454   use_lint=no
   11455 fi
   11456 
   11457 
   11458 # Obtain platform specific info like program name and options
   11459 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11460 case $host_os in
   11461   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11462 	lint_name=splint
   11463 	lint_options="-badflag"
   11464 	;;
   11465   *freebsd* | *netbsd*)
   11466 	lint_name=lint
   11467 	lint_options="-u -b"
   11468 	;;
   11469   *solaris*)
   11470 	lint_name=lint
   11471 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11472 	;;
   11473 esac
   11474 
   11475 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11476 if test "x$use_lint" = x"yes" ; then
   11477    # Extract the first word of "$lint_name", so it can be a program name with args.
   11478 set dummy $lint_name; ac_word=$2
   11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11480 $as_echo_n "checking for $ac_word... " >&6; }
   11481 if ${ac_cv_path_LINT+:} false; then :
   11482   $as_echo_n "(cached) " >&6
   11483 else
   11484   case $LINT in
   11485   [\\/]* | ?:[\\/]*)
   11486   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11487   ;;
   11488   *)
   11489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11490 for as_dir in $PATH
   11491 do
   11492   IFS=$as_save_IFS
   11493   test -z "$as_dir" && as_dir=.
   11494     for ac_exec_ext in '' $ac_executable_extensions; do
   11495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11496     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11498     break 2
   11499   fi
   11500 done
   11501   done
   11502 IFS=$as_save_IFS
   11503 
   11504   ;;
   11505 esac
   11506 fi
   11507 LINT=$ac_cv_path_LINT
   11508 if test -n "$LINT"; then
   11509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11510 $as_echo "$LINT" >&6; }
   11511 else
   11512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11513 $as_echo "no" >&6; }
   11514 fi
   11515 
   11516 
   11517    if test "x$LINT" = "x"; then
   11518         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11519    fi
   11520 elif test "x$use_lint" = x"no" ; then
   11521    if test "x$LINT" != "x"; then
   11522       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11523 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11524    fi
   11525 else
   11526    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11527 fi
   11528 
   11529 # User supplied flags override default flags
   11530 if test "x$LINT_FLAGS" != "x"; then
   11531    lint_options=$LINT_FLAGS
   11532 fi
   11533 
   11534 LINT_FLAGS=$lint_options
   11535 
   11536  if test "x$LINT" != x; then
   11537   LINT_TRUE=
   11538   LINT_FALSE='#'
   11539 else
   11540   LINT_TRUE='#'
   11541   LINT_FALSE=
   11542 fi
   11543 
   11544 
   11545 
   11546 
   11547 for ac_header in stdint.h
   11548 do :
   11549   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   11550 if test "x$ac_cv_header_stdint_h" = xyes; then :
   11551   cat >>confdefs.h <<_ACEOF
   11552 #define HAVE_STDINT_H 1
   11553 _ACEOF
   11554 
   11555 fi
   11556 
   11557 done
   11558 
   11559 
   11560 
   11561 # Check whether --with-default-config-file was given.
   11562 if test "${with_default_config_file+set}" = set; then :
   11563   withval=$with_default_config_file; CONFIG_FILE="$withval"
   11564 else
   11565   CONFIG_FILE="${sysconfdir}/X11/fs/config"
   11566 fi
   11567 
   11568 
   11569 DEFAULT_CONFIG_FILE=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\\\\",\\\\\\\\\\\"/'g`
   11570 
   11571   prefix_NONE=
   11572   exec_prefix_NONE=
   11573   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   11574   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   11575   eval ax_define_dir="\"$DEFAULT_CONFIG_FILE\""
   11576   eval ax_define_dir="\"$ax_define_dir\""
   11577   DEFAULT_CONFIG_FILE="$ax_define_dir"
   11578 
   11579 
   11580 cat >>confdefs.h <<_ACEOF
   11581 #define DEFAULT_CONFIG_FILE "$ax_define_dir"
   11582 _ACEOF
   11583 
   11584   test "$prefix_NONE" && prefix=NONE
   11585   test "$exec_prefix_NONE" && exec_prefix=NONE
   11586 
   11587 
   11588 # generate text for the man page
   11589 case $CONFIG_FILE in
   11590     *,*)
   11591 	CONFIG_FILE_DESC="the first file found from the list:"
   11592 	CONFIG_FILE_PATH=`echo ${CONFIG_FILE} | sed 's/,/\\\\\\\\fR, \\\\\\\\fI/g'`
   11593 	;;
   11594     *)
   11595 	CONFIG_FILE_DESC="the default file,"
   11596 	CONFIG_FILE_PATH="${CONFIG_FILE}"
   11597 	;;
   11598 esac
   11599 
   11600 
   11601 
   11602 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   11619 $as_echo_n "checking for root directory for font files... " >&6; }
   11620 
   11621 # Check whether --with-fontrootdir was given.
   11622 if test "${with_fontrootdir+set}" = set; then :
   11623   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   11624 fi
   11625 
   11626 	# if --with-fontrootdir not specified...
   11627 	if test "x${FONTROOTDIR}" = "x"; then
   11628 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   11629 	fi
   11630 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   11631 	if test "x${FONTROOTDIR}" = "x"; then
   11632 		FONTROOTDIR="${datadir}/fonts/X11"
   11633 	fi
   11634 
   11635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   11636 $as_echo "${FONTROOTDIR}" >&6; }
   11637 
   11638 
   11639 
   11640 
   11641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
   11642 $as_echo_n "checking for directory for misc files... " >&6; }
   11643 
   11644 # Check whether --with-fontmiscdir was given.
   11645 if test "${with_fontmiscdir+set}" = set; then :
   11646   withval=$with_fontmiscdir; FONTMISCDIR="${withval}"
   11647 else
   11648   FONTMISCDIR='${FONTROOTDIR}/misc'
   11649 fi
   11650 
   11651 
   11652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTMISCDIR}" >&5
   11653 $as_echo "${FONTMISCDIR}" >&6; }
   11654 
   11655 
   11656 
   11657 
   11658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for OTF files" >&5
   11659 $as_echo_n "checking for directory for OTF files... " >&6; }
   11660 
   11661 # Check whether --with-fontotfdir was given.
   11662 if test "${with_fontotfdir+set}" = set; then :
   11663   withval=$with_fontotfdir; FONTOTFDIR="${withval}"
   11664 else
   11665   FONTOTFDIR='${FONTROOTDIR}/OTF'
   11666 fi
   11667 
   11668 
   11669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTOTFDIR}" >&5
   11670 $as_echo "${FONTOTFDIR}" >&6; }
   11671 
   11672 
   11673 
   11674 
   11675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5
   11676 $as_echo_n "checking for directory for TTF files... " >&6; }
   11677 
   11678 # Check whether --with-fontttfdir was given.
   11679 if test "${with_fontttfdir+set}" = set; then :
   11680   withval=$with_fontttfdir; FONTTTFDIR="${withval}"
   11681 else
   11682   FONTTTFDIR='${FONTROOTDIR}/TTF'
   11683 fi
   11684 
   11685 
   11686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTTFDIR}" >&5
   11687 $as_echo "${FONTTTFDIR}" >&6; }
   11688 
   11689 
   11690 
   11691 
   11692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for Type1 files" >&5
   11693 $as_echo_n "checking for directory for Type1 files... " >&6; }
   11694 
   11695 # Check whether --with-fonttype1dir was given.
   11696 if test "${with_fonttype1dir+set}" = set; then :
   11697   withval=$with_fonttype1dir; FONTTYPE1DIR="${withval}"
   11698 else
   11699   FONTTYPE1DIR='${FONTROOTDIR}/Type1'
   11700 fi
   11701 
   11702 
   11703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTYPE1DIR}" >&5
   11704 $as_echo "${FONTTYPE1DIR}" >&6; }
   11705 
   11706 
   11707 
   11708 
   11709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5
   11710 $as_echo_n "checking for directory for 75dpi files... " >&6; }
   11711 
   11712 # Check whether --with-font75dpidir was given.
   11713 if test "${with_font75dpidir+set}" = set; then :
   11714   withval=$with_font75dpidir; FONT75DPIDIR="${withval}"
   11715 else
   11716   FONT75DPIDIR='${FONTROOTDIR}/75dpi'
   11717 fi
   11718 
   11719 
   11720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT75DPIDIR}" >&5
   11721 $as_echo "${FONT75DPIDIR}" >&6; }
   11722 
   11723 
   11724 
   11725 
   11726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
   11727 $as_echo_n "checking for directory for 100dpi files... " >&6; }
   11728 
   11729 # Check whether --with-font100dpidir was given.
   11730 if test "${with_font100dpidir+set}" = set; then :
   11731   withval=$with_font100dpidir; FONT100DPIDIR="${withval}"
   11732 else
   11733   FONT100DPIDIR='${FONTROOTDIR}/100dpi'
   11734 fi
   11735 
   11736 
   11737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT100DPIDIR}" >&5
   11738 $as_echo "${FONT100DPIDIR}" >&6; }
   11739 
   11740 
   11741 # Determine font path to put in config file
   11742 # Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d,
   11743 # otherwise uses standard subdirectories of FONTROOTDIR. When cross
   11744 # compiling, assume default font path uses standard FONTROOTDIR directories.
   11745 DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
   11746 if test "$cross_compiling" != yes; then
   11747 	as_ac_File=`$as_echo "ac_cv_file_${sysconfdir}/X11/fontpath.d" | $as_tr_sh`
   11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sysconfdir}/X11/fontpath.d" >&5
   11749 $as_echo_n "checking for ${sysconfdir}/X11/fontpath.d... " >&6; }
   11750 if eval \${$as_ac_File+:} false; then :
   11751   $as_echo_n "(cached) " >&6
   11752 else
   11753   test "$cross_compiling" = yes &&
   11754   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11755 if test -r "${sysconfdir}/X11/fontpath.d"; then
   11756   eval "$as_ac_File=yes"
   11757 else
   11758   eval "$as_ac_File=no"
   11759 fi
   11760 fi
   11761 eval ac_res=\$$as_ac_File
   11762 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11763 $as_echo "$ac_res" >&6; }
   11764 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   11765   DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'
   11766 else
   11767   case $host_os in
   11768 			darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
   11769 		esac
   11770 fi
   11771 
   11772 fi
   11773 
   11774 # Check whether --with-default-font-path was given.
   11775 if test "${with_default_font_path+set}" = set; then :
   11776   withval=$with_default_font_path;  FONTPATH="$withval"
   11777 else
   11778    FONTPATH="${DEFAULT_FONT_PATH}"
   11779 fi
   11780 
   11781 
   11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default font path" >&5
   11783 $as_echo_n "checking for default font path... " >&6; }
   11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTPATH" >&5
   11785 $as_echo "$FONTPATH" >&6; }
   11786 
   11787 
   11788 
   11789 # Option to enable support for starting from inetd
   11790 # Check whether --enable-inetd was given.
   11791 if test "${enable_inetd+set}" = set; then :
   11792   enableval=$enable_inetd; INETD=$enableval
   11793 else
   11794   INETD=yes
   11795 fi
   11796 
   11797 if test "x$INETD" = xyes; then
   11798 
   11799 $as_echo "#define XFS_INETD 1" >>confdefs.h
   11800 
   11801 fi
   11802 
   11803 # Option to enable support for logging to syslog
   11804 # Check whether --enable-syslog was given.
   11805 if test "${enable_syslog+set}" = set; then :
   11806   enableval=$enable_syslog; SYSLOG=$enableval
   11807 else
   11808   SYSLOG=yes
   11809 fi
   11810 
   11811 if test "x$SYSLOG" = xyes; then
   11812 
   11813 $as_echo "#define USE_SYSLOG 1" >>confdefs.h
   11814 
   11815 fi
   11816 
   11817 
   11818 # Checks for system functions / libraries
   11819 for ac_func in daemon
   11820 do :
   11821   ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
   11822 if test "x$ac_cv_func_daemon" = xyes; then :
   11823   cat >>confdefs.h <<_ACEOF
   11824 #define HAVE_DAEMON 1
   11825 _ACEOF
   11826 
   11827 fi
   11828 done
   11829 
   11830 
   11831 # Checks for pkg-config packages
   11832 #  - xproto >= 7.0.17 required for _X_NORETURN in <X11/Xfuncproto.h>
   11833 #  - xfont >= 2.0.1 for new server API
   11834 
   11835 pkg_failed=no
   11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFS" >&5
   11837 $as_echo_n "checking for XFS... " >&6; }
   11838 
   11839 if test -n "$XFS_CFLAGS"; then
   11840     pkg_cv_XFS_CFLAGS="$XFS_CFLAGS"
   11841  elif test -n "$PKG_CONFIG"; then
   11842     if test -n "$PKG_CONFIG" && \
   11843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans\""; } >&5
   11844   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans") 2>&5
   11845   ac_status=$?
   11846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11847   test $ac_status = 0; }; then
   11848   pkg_cv_XFS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>/dev/null`
   11849 		      test "x$?" != "x0" && pkg_failed=yes
   11850 else
   11851   pkg_failed=yes
   11852 fi
   11853  else
   11854     pkg_failed=untried
   11855 fi
   11856 if test -n "$XFS_LIBS"; then
   11857     pkg_cv_XFS_LIBS="$XFS_LIBS"
   11858  elif test -n "$PKG_CONFIG"; then
   11859     if test -n "$PKG_CONFIG" && \
   11860     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans\""; } >&5
   11861   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans") 2>&5
   11862   ac_status=$?
   11863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11864   test $ac_status = 0; }; then
   11865   pkg_cv_XFS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>/dev/null`
   11866 		      test "x$?" != "x0" && pkg_failed=yes
   11867 else
   11868   pkg_failed=yes
   11869 fi
   11870  else
   11871     pkg_failed=untried
   11872 fi
   11873 
   11874 
   11875 
   11876 if test $pkg_failed = yes; then
   11877    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11878 $as_echo "no" >&6; }
   11879 
   11880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11881         _pkg_short_errors_supported=yes
   11882 else
   11883         _pkg_short_errors_supported=no
   11884 fi
   11885         if test $_pkg_short_errors_supported = yes; then
   11886 	        XFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>&1`
   11887         else
   11888 	        XFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans" 2>&1`
   11889         fi
   11890 	# Put the nasty error message in config.log where it belongs
   11891 	echo "$XFS_PKG_ERRORS" >&5
   11892 
   11893 	as_fn_error $? "Package requirements (xproto >= 7.0.17 xfont2 >= 2.0.1 xtrans) were not met:
   11894 
   11895 $XFS_PKG_ERRORS
   11896 
   11897 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11898 installed software in a non-standard prefix.
   11899 
   11900 Alternatively, you may set the environment variables XFS_CFLAGS
   11901 and XFS_LIBS to avoid the need to call pkg-config.
   11902 See the pkg-config man page for more details." "$LINENO" 5
   11903 elif test $pkg_failed = untried; then
   11904      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11905 $as_echo "no" >&6; }
   11906 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11908 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11909 is in your PATH or set the PKG_CONFIG environment variable to the full
   11910 path to pkg-config.
   11911 
   11912 Alternatively, you may set the environment variables XFS_CFLAGS
   11913 and XFS_LIBS to avoid the need to call pkg-config.
   11914 See the pkg-config man page for more details.
   11915 
   11916 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11917 See \`config.log' for more details" "$LINENO" 5; }
   11918 else
   11919 	XFS_CFLAGS=$pkg_cv_XFS_CFLAGS
   11920 	XFS_LIBS=$pkg_cv_XFS_LIBS
   11921         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11922 $as_echo "yes" >&6; }
   11923 
   11924 fi
   11925 
   11926 case "$host_os" in
   11927   cygwin*|mingw*)
   11928     CFLAGS="$CFLAGS -DFD_SETSIZE=256"
   11929     LDFLAGS="$LDFLAGS -Wl,--export-all" ;;
   11930 esac
   11931 
   11932 # Transport selection macro from xtrans.m4
   11933 
   11934 
   11935  case $host_os in
   11936 	mingw*)	unixdef="no"   ;;
   11937 	*)	unixdef="yes"  ;;
   11938  esac
   11939  # Check whether --enable-unix-transport was given.
   11940 if test "${enable_unix_transport+set}" = set; then :
   11941   enableval=$enable_unix_transport; UNIXCONN=$enableval
   11942 else
   11943   UNIXCONN=$unixdef
   11944 fi
   11945 
   11946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   11947 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   11948  if test "$UNIXCONN" = "yes"; then
   11949 
   11950 $as_echo "#define UNIXCONN 1" >>confdefs.h
   11951 
   11952  fi
   11953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   11954 $as_echo "$UNIXCONN" >&6; }
   11955  # Check whether --enable-tcp-transport was given.
   11956 if test "${enable_tcp_transport+set}" = set; then :
   11957   enableval=$enable_tcp_transport; TCPCONN=$enableval
   11958 else
   11959   TCPCONN=yes
   11960 fi
   11961 
   11962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   11963 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   11964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   11965 $as_echo "$TCPCONN" >&6; }
   11966  if test "$TCPCONN" = "yes"; then
   11967 
   11968 $as_echo "#define TCPCONN 1" >>confdefs.h
   11969 
   11970 
   11971  # SVR4 hides these in libraries other than libc
   11972  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   11973 $as_echo_n "checking for library containing socket... " >&6; }
   11974 if ${ac_cv_search_socket+:} false; then :
   11975   $as_echo_n "(cached) " >&6
   11976 else
   11977   ac_func_search_save_LIBS=$LIBS
   11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11979 /* end confdefs.h.  */
   11980 
   11981 /* Override any GCC internal prototype to avoid an error.
   11982    Use char because int might match the return type of a GCC
   11983    builtin and then its argument prototype would still apply.  */
   11984 #ifdef __cplusplus
   11985 extern "C"
   11986 #endif
   11987 char socket ();
   11988 int
   11989 main ()
   11990 {
   11991 return socket ();
   11992   ;
   11993   return 0;
   11994 }
   11995 _ACEOF
   11996 for ac_lib in '' socket; do
   11997   if test -z "$ac_lib"; then
   11998     ac_res="none required"
   11999   else
   12000     ac_res=-l$ac_lib
   12001     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12002   fi
   12003   if ac_fn_c_try_link "$LINENO"; then :
   12004   ac_cv_search_socket=$ac_res
   12005 fi
   12006 rm -f core conftest.err conftest.$ac_objext \
   12007     conftest$ac_exeext
   12008   if ${ac_cv_search_socket+:} false; then :
   12009   break
   12010 fi
   12011 done
   12012 if ${ac_cv_search_socket+:} false; then :
   12013 
   12014 else
   12015   ac_cv_search_socket=no
   12016 fi
   12017 rm conftest.$ac_ext
   12018 LIBS=$ac_func_search_save_LIBS
   12019 fi
   12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   12021 $as_echo "$ac_cv_search_socket" >&6; }
   12022 ac_res=$ac_cv_search_socket
   12023 if test "$ac_res" != no; then :
   12024   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12025 
   12026 fi
   12027 
   12028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   12029 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   12030 if ${ac_cv_search_gethostbyname+:} false; then :
   12031   $as_echo_n "(cached) " >&6
   12032 else
   12033   ac_func_search_save_LIBS=$LIBS
   12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12035 /* end confdefs.h.  */
   12036 
   12037 /* Override any GCC internal prototype to avoid an error.
   12038    Use char because int might match the return type of a GCC
   12039    builtin and then its argument prototype would still apply.  */
   12040 #ifdef __cplusplus
   12041 extern "C"
   12042 #endif
   12043 char gethostbyname ();
   12044 int
   12045 main ()
   12046 {
   12047 return gethostbyname ();
   12048   ;
   12049   return 0;
   12050 }
   12051 _ACEOF
   12052 for ac_lib in '' nsl; do
   12053   if test -z "$ac_lib"; then
   12054     ac_res="none required"
   12055   else
   12056     ac_res=-l$ac_lib
   12057     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12058   fi
   12059   if ac_fn_c_try_link "$LINENO"; then :
   12060   ac_cv_search_gethostbyname=$ac_res
   12061 fi
   12062 rm -f core conftest.err conftest.$ac_objext \
   12063     conftest$ac_exeext
   12064   if ${ac_cv_search_gethostbyname+:} false; then :
   12065   break
   12066 fi
   12067 done
   12068 if ${ac_cv_search_gethostbyname+:} false; then :
   12069 
   12070 else
   12071   ac_cv_search_gethostbyname=no
   12072 fi
   12073 rm conftest.$ac_ext
   12074 LIBS=$ac_func_search_save_LIBS
   12075 fi
   12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   12077 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   12078 ac_res=$ac_cv_search_gethostbyname
   12079 if test "$ac_res" != no; then :
   12080   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   12081 
   12082 fi
   12083 
   12084  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   12085    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   12086 $as_echo_n "checking for main in -lws2_32... " >&6; }
   12087 if ${ac_cv_lib_ws2_32_main+:} false; then :
   12088   $as_echo_n "(cached) " >&6
   12089 else
   12090   ac_check_lib_save_LIBS=$LIBS
   12091 LIBS="-lws2_32  $LIBS"
   12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12093 /* end confdefs.h.  */
   12094 
   12095 
   12096 int
   12097 main ()
   12098 {
   12099 return main ();
   12100   ;
   12101   return 0;
   12102 }
   12103 _ACEOF
   12104 if ac_fn_c_try_link "$LINENO"; then :
   12105   ac_cv_lib_ws2_32_main=yes
   12106 else
   12107   ac_cv_lib_ws2_32_main=no
   12108 fi
   12109 rm -f core conftest.err conftest.$ac_objext \
   12110     conftest$ac_exeext conftest.$ac_ext
   12111 LIBS=$ac_check_lib_save_LIBS
   12112 fi
   12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   12114 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   12115 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   12116   cat >>confdefs.h <<_ACEOF
   12117 #define HAVE_LIBWS2_32 1
   12118 _ACEOF
   12119 
   12120   LIBS="-lws2_32 $LIBS"
   12121 
   12122 fi
   12123 
   12124  fi
   12125 
   12126  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   12127  # Check whether --enable-ipv6 was given.
   12128 if test "${enable_ipv6+set}" = set; then :
   12129   enableval=$enable_ipv6; IPV6CONN=$enableval
   12130 else
   12131   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   12132 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   12133   IPV6CONN=yes
   12134 else
   12135   IPV6CONN=no
   12136 fi
   12137 
   12138 fi
   12139 
   12140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   12141 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   12142  if test "$IPV6CONN" = "yes"; then
   12143 
   12144 $as_echo "#define IPv6 1" >>confdefs.h
   12145 
   12146  fi
   12147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   12148 $as_echo "$IPV6CONN" >&6; }
   12149 
   12150  # 4.3BSD-Reno added a new member to struct sockaddr_in
   12151  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   12152 #include <sys/types.h>
   12153 #include <sys/socket.h>
   12154 #include <netinet/in.h>
   12155 
   12156 "
   12157 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   12158 
   12159 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   12160 
   12161 fi
   12162 
   12163 
   12164  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   12165  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   12166 $ac_includes_default
   12167 #include <sys/socket.h>
   12168 "
   12169 if test "x$ac_cv_type_socklen_t" = xyes; then :
   12170 
   12171 cat >>confdefs.h <<_ACEOF
   12172 #define HAVE_SOCKLEN_T 1
   12173 _ACEOF
   12174 
   12175 
   12176 fi
   12177 
   12178 
   12179  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   12180  # _XOPEN_SOURCE to get it (such as on Solaris)
   12181  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   12182 $ac_includes_default
   12183 #include <sys/socket.h>
   12184 
   12185 "
   12186 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   12187 
   12188 fi
   12189 
   12190  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   12191  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   12192      unset ac_cv_member_struct_msghdr_msg_control
   12193      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   12194 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   12195      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   12196 #define _XOPEN_SOURCE 600
   12197 $ac_includes_default
   12198 #include <sys/socket.h>
   12199 
   12200 "
   12201 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   12202 
   12203 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   12204 
   12205 
   12206 fi
   12207 
   12208  fi
   12209  # If that didn't work, fall back to XPG5/UNIX98 with C89
   12210  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   12211      unset ac_cv_member_struct_msghdr_msg_control
   12212      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   12213 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   12214      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   12215 #define _XOPEN_SOURCE 500
   12216 $ac_includes_default
   12217 #include <sys/socket.h>
   12218 
   12219 "
   12220 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   12221 
   12222 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   12223 
   12224 
   12225 fi
   12226 
   12227  fi
   12228 
   12229 
   12230 
   12231  fi
   12232  case $host_os in
   12233 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   12234 	*)			localdef="no"  ;;
   12235  esac
   12236  # Check whether --enable-local-transport was given.
   12237 if test "${enable_local_transport+set}" = set; then :
   12238   enableval=$enable_local_transport; LOCALCONN=$enableval
   12239 else
   12240   LOCALCONN=$localdef
   12241 fi
   12242 
   12243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   12244 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   12245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   12246 $as_echo "$LOCALCONN" >&6; }
   12247  if test "$LOCALCONN" = "yes"; then
   12248 
   12249 $as_echo "#define LOCALCONN 1" >>confdefs.h
   12250 
   12251  fi
   12252 
   12253 
   12254 
   12255 ac_config_files="$ac_config_files Makefile config/Makefile doc/Makefile man/Makefile"
   12256 
   12257 cat >confcache <<\_ACEOF
   12258 # This file is a shell script that caches the results of configure
   12259 # tests run on this system so they can be shared between configure
   12260 # scripts and configure runs, see configure's option --config-cache.
   12261 # It is not useful on other systems.  If it contains results you don't
   12262 # want to keep, you may remove or edit it.
   12263 #
   12264 # config.status only pays attention to the cache file if you give it
   12265 # the --recheck option to rerun configure.
   12266 #
   12267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12269 # following values.
   12270 
   12271 _ACEOF
   12272 
   12273 # The following way of writing the cache mishandles newlines in values,
   12274 # but we know of no workaround that is simple, portable, and efficient.
   12275 # So, we kill variables containing newlines.
   12276 # Ultrix sh set writes to stderr and can't be redirected directly,
   12277 # and sets the high bit in the cache file unless we assign to the vars.
   12278 (
   12279   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12280     eval ac_val=\$$ac_var
   12281     case $ac_val in #(
   12282     *${as_nl}*)
   12283       case $ac_var in #(
   12284       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12286       esac
   12287       case $ac_var in #(
   12288       _ | IFS | as_nl) ;; #(
   12289       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12290       *) { eval $ac_var=; unset $ac_var;} ;;
   12291       esac ;;
   12292     esac
   12293   done
   12294 
   12295   (set) 2>&1 |
   12296     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12297     *${as_nl}ac_space=\ *)
   12298       # `set' does not quote correctly, so add quotes: double-quote
   12299       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12300       sed -n \
   12301 	"s/'/'\\\\''/g;
   12302 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12303       ;; #(
   12304     *)
   12305       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12306       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12307       ;;
   12308     esac |
   12309     sort
   12310 ) |
   12311   sed '
   12312      /^ac_cv_env_/b end
   12313      t clear
   12314      :clear
   12315      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12316      t end
   12317      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12318      :end' >>confcache
   12319 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12320   if test -w "$cache_file"; then
   12321     if test "x$cache_file" != "x/dev/null"; then
   12322       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12323 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12324       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12325 	cat confcache >"$cache_file"
   12326       else
   12327         case $cache_file in #(
   12328         */* | ?:*)
   12329 	  mv -f confcache "$cache_file"$$ &&
   12330 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12331         *)
   12332 	  mv -f confcache "$cache_file" ;;
   12333 	esac
   12334       fi
   12335     fi
   12336   else
   12337     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12338 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12339   fi
   12340 fi
   12341 rm -f confcache
   12342 
   12343 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12344 # Let make expand exec_prefix.
   12345 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12346 
   12347 DEFS=-DHAVE_CONFIG_H
   12348 
   12349 ac_libobjs=
   12350 ac_ltlibobjs=
   12351 U=
   12352 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12353   # 1. Remove the extension, and $U if already installed.
   12354   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12355   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12356   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12357   #    will be set to the directory where LIBOBJS objects are built.
   12358   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12359   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12360 done
   12361 LIBOBJS=$ac_libobjs
   12362 
   12363 LTLIBOBJS=$ac_ltlibobjs
   12364 
   12365 
   12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12367 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   12368    if test -n "$am_sleep_pid"; then
   12369      # Hide warnings about reused PIDs.
   12370      wait $am_sleep_pid 2>/dev/null
   12371    fi
   12372    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12373 $as_echo "done" >&6; }
   12374 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12375   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12377 fi
   12378 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12379   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12381 fi
   12382  if test -n "$EXEEXT"; then
   12383   am__EXEEXT_TRUE=
   12384   am__EXEEXT_FALSE='#'
   12385 else
   12386   am__EXEEXT_TRUE='#'
   12387   am__EXEEXT_FALSE=
   12388 fi
   12389 
   12390 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   12391   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   12392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12393 fi
   12394 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12395   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12397 fi
   12398 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12399   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12401 fi
   12402 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12403   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12405 fi
   12406 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12407   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12409 fi
   12410 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12411   as_fn_error $? "conditional \"LINT\" was never defined.
   12412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12413 fi
   12414 
   12415 : "${CONFIG_STATUS=./config.status}"
   12416 ac_write_fail=0
   12417 ac_clean_files_save=$ac_clean_files
   12418 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12419 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12420 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12421 as_write_fail=0
   12422 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12423 #! $SHELL
   12424 # Generated by $as_me.
   12425 # Run this file to recreate the current configuration.
   12426 # Compiler output produced by configure, useful for debugging
   12427 # configure, is in config.log if it exists.
   12428 
   12429 debug=false
   12430 ac_cs_recheck=false
   12431 ac_cs_silent=false
   12432 
   12433 SHELL=\${CONFIG_SHELL-$SHELL}
   12434 export SHELL
   12435 _ASEOF
   12436 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12437 ## -------------------- ##
   12438 ## M4sh Initialization. ##
   12439 ## -------------------- ##
   12440 
   12441 # Be more Bourne compatible
   12442 DUALCASE=1; export DUALCASE # for MKS sh
   12443 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12444   emulate sh
   12445   NULLCMD=:
   12446   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12447   # is contrary to our usage.  Disable this feature.
   12448   alias -g '${1+"$@"}'='"$@"'
   12449   setopt NO_GLOB_SUBST
   12450 else
   12451   case `(set -o) 2>/dev/null` in #(
   12452   *posix*) :
   12453     set -o posix ;; #(
   12454   *) :
   12455      ;;
   12456 esac
   12457 fi
   12458 
   12459 
   12460 as_nl='
   12461 '
   12462 export as_nl
   12463 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12464 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12466 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12467 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12468 # but without wasting forks for bash or zsh.
   12469 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12470     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12471   as_echo='print -r --'
   12472   as_echo_n='print -rn --'
   12473 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12474   as_echo='printf %s\n'
   12475   as_echo_n='printf %s'
   12476 else
   12477   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12478     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12479     as_echo_n='/usr/ucb/echo -n'
   12480   else
   12481     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12482     as_echo_n_body='eval
   12483       arg=$1;
   12484       case $arg in #(
   12485       *"$as_nl"*)
   12486 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12487 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12488       esac;
   12489       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12490     '
   12491     export as_echo_n_body
   12492     as_echo_n='sh -c $as_echo_n_body as_echo'
   12493   fi
   12494   export as_echo_body
   12495   as_echo='sh -c $as_echo_body as_echo'
   12496 fi
   12497 
   12498 # The user is always right.
   12499 if test "${PATH_SEPARATOR+set}" != set; then
   12500   PATH_SEPARATOR=:
   12501   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12502     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12503       PATH_SEPARATOR=';'
   12504   }
   12505 fi
   12506 
   12507 
   12508 # IFS
   12509 # We need space, tab and new line, in precisely that order.  Quoting is
   12510 # there to prevent editors from complaining about space-tab.
   12511 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12512 # splitting by setting IFS to empty value.)
   12513 IFS=" ""	$as_nl"
   12514 
   12515 # Find who we are.  Look in the path if we contain no directory separator.
   12516 as_myself=
   12517 case $0 in #((
   12518   *[\\/]* ) as_myself=$0 ;;
   12519   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12520 for as_dir in $PATH
   12521 do
   12522   IFS=$as_save_IFS
   12523   test -z "$as_dir" && as_dir=.
   12524     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12525   done
   12526 IFS=$as_save_IFS
   12527 
   12528      ;;
   12529 esac
   12530 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12531 # in which case we are not to be found in the path.
   12532 if test "x$as_myself" = x; then
   12533   as_myself=$0
   12534 fi
   12535 if test ! -f "$as_myself"; then
   12536   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12537   exit 1
   12538 fi
   12539 
   12540 # Unset variables that we do not need and which cause bugs (e.g. in
   12541 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12542 # suppresses any "Segmentation fault" message there.  '((' could
   12543 # trigger a bug in pdksh 5.2.14.
   12544 for as_var in BASH_ENV ENV MAIL MAILPATH
   12545 do eval test x\${$as_var+set} = xset \
   12546   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12547 done
   12548 PS1='$ '
   12549 PS2='> '
   12550 PS4='+ '
   12551 
   12552 # NLS nuisances.
   12553 LC_ALL=C
   12554 export LC_ALL
   12555 LANGUAGE=C
   12556 export LANGUAGE
   12557 
   12558 # CDPATH.
   12559 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12560 
   12561 
   12562 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12563 # ----------------------------------------
   12564 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12565 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12566 # script with STATUS, using 1 if that was 0.
   12567 as_fn_error ()
   12568 {
   12569   as_status=$1; test $as_status -eq 0 && as_status=1
   12570   if test "$4"; then
   12571     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12572     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12573   fi
   12574   $as_echo "$as_me: error: $2" >&2
   12575   as_fn_exit $as_status
   12576 } # as_fn_error
   12577 
   12578 
   12579 # as_fn_set_status STATUS
   12580 # -----------------------
   12581 # Set $? to STATUS, without forking.
   12582 as_fn_set_status ()
   12583 {
   12584   return $1
   12585 } # as_fn_set_status
   12586 
   12587 # as_fn_exit STATUS
   12588 # -----------------
   12589 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12590 as_fn_exit ()
   12591 {
   12592   set +e
   12593   as_fn_set_status $1
   12594   exit $1
   12595 } # as_fn_exit
   12596 
   12597 # as_fn_unset VAR
   12598 # ---------------
   12599 # Portably unset VAR.
   12600 as_fn_unset ()
   12601 {
   12602   { eval $1=; unset $1;}
   12603 }
   12604 as_unset=as_fn_unset
   12605 # as_fn_append VAR VALUE
   12606 # ----------------------
   12607 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12608 # advantage of any shell optimizations that allow amortized linear growth over
   12609 # repeated appends, instead of the typical quadratic growth present in naive
   12610 # implementations.
   12611 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12612   eval 'as_fn_append ()
   12613   {
   12614     eval $1+=\$2
   12615   }'
   12616 else
   12617   as_fn_append ()
   12618   {
   12619     eval $1=\$$1\$2
   12620   }
   12621 fi # as_fn_append
   12622 
   12623 # as_fn_arith ARG...
   12624 # ------------------
   12625 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12626 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12627 # must be portable across $(()) and expr.
   12628 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12629   eval 'as_fn_arith ()
   12630   {
   12631     as_val=$(( $* ))
   12632   }'
   12633 else
   12634   as_fn_arith ()
   12635   {
   12636     as_val=`expr "$@" || test $? -eq 1`
   12637   }
   12638 fi # as_fn_arith
   12639 
   12640 
   12641 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12642    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12643   as_expr=expr
   12644 else
   12645   as_expr=false
   12646 fi
   12647 
   12648 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12649   as_basename=basename
   12650 else
   12651   as_basename=false
   12652 fi
   12653 
   12654 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12655   as_dirname=dirname
   12656 else
   12657   as_dirname=false
   12658 fi
   12659 
   12660 as_me=`$as_basename -- "$0" ||
   12661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12662 	 X"$0" : 'X\(//\)$' \| \
   12663 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12664 $as_echo X/"$0" |
   12665     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12666 	    s//\1/
   12667 	    q
   12668 	  }
   12669 	  /^X\/\(\/\/\)$/{
   12670 	    s//\1/
   12671 	    q
   12672 	  }
   12673 	  /^X\/\(\/\).*/{
   12674 	    s//\1/
   12675 	    q
   12676 	  }
   12677 	  s/.*/./; q'`
   12678 
   12679 # Avoid depending upon Character Ranges.
   12680 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12681 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12682 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12683 as_cr_digits='0123456789'
   12684 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12685 
   12686 ECHO_C= ECHO_N= ECHO_T=
   12687 case `echo -n x` in #(((((
   12688 -n*)
   12689   case `echo 'xy\c'` in
   12690   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12691   xy)  ECHO_C='\c';;
   12692   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12693        ECHO_T='	';;
   12694   esac;;
   12695 *)
   12696   ECHO_N='-n';;
   12697 esac
   12698 
   12699 rm -f conf$$ conf$$.exe conf$$.file
   12700 if test -d conf$$.dir; then
   12701   rm -f conf$$.dir/conf$$.file
   12702 else
   12703   rm -f conf$$.dir
   12704   mkdir conf$$.dir 2>/dev/null
   12705 fi
   12706 if (echo >conf$$.file) 2>/dev/null; then
   12707   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12708     as_ln_s='ln -s'
   12709     # ... but there are two gotchas:
   12710     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12711     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12712     # In both cases, we have to default to `cp -pR'.
   12713     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12714       as_ln_s='cp -pR'
   12715   elif ln conf$$.file conf$$ 2>/dev/null; then
   12716     as_ln_s=ln
   12717   else
   12718     as_ln_s='cp -pR'
   12719   fi
   12720 else
   12721   as_ln_s='cp -pR'
   12722 fi
   12723 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12724 rmdir conf$$.dir 2>/dev/null
   12725 
   12726 
   12727 # as_fn_mkdir_p
   12728 # -------------
   12729 # Create "$as_dir" as a directory, including parents if necessary.
   12730 as_fn_mkdir_p ()
   12731 {
   12732 
   12733   case $as_dir in #(
   12734   -*) as_dir=./$as_dir;;
   12735   esac
   12736   test -d "$as_dir" || eval $as_mkdir_p || {
   12737     as_dirs=
   12738     while :; do
   12739       case $as_dir in #(
   12740       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12741       *) as_qdir=$as_dir;;
   12742       esac
   12743       as_dirs="'$as_qdir' $as_dirs"
   12744       as_dir=`$as_dirname -- "$as_dir" ||
   12745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12746 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12747 	 X"$as_dir" : 'X\(//\)$' \| \
   12748 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12749 $as_echo X"$as_dir" |
   12750     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12751 	    s//\1/
   12752 	    q
   12753 	  }
   12754 	  /^X\(\/\/\)[^/].*/{
   12755 	    s//\1/
   12756 	    q
   12757 	  }
   12758 	  /^X\(\/\/\)$/{
   12759 	    s//\1/
   12760 	    q
   12761 	  }
   12762 	  /^X\(\/\).*/{
   12763 	    s//\1/
   12764 	    q
   12765 	  }
   12766 	  s/.*/./; q'`
   12767       test -d "$as_dir" && break
   12768     done
   12769     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12770   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12771 
   12772 
   12773 } # as_fn_mkdir_p
   12774 if mkdir -p . 2>/dev/null; then
   12775   as_mkdir_p='mkdir -p "$as_dir"'
   12776 else
   12777   test -d ./-p && rmdir ./-p
   12778   as_mkdir_p=false
   12779 fi
   12780 
   12781 
   12782 # as_fn_executable_p FILE
   12783 # -----------------------
   12784 # Test if FILE is an executable regular file.
   12785 as_fn_executable_p ()
   12786 {
   12787   test -f "$1" && test -x "$1"
   12788 } # as_fn_executable_p
   12789 as_test_x='test -x'
   12790 as_executable_p=as_fn_executable_p
   12791 
   12792 # Sed expression to map a string onto a valid CPP name.
   12793 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12794 
   12795 # Sed expression to map a string onto a valid variable name.
   12796 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12797 
   12798 
   12799 exec 6>&1
   12800 ## ----------------------------------- ##
   12801 ## Main body of $CONFIG_STATUS script. ##
   12802 ## ----------------------------------- ##
   12803 _ASEOF
   12804 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12805 
   12806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12807 # Save the log message, to keep $0 and so on meaningful, and to
   12808 # report actual input values of CONFIG_FILES etc. instead of their
   12809 # values after options handling.
   12810 ac_log="
   12811 This file was extended by xfs $as_me 1.2.0, which was
   12812 generated by GNU Autoconf 2.69.  Invocation command line was
   12813 
   12814   CONFIG_FILES    = $CONFIG_FILES
   12815   CONFIG_HEADERS  = $CONFIG_HEADERS
   12816   CONFIG_LINKS    = $CONFIG_LINKS
   12817   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12818   $ $0 $@
   12819 
   12820 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12821 "
   12822 
   12823 _ACEOF
   12824 
   12825 case $ac_config_files in *"
   12826 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12827 esac
   12828 
   12829 case $ac_config_headers in *"
   12830 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12831 esac
   12832 
   12833 
   12834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12835 # Files that config.status was made for.
   12836 config_files="$ac_config_files"
   12837 config_headers="$ac_config_headers"
   12838 config_commands="$ac_config_commands"
   12839 
   12840 _ACEOF
   12841 
   12842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12843 ac_cs_usage="\
   12844 \`$as_me' instantiates files and other configuration actions
   12845 from templates according to the current configuration.  Unless the files
   12846 and actions are specified as TAGs, all are instantiated by default.
   12847 
   12848 Usage: $0 [OPTION]... [TAG]...
   12849 
   12850   -h, --help       print this help, then exit
   12851   -V, --version    print version number and configuration settings, then exit
   12852       --config     print configuration, then exit
   12853   -q, --quiet, --silent
   12854                    do not print progress messages
   12855   -d, --debug      don't remove temporary files
   12856       --recheck    update $as_me by reconfiguring in the same conditions
   12857       --file=FILE[:TEMPLATE]
   12858                    instantiate the configuration file FILE
   12859       --header=FILE[:TEMPLATE]
   12860                    instantiate the configuration header FILE
   12861 
   12862 Configuration files:
   12863 $config_files
   12864 
   12865 Configuration headers:
   12866 $config_headers
   12867 
   12868 Configuration commands:
   12869 $config_commands
   12870 
   12871 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12872 
   12873 _ACEOF
   12874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12875 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12876 ac_cs_version="\\
   12877 xfs config.status 1.2.0
   12878 configured by $0, generated by GNU Autoconf 2.69,
   12879   with options \\"\$ac_cs_config\\"
   12880 
   12881 Copyright (C) 2012 Free Software Foundation, Inc.
   12882 This config.status script is free software; the Free Software Foundation
   12883 gives unlimited permission to copy, distribute and modify it."
   12884 
   12885 ac_pwd='$ac_pwd'
   12886 srcdir='$srcdir'
   12887 INSTALL='$INSTALL'
   12888 MKDIR_P='$MKDIR_P'
   12889 AWK='$AWK'
   12890 test -n "\$AWK" || AWK=awk
   12891 _ACEOF
   12892 
   12893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12894 # The default lists apply if the user does not specify any file.
   12895 ac_need_defaults=:
   12896 while test $# != 0
   12897 do
   12898   case $1 in
   12899   --*=?*)
   12900     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12901     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12902     ac_shift=:
   12903     ;;
   12904   --*=)
   12905     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12906     ac_optarg=
   12907     ac_shift=:
   12908     ;;
   12909   *)
   12910     ac_option=$1
   12911     ac_optarg=$2
   12912     ac_shift=shift
   12913     ;;
   12914   esac
   12915 
   12916   case $ac_option in
   12917   # Handling of the options.
   12918   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12919     ac_cs_recheck=: ;;
   12920   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12921     $as_echo "$ac_cs_version"; exit ;;
   12922   --config | --confi | --conf | --con | --co | --c )
   12923     $as_echo "$ac_cs_config"; exit ;;
   12924   --debug | --debu | --deb | --de | --d | -d )
   12925     debug=: ;;
   12926   --file | --fil | --fi | --f )
   12927     $ac_shift
   12928     case $ac_optarg in
   12929     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12930     '') as_fn_error $? "missing file argument" ;;
   12931     esac
   12932     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12933     ac_need_defaults=false;;
   12934   --header | --heade | --head | --hea )
   12935     $ac_shift
   12936     case $ac_optarg in
   12937     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12938     esac
   12939     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12940     ac_need_defaults=false;;
   12941   --he | --h)
   12942     # Conflict between --help and --header
   12943     as_fn_error $? "ambiguous option: \`$1'
   12944 Try \`$0 --help' for more information.";;
   12945   --help | --hel | -h )
   12946     $as_echo "$ac_cs_usage"; exit ;;
   12947   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12948   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12949     ac_cs_silent=: ;;
   12950 
   12951   # This is an error.
   12952   -*) as_fn_error $? "unrecognized option: \`$1'
   12953 Try \`$0 --help' for more information." ;;
   12954 
   12955   *) as_fn_append ac_config_targets " $1"
   12956      ac_need_defaults=false ;;
   12957 
   12958   esac
   12959   shift
   12960 done
   12961 
   12962 ac_configure_extra_args=
   12963 
   12964 if $ac_cs_silent; then
   12965   exec 6>/dev/null
   12966   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12967 fi
   12968 
   12969 _ACEOF
   12970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12971 if \$ac_cs_recheck; then
   12972   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12973   shift
   12974   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12975   CONFIG_SHELL='$SHELL'
   12976   export CONFIG_SHELL
   12977   exec "\$@"
   12978 fi
   12979 
   12980 _ACEOF
   12981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12982 exec 5>>config.log
   12983 {
   12984   echo
   12985   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12986 ## Running $as_me. ##
   12987 _ASBOX
   12988   $as_echo "$ac_log"
   12989 } >&5
   12990 
   12991 _ACEOF
   12992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12993 #
   12994 # INIT-COMMANDS
   12995 #
   12996 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12997 
   12998 _ACEOF
   12999 
   13000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13001 
   13002 # Handling of arguments.
   13003 for ac_config_target in $ac_config_targets
   13004 do
   13005   case $ac_config_target in
   13006     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13007     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13008     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13009     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   13010     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   13011     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13012 
   13013   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13014   esac
   13015 done
   13016 
   13017 
   13018 # If the user did not use the arguments to specify the items to instantiate,
   13019 # then the envvar interface is used.  Set only those that are not.
   13020 # We use the long form for the default assignment because of an extremely
   13021 # bizarre bug on SunOS 4.1.3.
   13022 if $ac_need_defaults; then
   13023   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13024   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13025   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13026 fi
   13027 
   13028 # Have a temporary directory for convenience.  Make it in the build tree
   13029 # simply because there is no reason against having it here, and in addition,
   13030 # creating and moving files from /tmp can sometimes cause problems.
   13031 # Hook for its removal unless debugging.
   13032 # Note that there is a small window in which the directory will not be cleaned:
   13033 # after its creation but before its name has been assigned to `$tmp'.
   13034 $debug ||
   13035 {
   13036   tmp= ac_tmp=
   13037   trap 'exit_status=$?
   13038   : "${ac_tmp:=$tmp}"
   13039   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13040 ' 0
   13041   trap 'as_fn_exit 1' 1 2 13 15
   13042 }
   13043 # Create a (secure) tmp directory for tmp files.
   13044 
   13045 {
   13046   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13047   test -d "$tmp"
   13048 }  ||
   13049 {
   13050   tmp=./conf$$-$RANDOM
   13051   (umask 077 && mkdir "$tmp")
   13052 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13053 ac_tmp=$tmp
   13054 
   13055 # Set up the scripts for CONFIG_FILES section.
   13056 # No need to generate them if there are no CONFIG_FILES.
   13057 # This happens for instance with `./config.status config.h'.
   13058 if test -n "$CONFIG_FILES"; then
   13059 
   13060 
   13061 ac_cr=`echo X | tr X '\015'`
   13062 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13063 # But we know of no other shell where ac_cr would be empty at this
   13064 # point, so we can use a bashism as a fallback.
   13065 if test "x$ac_cr" = x; then
   13066   eval ac_cr=\$\'\\r\'
   13067 fi
   13068 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13069 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13070   ac_cs_awk_cr='\\r'
   13071 else
   13072   ac_cs_awk_cr=$ac_cr
   13073 fi
   13074 
   13075 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13076 _ACEOF
   13077 
   13078 
   13079 {
   13080   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13081   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13082   echo "_ACEOF"
   13083 } >conf$$subs.sh ||
   13084   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13085 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13086 ac_delim='%!_!# '
   13087 for ac_last_try in false false false false false :; do
   13088   . ./conf$$subs.sh ||
   13089     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13090 
   13091   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13092   if test $ac_delim_n = $ac_delim_num; then
   13093     break
   13094   elif $ac_last_try; then
   13095     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13096   else
   13097     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13098   fi
   13099 done
   13100 rm -f conf$$subs.sh
   13101 
   13102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13103 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13104 _ACEOF
   13105 sed -n '
   13106 h
   13107 s/^/S["/; s/!.*/"]=/
   13108 p
   13109 g
   13110 s/^[^!]*!//
   13111 :repl
   13112 t repl
   13113 s/'"$ac_delim"'$//
   13114 t delim
   13115 :nl
   13116 h
   13117 s/\(.\{148\}\)..*/\1/
   13118 t more1
   13119 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13120 p
   13121 n
   13122 b repl
   13123 :more1
   13124 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13125 p
   13126 g
   13127 s/.\{148\}//
   13128 t nl
   13129 :delim
   13130 h
   13131 s/\(.\{148\}\)..*/\1/
   13132 t more2
   13133 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13134 p
   13135 b
   13136 :more2
   13137 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13138 p
   13139 g
   13140 s/.\{148\}//
   13141 t delim
   13142 ' <conf$$subs.awk | sed '
   13143 /^[^""]/{
   13144   N
   13145   s/\n//
   13146 }
   13147 ' >>$CONFIG_STATUS || ac_write_fail=1
   13148 rm -f conf$$subs.awk
   13149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13150 _ACAWK
   13151 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13152   for (key in S) S_is_set[key] = 1
   13153   FS = ""
   13154 
   13155 }
   13156 {
   13157   line = $ 0
   13158   nfields = split(line, field, "@")
   13159   substed = 0
   13160   len = length(field[1])
   13161   for (i = 2; i < nfields; i++) {
   13162     key = field[i]
   13163     keylen = length(key)
   13164     if (S_is_set[key]) {
   13165       value = S[key]
   13166       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13167       len += length(value) + length(field[++i])
   13168       substed = 1
   13169     } else
   13170       len += 1 + keylen
   13171   }
   13172 
   13173   print line
   13174 }
   13175 
   13176 _ACAWK
   13177 _ACEOF
   13178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13179 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13180   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13181 else
   13182   cat
   13183 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13184   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13185 _ACEOF
   13186 
   13187 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13188 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13189 # trailing colons and then remove the whole line if VPATH becomes empty
   13190 # (actually we leave an empty line to preserve line numbers).
   13191 if test "x$srcdir" = x.; then
   13192   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13193 h
   13194 s///
   13195 s/^/:/
   13196 s/[	 ]*$/:/
   13197 s/:\$(srcdir):/:/g
   13198 s/:\${srcdir}:/:/g
   13199 s/:@srcdir@:/:/g
   13200 s/^:*//
   13201 s/:*$//
   13202 x
   13203 s/\(=[	 ]*\).*/\1/
   13204 G
   13205 s/\n//
   13206 s/^[^=]*=[	 ]*$//
   13207 }'
   13208 fi
   13209 
   13210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13211 fi # test -n "$CONFIG_FILES"
   13212 
   13213 # Set up the scripts for CONFIG_HEADERS section.
   13214 # No need to generate them if there are no CONFIG_HEADERS.
   13215 # This happens for instance with `./config.status Makefile'.
   13216 if test -n "$CONFIG_HEADERS"; then
   13217 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13218 BEGIN {
   13219 _ACEOF
   13220 
   13221 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13222 # here-document in config.status, that substitutes the proper values into
   13223 # config.h.in to produce config.h.
   13224 
   13225 # Create a delimiter string that does not exist in confdefs.h, to ease
   13226 # handling of long lines.
   13227 ac_delim='%!_!# '
   13228 for ac_last_try in false false :; do
   13229   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13230   if test -z "$ac_tt"; then
   13231     break
   13232   elif $ac_last_try; then
   13233     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13234   else
   13235     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13236   fi
   13237 done
   13238 
   13239 # For the awk script, D is an array of macro values keyed by name,
   13240 # likewise P contains macro parameters if any.  Preserve backslash
   13241 # newline sequences.
   13242 
   13243 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13244 sed -n '
   13245 s/.\{148\}/&'"$ac_delim"'/g
   13246 t rset
   13247 :rset
   13248 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13249 t def
   13250 d
   13251 :def
   13252 s/\\$//
   13253 t bsnl
   13254 s/["\\]/\\&/g
   13255 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13256 D["\1"]=" \3"/p
   13257 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13258 d
   13259 :bsnl
   13260 s/["\\]/\\&/g
   13261 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13262 D["\1"]=" \3\\\\\\n"\\/p
   13263 t cont
   13264 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13265 t cont
   13266 d
   13267 :cont
   13268 n
   13269 s/.\{148\}/&'"$ac_delim"'/g
   13270 t clear
   13271 :clear
   13272 s/\\$//
   13273 t bsnlc
   13274 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13275 d
   13276 :bsnlc
   13277 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13278 b cont
   13279 ' <confdefs.h | sed '
   13280 s/'"$ac_delim"'/"\\\
   13281 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13282 
   13283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13284   for (key in D) D_is_set[key] = 1
   13285   FS = ""
   13286 }
   13287 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13288   line = \$ 0
   13289   split(line, arg, " ")
   13290   if (arg[1] == "#") {
   13291     defundef = arg[2]
   13292     mac1 = arg[3]
   13293   } else {
   13294     defundef = substr(arg[1], 2)
   13295     mac1 = arg[2]
   13296   }
   13297   split(mac1, mac2, "(") #)
   13298   macro = mac2[1]
   13299   prefix = substr(line, 1, index(line, defundef) - 1)
   13300   if (D_is_set[macro]) {
   13301     # Preserve the white space surrounding the "#".
   13302     print prefix "define", macro P[macro] D[macro]
   13303     next
   13304   } else {
   13305     # Replace #undef with comments.  This is necessary, for example,
   13306     # in the case of _POSIX_SOURCE, which is predefined and required
   13307     # on some systems where configure will not decide to define it.
   13308     if (defundef == "undef") {
   13309       print "/*", prefix defundef, macro, "*/"
   13310       next
   13311     }
   13312   }
   13313 }
   13314 { print }
   13315 _ACAWK
   13316 _ACEOF
   13317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13318   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13319 fi # test -n "$CONFIG_HEADERS"
   13320 
   13321 
   13322 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13323 shift
   13324 for ac_tag
   13325 do
   13326   case $ac_tag in
   13327   :[FHLC]) ac_mode=$ac_tag; continue;;
   13328   esac
   13329   case $ac_mode$ac_tag in
   13330   :[FHL]*:*);;
   13331   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13332   :[FH]-) ac_tag=-:-;;
   13333   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13334   esac
   13335   ac_save_IFS=$IFS
   13336   IFS=:
   13337   set x $ac_tag
   13338   IFS=$ac_save_IFS
   13339   shift
   13340   ac_file=$1
   13341   shift
   13342 
   13343   case $ac_mode in
   13344   :L) ac_source=$1;;
   13345   :[FH])
   13346     ac_file_inputs=
   13347     for ac_f
   13348     do
   13349       case $ac_f in
   13350       -) ac_f="$ac_tmp/stdin";;
   13351       *) # Look for the file first in the build tree, then in the source tree
   13352 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13353 	 # because $ac_f cannot contain `:'.
   13354 	 test -f "$ac_f" ||
   13355 	   case $ac_f in
   13356 	   [\\/$]*) false;;
   13357 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13358 	   esac ||
   13359 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13360       esac
   13361       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13362       as_fn_append ac_file_inputs " '$ac_f'"
   13363     done
   13364 
   13365     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13366     # use $as_me), people would be surprised to read:
   13367     #    /* config.h.  Generated by config.status.  */
   13368     configure_input='Generated from '`
   13369 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13370 	`' by configure.'
   13371     if test x"$ac_file" != x-; then
   13372       configure_input="$ac_file.  $configure_input"
   13373       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13374 $as_echo "$as_me: creating $ac_file" >&6;}
   13375     fi
   13376     # Neutralize special characters interpreted by sed in replacement strings.
   13377     case $configure_input in #(
   13378     *\&* | *\|* | *\\* )
   13379        ac_sed_conf_input=`$as_echo "$configure_input" |
   13380        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13381     *) ac_sed_conf_input=$configure_input;;
   13382     esac
   13383 
   13384     case $ac_tag in
   13385     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13386       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13387     esac
   13388     ;;
   13389   esac
   13390 
   13391   ac_dir=`$as_dirname -- "$ac_file" ||
   13392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13393 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13394 	 X"$ac_file" : 'X\(//\)$' \| \
   13395 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13396 $as_echo X"$ac_file" |
   13397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13398 	    s//\1/
   13399 	    q
   13400 	  }
   13401 	  /^X\(\/\/\)[^/].*/{
   13402 	    s//\1/
   13403 	    q
   13404 	  }
   13405 	  /^X\(\/\/\)$/{
   13406 	    s//\1/
   13407 	    q
   13408 	  }
   13409 	  /^X\(\/\).*/{
   13410 	    s//\1/
   13411 	    q
   13412 	  }
   13413 	  s/.*/./; q'`
   13414   as_dir="$ac_dir"; as_fn_mkdir_p
   13415   ac_builddir=.
   13416 
   13417 case "$ac_dir" in
   13418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13419 *)
   13420   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13421   # A ".." for each directory in $ac_dir_suffix.
   13422   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13423   case $ac_top_builddir_sub in
   13424   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13425   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13426   esac ;;
   13427 esac
   13428 ac_abs_top_builddir=$ac_pwd
   13429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13430 # for backward compatibility:
   13431 ac_top_builddir=$ac_top_build_prefix
   13432 
   13433 case $srcdir in
   13434   .)  # We are building in place.
   13435     ac_srcdir=.
   13436     ac_top_srcdir=$ac_top_builddir_sub
   13437     ac_abs_top_srcdir=$ac_pwd ;;
   13438   [\\/]* | ?:[\\/]* )  # Absolute name.
   13439     ac_srcdir=$srcdir$ac_dir_suffix;
   13440     ac_top_srcdir=$srcdir
   13441     ac_abs_top_srcdir=$srcdir ;;
   13442   *) # Relative name.
   13443     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13444     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13445     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13446 esac
   13447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13448 
   13449 
   13450   case $ac_mode in
   13451   :F)
   13452   #
   13453   # CONFIG_FILE
   13454   #
   13455 
   13456   case $INSTALL in
   13457   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13458   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13459   esac
   13460   ac_MKDIR_P=$MKDIR_P
   13461   case $MKDIR_P in
   13462   [\\/$]* | ?:[\\/]* ) ;;
   13463   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13464   esac
   13465 _ACEOF
   13466 
   13467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13468 # If the template does not know about datarootdir, expand it.
   13469 # FIXME: This hack should be removed a few years after 2.60.
   13470 ac_datarootdir_hack=; ac_datarootdir_seen=
   13471 ac_sed_dataroot='
   13472 /datarootdir/ {
   13473   p
   13474   q
   13475 }
   13476 /@datadir@/p
   13477 /@docdir@/p
   13478 /@infodir@/p
   13479 /@localedir@/p
   13480 /@mandir@/p'
   13481 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13482 *datarootdir*) ac_datarootdir_seen=yes;;
   13483 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13484   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13485 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13486 _ACEOF
   13487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13488   ac_datarootdir_hack='
   13489   s&@datadir@&$datadir&g
   13490   s&@docdir@&$docdir&g
   13491   s&@infodir@&$infodir&g
   13492   s&@localedir@&$localedir&g
   13493   s&@mandir@&$mandir&g
   13494   s&\\\${datarootdir}&$datarootdir&g' ;;
   13495 esac
   13496 _ACEOF
   13497 
   13498 # Neutralize VPATH when `$srcdir' = `.'.
   13499 # Shell code in configure.ac might set extrasub.
   13500 # FIXME: do we really want to maintain this feature?
   13501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13502 ac_sed_extra="$ac_vpsub
   13503 $extrasub
   13504 _ACEOF
   13505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13506 :t
   13507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13508 s|@configure_input@|$ac_sed_conf_input|;t t
   13509 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13510 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13511 s&@srcdir@&$ac_srcdir&;t t
   13512 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13513 s&@top_srcdir@&$ac_top_srcdir&;t t
   13514 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13515 s&@builddir@&$ac_builddir&;t t
   13516 s&@abs_builddir@&$ac_abs_builddir&;t t
   13517 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13518 s&@INSTALL@&$ac_INSTALL&;t t
   13519 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13520 $ac_datarootdir_hack
   13521 "
   13522 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13523   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13524 
   13525 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13526   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13527   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13528       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13529   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13530 which seems to be undefined.  Please make sure it is defined" >&5
   13531 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13532 which seems to be undefined.  Please make sure it is defined" >&2;}
   13533 
   13534   rm -f "$ac_tmp/stdin"
   13535   case $ac_file in
   13536   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13537   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13538   esac \
   13539   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13540  ;;
   13541   :H)
   13542   #
   13543   # CONFIG_HEADER
   13544   #
   13545   if test x"$ac_file" != x-; then
   13546     {
   13547       $as_echo "/* $configure_input  */" \
   13548       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13549     } >"$ac_tmp/config.h" \
   13550       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13551     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13552       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13553 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13554     else
   13555       rm -f "$ac_file"
   13556       mv "$ac_tmp/config.h" "$ac_file" \
   13557 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13558     fi
   13559   else
   13560     $as_echo "/* $configure_input  */" \
   13561       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13562       || as_fn_error $? "could not create -" "$LINENO" 5
   13563   fi
   13564 # Compute "$ac_file"'s index in $config_headers.
   13565 _am_arg="$ac_file"
   13566 _am_stamp_count=1
   13567 for _am_header in $config_headers :; do
   13568   case $_am_header in
   13569     $_am_arg | $_am_arg:* )
   13570       break ;;
   13571     * )
   13572       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13573   esac
   13574 done
   13575 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13576 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13577 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13578 	 X"$_am_arg" : 'X\(//\)$' \| \
   13579 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13580 $as_echo X"$_am_arg" |
   13581     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13582 	    s//\1/
   13583 	    q
   13584 	  }
   13585 	  /^X\(\/\/\)[^/].*/{
   13586 	    s//\1/
   13587 	    q
   13588 	  }
   13589 	  /^X\(\/\/\)$/{
   13590 	    s//\1/
   13591 	    q
   13592 	  }
   13593 	  /^X\(\/\).*/{
   13594 	    s//\1/
   13595 	    q
   13596 	  }
   13597 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13598  ;;
   13599 
   13600   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13601 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13602  ;;
   13603   esac
   13604 
   13605 
   13606   case $ac_file$ac_mode in
   13607     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13608   # Older Autoconf quotes --file arguments for eval, but not when files
   13609   # are listed without --file.  Let's play safe and only enable the eval
   13610   # if we detect the quoting.
   13611   case $CONFIG_FILES in
   13612   *\'*) eval set x "$CONFIG_FILES" ;;
   13613   *)   set x $CONFIG_FILES ;;
   13614   esac
   13615   shift
   13616   for mf
   13617   do
   13618     # Strip MF so we end up with the name of the file.
   13619     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13620     # Check whether this is an Automake generated Makefile or not.
   13621     # We used to match only the files named 'Makefile.in', but
   13622     # some people rename them; so instead we look at the file content.
   13623     # Grep'ing the first line is not enough: some people post-process
   13624     # each Makefile.in and add a new line on top of each file to say so.
   13625     # Grep'ing the whole file is not good either: AIX grep has a line
   13626     # limit of 2048, but all sed's we know have understand at least 4000.
   13627     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13628       dirpart=`$as_dirname -- "$mf" ||
   13629 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13630 	 X"$mf" : 'X\(//\)[^/]' \| \
   13631 	 X"$mf" : 'X\(//\)$' \| \
   13632 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13633 $as_echo X"$mf" |
   13634     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13635 	    s//\1/
   13636 	    q
   13637 	  }
   13638 	  /^X\(\/\/\)[^/].*/{
   13639 	    s//\1/
   13640 	    q
   13641 	  }
   13642 	  /^X\(\/\/\)$/{
   13643 	    s//\1/
   13644 	    q
   13645 	  }
   13646 	  /^X\(\/\).*/{
   13647 	    s//\1/
   13648 	    q
   13649 	  }
   13650 	  s/.*/./; q'`
   13651     else
   13652       continue
   13653     fi
   13654     # Extract the definition of DEPDIR, am__include, and am__quote
   13655     # from the Makefile without running 'make'.
   13656     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13657     test -z "$DEPDIR" && continue
   13658     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13659     test -z "$am__include" && continue
   13660     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13661     # Find all dependency output files, they are included files with
   13662     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13663     # simplest approach to changing $(DEPDIR) to its actual value in the
   13664     # expansion.
   13665     for file in `sed -n "
   13666       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13667 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   13668       # Make sure the directory exists.
   13669       test -f "$dirpart/$file" && continue
   13670       fdir=`$as_dirname -- "$file" ||
   13671 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13672 	 X"$file" : 'X\(//\)[^/]' \| \
   13673 	 X"$file" : 'X\(//\)$' \| \
   13674 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13675 $as_echo X"$file" |
   13676     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13677 	    s//\1/
   13678 	    q
   13679 	  }
   13680 	  /^X\(\/\/\)[^/].*/{
   13681 	    s//\1/
   13682 	    q
   13683 	  }
   13684 	  /^X\(\/\/\)$/{
   13685 	    s//\1/
   13686 	    q
   13687 	  }
   13688 	  /^X\(\/\).*/{
   13689 	    s//\1/
   13690 	    q
   13691 	  }
   13692 	  s/.*/./; q'`
   13693       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13694       # echo "creating $dirpart/$file"
   13695       echo '# dummy' > "$dirpart/$file"
   13696     done
   13697   done
   13698 }
   13699  ;;
   13700 
   13701   esac
   13702 done # for ac_tag
   13703 
   13704 
   13705 as_fn_exit 0
   13706 _ACEOF
   13707 ac_clean_files=$ac_clean_files_save
   13708 
   13709 test $ac_write_fail = 0 ||
   13710   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13711 
   13712 
   13713 # configure is writing to config.log, and then calls config.status.
   13714 # config.status does its own redirection, appending to config.log.
   13715 # Unfortunately, on DOS this fails, as config.log is still kept open
   13716 # by configure, so config.status won't be able to write to it; its
   13717 # output is simply discarded.  So we exec the FD to /dev/null,
   13718 # effectively closing config.log, so it can be properly (re)opened and
   13719 # appended to by config.status.  When coming back to configure, we
   13720 # need to make the FD available again.
   13721 if test "$no_create" != yes; then
   13722   ac_cs_success=:
   13723   ac_config_status_args=
   13724   test "$silent" = yes &&
   13725     ac_config_status_args="$ac_config_status_args --quiet"
   13726   exec 5>/dev/null
   13727   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13728   exec 5>>config.log
   13729   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13730   # would make configure fail if this is the last instruction.
   13731   $ac_cs_success || as_fn_exit 1
   13732 fi
   13733 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13734   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13735 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13736 fi
   13737 
   13738