Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xwininfo 1.1.4.
      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 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xwininfo'
    583 PACKAGE_TARNAME='xwininfo'
    584 PACKAGE_VERSION='1.1.4'
    585 PACKAGE_STRING='xwininfo 1.1.4'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 XLIB_LIBS
    630 XLIB_CFLAGS
    631 XWININFO_LIBS
    632 XWININFO_CFLAGS
    633 LIBOBJS
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 SED
    649 INSTALL_CMD
    650 PKG_CONFIG_LIBDIR
    651 PKG_CONFIG_PATH
    652 PKG_CONFIG
    653 CHANGELOG_CMD
    654 STRICT_CFLAGS
    655 CWARNFLAGS
    656 BASE_CFLAGS
    657 LTLIBICONV
    658 LIBICONV
    659 host_os
    660 host_vendor
    661 host_cpu
    662 host
    663 build_os
    664 build_vendor
    665 build_cpu
    666 build
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 am__untar
    682 am__tar
    683 AMTAR
    684 am__leading_dot
    685 SET_MAKE
    686 AWK
    687 mkdir_p
    688 MKDIR_P
    689 INSTALL_STRIP_PROGRAM
    690 STRIP
    691 install_sh
    692 MAKEINFO
    693 AUTOHEADER
    694 AUTOMAKE
    695 AUTOCONF
    696 ACLOCAL
    697 VERSION
    698 PACKAGE
    699 CYGPATH_W
    700 am__isrc
    701 INSTALL_DATA
    702 INSTALL_SCRIPT
    703 INSTALL_PROGRAM
    704 EGREP
    705 GREP
    706 CPP
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_dependency_tracking
    756 enable_silent_rules
    757 with_gnu_ld
    758 enable_rpath
    759 with_libiconv_prefix
    760 enable_selective_werror
    761 enable_strict_compilation
    762 with_xcb_icccm
    763 '
    764       ac_precious_vars='build_alias
    765 host_alias
    766 target_alias
    767 CC
    768 CFLAGS
    769 LDFLAGS
    770 LIBS
    771 CPPFLAGS
    772 CPP
    773 PKG_CONFIG
    774 PKG_CONFIG_PATH
    775 PKG_CONFIG_LIBDIR
    776 XWININFO_CFLAGS
    777 XWININFO_LIBS
    778 XLIB_CFLAGS
    779 XLIB_LIBS'
    780 
    781 
    782 # Initialize some variables set by options.
    783 ac_init_help=
    784 ac_init_version=false
    785 ac_unrecognized_opts=
    786 ac_unrecognized_sep=
    787 # The variables have the same names as the options, with
    788 # dashes changed to underlines.
    789 cache_file=/dev/null
    790 exec_prefix=NONE
    791 no_create=
    792 no_recursion=
    793 prefix=NONE
    794 program_prefix=NONE
    795 program_suffix=NONE
    796 program_transform_name=s,x,x,
    797 silent=
    798 site=
    799 srcdir=
    800 verbose=
    801 x_includes=NONE
    802 x_libraries=NONE
    803 
    804 # Installation directory options.
    805 # These are left unexpanded so users can "make install exec_prefix=/foo"
    806 # and all the variables that are supposed to be based on exec_prefix
    807 # by default will actually change.
    808 # Use braces instead of parens because sh, perl, etc. also accept them.
    809 # (The list follows the same order as the GNU Coding Standards.)
    810 bindir='${exec_prefix}/bin'
    811 sbindir='${exec_prefix}/sbin'
    812 libexecdir='${exec_prefix}/libexec'
    813 datarootdir='${prefix}/share'
    814 datadir='${datarootdir}'
    815 sysconfdir='${prefix}/etc'
    816 sharedstatedir='${prefix}/com'
    817 localstatedir='${prefix}/var'
    818 includedir='${prefix}/include'
    819 oldincludedir='/usr/include'
    820 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    821 infodir='${datarootdir}/info'
    822 htmldir='${docdir}'
    823 dvidir='${docdir}'
    824 pdfdir='${docdir}'
    825 psdir='${docdir}'
    826 libdir='${exec_prefix}/lib'
    827 localedir='${datarootdir}/locale'
    828 mandir='${datarootdir}/man'
    829 
    830 ac_prev=
    831 ac_dashdash=
    832 for ac_option
    833 do
    834   # If the previous option needs an argument, assign it.
    835   if test -n "$ac_prev"; then
    836     eval $ac_prev=\$ac_option
    837     ac_prev=
    838     continue
    839   fi
    840 
    841   case $ac_option in
    842   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    843   *=)   ac_optarg= ;;
    844   *)    ac_optarg=yes ;;
    845   esac
    846 
    847   # Accept the important Cygnus configure options, so we can diagnose typos.
    848 
    849   case $ac_dashdash$ac_option in
    850   --)
    851     ac_dashdash=yes ;;
    852 
    853   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    854     ac_prev=bindir ;;
    855   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    856     bindir=$ac_optarg ;;
    857 
    858   -build | --build | --buil | --bui | --bu)
    859     ac_prev=build_alias ;;
    860   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    861     build_alias=$ac_optarg ;;
    862 
    863   -cache-file | --cache-file | --cache-fil | --cache-fi \
    864   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    865     ac_prev=cache_file ;;
    866   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    867   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    868     cache_file=$ac_optarg ;;
    869 
    870   --config-cache | -C)
    871     cache_file=config.cache ;;
    872 
    873   -datadir | --datadir | --datadi | --datad)
    874     ac_prev=datadir ;;
    875   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    876     datadir=$ac_optarg ;;
    877 
    878   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    879   | --dataroo | --dataro | --datar)
    880     ac_prev=datarootdir ;;
    881   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    882   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    883     datarootdir=$ac_optarg ;;
    884 
    885   -disable-* | --disable-*)
    886     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    887     # Reject names that are not valid shell variable names.
    888     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       as_fn_error $? "invalid feature name: $ac_useropt"
    890     ac_useropt_orig=$ac_useropt
    891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    892     case $ac_user_opts in
    893       *"
    894 "enable_$ac_useropt"
    895 "*) ;;
    896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    897 	 ac_unrecognized_sep=', ';;
    898     esac
    899     eval enable_$ac_useropt=no ;;
    900 
    901   -docdir | --docdir | --docdi | --doc | --do)
    902     ac_prev=docdir ;;
    903   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    904     docdir=$ac_optarg ;;
    905 
    906   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    907     ac_prev=dvidir ;;
    908   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    909     dvidir=$ac_optarg ;;
    910 
    911   -enable-* | --enable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: $ac_useropt"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=\$ac_optarg ;;
    926 
    927   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    928   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    929   | --exec | --exe | --ex)
    930     ac_prev=exec_prefix ;;
    931   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    932   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    933   | --exec=* | --exe=* | --ex=*)
    934     exec_prefix=$ac_optarg ;;
    935 
    936   -gas | --gas | --ga | --g)
    937     # Obsolete; use --with-gas.
    938     with_gas=yes ;;
    939 
    940   -help | --help | --hel | --he | -h)
    941     ac_init_help=long ;;
    942   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    943     ac_init_help=recursive ;;
    944   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    945     ac_init_help=short ;;
    946 
    947   -host | --host | --hos | --ho)
    948     ac_prev=host_alias ;;
    949   -host=* | --host=* | --hos=* | --ho=*)
    950     host_alias=$ac_optarg ;;
    951 
    952   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    953     ac_prev=htmldir ;;
    954   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    955   | --ht=*)
    956     htmldir=$ac_optarg ;;
    957 
    958   -includedir | --includedir | --includedi | --included | --include \
    959   | --includ | --inclu | --incl | --inc)
    960     ac_prev=includedir ;;
    961   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    962   | --includ=* | --inclu=* | --incl=* | --inc=*)
    963     includedir=$ac_optarg ;;
    964 
    965   -infodir | --infodir | --infodi | --infod | --info | --inf)
    966     ac_prev=infodir ;;
    967   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    968     infodir=$ac_optarg ;;
    969 
    970   -libdir | --libdir | --libdi | --libd)
    971     ac_prev=libdir ;;
    972   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    973     libdir=$ac_optarg ;;
    974 
    975   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    976   | --libexe | --libex | --libe)
    977     ac_prev=libexecdir ;;
    978   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    979   | --libexe=* | --libex=* | --libe=*)
    980     libexecdir=$ac_optarg ;;
    981 
    982   -localedir | --localedir | --localedi | --localed | --locale)
    983     ac_prev=localedir ;;
    984   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    985     localedir=$ac_optarg ;;
    986 
    987   -localstatedir | --localstatedir | --localstatedi | --localstated \
    988   | --localstate | --localstat | --localsta | --localst | --locals)
    989     ac_prev=localstatedir ;;
    990   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    991   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    992     localstatedir=$ac_optarg ;;
    993 
    994   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    995     ac_prev=mandir ;;
    996   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    997     mandir=$ac_optarg ;;
    998 
    999   -nfp | --nfp | --nf)
   1000     # Obsolete; use --without-fp.
   1001     with_fp=no ;;
   1002 
   1003   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1004   | --no-cr | --no-c | -n)
   1005     no_create=yes ;;
   1006 
   1007   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1008   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1009     no_recursion=yes ;;
   1010 
   1011   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1012   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1013   | --oldin | --oldi | --old | --ol | --o)
   1014     ac_prev=oldincludedir ;;
   1015   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1016   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1017   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1018     oldincludedir=$ac_optarg ;;
   1019 
   1020   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1021     ac_prev=prefix ;;
   1022   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1023     prefix=$ac_optarg ;;
   1024 
   1025   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1026   | --program-pre | --program-pr | --program-p)
   1027     ac_prev=program_prefix ;;
   1028   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1029   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1030     program_prefix=$ac_optarg ;;
   1031 
   1032   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1033   | --program-suf | --program-su | --program-s)
   1034     ac_prev=program_suffix ;;
   1035   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1036   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1037     program_suffix=$ac_optarg ;;
   1038 
   1039   -program-transform-name | --program-transform-name \
   1040   | --program-transform-nam | --program-transform-na \
   1041   | --program-transform-n | --program-transform- \
   1042   | --program-transform | --program-transfor \
   1043   | --program-transfo | --program-transf \
   1044   | --program-trans | --program-tran \
   1045   | --progr-tra | --program-tr | --program-t)
   1046     ac_prev=program_transform_name ;;
   1047   -program-transform-name=* | --program-transform-name=* \
   1048   | --program-transform-nam=* | --program-transform-na=* \
   1049   | --program-transform-n=* | --program-transform-=* \
   1050   | --program-transform=* | --program-transfor=* \
   1051   | --program-transfo=* | --program-transf=* \
   1052   | --program-trans=* | --program-tran=* \
   1053   | --progr-tra=* | --program-tr=* | --program-t=*)
   1054     program_transform_name=$ac_optarg ;;
   1055 
   1056   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1057     ac_prev=pdfdir ;;
   1058   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1059     pdfdir=$ac_optarg ;;
   1060 
   1061   -psdir | --psdir | --psdi | --psd | --ps)
   1062     ac_prev=psdir ;;
   1063   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1064     psdir=$ac_optarg ;;
   1065 
   1066   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1067   | -silent | --silent | --silen | --sile | --sil)
   1068     silent=yes ;;
   1069 
   1070   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1071     ac_prev=sbindir ;;
   1072   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1073   | --sbi=* | --sb=*)
   1074     sbindir=$ac_optarg ;;
   1075 
   1076   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1077   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1078   | --sharedst | --shareds | --shared | --share | --shar \
   1079   | --sha | --sh)
   1080     ac_prev=sharedstatedir ;;
   1081   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1082   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1083   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1084   | --sha=* | --sh=*)
   1085     sharedstatedir=$ac_optarg ;;
   1086 
   1087   -site | --site | --sit)
   1088     ac_prev=site ;;
   1089   -site=* | --site=* | --sit=*)
   1090     site=$ac_optarg ;;
   1091 
   1092   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1093     ac_prev=srcdir ;;
   1094   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1095     srcdir=$ac_optarg ;;
   1096 
   1097   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1098   | --syscon | --sysco | --sysc | --sys | --sy)
   1099     ac_prev=sysconfdir ;;
   1100   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1101   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1102     sysconfdir=$ac_optarg ;;
   1103 
   1104   -target | --target | --targe | --targ | --tar | --ta | --t)
   1105     ac_prev=target_alias ;;
   1106   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1107     target_alias=$ac_optarg ;;
   1108 
   1109   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1110     verbose=yes ;;
   1111 
   1112   -version | --version | --versio | --versi | --vers | -V)
   1113     ac_init_version=: ;;
   1114 
   1115   -with-* | --with-*)
   1116     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1117     # Reject names that are not valid shell variable names.
   1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1119       as_fn_error $? "invalid package name: $ac_useropt"
   1120     ac_useropt_orig=$ac_useropt
   1121     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1122     case $ac_user_opts in
   1123       *"
   1124 "with_$ac_useropt"
   1125 "*) ;;
   1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1127 	 ac_unrecognized_sep=', ';;
   1128     esac
   1129     eval with_$ac_useropt=\$ac_optarg ;;
   1130 
   1131   -without-* | --without-*)
   1132     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1133     # Reject names that are not valid shell variable names.
   1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1135       as_fn_error $? "invalid package name: $ac_useropt"
   1136     ac_useropt_orig=$ac_useropt
   1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1138     case $ac_user_opts in
   1139       *"
   1140 "with_$ac_useropt"
   1141 "*) ;;
   1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1143 	 ac_unrecognized_sep=', ';;
   1144     esac
   1145     eval with_$ac_useropt=no ;;
   1146 
   1147   --x)
   1148     # Obsolete; use --with-x.
   1149     with_x=yes ;;
   1150 
   1151   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1152   | --x-incl | --x-inc | --x-in | --x-i)
   1153     ac_prev=x_includes ;;
   1154   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1155   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1156     x_includes=$ac_optarg ;;
   1157 
   1158   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1159   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1160     ac_prev=x_libraries ;;
   1161   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1162   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1163     x_libraries=$ac_optarg ;;
   1164 
   1165   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1166 Try \`$0 --help' for more information"
   1167     ;;
   1168 
   1169   *=*)
   1170     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1171     # Reject names that are not valid shell variable names.
   1172     case $ac_envvar in #(
   1173       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1174       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1175     esac
   1176     eval $ac_envvar=\$ac_optarg
   1177     export $ac_envvar ;;
   1178 
   1179   *)
   1180     # FIXME: should be removed in autoconf 3.0.
   1181     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1182     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1183       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1184     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1185     ;;
   1186 
   1187   esac
   1188 done
   1189 
   1190 if test -n "$ac_prev"; then
   1191   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1192   as_fn_error $? "missing argument to $ac_option"
   1193 fi
   1194 
   1195 if test -n "$ac_unrecognized_opts"; then
   1196   case $enable_option_checking in
   1197     no) ;;
   1198     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1199     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1200   esac
   1201 fi
   1202 
   1203 # Check all directory arguments for consistency.
   1204 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1205 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1206 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1207 		libdir localedir mandir
   1208 do
   1209   eval ac_val=\$$ac_var
   1210   # Remove trailing slashes.
   1211   case $ac_val in
   1212     */ )
   1213       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1214       eval $ac_var=\$ac_val;;
   1215   esac
   1216   # Be sure to have absolute directory names.
   1217   case $ac_val in
   1218     [\\/$]* | ?:[\\/]* )  continue;;
   1219     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1220   esac
   1221   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1222 done
   1223 
   1224 # There might be people who depend on the old broken behavior: `$host'
   1225 # used to hold the argument of --host etc.
   1226 # FIXME: To remove some day.
   1227 build=$build_alias
   1228 host=$host_alias
   1229 target=$target_alias
   1230 
   1231 # FIXME: To remove some day.
   1232 if test "x$host_alias" != x; then
   1233   if test "x$build_alias" = x; then
   1234     cross_compiling=maybe
   1235   elif test "x$build_alias" != "x$host_alias"; then
   1236     cross_compiling=yes
   1237   fi
   1238 fi
   1239 
   1240 ac_tool_prefix=
   1241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1242 
   1243 test "$silent" = yes && exec 6>/dev/null
   1244 
   1245 
   1246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1247 ac_ls_di=`ls -di .` &&
   1248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1249   as_fn_error $? "working directory cannot be determined"
   1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1251   as_fn_error $? "pwd does not report name of working directory"
   1252 
   1253 
   1254 # Find the source files, if location was not specified.
   1255 if test -z "$srcdir"; then
   1256   ac_srcdir_defaulted=yes
   1257   # Try the directory containing this script, then the parent directory.
   1258   ac_confdir=`$as_dirname -- "$as_myself" ||
   1259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1260 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1261 	 X"$as_myself" : 'X\(//\)$' \| \
   1262 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1263 $as_echo X"$as_myself" |
   1264     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\/\)[^/].*/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\/\)$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\).*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  s/.*/./; q'`
   1281   srcdir=$ac_confdir
   1282   if test ! -r "$srcdir/$ac_unique_file"; then
   1283     srcdir=..
   1284   fi
   1285 else
   1286   ac_srcdir_defaulted=no
   1287 fi
   1288 if test ! -r "$srcdir/$ac_unique_file"; then
   1289   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1290   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1291 fi
   1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1293 ac_abs_confdir=`(
   1294 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1295 	pwd)`
   1296 # When building in place, set srcdir=.
   1297 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1298   srcdir=.
   1299 fi
   1300 # Remove unnecessary trailing slashes from srcdir.
   1301 # Double slashes in file names in object file debugging info
   1302 # mess up M-x gdb in Emacs.
   1303 case $srcdir in
   1304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1305 esac
   1306 for ac_var in $ac_precious_vars; do
   1307   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1308   eval ac_env_${ac_var}_value=\$${ac_var}
   1309   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1310   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1311 done
   1312 
   1313 #
   1314 # Report the --help message.
   1315 #
   1316 if test "$ac_init_help" = "long"; then
   1317   # Omit some internal or obsolete options to make the list less imposing.
   1318   # This message is too long to be a string in the A/UX 3.1 sh.
   1319   cat <<_ACEOF
   1320 \`configure' configures xwininfo 1.1.4 to adapt to many kinds of systems.
   1321 
   1322 Usage: $0 [OPTION]... [VAR=VALUE]...
   1323 
   1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1325 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1326 
   1327 Defaults for the options are specified in brackets.
   1328 
   1329 Configuration:
   1330   -h, --help              display this help and exit
   1331       --help=short        display options specific to this package
   1332       --help=recursive    display the short help of all the included packages
   1333   -V, --version           display version information and exit
   1334   -q, --quiet, --silent   do not print \`checking ...' messages
   1335       --cache-file=FILE   cache test results in FILE [disabled]
   1336   -C, --config-cache      alias for \`--cache-file=config.cache'
   1337   -n, --no-create         do not create output files
   1338       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1339 
   1340 Installation directories:
   1341   --prefix=PREFIX         install architecture-independent files in PREFIX
   1342                           [$ac_default_prefix]
   1343   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1344                           [PREFIX]
   1345 
   1346 By default, \`make install' will install all the files in
   1347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1349 for instance \`--prefix=\$HOME'.
   1350 
   1351 For better control, use the options below.
   1352 
   1353 Fine tuning of the installation directories:
   1354   --bindir=DIR            user executables [EPREFIX/bin]
   1355   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1356   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1357   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1358   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1359   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1360   --libdir=DIR            object code libraries [EPREFIX/lib]
   1361   --includedir=DIR        C header files [PREFIX/include]
   1362   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1363   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1364   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1365   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1366   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1367   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1368   --docdir=DIR            documentation root [DATAROOTDIR/doc/xwininfo]
   1369   --htmldir=DIR           html documentation [DOCDIR]
   1370   --dvidir=DIR            dvi documentation [DOCDIR]
   1371   --pdfdir=DIR            pdf documentation [DOCDIR]
   1372   --psdir=DIR             ps documentation [DOCDIR]
   1373 _ACEOF
   1374 
   1375   cat <<\_ACEOF
   1376 
   1377 Program names:
   1378   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1379   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1380   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1381 
   1382 System types:
   1383   --build=BUILD     configure for building on BUILD [guessed]
   1384   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1385 _ACEOF
   1386 fi
   1387 
   1388 if test -n "$ac_init_help"; then
   1389   case $ac_init_help in
   1390      short | recursive ) echo "Configuration of xwininfo 1.1.4:";;
   1391    esac
   1392   cat <<\_ACEOF
   1393 
   1394 Optional Features:
   1395   --disable-option-checking  ignore unrecognized --enable/--with options
   1396   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1397   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1398   --enable-dependency-tracking
   1399                           do not reject slow dependency extractors
   1400   --disable-dependency-tracking
   1401                           speeds up one-time build
   1402   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1403   --disable-silent-rules  verbose build output (undo: "make V=0")
   1404   --disable-rpath         do not hardcode runtime library paths
   1405   --disable-selective-werror
   1406                           Turn off selective compiler errors. (default:
   1407                           enabled)
   1408   --enable-strict-compilation
   1409                           Enable all warnings from compiler and make them
   1410                           errors (default: disabled)
   1411 
   1412 Optional Packages:
   1413   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1414   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1415   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1416   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1417   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1418   --with-xcb-icccm        use xcb-icccm (default: no)
   1419 
   1420 Some influential environment variables:
   1421   CC          C compiler command
   1422   CFLAGS      C compiler flags
   1423   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1424               nonstandard directory <lib dir>
   1425   LIBS        libraries to pass to the linker, e.g. -l<library>
   1426   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1427               you have headers in a nonstandard directory <include dir>
   1428   CPP         C preprocessor
   1429   PKG_CONFIG  path to pkg-config utility
   1430   PKG_CONFIG_PATH
   1431               directories to add to pkg-config's search path
   1432   PKG_CONFIG_LIBDIR
   1433               path overriding pkg-config's built-in search path
   1434   XWININFO_CFLAGS
   1435               C compiler flags for XWININFO, overriding pkg-config
   1436   XWININFO_LIBS
   1437               linker flags for XWININFO, overriding pkg-config
   1438   XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
   1439   XLIB_LIBS   linker flags for XLIB, overriding pkg-config
   1440 
   1441 Use these variables to override the choices made by `configure' or to help
   1442 it to find libraries and programs with nonstandard names/locations.
   1443 
   1444 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1445 _ACEOF
   1446 ac_status=$?
   1447 fi
   1448 
   1449 if test "$ac_init_help" = "recursive"; then
   1450   # If there are subdirs, report their specific --help.
   1451   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1452     test -d "$ac_dir" ||
   1453       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1454       continue
   1455     ac_builddir=.
   1456 
   1457 case "$ac_dir" in
   1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459 *)
   1460   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1461   # A ".." for each directory in $ac_dir_suffix.
   1462   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1463   case $ac_top_builddir_sub in
   1464   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1465   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1466   esac ;;
   1467 esac
   1468 ac_abs_top_builddir=$ac_pwd
   1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1470 # for backward compatibility:
   1471 ac_top_builddir=$ac_top_build_prefix
   1472 
   1473 case $srcdir in
   1474   .)  # We are building in place.
   1475     ac_srcdir=.
   1476     ac_top_srcdir=$ac_top_builddir_sub
   1477     ac_abs_top_srcdir=$ac_pwd ;;
   1478   [\\/]* | ?:[\\/]* )  # Absolute name.
   1479     ac_srcdir=$srcdir$ac_dir_suffix;
   1480     ac_top_srcdir=$srcdir
   1481     ac_abs_top_srcdir=$srcdir ;;
   1482   *) # Relative name.
   1483     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1484     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1485     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1486 esac
   1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1488 
   1489     cd "$ac_dir" || { ac_status=$?; continue; }
   1490     # Check for guested configure.
   1491     if test -f "$ac_srcdir/configure.gnu"; then
   1492       echo &&
   1493       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1494     elif test -f "$ac_srcdir/configure"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure" --help=recursive
   1497     else
   1498       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1499     fi || ac_status=$?
   1500     cd "$ac_pwd" || { ac_status=$?; break; }
   1501   done
   1502 fi
   1503 
   1504 test -n "$ac_init_help" && exit $ac_status
   1505 if $ac_init_version; then
   1506   cat <<\_ACEOF
   1507 xwininfo configure 1.1.4
   1508 generated by GNU Autoconf 2.69
   1509 
   1510 Copyright (C) 2012 Free Software Foundation, Inc.
   1511 This configure script is free software; the Free Software Foundation
   1512 gives unlimited permission to copy, distribute and modify it.
   1513 _ACEOF
   1514   exit
   1515 fi
   1516 
   1517 ## ------------------------ ##
   1518 ## Autoconf initialization. ##
   1519 ## ------------------------ ##
   1520 
   1521 # ac_fn_c_try_compile LINENO
   1522 # --------------------------
   1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1524 ac_fn_c_try_compile ()
   1525 {
   1526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1527   rm -f conftest.$ac_objext
   1528   if { { ac_try="$ac_compile"
   1529 case "(($ac_try" in
   1530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1531   *) ac_try_echo=$ac_try;;
   1532 esac
   1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1534 $as_echo "$ac_try_echo"; } >&5
   1535   (eval "$ac_compile") 2>conftest.err
   1536   ac_status=$?
   1537   if test -s conftest.err; then
   1538     grep -v '^ *+' conftest.err >conftest.er1
   1539     cat conftest.er1 >&5
   1540     mv -f conftest.er1 conftest.err
   1541   fi
   1542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1543   test $ac_status = 0; } && {
   1544 	 test -z "$ac_c_werror_flag" ||
   1545 	 test ! -s conftest.err
   1546        } && test -s conftest.$ac_objext; then :
   1547   ac_retval=0
   1548 else
   1549   $as_echo "$as_me: failed program was:" >&5
   1550 sed 's/^/| /' conftest.$ac_ext >&5
   1551 
   1552 	ac_retval=1
   1553 fi
   1554   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1555   as_fn_set_status $ac_retval
   1556 
   1557 } # ac_fn_c_try_compile
   1558 
   1559 # ac_fn_c_try_cpp LINENO
   1560 # ----------------------
   1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1562 ac_fn_c_try_cpp ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1566 case "(($ac_try" in
   1567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1568   *) ac_try_echo=$ac_try;;
   1569 esac
   1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1571 $as_echo "$ac_try_echo"; } >&5
   1572   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1573   ac_status=$?
   1574   if test -s conftest.err; then
   1575     grep -v '^ *+' conftest.err >conftest.er1
   1576     cat conftest.er1 >&5
   1577     mv -f conftest.er1 conftest.err
   1578   fi
   1579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1580   test $ac_status = 0; } > conftest.i && {
   1581 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1582 	 test ! -s conftest.err
   1583        }; then :
   1584   ac_retval=0
   1585 else
   1586   $as_echo "$as_me: failed program was:" >&5
   1587 sed 's/^/| /' conftest.$ac_ext >&5
   1588 
   1589     ac_retval=1
   1590 fi
   1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1592   as_fn_set_status $ac_retval
   1593 
   1594 } # ac_fn_c_try_cpp
   1595 
   1596 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1597 # -------------------------------------------------------
   1598 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1599 # the include files in INCLUDES and setting the cache variable VAR
   1600 # accordingly.
   1601 ac_fn_c_check_header_mongrel ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   if eval \${$3+:} false; then :
   1605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1606 $as_echo_n "checking for $2... " >&6; }
   1607 if eval \${$3+:} false; then :
   1608   $as_echo_n "(cached) " >&6
   1609 fi
   1610 eval ac_res=\$$3
   1611 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1612 $as_echo "$ac_res" >&6; }
   1613 else
   1614   # Is the header compilable?
   1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1616 $as_echo_n "checking $2 usability... " >&6; }
   1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1618 /* end confdefs.h.  */
   1619 $4
   1620 #include <$2>
   1621 _ACEOF
   1622 if ac_fn_c_try_compile "$LINENO"; then :
   1623   ac_header_compiler=yes
   1624 else
   1625   ac_header_compiler=no
   1626 fi
   1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1629 $as_echo "$ac_header_compiler" >&6; }
   1630 
   1631 # Is the header present?
   1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1633 $as_echo_n "checking $2 presence... " >&6; }
   1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1635 /* end confdefs.h.  */
   1636 #include <$2>
   1637 _ACEOF
   1638 if ac_fn_c_try_cpp "$LINENO"; then :
   1639   ac_header_preproc=yes
   1640 else
   1641   ac_header_preproc=no
   1642 fi
   1643 rm -f conftest.err conftest.i conftest.$ac_ext
   1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1645 $as_echo "$ac_header_preproc" >&6; }
   1646 
   1647 # So?  What about this header?
   1648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1649   yes:no: )
   1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1651 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1654     ;;
   1655   no:yes:* )
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1657 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1659 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1661 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1663 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1665 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1666 ( $as_echo "## ---------------------------------------------------------------------- ##
   1667 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1668 ## ---------------------------------------------------------------------- ##"
   1669      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1670     ;;
   1671 esac
   1672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1673 $as_echo_n "checking for $2... " >&6; }
   1674 if eval \${$3+:} false; then :
   1675   $as_echo_n "(cached) " >&6
   1676 else
   1677   eval "$3=\$ac_header_compiler"
   1678 fi
   1679 eval ac_res=\$$3
   1680 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1681 $as_echo "$ac_res" >&6; }
   1682 fi
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684 
   1685 } # ac_fn_c_check_header_mongrel
   1686 
   1687 # ac_fn_c_try_run LINENO
   1688 # ----------------------
   1689 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1690 # that executables *can* be run.
   1691 ac_fn_c_try_run ()
   1692 {
   1693   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1694   if { { ac_try="$ac_link"
   1695 case "(($ac_try" in
   1696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1697   *) ac_try_echo=$ac_try;;
   1698 esac
   1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1700 $as_echo "$ac_try_echo"; } >&5
   1701   (eval "$ac_link") 2>&5
   1702   ac_status=$?
   1703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1704   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1705   { { case "(($ac_try" in
   1706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1707   *) ac_try_echo=$ac_try;;
   1708 esac
   1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1710 $as_echo "$ac_try_echo"; } >&5
   1711   (eval "$ac_try") 2>&5
   1712   ac_status=$?
   1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1714   test $ac_status = 0; }; }; then :
   1715   ac_retval=0
   1716 else
   1717   $as_echo "$as_me: program exited with status $ac_status" >&5
   1718        $as_echo "$as_me: failed program was:" >&5
   1719 sed 's/^/| /' conftest.$ac_ext >&5
   1720 
   1721        ac_retval=$ac_status
   1722 fi
   1723   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1725   as_fn_set_status $ac_retval
   1726 
   1727 } # ac_fn_c_try_run
   1728 
   1729 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1730 # -------------------------------------------------------
   1731 # Tests whether HEADER exists and can be compiled using the include files in
   1732 # INCLUDES, setting the cache variable VAR accordingly.
   1733 ac_fn_c_check_header_compile ()
   1734 {
   1735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1737 $as_echo_n "checking for $2... " >&6; }
   1738 if eval \${$3+:} false; then :
   1739   $as_echo_n "(cached) " >&6
   1740 else
   1741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1742 /* end confdefs.h.  */
   1743 $4
   1744 #include <$2>
   1745 _ACEOF
   1746 if ac_fn_c_try_compile "$LINENO"; then :
   1747   eval "$3=yes"
   1748 else
   1749   eval "$3=no"
   1750 fi
   1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1752 fi
   1753 eval ac_res=\$$3
   1754 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1755 $as_echo "$ac_res" >&6; }
   1756   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1757 
   1758 } # ac_fn_c_check_header_compile
   1759 
   1760 # ac_fn_c_try_link LINENO
   1761 # -----------------------
   1762 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1763 ac_fn_c_try_link ()
   1764 {
   1765   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1766   rm -f conftest.$ac_objext conftest$ac_exeext
   1767   if { { ac_try="$ac_link"
   1768 case "(($ac_try" in
   1769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1770   *) ac_try_echo=$ac_try;;
   1771 esac
   1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1773 $as_echo "$ac_try_echo"; } >&5
   1774   (eval "$ac_link") 2>conftest.err
   1775   ac_status=$?
   1776   if test -s conftest.err; then
   1777     grep -v '^ *+' conftest.err >conftest.er1
   1778     cat conftest.er1 >&5
   1779     mv -f conftest.er1 conftest.err
   1780   fi
   1781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1782   test $ac_status = 0; } && {
   1783 	 test -z "$ac_c_werror_flag" ||
   1784 	 test ! -s conftest.err
   1785        } && test -s conftest$ac_exeext && {
   1786 	 test "$cross_compiling" = yes ||
   1787 	 test -x conftest$ac_exeext
   1788        }; then :
   1789   ac_retval=0
   1790 else
   1791   $as_echo "$as_me: failed program was:" >&5
   1792 sed 's/^/| /' conftest.$ac_ext >&5
   1793 
   1794 	ac_retval=1
   1795 fi
   1796   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1797   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1798   # interfere with the next link command; also delete a directory that is
   1799   # left behind by Apple's compiler.  We do this before executing the actions.
   1800   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1801   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1802   as_fn_set_status $ac_retval
   1803 
   1804 } # ac_fn_c_try_link
   1805 
   1806 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1807 # ---------------------------------------------
   1808 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1809 # accordingly.
   1810 ac_fn_c_check_decl ()
   1811 {
   1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1813   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1814   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1816 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1817 if eval \${$3+:} false; then :
   1818   $as_echo_n "(cached) " >&6
   1819 else
   1820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1821 /* end confdefs.h.  */
   1822 $4
   1823 int
   1824 main ()
   1825 {
   1826 #ifndef $as_decl_name
   1827 #ifdef __cplusplus
   1828   (void) $as_decl_use;
   1829 #else
   1830   (void) $as_decl_name;
   1831 #endif
   1832 #endif
   1833 
   1834   ;
   1835   return 0;
   1836 }
   1837 _ACEOF
   1838 if ac_fn_c_try_compile "$LINENO"; then :
   1839   eval "$3=yes"
   1840 else
   1841   eval "$3=no"
   1842 fi
   1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1844 fi
   1845 eval ac_res=\$$3
   1846 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1847 $as_echo "$ac_res" >&6; }
   1848   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1849 
   1850 } # ac_fn_c_check_decl
   1851 
   1852 # ac_fn_c_check_func LINENO FUNC VAR
   1853 # ----------------------------------
   1854 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1855 ac_fn_c_check_func ()
   1856 {
   1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1859 $as_echo_n "checking for $2... " >&6; }
   1860 if eval \${$3+:} false; then :
   1861   $as_echo_n "(cached) " >&6
   1862 else
   1863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1864 /* end confdefs.h.  */
   1865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1867 #define $2 innocuous_$2
   1868 
   1869 /* System header to define __stub macros and hopefully few prototypes,
   1870     which can conflict with char $2 (); below.
   1871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1872     <limits.h> exists even on freestanding compilers.  */
   1873 
   1874 #ifdef __STDC__
   1875 # include <limits.h>
   1876 #else
   1877 # include <assert.h>
   1878 #endif
   1879 
   1880 #undef $2
   1881 
   1882 /* Override any GCC internal prototype to avoid an error.
   1883    Use char because int might match the return type of a GCC
   1884    builtin and then its argument prototype would still apply.  */
   1885 #ifdef __cplusplus
   1886 extern "C"
   1887 #endif
   1888 char $2 ();
   1889 /* The GNU C library defines this for functions which it implements
   1890     to always fail with ENOSYS.  Some functions are actually named
   1891     something starting with __ and the normal name is an alias.  */
   1892 #if defined __stub_$2 || defined __stub___$2
   1893 choke me
   1894 #endif
   1895 
   1896 int
   1897 main ()
   1898 {
   1899 return $2 ();
   1900   ;
   1901   return 0;
   1902 }
   1903 _ACEOF
   1904 if ac_fn_c_try_link "$LINENO"; then :
   1905   eval "$3=yes"
   1906 else
   1907   eval "$3=no"
   1908 fi
   1909 rm -f core conftest.err conftest.$ac_objext \
   1910     conftest$ac_exeext conftest.$ac_ext
   1911 fi
   1912 eval ac_res=\$$3
   1913 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1914 $as_echo "$ac_res" >&6; }
   1915   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1916 
   1917 } # ac_fn_c_check_func
   1918 cat >config.log <<_ACEOF
   1919 This file contains any messages produced by compilers while
   1920 running configure, to aid debugging if configure makes a mistake.
   1921 
   1922 It was created by xwininfo $as_me 1.1.4, which was
   1923 generated by GNU Autoconf 2.69.  Invocation command line was
   1924 
   1925   $ $0 $@
   1926 
   1927 _ACEOF
   1928 exec 5>>config.log
   1929 {
   1930 cat <<_ASUNAME
   1931 ## --------- ##
   1932 ## Platform. ##
   1933 ## --------- ##
   1934 
   1935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1940 
   1941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1942 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1943 
   1944 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1945 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1947 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1948 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1949 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1950 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1951 
   1952 _ASUNAME
   1953 
   1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1955 for as_dir in $PATH
   1956 do
   1957   IFS=$as_save_IFS
   1958   test -z "$as_dir" && as_dir=.
   1959     $as_echo "PATH: $as_dir"
   1960   done
   1961 IFS=$as_save_IFS
   1962 
   1963 } >&5
   1964 
   1965 cat >&5 <<_ACEOF
   1966 
   1967 
   1968 ## ----------- ##
   1969 ## Core tests. ##
   1970 ## ----------- ##
   1971 
   1972 _ACEOF
   1973 
   1974 
   1975 # Keep a trace of the command line.
   1976 # Strip out --no-create and --no-recursion so they do not pile up.
   1977 # Strip out --silent because we don't want to record it for future runs.
   1978 # Also quote any args containing shell meta-characters.
   1979 # Make two passes to allow for proper duplicate-argument suppression.
   1980 ac_configure_args=
   1981 ac_configure_args0=
   1982 ac_configure_args1=
   1983 ac_must_keep_next=false
   1984 for ac_pass in 1 2
   1985 do
   1986   for ac_arg
   1987   do
   1988     case $ac_arg in
   1989     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1990     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1991     | -silent | --silent | --silen | --sile | --sil)
   1992       continue ;;
   1993     *\'*)
   1994       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1995     esac
   1996     case $ac_pass in
   1997     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1998     2)
   1999       as_fn_append ac_configure_args1 " '$ac_arg'"
   2000       if test $ac_must_keep_next = true; then
   2001 	ac_must_keep_next=false # Got value, back to normal.
   2002       else
   2003 	case $ac_arg in
   2004 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2005 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2006 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2007 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2008 	    case "$ac_configure_args0 " in
   2009 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2010 	    esac
   2011 	    ;;
   2012 	  -* ) ac_must_keep_next=true ;;
   2013 	esac
   2014       fi
   2015       as_fn_append ac_configure_args " '$ac_arg'"
   2016       ;;
   2017     esac
   2018   done
   2019 done
   2020 { ac_configure_args0=; unset ac_configure_args0;}
   2021 { ac_configure_args1=; unset ac_configure_args1;}
   2022 
   2023 # When interrupted or exit'd, cleanup temporary files, and complete
   2024 # config.log.  We remove comments because anyway the quotes in there
   2025 # would cause problems or look ugly.
   2026 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2028 trap 'exit_status=$?
   2029   # Save into config.log some information that might help in debugging.
   2030   {
   2031     echo
   2032 
   2033     $as_echo "## ---------------- ##
   2034 ## Cache variables. ##
   2035 ## ---------------- ##"
   2036     echo
   2037     # The following way of writing the cache mishandles newlines in values,
   2038 (
   2039   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2040     eval ac_val=\$$ac_var
   2041     case $ac_val in #(
   2042     *${as_nl}*)
   2043       case $ac_var in #(
   2044       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2046       esac
   2047       case $ac_var in #(
   2048       _ | IFS | as_nl) ;; #(
   2049       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2050       *) { eval $ac_var=; unset $ac_var;} ;;
   2051       esac ;;
   2052     esac
   2053   done
   2054   (set) 2>&1 |
   2055     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2056     *${as_nl}ac_space=\ *)
   2057       sed -n \
   2058 	"s/'\''/'\''\\\\'\'''\''/g;
   2059 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2060       ;; #(
   2061     *)
   2062       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2063       ;;
   2064     esac |
   2065     sort
   2066 )
   2067     echo
   2068 
   2069     $as_echo "## ----------------- ##
   2070 ## Output variables. ##
   2071 ## ----------------- ##"
   2072     echo
   2073     for ac_var in $ac_subst_vars
   2074     do
   2075       eval ac_val=\$$ac_var
   2076       case $ac_val in
   2077       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2078       esac
   2079       $as_echo "$ac_var='\''$ac_val'\''"
   2080     done | sort
   2081     echo
   2082 
   2083     if test -n "$ac_subst_files"; then
   2084       $as_echo "## ------------------- ##
   2085 ## File substitutions. ##
   2086 ## ------------------- ##"
   2087       echo
   2088       for ac_var in $ac_subst_files
   2089       do
   2090 	eval ac_val=\$$ac_var
   2091 	case $ac_val in
   2092 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2093 	esac
   2094 	$as_echo "$ac_var='\''$ac_val'\''"
   2095       done | sort
   2096       echo
   2097     fi
   2098 
   2099     if test -s confdefs.h; then
   2100       $as_echo "## ----------- ##
   2101 ## confdefs.h. ##
   2102 ## ----------- ##"
   2103       echo
   2104       cat confdefs.h
   2105       echo
   2106     fi
   2107     test "$ac_signal" != 0 &&
   2108       $as_echo "$as_me: caught signal $ac_signal"
   2109     $as_echo "$as_me: exit $exit_status"
   2110   } >&5
   2111   rm -f core *.core core.conftest.* &&
   2112     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2113     exit $exit_status
   2114 ' 0
   2115 for ac_signal in 1 2 13 15; do
   2116   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2117 done
   2118 ac_signal=0
   2119 
   2120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2121 rm -f -r conftest* confdefs.h
   2122 
   2123 $as_echo "/* confdefs.h */" > confdefs.h
   2124 
   2125 # Predefined preprocessor variables.
   2126 
   2127 cat >>confdefs.h <<_ACEOF
   2128 #define PACKAGE_NAME "$PACKAGE_NAME"
   2129 _ACEOF
   2130 
   2131 cat >>confdefs.h <<_ACEOF
   2132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2133 _ACEOF
   2134 
   2135 cat >>confdefs.h <<_ACEOF
   2136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2137 _ACEOF
   2138 
   2139 cat >>confdefs.h <<_ACEOF
   2140 #define PACKAGE_STRING "$PACKAGE_STRING"
   2141 _ACEOF
   2142 
   2143 cat >>confdefs.h <<_ACEOF
   2144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2145 _ACEOF
   2146 
   2147 cat >>confdefs.h <<_ACEOF
   2148 #define PACKAGE_URL "$PACKAGE_URL"
   2149 _ACEOF
   2150 
   2151 
   2152 # Let the site file select an alternate cache file if it wants to.
   2153 # Prefer an explicitly selected file to automatically selected ones.
   2154 ac_site_file1=NONE
   2155 ac_site_file2=NONE
   2156 if test -n "$CONFIG_SITE"; then
   2157   # We do not want a PATH search for config.site.
   2158   case $CONFIG_SITE in #((
   2159     -*)  ac_site_file1=./$CONFIG_SITE;;
   2160     */*) ac_site_file1=$CONFIG_SITE;;
   2161     *)   ac_site_file1=./$CONFIG_SITE;;
   2162   esac
   2163 elif test "x$prefix" != xNONE; then
   2164   ac_site_file1=$prefix/share/config.site
   2165   ac_site_file2=$prefix/etc/config.site
   2166 else
   2167   ac_site_file1=$ac_default_prefix/share/config.site
   2168   ac_site_file2=$ac_default_prefix/etc/config.site
   2169 fi
   2170 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2171 do
   2172   test "x$ac_site_file" = xNONE && continue
   2173   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2174     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2175 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2176     sed 's/^/| /' "$ac_site_file" >&5
   2177     . "$ac_site_file" \
   2178       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2180 as_fn_error $? "failed to load site script $ac_site_file
   2181 See \`config.log' for more details" "$LINENO" 5; }
   2182   fi
   2183 done
   2184 
   2185 if test -r "$cache_file"; then
   2186   # Some versions of bash will fail to source /dev/null (special files
   2187   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2188   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2189     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2190 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2191     case $cache_file in
   2192       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2193       *)                      . "./$cache_file";;
   2194     esac
   2195   fi
   2196 else
   2197   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2198 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2199   >$cache_file
   2200 fi
   2201 
   2202 # Check that the precious variables saved in the cache have kept the same
   2203 # value.
   2204 ac_cache_corrupted=false
   2205 for ac_var in $ac_precious_vars; do
   2206   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2207   eval ac_new_set=\$ac_env_${ac_var}_set
   2208   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2209   eval ac_new_val=\$ac_env_${ac_var}_value
   2210   case $ac_old_set,$ac_new_set in
   2211     set,)
   2212       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2214       ac_cache_corrupted=: ;;
   2215     ,set)
   2216       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2218       ac_cache_corrupted=: ;;
   2219     ,);;
   2220     *)
   2221       if test "x$ac_old_val" != "x$ac_new_val"; then
   2222 	# differences in whitespace do not lead to failure.
   2223 	ac_old_val_w=`echo x $ac_old_val`
   2224 	ac_new_val_w=`echo x $ac_new_val`
   2225 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2226 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2228 	  ac_cache_corrupted=:
   2229 	else
   2230 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2232 	  eval $ac_var=\$ac_old_val
   2233 	fi
   2234 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2235 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2236 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2237 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2238       fi;;
   2239   esac
   2240   # Pass precious variables to config.status.
   2241   if test "$ac_new_set" = set; then
   2242     case $ac_new_val in
   2243     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2244     *) ac_arg=$ac_var=$ac_new_val ;;
   2245     esac
   2246     case " $ac_configure_args " in
   2247       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2248       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2249     esac
   2250   fi
   2251 done
   2252 if $ac_cache_corrupted; then
   2253   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2255   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2257   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2258 fi
   2259 ## -------------------- ##
   2260 ## Main body of script. ##
   2261 ## -------------------- ##
   2262 
   2263 ac_ext=c
   2264 ac_cpp='$CPP $CPPFLAGS'
   2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2268 
   2269 
   2270 
   2271 ac_config_headers="$ac_config_headers config.h"
   2272 
   2273 ac_aux_dir=
   2274 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2275   if test -f "$ac_dir/install-sh"; then
   2276     ac_aux_dir=$ac_dir
   2277     ac_install_sh="$ac_aux_dir/install-sh -c"
   2278     break
   2279   elif test -f "$ac_dir/install.sh"; then
   2280     ac_aux_dir=$ac_dir
   2281     ac_install_sh="$ac_aux_dir/install.sh -c"
   2282     break
   2283   elif test -f "$ac_dir/shtool"; then
   2284     ac_aux_dir=$ac_dir
   2285     ac_install_sh="$ac_aux_dir/shtool install -c"
   2286     break
   2287   fi
   2288 done
   2289 if test -z "$ac_aux_dir"; then
   2290   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2291 fi
   2292 
   2293 # These three variables are undocumented and unsupported,
   2294 # and are intended to be withdrawn in a future Autoconf release.
   2295 # They can cause serious problems if a builder's source tree is in a directory
   2296 # whose full name contains unusual characters.
   2297 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2298 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2299 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2300 
   2301 
   2302 # Expand $ac_aux_dir to an absolute path.
   2303 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2304 
   2305 ac_ext=c
   2306 ac_cpp='$CPP $CPPFLAGS'
   2307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2310 if test -n "$ac_tool_prefix"; then
   2311   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2314 $as_echo_n "checking for $ac_word... " >&6; }
   2315 if ${ac_cv_prog_CC+:} false; then :
   2316   $as_echo_n "(cached) " >&6
   2317 else
   2318   if test -n "$CC"; then
   2319   ac_cv_prog_CC="$CC" # Let the user override the test.
   2320 else
   2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2322 for as_dir in $PATH
   2323 do
   2324   IFS=$as_save_IFS
   2325   test -z "$as_dir" && as_dir=.
   2326     for ac_exec_ext in '' $ac_executable_extensions; do
   2327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2328     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2330     break 2
   2331   fi
   2332 done
   2333   done
   2334 IFS=$as_save_IFS
   2335 
   2336 fi
   2337 fi
   2338 CC=$ac_cv_prog_CC
   2339 if test -n "$CC"; then
   2340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2341 $as_echo "$CC" >&6; }
   2342 else
   2343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2344 $as_echo "no" >&6; }
   2345 fi
   2346 
   2347 
   2348 fi
   2349 if test -z "$ac_cv_prog_CC"; then
   2350   ac_ct_CC=$CC
   2351   # Extract the first word of "gcc", so it can be a program name with args.
   2352 set dummy gcc; ac_word=$2
   2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2354 $as_echo_n "checking for $ac_word... " >&6; }
   2355 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2356   $as_echo_n "(cached) " >&6
   2357 else
   2358   if test -n "$ac_ct_CC"; then
   2359   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2360 else
   2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2362 for as_dir in $PATH
   2363 do
   2364   IFS=$as_save_IFS
   2365   test -z "$as_dir" && as_dir=.
   2366     for ac_exec_ext in '' $ac_executable_extensions; do
   2367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2368     ac_cv_prog_ac_ct_CC="gcc"
   2369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2370     break 2
   2371   fi
   2372 done
   2373   done
   2374 IFS=$as_save_IFS
   2375 
   2376 fi
   2377 fi
   2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2379 if test -n "$ac_ct_CC"; then
   2380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2381 $as_echo "$ac_ct_CC" >&6; }
   2382 else
   2383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2384 $as_echo "no" >&6; }
   2385 fi
   2386 
   2387   if test "x$ac_ct_CC" = x; then
   2388     CC=""
   2389   else
   2390     case $cross_compiling:$ac_tool_warned in
   2391 yes:)
   2392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2394 ac_tool_warned=yes ;;
   2395 esac
   2396     CC=$ac_ct_CC
   2397   fi
   2398 else
   2399   CC="$ac_cv_prog_CC"
   2400 fi
   2401 
   2402 if test -z "$CC"; then
   2403           if test -n "$ac_tool_prefix"; then
   2404     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2405 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2407 $as_echo_n "checking for $ac_word... " >&6; }
   2408 if ${ac_cv_prog_CC+:} false; then :
   2409   $as_echo_n "(cached) " >&6
   2410 else
   2411   if test -n "$CC"; then
   2412   ac_cv_prog_CC="$CC" # Let the user override the test.
   2413 else
   2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2415 for as_dir in $PATH
   2416 do
   2417   IFS=$as_save_IFS
   2418   test -z "$as_dir" && as_dir=.
   2419     for ac_exec_ext in '' $ac_executable_extensions; do
   2420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2421     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2423     break 2
   2424   fi
   2425 done
   2426   done
   2427 IFS=$as_save_IFS
   2428 
   2429 fi
   2430 fi
   2431 CC=$ac_cv_prog_CC
   2432 if test -n "$CC"; then
   2433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2434 $as_echo "$CC" >&6; }
   2435 else
   2436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2437 $as_echo "no" >&6; }
   2438 fi
   2439 
   2440 
   2441   fi
   2442 fi
   2443 if test -z "$CC"; then
   2444   # Extract the first word of "cc", so it can be a program name with args.
   2445 set dummy cc; ac_word=$2
   2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2447 $as_echo_n "checking for $ac_word... " >&6; }
   2448 if ${ac_cv_prog_CC+:} false; then :
   2449   $as_echo_n "(cached) " >&6
   2450 else
   2451   if test -n "$CC"; then
   2452   ac_cv_prog_CC="$CC" # Let the user override the test.
   2453 else
   2454   ac_prog_rejected=no
   2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2456 for as_dir in $PATH
   2457 do
   2458   IFS=$as_save_IFS
   2459   test -z "$as_dir" && as_dir=.
   2460     for ac_exec_ext in '' $ac_executable_extensions; do
   2461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2462     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2463        ac_prog_rejected=yes
   2464        continue
   2465      fi
   2466     ac_cv_prog_CC="cc"
   2467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2468     break 2
   2469   fi
   2470 done
   2471   done
   2472 IFS=$as_save_IFS
   2473 
   2474 if test $ac_prog_rejected = yes; then
   2475   # We found a bogon in the path, so make sure we never use it.
   2476   set dummy $ac_cv_prog_CC
   2477   shift
   2478   if test $# != 0; then
   2479     # We chose a different compiler from the bogus one.
   2480     # However, it has the same basename, so the bogon will be chosen
   2481     # first if we set CC to just the basename; use the full file name.
   2482     shift
   2483     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2484   fi
   2485 fi
   2486 fi
   2487 fi
   2488 CC=$ac_cv_prog_CC
   2489 if test -n "$CC"; then
   2490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2491 $as_echo "$CC" >&6; }
   2492 else
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2494 $as_echo "no" >&6; }
   2495 fi
   2496 
   2497 
   2498 fi
   2499 if test -z "$CC"; then
   2500   if test -n "$ac_tool_prefix"; then
   2501   for ac_prog in cl.exe
   2502   do
   2503     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2506 $as_echo_n "checking for $ac_word... " >&6; }
   2507 if ${ac_cv_prog_CC+:} false; then :
   2508   $as_echo_n "(cached) " >&6
   2509 else
   2510   if test -n "$CC"; then
   2511   ac_cv_prog_CC="$CC" # Let the user override the test.
   2512 else
   2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2514 for as_dir in $PATH
   2515 do
   2516   IFS=$as_save_IFS
   2517   test -z "$as_dir" && as_dir=.
   2518     for ac_exec_ext in '' $ac_executable_extensions; do
   2519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2520     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2522     break 2
   2523   fi
   2524 done
   2525   done
   2526 IFS=$as_save_IFS
   2527 
   2528 fi
   2529 fi
   2530 CC=$ac_cv_prog_CC
   2531 if test -n "$CC"; then
   2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2533 $as_echo "$CC" >&6; }
   2534 else
   2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2536 $as_echo "no" >&6; }
   2537 fi
   2538 
   2539 
   2540     test -n "$CC" && break
   2541   done
   2542 fi
   2543 if test -z "$CC"; then
   2544   ac_ct_CC=$CC
   2545   for ac_prog in cl.exe
   2546 do
   2547   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2548 set dummy $ac_prog; ac_word=$2
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2550 $as_echo_n "checking for $ac_word... " >&6; }
   2551 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   if test -n "$ac_ct_CC"; then
   2555   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2556 else
   2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   test -z "$as_dir" && as_dir=.
   2562     for ac_exec_ext in '' $ac_executable_extensions; do
   2563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2564     ac_cv_prog_ac_ct_CC="$ac_prog"
   2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2566     break 2
   2567   fi
   2568 done
   2569   done
   2570 IFS=$as_save_IFS
   2571 
   2572 fi
   2573 fi
   2574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2575 if test -n "$ac_ct_CC"; then
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2577 $as_echo "$ac_ct_CC" >&6; }
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2580 $as_echo "no" >&6; }
   2581 fi
   2582 
   2583 
   2584   test -n "$ac_ct_CC" && break
   2585 done
   2586 
   2587   if test "x$ac_ct_CC" = x; then
   2588     CC=""
   2589   else
   2590     case $cross_compiling:$ac_tool_warned in
   2591 yes:)
   2592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2594 ac_tool_warned=yes ;;
   2595 esac
   2596     CC=$ac_ct_CC
   2597   fi
   2598 fi
   2599 
   2600 fi
   2601 
   2602 
   2603 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2605 as_fn_error $? "no acceptable C compiler found in \$PATH
   2606 See \`config.log' for more details" "$LINENO" 5; }
   2607 
   2608 # Provide some information about the compiler.
   2609 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2610 set X $ac_compile
   2611 ac_compiler=$2
   2612 for ac_option in --version -v -V -qversion; do
   2613   { { ac_try="$ac_compiler $ac_option >&5"
   2614 case "(($ac_try" in
   2615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2616   *) ac_try_echo=$ac_try;;
   2617 esac
   2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2619 $as_echo "$ac_try_echo"; } >&5
   2620   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2621   ac_status=$?
   2622   if test -s conftest.err; then
   2623     sed '10a\
   2624 ... rest of stderr output deleted ...
   2625          10q' conftest.err >conftest.er1
   2626     cat conftest.er1 >&5
   2627   fi
   2628   rm -f conftest.er1 conftest.err
   2629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2630   test $ac_status = 0; }
   2631 done
   2632 
   2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2634 /* end confdefs.h.  */
   2635 
   2636 int
   2637 main ()
   2638 {
   2639 
   2640   ;
   2641   return 0;
   2642 }
   2643 _ACEOF
   2644 ac_clean_files_save=$ac_clean_files
   2645 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2646 # Try to create an executable without -o first, disregard a.out.
   2647 # It will help us diagnose broken compilers, and finding out an intuition
   2648 # of exeext.
   2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2650 $as_echo_n "checking whether the C compiler works... " >&6; }
   2651 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2652 
   2653 # The possible output files:
   2654 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2655 
   2656 ac_rmfiles=
   2657 for ac_file in $ac_files
   2658 do
   2659   case $ac_file in
   2660     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2661     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2662   esac
   2663 done
   2664 rm -f $ac_rmfiles
   2665 
   2666 if { { ac_try="$ac_link_default"
   2667 case "(($ac_try" in
   2668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2669   *) ac_try_echo=$ac_try;;
   2670 esac
   2671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2672 $as_echo "$ac_try_echo"; } >&5
   2673   (eval "$ac_link_default") 2>&5
   2674   ac_status=$?
   2675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2676   test $ac_status = 0; }; then :
   2677   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2679 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2680 # so that the user can short-circuit this test for compilers unknown to
   2681 # Autoconf.
   2682 for ac_file in $ac_files ''
   2683 do
   2684   test -f "$ac_file" || continue
   2685   case $ac_file in
   2686     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2687 	;;
   2688     [ab].out )
   2689 	# We found the default executable, but exeext='' is most
   2690 	# certainly right.
   2691 	break;;
   2692     *.* )
   2693 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2694 	then :; else
   2695 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2696 	fi
   2697 	# We set ac_cv_exeext here because the later test for it is not
   2698 	# safe: cross compilers may not add the suffix if given an `-o'
   2699 	# argument, so we may need to know it at that point already.
   2700 	# Even if this section looks crufty: it has the advantage of
   2701 	# actually working.
   2702 	break;;
   2703     * )
   2704 	break;;
   2705   esac
   2706 done
   2707 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2708 
   2709 else
   2710   ac_file=''
   2711 fi
   2712 if test -z "$ac_file"; then :
   2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2714 $as_echo "no" >&6; }
   2715 $as_echo "$as_me: failed program was:" >&5
   2716 sed 's/^/| /' conftest.$ac_ext >&5
   2717 
   2718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2720 as_fn_error 77 "C compiler cannot create executables
   2721 See \`config.log' for more details" "$LINENO" 5; }
   2722 else
   2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2724 $as_echo "yes" >&6; }
   2725 fi
   2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2727 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2729 $as_echo "$ac_file" >&6; }
   2730 ac_exeext=$ac_cv_exeext
   2731 
   2732 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2733 ac_clean_files=$ac_clean_files_save
   2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2735 $as_echo_n "checking for suffix of executables... " >&6; }
   2736 if { { ac_try="$ac_link"
   2737 case "(($ac_try" in
   2738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2739   *) ac_try_echo=$ac_try;;
   2740 esac
   2741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2742 $as_echo "$ac_try_echo"; } >&5
   2743   (eval "$ac_link") 2>&5
   2744   ac_status=$?
   2745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2746   test $ac_status = 0; }; then :
   2747   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2748 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2749 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2750 # `rm'.
   2751 for ac_file in conftest.exe conftest conftest.*; do
   2752   test -f "$ac_file" || continue
   2753   case $ac_file in
   2754     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2755     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2756 	  break;;
   2757     * ) break;;
   2758   esac
   2759 done
   2760 else
   2761   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2763 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2764 See \`config.log' for more details" "$LINENO" 5; }
   2765 fi
   2766 rm -f conftest conftest$ac_cv_exeext
   2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2768 $as_echo "$ac_cv_exeext" >&6; }
   2769 
   2770 rm -f conftest.$ac_ext
   2771 EXEEXT=$ac_cv_exeext
   2772 ac_exeext=$EXEEXT
   2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2774 /* end confdefs.h.  */
   2775 #include <stdio.h>
   2776 int
   2777 main ()
   2778 {
   2779 FILE *f = fopen ("conftest.out", "w");
   2780  return ferror (f) || fclose (f) != 0;
   2781 
   2782   ;
   2783   return 0;
   2784 }
   2785 _ACEOF
   2786 ac_clean_files="$ac_clean_files conftest.out"
   2787 # Check that the compiler produces executables we can run.  If not, either
   2788 # the compiler is broken, or we cross compile.
   2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2790 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2791 if test "$cross_compiling" != yes; then
   2792   { { ac_try="$ac_link"
   2793 case "(($ac_try" in
   2794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2795   *) ac_try_echo=$ac_try;;
   2796 esac
   2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2798 $as_echo "$ac_try_echo"; } >&5
   2799   (eval "$ac_link") 2>&5
   2800   ac_status=$?
   2801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2802   test $ac_status = 0; }
   2803   if { ac_try='./conftest$ac_cv_exeext'
   2804   { { case "(($ac_try" in
   2805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2806   *) ac_try_echo=$ac_try;;
   2807 esac
   2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2809 $as_echo "$ac_try_echo"; } >&5
   2810   (eval "$ac_try") 2>&5
   2811   ac_status=$?
   2812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2813   test $ac_status = 0; }; }; then
   2814     cross_compiling=no
   2815   else
   2816     if test "$cross_compiling" = maybe; then
   2817 	cross_compiling=yes
   2818     else
   2819 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2821 as_fn_error $? "cannot run C compiled programs.
   2822 If you meant to cross compile, use \`--host'.
   2823 See \`config.log' for more details" "$LINENO" 5; }
   2824     fi
   2825   fi
   2826 fi
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2828 $as_echo "$cross_compiling" >&6; }
   2829 
   2830 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2831 ac_clean_files=$ac_clean_files_save
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2833 $as_echo_n "checking for suffix of object files... " >&6; }
   2834 if ${ac_cv_objext+:} false; then :
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2838 /* end confdefs.h.  */
   2839 
   2840 int
   2841 main ()
   2842 {
   2843 
   2844   ;
   2845   return 0;
   2846 }
   2847 _ACEOF
   2848 rm -f conftest.o conftest.obj
   2849 if { { ac_try="$ac_compile"
   2850 case "(($ac_try" in
   2851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2852   *) ac_try_echo=$ac_try;;
   2853 esac
   2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2855 $as_echo "$ac_try_echo"; } >&5
   2856   (eval "$ac_compile") 2>&5
   2857   ac_status=$?
   2858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2859   test $ac_status = 0; }; then :
   2860   for ac_file in conftest.o conftest.obj conftest.*; do
   2861   test -f "$ac_file" || continue;
   2862   case $ac_file in
   2863     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2864     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2865        break;;
   2866   esac
   2867 done
   2868 else
   2869   $as_echo "$as_me: failed program was:" >&5
   2870 sed 's/^/| /' conftest.$ac_ext >&5
   2871 
   2872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2874 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2875 See \`config.log' for more details" "$LINENO" 5; }
   2876 fi
   2877 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2878 fi
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2880 $as_echo "$ac_cv_objext" >&6; }
   2881 OBJEXT=$ac_cv_objext
   2882 ac_objext=$OBJEXT
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2884 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2885 if ${ac_cv_c_compiler_gnu+:} false; then :
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2889 /* end confdefs.h.  */
   2890 
   2891 int
   2892 main ()
   2893 {
   2894 #ifndef __GNUC__
   2895        choke me
   2896 #endif
   2897 
   2898   ;
   2899   return 0;
   2900 }
   2901 _ACEOF
   2902 if ac_fn_c_try_compile "$LINENO"; then :
   2903   ac_compiler_gnu=yes
   2904 else
   2905   ac_compiler_gnu=no
   2906 fi
   2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2908 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2909 
   2910 fi
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2912 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2913 if test $ac_compiler_gnu = yes; then
   2914   GCC=yes
   2915 else
   2916   GCC=
   2917 fi
   2918 ac_test_CFLAGS=${CFLAGS+set}
   2919 ac_save_CFLAGS=$CFLAGS
   2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2921 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2922 if ${ac_cv_prog_cc_g+:} false; then :
   2923   $as_echo_n "(cached) " >&6
   2924 else
   2925   ac_save_c_werror_flag=$ac_c_werror_flag
   2926    ac_c_werror_flag=yes
   2927    ac_cv_prog_cc_g=no
   2928    CFLAGS="-g"
   2929    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2930 /* end confdefs.h.  */
   2931 
   2932 int
   2933 main ()
   2934 {
   2935 
   2936   ;
   2937   return 0;
   2938 }
   2939 _ACEOF
   2940 if ac_fn_c_try_compile "$LINENO"; then :
   2941   ac_cv_prog_cc_g=yes
   2942 else
   2943   CFLAGS=""
   2944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2945 /* end confdefs.h.  */
   2946 
   2947 int
   2948 main ()
   2949 {
   2950 
   2951   ;
   2952   return 0;
   2953 }
   2954 _ACEOF
   2955 if ac_fn_c_try_compile "$LINENO"; then :
   2956 
   2957 else
   2958   ac_c_werror_flag=$ac_save_c_werror_flag
   2959 	 CFLAGS="-g"
   2960 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2961 /* end confdefs.h.  */
   2962 
   2963 int
   2964 main ()
   2965 {
   2966 
   2967   ;
   2968   return 0;
   2969 }
   2970 _ACEOF
   2971 if ac_fn_c_try_compile "$LINENO"; then :
   2972   ac_cv_prog_cc_g=yes
   2973 fi
   2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2975 fi
   2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2977 fi
   2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2979    ac_c_werror_flag=$ac_save_c_werror_flag
   2980 fi
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2982 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2983 if test "$ac_test_CFLAGS" = set; then
   2984   CFLAGS=$ac_save_CFLAGS
   2985 elif test $ac_cv_prog_cc_g = yes; then
   2986   if test "$GCC" = yes; then
   2987     CFLAGS="-g -O2"
   2988   else
   2989     CFLAGS="-g"
   2990   fi
   2991 else
   2992   if test "$GCC" = yes; then
   2993     CFLAGS="-O2"
   2994   else
   2995     CFLAGS=
   2996   fi
   2997 fi
   2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2999 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3000 if ${ac_cv_prog_cc_c89+:} false; then :
   3001   $as_echo_n "(cached) " >&6
   3002 else
   3003   ac_cv_prog_cc_c89=no
   3004 ac_save_CC=$CC
   3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3006 /* end confdefs.h.  */
   3007 #include <stdarg.h>
   3008 #include <stdio.h>
   3009 struct stat;
   3010 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3011 struct buf { int x; };
   3012 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3013 static char *e (p, i)
   3014      char **p;
   3015      int i;
   3016 {
   3017   return p[i];
   3018 }
   3019 static char *f (char * (*g) (char **, int), char **p, ...)
   3020 {
   3021   char *s;
   3022   va_list v;
   3023   va_start (v,p);
   3024   s = g (p, va_arg (v,int));
   3025   va_end (v);
   3026   return s;
   3027 }
   3028 
   3029 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3030    function prototypes and stuff, but not '\xHH' hex character constants.
   3031    These don't provoke an error unfortunately, instead are silently treated
   3032    as 'x'.  The following induces an error, until -std is added to get
   3033    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3034    array size at least.  It's necessary to write '\x00'==0 to get something
   3035    that's true only with -std.  */
   3036 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3037 
   3038 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3039    inside strings and character constants.  */
   3040 #define FOO(x) 'x'
   3041 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3042 
   3043 int test (int i, double x);
   3044 struct s1 {int (*f) (int a);};
   3045 struct s2 {int (*f) (double a);};
   3046 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3047 int argc;
   3048 char **argv;
   3049 int
   3050 main ()
   3051 {
   3052 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3053   ;
   3054   return 0;
   3055 }
   3056 _ACEOF
   3057 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3058 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3059 do
   3060   CC="$ac_save_CC $ac_arg"
   3061   if ac_fn_c_try_compile "$LINENO"; then :
   3062   ac_cv_prog_cc_c89=$ac_arg
   3063 fi
   3064 rm -f core conftest.err conftest.$ac_objext
   3065   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3066 done
   3067 rm -f conftest.$ac_ext
   3068 CC=$ac_save_CC
   3069 
   3070 fi
   3071 # AC_CACHE_VAL
   3072 case "x$ac_cv_prog_cc_c89" in
   3073   x)
   3074     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3075 $as_echo "none needed" >&6; } ;;
   3076   xno)
   3077     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3078 $as_echo "unsupported" >&6; } ;;
   3079   *)
   3080     CC="$CC $ac_cv_prog_cc_c89"
   3081     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3083 esac
   3084 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3085 
   3086 fi
   3087 
   3088 ac_ext=c
   3089 ac_cpp='$CPP $CPPFLAGS'
   3090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3093 
   3094 ac_ext=c
   3095 ac_cpp='$CPP $CPPFLAGS'
   3096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3100 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3101 if ${am_cv_prog_cc_c_o+:} false; then :
   3102   $as_echo_n "(cached) " >&6
   3103 else
   3104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3105 /* end confdefs.h.  */
   3106 
   3107 int
   3108 main ()
   3109 {
   3110 
   3111   ;
   3112   return 0;
   3113 }
   3114 _ACEOF
   3115   # Make sure it works both with $CC and with simple cc.
   3116   # Following AC_PROG_CC_C_O, we do the test twice because some
   3117   # compilers refuse to overwrite an existing .o file with -o,
   3118   # though they will create one.
   3119   am_cv_prog_cc_c_o=yes
   3120   for am_i in 1 2; do
   3121     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3122    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3123    ac_status=$?
   3124    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3125    (exit $ac_status); } \
   3126          && test -f conftest2.$ac_objext; then
   3127       : OK
   3128     else
   3129       am_cv_prog_cc_c_o=no
   3130       break
   3131     fi
   3132   done
   3133   rm -f core conftest*
   3134   unset am_i
   3135 fi
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3137 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3138 if test "$am_cv_prog_cc_c_o" != yes; then
   3139    # Losing compiler, so override with the script.
   3140    # FIXME: It is wrong to rewrite CC.
   3141    # But if we don't then we get into trouble of one sort or another.
   3142    # A longer-term fix would be to have automake use am__CC in this case,
   3143    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3144    CC="$am_aux_dir/compile $CC"
   3145 fi
   3146 ac_ext=c
   3147 ac_cpp='$CPP $CPPFLAGS'
   3148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3151 
   3152 
   3153 
   3154 ac_ext=c
   3155 ac_cpp='$CPP $CPPFLAGS'
   3156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3160 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3161 # On Suns, sometimes $CPP names a directory.
   3162 if test -n "$CPP" && test -d "$CPP"; then
   3163   CPP=
   3164 fi
   3165 if test -z "$CPP"; then
   3166   if ${ac_cv_prog_CPP+:} false; then :
   3167   $as_echo_n "(cached) " >&6
   3168 else
   3169       # Double quotes because CPP needs to be expanded
   3170     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3171     do
   3172       ac_preproc_ok=false
   3173 for ac_c_preproc_warn_flag in '' yes
   3174 do
   3175   # Use a header file that comes with gcc, so configuring glibc
   3176   # with a fresh cross-compiler works.
   3177   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3178   # <limits.h> exists even on freestanding compilers.
   3179   # On the NeXT, cc -E runs the code through the compiler's parser,
   3180   # not just through cpp. "Syntax error" is here to catch this case.
   3181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3182 /* end confdefs.h.  */
   3183 #ifdef __STDC__
   3184 # include <limits.h>
   3185 #else
   3186 # include <assert.h>
   3187 #endif
   3188 		     Syntax error
   3189 _ACEOF
   3190 if ac_fn_c_try_cpp "$LINENO"; then :
   3191 
   3192 else
   3193   # Broken: fails on valid input.
   3194 continue
   3195 fi
   3196 rm -f conftest.err conftest.i conftest.$ac_ext
   3197 
   3198   # OK, works on sane cases.  Now check whether nonexistent headers
   3199   # can be detected and how.
   3200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3201 /* end confdefs.h.  */
   3202 #include <ac_nonexistent.h>
   3203 _ACEOF
   3204 if ac_fn_c_try_cpp "$LINENO"; then :
   3205   # Broken: success on invalid input.
   3206 continue
   3207 else
   3208   # Passes both tests.
   3209 ac_preproc_ok=:
   3210 break
   3211 fi
   3212 rm -f conftest.err conftest.i conftest.$ac_ext
   3213 
   3214 done
   3215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3216 rm -f conftest.i conftest.err conftest.$ac_ext
   3217 if $ac_preproc_ok; then :
   3218   break
   3219 fi
   3220 
   3221     done
   3222     ac_cv_prog_CPP=$CPP
   3223 
   3224 fi
   3225   CPP=$ac_cv_prog_CPP
   3226 else
   3227   ac_cv_prog_CPP=$CPP
   3228 fi
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3230 $as_echo "$CPP" >&6; }
   3231 ac_preproc_ok=false
   3232 for ac_c_preproc_warn_flag in '' yes
   3233 do
   3234   # Use a header file that comes with gcc, so configuring glibc
   3235   # with a fresh cross-compiler works.
   3236   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3237   # <limits.h> exists even on freestanding compilers.
   3238   # On the NeXT, cc -E runs the code through the compiler's parser,
   3239   # not just through cpp. "Syntax error" is here to catch this case.
   3240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3241 /* end confdefs.h.  */
   3242 #ifdef __STDC__
   3243 # include <limits.h>
   3244 #else
   3245 # include <assert.h>
   3246 #endif
   3247 		     Syntax error
   3248 _ACEOF
   3249 if ac_fn_c_try_cpp "$LINENO"; then :
   3250 
   3251 else
   3252   # Broken: fails on valid input.
   3253 continue
   3254 fi
   3255 rm -f conftest.err conftest.i conftest.$ac_ext
   3256 
   3257   # OK, works on sane cases.  Now check whether nonexistent headers
   3258   # can be detected and how.
   3259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3260 /* end confdefs.h.  */
   3261 #include <ac_nonexistent.h>
   3262 _ACEOF
   3263 if ac_fn_c_try_cpp "$LINENO"; then :
   3264   # Broken: success on invalid input.
   3265 continue
   3266 else
   3267   # Passes both tests.
   3268 ac_preproc_ok=:
   3269 break
   3270 fi
   3271 rm -f conftest.err conftest.i conftest.$ac_ext
   3272 
   3273 done
   3274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3275 rm -f conftest.i conftest.err conftest.$ac_ext
   3276 if $ac_preproc_ok; then :
   3277 
   3278 else
   3279   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3281 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3282 See \`config.log' for more details" "$LINENO" 5; }
   3283 fi
   3284 
   3285 ac_ext=c
   3286 ac_cpp='$CPP $CPPFLAGS'
   3287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3290 
   3291 
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3293 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3294 if ${ac_cv_path_GREP+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   if test -z "$GREP"; then
   3298   ac_path_GREP_found=false
   3299   # Loop through the user's path and test for each of PROGNAME-LIST
   3300   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3302 do
   3303   IFS=$as_save_IFS
   3304   test -z "$as_dir" && as_dir=.
   3305     for ac_prog in grep ggrep; do
   3306     for ac_exec_ext in '' $ac_executable_extensions; do
   3307       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3308       as_fn_executable_p "$ac_path_GREP" || continue
   3309 # Check for GNU ac_path_GREP and select it if it is found.
   3310   # Check for GNU $ac_path_GREP
   3311 case `"$ac_path_GREP" --version 2>&1` in
   3312 *GNU*)
   3313   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3314 *)
   3315   ac_count=0
   3316   $as_echo_n 0123456789 >"conftest.in"
   3317   while :
   3318   do
   3319     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3320     mv "conftest.tmp" "conftest.in"
   3321     cp "conftest.in" "conftest.nl"
   3322     $as_echo 'GREP' >> "conftest.nl"
   3323     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3324     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3325     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3326     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3327       # Best one so far, save it but keep looking for a better one
   3328       ac_cv_path_GREP="$ac_path_GREP"
   3329       ac_path_GREP_max=$ac_count
   3330     fi
   3331     # 10*(2^10) chars as input seems more than enough
   3332     test $ac_count -gt 10 && break
   3333   done
   3334   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3335 esac
   3336 
   3337       $ac_path_GREP_found && break 3
   3338     done
   3339   done
   3340   done
   3341 IFS=$as_save_IFS
   3342   if test -z "$ac_cv_path_GREP"; then
   3343     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3344   fi
   3345 else
   3346   ac_cv_path_GREP=$GREP
   3347 fi
   3348 
   3349 fi
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3351 $as_echo "$ac_cv_path_GREP" >&6; }
   3352  GREP="$ac_cv_path_GREP"
   3353 
   3354 
   3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3356 $as_echo_n "checking for egrep... " >&6; }
   3357 if ${ac_cv_path_EGREP+:} false; then :
   3358   $as_echo_n "(cached) " >&6
   3359 else
   3360   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3361    then ac_cv_path_EGREP="$GREP -E"
   3362    else
   3363      if test -z "$EGREP"; then
   3364   ac_path_EGREP_found=false
   3365   # Loop through the user's path and test for each of PROGNAME-LIST
   3366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3368 do
   3369   IFS=$as_save_IFS
   3370   test -z "$as_dir" && as_dir=.
   3371     for ac_prog in egrep; do
   3372     for ac_exec_ext in '' $ac_executable_extensions; do
   3373       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3374       as_fn_executable_p "$ac_path_EGREP" || continue
   3375 # Check for GNU ac_path_EGREP and select it if it is found.
   3376   # Check for GNU $ac_path_EGREP
   3377 case `"$ac_path_EGREP" --version 2>&1` in
   3378 *GNU*)
   3379   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3380 *)
   3381   ac_count=0
   3382   $as_echo_n 0123456789 >"conftest.in"
   3383   while :
   3384   do
   3385     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3386     mv "conftest.tmp" "conftest.in"
   3387     cp "conftest.in" "conftest.nl"
   3388     $as_echo 'EGREP' >> "conftest.nl"
   3389     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3390     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3391     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3392     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3393       # Best one so far, save it but keep looking for a better one
   3394       ac_cv_path_EGREP="$ac_path_EGREP"
   3395       ac_path_EGREP_max=$ac_count
   3396     fi
   3397     # 10*(2^10) chars as input seems more than enough
   3398     test $ac_count -gt 10 && break
   3399   done
   3400   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3401 esac
   3402 
   3403       $ac_path_EGREP_found && break 3
   3404     done
   3405   done
   3406   done
   3407 IFS=$as_save_IFS
   3408   if test -z "$ac_cv_path_EGREP"; then
   3409     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3410   fi
   3411 else
   3412   ac_cv_path_EGREP=$EGREP
   3413 fi
   3414 
   3415    fi
   3416 fi
   3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3418 $as_echo "$ac_cv_path_EGREP" >&6; }
   3419  EGREP="$ac_cv_path_EGREP"
   3420 
   3421 
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3423 $as_echo_n "checking for ANSI C header files... " >&6; }
   3424 if ${ac_cv_header_stdc+:} false; then :
   3425   $as_echo_n "(cached) " >&6
   3426 else
   3427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3428 /* end confdefs.h.  */
   3429 #include <stdlib.h>
   3430 #include <stdarg.h>
   3431 #include <string.h>
   3432 #include <float.h>
   3433 
   3434 int
   3435 main ()
   3436 {
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 if ac_fn_c_try_compile "$LINENO"; then :
   3443   ac_cv_header_stdc=yes
   3444 else
   3445   ac_cv_header_stdc=no
   3446 fi
   3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3448 
   3449 if test $ac_cv_header_stdc = yes; then
   3450   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3452 /* end confdefs.h.  */
   3453 #include <string.h>
   3454 
   3455 _ACEOF
   3456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3457   $EGREP "memchr" >/dev/null 2>&1; then :
   3458 
   3459 else
   3460   ac_cv_header_stdc=no
   3461 fi
   3462 rm -f conftest*
   3463 
   3464 fi
   3465 
   3466 if test $ac_cv_header_stdc = yes; then
   3467   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3469 /* end confdefs.h.  */
   3470 #include <stdlib.h>
   3471 
   3472 _ACEOF
   3473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3474   $EGREP "free" >/dev/null 2>&1; then :
   3475 
   3476 else
   3477   ac_cv_header_stdc=no
   3478 fi
   3479 rm -f conftest*
   3480 
   3481 fi
   3482 
   3483 if test $ac_cv_header_stdc = yes; then
   3484   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3485   if test "$cross_compiling" = yes; then :
   3486   :
   3487 else
   3488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3489 /* end confdefs.h.  */
   3490 #include <ctype.h>
   3491 #include <stdlib.h>
   3492 #if ((' ' & 0x0FF) == 0x020)
   3493 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3494 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3495 #else
   3496 # define ISLOWER(c) \
   3497 		   (('a' <= (c) && (c) <= 'i') \
   3498 		     || ('j' <= (c) && (c) <= 'r') \
   3499 		     || ('s' <= (c) && (c) <= 'z'))
   3500 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3501 #endif
   3502 
   3503 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3504 int
   3505 main ()
   3506 {
   3507   int i;
   3508   for (i = 0; i < 256; i++)
   3509     if (XOR (islower (i), ISLOWER (i))
   3510 	|| toupper (i) != TOUPPER (i))
   3511       return 2;
   3512   return 0;
   3513 }
   3514 _ACEOF
   3515 if ac_fn_c_try_run "$LINENO"; then :
   3516 
   3517 else
   3518   ac_cv_header_stdc=no
   3519 fi
   3520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3521   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3522 fi
   3523 
   3524 fi
   3525 fi
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3527 $as_echo "$ac_cv_header_stdc" >&6; }
   3528 if test $ac_cv_header_stdc = yes; then
   3529 
   3530 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3531 
   3532 fi
   3533 
   3534 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3535 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3536 		  inttypes.h stdint.h unistd.h
   3537 do :
   3538   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3539 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3540 "
   3541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3542   cat >>confdefs.h <<_ACEOF
   3543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3544 _ACEOF
   3545 
   3546 fi
   3547 
   3548 done
   3549 
   3550 
   3551 
   3552   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3553 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3554   MINIX=yes
   3555 else
   3556   MINIX=
   3557 fi
   3558 
   3559 
   3560   if test "$MINIX" = yes; then
   3561 
   3562 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3563 
   3564 
   3565 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3566 
   3567 
   3568 $as_echo "#define _MINIX 1" >>confdefs.h
   3569 
   3570   fi
   3571 
   3572 
   3573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3574 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3575 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3576   $as_echo_n "(cached) " >&6
   3577 else
   3578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3579 /* end confdefs.h.  */
   3580 
   3581 #         define __EXTENSIONS__ 1
   3582           $ac_includes_default
   3583 int
   3584 main ()
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591 if ac_fn_c_try_compile "$LINENO"; then :
   3592   ac_cv_safe_to_define___extensions__=yes
   3593 else
   3594   ac_cv_safe_to_define___extensions__=no
   3595 fi
   3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3597 fi
   3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3599 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3600   test $ac_cv_safe_to_define___extensions__ = yes &&
   3601     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3602 
   3603   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3604 
   3605   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3606 
   3607   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3608 
   3609   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3610 
   3611 
   3612 
   3613 # Initialize Automake
   3614 am__api_version='1.15'
   3615 
   3616 # Find a good install program.  We prefer a C program (faster),
   3617 # so one script is as good as another.  But avoid the broken or
   3618 # incompatible versions:
   3619 # SysV /etc/install, /usr/sbin/install
   3620 # SunOS /usr/etc/install
   3621 # IRIX /sbin/install
   3622 # AIX /bin/install
   3623 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3624 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3625 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3626 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3627 # OS/2's system install, which has a completely different semantic
   3628 # ./install, which can be erroneously created by make from ./install.sh.
   3629 # Reject install programs that cannot install multiple files.
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3631 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3632 if test -z "$INSTALL"; then
   3633 if ${ac_cv_path_install+:} false; then :
   3634   $as_echo_n "(cached) " >&6
   3635 else
   3636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3637 for as_dir in $PATH
   3638 do
   3639   IFS=$as_save_IFS
   3640   test -z "$as_dir" && as_dir=.
   3641     # Account for people who put trailing slashes in PATH elements.
   3642 case $as_dir/ in #((
   3643   ./ | .// | /[cC]/* | \
   3644   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3645   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3646   /usr/ucb/* ) ;;
   3647   *)
   3648     # OSF1 and SCO ODT 3.0 have their own names for install.
   3649     # Don't use installbsd from OSF since it installs stuff as root
   3650     # by default.
   3651     for ac_prog in ginstall scoinst install; do
   3652       for ac_exec_ext in '' $ac_executable_extensions; do
   3653 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3654 	  if test $ac_prog = install &&
   3655 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3656 	    # AIX install.  It has an incompatible calling convention.
   3657 	    :
   3658 	  elif test $ac_prog = install &&
   3659 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3660 	    # program-specific install script used by HP pwplus--don't use.
   3661 	    :
   3662 	  else
   3663 	    rm -rf conftest.one conftest.two conftest.dir
   3664 	    echo one > conftest.one
   3665 	    echo two > conftest.two
   3666 	    mkdir conftest.dir
   3667 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3668 	      test -s conftest.one && test -s conftest.two &&
   3669 	      test -s conftest.dir/conftest.one &&
   3670 	      test -s conftest.dir/conftest.two
   3671 	    then
   3672 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3673 	      break 3
   3674 	    fi
   3675 	  fi
   3676 	fi
   3677       done
   3678     done
   3679     ;;
   3680 esac
   3681 
   3682   done
   3683 IFS=$as_save_IFS
   3684 
   3685 rm -rf conftest.one conftest.two conftest.dir
   3686 
   3687 fi
   3688   if test "${ac_cv_path_install+set}" = set; then
   3689     INSTALL=$ac_cv_path_install
   3690   else
   3691     # As a last resort, use the slow shell script.  Don't cache a
   3692     # value for INSTALL within a source directory, because that will
   3693     # break other packages using the cache if that directory is
   3694     # removed, or if the value is a relative name.
   3695     INSTALL=$ac_install_sh
   3696   fi
   3697 fi
   3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3699 $as_echo "$INSTALL" >&6; }
   3700 
   3701 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3702 # It thinks the first close brace ends the variable substitution.
   3703 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3704 
   3705 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3706 
   3707 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3708 
   3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3710 $as_echo_n "checking whether build environment is sane... " >&6; }
   3711 # Reject unsafe characters in $srcdir or the absolute working directory
   3712 # name.  Accept space and tab only in the latter.
   3713 am_lf='
   3714 '
   3715 case `pwd` in
   3716   *[\\\"\#\$\&\'\`$am_lf]*)
   3717     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3718 esac
   3719 case $srcdir in
   3720   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3721     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3722 esac
   3723 
   3724 # Do 'set' in a subshell so we don't clobber the current shell's
   3725 # arguments.  Must try -L first in case configure is actually a
   3726 # symlink; some systems play weird games with the mod time of symlinks
   3727 # (eg FreeBSD returns the mod time of the symlink's containing
   3728 # directory).
   3729 if (
   3730    am_has_slept=no
   3731    for am_try in 1 2; do
   3732      echo "timestamp, slept: $am_has_slept" > conftest.file
   3733      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3734      if test "$*" = "X"; then
   3735 	# -L didn't work.
   3736 	set X `ls -t "$srcdir/configure" conftest.file`
   3737      fi
   3738      if test "$*" != "X $srcdir/configure conftest.file" \
   3739 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3740 
   3741 	# If neither matched, then we have a broken ls.  This can happen
   3742 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3743 	# broken ls alias from the environment.  This has actually
   3744 	# happened.  Such a system could not be considered "sane".
   3745 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3746   alias in your environment" "$LINENO" 5
   3747      fi
   3748      if test "$2" = conftest.file || test $am_try -eq 2; then
   3749        break
   3750      fi
   3751      # Just in case.
   3752      sleep 1
   3753      am_has_slept=yes
   3754    done
   3755    test "$2" = conftest.file
   3756    )
   3757 then
   3758    # Ok.
   3759    :
   3760 else
   3761    as_fn_error $? "newly created file is older than distributed files!
   3762 Check your system clock" "$LINENO" 5
   3763 fi
   3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3765 $as_echo "yes" >&6; }
   3766 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3767 # generated files are strictly newer.
   3768 am_sleep_pid=
   3769 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3770   ( sleep 1 ) &
   3771   am_sleep_pid=$!
   3772 fi
   3773 
   3774 rm -f conftest.file
   3775 
   3776 test "$program_prefix" != NONE &&
   3777   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3778 # Use a double $ so make ignores it.
   3779 test "$program_suffix" != NONE &&
   3780   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3781 # Double any \ or $.
   3782 # By default was `s,x,x', remove it if useless.
   3783 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3784 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3785 
   3786 if test x"${MISSING+set}" != xset; then
   3787   case $am_aux_dir in
   3788   *\ * | *\	*)
   3789     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3790   *)
   3791     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3792   esac
   3793 fi
   3794 # Use eval to expand $SHELL
   3795 if eval "$MISSING --is-lightweight"; then
   3796   am_missing_run="$MISSING "
   3797 else
   3798   am_missing_run=
   3799   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3800 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3801 fi
   3802 
   3803 if test x"${install_sh+set}" != xset; then
   3804   case $am_aux_dir in
   3805   *\ * | *\	*)
   3806     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3807   *)
   3808     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3809   esac
   3810 fi
   3811 
   3812 # Installed binaries are usually stripped using 'strip' when the user
   3813 # run "make install-strip".  However 'strip' might not be the right
   3814 # tool to use in cross-compilation environments, therefore Automake
   3815 # will honor the 'STRIP' environment variable to overrule this program.
   3816 if test "$cross_compiling" != no; then
   3817   if test -n "$ac_tool_prefix"; then
   3818   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3819 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3821 $as_echo_n "checking for $ac_word... " >&6; }
   3822 if ${ac_cv_prog_STRIP+:} false; then :
   3823   $as_echo_n "(cached) " >&6
   3824 else
   3825   if test -n "$STRIP"; then
   3826   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3827 else
   3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3829 for as_dir in $PATH
   3830 do
   3831   IFS=$as_save_IFS
   3832   test -z "$as_dir" && as_dir=.
   3833     for ac_exec_ext in '' $ac_executable_extensions; do
   3834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3835     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3837     break 2
   3838   fi
   3839 done
   3840   done
   3841 IFS=$as_save_IFS
   3842 
   3843 fi
   3844 fi
   3845 STRIP=$ac_cv_prog_STRIP
   3846 if test -n "$STRIP"; then
   3847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3848 $as_echo "$STRIP" >&6; }
   3849 else
   3850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3851 $as_echo "no" >&6; }
   3852 fi
   3853 
   3854 
   3855 fi
   3856 if test -z "$ac_cv_prog_STRIP"; then
   3857   ac_ct_STRIP=$STRIP
   3858   # Extract the first word of "strip", so it can be a program name with args.
   3859 set dummy strip; ac_word=$2
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3861 $as_echo_n "checking for $ac_word... " >&6; }
   3862 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3863   $as_echo_n "(cached) " >&6
   3864 else
   3865   if test -n "$ac_ct_STRIP"; then
   3866   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3867 else
   3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3869 for as_dir in $PATH
   3870 do
   3871   IFS=$as_save_IFS
   3872   test -z "$as_dir" && as_dir=.
   3873     for ac_exec_ext in '' $ac_executable_extensions; do
   3874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3875     ac_cv_prog_ac_ct_STRIP="strip"
   3876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3877     break 2
   3878   fi
   3879 done
   3880   done
   3881 IFS=$as_save_IFS
   3882 
   3883 fi
   3884 fi
   3885 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3886 if test -n "$ac_ct_STRIP"; then
   3887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3888 $as_echo "$ac_ct_STRIP" >&6; }
   3889 else
   3890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3891 $as_echo "no" >&6; }
   3892 fi
   3893 
   3894   if test "x$ac_ct_STRIP" = x; then
   3895     STRIP=":"
   3896   else
   3897     case $cross_compiling:$ac_tool_warned in
   3898 yes:)
   3899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3901 ac_tool_warned=yes ;;
   3902 esac
   3903     STRIP=$ac_ct_STRIP
   3904   fi
   3905 else
   3906   STRIP="$ac_cv_prog_STRIP"
   3907 fi
   3908 
   3909 fi
   3910 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3911 
   3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3913 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3914 if test -z "$MKDIR_P"; then
   3915   if ${ac_cv_path_mkdir+:} false; then :
   3916   $as_echo_n "(cached) " >&6
   3917 else
   3918   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3919 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3920 do
   3921   IFS=$as_save_IFS
   3922   test -z "$as_dir" && as_dir=.
   3923     for ac_prog in mkdir gmkdir; do
   3924 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3925 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3926 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3927 	     'mkdir (GNU coreutils) '* | \
   3928 	     'mkdir (coreutils) '* | \
   3929 	     'mkdir (fileutils) '4.1*)
   3930 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3931 	       break 3;;
   3932 	   esac
   3933 	 done
   3934        done
   3935   done
   3936 IFS=$as_save_IFS
   3937 
   3938 fi
   3939 
   3940   test -d ./--version && rmdir ./--version
   3941   if test "${ac_cv_path_mkdir+set}" = set; then
   3942     MKDIR_P="$ac_cv_path_mkdir -p"
   3943   else
   3944     # As a last resort, use the slow shell script.  Don't cache a
   3945     # value for MKDIR_P within a source directory, because that will
   3946     # break other packages using the cache if that directory is
   3947     # removed, or if the value is a relative name.
   3948     MKDIR_P="$ac_install_sh -d"
   3949   fi
   3950 fi
   3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3952 $as_echo "$MKDIR_P" >&6; }
   3953 
   3954 for ac_prog in gawk mawk nawk awk
   3955 do
   3956   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3957 set dummy $ac_prog; ac_word=$2
   3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3959 $as_echo_n "checking for $ac_word... " >&6; }
   3960 if ${ac_cv_prog_AWK+:} false; then :
   3961   $as_echo_n "(cached) " >&6
   3962 else
   3963   if test -n "$AWK"; then
   3964   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3965 else
   3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3967 for as_dir in $PATH
   3968 do
   3969   IFS=$as_save_IFS
   3970   test -z "$as_dir" && as_dir=.
   3971     for ac_exec_ext in '' $ac_executable_extensions; do
   3972   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3973     ac_cv_prog_AWK="$ac_prog"
   3974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3975     break 2
   3976   fi
   3977 done
   3978   done
   3979 IFS=$as_save_IFS
   3980 
   3981 fi
   3982 fi
   3983 AWK=$ac_cv_prog_AWK
   3984 if test -n "$AWK"; then
   3985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3986 $as_echo "$AWK" >&6; }
   3987 else
   3988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3989 $as_echo "no" >&6; }
   3990 fi
   3991 
   3992 
   3993   test -n "$AWK" && break
   3994 done
   3995 
   3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3997 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3998 set x ${MAKE-make}
   3999 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4000 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4001   $as_echo_n "(cached) " >&6
   4002 else
   4003   cat >conftest.make <<\_ACEOF
   4004 SHELL = /bin/sh
   4005 all:
   4006 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4007 _ACEOF
   4008 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4009 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4010   *@@@%%%=?*=@@@%%%*)
   4011     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4012   *)
   4013     eval ac_cv_prog_make_${ac_make}_set=no;;
   4014 esac
   4015 rm -f conftest.make
   4016 fi
   4017 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4019 $as_echo "yes" >&6; }
   4020   SET_MAKE=
   4021 else
   4022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4023 $as_echo "no" >&6; }
   4024   SET_MAKE="MAKE=${MAKE-make}"
   4025 fi
   4026 
   4027 rm -rf .tst 2>/dev/null
   4028 mkdir .tst 2>/dev/null
   4029 if test -d .tst; then
   4030   am__leading_dot=.
   4031 else
   4032   am__leading_dot=_
   4033 fi
   4034 rmdir .tst 2>/dev/null
   4035 
   4036 DEPDIR="${am__leading_dot}deps"
   4037 
   4038 ac_config_commands="$ac_config_commands depfiles"
   4039 
   4040 
   4041 am_make=${MAKE-make}
   4042 cat > confinc << 'END'
   4043 am__doit:
   4044 	@echo this is the am__doit target
   4045 .PHONY: am__doit
   4046 END
   4047 # If we don't find an include directive, just comment out the code.
   4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4049 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4050 am__include="#"
   4051 am__quote=
   4052 _am_result=none
   4053 # First try GNU make style include.
   4054 echo "include confinc" > confmf
   4055 # Ignore all kinds of additional output from 'make'.
   4056 case `$am_make -s -f confmf 2> /dev/null` in #(
   4057 *the\ am__doit\ target*)
   4058   am__include=include
   4059   am__quote=
   4060   _am_result=GNU
   4061   ;;
   4062 esac
   4063 # Now try BSD make style include.
   4064 if test "$am__include" = "#"; then
   4065    echo '.include "confinc"' > confmf
   4066    case `$am_make -s -f confmf 2> /dev/null` in #(
   4067    *the\ am__doit\ target*)
   4068      am__include=.include
   4069      am__quote="\""
   4070      _am_result=BSD
   4071      ;;
   4072    esac
   4073 fi
   4074 
   4075 
   4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4077 $as_echo "$_am_result" >&6; }
   4078 rm -f confinc confmf
   4079 
   4080 # Check whether --enable-dependency-tracking was given.
   4081 if test "${enable_dependency_tracking+set}" = set; then :
   4082   enableval=$enable_dependency_tracking;
   4083 fi
   4084 
   4085 if test "x$enable_dependency_tracking" != xno; then
   4086   am_depcomp="$ac_aux_dir/depcomp"
   4087   AMDEPBACKSLASH='\'
   4088   am__nodep='_no'
   4089 fi
   4090  if test "x$enable_dependency_tracking" != xno; then
   4091   AMDEP_TRUE=
   4092   AMDEP_FALSE='#'
   4093 else
   4094   AMDEP_TRUE='#'
   4095   AMDEP_FALSE=
   4096 fi
   4097 
   4098 
   4099 # Check whether --enable-silent-rules was given.
   4100 if test "${enable_silent_rules+set}" = set; then :
   4101   enableval=$enable_silent_rules;
   4102 fi
   4103 
   4104 case $enable_silent_rules in # (((
   4105   yes) AM_DEFAULT_VERBOSITY=0;;
   4106    no) AM_DEFAULT_VERBOSITY=1;;
   4107     *) AM_DEFAULT_VERBOSITY=1;;
   4108 esac
   4109 am_make=${MAKE-make}
   4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4111 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4112 if ${am_cv_make_support_nested_variables+:} false; then :
   4113   $as_echo_n "(cached) " >&6
   4114 else
   4115   if $as_echo 'TRUE=$(BAR$(V))
   4116 BAR0=false
   4117 BAR1=true
   4118 V=1
   4119 am__doit:
   4120 	@$(TRUE)
   4121 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4122   am_cv_make_support_nested_variables=yes
   4123 else
   4124   am_cv_make_support_nested_variables=no
   4125 fi
   4126 fi
   4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4128 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4129 if test $am_cv_make_support_nested_variables = yes; then
   4130     AM_V='$(V)'
   4131   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4132 else
   4133   AM_V=$AM_DEFAULT_VERBOSITY
   4134   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4135 fi
   4136 AM_BACKSLASH='\'
   4137 
   4138 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4139   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4140   # is not polluted with repeated "-I."
   4141   am__isrc=' -I$(srcdir)'
   4142   # test to see if srcdir already configured
   4143   if test -f $srcdir/config.status; then
   4144     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4145   fi
   4146 fi
   4147 
   4148 # test whether we have cygpath
   4149 if test -z "$CYGPATH_W"; then
   4150   if (cygpath --version) >/dev/null 2>/dev/null; then
   4151     CYGPATH_W='cygpath -w'
   4152   else
   4153     CYGPATH_W=echo
   4154   fi
   4155 fi
   4156 
   4157 
   4158 # Define the identity of the package.
   4159  PACKAGE='xwininfo'
   4160  VERSION='1.1.4'
   4161 
   4162 
   4163 cat >>confdefs.h <<_ACEOF
   4164 #define PACKAGE "$PACKAGE"
   4165 _ACEOF
   4166 
   4167 
   4168 cat >>confdefs.h <<_ACEOF
   4169 #define VERSION "$VERSION"
   4170 _ACEOF
   4171 
   4172 # Some tools Automake needs.
   4173 
   4174 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4175 
   4176 
   4177 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4178 
   4179 
   4180 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4181 
   4182 
   4183 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4184 
   4185 
   4186 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4187 
   4188 # For better backward compatibility.  To be removed once Automake 1.9.x
   4189 # dies out for good.  For more background, see:
   4190 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4191 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4192 mkdir_p='$(MKDIR_P)'
   4193 
   4194 # We need awk for the "check" target (and possibly the TAP driver).  The
   4195 # system "awk" is bad on some platforms.
   4196 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4197 # in the wild :-(  We should find a proper way to deprecate it ...
   4198 AMTAR='$${TAR-tar}'
   4199 
   4200 
   4201 # We'll loop over all known methods to create a tar archive until one works.
   4202 _am_tools='gnutar  pax cpio none'
   4203 
   4204 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4205 
   4206 
   4207 
   4208 
   4209 
   4210 depcc="$CC"   am_compiler_list=
   4211 
   4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4213 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4214 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4218   # We make a subdir and do the tests there.  Otherwise we can end up
   4219   # making bogus files that we don't know about and never remove.  For
   4220   # instance it was reported that on HP-UX the gcc test will end up
   4221   # making a dummy file named 'D' -- because '-MD' means "put the output
   4222   # in D".
   4223   rm -rf conftest.dir
   4224   mkdir conftest.dir
   4225   # Copy depcomp to subdir because otherwise we won't find it if we're
   4226   # using a relative directory.
   4227   cp "$am_depcomp" conftest.dir
   4228   cd conftest.dir
   4229   # We will build objects and dependencies in a subdirectory because
   4230   # it helps to detect inapplicable dependency modes.  For instance
   4231   # both Tru64's cc and ICC support -MD to output dependencies as a
   4232   # side effect of compilation, but ICC will put the dependencies in
   4233   # the current directory while Tru64 will put them in the object
   4234   # directory.
   4235   mkdir sub
   4236 
   4237   am_cv_CC_dependencies_compiler_type=none
   4238   if test "$am_compiler_list" = ""; then
   4239      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4240   fi
   4241   am__universal=false
   4242   case " $depcc " in #(
   4243      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4244      esac
   4245 
   4246   for depmode in $am_compiler_list; do
   4247     # Setup a source with many dependencies, because some compilers
   4248     # like to wrap large dependency lists on column 80 (with \), and
   4249     # we should not choose a depcomp mode which is confused by this.
   4250     #
   4251     # We need to recreate these files for each test, as the compiler may
   4252     # overwrite some of them when testing with obscure command lines.
   4253     # This happens at least with the AIX C compiler.
   4254     : > sub/conftest.c
   4255     for i in 1 2 3 4 5 6; do
   4256       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4257       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4258       # Solaris 10 /bin/sh.
   4259       echo '/* dummy */' > sub/conftst$i.h
   4260     done
   4261     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4262 
   4263     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4264     # mode.  It turns out that the SunPro C++ compiler does not properly
   4265     # handle '-M -o', and we need to detect this.  Also, some Intel
   4266     # versions had trouble with output in subdirs.
   4267     am__obj=sub/conftest.${OBJEXT-o}
   4268     am__minus_obj="-o $am__obj"
   4269     case $depmode in
   4270     gcc)
   4271       # This depmode causes a compiler race in universal mode.
   4272       test "$am__universal" = false || continue
   4273       ;;
   4274     nosideeffect)
   4275       # After this tag, mechanisms are not by side-effect, so they'll
   4276       # only be used when explicitly requested.
   4277       if test "x$enable_dependency_tracking" = xyes; then
   4278 	continue
   4279       else
   4280 	break
   4281       fi
   4282       ;;
   4283     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4284       # This compiler won't grok '-c -o', but also, the minuso test has
   4285       # not run yet.  These depmodes are late enough in the game, and
   4286       # so weak that their functioning should not be impacted.
   4287       am__obj=conftest.${OBJEXT-o}
   4288       am__minus_obj=
   4289       ;;
   4290     none) break ;;
   4291     esac
   4292     if depmode=$depmode \
   4293        source=sub/conftest.c object=$am__obj \
   4294        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4295        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4296          >/dev/null 2>conftest.err &&
   4297        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4298        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4299        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4300        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4301       # icc doesn't choke on unknown options, it will just issue warnings
   4302       # or remarks (even with -Werror).  So we grep stderr for any message
   4303       # that says an option was ignored or not supported.
   4304       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4305       #   icc: Command line warning: ignoring option '-M'; no argument required
   4306       # The diagnosis changed in icc 8.0:
   4307       #   icc: Command line remark: option '-MP' not supported
   4308       if (grep 'ignoring option' conftest.err ||
   4309           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4310         am_cv_CC_dependencies_compiler_type=$depmode
   4311         break
   4312       fi
   4313     fi
   4314   done
   4315 
   4316   cd ..
   4317   rm -rf conftest.dir
   4318 else
   4319   am_cv_CC_dependencies_compiler_type=none
   4320 fi
   4321 
   4322 fi
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4324 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4325 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4326 
   4327  if
   4328   test "x$enable_dependency_tracking" != xno \
   4329   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4330   am__fastdepCC_TRUE=
   4331   am__fastdepCC_FALSE='#'
   4332 else
   4333   am__fastdepCC_TRUE='#'
   4334   am__fastdepCC_FALSE=
   4335 fi
   4336 
   4337 
   4338 
   4339 # POSIX will say in a future version that running "rm -f" with no argument
   4340 # is OK; and we want to be able to make that assumption in our Makefile
   4341 # recipes.  So use an aggressive probe to check that the usage we want is
   4342 # actually supported "in the wild" to an acceptable degree.
   4343 # See automake bug#10828.
   4344 # To make any issue more visible, cause the running configure to be aborted
   4345 # by default if the 'rm' program in use doesn't match our expectations; the
   4346 # user can still override this though.
   4347 if rm -f && rm -fr && rm -rf; then : OK; else
   4348   cat >&2 <<'END'
   4349 Oops!
   4350 
   4351 Your 'rm' program seems unable to run without file operands specified
   4352 on the command line, even when the '-f' option is present.  This is contrary
   4353 to the behaviour of most rm programs out there, and not conforming with
   4354 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4355 
   4356 Please tell bug-automake@gnu.org about your system, including the value
   4357 of your $PATH and any error possibly output before this message.  This
   4358 can help us improve future automake versions.
   4359 
   4360 END
   4361   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4362     echo 'Configuration will proceed anyway, since you have set the' >&2
   4363     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4364     echo >&2
   4365   else
   4366     cat >&2 <<'END'
   4367 Aborting the configuration process, to ensure you take notice of the issue.
   4368 
   4369 You can download and install GNU coreutils to get an 'rm' implementation
   4370 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4371 
   4372 If you want to complete the configuration process using your problematic
   4373 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4374 to "yes", and re-run configure.
   4375 
   4376 END
   4377     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4378   fi
   4379 fi
   4380 
   4381 # Make sure we can run config.sub.
   4382 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4383   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4384 
   4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4386 $as_echo_n "checking build system type... " >&6; }
   4387 if ${ac_cv_build+:} false; then :
   4388   $as_echo_n "(cached) " >&6
   4389 else
   4390   ac_build_alias=$build_alias
   4391 test "x$ac_build_alias" = x &&
   4392   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4393 test "x$ac_build_alias" = x &&
   4394   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4395 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4396   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4397 
   4398 fi
   4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4400 $as_echo "$ac_cv_build" >&6; }
   4401 case $ac_cv_build in
   4402 *-*-*) ;;
   4403 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4404 esac
   4405 build=$ac_cv_build
   4406 ac_save_IFS=$IFS; IFS='-'
   4407 set x $ac_cv_build
   4408 shift
   4409 build_cpu=$1
   4410 build_vendor=$2
   4411 shift; shift
   4412 # Remember, the first character of IFS is used to create $*,
   4413 # except with old shells:
   4414 build_os=$*
   4415 IFS=$ac_save_IFS
   4416 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4417 
   4418 
   4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4420 $as_echo_n "checking host system type... " >&6; }
   4421 if ${ac_cv_host+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   if test "x$host_alias" = x; then
   4425   ac_cv_host=$ac_cv_build
   4426 else
   4427   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4428     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4429 fi
   4430 
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4433 $as_echo "$ac_cv_host" >&6; }
   4434 case $ac_cv_host in
   4435 *-*-*) ;;
   4436 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4437 esac
   4438 host=$ac_cv_host
   4439 ac_save_IFS=$IFS; IFS='-'
   4440 set x $ac_cv_host
   4441 shift
   4442 host_cpu=$1
   4443 host_vendor=$2
   4444 shift; shift
   4445 # Remember, the first character of IFS is used to create $*,
   4446 # except with old shells:
   4447 host_os=$*
   4448 IFS=$ac_save_IFS
   4449 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4450 
   4451 
   4452 
   4453       if test "X$prefix" = "XNONE"; then
   4454     acl_final_prefix="$ac_default_prefix"
   4455   else
   4456     acl_final_prefix="$prefix"
   4457   fi
   4458   if test "X$exec_prefix" = "XNONE"; then
   4459     acl_final_exec_prefix='${prefix}'
   4460   else
   4461     acl_final_exec_prefix="$exec_prefix"
   4462   fi
   4463   acl_save_prefix="$prefix"
   4464   prefix="$acl_final_prefix"
   4465   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   4466   prefix="$acl_save_prefix"
   4467 
   4468 
   4469 
   4470 # Check whether --with-gnu-ld was given.
   4471 if test "${with_gnu_ld+set}" = set; then :
   4472   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4473 else
   4474   with_gnu_ld=no
   4475 fi
   4476 
   4477 # Prepare PATH_SEPARATOR.
   4478 # The user is always right.
   4479 if test "${PATH_SEPARATOR+set}" != set; then
   4480   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   4481   # contains only /bin. Note that ksh looks also at the FPATH variable,
   4482   # so we have to set that as well for the test.
   4483   PATH_SEPARATOR=:
   4484   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   4485     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   4486            || PATH_SEPARATOR=';'
   4487        }
   4488 fi
   4489 
   4490 ac_prog=ld
   4491 if test "$GCC" = yes; then
   4492   # Check if gcc -print-prog-name=ld gives a path.
   4493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4494 $as_echo_n "checking for ld used by $CC... " >&6; }
   4495   case $host in
   4496   *-*-mingw*)
   4497     # gcc leaves a trailing carriage return which upsets mingw
   4498     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4499   *)
   4500     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4501   esac
   4502   case $ac_prog in
   4503     # Accept absolute paths.
   4504     [\\/]* | ?:[\\/]*)
   4505       re_direlt='/[^/][^/]*/\.\./'
   4506       # Canonicalize the pathname of ld
   4507       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
   4508       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
   4509         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   4510       done
   4511       test -z "$LD" && LD="$ac_prog"
   4512       ;;
   4513   "")
   4514     # If it fails, then pretend we aren't using GCC.
   4515     ac_prog=ld
   4516     ;;
   4517   *)
   4518     # If it is relative, then search for the first ld in PATH.
   4519     with_gnu_ld=unknown
   4520     ;;
   4521   esac
   4522 elif test "$with_gnu_ld" = yes; then
   4523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4524 $as_echo_n "checking for GNU ld... " >&6; }
   4525 else
   4526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4527 $as_echo_n "checking for non-GNU ld... " >&6; }
   4528 fi
   4529 if ${acl_cv_path_LD+:} false; then :
   4530   $as_echo_n "(cached) " >&6
   4531 else
   4532   if test -z "$LD"; then
   4533   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4534   for ac_dir in $PATH; do
   4535     IFS="$acl_save_ifs"
   4536     test -z "$ac_dir" && ac_dir=.
   4537     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4538       acl_cv_path_LD="$ac_dir/$ac_prog"
   4539       # Check to see if the program is GNU ld.  I'd rather use --version,
   4540       # but apparently some variants of GNU ld only accept -v.
   4541       # Break only if it was the GNU/non-GNU ld that we prefer.
   4542       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   4543       *GNU* | *'with BFD'*)
   4544         test "$with_gnu_ld" != no && break
   4545         ;;
   4546       *)
   4547         test "$with_gnu_ld" != yes && break
   4548         ;;
   4549       esac
   4550     fi
   4551   done
   4552   IFS="$acl_save_ifs"
   4553 else
   4554   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   4555 fi
   4556 fi
   4557 
   4558 LD="$acl_cv_path_LD"
   4559 if test -n "$LD"; then
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4561 $as_echo "$LD" >&6; }
   4562 else
   4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4564 $as_echo "no" >&6; }
   4565 fi
   4566 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4568 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4569 if ${acl_cv_prog_gnu_ld+:} false; then :
   4570   $as_echo_n "(cached) " >&6
   4571 else
   4572   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4573 case `$LD -v 2>&1 </dev/null` in
   4574 *GNU* | *'with BFD'*)
   4575   acl_cv_prog_gnu_ld=yes
   4576   ;;
   4577 *)
   4578   acl_cv_prog_gnu_ld=no
   4579   ;;
   4580 esac
   4581 fi
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   4583 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   4584 with_gnu_ld=$acl_cv_prog_gnu_ld
   4585 
   4586 
   4587 
   4588 
   4589                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   4590 $as_echo_n "checking for shared library run path origin... " >&6; }
   4591 if ${acl_cv_rpath+:} false; then :
   4592   $as_echo_n "(cached) " >&6
   4593 else
   4594 
   4595     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   4596     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   4597     . ./conftest.sh
   4598     rm -f ./conftest.sh
   4599     acl_cv_rpath=done
   4600 
   4601 fi
   4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   4603 $as_echo "$acl_cv_rpath" >&6; }
   4604   wl="$acl_cv_wl"
   4605   acl_libext="$acl_cv_libext"
   4606   acl_shlibext="$acl_cv_shlibext"
   4607   acl_libname_spec="$acl_cv_libname_spec"
   4608   acl_library_names_spec="$acl_cv_library_names_spec"
   4609   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   4610   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   4611   acl_hardcode_direct="$acl_cv_hardcode_direct"
   4612   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   4613     # Check whether --enable-rpath was given.
   4614 if test "${enable_rpath+set}" = set; then :
   4615   enableval=$enable_rpath; :
   4616 else
   4617   enable_rpath=yes
   4618 fi
   4619 
   4620 
   4621 
   4622 
   4623   acl_libdirstem=lib
   4624   acl_libdirstem2=
   4625   case "$host_os" in
   4626     solaris*)
   4627                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
   4628 $as_echo_n "checking for 64-bit host... " >&6; }
   4629 if ${gl_cv_solaris_64bit+:} false; then :
   4630   $as_echo_n "(cached) " >&6
   4631 else
   4632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4633 /* end confdefs.h.  */
   4634 
   4635 #ifdef _LP64
   4636 sixtyfour bits
   4637 #endif
   4638 
   4639 _ACEOF
   4640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4641   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
   4642   gl_cv_solaris_64bit=yes
   4643 else
   4644   gl_cv_solaris_64bit=no
   4645 fi
   4646 rm -f conftest*
   4647 
   4648 
   4649 fi
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
   4651 $as_echo "$gl_cv_solaris_64bit" >&6; }
   4652       if test $gl_cv_solaris_64bit = yes; then
   4653         acl_libdirstem=lib/64
   4654         case "$host_cpu" in
   4655           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
   4656           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
   4657         esac
   4658       fi
   4659       ;;
   4660     *)
   4661       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   4662       if test -n "$searchpath"; then
   4663         acl_save_IFS="${IFS= 	}"; IFS=":"
   4664         for searchdir in $searchpath; do
   4665           if test -d "$searchdir"; then
   4666             case "$searchdir" in
   4667               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   4668               */../ | */.. )
   4669                 # Better ignore directories of this form. They are misleading.
   4670                 ;;
   4671               *) searchdir=`cd "$searchdir" && pwd`
   4672                  case "$searchdir" in
   4673                    */lib64 ) acl_libdirstem=lib64 ;;
   4674                  esac ;;
   4675             esac
   4676           fi
   4677         done
   4678         IFS="$acl_save_IFS"
   4679       fi
   4680       ;;
   4681   esac
   4682   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   4683 
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695     use_additional=yes
   4696 
   4697   acl_save_prefix="$prefix"
   4698   prefix="$acl_final_prefix"
   4699   acl_save_exec_prefix="$exec_prefix"
   4700   exec_prefix="$acl_final_exec_prefix"
   4701 
   4702     eval additional_includedir=\"$includedir\"
   4703     eval additional_libdir=\"$libdir\"
   4704 
   4705   exec_prefix="$acl_save_exec_prefix"
   4706   prefix="$acl_save_prefix"
   4707 
   4708 
   4709 # Check whether --with-libiconv-prefix was given.
   4710 if test "${with_libiconv_prefix+set}" = set; then :
   4711   withval=$with_libiconv_prefix;
   4712     if test "X$withval" = "Xno"; then
   4713       use_additional=no
   4714     else
   4715       if test "X$withval" = "X"; then
   4716 
   4717   acl_save_prefix="$prefix"
   4718   prefix="$acl_final_prefix"
   4719   acl_save_exec_prefix="$exec_prefix"
   4720   exec_prefix="$acl_final_exec_prefix"
   4721 
   4722           eval additional_includedir=\"$includedir\"
   4723           eval additional_libdir=\"$libdir\"
   4724 
   4725   exec_prefix="$acl_save_exec_prefix"
   4726   prefix="$acl_save_prefix"
   4727 
   4728       else
   4729         additional_includedir="$withval/include"
   4730         additional_libdir="$withval/$acl_libdirstem"
   4731         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   4732            && ! test -d "$withval/$acl_libdirstem"; then
   4733           additional_libdir="$withval/$acl_libdirstem2"
   4734         fi
   4735       fi
   4736     fi
   4737 
   4738 fi
   4739 
   4740       LIBICONV=
   4741   LTLIBICONV=
   4742   INCICONV=
   4743   LIBICONV_PREFIX=
   4744       HAVE_LIBICONV=
   4745   rpathdirs=
   4746   ltrpathdirs=
   4747   names_already_handled=
   4748   names_next_round='iconv '
   4749   while test -n "$names_next_round"; do
   4750     names_this_round="$names_next_round"
   4751     names_next_round=
   4752     for name in $names_this_round; do
   4753       already_handled=
   4754       for n in $names_already_handled; do
   4755         if test "$n" = "$name"; then
   4756           already_handled=yes
   4757           break
   4758         fi
   4759       done
   4760       if test -z "$already_handled"; then
   4761         names_already_handled="$names_already_handled $name"
   4762                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   4763         eval value=\"\$HAVE_LIB$uppername\"
   4764         if test -n "$value"; then
   4765           if test "$value" = yes; then
   4766             eval value=\"\$LIB$uppername\"
   4767             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   4768             eval value=\"\$LTLIB$uppername\"
   4769             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   4770           else
   4771                                     :
   4772           fi
   4773         else
   4774                               found_dir=
   4775           found_la=
   4776           found_so=
   4777           found_a=
   4778           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   4779           if test -n "$acl_shlibext"; then
   4780             shrext=".$acl_shlibext"             # typically: shrext=.so
   4781           else
   4782             shrext=
   4783           fi
   4784           if test $use_additional = yes; then
   4785             dir="$additional_libdir"
   4786                                     if test -n "$acl_shlibext"; then
   4787               if test -f "$dir/$libname$shrext"; then
   4788                 found_dir="$dir"
   4789                 found_so="$dir/$libname$shrext"
   4790               else
   4791                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   4792                   ver=`(cd "$dir" && \
   4793                         for f in "$libname$shrext".*; do echo "$f"; done \
   4794                         | sed -e "s,^$libname$shrext\\\\.,," \
   4795                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   4796                         | sed 1q ) 2>/dev/null`
   4797                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   4798                     found_dir="$dir"
   4799                     found_so="$dir/$libname$shrext.$ver"
   4800                   fi
   4801                 else
   4802                   eval library_names=\"$acl_library_names_spec\"
   4803                   for f in $library_names; do
   4804                     if test -f "$dir/$f"; then
   4805                       found_dir="$dir"
   4806                       found_so="$dir/$f"
   4807                       break
   4808                     fi
   4809                   done
   4810                 fi
   4811               fi
   4812             fi
   4813                         if test "X$found_dir" = "X"; then
   4814               if test -f "$dir/$libname.$acl_libext"; then
   4815                 found_dir="$dir"
   4816                 found_a="$dir/$libname.$acl_libext"
   4817               fi
   4818             fi
   4819             if test "X$found_dir" != "X"; then
   4820               if test -f "$dir/$libname.la"; then
   4821                 found_la="$dir/$libname.la"
   4822               fi
   4823             fi
   4824           fi
   4825           if test "X$found_dir" = "X"; then
   4826             for x in $LDFLAGS $LTLIBICONV; do
   4827 
   4828   acl_save_prefix="$prefix"
   4829   prefix="$acl_final_prefix"
   4830   acl_save_exec_prefix="$exec_prefix"
   4831   exec_prefix="$acl_final_exec_prefix"
   4832   eval x=\"$x\"
   4833   exec_prefix="$acl_save_exec_prefix"
   4834   prefix="$acl_save_prefix"
   4835 
   4836               case "$x" in
   4837                 -L*)
   4838                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   4839                                     if test -n "$acl_shlibext"; then
   4840                     if test -f "$dir/$libname$shrext"; then
   4841                       found_dir="$dir"
   4842                       found_so="$dir/$libname$shrext"
   4843                     else
   4844                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   4845                         ver=`(cd "$dir" && \
   4846                               for f in "$libname$shrext".*; do echo "$f"; done \
   4847                               | sed -e "s,^$libname$shrext\\\\.,," \
   4848                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   4849                               | sed 1q ) 2>/dev/null`
   4850                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   4851                           found_dir="$dir"
   4852                           found_so="$dir/$libname$shrext.$ver"
   4853                         fi
   4854                       else
   4855                         eval library_names=\"$acl_library_names_spec\"
   4856                         for f in $library_names; do
   4857                           if test -f "$dir/$f"; then
   4858                             found_dir="$dir"
   4859                             found_so="$dir/$f"
   4860                             break
   4861                           fi
   4862                         done
   4863                       fi
   4864                     fi
   4865                   fi
   4866                                     if test "X$found_dir" = "X"; then
   4867                     if test -f "$dir/$libname.$acl_libext"; then
   4868                       found_dir="$dir"
   4869                       found_a="$dir/$libname.$acl_libext"
   4870                     fi
   4871                   fi
   4872                   if test "X$found_dir" != "X"; then
   4873                     if test -f "$dir/$libname.la"; then
   4874                       found_la="$dir/$libname.la"
   4875                     fi
   4876                   fi
   4877                   ;;
   4878               esac
   4879               if test "X$found_dir" != "X"; then
   4880                 break
   4881               fi
   4882             done
   4883           fi
   4884           if test "X$found_dir" != "X"; then
   4885                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   4886             if test "X$found_so" != "X"; then
   4887                                                         if test "$enable_rpath" = no \
   4888                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   4889                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   4890                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   4891               else
   4892                                                                                 haveit=
   4893                 for x in $ltrpathdirs; do
   4894                   if test "X$x" = "X$found_dir"; then
   4895                     haveit=yes
   4896                     break
   4897                   fi
   4898                 done
   4899                 if test -z "$haveit"; then
   4900                   ltrpathdirs="$ltrpathdirs $found_dir"
   4901                 fi
   4902                                 if test "$acl_hardcode_direct" = yes; then
   4903                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   4904                 else
   4905                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   4906                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   4907                                                             haveit=
   4908                     for x in $rpathdirs; do
   4909                       if test "X$x" = "X$found_dir"; then
   4910                         haveit=yes
   4911                         break
   4912                       fi
   4913                     done
   4914                     if test -z "$haveit"; then
   4915                       rpathdirs="$rpathdirs $found_dir"
   4916                     fi
   4917                   else
   4918                                                                                 haveit=
   4919                     for x in $LDFLAGS $LIBICONV; do
   4920 
   4921   acl_save_prefix="$prefix"
   4922   prefix="$acl_final_prefix"
   4923   acl_save_exec_prefix="$exec_prefix"
   4924   exec_prefix="$acl_final_exec_prefix"
   4925   eval x=\"$x\"
   4926   exec_prefix="$acl_save_exec_prefix"
   4927   prefix="$acl_save_prefix"
   4928 
   4929                       if test "X$x" = "X-L$found_dir"; then
   4930                         haveit=yes
   4931                         break
   4932                       fi
   4933                     done
   4934                     if test -z "$haveit"; then
   4935                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   4936                     fi
   4937                     if test "$acl_hardcode_minus_L" != no; then
   4938                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   4939                     else
   4940                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   4941                     fi
   4942                   fi
   4943                 fi
   4944               fi
   4945             else
   4946               if test "X$found_a" != "X"; then
   4947                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   4948               else
   4949                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   4950               fi
   4951             fi
   4952                         additional_includedir=
   4953             case "$found_dir" in
   4954               */$acl_libdirstem | */$acl_libdirstem/)
   4955                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   4956                 if test "$name" = 'iconv'; then
   4957                   LIBICONV_PREFIX="$basedir"
   4958                 fi
   4959                 additional_includedir="$basedir/include"
   4960                 ;;
   4961               */$acl_libdirstem2 | */$acl_libdirstem2/)
   4962                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   4963                 if test "$name" = 'iconv'; then
   4964                   LIBICONV_PREFIX="$basedir"
   4965                 fi
   4966                 additional_includedir="$basedir/include"
   4967                 ;;
   4968             esac
   4969             if test "X$additional_includedir" != "X"; then
   4970                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   4971                 haveit=
   4972                 if test "X$additional_includedir" = "X/usr/local/include"; then
   4973                   if test -n "$GCC"; then
   4974                     case $host_os in
   4975                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   4976                     esac
   4977                   fi
   4978                 fi
   4979                 if test -z "$haveit"; then
   4980                   for x in $CPPFLAGS $INCICONV; do
   4981 
   4982   acl_save_prefix="$prefix"
   4983   prefix="$acl_final_prefix"
   4984   acl_save_exec_prefix="$exec_prefix"
   4985   exec_prefix="$acl_final_exec_prefix"
   4986   eval x=\"$x\"
   4987   exec_prefix="$acl_save_exec_prefix"
   4988   prefix="$acl_save_prefix"
   4989 
   4990                     if test "X$x" = "X-I$additional_includedir"; then
   4991                       haveit=yes
   4992                       break
   4993                     fi
   4994                   done
   4995                   if test -z "$haveit"; then
   4996                     if test -d "$additional_includedir"; then
   4997                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   4998                     fi
   4999                   fi
   5000                 fi
   5001               fi
   5002             fi
   5003                         if test -n "$found_la"; then
   5004                                                         save_libdir="$libdir"
   5005               case "$found_la" in
   5006                 */* | *\\*) . "$found_la" ;;
   5007                 *) . "./$found_la" ;;
   5008               esac
   5009               libdir="$save_libdir"
   5010                             for dep in $dependency_libs; do
   5011                 case "$dep" in
   5012                   -L*)
   5013                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   5014                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   5015                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   5016                       haveit=
   5017                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   5018                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   5019                         if test -n "$GCC"; then
   5020                           case $host_os in
   5021                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   5022                           esac
   5023                         fi
   5024                       fi
   5025                       if test -z "$haveit"; then
   5026                         haveit=
   5027                         for x in $LDFLAGS $LIBICONV; do
   5028 
   5029   acl_save_prefix="$prefix"
   5030   prefix="$acl_final_prefix"
   5031   acl_save_exec_prefix="$exec_prefix"
   5032   exec_prefix="$acl_final_exec_prefix"
   5033   eval x=\"$x\"
   5034   exec_prefix="$acl_save_exec_prefix"
   5035   prefix="$acl_save_prefix"
   5036 
   5037                           if test "X$x" = "X-L$additional_libdir"; then
   5038                             haveit=yes
   5039                             break
   5040                           fi
   5041                         done
   5042                         if test -z "$haveit"; then
   5043                           if test -d "$additional_libdir"; then
   5044                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   5045                           fi
   5046                         fi
   5047                         haveit=
   5048                         for x in $LDFLAGS $LTLIBICONV; do
   5049 
   5050   acl_save_prefix="$prefix"
   5051   prefix="$acl_final_prefix"
   5052   acl_save_exec_prefix="$exec_prefix"
   5053   exec_prefix="$acl_final_exec_prefix"
   5054   eval x=\"$x\"
   5055   exec_prefix="$acl_save_exec_prefix"
   5056   prefix="$acl_save_prefix"
   5057 
   5058                           if test "X$x" = "X-L$additional_libdir"; then
   5059                             haveit=yes
   5060                             break
   5061                           fi
   5062                         done
   5063                         if test -z "$haveit"; then
   5064                           if test -d "$additional_libdir"; then
   5065                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   5066                           fi
   5067                         fi
   5068                       fi
   5069                     fi
   5070                     ;;
   5071                   -R*)
   5072                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   5073                     if test "$enable_rpath" != no; then
   5074                                                                   haveit=
   5075                       for x in $rpathdirs; do
   5076                         if test "X$x" = "X$dir"; then
   5077                           haveit=yes
   5078                           break
   5079                         fi
   5080                       done
   5081                       if test -z "$haveit"; then
   5082                         rpathdirs="$rpathdirs $dir"
   5083                       fi
   5084                                                                   haveit=
   5085                       for x in $ltrpathdirs; do
   5086                         if test "X$x" = "X$dir"; then
   5087                           haveit=yes
   5088                           break
   5089                         fi
   5090                       done
   5091                       if test -z "$haveit"; then
   5092                         ltrpathdirs="$ltrpathdirs $dir"
   5093                       fi
   5094                     fi
   5095                     ;;
   5096                   -l*)
   5097                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   5098                     ;;
   5099                   *.la)
   5100                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   5101                     ;;
   5102                   *)
   5103                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   5104                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   5105                     ;;
   5106                 esac
   5107               done
   5108             fi
   5109           else
   5110                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   5111             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   5112           fi
   5113         fi
   5114       fi
   5115     done
   5116   done
   5117   if test "X$rpathdirs" != "X"; then
   5118     if test -n "$acl_hardcode_libdir_separator"; then
   5119                         alldirs=
   5120       for found_dir in $rpathdirs; do
   5121         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   5122       done
   5123             acl_save_libdir="$libdir"
   5124       libdir="$alldirs"
   5125       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   5126       libdir="$acl_save_libdir"
   5127       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   5128     else
   5129             for found_dir in $rpathdirs; do
   5130         acl_save_libdir="$libdir"
   5131         libdir="$found_dir"
   5132         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   5133         libdir="$acl_save_libdir"
   5134         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   5135       done
   5136     fi
   5137   fi
   5138   if test "X$ltrpathdirs" != "X"; then
   5139             for found_dir in $ltrpathdirs; do
   5140       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   5141     done
   5142   fi
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155           am_save_CPPFLAGS="$CPPFLAGS"
   5156 
   5157   for element in $INCICONV; do
   5158     haveit=
   5159     for x in $CPPFLAGS; do
   5160 
   5161   acl_save_prefix="$prefix"
   5162   prefix="$acl_final_prefix"
   5163   acl_save_exec_prefix="$exec_prefix"
   5164   exec_prefix="$acl_final_exec_prefix"
   5165   eval x=\"$x\"
   5166   exec_prefix="$acl_save_exec_prefix"
   5167   prefix="$acl_save_prefix"
   5168 
   5169       if test "X$x" = "X$element"; then
   5170         haveit=yes
   5171         break
   5172       fi
   5173     done
   5174     if test -z "$haveit"; then
   5175       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   5176     fi
   5177   done
   5178 
   5179 
   5180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   5181 $as_echo_n "checking for iconv... " >&6; }
   5182 if ${am_cv_func_iconv+:} false; then :
   5183   $as_echo_n "(cached) " >&6
   5184 else
   5185 
   5186     am_cv_func_iconv="no, consider installing GNU libiconv"
   5187     am_cv_lib_iconv=no
   5188     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5189 /* end confdefs.h.  */
   5190 
   5191 #include <stdlib.h>
   5192 #include <iconv.h>
   5193 
   5194 int
   5195 main ()
   5196 {
   5197 iconv_t cd = iconv_open("","");
   5198            iconv(cd,NULL,NULL,NULL,NULL);
   5199            iconv_close(cd);
   5200   ;
   5201   return 0;
   5202 }
   5203 _ACEOF
   5204 if ac_fn_c_try_link "$LINENO"; then :
   5205   am_cv_func_iconv=yes
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext \
   5208     conftest$ac_exeext conftest.$ac_ext
   5209     if test "$am_cv_func_iconv" != yes; then
   5210       am_save_LIBS="$LIBS"
   5211       LIBS="$LIBS $LIBICONV"
   5212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5213 /* end confdefs.h.  */
   5214 
   5215 #include <stdlib.h>
   5216 #include <iconv.h>
   5217 
   5218 int
   5219 main ()
   5220 {
   5221 iconv_t cd = iconv_open("","");
   5222              iconv(cd,NULL,NULL,NULL,NULL);
   5223              iconv_close(cd);
   5224   ;
   5225   return 0;
   5226 }
   5227 _ACEOF
   5228 if ac_fn_c_try_link "$LINENO"; then :
   5229   am_cv_lib_iconv=yes
   5230         am_cv_func_iconv=yes
   5231 fi
   5232 rm -f core conftest.err conftest.$ac_objext \
   5233     conftest$ac_exeext conftest.$ac_ext
   5234       LIBS="$am_save_LIBS"
   5235     fi
   5236 
   5237 fi
   5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   5239 $as_echo "$am_cv_func_iconv" >&6; }
   5240   if test "$am_cv_func_iconv" = yes; then
   5241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   5242 $as_echo_n "checking for working iconv... " >&6; }
   5243 if ${am_cv_func_iconv_works+:} false; then :
   5244   $as_echo_n "(cached) " >&6
   5245 else
   5246 
   5247                   am_save_LIBS="$LIBS"
   5248       if test $am_cv_lib_iconv = yes; then
   5249         LIBS="$LIBS $LIBICONV"
   5250       fi
   5251       am_cv_func_iconv_works=no
   5252       for ac_iconv_const in '' 'const'; do
   5253         if test "$cross_compiling" = yes; then :
   5254   case "$host_os" in
   5255              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   5256              *)            am_cv_func_iconv_works="guessing yes" ;;
   5257            esac
   5258 else
   5259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5260 /* end confdefs.h.  */
   5261 
   5262 #include <iconv.h>
   5263 #include <string.h>
   5264 
   5265 #ifndef ICONV_CONST
   5266 # define ICONV_CONST $ac_iconv_const
   5267 #endif
   5268 
   5269 int
   5270 main ()
   5271 {
   5272 int result = 0;
   5273   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
   5274      returns.  */
   5275   {
   5276     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   5277     if (cd_utf8_to_88591 != (iconv_t)(-1))
   5278       {
   5279         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   5280         char buf[10];
   5281         ICONV_CONST char *inptr = input;
   5282         size_t inbytesleft = strlen (input);
   5283         char *outptr = buf;
   5284         size_t outbytesleft = sizeof (buf);
   5285         size_t res = iconv (cd_utf8_to_88591,
   5286                             &inptr, &inbytesleft,
   5287                             &outptr, &outbytesleft);
   5288         if (res == 0)
   5289           result |= 1;
   5290         iconv_close (cd_utf8_to_88591);
   5291       }
   5292   }
   5293   /* Test against Solaris 10 bug: Failures are not distinguishable from
   5294      successful returns.  */
   5295   {
   5296     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   5297     if (cd_ascii_to_88591 != (iconv_t)(-1))
   5298       {
   5299         static ICONV_CONST char input[] = "\263";
   5300         char buf[10];
   5301         ICONV_CONST char *inptr = input;
   5302         size_t inbytesleft = strlen (input);
   5303         char *outptr = buf;
   5304         size_t outbytesleft = sizeof (buf);
   5305         size_t res = iconv (cd_ascii_to_88591,
   5306                             &inptr, &inbytesleft,
   5307                             &outptr, &outbytesleft);
   5308         if (res == 0)
   5309           result |= 2;
   5310         iconv_close (cd_ascii_to_88591);
   5311       }
   5312   }
   5313   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   5314   {
   5315     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   5316     if (cd_88591_to_utf8 != (iconv_t)(-1))
   5317       {
   5318         static ICONV_CONST char input[] = "\304";
   5319         static char buf[2] = { (char)0xDE, (char)0xAD };
   5320         ICONV_CONST char *inptr = input;
   5321         size_t inbytesleft = 1;
   5322         char *outptr = buf;
   5323         size_t outbytesleft = 1;
   5324         size_t res = iconv (cd_88591_to_utf8,
   5325                             &inptr, &inbytesleft,
   5326                             &outptr, &outbytesleft);
   5327         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   5328           result |= 4;
   5329         iconv_close (cd_88591_to_utf8);
   5330       }
   5331   }
   5332 #if 0 /* This bug could be worked around by the caller.  */
   5333   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   5334   {
   5335     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   5336     if (cd_88591_to_utf8 != (iconv_t)(-1))
   5337       {
   5338         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   5339         char buf[50];
   5340         ICONV_CONST char *inptr = input;
   5341         size_t inbytesleft = strlen (input);
   5342         char *outptr = buf;
   5343         size_t outbytesleft = sizeof (buf);
   5344         size_t res = iconv (cd_88591_to_utf8,
   5345                             &inptr, &inbytesleft,
   5346                             &outptr, &outbytesleft);
   5347         if ((int)res > 0)
   5348           result |= 8;
   5349         iconv_close (cd_88591_to_utf8);
   5350       }
   5351   }
   5352 #endif
   5353   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   5354      provided.  */
   5355   if (/* Try standardized names.  */
   5356       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
   5357       /* Try IRIX, OSF/1 names.  */
   5358       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
   5359       /* Try AIX names.  */
   5360       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
   5361       /* Try HP-UX names.  */
   5362       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
   5363     result |= 16;
   5364   return result;
   5365 
   5366   ;
   5367   return 0;
   5368 }
   5369 _ACEOF
   5370 if ac_fn_c_try_run "$LINENO"; then :
   5371   am_cv_func_iconv_works=yes
   5372 fi
   5373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5374   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5375 fi
   5376 
   5377         test "$am_cv_func_iconv_works" = no || break
   5378       done
   5379       LIBS="$am_save_LIBS"
   5380 
   5381 fi
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   5383 $as_echo "$am_cv_func_iconv_works" >&6; }
   5384     case "$am_cv_func_iconv_works" in
   5385       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   5386       *)   am_func_iconv=yes ;;
   5387     esac
   5388   else
   5389     am_func_iconv=no am_cv_lib_iconv=no
   5390   fi
   5391   if test "$am_func_iconv" = yes; then
   5392 
   5393 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   5394 
   5395   fi
   5396   if test "$am_cv_lib_iconv" = yes; then
   5397     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   5398 $as_echo_n "checking how to link with libiconv... " >&6; }
   5399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   5400 $as_echo "$LIBICONV" >&6; }
   5401   else
   5402             CPPFLAGS="$am_save_CPPFLAGS"
   5403     LIBICONV=
   5404     LTLIBICONV=
   5405   fi
   5406 
   5407 
   5408 
   5409   if test "$am_cv_func_iconv" = yes; then
   5410     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   5411 $as_echo_n "checking for iconv declaration... " >&6; }
   5412     if ${am_cv_proto_iconv+:} false; then :
   5413   $as_echo_n "(cached) " >&6
   5414 else
   5415 
   5416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5417 /* end confdefs.h.  */
   5418 
   5419 #include <stdlib.h>
   5420 #include <iconv.h>
   5421 extern
   5422 #ifdef __cplusplus
   5423 "C"
   5424 #endif
   5425 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
   5426 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   5427 #else
   5428 size_t iconv();
   5429 #endif
   5430 
   5431 int
   5432 main ()
   5433 {
   5434 
   5435   ;
   5436   return 0;
   5437 }
   5438 _ACEOF
   5439 if ac_fn_c_try_compile "$LINENO"; then :
   5440   am_cv_proto_iconv_arg1=""
   5441 else
   5442   am_cv_proto_iconv_arg1="const"
   5443 fi
   5444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5445       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   5446 fi
   5447 
   5448     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   5449     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
   5450          $am_cv_proto_iconv" >&5
   5451 $as_echo "
   5452          $am_cv_proto_iconv" >&6; }
   5453 
   5454 cat >>confdefs.h <<_ACEOF
   5455 #define ICONV_CONST $am_cv_proto_iconv_arg1
   5456 _ACEOF
   5457 
   5458 
   5459   fi
   5460 
   5461 
   5462 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   5475 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   5476 if ${ac_cv_prog_cc_c99+:} false; then :
   5477   $as_echo_n "(cached) " >&6
   5478 else
   5479   ac_cv_prog_cc_c99=no
   5480 ac_save_CC=$CC
   5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 #include <stdarg.h>
   5484 #include <stdbool.h>
   5485 #include <stdlib.h>
   5486 #include <wchar.h>
   5487 #include <stdio.h>
   5488 
   5489 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   5490 #define debug(...) fprintf (stderr, __VA_ARGS__)
   5491 #define showlist(...) puts (#__VA_ARGS__)
   5492 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   5493 static void
   5494 test_varargs_macros (void)
   5495 {
   5496   int x = 1234;
   5497   int y = 5678;
   5498   debug ("Flag");
   5499   debug ("X = %d\n", x);
   5500   showlist (The first, second, and third items.);
   5501   report (x>y, "x is %d but y is %d", x, y);
   5502 }
   5503 
   5504 // Check long long types.
   5505 #define BIG64 18446744073709551615ull
   5506 #define BIG32 4294967295ul
   5507 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   5508 #if !BIG_OK
   5509   your preprocessor is broken;
   5510 #endif
   5511 #if BIG_OK
   5512 #else
   5513   your preprocessor is broken;
   5514 #endif
   5515 static long long int bignum = -9223372036854775807LL;
   5516 static unsigned long long int ubignum = BIG64;
   5517 
   5518 struct incomplete_array
   5519 {
   5520   int datasize;
   5521   double data[];
   5522 };
   5523 
   5524 struct named_init {
   5525   int number;
   5526   const wchar_t *name;
   5527   double average;
   5528 };
   5529 
   5530 typedef const char *ccp;
   5531 
   5532 static inline int
   5533 test_restrict (ccp restrict text)
   5534 {
   5535   // See if C++-style comments work.
   5536   // Iterate through items via the restricted pointer.
   5537   // Also check for declarations in for loops.
   5538   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   5539     continue;
   5540   return 0;
   5541 }
   5542 
   5543 // Check varargs and va_copy.
   5544 static void
   5545 test_varargs (const char *format, ...)
   5546 {
   5547   va_list args;
   5548   va_start (args, format);
   5549   va_list args_copy;
   5550   va_copy (args_copy, args);
   5551 
   5552   const char *str;
   5553   int number;
   5554   float fnumber;
   5555 
   5556   while (*format)
   5557     {
   5558       switch (*format++)
   5559 	{
   5560 	case 's': // string
   5561 	  str = va_arg (args_copy, const char *);
   5562 	  break;
   5563 	case 'd': // int
   5564 	  number = va_arg (args_copy, int);
   5565 	  break;
   5566 	case 'f': // float
   5567 	  fnumber = va_arg (args_copy, double);
   5568 	  break;
   5569 	default:
   5570 	  break;
   5571 	}
   5572     }
   5573   va_end (args_copy);
   5574   va_end (args);
   5575 }
   5576 
   5577 int
   5578 main ()
   5579 {
   5580 
   5581   // Check bool.
   5582   _Bool success = false;
   5583 
   5584   // Check restrict.
   5585   if (test_restrict ("String literal") == 0)
   5586     success = true;
   5587   char *restrict newvar = "Another string";
   5588 
   5589   // Check varargs.
   5590   test_varargs ("s, d' f .", "string", 65, 34.234);
   5591   test_varargs_macros ();
   5592 
   5593   // Check flexible array members.
   5594   struct incomplete_array *ia =
   5595     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   5596   ia->datasize = 10;
   5597   for (int i = 0; i < ia->datasize; ++i)
   5598     ia->data[i] = i * 1.234;
   5599 
   5600   // Check named initializers.
   5601   struct named_init ni = {
   5602     .number = 34,
   5603     .name = L"Test wide string",
   5604     .average = 543.34343,
   5605   };
   5606 
   5607   ni.number = 58;
   5608 
   5609   int dynamic_array[ni.number];
   5610   dynamic_array[ni.number - 1] = 543;
   5611 
   5612   // work around unused variable warnings
   5613   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   5614 	  || dynamic_array[ni.number - 1] != 543);
   5615 
   5616   ;
   5617   return 0;
   5618 }
   5619 _ACEOF
   5620 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   5621 do
   5622   CC="$ac_save_CC $ac_arg"
   5623   if ac_fn_c_try_compile "$LINENO"; then :
   5624   ac_cv_prog_cc_c99=$ac_arg
   5625 fi
   5626 rm -f core conftest.err conftest.$ac_objext
   5627   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5628 done
   5629 rm -f conftest.$ac_ext
   5630 CC=$ac_save_CC
   5631 
   5632 fi
   5633 # AC_CACHE_VAL
   5634 case "x$ac_cv_prog_cc_c99" in
   5635   x)
   5636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5637 $as_echo "none needed" >&6; } ;;
   5638   xno)
   5639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5640 $as_echo "unsupported" >&6; } ;;
   5641   *)
   5642     CC="$CC $ac_cv_prog_cc_c99"
   5643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5644 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   5645 esac
   5646 if test "x$ac_cv_prog_cc_c99" != xno; then :
   5647 
   5648 fi
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   5656 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   5657   CLANGCC="yes"
   5658 else
   5659   CLANGCC="no"
   5660 fi
   5661 
   5662 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   5663 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   5664   INTELCC="yes"
   5665 else
   5666   INTELCC="no"
   5667 fi
   5668 
   5669 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   5670 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   5671   SUNCC="yes"
   5672 else
   5673   SUNCC="no"
   5674 fi
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5685 	if test -n "$ac_tool_prefix"; then
   5686   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5687 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5689 $as_echo_n "checking for $ac_word... " >&6; }
   5690 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5691   $as_echo_n "(cached) " >&6
   5692 else
   5693   case $PKG_CONFIG in
   5694   [\\/]* | ?:[\\/]*)
   5695   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5696   ;;
   5697   *)
   5698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5699 for as_dir in $PATH
   5700 do
   5701   IFS=$as_save_IFS
   5702   test -z "$as_dir" && as_dir=.
   5703     for ac_exec_ext in '' $ac_executable_extensions; do
   5704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5705     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5707     break 2
   5708   fi
   5709 done
   5710   done
   5711 IFS=$as_save_IFS
   5712 
   5713   ;;
   5714 esac
   5715 fi
   5716 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5717 if test -n "$PKG_CONFIG"; then
   5718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5719 $as_echo "$PKG_CONFIG" >&6; }
   5720 else
   5721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5722 $as_echo "no" >&6; }
   5723 fi
   5724 
   5725 
   5726 fi
   5727 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5728   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5729   # Extract the first word of "pkg-config", so it can be a program name with args.
   5730 set dummy pkg-config; ac_word=$2
   5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5732 $as_echo_n "checking for $ac_word... " >&6; }
   5733 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5734   $as_echo_n "(cached) " >&6
   5735 else
   5736   case $ac_pt_PKG_CONFIG in
   5737   [\\/]* | ?:[\\/]*)
   5738   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5739   ;;
   5740   *)
   5741   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5742 for as_dir in $PATH
   5743 do
   5744   IFS=$as_save_IFS
   5745   test -z "$as_dir" && as_dir=.
   5746     for ac_exec_ext in '' $ac_executable_extensions; do
   5747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5748     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5750     break 2
   5751   fi
   5752 done
   5753   done
   5754 IFS=$as_save_IFS
   5755 
   5756   ;;
   5757 esac
   5758 fi
   5759 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5760 if test -n "$ac_pt_PKG_CONFIG"; then
   5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5762 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5763 else
   5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5765 $as_echo "no" >&6; }
   5766 fi
   5767 
   5768   if test "x$ac_pt_PKG_CONFIG" = x; then
   5769     PKG_CONFIG=""
   5770   else
   5771     case $cross_compiling:$ac_tool_warned in
   5772 yes:)
   5773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5775 ac_tool_warned=yes ;;
   5776 esac
   5777     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5778   fi
   5779 else
   5780   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5781 fi
   5782 
   5783 fi
   5784 if test -n "$PKG_CONFIG"; then
   5785 	_pkg_min_version=0.9.0
   5786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5787 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5788 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5790 $as_echo "yes" >&6; }
   5791 	else
   5792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5793 $as_echo "no" >&6; }
   5794 		PKG_CONFIG=""
   5795 	fi
   5796 fi
   5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5798 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5799 if ${ac_cv_path_SED+:} false; then :
   5800   $as_echo_n "(cached) " >&6
   5801 else
   5802             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5803      for ac_i in 1 2 3 4 5 6 7; do
   5804        ac_script="$ac_script$as_nl$ac_script"
   5805      done
   5806      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5807      { ac_script=; unset ac_script;}
   5808      if test -z "$SED"; then
   5809   ac_path_SED_found=false
   5810   # Loop through the user's path and test for each of PROGNAME-LIST
   5811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5812 for as_dir in $PATH
   5813 do
   5814   IFS=$as_save_IFS
   5815   test -z "$as_dir" && as_dir=.
   5816     for ac_prog in sed gsed; do
   5817     for ac_exec_ext in '' $ac_executable_extensions; do
   5818       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5819       as_fn_executable_p "$ac_path_SED" || continue
   5820 # Check for GNU ac_path_SED and select it if it is found.
   5821   # Check for GNU $ac_path_SED
   5822 case `"$ac_path_SED" --version 2>&1` in
   5823 *GNU*)
   5824   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5825 *)
   5826   ac_count=0
   5827   $as_echo_n 0123456789 >"conftest.in"
   5828   while :
   5829   do
   5830     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5831     mv "conftest.tmp" "conftest.in"
   5832     cp "conftest.in" "conftest.nl"
   5833     $as_echo '' >> "conftest.nl"
   5834     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5835     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5836     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5837     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5838       # Best one so far, save it but keep looking for a better one
   5839       ac_cv_path_SED="$ac_path_SED"
   5840       ac_path_SED_max=$ac_count
   5841     fi
   5842     # 10*(2^10) chars as input seems more than enough
   5843     test $ac_count -gt 10 && break
   5844   done
   5845   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5846 esac
   5847 
   5848       $ac_path_SED_found && break 3
   5849     done
   5850   done
   5851   done
   5852 IFS=$as_save_IFS
   5853   if test -z "$ac_cv_path_SED"; then
   5854     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5855   fi
   5856 else
   5857   ac_cv_path_SED=$SED
   5858 fi
   5859 
   5860 fi
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5862 $as_echo "$ac_cv_path_SED" >&6; }
   5863  SED="$ac_cv_path_SED"
   5864   rm -f conftest.sed
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 # Check whether --enable-selective-werror was given.
   5872 if test "${enable_selective_werror+set}" = set; then :
   5873   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5874 else
   5875   SELECTIVE_WERROR=yes
   5876 fi
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5883 if test "x$SUNCC" = "xyes"; then
   5884     BASE_CFLAGS="-v"
   5885 else
   5886     BASE_CFLAGS=""
   5887 fi
   5888 
   5889 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 xorg_testset_save_CFLAGS="$CFLAGS"
   5904 
   5905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5910   $as_echo_n "(cached) " >&6
   5911 else
   5912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5913 /* end confdefs.h.  */
   5914 int i;
   5915 _ACEOF
   5916 if ac_fn_c_try_compile "$LINENO"; then :
   5917   xorg_cv_cc_flag_unknown_warning_option=yes
   5918 else
   5919   xorg_cv_cc_flag_unknown_warning_option=no
   5920 fi
   5921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5922 fi
   5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5926 	CFLAGS="$xorg_testset_save_CFLAGS"
   5927 fi
   5928 
   5929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5932 	fi
   5933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5937   $as_echo_n "(cached) " >&6
   5938 else
   5939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5940 /* end confdefs.h.  */
   5941 int i;
   5942 _ACEOF
   5943 if ac_fn_c_try_compile "$LINENO"; then :
   5944   xorg_cv_cc_flag_unused_command_line_argument=yes
   5945 else
   5946   xorg_cv_cc_flag_unused_command_line_argument=no
   5947 fi
   5948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5949 fi
   5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5953 	CFLAGS="$xorg_testset_save_CFLAGS"
   5954 fi
   5955 
   5956 found="no"
   5957 
   5958 	if test $found = "no" ; then
   5959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5961 		fi
   5962 
   5963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5965 		fi
   5966 
   5967 		CFLAGS="$CFLAGS -Wall"
   5968 
   5969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5970 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5971 		cacheid=xorg_cv_cc_flag__Wall
   5972 		if eval \${$cacheid+:} false; then :
   5973   $as_echo_n "(cached) " >&6
   5974 else
   5975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5976 /* end confdefs.h.  */
   5977 int i;
   5978 int
   5979 main ()
   5980 {
   5981 
   5982   ;
   5983   return 0;
   5984 }
   5985 _ACEOF
   5986 if ac_fn_c_try_link "$LINENO"; then :
   5987   eval $cacheid=yes
   5988 else
   5989   eval $cacheid=no
   5990 fi
   5991 rm -f core conftest.err conftest.$ac_objext \
   5992     conftest$ac_exeext conftest.$ac_ext
   5993 fi
   5994 
   5995 
   5996 		CFLAGS="$xorg_testset_save_CFLAGS"
   5997 
   5998 		eval supported=\$$cacheid
   5999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6000 $as_echo "$supported" >&6; }
   6001 		if test "$supported" = "yes" ; then
   6002 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   6003 			found="yes"
   6004 		fi
   6005 	fi
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 xorg_testset_save_CFLAGS="$CFLAGS"
   6022 
   6023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6028   $as_echo_n "(cached) " >&6
   6029 else
   6030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6031 /* end confdefs.h.  */
   6032 int i;
   6033 _ACEOF
   6034 if ac_fn_c_try_compile "$LINENO"; then :
   6035   xorg_cv_cc_flag_unknown_warning_option=yes
   6036 else
   6037   xorg_cv_cc_flag_unknown_warning_option=no
   6038 fi
   6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6040 fi
   6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6044 	CFLAGS="$xorg_testset_save_CFLAGS"
   6045 fi
   6046 
   6047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6050 	fi
   6051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6058 /* end confdefs.h.  */
   6059 int i;
   6060 _ACEOF
   6061 if ac_fn_c_try_compile "$LINENO"; then :
   6062   xorg_cv_cc_flag_unused_command_line_argument=yes
   6063 else
   6064   xorg_cv_cc_flag_unused_command_line_argument=no
   6065 fi
   6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6067 fi
   6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6071 	CFLAGS="$xorg_testset_save_CFLAGS"
   6072 fi
   6073 
   6074 found="no"
   6075 
   6076 	if test $found = "no" ; then
   6077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6079 		fi
   6080 
   6081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6083 		fi
   6084 
   6085 		CFLAGS="$CFLAGS -Wpointer-arith"
   6086 
   6087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   6088 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   6089 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   6090 		if eval \${$cacheid+:} false; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6094 /* end confdefs.h.  */
   6095 int i;
   6096 int
   6097 main ()
   6098 {
   6099 
   6100   ;
   6101   return 0;
   6102 }
   6103 _ACEOF
   6104 if ac_fn_c_try_link "$LINENO"; then :
   6105   eval $cacheid=yes
   6106 else
   6107   eval $cacheid=no
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext \
   6110     conftest$ac_exeext conftest.$ac_ext
   6111 fi
   6112 
   6113 
   6114 		CFLAGS="$xorg_testset_save_CFLAGS"
   6115 
   6116 		eval supported=\$$cacheid
   6117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6118 $as_echo "$supported" >&6; }
   6119 		if test "$supported" = "yes" ; then
   6120 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   6121 			found="yes"
   6122 		fi
   6123 	fi
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 xorg_testset_save_CFLAGS="$CFLAGS"
   6140 
   6141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6146   $as_echo_n "(cached) " >&6
   6147 else
   6148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6149 /* end confdefs.h.  */
   6150 int i;
   6151 _ACEOF
   6152 if ac_fn_c_try_compile "$LINENO"; then :
   6153   xorg_cv_cc_flag_unknown_warning_option=yes
   6154 else
   6155   xorg_cv_cc_flag_unknown_warning_option=no
   6156 fi
   6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6158 fi
   6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6162 	CFLAGS="$xorg_testset_save_CFLAGS"
   6163 fi
   6164 
   6165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6168 	fi
   6169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6173   $as_echo_n "(cached) " >&6
   6174 else
   6175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6176 /* end confdefs.h.  */
   6177 int i;
   6178 _ACEOF
   6179 if ac_fn_c_try_compile "$LINENO"; then :
   6180   xorg_cv_cc_flag_unused_command_line_argument=yes
   6181 else
   6182   xorg_cv_cc_flag_unused_command_line_argument=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6185 fi
   6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6189 	CFLAGS="$xorg_testset_save_CFLAGS"
   6190 fi
   6191 
   6192 found="no"
   6193 
   6194 	if test $found = "no" ; then
   6195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6197 		fi
   6198 
   6199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6201 		fi
   6202 
   6203 		CFLAGS="$CFLAGS -Wmissing-declarations"
   6204 
   6205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   6206 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   6207 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   6208 		if eval \${$cacheid+:} false; then :
   6209   $as_echo_n "(cached) " >&6
   6210 else
   6211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6212 /* end confdefs.h.  */
   6213 int i;
   6214 int
   6215 main ()
   6216 {
   6217 
   6218   ;
   6219   return 0;
   6220 }
   6221 _ACEOF
   6222 if ac_fn_c_try_link "$LINENO"; then :
   6223   eval $cacheid=yes
   6224 else
   6225   eval $cacheid=no
   6226 fi
   6227 rm -f core conftest.err conftest.$ac_objext \
   6228     conftest$ac_exeext conftest.$ac_ext
   6229 fi
   6230 
   6231 
   6232 		CFLAGS="$xorg_testset_save_CFLAGS"
   6233 
   6234 		eval supported=\$$cacheid
   6235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6236 $as_echo "$supported" >&6; }
   6237 		if test "$supported" = "yes" ; then
   6238 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   6239 			found="yes"
   6240 		fi
   6241 	fi
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 xorg_testset_save_CFLAGS="$CFLAGS"
   6258 
   6259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6262 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6263 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6264   $as_echo_n "(cached) " >&6
   6265 else
   6266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6267 /* end confdefs.h.  */
   6268 int i;
   6269 _ACEOF
   6270 if ac_fn_c_try_compile "$LINENO"; then :
   6271   xorg_cv_cc_flag_unknown_warning_option=yes
   6272 else
   6273   xorg_cv_cc_flag_unknown_warning_option=no
   6274 fi
   6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6276 fi
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6278 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6280 	CFLAGS="$xorg_testset_save_CFLAGS"
   6281 fi
   6282 
   6283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6286 	fi
   6287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6289 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6290 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6291   $as_echo_n "(cached) " >&6
   6292 else
   6293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6294 /* end confdefs.h.  */
   6295 int i;
   6296 _ACEOF
   6297 if ac_fn_c_try_compile "$LINENO"; then :
   6298   xorg_cv_cc_flag_unused_command_line_argument=yes
   6299 else
   6300   xorg_cv_cc_flag_unused_command_line_argument=no
   6301 fi
   6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6303 fi
   6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6305 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6307 	CFLAGS="$xorg_testset_save_CFLAGS"
   6308 fi
   6309 
   6310 found="no"
   6311 
   6312 	if test $found = "no" ; then
   6313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6315 		fi
   6316 
   6317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6319 		fi
   6320 
   6321 		CFLAGS="$CFLAGS -Wformat=2"
   6322 
   6323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   6324 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   6325 		cacheid=xorg_cv_cc_flag__Wformat_2
   6326 		if eval \${$cacheid+:} false; then :
   6327   $as_echo_n "(cached) " >&6
   6328 else
   6329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6330 /* end confdefs.h.  */
   6331 int i;
   6332 int
   6333 main ()
   6334 {
   6335 
   6336   ;
   6337   return 0;
   6338 }
   6339 _ACEOF
   6340 if ac_fn_c_try_link "$LINENO"; then :
   6341   eval $cacheid=yes
   6342 else
   6343   eval $cacheid=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext \
   6346     conftest$ac_exeext conftest.$ac_ext
   6347 fi
   6348 
   6349 
   6350 		CFLAGS="$xorg_testset_save_CFLAGS"
   6351 
   6352 		eval supported=\$$cacheid
   6353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6354 $as_echo "$supported" >&6; }
   6355 		if test "$supported" = "yes" ; then
   6356 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   6357 			found="yes"
   6358 		fi
   6359 	fi
   6360 
   6361 	if test $found = "no" ; then
   6362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6364 		fi
   6365 
   6366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6368 		fi
   6369 
   6370 		CFLAGS="$CFLAGS -Wformat"
   6371 
   6372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   6373 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   6374 		cacheid=xorg_cv_cc_flag__Wformat
   6375 		if eval \${$cacheid+:} false; then :
   6376   $as_echo_n "(cached) " >&6
   6377 else
   6378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6379 /* end confdefs.h.  */
   6380 int i;
   6381 int
   6382 main ()
   6383 {
   6384 
   6385   ;
   6386   return 0;
   6387 }
   6388 _ACEOF
   6389 if ac_fn_c_try_link "$LINENO"; then :
   6390   eval $cacheid=yes
   6391 else
   6392   eval $cacheid=no
   6393 fi
   6394 rm -f core conftest.err conftest.$ac_objext \
   6395     conftest$ac_exeext conftest.$ac_ext
   6396 fi
   6397 
   6398 
   6399 		CFLAGS="$xorg_testset_save_CFLAGS"
   6400 
   6401 		eval supported=\$$cacheid
   6402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6403 $as_echo "$supported" >&6; }
   6404 		if test "$supported" = "yes" ; then
   6405 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   6406 			found="yes"
   6407 		fi
   6408 	fi
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 xorg_testset_save_CFLAGS="$CFLAGS"
   6427 
   6428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6431 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6432 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6433   $as_echo_n "(cached) " >&6
   6434 else
   6435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6436 /* end confdefs.h.  */
   6437 int i;
   6438 _ACEOF
   6439 if ac_fn_c_try_compile "$LINENO"; then :
   6440   xorg_cv_cc_flag_unknown_warning_option=yes
   6441 else
   6442   xorg_cv_cc_flag_unknown_warning_option=no
   6443 fi
   6444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6445 fi
   6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6447 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6449 	CFLAGS="$xorg_testset_save_CFLAGS"
   6450 fi
   6451 
   6452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 	fi
   6456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6458 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6459 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6460   $as_echo_n "(cached) " >&6
   6461 else
   6462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6463 /* end confdefs.h.  */
   6464 int i;
   6465 _ACEOF
   6466 if ac_fn_c_try_compile "$LINENO"; then :
   6467   xorg_cv_cc_flag_unused_command_line_argument=yes
   6468 else
   6469   xorg_cv_cc_flag_unused_command_line_argument=no
   6470 fi
   6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6472 fi
   6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6474 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6476 	CFLAGS="$xorg_testset_save_CFLAGS"
   6477 fi
   6478 
   6479 found="no"
   6480 
   6481 	if test $found = "no" ; then
   6482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6484 		fi
   6485 
   6486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6488 		fi
   6489 
   6490 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   6491 
   6492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   6493 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   6494 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   6495 		if eval \${$cacheid+:} false; then :
   6496   $as_echo_n "(cached) " >&6
   6497 else
   6498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6499 /* end confdefs.h.  */
   6500 int i;
   6501 int
   6502 main ()
   6503 {
   6504 
   6505   ;
   6506   return 0;
   6507 }
   6508 _ACEOF
   6509 if ac_fn_c_try_link "$LINENO"; then :
   6510   eval $cacheid=yes
   6511 else
   6512   eval $cacheid=no
   6513 fi
   6514 rm -f core conftest.err conftest.$ac_objext \
   6515     conftest$ac_exeext conftest.$ac_ext
   6516 fi
   6517 
   6518 
   6519 		CFLAGS="$xorg_testset_save_CFLAGS"
   6520 
   6521 		eval supported=\$$cacheid
   6522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6523 $as_echo "$supported" >&6; }
   6524 		if test "$supported" = "yes" ; then
   6525 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   6526 			found="yes"
   6527 		fi
   6528 	fi
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 xorg_testset_save_CFLAGS="$CFLAGS"
   6545 
   6546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6549 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6550 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6551   $as_echo_n "(cached) " >&6
   6552 else
   6553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6554 /* end confdefs.h.  */
   6555 int i;
   6556 _ACEOF
   6557 if ac_fn_c_try_compile "$LINENO"; then :
   6558   xorg_cv_cc_flag_unknown_warning_option=yes
   6559 else
   6560   xorg_cv_cc_flag_unknown_warning_option=no
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6563 fi
   6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6565 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6567 	CFLAGS="$xorg_testset_save_CFLAGS"
   6568 fi
   6569 
   6570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6573 	fi
   6574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6576 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6577 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6578   $as_echo_n "(cached) " >&6
   6579 else
   6580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6581 /* end confdefs.h.  */
   6582 int i;
   6583 _ACEOF
   6584 if ac_fn_c_try_compile "$LINENO"; then :
   6585   xorg_cv_cc_flag_unused_command_line_argument=yes
   6586 else
   6587   xorg_cv_cc_flag_unused_command_line_argument=no
   6588 fi
   6589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6590 fi
   6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6592 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6594 	CFLAGS="$xorg_testset_save_CFLAGS"
   6595 fi
   6596 
   6597 found="no"
   6598 
   6599 	if test $found = "no" ; then
   6600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6602 		fi
   6603 
   6604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6606 		fi
   6607 
   6608 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   6609 
   6610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   6611 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   6612 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   6613 		if eval \${$cacheid+:} false; then :
   6614   $as_echo_n "(cached) " >&6
   6615 else
   6616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6617 /* end confdefs.h.  */
   6618 int i;
   6619 int
   6620 main ()
   6621 {
   6622 
   6623   ;
   6624   return 0;
   6625 }
   6626 _ACEOF
   6627 if ac_fn_c_try_link "$LINENO"; then :
   6628   eval $cacheid=yes
   6629 else
   6630   eval $cacheid=no
   6631 fi
   6632 rm -f core conftest.err conftest.$ac_objext \
   6633     conftest$ac_exeext conftest.$ac_ext
   6634 fi
   6635 
   6636 
   6637 		CFLAGS="$xorg_testset_save_CFLAGS"
   6638 
   6639 		eval supported=\$$cacheid
   6640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6641 $as_echo "$supported" >&6; }
   6642 		if test "$supported" = "yes" ; then
   6643 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   6644 			found="yes"
   6645 		fi
   6646 	fi
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 xorg_testset_save_CFLAGS="$CFLAGS"
   6663 
   6664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6667 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6668 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6669   $as_echo_n "(cached) " >&6
   6670 else
   6671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6672 /* end confdefs.h.  */
   6673 int i;
   6674 _ACEOF
   6675 if ac_fn_c_try_compile "$LINENO"; then :
   6676   xorg_cv_cc_flag_unknown_warning_option=yes
   6677 else
   6678   xorg_cv_cc_flag_unknown_warning_option=no
   6679 fi
   6680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6681 fi
   6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6683 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6685 	CFLAGS="$xorg_testset_save_CFLAGS"
   6686 fi
   6687 
   6688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6691 	fi
   6692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6694 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6695 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6696   $as_echo_n "(cached) " >&6
   6697 else
   6698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6699 /* end confdefs.h.  */
   6700 int i;
   6701 _ACEOF
   6702 if ac_fn_c_try_compile "$LINENO"; then :
   6703   xorg_cv_cc_flag_unused_command_line_argument=yes
   6704 else
   6705   xorg_cv_cc_flag_unused_command_line_argument=no
   6706 fi
   6707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6708 fi
   6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6710 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6712 	CFLAGS="$xorg_testset_save_CFLAGS"
   6713 fi
   6714 
   6715 found="no"
   6716 
   6717 	if test $found = "no" ; then
   6718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6720 		fi
   6721 
   6722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6724 		fi
   6725 
   6726 		CFLAGS="$CFLAGS -Wnested-externs"
   6727 
   6728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6729 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   6730 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6731 		if eval \${$cacheid+:} false; then :
   6732   $as_echo_n "(cached) " >&6
   6733 else
   6734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6735 /* end confdefs.h.  */
   6736 int i;
   6737 int
   6738 main ()
   6739 {
   6740 
   6741   ;
   6742   return 0;
   6743 }
   6744 _ACEOF
   6745 if ac_fn_c_try_link "$LINENO"; then :
   6746   eval $cacheid=yes
   6747 else
   6748   eval $cacheid=no
   6749 fi
   6750 rm -f core conftest.err conftest.$ac_objext \
   6751     conftest$ac_exeext conftest.$ac_ext
   6752 fi
   6753 
   6754 
   6755 		CFLAGS="$xorg_testset_save_CFLAGS"
   6756 
   6757 		eval supported=\$$cacheid
   6758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6759 $as_echo "$supported" >&6; }
   6760 		if test "$supported" = "yes" ; then
   6761 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6762 			found="yes"
   6763 		fi
   6764 	fi
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 xorg_testset_save_CFLAGS="$CFLAGS"
   6781 
   6782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6785 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6786 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6790 /* end confdefs.h.  */
   6791 int i;
   6792 _ACEOF
   6793 if ac_fn_c_try_compile "$LINENO"; then :
   6794   xorg_cv_cc_flag_unknown_warning_option=yes
   6795 else
   6796   xorg_cv_cc_flag_unknown_warning_option=no
   6797 fi
   6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6799 fi
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6801 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6802 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6803 	CFLAGS="$xorg_testset_save_CFLAGS"
   6804 fi
   6805 
   6806 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6807 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6808 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6809 	fi
   6810 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6812 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6813 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6814   $as_echo_n "(cached) " >&6
   6815 else
   6816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6817 /* end confdefs.h.  */
   6818 int i;
   6819 _ACEOF
   6820 if ac_fn_c_try_compile "$LINENO"; then :
   6821   xorg_cv_cc_flag_unused_command_line_argument=yes
   6822 else
   6823   xorg_cv_cc_flag_unused_command_line_argument=no
   6824 fi
   6825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6826 fi
   6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6828 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6830 	CFLAGS="$xorg_testset_save_CFLAGS"
   6831 fi
   6832 
   6833 found="no"
   6834 
   6835 	if test $found = "no" ; then
   6836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6838 		fi
   6839 
   6840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 		fi
   6843 
   6844 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6845 
   6846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6847 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   6848 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6849 		if eval \${$cacheid+:} false; then :
   6850   $as_echo_n "(cached) " >&6
   6851 else
   6852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6853 /* end confdefs.h.  */
   6854 int i;
   6855 int
   6856 main ()
   6857 {
   6858 
   6859   ;
   6860   return 0;
   6861 }
   6862 _ACEOF
   6863 if ac_fn_c_try_link "$LINENO"; then :
   6864   eval $cacheid=yes
   6865 else
   6866   eval $cacheid=no
   6867 fi
   6868 rm -f core conftest.err conftest.$ac_objext \
   6869     conftest$ac_exeext conftest.$ac_ext
   6870 fi
   6871 
   6872 
   6873 		CFLAGS="$xorg_testset_save_CFLAGS"
   6874 
   6875 		eval supported=\$$cacheid
   6876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6877 $as_echo "$supported" >&6; }
   6878 		if test "$supported" = "yes" ; then
   6879 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6880 			found="yes"
   6881 		fi
   6882 	fi
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 xorg_testset_save_CFLAGS="$CFLAGS"
   6899 
   6900 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6901 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6903 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6904 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6905   $as_echo_n "(cached) " >&6
   6906 else
   6907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6908 /* end confdefs.h.  */
   6909 int i;
   6910 _ACEOF
   6911 if ac_fn_c_try_compile "$LINENO"; then :
   6912   xorg_cv_cc_flag_unknown_warning_option=yes
   6913 else
   6914   xorg_cv_cc_flag_unknown_warning_option=no
   6915 fi
   6916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6917 fi
   6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6919 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6921 	CFLAGS="$xorg_testset_save_CFLAGS"
   6922 fi
   6923 
   6924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6927 	fi
   6928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6930 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6931 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6935 /* end confdefs.h.  */
   6936 int i;
   6937 _ACEOF
   6938 if ac_fn_c_try_compile "$LINENO"; then :
   6939   xorg_cv_cc_flag_unused_command_line_argument=yes
   6940 else
   6941   xorg_cv_cc_flag_unused_command_line_argument=no
   6942 fi
   6943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6944 fi
   6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6946 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6947 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6948 	CFLAGS="$xorg_testset_save_CFLAGS"
   6949 fi
   6950 
   6951 found="no"
   6952 
   6953 	if test $found = "no" ; then
   6954 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6955 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6956 		fi
   6957 
   6958 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6959 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6960 		fi
   6961 
   6962 		CFLAGS="$CFLAGS -Wold-style-definition"
   6963 
   6964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6965 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6966 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6967 		if eval \${$cacheid+:} false; then :
   6968   $as_echo_n "(cached) " >&6
   6969 else
   6970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6971 /* end confdefs.h.  */
   6972 int i;
   6973 int
   6974 main ()
   6975 {
   6976 
   6977   ;
   6978   return 0;
   6979 }
   6980 _ACEOF
   6981 if ac_fn_c_try_link "$LINENO"; then :
   6982   eval $cacheid=yes
   6983 else
   6984   eval $cacheid=no
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext \
   6987     conftest$ac_exeext conftest.$ac_ext
   6988 fi
   6989 
   6990 
   6991 		CFLAGS="$xorg_testset_save_CFLAGS"
   6992 
   6993 		eval supported=\$$cacheid
   6994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6995 $as_echo "$supported" >&6; }
   6996 		if test "$supported" = "yes" ; then
   6997 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6998 			found="yes"
   6999 		fi
   7000 	fi
   7001 
   7002 	if test $found = "no" ; then
   7003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7005 		fi
   7006 
   7007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 		fi
   7010 
   7011 		CFLAGS="$CFLAGS -fd"
   7012 
   7013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   7014 $as_echo_n "checking if $CC supports -fd... " >&6; }
   7015 		cacheid=xorg_cv_cc_flag__fd
   7016 		if eval \${$cacheid+:} false; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 int
   7023 main ()
   7024 {
   7025 
   7026   ;
   7027   return 0;
   7028 }
   7029 _ACEOF
   7030 if ac_fn_c_try_link "$LINENO"; then :
   7031   eval $cacheid=yes
   7032 else
   7033   eval $cacheid=no
   7034 fi
   7035 rm -f core conftest.err conftest.$ac_objext \
   7036     conftest$ac_exeext conftest.$ac_ext
   7037 fi
   7038 
   7039 
   7040 		CFLAGS="$xorg_testset_save_CFLAGS"
   7041 
   7042 		eval supported=\$$cacheid
   7043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7044 $as_echo "$supported" >&6; }
   7045 		if test "$supported" = "yes" ; then
   7046 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   7047 			found="yes"
   7048 		fi
   7049 	fi
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 xorg_testset_save_CFLAGS="$CFLAGS"
   7066 
   7067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7072   $as_echo_n "(cached) " >&6
   7073 else
   7074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7075 /* end confdefs.h.  */
   7076 int i;
   7077 _ACEOF
   7078 if ac_fn_c_try_compile "$LINENO"; then :
   7079   xorg_cv_cc_flag_unknown_warning_option=yes
   7080 else
   7081   xorg_cv_cc_flag_unknown_warning_option=no
   7082 fi
   7083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7084 fi
   7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7088 	CFLAGS="$xorg_testset_save_CFLAGS"
   7089 fi
   7090 
   7091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7094 	fi
   7095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7102 /* end confdefs.h.  */
   7103 int i;
   7104 _ACEOF
   7105 if ac_fn_c_try_compile "$LINENO"; then :
   7106   xorg_cv_cc_flag_unused_command_line_argument=yes
   7107 else
   7108   xorg_cv_cc_flag_unused_command_line_argument=no
   7109 fi
   7110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7111 fi
   7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7115 	CFLAGS="$xorg_testset_save_CFLAGS"
   7116 fi
   7117 
   7118 found="no"
   7119 
   7120 	if test $found = "no" ; then
   7121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7123 		fi
   7124 
   7125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7127 		fi
   7128 
   7129 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   7130 
   7131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   7132 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   7133 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   7134 		if eval \${$cacheid+:} false; then :
   7135   $as_echo_n "(cached) " >&6
   7136 else
   7137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7138 /* end confdefs.h.  */
   7139 int i;
   7140 int
   7141 main ()
   7142 {
   7143 
   7144   ;
   7145   return 0;
   7146 }
   7147 _ACEOF
   7148 if ac_fn_c_try_link "$LINENO"; then :
   7149   eval $cacheid=yes
   7150 else
   7151   eval $cacheid=no
   7152 fi
   7153 rm -f core conftest.err conftest.$ac_objext \
   7154     conftest$ac_exeext conftest.$ac_ext
   7155 fi
   7156 
   7157 
   7158 		CFLAGS="$xorg_testset_save_CFLAGS"
   7159 
   7160 		eval supported=\$$cacheid
   7161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7162 $as_echo "$supported" >&6; }
   7163 		if test "$supported" = "yes" ; then
   7164 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   7165 			found="yes"
   7166 		fi
   7167 	fi
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 # This chunk adds additional warnings that could catch undesired effects.
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 xorg_testset_save_CFLAGS="$CFLAGS"
   7188 
   7189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7194   $as_echo_n "(cached) " >&6
   7195 else
   7196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7197 /* end confdefs.h.  */
   7198 int i;
   7199 _ACEOF
   7200 if ac_fn_c_try_compile "$LINENO"; then :
   7201   xorg_cv_cc_flag_unknown_warning_option=yes
   7202 else
   7203   xorg_cv_cc_flag_unknown_warning_option=no
   7204 fi
   7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7206 fi
   7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7210 	CFLAGS="$xorg_testset_save_CFLAGS"
   7211 fi
   7212 
   7213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7216 	fi
   7217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7221   $as_echo_n "(cached) " >&6
   7222 else
   7223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 _ACEOF
   7227 if ac_fn_c_try_compile "$LINENO"; then :
   7228   xorg_cv_cc_flag_unused_command_line_argument=yes
   7229 else
   7230   xorg_cv_cc_flag_unused_command_line_argument=no
   7231 fi
   7232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7233 fi
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7237 	CFLAGS="$xorg_testset_save_CFLAGS"
   7238 fi
   7239 
   7240 found="no"
   7241 
   7242 	if test $found = "no" ; then
   7243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7245 		fi
   7246 
   7247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7249 		fi
   7250 
   7251 		CFLAGS="$CFLAGS -Wunused"
   7252 
   7253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   7254 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   7255 		cacheid=xorg_cv_cc_flag__Wunused
   7256 		if eval \${$cacheid+:} false; then :
   7257   $as_echo_n "(cached) " >&6
   7258 else
   7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 int
   7263 main ()
   7264 {
   7265 
   7266   ;
   7267   return 0;
   7268 }
   7269 _ACEOF
   7270 if ac_fn_c_try_link "$LINENO"; then :
   7271   eval $cacheid=yes
   7272 else
   7273   eval $cacheid=no
   7274 fi
   7275 rm -f core conftest.err conftest.$ac_objext \
   7276     conftest$ac_exeext conftest.$ac_ext
   7277 fi
   7278 
   7279 
   7280 		CFLAGS="$xorg_testset_save_CFLAGS"
   7281 
   7282 		eval supported=\$$cacheid
   7283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7284 $as_echo "$supported" >&6; }
   7285 		if test "$supported" = "yes" ; then
   7286 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   7287 			found="yes"
   7288 		fi
   7289 	fi
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 xorg_testset_save_CFLAGS="$CFLAGS"
   7306 
   7307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7312   $as_echo_n "(cached) " >&6
   7313 else
   7314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7315 /* end confdefs.h.  */
   7316 int i;
   7317 _ACEOF
   7318 if ac_fn_c_try_compile "$LINENO"; then :
   7319   xorg_cv_cc_flag_unknown_warning_option=yes
   7320 else
   7321   xorg_cv_cc_flag_unknown_warning_option=no
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7324 fi
   7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7328 	CFLAGS="$xorg_testset_save_CFLAGS"
   7329 fi
   7330 
   7331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7334 	fi
   7335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 _ACEOF
   7345 if ac_fn_c_try_compile "$LINENO"; then :
   7346   xorg_cv_cc_flag_unused_command_line_argument=yes
   7347 else
   7348   xorg_cv_cc_flag_unused_command_line_argument=no
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7351 fi
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7355 	CFLAGS="$xorg_testset_save_CFLAGS"
   7356 fi
   7357 
   7358 found="no"
   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 -Wuninitialized"
   7370 
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   7372 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   7373 		cacheid=xorg_cv_cc_flag__Wuninitialized
   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 -Wuninitialized"
   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 -Wshadow"
   7488 
   7489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   7490 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   7491 		cacheid=xorg_cv_cc_flag__Wshadow
   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 -Wshadow"
   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 -Wmissing-noreturn"
   7606 
   7607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   7608 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   7609 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   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 -Wmissing-noreturn"
   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 -Wmissing-format-attribute"
   7724 
   7725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7726 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7727 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   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 -Wmissing-format-attribute"
   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 -Wredundant-decls"
   7842 
   7843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7844 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7845 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   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 -Wredundant-decls"
   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 -Wlogical-op"
   7960 
   7961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7962 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7963 		cacheid=xorg_cv_cc_flag__Wlogical_op
   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 -Wlogical-op"
   7995 			found="yes"
   7996 		fi
   7997 	fi
   7998 
   7999 
   8000 
   8001 # These are currently disabled because they are noisy.  They will be enabled
   8002 # in the future once the codebase is sufficiently modernized to silence
   8003 # them.  For now, I don't want them to drown out the other warnings.
   8004 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   8005 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   8006 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   8007 
   8008 # Turn some warnings into errors, so we don't accidently get successful builds
   8009 # when there are problems that should be fixed.
   8010 
   8011 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 xorg_testset_save_CFLAGS="$CFLAGS"
   8026 
   8027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8032   $as_echo_n "(cached) " >&6
   8033 else
   8034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8035 /* end confdefs.h.  */
   8036 int i;
   8037 _ACEOF
   8038 if ac_fn_c_try_compile "$LINENO"; then :
   8039   xorg_cv_cc_flag_unknown_warning_option=yes
   8040 else
   8041   xorg_cv_cc_flag_unknown_warning_option=no
   8042 fi
   8043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8044 fi
   8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8048 	CFLAGS="$xorg_testset_save_CFLAGS"
   8049 fi
   8050 
   8051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8054 	fi
   8055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8059   $as_echo_n "(cached) " >&6
   8060 else
   8061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8062 /* end confdefs.h.  */
   8063 int i;
   8064 _ACEOF
   8065 if ac_fn_c_try_compile "$LINENO"; then :
   8066   xorg_cv_cc_flag_unused_command_line_argument=yes
   8067 else
   8068   xorg_cv_cc_flag_unused_command_line_argument=no
   8069 fi
   8070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8071 fi
   8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8075 	CFLAGS="$xorg_testset_save_CFLAGS"
   8076 fi
   8077 
   8078 found="no"
   8079 
   8080 	if test $found = "no" ; then
   8081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8083 		fi
   8084 
   8085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8087 		fi
   8088 
   8089 		CFLAGS="$CFLAGS -Werror=implicit"
   8090 
   8091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   8092 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   8093 		cacheid=xorg_cv_cc_flag__Werror_implicit
   8094 		if eval \${$cacheid+:} false; then :
   8095   $as_echo_n "(cached) " >&6
   8096 else
   8097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8098 /* end confdefs.h.  */
   8099 int i;
   8100 int
   8101 main ()
   8102 {
   8103 
   8104   ;
   8105   return 0;
   8106 }
   8107 _ACEOF
   8108 if ac_fn_c_try_link "$LINENO"; then :
   8109   eval $cacheid=yes
   8110 else
   8111   eval $cacheid=no
   8112 fi
   8113 rm -f core conftest.err conftest.$ac_objext \
   8114     conftest$ac_exeext conftest.$ac_ext
   8115 fi
   8116 
   8117 
   8118 		CFLAGS="$xorg_testset_save_CFLAGS"
   8119 
   8120 		eval supported=\$$cacheid
   8121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8122 $as_echo "$supported" >&6; }
   8123 		if test "$supported" = "yes" ; then
   8124 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   8125 			found="yes"
   8126 		fi
   8127 	fi
   8128 
   8129 	if test $found = "no" ; then
   8130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8132 		fi
   8133 
   8134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8136 		fi
   8137 
   8138 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   8139 
   8140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   8141 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   8142 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   8143 		if eval \${$cacheid+:} false; then :
   8144   $as_echo_n "(cached) " >&6
   8145 else
   8146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8147 /* end confdefs.h.  */
   8148 int i;
   8149 int
   8150 main ()
   8151 {
   8152 
   8153   ;
   8154   return 0;
   8155 }
   8156 _ACEOF
   8157 if ac_fn_c_try_link "$LINENO"; then :
   8158   eval $cacheid=yes
   8159 else
   8160   eval $cacheid=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext \
   8163     conftest$ac_exeext conftest.$ac_ext
   8164 fi
   8165 
   8166 
   8167 		CFLAGS="$xorg_testset_save_CFLAGS"
   8168 
   8169 		eval supported=\$$cacheid
   8170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8171 $as_echo "$supported" >&6; }
   8172 		if test "$supported" = "yes" ; then
   8173 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   8174 			found="yes"
   8175 		fi
   8176 	fi
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 xorg_testset_save_CFLAGS="$CFLAGS"
   8193 
   8194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8199   $as_echo_n "(cached) " >&6
   8200 else
   8201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8202 /* end confdefs.h.  */
   8203 int i;
   8204 _ACEOF
   8205 if ac_fn_c_try_compile "$LINENO"; then :
   8206   xorg_cv_cc_flag_unknown_warning_option=yes
   8207 else
   8208   xorg_cv_cc_flag_unknown_warning_option=no
   8209 fi
   8210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8211 fi
   8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8215 	CFLAGS="$xorg_testset_save_CFLAGS"
   8216 fi
   8217 
   8218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8221 	fi
   8222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8226   $as_echo_n "(cached) " >&6
   8227 else
   8228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 _ACEOF
   8232 if ac_fn_c_try_compile "$LINENO"; then :
   8233   xorg_cv_cc_flag_unused_command_line_argument=yes
   8234 else
   8235   xorg_cv_cc_flag_unused_command_line_argument=no
   8236 fi
   8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8238 fi
   8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8242 	CFLAGS="$xorg_testset_save_CFLAGS"
   8243 fi
   8244 
   8245 found="no"
   8246 
   8247 	if test $found = "no" ; then
   8248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8250 		fi
   8251 
   8252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8254 		fi
   8255 
   8256 		CFLAGS="$CFLAGS -Werror=nonnull"
   8257 
   8258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   8259 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   8260 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   8261 		if eval \${$cacheid+:} false; then :
   8262   $as_echo_n "(cached) " >&6
   8263 else
   8264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8265 /* end confdefs.h.  */
   8266 int i;
   8267 int
   8268 main ()
   8269 {
   8270 
   8271   ;
   8272   return 0;
   8273 }
   8274 _ACEOF
   8275 if ac_fn_c_try_link "$LINENO"; then :
   8276   eval $cacheid=yes
   8277 else
   8278   eval $cacheid=no
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext \
   8281     conftest$ac_exeext conftest.$ac_ext
   8282 fi
   8283 
   8284 
   8285 		CFLAGS="$xorg_testset_save_CFLAGS"
   8286 
   8287 		eval supported=\$$cacheid
   8288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8289 $as_echo "$supported" >&6; }
   8290 		if test "$supported" = "yes" ; then
   8291 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   8292 			found="yes"
   8293 		fi
   8294 	fi
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 xorg_testset_save_CFLAGS="$CFLAGS"
   8311 
   8312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8317   $as_echo_n "(cached) " >&6
   8318 else
   8319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8320 /* end confdefs.h.  */
   8321 int i;
   8322 _ACEOF
   8323 if ac_fn_c_try_compile "$LINENO"; then :
   8324   xorg_cv_cc_flag_unknown_warning_option=yes
   8325 else
   8326   xorg_cv_cc_flag_unknown_warning_option=no
   8327 fi
   8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8329 fi
   8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8333 	CFLAGS="$xorg_testset_save_CFLAGS"
   8334 fi
   8335 
   8336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 	fi
   8340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8344   $as_echo_n "(cached) " >&6
   8345 else
   8346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8347 /* end confdefs.h.  */
   8348 int i;
   8349 _ACEOF
   8350 if ac_fn_c_try_compile "$LINENO"; then :
   8351   xorg_cv_cc_flag_unused_command_line_argument=yes
   8352 else
   8353   xorg_cv_cc_flag_unused_command_line_argument=no
   8354 fi
   8355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8356 fi
   8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8360 	CFLAGS="$xorg_testset_save_CFLAGS"
   8361 fi
   8362 
   8363 found="no"
   8364 
   8365 	if test $found = "no" ; then
   8366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8368 		fi
   8369 
   8370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8372 		fi
   8373 
   8374 		CFLAGS="$CFLAGS -Werror=init-self"
   8375 
   8376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   8377 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   8378 		cacheid=xorg_cv_cc_flag__Werror_init_self
   8379 		if eval \${$cacheid+:} false; then :
   8380   $as_echo_n "(cached) " >&6
   8381 else
   8382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8383 /* end confdefs.h.  */
   8384 int i;
   8385 int
   8386 main ()
   8387 {
   8388 
   8389   ;
   8390   return 0;
   8391 }
   8392 _ACEOF
   8393 if ac_fn_c_try_link "$LINENO"; then :
   8394   eval $cacheid=yes
   8395 else
   8396   eval $cacheid=no
   8397 fi
   8398 rm -f core conftest.err conftest.$ac_objext \
   8399     conftest$ac_exeext conftest.$ac_ext
   8400 fi
   8401 
   8402 
   8403 		CFLAGS="$xorg_testset_save_CFLAGS"
   8404 
   8405 		eval supported=\$$cacheid
   8406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8407 $as_echo "$supported" >&6; }
   8408 		if test "$supported" = "yes" ; then
   8409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   8410 			found="yes"
   8411 		fi
   8412 	fi
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 xorg_testset_save_CFLAGS="$CFLAGS"
   8429 
   8430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8435   $as_echo_n "(cached) " >&6
   8436 else
   8437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 _ACEOF
   8441 if ac_fn_c_try_compile "$LINENO"; then :
   8442   xorg_cv_cc_flag_unknown_warning_option=yes
   8443 else
   8444   xorg_cv_cc_flag_unknown_warning_option=no
   8445 fi
   8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8447 fi
   8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8451 	CFLAGS="$xorg_testset_save_CFLAGS"
   8452 fi
   8453 
   8454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8457 	fi
   8458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8462   $as_echo_n "(cached) " >&6
   8463 else
   8464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8465 /* end confdefs.h.  */
   8466 int i;
   8467 _ACEOF
   8468 if ac_fn_c_try_compile "$LINENO"; then :
   8469   xorg_cv_cc_flag_unused_command_line_argument=yes
   8470 else
   8471   xorg_cv_cc_flag_unused_command_line_argument=no
   8472 fi
   8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8474 fi
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8478 	CFLAGS="$xorg_testset_save_CFLAGS"
   8479 fi
   8480 
   8481 found="no"
   8482 
   8483 	if test $found = "no" ; then
   8484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8486 		fi
   8487 
   8488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8490 		fi
   8491 
   8492 		CFLAGS="$CFLAGS -Werror=main"
   8493 
   8494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   8495 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   8496 		cacheid=xorg_cv_cc_flag__Werror_main
   8497 		if eval \${$cacheid+:} false; then :
   8498   $as_echo_n "(cached) " >&6
   8499 else
   8500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8501 /* end confdefs.h.  */
   8502 int i;
   8503 int
   8504 main ()
   8505 {
   8506 
   8507   ;
   8508   return 0;
   8509 }
   8510 _ACEOF
   8511 if ac_fn_c_try_link "$LINENO"; then :
   8512   eval $cacheid=yes
   8513 else
   8514   eval $cacheid=no
   8515 fi
   8516 rm -f core conftest.err conftest.$ac_objext \
   8517     conftest$ac_exeext conftest.$ac_ext
   8518 fi
   8519 
   8520 
   8521 		CFLAGS="$xorg_testset_save_CFLAGS"
   8522 
   8523 		eval supported=\$$cacheid
   8524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8525 $as_echo "$supported" >&6; }
   8526 		if test "$supported" = "yes" ; then
   8527 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   8528 			found="yes"
   8529 		fi
   8530 	fi
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 xorg_testset_save_CFLAGS="$CFLAGS"
   8547 
   8548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8553   $as_echo_n "(cached) " >&6
   8554 else
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 _ACEOF
   8559 if ac_fn_c_try_compile "$LINENO"; then :
   8560   xorg_cv_cc_flag_unknown_warning_option=yes
   8561 else
   8562   xorg_cv_cc_flag_unknown_warning_option=no
   8563 fi
   8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8565 fi
   8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8569 	CFLAGS="$xorg_testset_save_CFLAGS"
   8570 fi
   8571 
   8572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8575 	fi
   8576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8580   $as_echo_n "(cached) " >&6
   8581 else
   8582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8583 /* end confdefs.h.  */
   8584 int i;
   8585 _ACEOF
   8586 if ac_fn_c_try_compile "$LINENO"; then :
   8587   xorg_cv_cc_flag_unused_command_line_argument=yes
   8588 else
   8589   xorg_cv_cc_flag_unused_command_line_argument=no
   8590 fi
   8591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8592 fi
   8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8596 	CFLAGS="$xorg_testset_save_CFLAGS"
   8597 fi
   8598 
   8599 found="no"
   8600 
   8601 	if test $found = "no" ; then
   8602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8604 		fi
   8605 
   8606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8608 		fi
   8609 
   8610 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8611 
   8612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8613 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   8614 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8615 		if eval \${$cacheid+:} false; then :
   8616   $as_echo_n "(cached) " >&6
   8617 else
   8618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8619 /* end confdefs.h.  */
   8620 int i;
   8621 int
   8622 main ()
   8623 {
   8624 
   8625   ;
   8626   return 0;
   8627 }
   8628 _ACEOF
   8629 if ac_fn_c_try_link "$LINENO"; then :
   8630   eval $cacheid=yes
   8631 else
   8632   eval $cacheid=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext \
   8635     conftest$ac_exeext conftest.$ac_ext
   8636 fi
   8637 
   8638 
   8639 		CFLAGS="$xorg_testset_save_CFLAGS"
   8640 
   8641 		eval supported=\$$cacheid
   8642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8643 $as_echo "$supported" >&6; }
   8644 		if test "$supported" = "yes" ; then
   8645 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8646 			found="yes"
   8647 		fi
   8648 	fi
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 xorg_testset_save_CFLAGS="$CFLAGS"
   8665 
   8666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8669 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8670 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 _ACEOF
   8677 if ac_fn_c_try_compile "$LINENO"; then :
   8678   xorg_cv_cc_flag_unknown_warning_option=yes
   8679 else
   8680   xorg_cv_cc_flag_unknown_warning_option=no
   8681 fi
   8682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8683 fi
   8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8685 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8687 	CFLAGS="$xorg_testset_save_CFLAGS"
   8688 fi
   8689 
   8690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8693 	fi
   8694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8696 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8697 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8701 /* end confdefs.h.  */
   8702 int i;
   8703 _ACEOF
   8704 if ac_fn_c_try_compile "$LINENO"; then :
   8705   xorg_cv_cc_flag_unused_command_line_argument=yes
   8706 else
   8707   xorg_cv_cc_flag_unused_command_line_argument=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8710 fi
   8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8712 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8714 	CFLAGS="$xorg_testset_save_CFLAGS"
   8715 fi
   8716 
   8717 found="no"
   8718 
   8719 	if test $found = "no" ; then
   8720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 		fi
   8723 
   8724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 		fi
   8727 
   8728 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8729 
   8730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8731 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   8732 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8733 		if eval \${$cacheid+:} false; then :
   8734   $as_echo_n "(cached) " >&6
   8735 else
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 int
   8740 main ()
   8741 {
   8742 
   8743   ;
   8744   return 0;
   8745 }
   8746 _ACEOF
   8747 if ac_fn_c_try_link "$LINENO"; then :
   8748   eval $cacheid=yes
   8749 else
   8750   eval $cacheid=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext \
   8753     conftest$ac_exeext conftest.$ac_ext
   8754 fi
   8755 
   8756 
   8757 		CFLAGS="$xorg_testset_save_CFLAGS"
   8758 
   8759 		eval supported=\$$cacheid
   8760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8761 $as_echo "$supported" >&6; }
   8762 		if test "$supported" = "yes" ; then
   8763 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8764 			found="yes"
   8765 		fi
   8766 	fi
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 xorg_testset_save_CFLAGS="$CFLAGS"
   8783 
   8784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8787 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8788 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8789   $as_echo_n "(cached) " >&6
   8790 else
   8791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 _ACEOF
   8795 if ac_fn_c_try_compile "$LINENO"; then :
   8796   xorg_cv_cc_flag_unknown_warning_option=yes
   8797 else
   8798   xorg_cv_cc_flag_unknown_warning_option=no
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8801 fi
   8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8803 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8805 	CFLAGS="$xorg_testset_save_CFLAGS"
   8806 fi
   8807 
   8808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8811 	fi
   8812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8814 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8815 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8816   $as_echo_n "(cached) " >&6
   8817 else
   8818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 int i;
   8821 _ACEOF
   8822 if ac_fn_c_try_compile "$LINENO"; then :
   8823   xorg_cv_cc_flag_unused_command_line_argument=yes
   8824 else
   8825   xorg_cv_cc_flag_unused_command_line_argument=no
   8826 fi
   8827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8828 fi
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8830 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8832 	CFLAGS="$xorg_testset_save_CFLAGS"
   8833 fi
   8834 
   8835 found="no"
   8836 
   8837 	if test $found = "no" ; then
   8838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8840 		fi
   8841 
   8842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8844 		fi
   8845 
   8846 		CFLAGS="$CFLAGS -Werror=return-type"
   8847 
   8848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8849 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   8850 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8851 		if eval \${$cacheid+:} false; then :
   8852   $as_echo_n "(cached) " >&6
   8853 else
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 int
   8858 main ()
   8859 {
   8860 
   8861   ;
   8862   return 0;
   8863 }
   8864 _ACEOF
   8865 if ac_fn_c_try_link "$LINENO"; then :
   8866   eval $cacheid=yes
   8867 else
   8868   eval $cacheid=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext \
   8871     conftest$ac_exeext conftest.$ac_ext
   8872 fi
   8873 
   8874 
   8875 		CFLAGS="$xorg_testset_save_CFLAGS"
   8876 
   8877 		eval supported=\$$cacheid
   8878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8879 $as_echo "$supported" >&6; }
   8880 		if test "$supported" = "yes" ; then
   8881 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8882 			found="yes"
   8883 		fi
   8884 	fi
   8885 
   8886 	if test $found = "no" ; then
   8887 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8889 		fi
   8890 
   8891 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8893 		fi
   8894 
   8895 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8896 
   8897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8898 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8899 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8900 		if eval \${$cacheid+:} false; then :
   8901   $as_echo_n "(cached) " >&6
   8902 else
   8903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8904 /* end confdefs.h.  */
   8905 int i;
   8906 int
   8907 main ()
   8908 {
   8909 
   8910   ;
   8911   return 0;
   8912 }
   8913 _ACEOF
   8914 if ac_fn_c_try_link "$LINENO"; then :
   8915   eval $cacheid=yes
   8916 else
   8917   eval $cacheid=no
   8918 fi
   8919 rm -f core conftest.err conftest.$ac_objext \
   8920     conftest$ac_exeext conftest.$ac_ext
   8921 fi
   8922 
   8923 
   8924 		CFLAGS="$xorg_testset_save_CFLAGS"
   8925 
   8926 		eval supported=\$$cacheid
   8927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8928 $as_echo "$supported" >&6; }
   8929 		if test "$supported" = "yes" ; then
   8930 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8931 			found="yes"
   8932 		fi
   8933 	fi
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 xorg_testset_save_CFLAGS="$CFLAGS"
   8950 
   8951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8956   $as_echo_n "(cached) " >&6
   8957 else
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 _ACEOF
   8962 if ac_fn_c_try_compile "$LINENO"; then :
   8963   xorg_cv_cc_flag_unknown_warning_option=yes
   8964 else
   8965   xorg_cv_cc_flag_unknown_warning_option=no
   8966 fi
   8967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8968 fi
   8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8972 	CFLAGS="$xorg_testset_save_CFLAGS"
   8973 fi
   8974 
   8975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8978 	fi
   8979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8983   $as_echo_n "(cached) " >&6
   8984 else
   8985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8986 /* end confdefs.h.  */
   8987 int i;
   8988 _ACEOF
   8989 if ac_fn_c_try_compile "$LINENO"; then :
   8990   xorg_cv_cc_flag_unused_command_line_argument=yes
   8991 else
   8992   xorg_cv_cc_flag_unused_command_line_argument=no
   8993 fi
   8994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8995 fi
   8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8999 	CFLAGS="$xorg_testset_save_CFLAGS"
   9000 fi
   9001 
   9002 found="no"
   9003 
   9004 	if test $found = "no" ; then
   9005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 		fi
   9008 
   9009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9011 		fi
   9012 
   9013 		CFLAGS="$CFLAGS -Werror=trigraphs"
   9014 
   9015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   9016 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   9017 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   9018 		if eval \${$cacheid+:} false; then :
   9019   $as_echo_n "(cached) " >&6
   9020 else
   9021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9022 /* end confdefs.h.  */
   9023 int i;
   9024 int
   9025 main ()
   9026 {
   9027 
   9028   ;
   9029   return 0;
   9030 }
   9031 _ACEOF
   9032 if ac_fn_c_try_link "$LINENO"; then :
   9033   eval $cacheid=yes
   9034 else
   9035   eval $cacheid=no
   9036 fi
   9037 rm -f core conftest.err conftest.$ac_objext \
   9038     conftest$ac_exeext conftest.$ac_ext
   9039 fi
   9040 
   9041 
   9042 		CFLAGS="$xorg_testset_save_CFLAGS"
   9043 
   9044 		eval supported=\$$cacheid
   9045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9046 $as_echo "$supported" >&6; }
   9047 		if test "$supported" = "yes" ; then
   9048 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   9049 			found="yes"
   9050 		fi
   9051 	fi
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 xorg_testset_save_CFLAGS="$CFLAGS"
   9068 
   9069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9072 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9073 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9074   $as_echo_n "(cached) " >&6
   9075 else
   9076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9077 /* end confdefs.h.  */
   9078 int i;
   9079 _ACEOF
   9080 if ac_fn_c_try_compile "$LINENO"; then :
   9081   xorg_cv_cc_flag_unknown_warning_option=yes
   9082 else
   9083   xorg_cv_cc_flag_unknown_warning_option=no
   9084 fi
   9085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9086 fi
   9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9088 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9090 	CFLAGS="$xorg_testset_save_CFLAGS"
   9091 fi
   9092 
   9093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9096 	fi
   9097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9099 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9100 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9101   $as_echo_n "(cached) " >&6
   9102 else
   9103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9104 /* end confdefs.h.  */
   9105 int i;
   9106 _ACEOF
   9107 if ac_fn_c_try_compile "$LINENO"; then :
   9108   xorg_cv_cc_flag_unused_command_line_argument=yes
   9109 else
   9110   xorg_cv_cc_flag_unused_command_line_argument=no
   9111 fi
   9112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9113 fi
   9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9115 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9116 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9117 	CFLAGS="$xorg_testset_save_CFLAGS"
   9118 fi
   9119 
   9120 found="no"
   9121 
   9122 	if test $found = "no" ; then
   9123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9125 		fi
   9126 
   9127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9129 		fi
   9130 
   9131 		CFLAGS="$CFLAGS -Werror=array-bounds"
   9132 
   9133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   9134 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   9135 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   9136 		if eval \${$cacheid+:} false; then :
   9137   $as_echo_n "(cached) " >&6
   9138 else
   9139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9140 /* end confdefs.h.  */
   9141 int i;
   9142 int
   9143 main ()
   9144 {
   9145 
   9146   ;
   9147   return 0;
   9148 }
   9149 _ACEOF
   9150 if ac_fn_c_try_link "$LINENO"; then :
   9151   eval $cacheid=yes
   9152 else
   9153   eval $cacheid=no
   9154 fi
   9155 rm -f core conftest.err conftest.$ac_objext \
   9156     conftest$ac_exeext conftest.$ac_ext
   9157 fi
   9158 
   9159 
   9160 		CFLAGS="$xorg_testset_save_CFLAGS"
   9161 
   9162 		eval supported=\$$cacheid
   9163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9164 $as_echo "$supported" >&6; }
   9165 		if test "$supported" = "yes" ; then
   9166 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   9167 			found="yes"
   9168 		fi
   9169 	fi
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 xorg_testset_save_CFLAGS="$CFLAGS"
   9186 
   9187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9190 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9191 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9192   $as_echo_n "(cached) " >&6
   9193 else
   9194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9195 /* end confdefs.h.  */
   9196 int i;
   9197 _ACEOF
   9198 if ac_fn_c_try_compile "$LINENO"; then :
   9199   xorg_cv_cc_flag_unknown_warning_option=yes
   9200 else
   9201   xorg_cv_cc_flag_unknown_warning_option=no
   9202 fi
   9203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9204 fi
   9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9206 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9208 	CFLAGS="$xorg_testset_save_CFLAGS"
   9209 fi
   9210 
   9211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9214 	fi
   9215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9217 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9218 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9219   $as_echo_n "(cached) " >&6
   9220 else
   9221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9222 /* end confdefs.h.  */
   9223 int i;
   9224 _ACEOF
   9225 if ac_fn_c_try_compile "$LINENO"; then :
   9226   xorg_cv_cc_flag_unused_command_line_argument=yes
   9227 else
   9228   xorg_cv_cc_flag_unused_command_line_argument=no
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9231 fi
   9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9233 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9235 	CFLAGS="$xorg_testset_save_CFLAGS"
   9236 fi
   9237 
   9238 found="no"
   9239 
   9240 	if test $found = "no" ; then
   9241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9243 		fi
   9244 
   9245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9247 		fi
   9248 
   9249 		CFLAGS="$CFLAGS -Werror=write-strings"
   9250 
   9251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   9252 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   9253 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   9254 		if eval \${$cacheid+:} false; then :
   9255   $as_echo_n "(cached) " >&6
   9256 else
   9257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9258 /* end confdefs.h.  */
   9259 int i;
   9260 int
   9261 main ()
   9262 {
   9263 
   9264   ;
   9265   return 0;
   9266 }
   9267 _ACEOF
   9268 if ac_fn_c_try_link "$LINENO"; then :
   9269   eval $cacheid=yes
   9270 else
   9271   eval $cacheid=no
   9272 fi
   9273 rm -f core conftest.err conftest.$ac_objext \
   9274     conftest$ac_exeext conftest.$ac_ext
   9275 fi
   9276 
   9277 
   9278 		CFLAGS="$xorg_testset_save_CFLAGS"
   9279 
   9280 		eval supported=\$$cacheid
   9281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9282 $as_echo "$supported" >&6; }
   9283 		if test "$supported" = "yes" ; then
   9284 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   9285 			found="yes"
   9286 		fi
   9287 	fi
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 xorg_testset_save_CFLAGS="$CFLAGS"
   9304 
   9305 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9306 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9308 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9309 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9310   $as_echo_n "(cached) " >&6
   9311 else
   9312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 _ACEOF
   9316 if ac_fn_c_try_compile "$LINENO"; then :
   9317   xorg_cv_cc_flag_unknown_warning_option=yes
   9318 else
   9319   xorg_cv_cc_flag_unknown_warning_option=no
   9320 fi
   9321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9322 fi
   9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9324 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9326 	CFLAGS="$xorg_testset_save_CFLAGS"
   9327 fi
   9328 
   9329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9332 	fi
   9333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9335 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9336 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9337   $as_echo_n "(cached) " >&6
   9338 else
   9339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9340 /* end confdefs.h.  */
   9341 int i;
   9342 _ACEOF
   9343 if ac_fn_c_try_compile "$LINENO"; then :
   9344   xorg_cv_cc_flag_unused_command_line_argument=yes
   9345 else
   9346   xorg_cv_cc_flag_unused_command_line_argument=no
   9347 fi
   9348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9349 fi
   9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9351 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9353 	CFLAGS="$xorg_testset_save_CFLAGS"
   9354 fi
   9355 
   9356 found="no"
   9357 
   9358 	if test $found = "no" ; then
   9359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9361 		fi
   9362 
   9363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9365 		fi
   9366 
   9367 		CFLAGS="$CFLAGS -Werror=address"
   9368 
   9369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   9370 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   9371 		cacheid=xorg_cv_cc_flag__Werror_address
   9372 		if eval \${$cacheid+:} false; then :
   9373   $as_echo_n "(cached) " >&6
   9374 else
   9375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9376 /* end confdefs.h.  */
   9377 int i;
   9378 int
   9379 main ()
   9380 {
   9381 
   9382   ;
   9383   return 0;
   9384 }
   9385 _ACEOF
   9386 if ac_fn_c_try_link "$LINENO"; then :
   9387   eval $cacheid=yes
   9388 else
   9389   eval $cacheid=no
   9390 fi
   9391 rm -f core conftest.err conftest.$ac_objext \
   9392     conftest$ac_exeext conftest.$ac_ext
   9393 fi
   9394 
   9395 
   9396 		CFLAGS="$xorg_testset_save_CFLAGS"
   9397 
   9398 		eval supported=\$$cacheid
   9399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9400 $as_echo "$supported" >&6; }
   9401 		if test "$supported" = "yes" ; then
   9402 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   9403 			found="yes"
   9404 		fi
   9405 	fi
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 xorg_testset_save_CFLAGS="$CFLAGS"
   9422 
   9423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9426 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9427 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9428   $as_echo_n "(cached) " >&6
   9429 else
   9430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9431 /* end confdefs.h.  */
   9432 int i;
   9433 _ACEOF
   9434 if ac_fn_c_try_compile "$LINENO"; then :
   9435   xorg_cv_cc_flag_unknown_warning_option=yes
   9436 else
   9437   xorg_cv_cc_flag_unknown_warning_option=no
   9438 fi
   9439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9440 fi
   9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9442 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9444 	CFLAGS="$xorg_testset_save_CFLAGS"
   9445 fi
   9446 
   9447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9450 	fi
   9451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9453 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9454 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9455   $as_echo_n "(cached) " >&6
   9456 else
   9457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9458 /* end confdefs.h.  */
   9459 int i;
   9460 _ACEOF
   9461 if ac_fn_c_try_compile "$LINENO"; then :
   9462   xorg_cv_cc_flag_unused_command_line_argument=yes
   9463 else
   9464   xorg_cv_cc_flag_unused_command_line_argument=no
   9465 fi
   9466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9467 fi
   9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9469 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9471 	CFLAGS="$xorg_testset_save_CFLAGS"
   9472 fi
   9473 
   9474 found="no"
   9475 
   9476 	if test $found = "no" ; then
   9477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9479 		fi
   9480 
   9481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9483 		fi
   9484 
   9485 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   9486 
   9487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   9488 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   9489 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9490 		if eval \${$cacheid+:} false; then :
   9491   $as_echo_n "(cached) " >&6
   9492 else
   9493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9494 /* end confdefs.h.  */
   9495 int i;
   9496 int
   9497 main ()
   9498 {
   9499 
   9500   ;
   9501   return 0;
   9502 }
   9503 _ACEOF
   9504 if ac_fn_c_try_link "$LINENO"; then :
   9505   eval $cacheid=yes
   9506 else
   9507   eval $cacheid=no
   9508 fi
   9509 rm -f core conftest.err conftest.$ac_objext \
   9510     conftest$ac_exeext conftest.$ac_ext
   9511 fi
   9512 
   9513 
   9514 		CFLAGS="$xorg_testset_save_CFLAGS"
   9515 
   9516 		eval supported=\$$cacheid
   9517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9518 $as_echo "$supported" >&6; }
   9519 		if test "$supported" = "yes" ; then
   9520 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9521 			found="yes"
   9522 		fi
   9523 	fi
   9524 
   9525 	if test $found = "no" ; then
   9526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9528 		fi
   9529 
   9530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9532 		fi
   9533 
   9534 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9535 
   9536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9537 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9538 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9539 		if eval \${$cacheid+:} false; then :
   9540   $as_echo_n "(cached) " >&6
   9541 else
   9542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9543 /* end confdefs.h.  */
   9544 int i;
   9545 int
   9546 main ()
   9547 {
   9548 
   9549   ;
   9550   return 0;
   9551 }
   9552 _ACEOF
   9553 if ac_fn_c_try_link "$LINENO"; then :
   9554   eval $cacheid=yes
   9555 else
   9556   eval $cacheid=no
   9557 fi
   9558 rm -f core conftest.err conftest.$ac_objext \
   9559     conftest$ac_exeext conftest.$ac_ext
   9560 fi
   9561 
   9562 
   9563 		CFLAGS="$xorg_testset_save_CFLAGS"
   9564 
   9565 		eval supported=\$$cacheid
   9566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9567 $as_echo "$supported" >&6; }
   9568 		if test "$supported" = "yes" ; then
   9569 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9570 			found="yes"
   9571 		fi
   9572 	fi
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 xorg_testset_save_CFLAGS="$CFLAGS"
   9589 
   9590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9593 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9594 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9595   $as_echo_n "(cached) " >&6
   9596 else
   9597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9598 /* end confdefs.h.  */
   9599 int i;
   9600 _ACEOF
   9601 if ac_fn_c_try_compile "$LINENO"; then :
   9602   xorg_cv_cc_flag_unknown_warning_option=yes
   9603 else
   9604   xorg_cv_cc_flag_unknown_warning_option=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9607 fi
   9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9609 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9611 	CFLAGS="$xorg_testset_save_CFLAGS"
   9612 fi
   9613 
   9614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9617 	fi
   9618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9620 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9621 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9622   $as_echo_n "(cached) " >&6
   9623 else
   9624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9625 /* end confdefs.h.  */
   9626 int i;
   9627 _ACEOF
   9628 if ac_fn_c_try_compile "$LINENO"; then :
   9629   xorg_cv_cc_flag_unused_command_line_argument=yes
   9630 else
   9631   xorg_cv_cc_flag_unused_command_line_argument=no
   9632 fi
   9633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9634 fi
   9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9636 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9638 	CFLAGS="$xorg_testset_save_CFLAGS"
   9639 fi
   9640 
   9641 found="no"
   9642 
   9643 	if test $found = "no" ; then
   9644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9646 		fi
   9647 
   9648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9650 		fi
   9651 
   9652 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9653 
   9654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9655 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9656 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9657 		if eval \${$cacheid+:} false; then :
   9658   $as_echo_n "(cached) " >&6
   9659 else
   9660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9661 /* end confdefs.h.  */
   9662 int i;
   9663 int
   9664 main ()
   9665 {
   9666 
   9667   ;
   9668   return 0;
   9669 }
   9670 _ACEOF
   9671 if ac_fn_c_try_link "$LINENO"; then :
   9672   eval $cacheid=yes
   9673 else
   9674   eval $cacheid=no
   9675 fi
   9676 rm -f core conftest.err conftest.$ac_objext \
   9677     conftest$ac_exeext conftest.$ac_ext
   9678 fi
   9679 
   9680 
   9681 		CFLAGS="$xorg_testset_save_CFLAGS"
   9682 
   9683 		eval supported=\$$cacheid
   9684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9685 $as_echo "$supported" >&6; }
   9686 		if test "$supported" = "yes" ; then
   9687 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9688 			found="yes"
   9689 		fi
   9690 	fi
   9691 
   9692  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9693 else
   9694 { $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
   9695 $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;}
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 xorg_testset_save_CFLAGS="$CFLAGS"
   9710 
   9711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9716   $as_echo_n "(cached) " >&6
   9717 else
   9718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9719 /* end confdefs.h.  */
   9720 int i;
   9721 _ACEOF
   9722 if ac_fn_c_try_compile "$LINENO"; then :
   9723   xorg_cv_cc_flag_unknown_warning_option=yes
   9724 else
   9725   xorg_cv_cc_flag_unknown_warning_option=no
   9726 fi
   9727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9728 fi
   9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9732 	CFLAGS="$xorg_testset_save_CFLAGS"
   9733 fi
   9734 
   9735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9738 	fi
   9739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9743   $as_echo_n "(cached) " >&6
   9744 else
   9745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9746 /* end confdefs.h.  */
   9747 int i;
   9748 _ACEOF
   9749 if ac_fn_c_try_compile "$LINENO"; then :
   9750   xorg_cv_cc_flag_unused_command_line_argument=yes
   9751 else
   9752   xorg_cv_cc_flag_unused_command_line_argument=no
   9753 fi
   9754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9755 fi
   9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 found="no"
   9763 
   9764 	if test $found = "no" ; then
   9765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9767 		fi
   9768 
   9769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9771 		fi
   9772 
   9773 		CFLAGS="$CFLAGS -Wimplicit"
   9774 
   9775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9776 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   9777 		cacheid=xorg_cv_cc_flag__Wimplicit
   9778 		if eval \${$cacheid+:} false; then :
   9779   $as_echo_n "(cached) " >&6
   9780 else
   9781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9782 /* end confdefs.h.  */
   9783 int i;
   9784 int
   9785 main ()
   9786 {
   9787 
   9788   ;
   9789   return 0;
   9790 }
   9791 _ACEOF
   9792 if ac_fn_c_try_link "$LINENO"; then :
   9793   eval $cacheid=yes
   9794 else
   9795   eval $cacheid=no
   9796 fi
   9797 rm -f core conftest.err conftest.$ac_objext \
   9798     conftest$ac_exeext conftest.$ac_ext
   9799 fi
   9800 
   9801 
   9802 		CFLAGS="$xorg_testset_save_CFLAGS"
   9803 
   9804 		eval supported=\$$cacheid
   9805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9806 $as_echo "$supported" >&6; }
   9807 		if test "$supported" = "yes" ; then
   9808 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9809 			found="yes"
   9810 		fi
   9811 	fi
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 xorg_testset_save_CFLAGS="$CFLAGS"
   9828 
   9829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9834   $as_echo_n "(cached) " >&6
   9835 else
   9836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9837 /* end confdefs.h.  */
   9838 int i;
   9839 _ACEOF
   9840 if ac_fn_c_try_compile "$LINENO"; then :
   9841   xorg_cv_cc_flag_unknown_warning_option=yes
   9842 else
   9843   xorg_cv_cc_flag_unknown_warning_option=no
   9844 fi
   9845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9846 fi
   9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9850 	CFLAGS="$xorg_testset_save_CFLAGS"
   9851 fi
   9852 
   9853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9856 	fi
   9857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9861   $as_echo_n "(cached) " >&6
   9862 else
   9863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9864 /* end confdefs.h.  */
   9865 int i;
   9866 _ACEOF
   9867 if ac_fn_c_try_compile "$LINENO"; then :
   9868   xorg_cv_cc_flag_unused_command_line_argument=yes
   9869 else
   9870   xorg_cv_cc_flag_unused_command_line_argument=no
   9871 fi
   9872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9873 fi
   9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9877 	CFLAGS="$xorg_testset_save_CFLAGS"
   9878 fi
   9879 
   9880 found="no"
   9881 
   9882 	if test $found = "no" ; then
   9883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9885 		fi
   9886 
   9887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9889 		fi
   9890 
   9891 		CFLAGS="$CFLAGS -Wnonnull"
   9892 
   9893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9894 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9895 		cacheid=xorg_cv_cc_flag__Wnonnull
   9896 		if eval \${$cacheid+:} false; then :
   9897   $as_echo_n "(cached) " >&6
   9898 else
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 int
   9903 main ()
   9904 {
   9905 
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 if ac_fn_c_try_link "$LINENO"; then :
   9911   eval $cacheid=yes
   9912 else
   9913   eval $cacheid=no
   9914 fi
   9915 rm -f core conftest.err conftest.$ac_objext \
   9916     conftest$ac_exeext conftest.$ac_ext
   9917 fi
   9918 
   9919 
   9920 		CFLAGS="$xorg_testset_save_CFLAGS"
   9921 
   9922 		eval supported=\$$cacheid
   9923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9924 $as_echo "$supported" >&6; }
   9925 		if test "$supported" = "yes" ; then
   9926 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9927 			found="yes"
   9928 		fi
   9929 	fi
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 xorg_testset_save_CFLAGS="$CFLAGS"
   9946 
   9947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9952   $as_echo_n "(cached) " >&6
   9953 else
   9954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9955 /* end confdefs.h.  */
   9956 int i;
   9957 _ACEOF
   9958 if ac_fn_c_try_compile "$LINENO"; then :
   9959   xorg_cv_cc_flag_unknown_warning_option=yes
   9960 else
   9961   xorg_cv_cc_flag_unknown_warning_option=no
   9962 fi
   9963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9964 fi
   9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9968 	CFLAGS="$xorg_testset_save_CFLAGS"
   9969 fi
   9970 
   9971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9974 	fi
   9975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9979   $as_echo_n "(cached) " >&6
   9980 else
   9981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9982 /* end confdefs.h.  */
   9983 int i;
   9984 _ACEOF
   9985 if ac_fn_c_try_compile "$LINENO"; then :
   9986   xorg_cv_cc_flag_unused_command_line_argument=yes
   9987 else
   9988   xorg_cv_cc_flag_unused_command_line_argument=no
   9989 fi
   9990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9991 fi
   9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9995 	CFLAGS="$xorg_testset_save_CFLAGS"
   9996 fi
   9997 
   9998 found="no"
   9999 
   10000 	if test $found = "no" ; then
   10001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10003 		fi
   10004 
   10005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10007 		fi
   10008 
   10009 		CFLAGS="$CFLAGS -Winit-self"
   10010 
   10011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   10012 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   10013 		cacheid=xorg_cv_cc_flag__Winit_self
   10014 		if eval \${$cacheid+:} false; then :
   10015   $as_echo_n "(cached) " >&6
   10016 else
   10017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 int
   10021 main ()
   10022 {
   10023 
   10024   ;
   10025   return 0;
   10026 }
   10027 _ACEOF
   10028 if ac_fn_c_try_link "$LINENO"; then :
   10029   eval $cacheid=yes
   10030 else
   10031   eval $cacheid=no
   10032 fi
   10033 rm -f core conftest.err conftest.$ac_objext \
   10034     conftest$ac_exeext conftest.$ac_ext
   10035 fi
   10036 
   10037 
   10038 		CFLAGS="$xorg_testset_save_CFLAGS"
   10039 
   10040 		eval supported=\$$cacheid
   10041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10042 $as_echo "$supported" >&6; }
   10043 		if test "$supported" = "yes" ; then
   10044 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   10045 			found="yes"
   10046 		fi
   10047 	fi
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 xorg_testset_save_CFLAGS="$CFLAGS"
   10064 
   10065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10070   $as_echo_n "(cached) " >&6
   10071 else
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 _ACEOF
   10076 if ac_fn_c_try_compile "$LINENO"; then :
   10077   xorg_cv_cc_flag_unknown_warning_option=yes
   10078 else
   10079   xorg_cv_cc_flag_unknown_warning_option=no
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10082 fi
   10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10086 	CFLAGS="$xorg_testset_save_CFLAGS"
   10087 fi
   10088 
   10089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10092 	fi
   10093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10097   $as_echo_n "(cached) " >&6
   10098 else
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 _ACEOF
   10103 if ac_fn_c_try_compile "$LINENO"; then :
   10104   xorg_cv_cc_flag_unused_command_line_argument=yes
   10105 else
   10106   xorg_cv_cc_flag_unused_command_line_argument=no
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10109 fi
   10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10113 	CFLAGS="$xorg_testset_save_CFLAGS"
   10114 fi
   10115 
   10116 found="no"
   10117 
   10118 	if test $found = "no" ; then
   10119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10121 		fi
   10122 
   10123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10125 		fi
   10126 
   10127 		CFLAGS="$CFLAGS -Wmain"
   10128 
   10129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   10130 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   10131 		cacheid=xorg_cv_cc_flag__Wmain
   10132 		if eval \${$cacheid+:} false; then :
   10133   $as_echo_n "(cached) " >&6
   10134 else
   10135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10136 /* end confdefs.h.  */
   10137 int i;
   10138 int
   10139 main ()
   10140 {
   10141 
   10142   ;
   10143   return 0;
   10144 }
   10145 _ACEOF
   10146 if ac_fn_c_try_link "$LINENO"; then :
   10147   eval $cacheid=yes
   10148 else
   10149   eval $cacheid=no
   10150 fi
   10151 rm -f core conftest.err conftest.$ac_objext \
   10152     conftest$ac_exeext conftest.$ac_ext
   10153 fi
   10154 
   10155 
   10156 		CFLAGS="$xorg_testset_save_CFLAGS"
   10157 
   10158 		eval supported=\$$cacheid
   10159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10160 $as_echo "$supported" >&6; }
   10161 		if test "$supported" = "yes" ; then
   10162 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   10163 			found="yes"
   10164 		fi
   10165 	fi
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 xorg_testset_save_CFLAGS="$CFLAGS"
   10182 
   10183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10188   $as_echo_n "(cached) " >&6
   10189 else
   10190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 int i;
   10193 _ACEOF
   10194 if ac_fn_c_try_compile "$LINENO"; then :
   10195   xorg_cv_cc_flag_unknown_warning_option=yes
   10196 else
   10197   xorg_cv_cc_flag_unknown_warning_option=no
   10198 fi
   10199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10200 fi
   10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10204 	CFLAGS="$xorg_testset_save_CFLAGS"
   10205 fi
   10206 
   10207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 	fi
   10211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10215   $as_echo_n "(cached) " >&6
   10216 else
   10217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10218 /* end confdefs.h.  */
   10219 int i;
   10220 _ACEOF
   10221 if ac_fn_c_try_compile "$LINENO"; then :
   10222   xorg_cv_cc_flag_unused_command_line_argument=yes
   10223 else
   10224   xorg_cv_cc_flag_unused_command_line_argument=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10227 fi
   10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 found="no"
   10235 
   10236 	if test $found = "no" ; then
   10237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10239 		fi
   10240 
   10241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10243 		fi
   10244 
   10245 		CFLAGS="$CFLAGS -Wmissing-braces"
   10246 
   10247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   10248 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   10249 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   10250 		if eval \${$cacheid+:} false; then :
   10251   $as_echo_n "(cached) " >&6
   10252 else
   10253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 int i;
   10256 int
   10257 main ()
   10258 {
   10259 
   10260   ;
   10261   return 0;
   10262 }
   10263 _ACEOF
   10264 if ac_fn_c_try_link "$LINENO"; then :
   10265   eval $cacheid=yes
   10266 else
   10267   eval $cacheid=no
   10268 fi
   10269 rm -f core conftest.err conftest.$ac_objext \
   10270     conftest$ac_exeext conftest.$ac_ext
   10271 fi
   10272 
   10273 
   10274 		CFLAGS="$xorg_testset_save_CFLAGS"
   10275 
   10276 		eval supported=\$$cacheid
   10277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10278 $as_echo "$supported" >&6; }
   10279 		if test "$supported" = "yes" ; then
   10280 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   10281 			found="yes"
   10282 		fi
   10283 	fi
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 xorg_testset_save_CFLAGS="$CFLAGS"
   10300 
   10301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10306   $as_echo_n "(cached) " >&6
   10307 else
   10308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10309 /* end confdefs.h.  */
   10310 int i;
   10311 _ACEOF
   10312 if ac_fn_c_try_compile "$LINENO"; then :
   10313   xorg_cv_cc_flag_unknown_warning_option=yes
   10314 else
   10315   xorg_cv_cc_flag_unknown_warning_option=no
   10316 fi
   10317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10318 fi
   10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10322 	CFLAGS="$xorg_testset_save_CFLAGS"
   10323 fi
   10324 
   10325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10328 	fi
   10329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10333   $as_echo_n "(cached) " >&6
   10334 else
   10335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 int i;
   10338 _ACEOF
   10339 if ac_fn_c_try_compile "$LINENO"; then :
   10340   xorg_cv_cc_flag_unused_command_line_argument=yes
   10341 else
   10342   xorg_cv_cc_flag_unused_command_line_argument=no
   10343 fi
   10344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10345 fi
   10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10349 	CFLAGS="$xorg_testset_save_CFLAGS"
   10350 fi
   10351 
   10352 found="no"
   10353 
   10354 	if test $found = "no" ; then
   10355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 		fi
   10358 
   10359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10361 		fi
   10362 
   10363 		CFLAGS="$CFLAGS -Wsequence-point"
   10364 
   10365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   10366 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   10367 		cacheid=xorg_cv_cc_flag__Wsequence_point
   10368 		if eval \${$cacheid+:} false; then :
   10369   $as_echo_n "(cached) " >&6
   10370 else
   10371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10372 /* end confdefs.h.  */
   10373 int i;
   10374 int
   10375 main ()
   10376 {
   10377 
   10378   ;
   10379   return 0;
   10380 }
   10381 _ACEOF
   10382 if ac_fn_c_try_link "$LINENO"; then :
   10383   eval $cacheid=yes
   10384 else
   10385   eval $cacheid=no
   10386 fi
   10387 rm -f core conftest.err conftest.$ac_objext \
   10388     conftest$ac_exeext conftest.$ac_ext
   10389 fi
   10390 
   10391 
   10392 		CFLAGS="$xorg_testset_save_CFLAGS"
   10393 
   10394 		eval supported=\$$cacheid
   10395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10396 $as_echo "$supported" >&6; }
   10397 		if test "$supported" = "yes" ; then
   10398 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10399 			found="yes"
   10400 		fi
   10401 	fi
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 xorg_testset_save_CFLAGS="$CFLAGS"
   10418 
   10419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10424   $as_echo_n "(cached) " >&6
   10425 else
   10426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10427 /* end confdefs.h.  */
   10428 int i;
   10429 _ACEOF
   10430 if ac_fn_c_try_compile "$LINENO"; then :
   10431   xorg_cv_cc_flag_unknown_warning_option=yes
   10432 else
   10433   xorg_cv_cc_flag_unknown_warning_option=no
   10434 fi
   10435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10436 fi
   10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10440 	CFLAGS="$xorg_testset_save_CFLAGS"
   10441 fi
   10442 
   10443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10446 	fi
   10447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10451   $as_echo_n "(cached) " >&6
   10452 else
   10453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10454 /* end confdefs.h.  */
   10455 int i;
   10456 _ACEOF
   10457 if ac_fn_c_try_compile "$LINENO"; then :
   10458   xorg_cv_cc_flag_unused_command_line_argument=yes
   10459 else
   10460   xorg_cv_cc_flag_unused_command_line_argument=no
   10461 fi
   10462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10463 fi
   10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10467 	CFLAGS="$xorg_testset_save_CFLAGS"
   10468 fi
   10469 
   10470 found="no"
   10471 
   10472 	if test $found = "no" ; then
   10473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10475 		fi
   10476 
   10477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10479 		fi
   10480 
   10481 		CFLAGS="$CFLAGS -Wreturn-type"
   10482 
   10483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10484 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   10485 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10486 		if eval \${$cacheid+:} false; then :
   10487   $as_echo_n "(cached) " >&6
   10488 else
   10489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10490 /* end confdefs.h.  */
   10491 int i;
   10492 int
   10493 main ()
   10494 {
   10495 
   10496   ;
   10497   return 0;
   10498 }
   10499 _ACEOF
   10500 if ac_fn_c_try_link "$LINENO"; then :
   10501   eval $cacheid=yes
   10502 else
   10503   eval $cacheid=no
   10504 fi
   10505 rm -f core conftest.err conftest.$ac_objext \
   10506     conftest$ac_exeext conftest.$ac_ext
   10507 fi
   10508 
   10509 
   10510 		CFLAGS="$xorg_testset_save_CFLAGS"
   10511 
   10512 		eval supported=\$$cacheid
   10513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10514 $as_echo "$supported" >&6; }
   10515 		if test "$supported" = "yes" ; then
   10516 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10517 			found="yes"
   10518 		fi
   10519 	fi
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 xorg_testset_save_CFLAGS="$CFLAGS"
   10536 
   10537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10542   $as_echo_n "(cached) " >&6
   10543 else
   10544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10545 /* end confdefs.h.  */
   10546 int i;
   10547 _ACEOF
   10548 if ac_fn_c_try_compile "$LINENO"; then :
   10549   xorg_cv_cc_flag_unknown_warning_option=yes
   10550 else
   10551   xorg_cv_cc_flag_unknown_warning_option=no
   10552 fi
   10553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10554 fi
   10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10558 	CFLAGS="$xorg_testset_save_CFLAGS"
   10559 fi
   10560 
   10561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10564 	fi
   10565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10569   $as_echo_n "(cached) " >&6
   10570 else
   10571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10572 /* end confdefs.h.  */
   10573 int i;
   10574 _ACEOF
   10575 if ac_fn_c_try_compile "$LINENO"; then :
   10576   xorg_cv_cc_flag_unused_command_line_argument=yes
   10577 else
   10578   xorg_cv_cc_flag_unused_command_line_argument=no
   10579 fi
   10580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10581 fi
   10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10585 	CFLAGS="$xorg_testset_save_CFLAGS"
   10586 fi
   10587 
   10588 found="no"
   10589 
   10590 	if test $found = "no" ; then
   10591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10593 		fi
   10594 
   10595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10597 		fi
   10598 
   10599 		CFLAGS="$CFLAGS -Wtrigraphs"
   10600 
   10601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10602 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   10603 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10604 		if eval \${$cacheid+:} false; then :
   10605   $as_echo_n "(cached) " >&6
   10606 else
   10607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10608 /* end confdefs.h.  */
   10609 int i;
   10610 int
   10611 main ()
   10612 {
   10613 
   10614   ;
   10615   return 0;
   10616 }
   10617 _ACEOF
   10618 if ac_fn_c_try_link "$LINENO"; then :
   10619   eval $cacheid=yes
   10620 else
   10621   eval $cacheid=no
   10622 fi
   10623 rm -f core conftest.err conftest.$ac_objext \
   10624     conftest$ac_exeext conftest.$ac_ext
   10625 fi
   10626 
   10627 
   10628 		CFLAGS="$xorg_testset_save_CFLAGS"
   10629 
   10630 		eval supported=\$$cacheid
   10631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10632 $as_echo "$supported" >&6; }
   10633 		if test "$supported" = "yes" ; then
   10634 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10635 			found="yes"
   10636 		fi
   10637 	fi
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 xorg_testset_save_CFLAGS="$CFLAGS"
   10654 
   10655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10658 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10659 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10660   $as_echo_n "(cached) " >&6
   10661 else
   10662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10663 /* end confdefs.h.  */
   10664 int i;
   10665 _ACEOF
   10666 if ac_fn_c_try_compile "$LINENO"; then :
   10667   xorg_cv_cc_flag_unknown_warning_option=yes
   10668 else
   10669   xorg_cv_cc_flag_unknown_warning_option=no
   10670 fi
   10671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10672 fi
   10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10674 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10676 	CFLAGS="$xorg_testset_save_CFLAGS"
   10677 fi
   10678 
   10679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10682 	fi
   10683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10685 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10686 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10687   $as_echo_n "(cached) " >&6
   10688 else
   10689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10690 /* end confdefs.h.  */
   10691 int i;
   10692 _ACEOF
   10693 if ac_fn_c_try_compile "$LINENO"; then :
   10694   xorg_cv_cc_flag_unused_command_line_argument=yes
   10695 else
   10696   xorg_cv_cc_flag_unused_command_line_argument=no
   10697 fi
   10698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10699 fi
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10701 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10703 	CFLAGS="$xorg_testset_save_CFLAGS"
   10704 fi
   10705 
   10706 found="no"
   10707 
   10708 	if test $found = "no" ; then
   10709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10711 		fi
   10712 
   10713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10715 		fi
   10716 
   10717 		CFLAGS="$CFLAGS -Warray-bounds"
   10718 
   10719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10720 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   10721 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10722 		if eval \${$cacheid+:} false; then :
   10723   $as_echo_n "(cached) " >&6
   10724 else
   10725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10726 /* end confdefs.h.  */
   10727 int i;
   10728 int
   10729 main ()
   10730 {
   10731 
   10732   ;
   10733   return 0;
   10734 }
   10735 _ACEOF
   10736 if ac_fn_c_try_link "$LINENO"; then :
   10737   eval $cacheid=yes
   10738 else
   10739   eval $cacheid=no
   10740 fi
   10741 rm -f core conftest.err conftest.$ac_objext \
   10742     conftest$ac_exeext conftest.$ac_ext
   10743 fi
   10744 
   10745 
   10746 		CFLAGS="$xorg_testset_save_CFLAGS"
   10747 
   10748 		eval supported=\$$cacheid
   10749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10750 $as_echo "$supported" >&6; }
   10751 		if test "$supported" = "yes" ; then
   10752 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10753 			found="yes"
   10754 		fi
   10755 	fi
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 xorg_testset_save_CFLAGS="$CFLAGS"
   10772 
   10773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10778   $as_echo_n "(cached) " >&6
   10779 else
   10780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10781 /* end confdefs.h.  */
   10782 int i;
   10783 _ACEOF
   10784 if ac_fn_c_try_compile "$LINENO"; then :
   10785   xorg_cv_cc_flag_unknown_warning_option=yes
   10786 else
   10787   xorg_cv_cc_flag_unknown_warning_option=no
   10788 fi
   10789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10790 fi
   10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10794 	CFLAGS="$xorg_testset_save_CFLAGS"
   10795 fi
   10796 
   10797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10800 	fi
   10801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10805   $as_echo_n "(cached) " >&6
   10806 else
   10807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10808 /* end confdefs.h.  */
   10809 int i;
   10810 _ACEOF
   10811 if ac_fn_c_try_compile "$LINENO"; then :
   10812   xorg_cv_cc_flag_unused_command_line_argument=yes
   10813 else
   10814   xorg_cv_cc_flag_unused_command_line_argument=no
   10815 fi
   10816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10817 fi
   10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10821 	CFLAGS="$xorg_testset_save_CFLAGS"
   10822 fi
   10823 
   10824 found="no"
   10825 
   10826 	if test $found = "no" ; then
   10827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10829 		fi
   10830 
   10831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10833 		fi
   10834 
   10835 		CFLAGS="$CFLAGS -Wwrite-strings"
   10836 
   10837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10838 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   10839 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10840 		if eval \${$cacheid+:} false; then :
   10841   $as_echo_n "(cached) " >&6
   10842 else
   10843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10844 /* end confdefs.h.  */
   10845 int i;
   10846 int
   10847 main ()
   10848 {
   10849 
   10850   ;
   10851   return 0;
   10852 }
   10853 _ACEOF
   10854 if ac_fn_c_try_link "$LINENO"; then :
   10855   eval $cacheid=yes
   10856 else
   10857   eval $cacheid=no
   10858 fi
   10859 rm -f core conftest.err conftest.$ac_objext \
   10860     conftest$ac_exeext conftest.$ac_ext
   10861 fi
   10862 
   10863 
   10864 		CFLAGS="$xorg_testset_save_CFLAGS"
   10865 
   10866 		eval supported=\$$cacheid
   10867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10868 $as_echo "$supported" >&6; }
   10869 		if test "$supported" = "yes" ; then
   10870 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10871 			found="yes"
   10872 		fi
   10873 	fi
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 xorg_testset_save_CFLAGS="$CFLAGS"
   10890 
   10891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10896   $as_echo_n "(cached) " >&6
   10897 else
   10898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10899 /* end confdefs.h.  */
   10900 int i;
   10901 _ACEOF
   10902 if ac_fn_c_try_compile "$LINENO"; then :
   10903   xorg_cv_cc_flag_unknown_warning_option=yes
   10904 else
   10905   xorg_cv_cc_flag_unknown_warning_option=no
   10906 fi
   10907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10908 fi
   10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10912 	CFLAGS="$xorg_testset_save_CFLAGS"
   10913 fi
   10914 
   10915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10918 	fi
   10919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10923   $as_echo_n "(cached) " >&6
   10924 else
   10925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10926 /* end confdefs.h.  */
   10927 int i;
   10928 _ACEOF
   10929 if ac_fn_c_try_compile "$LINENO"; then :
   10930   xorg_cv_cc_flag_unused_command_line_argument=yes
   10931 else
   10932   xorg_cv_cc_flag_unused_command_line_argument=no
   10933 fi
   10934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10935 fi
   10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10939 	CFLAGS="$xorg_testset_save_CFLAGS"
   10940 fi
   10941 
   10942 found="no"
   10943 
   10944 	if test $found = "no" ; then
   10945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10947 		fi
   10948 
   10949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10951 		fi
   10952 
   10953 		CFLAGS="$CFLAGS -Waddress"
   10954 
   10955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10956 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10957 		cacheid=xorg_cv_cc_flag__Waddress
   10958 		if eval \${$cacheid+:} false; then :
   10959   $as_echo_n "(cached) " >&6
   10960 else
   10961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10962 /* end confdefs.h.  */
   10963 int i;
   10964 int
   10965 main ()
   10966 {
   10967 
   10968   ;
   10969   return 0;
   10970 }
   10971 _ACEOF
   10972 if ac_fn_c_try_link "$LINENO"; then :
   10973   eval $cacheid=yes
   10974 else
   10975   eval $cacheid=no
   10976 fi
   10977 rm -f core conftest.err conftest.$ac_objext \
   10978     conftest$ac_exeext conftest.$ac_ext
   10979 fi
   10980 
   10981 
   10982 		CFLAGS="$xorg_testset_save_CFLAGS"
   10983 
   10984 		eval supported=\$$cacheid
   10985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10986 $as_echo "$supported" >&6; }
   10987 		if test "$supported" = "yes" ; then
   10988 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10989 			found="yes"
   10990 		fi
   10991 	fi
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 xorg_testset_save_CFLAGS="$CFLAGS"
   11008 
   11009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11014   $as_echo_n "(cached) " >&6
   11015 else
   11016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11017 /* end confdefs.h.  */
   11018 int i;
   11019 _ACEOF
   11020 if ac_fn_c_try_compile "$LINENO"; then :
   11021   xorg_cv_cc_flag_unknown_warning_option=yes
   11022 else
   11023   xorg_cv_cc_flag_unknown_warning_option=no
   11024 fi
   11025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11026 fi
   11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11030 	CFLAGS="$xorg_testset_save_CFLAGS"
   11031 fi
   11032 
   11033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11036 	fi
   11037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11041   $as_echo_n "(cached) " >&6
   11042 else
   11043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11044 /* end confdefs.h.  */
   11045 int i;
   11046 _ACEOF
   11047 if ac_fn_c_try_compile "$LINENO"; then :
   11048   xorg_cv_cc_flag_unused_command_line_argument=yes
   11049 else
   11050   xorg_cv_cc_flag_unused_command_line_argument=no
   11051 fi
   11052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11053 fi
   11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11057 	CFLAGS="$xorg_testset_save_CFLAGS"
   11058 fi
   11059 
   11060 found="no"
   11061 
   11062 	if test $found = "no" ; then
   11063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11065 		fi
   11066 
   11067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11069 		fi
   11070 
   11071 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   11072 
   11073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   11074 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   11075 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   11076 		if eval \${$cacheid+:} false; then :
   11077   $as_echo_n "(cached) " >&6
   11078 else
   11079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11080 /* end confdefs.h.  */
   11081 int i;
   11082 int
   11083 main ()
   11084 {
   11085 
   11086   ;
   11087   return 0;
   11088 }
   11089 _ACEOF
   11090 if ac_fn_c_try_link "$LINENO"; then :
   11091   eval $cacheid=yes
   11092 else
   11093   eval $cacheid=no
   11094 fi
   11095 rm -f core conftest.err conftest.$ac_objext \
   11096     conftest$ac_exeext conftest.$ac_ext
   11097 fi
   11098 
   11099 
   11100 		CFLAGS="$xorg_testset_save_CFLAGS"
   11101 
   11102 		eval supported=\$$cacheid
   11103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11104 $as_echo "$supported" >&6; }
   11105 		if test "$supported" = "yes" ; then
   11106 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   11107 			found="yes"
   11108 		fi
   11109 	fi
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 xorg_testset_save_CFLAGS="$CFLAGS"
   11126 
   11127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11132   $as_echo_n "(cached) " >&6
   11133 else
   11134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11135 /* end confdefs.h.  */
   11136 int i;
   11137 _ACEOF
   11138 if ac_fn_c_try_compile "$LINENO"; then :
   11139   xorg_cv_cc_flag_unknown_warning_option=yes
   11140 else
   11141   xorg_cv_cc_flag_unknown_warning_option=no
   11142 fi
   11143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11144 fi
   11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11148 	CFLAGS="$xorg_testset_save_CFLAGS"
   11149 fi
   11150 
   11151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11154 	fi
   11155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11159   $as_echo_n "(cached) " >&6
   11160 else
   11161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11162 /* end confdefs.h.  */
   11163 int i;
   11164 _ACEOF
   11165 if ac_fn_c_try_compile "$LINENO"; then :
   11166   xorg_cv_cc_flag_unused_command_line_argument=yes
   11167 else
   11168   xorg_cv_cc_flag_unused_command_line_argument=no
   11169 fi
   11170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11171 fi
   11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11175 	CFLAGS="$xorg_testset_save_CFLAGS"
   11176 fi
   11177 
   11178 found="no"
   11179 
   11180 	if test $found = "no" ; then
   11181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11183 		fi
   11184 
   11185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11187 		fi
   11188 
   11189 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   11190 
   11191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   11192 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   11193 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   11194 		if eval \${$cacheid+:} false; then :
   11195   $as_echo_n "(cached) " >&6
   11196 else
   11197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11198 /* end confdefs.h.  */
   11199 int i;
   11200 int
   11201 main ()
   11202 {
   11203 
   11204   ;
   11205   return 0;
   11206 }
   11207 _ACEOF
   11208 if ac_fn_c_try_link "$LINENO"; then :
   11209   eval $cacheid=yes
   11210 else
   11211   eval $cacheid=no
   11212 fi
   11213 rm -f core conftest.err conftest.$ac_objext \
   11214     conftest$ac_exeext conftest.$ac_ext
   11215 fi
   11216 
   11217 
   11218 		CFLAGS="$xorg_testset_save_CFLAGS"
   11219 
   11220 		eval supported=\$$cacheid
   11221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11222 $as_echo "$supported" >&6; }
   11223 		if test "$supported" = "yes" ; then
   11224 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   11225 			found="yes"
   11226 		fi
   11227 	fi
   11228 
   11229 
   11230 fi
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 		CWARNFLAGS="$BASE_CFLAGS"
   11239 		if  test "x$GCC" = xyes ; then
   11240 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   11241 		fi
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 # Check whether --enable-strict-compilation was given.
   11251 if test "${enable_strict_compilation+set}" = set; then :
   11252   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11253 else
   11254   STRICT_COMPILE=no
   11255 fi
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 STRICT_CFLAGS=""
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 xorg_testset_save_CFLAGS="$CFLAGS"
   11277 
   11278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11281 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11282 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11283   $as_echo_n "(cached) " >&6
   11284 else
   11285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11286 /* end confdefs.h.  */
   11287 int i;
   11288 _ACEOF
   11289 if ac_fn_c_try_compile "$LINENO"; then :
   11290   xorg_cv_cc_flag_unknown_warning_option=yes
   11291 else
   11292   xorg_cv_cc_flag_unknown_warning_option=no
   11293 fi
   11294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11295 fi
   11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11297 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11299 	CFLAGS="$xorg_testset_save_CFLAGS"
   11300 fi
   11301 
   11302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11305 	fi
   11306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11308 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11309 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11310   $as_echo_n "(cached) " >&6
   11311 else
   11312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11313 /* end confdefs.h.  */
   11314 int i;
   11315 _ACEOF
   11316 if ac_fn_c_try_compile "$LINENO"; then :
   11317   xorg_cv_cc_flag_unused_command_line_argument=yes
   11318 else
   11319   xorg_cv_cc_flag_unused_command_line_argument=no
   11320 fi
   11321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11322 fi
   11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11324 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11326 	CFLAGS="$xorg_testset_save_CFLAGS"
   11327 fi
   11328 
   11329 found="no"
   11330 
   11331 	if test $found = "no" ; then
   11332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11334 		fi
   11335 
   11336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11338 		fi
   11339 
   11340 		CFLAGS="$CFLAGS -pedantic"
   11341 
   11342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11343 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   11344 		cacheid=xorg_cv_cc_flag__pedantic
   11345 		if eval \${$cacheid+:} false; then :
   11346   $as_echo_n "(cached) " >&6
   11347 else
   11348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11349 /* end confdefs.h.  */
   11350 int i;
   11351 int
   11352 main ()
   11353 {
   11354 
   11355   ;
   11356   return 0;
   11357 }
   11358 _ACEOF
   11359 if ac_fn_c_try_link "$LINENO"; then :
   11360   eval $cacheid=yes
   11361 else
   11362   eval $cacheid=no
   11363 fi
   11364 rm -f core conftest.err conftest.$ac_objext \
   11365     conftest$ac_exeext conftest.$ac_ext
   11366 fi
   11367 
   11368 
   11369 		CFLAGS="$xorg_testset_save_CFLAGS"
   11370 
   11371 		eval supported=\$$cacheid
   11372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11373 $as_echo "$supported" >&6; }
   11374 		if test "$supported" = "yes" ; then
   11375 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11376 			found="yes"
   11377 		fi
   11378 	fi
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 xorg_testset_save_CFLAGS="$CFLAGS"
   11395 
   11396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11399 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11400 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11401   $as_echo_n "(cached) " >&6
   11402 else
   11403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11404 /* end confdefs.h.  */
   11405 int i;
   11406 _ACEOF
   11407 if ac_fn_c_try_compile "$LINENO"; then :
   11408   xorg_cv_cc_flag_unknown_warning_option=yes
   11409 else
   11410   xorg_cv_cc_flag_unknown_warning_option=no
   11411 fi
   11412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11413 fi
   11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11415 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11417 	CFLAGS="$xorg_testset_save_CFLAGS"
   11418 fi
   11419 
   11420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11423 	fi
   11424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11426 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11427 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11428   $as_echo_n "(cached) " >&6
   11429 else
   11430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11431 /* end confdefs.h.  */
   11432 int i;
   11433 _ACEOF
   11434 if ac_fn_c_try_compile "$LINENO"; then :
   11435   xorg_cv_cc_flag_unused_command_line_argument=yes
   11436 else
   11437   xorg_cv_cc_flag_unused_command_line_argument=no
   11438 fi
   11439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11440 fi
   11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11442 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11444 	CFLAGS="$xorg_testset_save_CFLAGS"
   11445 fi
   11446 
   11447 found="no"
   11448 
   11449 	if test $found = "no" ; then
   11450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11452 		fi
   11453 
   11454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11456 		fi
   11457 
   11458 		CFLAGS="$CFLAGS -Werror"
   11459 
   11460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11461 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   11462 		cacheid=xorg_cv_cc_flag__Werror
   11463 		if eval \${$cacheid+:} false; then :
   11464   $as_echo_n "(cached) " >&6
   11465 else
   11466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11467 /* end confdefs.h.  */
   11468 int i;
   11469 int
   11470 main ()
   11471 {
   11472 
   11473   ;
   11474   return 0;
   11475 }
   11476 _ACEOF
   11477 if ac_fn_c_try_link "$LINENO"; then :
   11478   eval $cacheid=yes
   11479 else
   11480   eval $cacheid=no
   11481 fi
   11482 rm -f core conftest.err conftest.$ac_objext \
   11483     conftest$ac_exeext conftest.$ac_ext
   11484 fi
   11485 
   11486 
   11487 		CFLAGS="$xorg_testset_save_CFLAGS"
   11488 
   11489 		eval supported=\$$cacheid
   11490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11491 $as_echo "$supported" >&6; }
   11492 		if test "$supported" = "yes" ; then
   11493 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11494 			found="yes"
   11495 		fi
   11496 	fi
   11497 
   11498 	if test $found = "no" ; then
   11499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11501 		fi
   11502 
   11503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11505 		fi
   11506 
   11507 		CFLAGS="$CFLAGS -errwarn"
   11508 
   11509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11510 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   11511 		cacheid=xorg_cv_cc_flag__errwarn
   11512 		if eval \${$cacheid+:} false; then :
   11513   $as_echo_n "(cached) " >&6
   11514 else
   11515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11516 /* end confdefs.h.  */
   11517 int i;
   11518 int
   11519 main ()
   11520 {
   11521 
   11522   ;
   11523   return 0;
   11524 }
   11525 _ACEOF
   11526 if ac_fn_c_try_link "$LINENO"; then :
   11527   eval $cacheid=yes
   11528 else
   11529   eval $cacheid=no
   11530 fi
   11531 rm -f core conftest.err conftest.$ac_objext \
   11532     conftest$ac_exeext conftest.$ac_ext
   11533 fi
   11534 
   11535 
   11536 		CFLAGS="$xorg_testset_save_CFLAGS"
   11537 
   11538 		eval supported=\$$cacheid
   11539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11540 $as_echo "$supported" >&6; }
   11541 		if test "$supported" = "yes" ; then
   11542 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11543 			found="yes"
   11544 		fi
   11545 	fi
   11546 
   11547 
   11548 
   11549 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11550 # activate it with -Werror, so we add it here explicitly.
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 xorg_testset_save_CFLAGS="$CFLAGS"
   11565 
   11566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11569 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11570 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11571   $as_echo_n "(cached) " >&6
   11572 else
   11573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11574 /* end confdefs.h.  */
   11575 int i;
   11576 _ACEOF
   11577 if ac_fn_c_try_compile "$LINENO"; then :
   11578   xorg_cv_cc_flag_unknown_warning_option=yes
   11579 else
   11580   xorg_cv_cc_flag_unknown_warning_option=no
   11581 fi
   11582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11583 fi
   11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11585 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11587 	CFLAGS="$xorg_testset_save_CFLAGS"
   11588 fi
   11589 
   11590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11593 	fi
   11594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11596 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11597 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11598   $as_echo_n "(cached) " >&6
   11599 else
   11600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11601 /* end confdefs.h.  */
   11602 int i;
   11603 _ACEOF
   11604 if ac_fn_c_try_compile "$LINENO"; then :
   11605   xorg_cv_cc_flag_unused_command_line_argument=yes
   11606 else
   11607   xorg_cv_cc_flag_unused_command_line_argument=no
   11608 fi
   11609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11610 fi
   11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11612 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11614 	CFLAGS="$xorg_testset_save_CFLAGS"
   11615 fi
   11616 
   11617 found="no"
   11618 
   11619 	if test $found = "no" ; then
   11620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11622 		fi
   11623 
   11624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11626 		fi
   11627 
   11628 		CFLAGS="$CFLAGS -Werror=attributes"
   11629 
   11630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11631 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   11632 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11633 		if eval \${$cacheid+:} false; then :
   11634   $as_echo_n "(cached) " >&6
   11635 else
   11636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11637 /* end confdefs.h.  */
   11638 int i;
   11639 int
   11640 main ()
   11641 {
   11642 
   11643   ;
   11644   return 0;
   11645 }
   11646 _ACEOF
   11647 if ac_fn_c_try_link "$LINENO"; then :
   11648   eval $cacheid=yes
   11649 else
   11650   eval $cacheid=no
   11651 fi
   11652 rm -f core conftest.err conftest.$ac_objext \
   11653     conftest$ac_exeext conftest.$ac_ext
   11654 fi
   11655 
   11656 
   11657 		CFLAGS="$xorg_testset_save_CFLAGS"
   11658 
   11659 		eval supported=\$$cacheid
   11660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11661 $as_echo "$supported" >&6; }
   11662 		if test "$supported" = "yes" ; then
   11663 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11664 			found="yes"
   11665 		fi
   11666 	fi
   11667 
   11668 
   11669 
   11670 if test "x$STRICT_COMPILE" = "xyes"; then
   11671     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11672     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11673 fi
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 cat >>confdefs.h <<_ACEOF
   11681 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11682 _ACEOF
   11683 
   11684 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11685 	if test "x$PVM" = "x"; then
   11686 		PVM="0"
   11687 	fi
   11688 
   11689 cat >>confdefs.h <<_ACEOF
   11690 #define PACKAGE_VERSION_MINOR $PVM
   11691 _ACEOF
   11692 
   11693 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11694 	if test "x$PVP" = "x"; then
   11695 		PVP="0"
   11696 	fi
   11697 
   11698 cat >>confdefs.h <<_ACEOF
   11699 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11700 _ACEOF
   11701 
   11702 
   11703 
   11704 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   11705 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11706 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   11707 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11708 
   11709 
   11710 
   11711 
   11712 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11713 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11714 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11715 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   11716 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 if test x$APP_MAN_SUFFIX = x    ; then
   11724     APP_MAN_SUFFIX=1
   11725 fi
   11726 if test x$APP_MAN_DIR = x    ; then
   11727     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11728 fi
   11729 
   11730 if test x$LIB_MAN_SUFFIX = x    ; then
   11731     LIB_MAN_SUFFIX=3
   11732 fi
   11733 if test x$LIB_MAN_DIR = x    ; then
   11734     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11735 fi
   11736 
   11737 if test x$FILE_MAN_SUFFIX = x    ; then
   11738     case $host_os in
   11739 	# Solaris 2.0 - 11 use SysV man page sections
   11740 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   11741 	*)				FILE_MAN_SUFFIX=5  ;;
   11742     esac
   11743 fi
   11744 if test x$FILE_MAN_DIR = x    ; then
   11745     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11746 fi
   11747 
   11748 if test x$MISC_MAN_SUFFIX = x    ; then
   11749     case $host_os in
   11750 	# Solaris 2.0 - 11 use SysV man page sections
   11751 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   11752 	*)				MISC_MAN_SUFFIX=7  ;;
   11753     esac
   11754 fi
   11755 if test x$MISC_MAN_DIR = x    ; then
   11756     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11757 fi
   11758 
   11759 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11760     case $host_os in
   11761 	# Solaris 2.0 - 11 use SysV man page sections
   11762 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   11763 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11764     esac
   11765 fi
   11766 if test x$DRIVER_MAN_DIR = x    ; then
   11767     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11768 fi
   11769 
   11770 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11771     case $host_os in
   11772 	# Solaris 2.0 - 11 use SysV man page sections
   11773 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   11774 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11775     esac
   11776 fi
   11777 if test x$ADMIN_MAN_DIR = x    ; then
   11778     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11779 fi
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 XORG_MAN_PAGE="X Version 11"
   11796 
   11797 MAN_SUBSTS="\
   11798 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11799 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11800 	-e 's|__xservername__|Xorg|g' \
   11801 	-e 's|__xconfigfile__|xorg.conf|g' \
   11802 	-e 's|__projectroot__|\$(prefix)|g' \
   11803 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11804 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11805 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11806 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11807 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11808 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11809 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11810 
   11811 
   11812 
   11813 # Check whether --enable-silent-rules was given.
   11814 if test "${enable_silent_rules+set}" = set; then :
   11815   enableval=$enable_silent_rules;
   11816 fi
   11817 
   11818 case $enable_silent_rules in # (((
   11819   yes) AM_DEFAULT_VERBOSITY=0;;
   11820    no) AM_DEFAULT_VERBOSITY=1;;
   11821     *) AM_DEFAULT_VERBOSITY=0;;
   11822 esac
   11823 am_make=${MAKE-make}
   11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11825 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   11826 if ${am_cv_make_support_nested_variables+:} false; then :
   11827   $as_echo_n "(cached) " >&6
   11828 else
   11829   if $as_echo 'TRUE=$(BAR$(V))
   11830 BAR0=false
   11831 BAR1=true
   11832 V=1
   11833 am__doit:
   11834 	@$(TRUE)
   11835 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11836   am_cv_make_support_nested_variables=yes
   11837 else
   11838   am_cv_make_support_nested_variables=no
   11839 fi
   11840 fi
   11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11842 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   11843 if test $am_cv_make_support_nested_variables = yes; then
   11844     AM_V='$(V)'
   11845   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11846 else
   11847   AM_V=$AM_DEFAULT_VERBOSITY
   11848   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11849 fi
   11850 AM_BACKSLASH='\'
   11851 
   11852 
   11853 
   11854 # Checks for library functions
   11855 for ac_func in strlcat
   11856 do :
   11857   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   11858 if test "x$ac_cv_func_strlcat" = xyes; then :
   11859   cat >>confdefs.h <<_ACEOF
   11860 #define HAVE_STRLCAT 1
   11861 _ACEOF
   11862 
   11863 fi
   11864 done
   11865 
   11866 
   11867 # Use POSIX strnlen or the implementation supplied in this module
   11868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
   11869 $as_echo_n "checking for working strnlen... " >&6; }
   11870 if ${ac_cv_func_strnlen_working+:} false; then :
   11871   $as_echo_n "(cached) " >&6
   11872 else
   11873   if test "$cross_compiling" = yes; then :
   11874   # Guess no on AIX systems, yes otherwise.
   11875 		case "$host_os" in
   11876 		  aix*) ac_cv_func_strnlen_working=no;;
   11877 		  *)    ac_cv_func_strnlen_working=yes;;
   11878 		esac
   11879 else
   11880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11881 /* end confdefs.h.  */
   11882 $ac_includes_default
   11883 int
   11884 main ()
   11885 {
   11886 
   11887 #define S "foobar"
   11888 #define S_LEN (sizeof S - 1)
   11889 
   11890   /* At least one implementation is buggy: that of AIX 4.3 would
   11891      give strnlen (S, 1) == 3.  */
   11892 
   11893   int i;
   11894   for (i = 0; i < S_LEN + 1; ++i)
   11895     {
   11896       int expected = i <= S_LEN ? i : S_LEN;
   11897       if (strnlen (S, i) != expected)
   11898 	return 1;
   11899     }
   11900   return 0;
   11901 
   11902   ;
   11903   return 0;
   11904 }
   11905 _ACEOF
   11906 if ac_fn_c_try_run "$LINENO"; then :
   11907   ac_cv_func_strnlen_working=yes
   11908 else
   11909   ac_cv_func_strnlen_working=no
   11910 fi
   11911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11912   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11913 fi
   11914 
   11915 fi
   11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
   11917 $as_echo "$ac_cv_func_strnlen_working" >&6; }
   11918 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
   11919   *" strnlen.$ac_objext "* ) ;;
   11920   *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
   11921  ;;
   11922 esac
   11923 
   11924 
   11925 if test "x$ac_cv_func_strnlen_working" = xyes; then
   11926 
   11927 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
   11928 
   11929 fi
   11930 
   11931 # Define a configure option for using the XCB ICCCM helper functions
   11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use xcb-icccm library" >&5
   11933 $as_echo_n "checking whether to use xcb-icccm library... " >&6; }
   11934 
   11935 # Check whether --with-xcb-icccm was given.
   11936 if test "${with_xcb_icccm+set}" = set; then :
   11937   withval=$with_xcb_icccm;
   11938 else
   11939   with_xcb_icccm=no
   11940 fi
   11941 
   11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_xcb_icccm" >&5
   11943 $as_echo "$with_xcb_icccm" >&6; }
   11944 if test "x$with_xcb_icccm" != xno ; then
   11945 
   11946 $as_echo "#define USE_XCB_ICCCM 1" >>confdefs.h
   11947 
   11948 	xcb_icccm_pc='xcb-icccm >= 0.3.8'
   11949 fi
   11950 
   11951 # Obtain compiler/linker options for xwininfo dependencies
   11952 
   11953 pkg_failed=no
   11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XWININFO" >&5
   11955 $as_echo_n "checking for XWININFO... " >&6; }
   11956 
   11957 if test -n "$XWININFO_CFLAGS"; then
   11958     pkg_cv_XWININFO_CFLAGS="$XWININFO_CFLAGS"
   11959  elif test -n "$PKG_CONFIG"; then
   11960     if test -n "$PKG_CONFIG" && \
   11961     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6 xcb-shape \${xcb_icccm_pc}\""; } >&5
   11962   ($PKG_CONFIG --exists --print-errors "xcb >= 1.6 xcb-shape ${xcb_icccm_pc}") 2>&5
   11963   ac_status=$?
   11964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11965   test $ac_status = 0; }; then
   11966   pkg_cv_XWININFO_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.6 xcb-shape ${xcb_icccm_pc}" 2>/dev/null`
   11967 		      test "x$?" != "x0" && pkg_failed=yes
   11968 else
   11969   pkg_failed=yes
   11970 fi
   11971  else
   11972     pkg_failed=untried
   11973 fi
   11974 if test -n "$XWININFO_LIBS"; then
   11975     pkg_cv_XWININFO_LIBS="$XWININFO_LIBS"
   11976  elif test -n "$PKG_CONFIG"; then
   11977     if test -n "$PKG_CONFIG" && \
   11978     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.6 xcb-shape \${xcb_icccm_pc}\""; } >&5
   11979   ($PKG_CONFIG --exists --print-errors "xcb >= 1.6 xcb-shape ${xcb_icccm_pc}") 2>&5
   11980   ac_status=$?
   11981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11982   test $ac_status = 0; }; then
   11983   pkg_cv_XWININFO_LIBS=`$PKG_CONFIG --libs "xcb >= 1.6 xcb-shape ${xcb_icccm_pc}" 2>/dev/null`
   11984 		      test "x$?" != "x0" && pkg_failed=yes
   11985 else
   11986   pkg_failed=yes
   11987 fi
   11988  else
   11989     pkg_failed=untried
   11990 fi
   11991 
   11992 
   11993 
   11994 if test $pkg_failed = yes; then
   11995    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11996 $as_echo "no" >&6; }
   11997 
   11998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11999         _pkg_short_errors_supported=yes
   12000 else
   12001         _pkg_short_errors_supported=no
   12002 fi
   12003         if test $_pkg_short_errors_supported = yes; then
   12004 	        XWININFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb >= 1.6 xcb-shape ${xcb_icccm_pc}" 2>&1`
   12005         else
   12006 	        XWININFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb >= 1.6 xcb-shape ${xcb_icccm_pc}" 2>&1`
   12007         fi
   12008 	# Put the nasty error message in config.log where it belongs
   12009 	echo "$XWININFO_PKG_ERRORS" >&5
   12010 
   12011 	as_fn_error $? "Package requirements (xcb >= 1.6 xcb-shape ${xcb_icccm_pc}) were not met:
   12012 
   12013 $XWININFO_PKG_ERRORS
   12014 
   12015 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12016 installed software in a non-standard prefix.
   12017 
   12018 Alternatively, you may set the environment variables XWININFO_CFLAGS
   12019 and XWININFO_LIBS to avoid the need to call pkg-config.
   12020 See the pkg-config man page for more details." "$LINENO" 5
   12021 elif test $pkg_failed = untried; then
   12022      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12023 $as_echo "no" >&6; }
   12024 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12026 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12027 is in your PATH or set the PKG_CONFIG environment variable to the full
   12028 path to pkg-config.
   12029 
   12030 Alternatively, you may set the environment variables XWININFO_CFLAGS
   12031 and XWININFO_LIBS to avoid the need to call pkg-config.
   12032 See the pkg-config man page for more details.
   12033 
   12034 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12035 See \`config.log' for more details" "$LINENO" 5; }
   12036 else
   12037 	XWININFO_CFLAGS=$pkg_cv_XWININFO_CFLAGS
   12038 	XWININFO_LIBS=$pkg_cv_XWININFO_LIBS
   12039         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12040 $as_echo "yes" >&6; }
   12041 
   12042 fi
   12043 
   12044 # Even when using xcb, xproto is still required for Xfuncproto.h
   12045 # and libX11 headers for cursorfont.h
   12046 
   12047 pkg_failed=no
   12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
   12049 $as_echo_n "checking for XLIB... " >&6; }
   12050 
   12051 if test -n "$XLIB_CFLAGS"; then
   12052     pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS"
   12053  elif test -n "$PKG_CONFIG"; then
   12054     if test -n "$PKG_CONFIG" && \
   12055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   12056   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   12057   ac_status=$?
   12058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12059   test $ac_status = 0; }; then
   12060   pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   12061 		      test "x$?" != "x0" && pkg_failed=yes
   12062 else
   12063   pkg_failed=yes
   12064 fi
   12065  else
   12066     pkg_failed=untried
   12067 fi
   12068 if test -n "$XLIB_LIBS"; then
   12069     pkg_cv_XLIB_LIBS="$XLIB_LIBS"
   12070  elif test -n "$PKG_CONFIG"; then
   12071     if test -n "$PKG_CONFIG" && \
   12072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   12073   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   12074   ac_status=$?
   12075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12076   test $ac_status = 0; }; then
   12077   pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   12078 		      test "x$?" != "x0" && pkg_failed=yes
   12079 else
   12080   pkg_failed=yes
   12081 fi
   12082  else
   12083     pkg_failed=untried
   12084 fi
   12085 
   12086 
   12087 
   12088 if test $pkg_failed = yes; then
   12089    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12090 $as_echo "no" >&6; }
   12091 
   12092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12093         _pkg_short_errors_supported=yes
   12094 else
   12095         _pkg_short_errors_supported=no
   12096 fi
   12097         if test $_pkg_short_errors_supported = yes; then
   12098 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   12099         else
   12100 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   12101         fi
   12102 	# Put the nasty error message in config.log where it belongs
   12103 	echo "$XLIB_PKG_ERRORS" >&5
   12104 
   12105 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   12106 
   12107 $XLIB_PKG_ERRORS
   12108 
   12109 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12110 installed software in a non-standard prefix.
   12111 
   12112 Alternatively, you may set the environment variables XLIB_CFLAGS
   12113 and XLIB_LIBS to avoid the need to call pkg-config.
   12114 See the pkg-config man page for more details." "$LINENO" 5
   12115 elif test $pkg_failed = untried; then
   12116      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12117 $as_echo "no" >&6; }
   12118 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12120 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12121 is in your PATH or set the PKG_CONFIG environment variable to the full
   12122 path to pkg-config.
   12123 
   12124 Alternatively, you may set the environment variables XLIB_CFLAGS
   12125 and XLIB_LIBS to avoid the need to call pkg-config.
   12126 See the pkg-config man page for more details.
   12127 
   12128 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12129 See \`config.log' for more details" "$LINENO" 5; }
   12130 else
   12131 	XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
   12132 	XLIB_LIBS=$pkg_cv_XLIB_LIBS
   12133         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12134 $as_echo "yes" >&6; }
   12135 
   12136 fi
   12137 XWININFO_CFLAGS="${XWININFO_CFLAGS} ${XLIB_CFLAGS}"
   12138 XWININFO_LIBS="${XWININFO_LIBS} ${LIBICONV}"
   12139 
   12140 ac_config_files="$ac_config_files Makefile man/Makefile"
   12141 
   12142 cat >confcache <<\_ACEOF
   12143 # This file is a shell script that caches the results of configure
   12144 # tests run on this system so they can be shared between configure
   12145 # scripts and configure runs, see configure's option --config-cache.
   12146 # It is not useful on other systems.  If it contains results you don't
   12147 # want to keep, you may remove or edit it.
   12148 #
   12149 # config.status only pays attention to the cache file if you give it
   12150 # the --recheck option to rerun configure.
   12151 #
   12152 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12153 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12154 # following values.
   12155 
   12156 _ACEOF
   12157 
   12158 # The following way of writing the cache mishandles newlines in values,
   12159 # but we know of no workaround that is simple, portable, and efficient.
   12160 # So, we kill variables containing newlines.
   12161 # Ultrix sh set writes to stderr and can't be redirected directly,
   12162 # and sets the high bit in the cache file unless we assign to the vars.
   12163 (
   12164   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12165     eval ac_val=\$$ac_var
   12166     case $ac_val in #(
   12167     *${as_nl}*)
   12168       case $ac_var in #(
   12169       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12170 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12171       esac
   12172       case $ac_var in #(
   12173       _ | IFS | as_nl) ;; #(
   12174       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12175       *) { eval $ac_var=; unset $ac_var;} ;;
   12176       esac ;;
   12177     esac
   12178   done
   12179 
   12180   (set) 2>&1 |
   12181     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12182     *${as_nl}ac_space=\ *)
   12183       # `set' does not quote correctly, so add quotes: double-quote
   12184       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12185       sed -n \
   12186 	"s/'/'\\\\''/g;
   12187 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12188       ;; #(
   12189     *)
   12190       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12191       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12192       ;;
   12193     esac |
   12194     sort
   12195 ) |
   12196   sed '
   12197      /^ac_cv_env_/b end
   12198      t clear
   12199      :clear
   12200      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12201      t end
   12202      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12203      :end' >>confcache
   12204 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12205   if test -w "$cache_file"; then
   12206     if test "x$cache_file" != "x/dev/null"; then
   12207       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12208 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12209       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12210 	cat confcache >"$cache_file"
   12211       else
   12212         case $cache_file in #(
   12213         */* | ?:*)
   12214 	  mv -f confcache "$cache_file"$$ &&
   12215 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12216         *)
   12217 	  mv -f confcache "$cache_file" ;;
   12218 	esac
   12219       fi
   12220     fi
   12221   else
   12222     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12223 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12224   fi
   12225 fi
   12226 rm -f confcache
   12227 
   12228 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12229 # Let make expand exec_prefix.
   12230 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12231 
   12232 DEFS=-DHAVE_CONFIG_H
   12233 
   12234 ac_libobjs=
   12235 ac_ltlibobjs=
   12236 U=
   12237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12238   # 1. Remove the extension, and $U if already installed.
   12239   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12240   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12241   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12242   #    will be set to the directory where LIBOBJS objects are built.
   12243   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12244   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12245 done
   12246 LIBOBJS=$ac_libobjs
   12247 
   12248 LTLIBOBJS=$ac_ltlibobjs
   12249 
   12250 
   12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12252 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   12253    if test -n "$am_sleep_pid"; then
   12254      # Hide warnings about reused PIDs.
   12255      wait $am_sleep_pid 2>/dev/null
   12256    fi
   12257    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12258 $as_echo "done" >&6; }
   12259 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12260   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12262 fi
   12263 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12264   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12266 fi
   12267  if test -n "$EXEEXT"; then
   12268   am__EXEEXT_TRUE=
   12269   am__EXEEXT_FALSE='#'
   12270 else
   12271   am__EXEEXT_TRUE='#'
   12272   am__EXEEXT_FALSE=
   12273 fi
   12274 
   12275 
   12276 : "${CONFIG_STATUS=./config.status}"
   12277 ac_write_fail=0
   12278 ac_clean_files_save=$ac_clean_files
   12279 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12280 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12281 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12282 as_write_fail=0
   12283 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12284 #! $SHELL
   12285 # Generated by $as_me.
   12286 # Run this file to recreate the current configuration.
   12287 # Compiler output produced by configure, useful for debugging
   12288 # configure, is in config.log if it exists.
   12289 
   12290 debug=false
   12291 ac_cs_recheck=false
   12292 ac_cs_silent=false
   12293 
   12294 SHELL=\${CONFIG_SHELL-$SHELL}
   12295 export SHELL
   12296 _ASEOF
   12297 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12298 ## -------------------- ##
   12299 ## M4sh Initialization. ##
   12300 ## -------------------- ##
   12301 
   12302 # Be more Bourne compatible
   12303 DUALCASE=1; export DUALCASE # for MKS sh
   12304 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12305   emulate sh
   12306   NULLCMD=:
   12307   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12308   # is contrary to our usage.  Disable this feature.
   12309   alias -g '${1+"$@"}'='"$@"'
   12310   setopt NO_GLOB_SUBST
   12311 else
   12312   case `(set -o) 2>/dev/null` in #(
   12313   *posix*) :
   12314     set -o posix ;; #(
   12315   *) :
   12316      ;;
   12317 esac
   12318 fi
   12319 
   12320 
   12321 as_nl='
   12322 '
   12323 export as_nl
   12324 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12325 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12326 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12327 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12328 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12329 # but without wasting forks for bash or zsh.
   12330 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12331     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12332   as_echo='print -r --'
   12333   as_echo_n='print -rn --'
   12334 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12335   as_echo='printf %s\n'
   12336   as_echo_n='printf %s'
   12337 else
   12338   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12339     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12340     as_echo_n='/usr/ucb/echo -n'
   12341   else
   12342     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12343     as_echo_n_body='eval
   12344       arg=$1;
   12345       case $arg in #(
   12346       *"$as_nl"*)
   12347 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12348 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12349       esac;
   12350       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12351     '
   12352     export as_echo_n_body
   12353     as_echo_n='sh -c $as_echo_n_body as_echo'
   12354   fi
   12355   export as_echo_body
   12356   as_echo='sh -c $as_echo_body as_echo'
   12357 fi
   12358 
   12359 # The user is always right.
   12360 if test "${PATH_SEPARATOR+set}" != set; then
   12361   PATH_SEPARATOR=:
   12362   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12363     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12364       PATH_SEPARATOR=';'
   12365   }
   12366 fi
   12367 
   12368 
   12369 # IFS
   12370 # We need space, tab and new line, in precisely that order.  Quoting is
   12371 # there to prevent editors from complaining about space-tab.
   12372 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12373 # splitting by setting IFS to empty value.)
   12374 IFS=" ""	$as_nl"
   12375 
   12376 # Find who we are.  Look in the path if we contain no directory separator.
   12377 as_myself=
   12378 case $0 in #((
   12379   *[\\/]* ) as_myself=$0 ;;
   12380   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12381 for as_dir in $PATH
   12382 do
   12383   IFS=$as_save_IFS
   12384   test -z "$as_dir" && as_dir=.
   12385     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12386   done
   12387 IFS=$as_save_IFS
   12388 
   12389      ;;
   12390 esac
   12391 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12392 # in which case we are not to be found in the path.
   12393 if test "x$as_myself" = x; then
   12394   as_myself=$0
   12395 fi
   12396 if test ! -f "$as_myself"; then
   12397   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12398   exit 1
   12399 fi
   12400 
   12401 # Unset variables that we do not need and which cause bugs (e.g. in
   12402 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12403 # suppresses any "Segmentation fault" message there.  '((' could
   12404 # trigger a bug in pdksh 5.2.14.
   12405 for as_var in BASH_ENV ENV MAIL MAILPATH
   12406 do eval test x\${$as_var+set} = xset \
   12407   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12408 done
   12409 PS1='$ '
   12410 PS2='> '
   12411 PS4='+ '
   12412 
   12413 # NLS nuisances.
   12414 LC_ALL=C
   12415 export LC_ALL
   12416 LANGUAGE=C
   12417 export LANGUAGE
   12418 
   12419 # CDPATH.
   12420 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12421 
   12422 
   12423 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12424 # ----------------------------------------
   12425 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12426 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12427 # script with STATUS, using 1 if that was 0.
   12428 as_fn_error ()
   12429 {
   12430   as_status=$1; test $as_status -eq 0 && as_status=1
   12431   if test "$4"; then
   12432     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12433     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12434   fi
   12435   $as_echo "$as_me: error: $2" >&2
   12436   as_fn_exit $as_status
   12437 } # as_fn_error
   12438 
   12439 
   12440 # as_fn_set_status STATUS
   12441 # -----------------------
   12442 # Set $? to STATUS, without forking.
   12443 as_fn_set_status ()
   12444 {
   12445   return $1
   12446 } # as_fn_set_status
   12447 
   12448 # as_fn_exit STATUS
   12449 # -----------------
   12450 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12451 as_fn_exit ()
   12452 {
   12453   set +e
   12454   as_fn_set_status $1
   12455   exit $1
   12456 } # as_fn_exit
   12457 
   12458 # as_fn_unset VAR
   12459 # ---------------
   12460 # Portably unset VAR.
   12461 as_fn_unset ()
   12462 {
   12463   { eval $1=; unset $1;}
   12464 }
   12465 as_unset=as_fn_unset
   12466 # as_fn_append VAR VALUE
   12467 # ----------------------
   12468 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12469 # advantage of any shell optimizations that allow amortized linear growth over
   12470 # repeated appends, instead of the typical quadratic growth present in naive
   12471 # implementations.
   12472 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12473   eval 'as_fn_append ()
   12474   {
   12475     eval $1+=\$2
   12476   }'
   12477 else
   12478   as_fn_append ()
   12479   {
   12480     eval $1=\$$1\$2
   12481   }
   12482 fi # as_fn_append
   12483 
   12484 # as_fn_arith ARG...
   12485 # ------------------
   12486 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12487 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12488 # must be portable across $(()) and expr.
   12489 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12490   eval 'as_fn_arith ()
   12491   {
   12492     as_val=$(( $* ))
   12493   }'
   12494 else
   12495   as_fn_arith ()
   12496   {
   12497     as_val=`expr "$@" || test $? -eq 1`
   12498   }
   12499 fi # as_fn_arith
   12500 
   12501 
   12502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12504   as_expr=expr
   12505 else
   12506   as_expr=false
   12507 fi
   12508 
   12509 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12510   as_basename=basename
   12511 else
   12512   as_basename=false
   12513 fi
   12514 
   12515 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12516   as_dirname=dirname
   12517 else
   12518   as_dirname=false
   12519 fi
   12520 
   12521 as_me=`$as_basename -- "$0" ||
   12522 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12523 	 X"$0" : 'X\(//\)$' \| \
   12524 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12525 $as_echo X/"$0" |
   12526     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12527 	    s//\1/
   12528 	    q
   12529 	  }
   12530 	  /^X\/\(\/\/\)$/{
   12531 	    s//\1/
   12532 	    q
   12533 	  }
   12534 	  /^X\/\(\/\).*/{
   12535 	    s//\1/
   12536 	    q
   12537 	  }
   12538 	  s/.*/./; q'`
   12539 
   12540 # Avoid depending upon Character Ranges.
   12541 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12542 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12543 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12544 as_cr_digits='0123456789'
   12545 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12546 
   12547 ECHO_C= ECHO_N= ECHO_T=
   12548 case `echo -n x` in #(((((
   12549 -n*)
   12550   case `echo 'xy\c'` in
   12551   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12552   xy)  ECHO_C='\c';;
   12553   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12554        ECHO_T='	';;
   12555   esac;;
   12556 *)
   12557   ECHO_N='-n';;
   12558 esac
   12559 
   12560 rm -f conf$$ conf$$.exe conf$$.file
   12561 if test -d conf$$.dir; then
   12562   rm -f conf$$.dir/conf$$.file
   12563 else
   12564   rm -f conf$$.dir
   12565   mkdir conf$$.dir 2>/dev/null
   12566 fi
   12567 if (echo >conf$$.file) 2>/dev/null; then
   12568   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12569     as_ln_s='ln -s'
   12570     # ... but there are two gotchas:
   12571     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12572     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12573     # In both cases, we have to default to `cp -pR'.
   12574     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12575       as_ln_s='cp -pR'
   12576   elif ln conf$$.file conf$$ 2>/dev/null; then
   12577     as_ln_s=ln
   12578   else
   12579     as_ln_s='cp -pR'
   12580   fi
   12581 else
   12582   as_ln_s='cp -pR'
   12583 fi
   12584 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12585 rmdir conf$$.dir 2>/dev/null
   12586 
   12587 
   12588 # as_fn_mkdir_p
   12589 # -------------
   12590 # Create "$as_dir" as a directory, including parents if necessary.
   12591 as_fn_mkdir_p ()
   12592 {
   12593 
   12594   case $as_dir in #(
   12595   -*) as_dir=./$as_dir;;
   12596   esac
   12597   test -d "$as_dir" || eval $as_mkdir_p || {
   12598     as_dirs=
   12599     while :; do
   12600       case $as_dir in #(
   12601       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12602       *) as_qdir=$as_dir;;
   12603       esac
   12604       as_dirs="'$as_qdir' $as_dirs"
   12605       as_dir=`$as_dirname -- "$as_dir" ||
   12606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12607 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12608 	 X"$as_dir" : 'X\(//\)$' \| \
   12609 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12610 $as_echo X"$as_dir" |
   12611     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12612 	    s//\1/
   12613 	    q
   12614 	  }
   12615 	  /^X\(\/\/\)[^/].*/{
   12616 	    s//\1/
   12617 	    q
   12618 	  }
   12619 	  /^X\(\/\/\)$/{
   12620 	    s//\1/
   12621 	    q
   12622 	  }
   12623 	  /^X\(\/\).*/{
   12624 	    s//\1/
   12625 	    q
   12626 	  }
   12627 	  s/.*/./; q'`
   12628       test -d "$as_dir" && break
   12629     done
   12630     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12631   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12632 
   12633 
   12634 } # as_fn_mkdir_p
   12635 if mkdir -p . 2>/dev/null; then
   12636   as_mkdir_p='mkdir -p "$as_dir"'
   12637 else
   12638   test -d ./-p && rmdir ./-p
   12639   as_mkdir_p=false
   12640 fi
   12641 
   12642 
   12643 # as_fn_executable_p FILE
   12644 # -----------------------
   12645 # Test if FILE is an executable regular file.
   12646 as_fn_executable_p ()
   12647 {
   12648   test -f "$1" && test -x "$1"
   12649 } # as_fn_executable_p
   12650 as_test_x='test -x'
   12651 as_executable_p=as_fn_executable_p
   12652 
   12653 # Sed expression to map a string onto a valid CPP name.
   12654 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12655 
   12656 # Sed expression to map a string onto a valid variable name.
   12657 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12658 
   12659 
   12660 exec 6>&1
   12661 ## ----------------------------------- ##
   12662 ## Main body of $CONFIG_STATUS script. ##
   12663 ## ----------------------------------- ##
   12664 _ASEOF
   12665 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12666 
   12667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12668 # Save the log message, to keep $0 and so on meaningful, and to
   12669 # report actual input values of CONFIG_FILES etc. instead of their
   12670 # values after options handling.
   12671 ac_log="
   12672 This file was extended by xwininfo $as_me 1.1.4, which was
   12673 generated by GNU Autoconf 2.69.  Invocation command line was
   12674 
   12675   CONFIG_FILES    = $CONFIG_FILES
   12676   CONFIG_HEADERS  = $CONFIG_HEADERS
   12677   CONFIG_LINKS    = $CONFIG_LINKS
   12678   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12679   $ $0 $@
   12680 
   12681 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12682 "
   12683 
   12684 _ACEOF
   12685 
   12686 case $ac_config_files in *"
   12687 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12688 esac
   12689 
   12690 case $ac_config_headers in *"
   12691 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12692 esac
   12693 
   12694 
   12695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12696 # Files that config.status was made for.
   12697 config_files="$ac_config_files"
   12698 config_headers="$ac_config_headers"
   12699 config_commands="$ac_config_commands"
   12700 
   12701 _ACEOF
   12702 
   12703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12704 ac_cs_usage="\
   12705 \`$as_me' instantiates files and other configuration actions
   12706 from templates according to the current configuration.  Unless the files
   12707 and actions are specified as TAGs, all are instantiated by default.
   12708 
   12709 Usage: $0 [OPTION]... [TAG]...
   12710 
   12711   -h, --help       print this help, then exit
   12712   -V, --version    print version number and configuration settings, then exit
   12713       --config     print configuration, then exit
   12714   -q, --quiet, --silent
   12715                    do not print progress messages
   12716   -d, --debug      don't remove temporary files
   12717       --recheck    update $as_me by reconfiguring in the same conditions
   12718       --file=FILE[:TEMPLATE]
   12719                    instantiate the configuration file FILE
   12720       --header=FILE[:TEMPLATE]
   12721                    instantiate the configuration header FILE
   12722 
   12723 Configuration files:
   12724 $config_files
   12725 
   12726 Configuration headers:
   12727 $config_headers
   12728 
   12729 Configuration commands:
   12730 $config_commands
   12731 
   12732 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12733 
   12734 _ACEOF
   12735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12736 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12737 ac_cs_version="\\
   12738 xwininfo config.status 1.1.4
   12739 configured by $0, generated by GNU Autoconf 2.69,
   12740   with options \\"\$ac_cs_config\\"
   12741 
   12742 Copyright (C) 2012 Free Software Foundation, Inc.
   12743 This config.status script is free software; the Free Software Foundation
   12744 gives unlimited permission to copy, distribute and modify it."
   12745 
   12746 ac_pwd='$ac_pwd'
   12747 srcdir='$srcdir'
   12748 INSTALL='$INSTALL'
   12749 MKDIR_P='$MKDIR_P'
   12750 AWK='$AWK'
   12751 test -n "\$AWK" || AWK=awk
   12752 _ACEOF
   12753 
   12754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12755 # The default lists apply if the user does not specify any file.
   12756 ac_need_defaults=:
   12757 while test $# != 0
   12758 do
   12759   case $1 in
   12760   --*=?*)
   12761     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12762     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12763     ac_shift=:
   12764     ;;
   12765   --*=)
   12766     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12767     ac_optarg=
   12768     ac_shift=:
   12769     ;;
   12770   *)
   12771     ac_option=$1
   12772     ac_optarg=$2
   12773     ac_shift=shift
   12774     ;;
   12775   esac
   12776 
   12777   case $ac_option in
   12778   # Handling of the options.
   12779   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12780     ac_cs_recheck=: ;;
   12781   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12782     $as_echo "$ac_cs_version"; exit ;;
   12783   --config | --confi | --conf | --con | --co | --c )
   12784     $as_echo "$ac_cs_config"; exit ;;
   12785   --debug | --debu | --deb | --de | --d | -d )
   12786     debug=: ;;
   12787   --file | --fil | --fi | --f )
   12788     $ac_shift
   12789     case $ac_optarg in
   12790     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12791     '') as_fn_error $? "missing file argument" ;;
   12792     esac
   12793     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12794     ac_need_defaults=false;;
   12795   --header | --heade | --head | --hea )
   12796     $ac_shift
   12797     case $ac_optarg in
   12798     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12799     esac
   12800     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12801     ac_need_defaults=false;;
   12802   --he | --h)
   12803     # Conflict between --help and --header
   12804     as_fn_error $? "ambiguous option: \`$1'
   12805 Try \`$0 --help' for more information.";;
   12806   --help | --hel | -h )
   12807     $as_echo "$ac_cs_usage"; exit ;;
   12808   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12809   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12810     ac_cs_silent=: ;;
   12811 
   12812   # This is an error.
   12813   -*) as_fn_error $? "unrecognized option: \`$1'
   12814 Try \`$0 --help' for more information." ;;
   12815 
   12816   *) as_fn_append ac_config_targets " $1"
   12817      ac_need_defaults=false ;;
   12818 
   12819   esac
   12820   shift
   12821 done
   12822 
   12823 ac_configure_extra_args=
   12824 
   12825 if $ac_cs_silent; then
   12826   exec 6>/dev/null
   12827   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12828 fi
   12829 
   12830 _ACEOF
   12831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12832 if \$ac_cs_recheck; then
   12833   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12834   shift
   12835   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12836   CONFIG_SHELL='$SHELL'
   12837   export CONFIG_SHELL
   12838   exec "\$@"
   12839 fi
   12840 
   12841 _ACEOF
   12842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12843 exec 5>>config.log
   12844 {
   12845   echo
   12846   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12847 ## Running $as_me. ##
   12848 _ASBOX
   12849   $as_echo "$ac_log"
   12850 } >&5
   12851 
   12852 _ACEOF
   12853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12854 #
   12855 # INIT-COMMANDS
   12856 #
   12857 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12858 
   12859 _ACEOF
   12860 
   12861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12862 
   12863 # Handling of arguments.
   12864 for ac_config_target in $ac_config_targets
   12865 do
   12866   case $ac_config_target in
   12867     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12868     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12869     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12870     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12871 
   12872   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12873   esac
   12874 done
   12875 
   12876 
   12877 # If the user did not use the arguments to specify the items to instantiate,
   12878 # then the envvar interface is used.  Set only those that are not.
   12879 # We use the long form for the default assignment because of an extremely
   12880 # bizarre bug on SunOS 4.1.3.
   12881 if $ac_need_defaults; then
   12882   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12883   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12884   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12885 fi
   12886 
   12887 # Have a temporary directory for convenience.  Make it in the build tree
   12888 # simply because there is no reason against having it here, and in addition,
   12889 # creating and moving files from /tmp can sometimes cause problems.
   12890 # Hook for its removal unless debugging.
   12891 # Note that there is a small window in which the directory will not be cleaned:
   12892 # after its creation but before its name has been assigned to `$tmp'.
   12893 $debug ||
   12894 {
   12895   tmp= ac_tmp=
   12896   trap 'exit_status=$?
   12897   : "${ac_tmp:=$tmp}"
   12898   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12899 ' 0
   12900   trap 'as_fn_exit 1' 1 2 13 15
   12901 }
   12902 # Create a (secure) tmp directory for tmp files.
   12903 
   12904 {
   12905   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12906   test -d "$tmp"
   12907 }  ||
   12908 {
   12909   tmp=./conf$$-$RANDOM
   12910   (umask 077 && mkdir "$tmp")
   12911 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12912 ac_tmp=$tmp
   12913 
   12914 # Set up the scripts for CONFIG_FILES section.
   12915 # No need to generate them if there are no CONFIG_FILES.
   12916 # This happens for instance with `./config.status config.h'.
   12917 if test -n "$CONFIG_FILES"; then
   12918 
   12919 
   12920 ac_cr=`echo X | tr X '\015'`
   12921 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12922 # But we know of no other shell where ac_cr would be empty at this
   12923 # point, so we can use a bashism as a fallback.
   12924 if test "x$ac_cr" = x; then
   12925   eval ac_cr=\$\'\\r\'
   12926 fi
   12927 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12928 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12929   ac_cs_awk_cr='\\r'
   12930 else
   12931   ac_cs_awk_cr=$ac_cr
   12932 fi
   12933 
   12934 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12935 _ACEOF
   12936 
   12937 
   12938 {
   12939   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12940   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12941   echo "_ACEOF"
   12942 } >conf$$subs.sh ||
   12943   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12944 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12945 ac_delim='%!_!# '
   12946 for ac_last_try in false false false false false :; do
   12947   . ./conf$$subs.sh ||
   12948     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12949 
   12950   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12951   if test $ac_delim_n = $ac_delim_num; then
   12952     break
   12953   elif $ac_last_try; then
   12954     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12955   else
   12956     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12957   fi
   12958 done
   12959 rm -f conf$$subs.sh
   12960 
   12961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12962 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12963 _ACEOF
   12964 sed -n '
   12965 h
   12966 s/^/S["/; s/!.*/"]=/
   12967 p
   12968 g
   12969 s/^[^!]*!//
   12970 :repl
   12971 t repl
   12972 s/'"$ac_delim"'$//
   12973 t delim
   12974 :nl
   12975 h
   12976 s/\(.\{148\}\)..*/\1/
   12977 t more1
   12978 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12979 p
   12980 n
   12981 b repl
   12982 :more1
   12983 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12984 p
   12985 g
   12986 s/.\{148\}//
   12987 t nl
   12988 :delim
   12989 h
   12990 s/\(.\{148\}\)..*/\1/
   12991 t more2
   12992 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12993 p
   12994 b
   12995 :more2
   12996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12997 p
   12998 g
   12999 s/.\{148\}//
   13000 t delim
   13001 ' <conf$$subs.awk | sed '
   13002 /^[^""]/{
   13003   N
   13004   s/\n//
   13005 }
   13006 ' >>$CONFIG_STATUS || ac_write_fail=1
   13007 rm -f conf$$subs.awk
   13008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13009 _ACAWK
   13010 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13011   for (key in S) S_is_set[key] = 1
   13012   FS = ""
   13013 
   13014 }
   13015 {
   13016   line = $ 0
   13017   nfields = split(line, field, "@")
   13018   substed = 0
   13019   len = length(field[1])
   13020   for (i = 2; i < nfields; i++) {
   13021     key = field[i]
   13022     keylen = length(key)
   13023     if (S_is_set[key]) {
   13024       value = S[key]
   13025       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13026       len += length(value) + length(field[++i])
   13027       substed = 1
   13028     } else
   13029       len += 1 + keylen
   13030   }
   13031 
   13032   print line
   13033 }
   13034 
   13035 _ACAWK
   13036 _ACEOF
   13037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13038 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13039   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13040 else
   13041   cat
   13042 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13043   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13044 _ACEOF
   13045 
   13046 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13047 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13048 # trailing colons and then remove the whole line if VPATH becomes empty
   13049 # (actually we leave an empty line to preserve line numbers).
   13050 if test "x$srcdir" = x.; then
   13051   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13052 h
   13053 s///
   13054 s/^/:/
   13055 s/[	 ]*$/:/
   13056 s/:\$(srcdir):/:/g
   13057 s/:\${srcdir}:/:/g
   13058 s/:@srcdir@:/:/g
   13059 s/^:*//
   13060 s/:*$//
   13061 x
   13062 s/\(=[	 ]*\).*/\1/
   13063 G
   13064 s/\n//
   13065 s/^[^=]*=[	 ]*$//
   13066 }'
   13067 fi
   13068 
   13069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13070 fi # test -n "$CONFIG_FILES"
   13071 
   13072 # Set up the scripts for CONFIG_HEADERS section.
   13073 # No need to generate them if there are no CONFIG_HEADERS.
   13074 # This happens for instance with `./config.status Makefile'.
   13075 if test -n "$CONFIG_HEADERS"; then
   13076 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13077 BEGIN {
   13078 _ACEOF
   13079 
   13080 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13081 # here-document in config.status, that substitutes the proper values into
   13082 # config.h.in to produce config.h.
   13083 
   13084 # Create a delimiter string that does not exist in confdefs.h, to ease
   13085 # handling of long lines.
   13086 ac_delim='%!_!# '
   13087 for ac_last_try in false false :; do
   13088   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13089   if test -z "$ac_tt"; then
   13090     break
   13091   elif $ac_last_try; then
   13092     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13093   else
   13094     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13095   fi
   13096 done
   13097 
   13098 # For the awk script, D is an array of macro values keyed by name,
   13099 # likewise P contains macro parameters if any.  Preserve backslash
   13100 # newline sequences.
   13101 
   13102 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13103 sed -n '
   13104 s/.\{148\}/&'"$ac_delim"'/g
   13105 t rset
   13106 :rset
   13107 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13108 t def
   13109 d
   13110 :def
   13111 s/\\$//
   13112 t bsnl
   13113 s/["\\]/\\&/g
   13114 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13115 D["\1"]=" \3"/p
   13116 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13117 d
   13118 :bsnl
   13119 s/["\\]/\\&/g
   13120 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13121 D["\1"]=" \3\\\\\\n"\\/p
   13122 t cont
   13123 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13124 t cont
   13125 d
   13126 :cont
   13127 n
   13128 s/.\{148\}/&'"$ac_delim"'/g
   13129 t clear
   13130 :clear
   13131 s/\\$//
   13132 t bsnlc
   13133 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13134 d
   13135 :bsnlc
   13136 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13137 b cont
   13138 ' <confdefs.h | sed '
   13139 s/'"$ac_delim"'/"\\\
   13140 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13141 
   13142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13143   for (key in D) D_is_set[key] = 1
   13144   FS = ""
   13145 }
   13146 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13147   line = \$ 0
   13148   split(line, arg, " ")
   13149   if (arg[1] == "#") {
   13150     defundef = arg[2]
   13151     mac1 = arg[3]
   13152   } else {
   13153     defundef = substr(arg[1], 2)
   13154     mac1 = arg[2]
   13155   }
   13156   split(mac1, mac2, "(") #)
   13157   macro = mac2[1]
   13158   prefix = substr(line, 1, index(line, defundef) - 1)
   13159   if (D_is_set[macro]) {
   13160     # Preserve the white space surrounding the "#".
   13161     print prefix "define", macro P[macro] D[macro]
   13162     next
   13163   } else {
   13164     # Replace #undef with comments.  This is necessary, for example,
   13165     # in the case of _POSIX_SOURCE, which is predefined and required
   13166     # on some systems where configure will not decide to define it.
   13167     if (defundef == "undef") {
   13168       print "/*", prefix defundef, macro, "*/"
   13169       next
   13170     }
   13171   }
   13172 }
   13173 { print }
   13174 _ACAWK
   13175 _ACEOF
   13176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13177   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13178 fi # test -n "$CONFIG_HEADERS"
   13179 
   13180 
   13181 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13182 shift
   13183 for ac_tag
   13184 do
   13185   case $ac_tag in
   13186   :[FHLC]) ac_mode=$ac_tag; continue;;
   13187   esac
   13188   case $ac_mode$ac_tag in
   13189   :[FHL]*:*);;
   13190   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13191   :[FH]-) ac_tag=-:-;;
   13192   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13193   esac
   13194   ac_save_IFS=$IFS
   13195   IFS=:
   13196   set x $ac_tag
   13197   IFS=$ac_save_IFS
   13198   shift
   13199   ac_file=$1
   13200   shift
   13201 
   13202   case $ac_mode in
   13203   :L) ac_source=$1;;
   13204   :[FH])
   13205     ac_file_inputs=
   13206     for ac_f
   13207     do
   13208       case $ac_f in
   13209       -) ac_f="$ac_tmp/stdin";;
   13210       *) # Look for the file first in the build tree, then in the source tree
   13211 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13212 	 # because $ac_f cannot contain `:'.
   13213 	 test -f "$ac_f" ||
   13214 	   case $ac_f in
   13215 	   [\\/$]*) false;;
   13216 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13217 	   esac ||
   13218 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13219       esac
   13220       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13221       as_fn_append ac_file_inputs " '$ac_f'"
   13222     done
   13223 
   13224     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13225     # use $as_me), people would be surprised to read:
   13226     #    /* config.h.  Generated by config.status.  */
   13227     configure_input='Generated from '`
   13228 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13229 	`' by configure.'
   13230     if test x"$ac_file" != x-; then
   13231       configure_input="$ac_file.  $configure_input"
   13232       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13233 $as_echo "$as_me: creating $ac_file" >&6;}
   13234     fi
   13235     # Neutralize special characters interpreted by sed in replacement strings.
   13236     case $configure_input in #(
   13237     *\&* | *\|* | *\\* )
   13238        ac_sed_conf_input=`$as_echo "$configure_input" |
   13239        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13240     *) ac_sed_conf_input=$configure_input;;
   13241     esac
   13242 
   13243     case $ac_tag in
   13244     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13245       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13246     esac
   13247     ;;
   13248   esac
   13249 
   13250   ac_dir=`$as_dirname -- "$ac_file" ||
   13251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13252 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13253 	 X"$ac_file" : 'X\(//\)$' \| \
   13254 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13255 $as_echo X"$ac_file" |
   13256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13257 	    s//\1/
   13258 	    q
   13259 	  }
   13260 	  /^X\(\/\/\)[^/].*/{
   13261 	    s//\1/
   13262 	    q
   13263 	  }
   13264 	  /^X\(\/\/\)$/{
   13265 	    s//\1/
   13266 	    q
   13267 	  }
   13268 	  /^X\(\/\).*/{
   13269 	    s//\1/
   13270 	    q
   13271 	  }
   13272 	  s/.*/./; q'`
   13273   as_dir="$ac_dir"; as_fn_mkdir_p
   13274   ac_builddir=.
   13275 
   13276 case "$ac_dir" in
   13277 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13278 *)
   13279   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13280   # A ".." for each directory in $ac_dir_suffix.
   13281   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13282   case $ac_top_builddir_sub in
   13283   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13284   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13285   esac ;;
   13286 esac
   13287 ac_abs_top_builddir=$ac_pwd
   13288 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13289 # for backward compatibility:
   13290 ac_top_builddir=$ac_top_build_prefix
   13291 
   13292 case $srcdir in
   13293   .)  # We are building in place.
   13294     ac_srcdir=.
   13295     ac_top_srcdir=$ac_top_builddir_sub
   13296     ac_abs_top_srcdir=$ac_pwd ;;
   13297   [\\/]* | ?:[\\/]* )  # Absolute name.
   13298     ac_srcdir=$srcdir$ac_dir_suffix;
   13299     ac_top_srcdir=$srcdir
   13300     ac_abs_top_srcdir=$srcdir ;;
   13301   *) # Relative name.
   13302     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13303     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13304     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13305 esac
   13306 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13307 
   13308 
   13309   case $ac_mode in
   13310   :F)
   13311   #
   13312   # CONFIG_FILE
   13313   #
   13314 
   13315   case $INSTALL in
   13316   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13317   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13318   esac
   13319   ac_MKDIR_P=$MKDIR_P
   13320   case $MKDIR_P in
   13321   [\\/$]* | ?:[\\/]* ) ;;
   13322   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13323   esac
   13324 _ACEOF
   13325 
   13326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13327 # If the template does not know about datarootdir, expand it.
   13328 # FIXME: This hack should be removed a few years after 2.60.
   13329 ac_datarootdir_hack=; ac_datarootdir_seen=
   13330 ac_sed_dataroot='
   13331 /datarootdir/ {
   13332   p
   13333   q
   13334 }
   13335 /@datadir@/p
   13336 /@docdir@/p
   13337 /@infodir@/p
   13338 /@localedir@/p
   13339 /@mandir@/p'
   13340 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13341 *datarootdir*) ac_datarootdir_seen=yes;;
   13342 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13343   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13344 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13345 _ACEOF
   13346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13347   ac_datarootdir_hack='
   13348   s&@datadir@&$datadir&g
   13349   s&@docdir@&$docdir&g
   13350   s&@infodir@&$infodir&g
   13351   s&@localedir@&$localedir&g
   13352   s&@mandir@&$mandir&g
   13353   s&\\\${datarootdir}&$datarootdir&g' ;;
   13354 esac
   13355 _ACEOF
   13356 
   13357 # Neutralize VPATH when `$srcdir' = `.'.
   13358 # Shell code in configure.ac might set extrasub.
   13359 # FIXME: do we really want to maintain this feature?
   13360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13361 ac_sed_extra="$ac_vpsub
   13362 $extrasub
   13363 _ACEOF
   13364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13365 :t
   13366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13367 s|@configure_input@|$ac_sed_conf_input|;t t
   13368 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13369 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13370 s&@srcdir@&$ac_srcdir&;t t
   13371 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13372 s&@top_srcdir@&$ac_top_srcdir&;t t
   13373 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13374 s&@builddir@&$ac_builddir&;t t
   13375 s&@abs_builddir@&$ac_abs_builddir&;t t
   13376 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13377 s&@INSTALL@&$ac_INSTALL&;t t
   13378 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13379 $ac_datarootdir_hack
   13380 "
   13381 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13382   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13383 
   13384 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13385   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13386   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13387       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13388   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13389 which seems to be undefined.  Please make sure it is defined" >&5
   13390 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13391 which seems to be undefined.  Please make sure it is defined" >&2;}
   13392 
   13393   rm -f "$ac_tmp/stdin"
   13394   case $ac_file in
   13395   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13396   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13397   esac \
   13398   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13399  ;;
   13400   :H)
   13401   #
   13402   # CONFIG_HEADER
   13403   #
   13404   if test x"$ac_file" != x-; then
   13405     {
   13406       $as_echo "/* $configure_input  */" \
   13407       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13408     } >"$ac_tmp/config.h" \
   13409       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13410     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13411       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13412 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13413     else
   13414       rm -f "$ac_file"
   13415       mv "$ac_tmp/config.h" "$ac_file" \
   13416 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13417     fi
   13418   else
   13419     $as_echo "/* $configure_input  */" \
   13420       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13421       || as_fn_error $? "could not create -" "$LINENO" 5
   13422   fi
   13423 # Compute "$ac_file"'s index in $config_headers.
   13424 _am_arg="$ac_file"
   13425 _am_stamp_count=1
   13426 for _am_header in $config_headers :; do
   13427   case $_am_header in
   13428     $_am_arg | $_am_arg:* )
   13429       break ;;
   13430     * )
   13431       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13432   esac
   13433 done
   13434 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13435 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13436 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13437 	 X"$_am_arg" : 'X\(//\)$' \| \
   13438 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13439 $as_echo X"$_am_arg" |
   13440     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13441 	    s//\1/
   13442 	    q
   13443 	  }
   13444 	  /^X\(\/\/\)[^/].*/{
   13445 	    s//\1/
   13446 	    q
   13447 	  }
   13448 	  /^X\(\/\/\)$/{
   13449 	    s//\1/
   13450 	    q
   13451 	  }
   13452 	  /^X\(\/\).*/{
   13453 	    s//\1/
   13454 	    q
   13455 	  }
   13456 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13457  ;;
   13458 
   13459   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13460 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13461  ;;
   13462   esac
   13463 
   13464 
   13465   case $ac_file$ac_mode in
   13466     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13467   # Older Autoconf quotes --file arguments for eval, but not when files
   13468   # are listed without --file.  Let's play safe and only enable the eval
   13469   # if we detect the quoting.
   13470   case $CONFIG_FILES in
   13471   *\'*) eval set x "$CONFIG_FILES" ;;
   13472   *)   set x $CONFIG_FILES ;;
   13473   esac
   13474   shift
   13475   for mf
   13476   do
   13477     # Strip MF so we end up with the name of the file.
   13478     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13479     # Check whether this is an Automake generated Makefile or not.
   13480     # We used to match only the files named 'Makefile.in', but
   13481     # some people rename them; so instead we look at the file content.
   13482     # Grep'ing the first line is not enough: some people post-process
   13483     # each Makefile.in and add a new line on top of each file to say so.
   13484     # Grep'ing the whole file is not good either: AIX grep has a line
   13485     # limit of 2048, but all sed's we know have understand at least 4000.
   13486     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13487       dirpart=`$as_dirname -- "$mf" ||
   13488 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13489 	 X"$mf" : 'X\(//\)[^/]' \| \
   13490 	 X"$mf" : 'X\(//\)$' \| \
   13491 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13492 $as_echo X"$mf" |
   13493     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13494 	    s//\1/
   13495 	    q
   13496 	  }
   13497 	  /^X\(\/\/\)[^/].*/{
   13498 	    s//\1/
   13499 	    q
   13500 	  }
   13501 	  /^X\(\/\/\)$/{
   13502 	    s//\1/
   13503 	    q
   13504 	  }
   13505 	  /^X\(\/\).*/{
   13506 	    s//\1/
   13507 	    q
   13508 	  }
   13509 	  s/.*/./; q'`
   13510     else
   13511       continue
   13512     fi
   13513     # Extract the definition of DEPDIR, am__include, and am__quote
   13514     # from the Makefile without running 'make'.
   13515     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13516     test -z "$DEPDIR" && continue
   13517     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13518     test -z "$am__include" && continue
   13519     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13520     # Find all dependency output files, they are included files with
   13521     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13522     # simplest approach to changing $(DEPDIR) to its actual value in the
   13523     # expansion.
   13524     for file in `sed -n "
   13525       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13526 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   13527       # Make sure the directory exists.
   13528       test -f "$dirpart/$file" && continue
   13529       fdir=`$as_dirname -- "$file" ||
   13530 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13531 	 X"$file" : 'X\(//\)[^/]' \| \
   13532 	 X"$file" : 'X\(//\)$' \| \
   13533 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13534 $as_echo X"$file" |
   13535     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13536 	    s//\1/
   13537 	    q
   13538 	  }
   13539 	  /^X\(\/\/\)[^/].*/{
   13540 	    s//\1/
   13541 	    q
   13542 	  }
   13543 	  /^X\(\/\/\)$/{
   13544 	    s//\1/
   13545 	    q
   13546 	  }
   13547 	  /^X\(\/\).*/{
   13548 	    s//\1/
   13549 	    q
   13550 	  }
   13551 	  s/.*/./; q'`
   13552       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13553       # echo "creating $dirpart/$file"
   13554       echo '# dummy' > "$dirpart/$file"
   13555     done
   13556   done
   13557 }
   13558  ;;
   13559 
   13560   esac
   13561 done # for ac_tag
   13562 
   13563 
   13564 as_fn_exit 0
   13565 _ACEOF
   13566 ac_clean_files=$ac_clean_files_save
   13567 
   13568 test $ac_write_fail = 0 ||
   13569   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13570 
   13571 
   13572 # configure is writing to config.log, and then calls config.status.
   13573 # config.status does its own redirection, appending to config.log.
   13574 # Unfortunately, on DOS this fails, as config.log is still kept open
   13575 # by configure, so config.status won't be able to write to it; its
   13576 # output is simply discarded.  So we exec the FD to /dev/null,
   13577 # effectively closing config.log, so it can be properly (re)opened and
   13578 # appended to by config.status.  When coming back to configure, we
   13579 # need to make the FD available again.
   13580 if test "$no_create" != yes; then
   13581   ac_cs_success=:
   13582   ac_config_status_args=
   13583   test "$silent" = yes &&
   13584     ac_config_status_args="$ac_config_status_args --quiet"
   13585   exec 5>/dev/null
   13586   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13587   exec 5>>config.log
   13588   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13589   # would make configure fail if this is the last instruction.
   13590   $ac_cs_success || as_fn_exit 1
   13591 fi
   13592 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13593   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13594 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13595 fi
   13596 
   13597