Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xclock 1.0.7.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xclock'
    563 PACKAGE_TARNAME='xclock'
    564 PACKAGE_VERSION='1.0.7'
    565 PACKAGE_STRING='xclock 1.0.7'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='am__EXEEXT_FALSE
    606 am__EXEEXT_TRUE
    607 LTLIBOBJS
    608 LIBOBJS
    609 appdefaultdir
    610 APPDEFS_LIBS
    611 APPDEFS_CFLAGS
    612 XKB_LIBS
    613 XKB_CFLAGS
    614 XFT_LIBS
    615 XFT_CFLAGS
    616 XCLOCK_LIBS
    617 XCLOCK_CFLAGS
    618 LTLIBICONV
    619 LIBICONV
    620 MAN_SUBSTS
    621 XORG_MAN_PAGE
    622 ADMIN_MAN_DIR
    623 DRIVER_MAN_DIR
    624 MISC_MAN_DIR
    625 FILE_MAN_DIR
    626 LIB_MAN_DIR
    627 APP_MAN_DIR
    628 ADMIN_MAN_SUFFIX
    629 DRIVER_MAN_SUFFIX
    630 MISC_MAN_SUFFIX
    631 FILE_MAN_SUFFIX
    632 LIB_MAN_SUFFIX
    633 APP_MAN_SUFFIX
    634 SED
    635 host_os
    636 host_vendor
    637 host_cpu
    638 host
    639 build_os
    640 build_vendor
    641 build_cpu
    642 build
    643 INSTALL_CMD
    644 PKG_CONFIG
    645 CHANGELOG_CMD
    646 STRICT_CFLAGS
    647 CWARNFLAGS
    648 BASE_CFLAGS
    649 EGREP
    650 GREP
    651 CPP
    652 am__fastdepCC_FALSE
    653 am__fastdepCC_TRUE
    654 CCDEPMODE
    655 am__nodep
    656 AMDEPBACKSLASH
    657 AMDEP_FALSE
    658 AMDEP_TRUE
    659 am__quote
    660 am__include
    661 DEPDIR
    662 OBJEXT
    663 EXEEXT
    664 ac_ct_CC
    665 CPPFLAGS
    666 LDFLAGS
    667 CFLAGS
    668 CC
    669 MAINT
    670 MAINTAINER_MODE_FALSE
    671 MAINTAINER_MODE_TRUE
    672 AM_BACKSLASH
    673 AM_DEFAULT_VERBOSITY
    674 AM_DEFAULT_V
    675 AM_V
    676 am__untar
    677 am__tar
    678 AMTAR
    679 am__leading_dot
    680 SET_MAKE
    681 AWK
    682 mkdir_p
    683 MKDIR_P
    684 INSTALL_STRIP_PROGRAM
    685 STRIP
    686 install_sh
    687 MAKEINFO
    688 AUTOHEADER
    689 AUTOMAKE
    690 AUTOCONF
    691 ACLOCAL
    692 VERSION
    693 PACKAGE
    694 CYGPATH_W
    695 am__isrc
    696 INSTALL_DATA
    697 INSTALL_SCRIPT
    698 INSTALL_PROGRAM
    699 target_alias
    700 host_alias
    701 build_alias
    702 LIBS
    703 ECHO_T
    704 ECHO_N
    705 ECHO_C
    706 DEFS
    707 mandir
    708 localedir
    709 libdir
    710 psdir
    711 pdfdir
    712 dvidir
    713 htmldir
    714 infodir
    715 docdir
    716 oldincludedir
    717 includedir
    718 localstatedir
    719 sharedstatedir
    720 sysconfdir
    721 datadir
    722 datarootdir
    723 libexecdir
    724 sbindir
    725 bindir
    726 program_transform_name
    727 prefix
    728 exec_prefix
    729 PACKAGE_URL
    730 PACKAGE_BUGREPORT
    731 PACKAGE_STRING
    732 PACKAGE_VERSION
    733 PACKAGE_TARNAME
    734 PACKAGE_NAME
    735 PATH_SEPARATOR
    736 SHELL'
    737 ac_subst_files=''
    738 ac_user_opts='
    739 enable_option_checking
    740 enable_silent_rules
    741 enable_maintainer_mode
    742 enable_dependency_tracking
    743 enable_selective_werror
    744 enable_strict_compilation
    745 with_gnu_ld
    746 enable_rpath
    747 with_libiconv_prefix
    748 with_xft
    749 with_xkb
    750 with_appdefaultdir
    751 '
    752       ac_precious_vars='build_alias
    753 host_alias
    754 target_alias
    755 CC
    756 CFLAGS
    757 LDFLAGS
    758 LIBS
    759 CPPFLAGS
    760 CPP
    761 PKG_CONFIG
    762 XCLOCK_CFLAGS
    763 XCLOCK_LIBS
    764 XFT_CFLAGS
    765 XFT_LIBS
    766 XKB_CFLAGS
    767 XKB_LIBS
    768 APPDEFS_CFLAGS
    769 APPDEFS_LIBS'
    770 
    771 
    772 # Initialize some variables set by options.
    773 ac_init_help=
    774 ac_init_version=false
    775 ac_unrecognized_opts=
    776 ac_unrecognized_sep=
    777 # The variables have the same names as the options, with
    778 # dashes changed to underlines.
    779 cache_file=/dev/null
    780 exec_prefix=NONE
    781 no_create=
    782 no_recursion=
    783 prefix=NONE
    784 program_prefix=NONE
    785 program_suffix=NONE
    786 program_transform_name=s,x,x,
    787 silent=
    788 site=
    789 srcdir=
    790 verbose=
    791 x_includes=NONE
    792 x_libraries=NONE
    793 
    794 # Installation directory options.
    795 # These are left unexpanded so users can "make install exec_prefix=/foo"
    796 # and all the variables that are supposed to be based on exec_prefix
    797 # by default will actually change.
    798 # Use braces instead of parens because sh, perl, etc. also accept them.
    799 # (The list follows the same order as the GNU Coding Standards.)
    800 bindir='${exec_prefix}/bin'
    801 sbindir='${exec_prefix}/sbin'
    802 libexecdir='${exec_prefix}/libexec'
    803 datarootdir='${prefix}/share'
    804 datadir='${datarootdir}'
    805 sysconfdir='${prefix}/etc'
    806 sharedstatedir='${prefix}/com'
    807 localstatedir='${prefix}/var'
    808 includedir='${prefix}/include'
    809 oldincludedir='/usr/include'
    810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    811 infodir='${datarootdir}/info'
    812 htmldir='${docdir}'
    813 dvidir='${docdir}'
    814 pdfdir='${docdir}'
    815 psdir='${docdir}'
    816 libdir='${exec_prefix}/lib'
    817 localedir='${datarootdir}/locale'
    818 mandir='${datarootdir}/man'
    819 
    820 ac_prev=
    821 ac_dashdash=
    822 for ac_option
    823 do
    824   # If the previous option needs an argument, assign it.
    825   if test -n "$ac_prev"; then
    826     eval $ac_prev=\$ac_option
    827     ac_prev=
    828     continue
    829   fi
    830 
    831   case $ac_option in
    832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    833   *=)   ac_optarg= ;;
    834   *)    ac_optarg=yes ;;
    835   esac
    836 
    837   # Accept the important Cygnus configure options, so we can diagnose typos.
    838 
    839   case $ac_dashdash$ac_option in
    840   --)
    841     ac_dashdash=yes ;;
    842 
    843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    844     ac_prev=bindir ;;
    845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    846     bindir=$ac_optarg ;;
    847 
    848   -build | --build | --buil | --bui | --bu)
    849     ac_prev=build_alias ;;
    850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    851     build_alias=$ac_optarg ;;
    852 
    853   -cache-file | --cache-file | --cache-fil | --cache-fi \
    854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    855     ac_prev=cache_file ;;
    856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    858     cache_file=$ac_optarg ;;
    859 
    860   --config-cache | -C)
    861     cache_file=config.cache ;;
    862 
    863   -datadir | --datadir | --datadi | --datad)
    864     ac_prev=datadir ;;
    865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    866     datadir=$ac_optarg ;;
    867 
    868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    869   | --dataroo | --dataro | --datar)
    870     ac_prev=datarootdir ;;
    871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    873     datarootdir=$ac_optarg ;;
    874 
    875   -disable-* | --disable-*)
    876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    877     # Reject names that are not valid shell variable names.
    878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    879       as_fn_error $? "invalid feature name: $ac_useropt"
    880     ac_useropt_orig=$ac_useropt
    881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    882     case $ac_user_opts in
    883       *"
    884 "enable_$ac_useropt"
    885 "*) ;;
    886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    887 	 ac_unrecognized_sep=', ';;
    888     esac
    889     eval enable_$ac_useropt=no ;;
    890 
    891   -docdir | --docdir | --docdi | --doc | --do)
    892     ac_prev=docdir ;;
    893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    894     docdir=$ac_optarg ;;
    895 
    896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    897     ac_prev=dvidir ;;
    898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    899     dvidir=$ac_optarg ;;
    900 
    901   -enable-* | --enable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=\$ac_optarg ;;
    916 
    917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    919   | --exec | --exe | --ex)
    920     ac_prev=exec_prefix ;;
    921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    923   | --exec=* | --exe=* | --ex=*)
    924     exec_prefix=$ac_optarg ;;
    925 
    926   -gas | --gas | --ga | --g)
    927     # Obsolete; use --with-gas.
    928     with_gas=yes ;;
    929 
    930   -help | --help | --hel | --he | -h)
    931     ac_init_help=long ;;
    932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    933     ac_init_help=recursive ;;
    934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    935     ac_init_help=short ;;
    936 
    937   -host | --host | --hos | --ho)
    938     ac_prev=host_alias ;;
    939   -host=* | --host=* | --hos=* | --ho=*)
    940     host_alias=$ac_optarg ;;
    941 
    942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    943     ac_prev=htmldir ;;
    944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    945   | --ht=*)
    946     htmldir=$ac_optarg ;;
    947 
    948   -includedir | --includedir | --includedi | --included | --include \
    949   | --includ | --inclu | --incl | --inc)
    950     ac_prev=includedir ;;
    951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    952   | --includ=* | --inclu=* | --incl=* | --inc=*)
    953     includedir=$ac_optarg ;;
    954 
    955   -infodir | --infodir | --infodi | --infod | --info | --inf)
    956     ac_prev=infodir ;;
    957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    958     infodir=$ac_optarg ;;
    959 
    960   -libdir | --libdir | --libdi | --libd)
    961     ac_prev=libdir ;;
    962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    963     libdir=$ac_optarg ;;
    964 
    965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    966   | --libexe | --libex | --libe)
    967     ac_prev=libexecdir ;;
    968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    969   | --libexe=* | --libex=* | --libe=*)
    970     libexecdir=$ac_optarg ;;
    971 
    972   -localedir | --localedir | --localedi | --localed | --locale)
    973     ac_prev=localedir ;;
    974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    975     localedir=$ac_optarg ;;
    976 
    977   -localstatedir | --localstatedir | --localstatedi | --localstated \
    978   | --localstate | --localstat | --localsta | --localst | --locals)
    979     ac_prev=localstatedir ;;
    980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    982     localstatedir=$ac_optarg ;;
    983 
    984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    985     ac_prev=mandir ;;
    986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    987     mandir=$ac_optarg ;;
    988 
    989   -nfp | --nfp | --nf)
    990     # Obsolete; use --without-fp.
    991     with_fp=no ;;
    992 
    993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    994   | --no-cr | --no-c | -n)
    995     no_create=yes ;;
    996 
    997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    999     no_recursion=yes ;;
   1000 
   1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1003   | --oldin | --oldi | --old | --ol | --o)
   1004     ac_prev=oldincludedir ;;
   1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1008     oldincludedir=$ac_optarg ;;
   1009 
   1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1011     ac_prev=prefix ;;
   1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1013     prefix=$ac_optarg ;;
   1014 
   1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1016   | --program-pre | --program-pr | --program-p)
   1017     ac_prev=program_prefix ;;
   1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1020     program_prefix=$ac_optarg ;;
   1021 
   1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1023   | --program-suf | --program-su | --program-s)
   1024     ac_prev=program_suffix ;;
   1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1027     program_suffix=$ac_optarg ;;
   1028 
   1029   -program-transform-name | --program-transform-name \
   1030   | --program-transform-nam | --program-transform-na \
   1031   | --program-transform-n | --program-transform- \
   1032   | --program-transform | --program-transfor \
   1033   | --program-transfo | --program-transf \
   1034   | --program-trans | --program-tran \
   1035   | --progr-tra | --program-tr | --program-t)
   1036     ac_prev=program_transform_name ;;
   1037   -program-transform-name=* | --program-transform-name=* \
   1038   | --program-transform-nam=* | --program-transform-na=* \
   1039   | --program-transform-n=* | --program-transform-=* \
   1040   | --program-transform=* | --program-transfor=* \
   1041   | --program-transfo=* | --program-transf=* \
   1042   | --program-trans=* | --program-tran=* \
   1043   | --progr-tra=* | --program-tr=* | --program-t=*)
   1044     program_transform_name=$ac_optarg ;;
   1045 
   1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1047     ac_prev=pdfdir ;;
   1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1049     pdfdir=$ac_optarg ;;
   1050 
   1051   -psdir | --psdir | --psdi | --psd | --ps)
   1052     ac_prev=psdir ;;
   1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1054     psdir=$ac_optarg ;;
   1055 
   1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1057   | -silent | --silent | --silen | --sile | --sil)
   1058     silent=yes ;;
   1059 
   1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1061     ac_prev=sbindir ;;
   1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1063   | --sbi=* | --sb=*)
   1064     sbindir=$ac_optarg ;;
   1065 
   1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1068   | --sharedst | --shareds | --shared | --share | --shar \
   1069   | --sha | --sh)
   1070     ac_prev=sharedstatedir ;;
   1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1074   | --sha=* | --sh=*)
   1075     sharedstatedir=$ac_optarg ;;
   1076 
   1077   -site | --site | --sit)
   1078     ac_prev=site ;;
   1079   -site=* | --site=* | --sit=*)
   1080     site=$ac_optarg ;;
   1081 
   1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1083     ac_prev=srcdir ;;
   1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1085     srcdir=$ac_optarg ;;
   1086 
   1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1088   | --syscon | --sysco | --sysc | --sys | --sy)
   1089     ac_prev=sysconfdir ;;
   1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1092     sysconfdir=$ac_optarg ;;
   1093 
   1094   -target | --target | --targe | --targ | --tar | --ta | --t)
   1095     ac_prev=target_alias ;;
   1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1097     target_alias=$ac_optarg ;;
   1098 
   1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1100     verbose=yes ;;
   1101 
   1102   -version | --version | --versio | --versi | --vers | -V)
   1103     ac_init_version=: ;;
   1104 
   1105   -with-* | --with-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid package name: $ac_useropt"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "with_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval with_$ac_useropt=\$ac_optarg ;;
   1120 
   1121   -without-* | --without-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=no ;;
   1136 
   1137   --x)
   1138     # Obsolete; use --with-x.
   1139     with_x=yes ;;
   1140 
   1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1142   | --x-incl | --x-inc | --x-in | --x-i)
   1143     ac_prev=x_includes ;;
   1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1146     x_includes=$ac_optarg ;;
   1147 
   1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1150     ac_prev=x_libraries ;;
   1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1153     x_libraries=$ac_optarg ;;
   1154 
   1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1156 Try \`$0 --help' for more information"
   1157     ;;
   1158 
   1159   *=*)
   1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1161     # Reject names that are not valid shell variable names.
   1162     case $ac_envvar in #(
   1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1165     esac
   1166     eval $ac_envvar=\$ac_optarg
   1167     export $ac_envvar ;;
   1168 
   1169   *)
   1170     # FIXME: should be removed in autoconf 3.0.
   1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1175     ;;
   1176 
   1177   esac
   1178 done
   1179 
   1180 if test -n "$ac_prev"; then
   1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1182   as_fn_error $? "missing argument to $ac_option"
   1183 fi
   1184 
   1185 if test -n "$ac_unrecognized_opts"; then
   1186   case $enable_option_checking in
   1187     no) ;;
   1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1190   esac
   1191 fi
   1192 
   1193 # Check all directory arguments for consistency.
   1194 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1195 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1196 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1197 		libdir localedir mandir
   1198 do
   1199   eval ac_val=\$$ac_var
   1200   # Remove trailing slashes.
   1201   case $ac_val in
   1202     */ )
   1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1204       eval $ac_var=\$ac_val;;
   1205   esac
   1206   # Be sure to have absolute directory names.
   1207   case $ac_val in
   1208     [\\/$]* | ?:[\\/]* )  continue;;
   1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1210   esac
   1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1212 done
   1213 
   1214 # There might be people who depend on the old broken behavior: `$host'
   1215 # used to hold the argument of --host etc.
   1216 # FIXME: To remove some day.
   1217 build=$build_alias
   1218 host=$host_alias
   1219 target=$target_alias
   1220 
   1221 # FIXME: To remove some day.
   1222 if test "x$host_alias" != x; then
   1223   if test "x$build_alias" = x; then
   1224     cross_compiling=maybe
   1225     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1226     If a cross compiler is detected then cross compile mode will be used" >&2
   1227   elif test "x$build_alias" != "x$host_alias"; then
   1228     cross_compiling=yes
   1229   fi
   1230 fi
   1231 
   1232 ac_tool_prefix=
   1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1234 
   1235 test "$silent" = yes && exec 6>/dev/null
   1236 
   1237 
   1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1239 ac_ls_di=`ls -di .` &&
   1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1241   as_fn_error $? "working directory cannot be determined"
   1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1243   as_fn_error $? "pwd does not report name of working directory"
   1244 
   1245 
   1246 # Find the source files, if location was not specified.
   1247 if test -z "$srcdir"; then
   1248   ac_srcdir_defaulted=yes
   1249   # Try the directory containing this script, then the parent directory.
   1250   ac_confdir=`$as_dirname -- "$as_myself" ||
   1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1252 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1253 	 X"$as_myself" : 'X\(//\)$' \| \
   1254 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1255 $as_echo X"$as_myself" |
   1256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)[^/].*/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\/\)$/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  /^X\(\/\).*/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  s/.*/./; q'`
   1273   srcdir=$ac_confdir
   1274   if test ! -r "$srcdir/$ac_unique_file"; then
   1275     srcdir=..
   1276   fi
   1277 else
   1278   ac_srcdir_defaulted=no
   1279 fi
   1280 if test ! -r "$srcdir/$ac_unique_file"; then
   1281   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1282   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1283 fi
   1284 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1285 ac_abs_confdir=`(
   1286 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1287 	pwd)`
   1288 # When building in place, set srcdir=.
   1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1290   srcdir=.
   1291 fi
   1292 # Remove unnecessary trailing slashes from srcdir.
   1293 # Double slashes in file names in object file debugging info
   1294 # mess up M-x gdb in Emacs.
   1295 case $srcdir in
   1296 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1297 esac
   1298 for ac_var in $ac_precious_vars; do
   1299   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1300   eval ac_env_${ac_var}_value=\$${ac_var}
   1301   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1302   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1303 done
   1304 
   1305 #
   1306 # Report the --help message.
   1307 #
   1308 if test "$ac_init_help" = "long"; then
   1309   # Omit some internal or obsolete options to make the list less imposing.
   1310   # This message is too long to be a string in the A/UX 3.1 sh.
   1311   cat <<_ACEOF
   1312 \`configure' configures xclock 1.0.7 to adapt to many kinds of systems.
   1313 
   1314 Usage: $0 [OPTION]... [VAR=VALUE]...
   1315 
   1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1317 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1318 
   1319 Defaults for the options are specified in brackets.
   1320 
   1321 Configuration:
   1322   -h, --help              display this help and exit
   1323       --help=short        display options specific to this package
   1324       --help=recursive    display the short help of all the included packages
   1325   -V, --version           display version information and exit
   1326   -q, --quiet, --silent   do not print \`checking ...' messages
   1327       --cache-file=FILE   cache test results in FILE [disabled]
   1328   -C, --config-cache      alias for \`--cache-file=config.cache'
   1329   -n, --no-create         do not create output files
   1330       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1331 
   1332 Installation directories:
   1333   --prefix=PREFIX         install architecture-independent files in PREFIX
   1334                           [$ac_default_prefix]
   1335   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1336                           [PREFIX]
   1337 
   1338 By default, \`make install' will install all the files in
   1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1341 for instance \`--prefix=\$HOME'.
   1342 
   1343 For better control, use the options below.
   1344 
   1345 Fine tuning of the installation directories:
   1346   --bindir=DIR            user executables [EPREFIX/bin]
   1347   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1348   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1349   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1350   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1351   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1352   --libdir=DIR            object code libraries [EPREFIX/lib]
   1353   --includedir=DIR        C header files [PREFIX/include]
   1354   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1355   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1356   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1357   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1358   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1359   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1360   --docdir=DIR            documentation root [DATAROOTDIR/doc/xclock]
   1361   --htmldir=DIR           html documentation [DOCDIR]
   1362   --dvidir=DIR            dvi documentation [DOCDIR]
   1363   --pdfdir=DIR            pdf documentation [DOCDIR]
   1364   --psdir=DIR             ps documentation [DOCDIR]
   1365 _ACEOF
   1366 
   1367   cat <<\_ACEOF
   1368 
   1369 Program names:
   1370   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1371   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1372   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1373 
   1374 System types:
   1375   --build=BUILD     configure for building on BUILD [guessed]
   1376   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1377 _ACEOF
   1378 fi
   1379 
   1380 if test -n "$ac_init_help"; then
   1381   case $ac_init_help in
   1382      short | recursive ) echo "Configuration of xclock 1.0.7:";;
   1383    esac
   1384   cat <<\_ACEOF
   1385 
   1386 Optional Features:
   1387   --disable-option-checking  ignore unrecognized --enable/--with options
   1388   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1389   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1390   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1391   --disable-silent-rules  verbose build output (undo: "make V=0")
   1392   --enable-maintainer-mode
   1393                           enable make rules and dependencies not useful (and
   1394                           sometimes confusing) to the casual installer
   1395   --enable-dependency-tracking
   1396                           do not reject slow dependency extractors
   1397   --disable-dependency-tracking
   1398                           speeds up one-time build
   1399   --disable-selective-werror
   1400                           Turn off selective compiler errors. (default:
   1401                           enabled)
   1402   --enable-strict-compilation
   1403                           Enable all warnings from compiler and make them
   1404                           errors (default: disabled)
   1405   --disable-rpath         do not hardcode runtime library paths
   1406 
   1407 Optional Packages:
   1408   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1409   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1410   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1411   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1412   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1413   --with-xft              Use Xft2 and Xrender for rendering (Default is YES)
   1414   --with-xkb              Use XKB to sound bells (Default is YES)
   1415   --with-appdefaultdir=<pathname>
   1416                           specify directory for app-defaults files (default is
   1417                           autodetected)
   1418 
   1419 Some influential environment variables:
   1420   CC          C compiler command
   1421   CFLAGS      C compiler flags
   1422   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1423               nonstandard directory <lib dir>
   1424   LIBS        libraries to pass to the linker, e.g. -l<library>
   1425   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1426               you have headers in a nonstandard directory <include dir>
   1427   CPP         C preprocessor
   1428   PKG_CONFIG  path to pkg-config utility
   1429   XCLOCK_CFLAGS
   1430               C compiler flags for XCLOCK, overriding pkg-config
   1431   XCLOCK_LIBS linker flags for XCLOCK, overriding pkg-config
   1432   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
   1433   XFT_LIBS    linker flags for XFT, overriding pkg-config
   1434   XKB_CFLAGS  C compiler flags for XKB, overriding pkg-config
   1435   XKB_LIBS    linker flags for XKB, overriding pkg-config
   1436   APPDEFS_CFLAGS
   1437               C compiler flags for APPDEFS, overriding pkg-config
   1438   APPDEFS_LIBS
   1439               linker flags for APPDEFS, 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 xclock configure 1.0.7
   1508 generated by GNU Autoconf 2.68
   1509 
   1510 Copyright (C) 2010 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_check_decl LINENO SYMBOL VAR INCLUDES
   1560 # ---------------------------------------------
   1561 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1562 # accordingly.
   1563 ac_fn_c_check_decl ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1567   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1569 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1570 if eval \${$3+:} false; then :
   1571   $as_echo_n "(cached) " >&6
   1572 else
   1573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1574 /* end confdefs.h.  */
   1575 $4
   1576 int
   1577 main ()
   1578 {
   1579 #ifndef $as_decl_name
   1580 #ifdef __cplusplus
   1581   (void) $as_decl_use;
   1582 #else
   1583   (void) $as_decl_name;
   1584 #endif
   1585 #endif
   1586 
   1587   ;
   1588   return 0;
   1589 }
   1590 _ACEOF
   1591 if ac_fn_c_try_compile "$LINENO"; then :
   1592   eval "$3=yes"
   1593 else
   1594   eval "$3=no"
   1595 fi
   1596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1597 fi
   1598 eval ac_res=\$$3
   1599 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1600 $as_echo "$ac_res" >&6; }
   1601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1602 
   1603 } # ac_fn_c_check_decl
   1604 
   1605 # ac_fn_c_try_cpp LINENO
   1606 # ----------------------
   1607 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1608 ac_fn_c_try_cpp ()
   1609 {
   1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1611   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1612 case "(($ac_try" in
   1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1614   *) ac_try_echo=$ac_try;;
   1615 esac
   1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1617 $as_echo "$ac_try_echo"; } >&5
   1618   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1619   ac_status=$?
   1620   if test -s conftest.err; then
   1621     grep -v '^ *+' conftest.err >conftest.er1
   1622     cat conftest.er1 >&5
   1623     mv -f conftest.er1 conftest.err
   1624   fi
   1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1626   test $ac_status = 0; } > conftest.i && {
   1627 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1628 	 test ! -s conftest.err
   1629        }; then :
   1630   ac_retval=0
   1631 else
   1632   $as_echo "$as_me: failed program was:" >&5
   1633 sed 's/^/| /' conftest.$ac_ext >&5
   1634 
   1635     ac_retval=1
   1636 fi
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638   as_fn_set_status $ac_retval
   1639 
   1640 } # ac_fn_c_try_cpp
   1641 
   1642 # ac_fn_c_try_run LINENO
   1643 # ----------------------
   1644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1645 # that executables *can* be run.
   1646 ac_fn_c_try_run ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   if { { ac_try="$ac_link"
   1650 case "(($ac_try" in
   1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1652   *) ac_try_echo=$ac_try;;
   1653 esac
   1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1655 $as_echo "$ac_try_echo"; } >&5
   1656   (eval "$ac_link") 2>&5
   1657   ac_status=$?
   1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1660   { { case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_try") 2>&5
   1667   ac_status=$?
   1668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1669   test $ac_status = 0; }; }; then :
   1670   ac_retval=0
   1671 else
   1672   $as_echo "$as_me: program exited with status $ac_status" >&5
   1673        $as_echo "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676        ac_retval=$ac_status
   1677 fi
   1678   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680   as_fn_set_status $ac_retval
   1681 
   1682 } # ac_fn_c_try_run
   1683 
   1684 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1685 # -------------------------------------------------------
   1686 # Tests whether HEADER exists and can be compiled using the include files in
   1687 # INCLUDES, setting the cache variable VAR accordingly.
   1688 ac_fn_c_check_header_compile ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1692 $as_echo_n "checking for $2... " >&6; }
   1693 if eval \${$3+:} false; then :
   1694   $as_echo_n "(cached) " >&6
   1695 else
   1696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1697 /* end confdefs.h.  */
   1698 $4
   1699 #include <$2>
   1700 _ACEOF
   1701 if ac_fn_c_try_compile "$LINENO"; then :
   1702   eval "$3=yes"
   1703 else
   1704   eval "$3=no"
   1705 fi
   1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1707 fi
   1708 eval ac_res=\$$3
   1709 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1710 $as_echo "$ac_res" >&6; }
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712 
   1713 } # ac_fn_c_check_header_compile
   1714 
   1715 # ac_fn_c_try_link LINENO
   1716 # -----------------------
   1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1718 ac_fn_c_try_link ()
   1719 {
   1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1721   rm -f conftest.$ac_objext conftest$ac_exeext
   1722   if { { ac_try="$ac_link"
   1723 case "(($ac_try" in
   1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1725   *) ac_try_echo=$ac_try;;
   1726 esac
   1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1728 $as_echo "$ac_try_echo"; } >&5
   1729   (eval "$ac_link") 2>conftest.err
   1730   ac_status=$?
   1731   if test -s conftest.err; then
   1732     grep -v '^ *+' conftest.err >conftest.er1
   1733     cat conftest.er1 >&5
   1734     mv -f conftest.er1 conftest.err
   1735   fi
   1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1737   test $ac_status = 0; } && {
   1738 	 test -z "$ac_c_werror_flag" ||
   1739 	 test ! -s conftest.err
   1740        } && test -s conftest$ac_exeext && {
   1741 	 test "$cross_compiling" = yes ||
   1742 	 $as_test_x conftest$ac_exeext
   1743        }; then :
   1744   ac_retval=0
   1745 else
   1746   $as_echo "$as_me: failed program was:" >&5
   1747 sed 's/^/| /' conftest.$ac_ext >&5
   1748 
   1749 	ac_retval=1
   1750 fi
   1751   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1752   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1753   # interfere with the next link command; also delete a directory that is
   1754   # left behind by Apple's compiler.  We do this before executing the actions.
   1755   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1756   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1757   as_fn_set_status $ac_retval
   1758 
   1759 } # ac_fn_c_try_link
   1760 
   1761 # ac_fn_c_check_func LINENO FUNC VAR
   1762 # ----------------------------------
   1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1764 ac_fn_c_check_func ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1768 $as_echo_n "checking for $2... " >&6; }
   1769 if eval \${$3+:} false; then :
   1770   $as_echo_n "(cached) " >&6
   1771 else
   1772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1773 /* end confdefs.h.  */
   1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1776 #define $2 innocuous_$2
   1777 
   1778 /* System header to define __stub macros and hopefully few prototypes,
   1779     which can conflict with char $2 (); below.
   1780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1781     <limits.h> exists even on freestanding compilers.  */
   1782 
   1783 #ifdef __STDC__
   1784 # include <limits.h>
   1785 #else
   1786 # include <assert.h>
   1787 #endif
   1788 
   1789 #undef $2
   1790 
   1791 /* Override any GCC internal prototype to avoid an error.
   1792    Use char because int might match the return type of a GCC
   1793    builtin and then its argument prototype would still apply.  */
   1794 #ifdef __cplusplus
   1795 extern "C"
   1796 #endif
   1797 char $2 ();
   1798 /* The GNU C library defines this for functions which it implements
   1799     to always fail with ENOSYS.  Some functions are actually named
   1800     something starting with __ and the normal name is an alias.  */
   1801 #if defined __stub_$2 || defined __stub___$2
   1802 choke me
   1803 #endif
   1804 
   1805 int
   1806 main ()
   1807 {
   1808 return $2 ();
   1809   ;
   1810   return 0;
   1811 }
   1812 _ACEOF
   1813 if ac_fn_c_try_link "$LINENO"; then :
   1814   eval "$3=yes"
   1815 else
   1816   eval "$3=no"
   1817 fi
   1818 rm -f core conftest.err conftest.$ac_objext \
   1819     conftest$ac_exeext conftest.$ac_ext
   1820 fi
   1821 eval ac_res=\$$3
   1822 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1823 $as_echo "$ac_res" >&6; }
   1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1825 
   1826 } # ac_fn_c_check_func
   1827 cat >config.log <<_ACEOF
   1828 This file contains any messages produced by compilers while
   1829 running configure, to aid debugging if configure makes a mistake.
   1830 
   1831 It was created by xclock $as_me 1.0.7, which was
   1832 generated by GNU Autoconf 2.68.  Invocation command line was
   1833 
   1834   $ $0 $@
   1835 
   1836 _ACEOF
   1837 exec 5>>config.log
   1838 {
   1839 cat <<_ASUNAME
   1840 ## --------- ##
   1841 ## Platform. ##
   1842 ## --------- ##
   1843 
   1844 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1845 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1846 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1847 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1848 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1849 
   1850 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1851 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1852 
   1853 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1854 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1855 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1856 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1857 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1858 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1859 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1860 
   1861 _ASUNAME
   1862 
   1863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1864 for as_dir in $PATH
   1865 do
   1866   IFS=$as_save_IFS
   1867   test -z "$as_dir" && as_dir=.
   1868     $as_echo "PATH: $as_dir"
   1869   done
   1870 IFS=$as_save_IFS
   1871 
   1872 } >&5
   1873 
   1874 cat >&5 <<_ACEOF
   1875 
   1876 
   1877 ## ----------- ##
   1878 ## Core tests. ##
   1879 ## ----------- ##
   1880 
   1881 _ACEOF
   1882 
   1883 
   1884 # Keep a trace of the command line.
   1885 # Strip out --no-create and --no-recursion so they do not pile up.
   1886 # Strip out --silent because we don't want to record it for future runs.
   1887 # Also quote any args containing shell meta-characters.
   1888 # Make two passes to allow for proper duplicate-argument suppression.
   1889 ac_configure_args=
   1890 ac_configure_args0=
   1891 ac_configure_args1=
   1892 ac_must_keep_next=false
   1893 for ac_pass in 1 2
   1894 do
   1895   for ac_arg
   1896   do
   1897     case $ac_arg in
   1898     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1899     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1900     | -silent | --silent | --silen | --sile | --sil)
   1901       continue ;;
   1902     *\'*)
   1903       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1904     esac
   1905     case $ac_pass in
   1906     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1907     2)
   1908       as_fn_append ac_configure_args1 " '$ac_arg'"
   1909       if test $ac_must_keep_next = true; then
   1910 	ac_must_keep_next=false # Got value, back to normal.
   1911       else
   1912 	case $ac_arg in
   1913 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1914 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1915 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1916 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1917 	    case "$ac_configure_args0 " in
   1918 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1919 	    esac
   1920 	    ;;
   1921 	  -* ) ac_must_keep_next=true ;;
   1922 	esac
   1923       fi
   1924       as_fn_append ac_configure_args " '$ac_arg'"
   1925       ;;
   1926     esac
   1927   done
   1928 done
   1929 { ac_configure_args0=; unset ac_configure_args0;}
   1930 { ac_configure_args1=; unset ac_configure_args1;}
   1931 
   1932 # When interrupted or exit'd, cleanup temporary files, and complete
   1933 # config.log.  We remove comments because anyway the quotes in there
   1934 # would cause problems or look ugly.
   1935 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1936 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1937 trap 'exit_status=$?
   1938   # Save into config.log some information that might help in debugging.
   1939   {
   1940     echo
   1941 
   1942     $as_echo "## ---------------- ##
   1943 ## Cache variables. ##
   1944 ## ---------------- ##"
   1945     echo
   1946     # The following way of writing the cache mishandles newlines in values,
   1947 (
   1948   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1949     eval ac_val=\$$ac_var
   1950     case $ac_val in #(
   1951     *${as_nl}*)
   1952       case $ac_var in #(
   1953       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1954 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1955       esac
   1956       case $ac_var in #(
   1957       _ | IFS | as_nl) ;; #(
   1958       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1959       *) { eval $ac_var=; unset $ac_var;} ;;
   1960       esac ;;
   1961     esac
   1962   done
   1963   (set) 2>&1 |
   1964     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1965     *${as_nl}ac_space=\ *)
   1966       sed -n \
   1967 	"s/'\''/'\''\\\\'\'''\''/g;
   1968 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1969       ;; #(
   1970     *)
   1971       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1972       ;;
   1973     esac |
   1974     sort
   1975 )
   1976     echo
   1977 
   1978     $as_echo "## ----------------- ##
   1979 ## Output variables. ##
   1980 ## ----------------- ##"
   1981     echo
   1982     for ac_var in $ac_subst_vars
   1983     do
   1984       eval ac_val=\$$ac_var
   1985       case $ac_val in
   1986       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1987       esac
   1988       $as_echo "$ac_var='\''$ac_val'\''"
   1989     done | sort
   1990     echo
   1991 
   1992     if test -n "$ac_subst_files"; then
   1993       $as_echo "## ------------------- ##
   1994 ## File substitutions. ##
   1995 ## ------------------- ##"
   1996       echo
   1997       for ac_var in $ac_subst_files
   1998       do
   1999 	eval ac_val=\$$ac_var
   2000 	case $ac_val in
   2001 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2002 	esac
   2003 	$as_echo "$ac_var='\''$ac_val'\''"
   2004       done | sort
   2005       echo
   2006     fi
   2007 
   2008     if test -s confdefs.h; then
   2009       $as_echo "## ----------- ##
   2010 ## confdefs.h. ##
   2011 ## ----------- ##"
   2012       echo
   2013       cat confdefs.h
   2014       echo
   2015     fi
   2016     test "$ac_signal" != 0 &&
   2017       $as_echo "$as_me: caught signal $ac_signal"
   2018     $as_echo "$as_me: exit $exit_status"
   2019   } >&5
   2020   rm -f core *.core core.conftest.* &&
   2021     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2022     exit $exit_status
   2023 ' 0
   2024 for ac_signal in 1 2 13 15; do
   2025   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2026 done
   2027 ac_signal=0
   2028 
   2029 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2030 rm -f -r conftest* confdefs.h
   2031 
   2032 $as_echo "/* confdefs.h */" > confdefs.h
   2033 
   2034 # Predefined preprocessor variables.
   2035 
   2036 cat >>confdefs.h <<_ACEOF
   2037 #define PACKAGE_NAME "$PACKAGE_NAME"
   2038 _ACEOF
   2039 
   2040 cat >>confdefs.h <<_ACEOF
   2041 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2042 _ACEOF
   2043 
   2044 cat >>confdefs.h <<_ACEOF
   2045 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2046 _ACEOF
   2047 
   2048 cat >>confdefs.h <<_ACEOF
   2049 #define PACKAGE_STRING "$PACKAGE_STRING"
   2050 _ACEOF
   2051 
   2052 cat >>confdefs.h <<_ACEOF
   2053 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2054 _ACEOF
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_URL "$PACKAGE_URL"
   2058 _ACEOF
   2059 
   2060 
   2061 # Let the site file select an alternate cache file if it wants to.
   2062 # Prefer an explicitly selected file to automatically selected ones.
   2063 ac_site_file1=NONE
   2064 ac_site_file2=NONE
   2065 if test -n "$CONFIG_SITE"; then
   2066   # We do not want a PATH search for config.site.
   2067   case $CONFIG_SITE in #((
   2068     -*)  ac_site_file1=./$CONFIG_SITE;;
   2069     */*) ac_site_file1=$CONFIG_SITE;;
   2070     *)   ac_site_file1=./$CONFIG_SITE;;
   2071   esac
   2072 elif test "x$prefix" != xNONE; then
   2073   ac_site_file1=$prefix/share/config.site
   2074   ac_site_file2=$prefix/etc/config.site
   2075 else
   2076   ac_site_file1=$ac_default_prefix/share/config.site
   2077   ac_site_file2=$ac_default_prefix/etc/config.site
   2078 fi
   2079 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2080 do
   2081   test "x$ac_site_file" = xNONE && continue
   2082   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2083     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2084 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2085     sed 's/^/| /' "$ac_site_file" >&5
   2086     . "$ac_site_file" \
   2087       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2089 as_fn_error $? "failed to load site script $ac_site_file
   2090 See \`config.log' for more details" "$LINENO" 5; }
   2091   fi
   2092 done
   2093 
   2094 if test -r "$cache_file"; then
   2095   # Some versions of bash will fail to source /dev/null (special files
   2096   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2097   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2098     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2099 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2100     case $cache_file in
   2101       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2102       *)                      . "./$cache_file";;
   2103     esac
   2104   fi
   2105 else
   2106   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2107 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2108   >$cache_file
   2109 fi
   2110 
   2111 # Check that the precious variables saved in the cache have kept the same
   2112 # value.
   2113 ac_cache_corrupted=false
   2114 for ac_var in $ac_precious_vars; do
   2115   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2116   eval ac_new_set=\$ac_env_${ac_var}_set
   2117   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2118   eval ac_new_val=\$ac_env_${ac_var}_value
   2119   case $ac_old_set,$ac_new_set in
   2120     set,)
   2121       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2122 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2123       ac_cache_corrupted=: ;;
   2124     ,set)
   2125       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2126 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2127       ac_cache_corrupted=: ;;
   2128     ,);;
   2129     *)
   2130       if test "x$ac_old_val" != "x$ac_new_val"; then
   2131 	# differences in whitespace do not lead to failure.
   2132 	ac_old_val_w=`echo x $ac_old_val`
   2133 	ac_new_val_w=`echo x $ac_new_val`
   2134 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2135 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2136 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2137 	  ac_cache_corrupted=:
   2138 	else
   2139 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2140 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2141 	  eval $ac_var=\$ac_old_val
   2142 	fi
   2143 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2144 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2145 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2146 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2147       fi;;
   2148   esac
   2149   # Pass precious variables to config.status.
   2150   if test "$ac_new_set" = set; then
   2151     case $ac_new_val in
   2152     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2153     *) ac_arg=$ac_var=$ac_new_val ;;
   2154     esac
   2155     case " $ac_configure_args " in
   2156       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2157       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2158     esac
   2159   fi
   2160 done
   2161 if $ac_cache_corrupted; then
   2162   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2164   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2165 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2166   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2167 fi
   2168 ## -------------------- ##
   2169 ## Main body of script. ##
   2170 ## -------------------- ##
   2171 
   2172 ac_ext=c
   2173 ac_cpp='$CPP $CPPFLAGS'
   2174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2177 
   2178 
   2179 am__api_version='1.14'
   2180 
   2181 ac_aux_dir=
   2182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2183   if test -f "$ac_dir/install-sh"; then
   2184     ac_aux_dir=$ac_dir
   2185     ac_install_sh="$ac_aux_dir/install-sh -c"
   2186     break
   2187   elif test -f "$ac_dir/install.sh"; then
   2188     ac_aux_dir=$ac_dir
   2189     ac_install_sh="$ac_aux_dir/install.sh -c"
   2190     break
   2191   elif test -f "$ac_dir/shtool"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/shtool install -c"
   2194     break
   2195   fi
   2196 done
   2197 if test -z "$ac_aux_dir"; then
   2198   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2199 fi
   2200 
   2201 # These three variables are undocumented and unsupported,
   2202 # and are intended to be withdrawn in a future Autoconf release.
   2203 # They can cause serious problems if a builder's source tree is in a directory
   2204 # whose full name contains unusual characters.
   2205 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2206 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2207 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2208 
   2209 
   2210 # Find a good install program.  We prefer a C program (faster),
   2211 # so one script is as good as another.  But avoid the broken or
   2212 # incompatible versions:
   2213 # SysV /etc/install, /usr/sbin/install
   2214 # SunOS /usr/etc/install
   2215 # IRIX /sbin/install
   2216 # AIX /bin/install
   2217 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2221 # OS/2's system install, which has a completely different semantic
   2222 # ./install, which can be erroneously created by make from ./install.sh.
   2223 # Reject install programs that cannot install multiple files.
   2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2225 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2226 if test -z "$INSTALL"; then
   2227 if ${ac_cv_path_install+:} false; then :
   2228   $as_echo_n "(cached) " >&6
   2229 else
   2230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2231 for as_dir in $PATH
   2232 do
   2233   IFS=$as_save_IFS
   2234   test -z "$as_dir" && as_dir=.
   2235     # Account for people who put trailing slashes in PATH elements.
   2236 case $as_dir/ in #((
   2237   ./ | .// | /[cC]/* | \
   2238   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2239   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2240   /usr/ucb/* ) ;;
   2241   *)
   2242     # OSF1 and SCO ODT 3.0 have their own names for install.
   2243     # Don't use installbsd from OSF since it installs stuff as root
   2244     # by default.
   2245     for ac_prog in ginstall scoinst install; do
   2246       for ac_exec_ext in '' $ac_executable_extensions; do
   2247 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2248 	  if test $ac_prog = install &&
   2249 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2250 	    # AIX install.  It has an incompatible calling convention.
   2251 	    :
   2252 	  elif test $ac_prog = install &&
   2253 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2254 	    # program-specific install script used by HP pwplus--don't use.
   2255 	    :
   2256 	  else
   2257 	    rm -rf conftest.one conftest.two conftest.dir
   2258 	    echo one > conftest.one
   2259 	    echo two > conftest.two
   2260 	    mkdir conftest.dir
   2261 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2262 	      test -s conftest.one && test -s conftest.two &&
   2263 	      test -s conftest.dir/conftest.one &&
   2264 	      test -s conftest.dir/conftest.two
   2265 	    then
   2266 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2267 	      break 3
   2268 	    fi
   2269 	  fi
   2270 	fi
   2271       done
   2272     done
   2273     ;;
   2274 esac
   2275 
   2276   done
   2277 IFS=$as_save_IFS
   2278 
   2279 rm -rf conftest.one conftest.two conftest.dir
   2280 
   2281 fi
   2282   if test "${ac_cv_path_install+set}" = set; then
   2283     INSTALL=$ac_cv_path_install
   2284   else
   2285     # As a last resort, use the slow shell script.  Don't cache a
   2286     # value for INSTALL within a source directory, because that will
   2287     # break other packages using the cache if that directory is
   2288     # removed, or if the value is a relative name.
   2289     INSTALL=$ac_install_sh
   2290   fi
   2291 fi
   2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2293 $as_echo "$INSTALL" >&6; }
   2294 
   2295 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2296 # It thinks the first close brace ends the variable substitution.
   2297 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2298 
   2299 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2300 
   2301 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2302 
   2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2304 $as_echo_n "checking whether build environment is sane... " >&6; }
   2305 # Reject unsafe characters in $srcdir or the absolute working directory
   2306 # name.  Accept space and tab only in the latter.
   2307 am_lf='
   2308 '
   2309 case `pwd` in
   2310   *[\\\"\#\$\&\'\`$am_lf]*)
   2311     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2312 esac
   2313 case $srcdir in
   2314   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2315     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2316 esac
   2317 
   2318 # Do 'set' in a subshell so we don't clobber the current shell's
   2319 # arguments.  Must try -L first in case configure is actually a
   2320 # symlink; some systems play weird games with the mod time of symlinks
   2321 # (eg FreeBSD returns the mod time of the symlink's containing
   2322 # directory).
   2323 if (
   2324    am_has_slept=no
   2325    for am_try in 1 2; do
   2326      echo "timestamp, slept: $am_has_slept" > conftest.file
   2327      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2328      if test "$*" = "X"; then
   2329 	# -L didn't work.
   2330 	set X `ls -t "$srcdir/configure" conftest.file`
   2331      fi
   2332      if test "$*" != "X $srcdir/configure conftest.file" \
   2333 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2334 
   2335 	# If neither matched, then we have a broken ls.  This can happen
   2336 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2337 	# broken ls alias from the environment.  This has actually
   2338 	# happened.  Such a system could not be considered "sane".
   2339 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2340   alias in your environment" "$LINENO" 5
   2341      fi
   2342      if test "$2" = conftest.file || test $am_try -eq 2; then
   2343        break
   2344      fi
   2345      # Just in case.
   2346      sleep 1
   2347      am_has_slept=yes
   2348    done
   2349    test "$2" = conftest.file
   2350    )
   2351 then
   2352    # Ok.
   2353    :
   2354 else
   2355    as_fn_error $? "newly created file is older than distributed files!
   2356 Check your system clock" "$LINENO" 5
   2357 fi
   2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2359 $as_echo "yes" >&6; }
   2360 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2361 # generated files are strictly newer.
   2362 am_sleep_pid=
   2363 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2364   ( sleep 1 ) &
   2365   am_sleep_pid=$!
   2366 fi
   2367 
   2368 rm -f conftest.file
   2369 
   2370 test "$program_prefix" != NONE &&
   2371   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2372 # Use a double $ so make ignores it.
   2373 test "$program_suffix" != NONE &&
   2374   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2375 # Double any \ or $.
   2376 # By default was `s,x,x', remove it if useless.
   2377 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2378 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2379 
   2380 # expand $ac_aux_dir to an absolute path
   2381 am_aux_dir=`cd $ac_aux_dir && pwd`
   2382 
   2383 if test x"${MISSING+set}" != xset; then
   2384   case $am_aux_dir in
   2385   *\ * | *\	*)
   2386     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2387   *)
   2388     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2389   esac
   2390 fi
   2391 # Use eval to expand $SHELL
   2392 if eval "$MISSING --is-lightweight"; then
   2393   am_missing_run="$MISSING "
   2394 else
   2395   am_missing_run=
   2396   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2397 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2398 fi
   2399 
   2400 if test x"${install_sh}" != xset; then
   2401   case $am_aux_dir in
   2402   *\ * | *\	*)
   2403     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2404   *)
   2405     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2406   esac
   2407 fi
   2408 
   2409 # Installed binaries are usually stripped using 'strip' when the user
   2410 # run "make install-strip".  However 'strip' might not be the right
   2411 # tool to use in cross-compilation environments, therefore Automake
   2412 # will honor the 'STRIP' environment variable to overrule this program.
   2413 if test "$cross_compiling" != no; then
   2414   if test -n "$ac_tool_prefix"; then
   2415   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2416 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2418 $as_echo_n "checking for $ac_word... " >&6; }
   2419 if ${ac_cv_prog_STRIP+:} false; then :
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   if test -n "$STRIP"; then
   2423   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2424 else
   2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2426 for as_dir in $PATH
   2427 do
   2428   IFS=$as_save_IFS
   2429   test -z "$as_dir" && as_dir=.
   2430     for ac_exec_ext in '' $ac_executable_extensions; do
   2431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2432     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2434     break 2
   2435   fi
   2436 done
   2437   done
   2438 IFS=$as_save_IFS
   2439 
   2440 fi
   2441 fi
   2442 STRIP=$ac_cv_prog_STRIP
   2443 if test -n "$STRIP"; then
   2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2445 $as_echo "$STRIP" >&6; }
   2446 else
   2447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2448 $as_echo "no" >&6; }
   2449 fi
   2450 
   2451 
   2452 fi
   2453 if test -z "$ac_cv_prog_STRIP"; then
   2454   ac_ct_STRIP=$STRIP
   2455   # Extract the first word of "strip", so it can be a program name with args.
   2456 set dummy strip; ac_word=$2
   2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2458 $as_echo_n "checking for $ac_word... " >&6; }
   2459 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   if test -n "$ac_ct_STRIP"; then
   2463   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2464 else
   2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2466 for as_dir in $PATH
   2467 do
   2468   IFS=$as_save_IFS
   2469   test -z "$as_dir" && as_dir=.
   2470     for ac_exec_ext in '' $ac_executable_extensions; do
   2471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2472     ac_cv_prog_ac_ct_STRIP="strip"
   2473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2474     break 2
   2475   fi
   2476 done
   2477   done
   2478 IFS=$as_save_IFS
   2479 
   2480 fi
   2481 fi
   2482 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2483 if test -n "$ac_ct_STRIP"; then
   2484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2485 $as_echo "$ac_ct_STRIP" >&6; }
   2486 else
   2487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2488 $as_echo "no" >&6; }
   2489 fi
   2490 
   2491   if test "x$ac_ct_STRIP" = x; then
   2492     STRIP=":"
   2493   else
   2494     case $cross_compiling:$ac_tool_warned in
   2495 yes:)
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2498 ac_tool_warned=yes ;;
   2499 esac
   2500     STRIP=$ac_ct_STRIP
   2501   fi
   2502 else
   2503   STRIP="$ac_cv_prog_STRIP"
   2504 fi
   2505 
   2506 fi
   2507 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2508 
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2510 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2511 if test -z "$MKDIR_P"; then
   2512   if ${ac_cv_path_mkdir+:} false; then :
   2513   $as_echo_n "(cached) " >&6
   2514 else
   2515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2516 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2517 do
   2518   IFS=$as_save_IFS
   2519   test -z "$as_dir" && as_dir=.
   2520     for ac_prog in mkdir gmkdir; do
   2521 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2522 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2523 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2524 	     'mkdir (GNU coreutils) '* | \
   2525 	     'mkdir (coreutils) '* | \
   2526 	     'mkdir (fileutils) '4.1*)
   2527 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2528 	       break 3;;
   2529 	   esac
   2530 	 done
   2531        done
   2532   done
   2533 IFS=$as_save_IFS
   2534 
   2535 fi
   2536 
   2537   test -d ./--version && rmdir ./--version
   2538   if test "${ac_cv_path_mkdir+set}" = set; then
   2539     MKDIR_P="$ac_cv_path_mkdir -p"
   2540   else
   2541     # As a last resort, use the slow shell script.  Don't cache a
   2542     # value for MKDIR_P within a source directory, because that will
   2543     # break other packages using the cache if that directory is
   2544     # removed, or if the value is a relative name.
   2545     MKDIR_P="$ac_install_sh -d"
   2546   fi
   2547 fi
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2549 $as_echo "$MKDIR_P" >&6; }
   2550 
   2551 for ac_prog in gawk mawk nawk awk
   2552 do
   2553   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2554 set dummy $ac_prog; ac_word=$2
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2556 $as_echo_n "checking for $ac_word... " >&6; }
   2557 if ${ac_cv_prog_AWK+:} false; then :
   2558   $as_echo_n "(cached) " >&6
   2559 else
   2560   if test -n "$AWK"; then
   2561   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2562 else
   2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2564 for as_dir in $PATH
   2565 do
   2566   IFS=$as_save_IFS
   2567   test -z "$as_dir" && as_dir=.
   2568     for ac_exec_ext in '' $ac_executable_extensions; do
   2569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2570     ac_cv_prog_AWK="$ac_prog"
   2571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2572     break 2
   2573   fi
   2574 done
   2575   done
   2576 IFS=$as_save_IFS
   2577 
   2578 fi
   2579 fi
   2580 AWK=$ac_cv_prog_AWK
   2581 if test -n "$AWK"; then
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2583 $as_echo "$AWK" >&6; }
   2584 else
   2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2586 $as_echo "no" >&6; }
   2587 fi
   2588 
   2589 
   2590   test -n "$AWK" && break
   2591 done
   2592 
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2595 set x ${MAKE-make}
   2596 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2597 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2598   $as_echo_n "(cached) " >&6
   2599 else
   2600   cat >conftest.make <<\_ACEOF
   2601 SHELL = /bin/sh
   2602 all:
   2603 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2604 _ACEOF
   2605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2607   *@@@%%%=?*=@@@%%%*)
   2608     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2609   *)
   2610     eval ac_cv_prog_make_${ac_make}_set=no;;
   2611 esac
   2612 rm -f conftest.make
   2613 fi
   2614 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2616 $as_echo "yes" >&6; }
   2617   SET_MAKE=
   2618 else
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2620 $as_echo "no" >&6; }
   2621   SET_MAKE="MAKE=${MAKE-make}"
   2622 fi
   2623 
   2624 rm -rf .tst 2>/dev/null
   2625 mkdir .tst 2>/dev/null
   2626 if test -d .tst; then
   2627   am__leading_dot=.
   2628 else
   2629   am__leading_dot=_
   2630 fi
   2631 rmdir .tst 2>/dev/null
   2632 
   2633 # Check whether --enable-silent-rules was given.
   2634 if test "${enable_silent_rules+set}" = set; then :
   2635   enableval=$enable_silent_rules;
   2636 fi
   2637 
   2638 case $enable_silent_rules in # (((
   2639   yes) AM_DEFAULT_VERBOSITY=0;;
   2640    no) AM_DEFAULT_VERBOSITY=1;;
   2641     *) AM_DEFAULT_VERBOSITY=1;;
   2642 esac
   2643 am_make=${MAKE-make}
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2645 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2646 if ${am_cv_make_support_nested_variables+:} false; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   if $as_echo 'TRUE=$(BAR$(V))
   2650 BAR0=false
   2651 BAR1=true
   2652 V=1
   2653 am__doit:
   2654 	@$(TRUE)
   2655 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2656   am_cv_make_support_nested_variables=yes
   2657 else
   2658   am_cv_make_support_nested_variables=no
   2659 fi
   2660 fi
   2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2662 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2663 if test $am_cv_make_support_nested_variables = yes; then
   2664     AM_V='$(V)'
   2665   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2666 else
   2667   AM_V=$AM_DEFAULT_VERBOSITY
   2668   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2669 fi
   2670 AM_BACKSLASH='\'
   2671 
   2672 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2673   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2674   # is not polluted with repeated "-I."
   2675   am__isrc=' -I$(srcdir)'
   2676   # test to see if srcdir already configured
   2677   if test -f $srcdir/config.status; then
   2678     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2679   fi
   2680 fi
   2681 
   2682 # test whether we have cygpath
   2683 if test -z "$CYGPATH_W"; then
   2684   if (cygpath --version) >/dev/null 2>/dev/null; then
   2685     CYGPATH_W='cygpath -w'
   2686   else
   2687     CYGPATH_W=echo
   2688   fi
   2689 fi
   2690 
   2691 
   2692 # Define the identity of the package.
   2693  PACKAGE='xclock'
   2694  VERSION='1.0.7'
   2695 
   2696 
   2697 cat >>confdefs.h <<_ACEOF
   2698 #define PACKAGE "$PACKAGE"
   2699 _ACEOF
   2700 
   2701 
   2702 cat >>confdefs.h <<_ACEOF
   2703 #define VERSION "$VERSION"
   2704 _ACEOF
   2705 
   2706 # Some tools Automake needs.
   2707 
   2708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2709 
   2710 
   2711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2712 
   2713 
   2714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2715 
   2716 
   2717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2718 
   2719 
   2720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2721 
   2722 # For better backward compatibility.  To be removed once Automake 1.9.x
   2723 # dies out for good.  For more background, see:
   2724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2726 mkdir_p='$(MKDIR_P)'
   2727 
   2728 # We need awk for the "check" target.  The system "awk" is bad on
   2729 # some platforms.
   2730 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2731 # in the wild :-(  We should find a proper way to deprecate it ...
   2732 AMTAR='$${TAR-tar}'
   2733 
   2734 
   2735 # We'll loop over all known methods to create a tar archive until one works.
   2736 _am_tools='gnutar  pax cpio none'
   2737 
   2738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2739 
   2740 
   2741 
   2742 
   2743 
   2744 
   2745 # POSIX will say in a future version that running "rm -f" with no argument
   2746 # is OK; and we want to be able to make that assumption in our Makefile
   2747 # recipes.  So use an aggressive probe to check that the usage we want is
   2748 # actually supported "in the wild" to an acceptable degree.
   2749 # See automake bug#10828.
   2750 # To make any issue more visible, cause the running configure to be aborted
   2751 # by default if the 'rm' program in use doesn't match our expectations; the
   2752 # user can still override this though.
   2753 if rm -f && rm -fr && rm -rf; then : OK; else
   2754   cat >&2 <<'END'
   2755 Oops!
   2756 
   2757 Your 'rm' program seems unable to run without file operands specified
   2758 on the command line, even when the '-f' option is present.  This is contrary
   2759 to the behaviour of most rm programs out there, and not conforming with
   2760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2761 
   2762 Please tell bug-automake@gnu.org about your system, including the value
   2763 of your $PATH and any error possibly output before this message.  This
   2764 can help us improve future automake versions.
   2765 
   2766 END
   2767   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2768     echo 'Configuration will proceed anyway, since you have set the' >&2
   2769     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2770     echo >&2
   2771   else
   2772     cat >&2 <<'END'
   2773 Aborting the configuration process, to ensure you take notice of the issue.
   2774 
   2775 You can download and install GNU coreutils to get an 'rm' implementation
   2776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2777 
   2778 If you want to complete the configuration process using your problematic
   2779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2780 to "yes", and re-run configure.
   2781 
   2782 END
   2783     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2784   fi
   2785 fi
   2786 
   2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2788 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2789     # Check whether --enable-maintainer-mode was given.
   2790 if test "${enable_maintainer_mode+set}" = set; then :
   2791   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2792 else
   2793   USE_MAINTAINER_MODE=no
   2794 fi
   2795 
   2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2797 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2798    if test $USE_MAINTAINER_MODE = yes; then
   2799   MAINTAINER_MODE_TRUE=
   2800   MAINTAINER_MODE_FALSE='#'
   2801 else
   2802   MAINTAINER_MODE_TRUE='#'
   2803   MAINTAINER_MODE_FALSE=
   2804 fi
   2805 
   2806   MAINT=$MAINTAINER_MODE_TRUE
   2807 
   2808 
   2809 
   2810 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2811 
   2812 
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 DEPDIR="${am__leading_dot}deps"
   2823 
   2824 ac_config_commands="$ac_config_commands depfiles"
   2825 
   2826 
   2827 am_make=${MAKE-make}
   2828 cat > confinc << 'END'
   2829 am__doit:
   2830 	@echo this is the am__doit target
   2831 .PHONY: am__doit
   2832 END
   2833 # If we don't find an include directive, just comment out the code.
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2835 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2836 am__include="#"
   2837 am__quote=
   2838 _am_result=none
   2839 # First try GNU make style include.
   2840 echo "include confinc" > confmf
   2841 # Ignore all kinds of additional output from 'make'.
   2842 case `$am_make -s -f confmf 2> /dev/null` in #(
   2843 *the\ am__doit\ target*)
   2844   am__include=include
   2845   am__quote=
   2846   _am_result=GNU
   2847   ;;
   2848 esac
   2849 # Now try BSD make style include.
   2850 if test "$am__include" = "#"; then
   2851    echo '.include "confinc"' > confmf
   2852    case `$am_make -s -f confmf 2> /dev/null` in #(
   2853    *the\ am__doit\ target*)
   2854      am__include=.include
   2855      am__quote="\""
   2856      _am_result=BSD
   2857      ;;
   2858    esac
   2859 fi
   2860 
   2861 
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2863 $as_echo "$_am_result" >&6; }
   2864 rm -f confinc confmf
   2865 
   2866 # Check whether --enable-dependency-tracking was given.
   2867 if test "${enable_dependency_tracking+set}" = set; then :
   2868   enableval=$enable_dependency_tracking;
   2869 fi
   2870 
   2871 if test "x$enable_dependency_tracking" != xno; then
   2872   am_depcomp="$ac_aux_dir/depcomp"
   2873   AMDEPBACKSLASH='\'
   2874   am__nodep='_no'
   2875 fi
   2876  if test "x$enable_dependency_tracking" != xno; then
   2877   AMDEP_TRUE=
   2878   AMDEP_FALSE='#'
   2879 else
   2880   AMDEP_TRUE='#'
   2881   AMDEP_FALSE=
   2882 fi
   2883 
   2884 
   2885 ac_ext=c
   2886 ac_cpp='$CPP $CPPFLAGS'
   2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2890 if test -n "$ac_tool_prefix"; then
   2891   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2894 $as_echo_n "checking for $ac_word... " >&6; }
   2895 if ${ac_cv_prog_CC+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test -n "$CC"; then
   2899   ac_cv_prog_CC="$CC" # Let the user override the test.
   2900 else
   2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2902 for as_dir in $PATH
   2903 do
   2904   IFS=$as_save_IFS
   2905   test -z "$as_dir" && as_dir=.
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2908     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi
   2917 fi
   2918 CC=$ac_cv_prog_CC
   2919 if test -n "$CC"; then
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2921 $as_echo "$CC" >&6; }
   2922 else
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 $as_echo "no" >&6; }
   2925 fi
   2926 
   2927 
   2928 fi
   2929 if test -z "$ac_cv_prog_CC"; then
   2930   ac_ct_CC=$CC
   2931   # Extract the first word of "gcc", so it can be a program name with args.
   2932 set dummy gcc; ac_word=$2
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2934 $as_echo_n "checking for $ac_word... " >&6; }
   2935 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2936   $as_echo_n "(cached) " >&6
   2937 else
   2938   if test -n "$ac_ct_CC"; then
   2939   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2940 else
   2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 for as_dir in $PATH
   2943 do
   2944   IFS=$as_save_IFS
   2945   test -z "$as_dir" && as_dir=.
   2946     for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2948     ac_cv_prog_ac_ct_CC="gcc"
   2949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953   done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi
   2957 fi
   2958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2959 if test -n "$ac_ct_CC"; then
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2961 $as_echo "$ac_ct_CC" >&6; }
   2962 else
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2964 $as_echo "no" >&6; }
   2965 fi
   2966 
   2967   if test "x$ac_ct_CC" = x; then
   2968     CC=""
   2969   else
   2970     case $cross_compiling:$ac_tool_warned in
   2971 yes:)
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2974 ac_tool_warned=yes ;;
   2975 esac
   2976     CC=$ac_ct_CC
   2977   fi
   2978 else
   2979   CC="$ac_cv_prog_CC"
   2980 fi
   2981 
   2982 if test -z "$CC"; then
   2983           if test -n "$ac_tool_prefix"; then
   2984     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2985 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2987 $as_echo_n "checking for $ac_word... " >&6; }
   2988 if ${ac_cv_prog_CC+:} false; then :
   2989   $as_echo_n "(cached) " >&6
   2990 else
   2991   if test -n "$CC"; then
   2992   ac_cv_prog_CC="$CC" # Let the user override the test.
   2993 else
   2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH
   2996 do
   2997   IFS=$as_save_IFS
   2998   test -z "$as_dir" && as_dir=.
   2999     for ac_exec_ext in '' $ac_executable_extensions; do
   3000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3001     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3003     break 2
   3004   fi
   3005 done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 fi
   3011 CC=$ac_cv_prog_CC
   3012 if test -n "$CC"; then
   3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3014 $as_echo "$CC" >&6; }
   3015 else
   3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3017 $as_echo "no" >&6; }
   3018 fi
   3019 
   3020 
   3021   fi
   3022 fi
   3023 if test -z "$CC"; then
   3024   # Extract the first word of "cc", so it can be a program name with args.
   3025 set dummy cc; ac_word=$2
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3027 $as_echo_n "checking for $ac_word... " >&6; }
   3028 if ${ac_cv_prog_CC+:} false; then :
   3029   $as_echo_n "(cached) " >&6
   3030 else
   3031   if test -n "$CC"; then
   3032   ac_cv_prog_CC="$CC" # Let the user override the test.
   3033 else
   3034   ac_prog_rejected=no
   3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3036 for as_dir in $PATH
   3037 do
   3038   IFS=$as_save_IFS
   3039   test -z "$as_dir" && as_dir=.
   3040     for ac_exec_ext in '' $ac_executable_extensions; do
   3041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3042     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3043        ac_prog_rejected=yes
   3044        continue
   3045      fi
   3046     ac_cv_prog_CC="cc"
   3047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3048     break 2
   3049   fi
   3050 done
   3051   done
   3052 IFS=$as_save_IFS
   3053 
   3054 if test $ac_prog_rejected = yes; then
   3055   # We found a bogon in the path, so make sure we never use it.
   3056   set dummy $ac_cv_prog_CC
   3057   shift
   3058   if test $# != 0; then
   3059     # We chose a different compiler from the bogus one.
   3060     # However, it has the same basename, so the bogon will be chosen
   3061     # first if we set CC to just the basename; use the full file name.
   3062     shift
   3063     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3064   fi
   3065 fi
   3066 fi
   3067 fi
   3068 CC=$ac_cv_prog_CC
   3069 if test -n "$CC"; then
   3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3071 $as_echo "$CC" >&6; }
   3072 else
   3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3074 $as_echo "no" >&6; }
   3075 fi
   3076 
   3077 
   3078 fi
   3079 if test -z "$CC"; then
   3080   if test -n "$ac_tool_prefix"; then
   3081   for ac_prog in cl.exe
   3082   do
   3083     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3086 $as_echo_n "checking for $ac_word... " >&6; }
   3087 if ${ac_cv_prog_CC+:} false; then :
   3088   $as_echo_n "(cached) " >&6
   3089 else
   3090   if test -n "$CC"; then
   3091   ac_cv_prog_CC="$CC" # Let the user override the test.
   3092 else
   3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3094 for as_dir in $PATH
   3095 do
   3096   IFS=$as_save_IFS
   3097   test -z "$as_dir" && as_dir=.
   3098     for ac_exec_ext in '' $ac_executable_extensions; do
   3099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3100     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3102     break 2
   3103   fi
   3104 done
   3105   done
   3106 IFS=$as_save_IFS
   3107 
   3108 fi
   3109 fi
   3110 CC=$ac_cv_prog_CC
   3111 if test -n "$CC"; then
   3112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3113 $as_echo "$CC" >&6; }
   3114 else
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3116 $as_echo "no" >&6; }
   3117 fi
   3118 
   3119 
   3120     test -n "$CC" && break
   3121   done
   3122 fi
   3123 if test -z "$CC"; then
   3124   ac_ct_CC=$CC
   3125   for ac_prog in cl.exe
   3126 do
   3127   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3128 set dummy $ac_prog; ac_word=$2
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3130 $as_echo_n "checking for $ac_word... " >&6; }
   3131 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3132   $as_echo_n "(cached) " >&6
   3133 else
   3134   if test -n "$ac_ct_CC"; then
   3135   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3136 else
   3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH
   3139 do
   3140   IFS=$as_save_IFS
   3141   test -z "$as_dir" && as_dir=.
   3142     for ac_exec_ext in '' $ac_executable_extensions; do
   3143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3144     ac_cv_prog_ac_ct_CC="$ac_prog"
   3145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3146     break 2
   3147   fi
   3148 done
   3149   done
   3150 IFS=$as_save_IFS
   3151 
   3152 fi
   3153 fi
   3154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3155 if test -n "$ac_ct_CC"; then
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3157 $as_echo "$ac_ct_CC" >&6; }
   3158 else
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3160 $as_echo "no" >&6; }
   3161 fi
   3162 
   3163 
   3164   test -n "$ac_ct_CC" && break
   3165 done
   3166 
   3167   if test "x$ac_ct_CC" = x; then
   3168     CC=""
   3169   else
   3170     case $cross_compiling:$ac_tool_warned in
   3171 yes:)
   3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3174 ac_tool_warned=yes ;;
   3175 esac
   3176     CC=$ac_ct_CC
   3177   fi
   3178 fi
   3179 
   3180 fi
   3181 
   3182 
   3183 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3185 as_fn_error $? "no acceptable C compiler found in \$PATH
   3186 See \`config.log' for more details" "$LINENO" 5; }
   3187 
   3188 # Provide some information about the compiler.
   3189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3190 set X $ac_compile
   3191 ac_compiler=$2
   3192 for ac_option in --version -v -V -qversion; do
   3193   { { ac_try="$ac_compiler $ac_option >&5"
   3194 case "(($ac_try" in
   3195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3196   *) ac_try_echo=$ac_try;;
   3197 esac
   3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3199 $as_echo "$ac_try_echo"; } >&5
   3200   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3201   ac_status=$?
   3202   if test -s conftest.err; then
   3203     sed '10a\
   3204 ... rest of stderr output deleted ...
   3205          10q' conftest.err >conftest.er1
   3206     cat conftest.er1 >&5
   3207   fi
   3208   rm -f conftest.er1 conftest.err
   3209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3210   test $ac_status = 0; }
   3211 done
   3212 
   3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3214 /* end confdefs.h.  */
   3215 
   3216 int
   3217 main ()
   3218 {
   3219 
   3220   ;
   3221   return 0;
   3222 }
   3223 _ACEOF
   3224 ac_clean_files_save=$ac_clean_files
   3225 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3226 # Try to create an executable without -o first, disregard a.out.
   3227 # It will help us diagnose broken compilers, and finding out an intuition
   3228 # of exeext.
   3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3230 $as_echo_n "checking whether the C compiler works... " >&6; }
   3231 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3232 
   3233 # The possible output files:
   3234 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3235 
   3236 ac_rmfiles=
   3237 for ac_file in $ac_files
   3238 do
   3239   case $ac_file in
   3240     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3241     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3242   esac
   3243 done
   3244 rm -f $ac_rmfiles
   3245 
   3246 if { { ac_try="$ac_link_default"
   3247 case "(($ac_try" in
   3248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3249   *) ac_try_echo=$ac_try;;
   3250 esac
   3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3252 $as_echo "$ac_try_echo"; } >&5
   3253   (eval "$ac_link_default") 2>&5
   3254   ac_status=$?
   3255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3256   test $ac_status = 0; }; then :
   3257   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3258 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3259 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3260 # so that the user can short-circuit this test for compilers unknown to
   3261 # Autoconf.
   3262 for ac_file in $ac_files ''
   3263 do
   3264   test -f "$ac_file" || continue
   3265   case $ac_file in
   3266     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3267 	;;
   3268     [ab].out )
   3269 	# We found the default executable, but exeext='' is most
   3270 	# certainly right.
   3271 	break;;
   3272     *.* )
   3273 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3274 	then :; else
   3275 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3276 	fi
   3277 	# We set ac_cv_exeext here because the later test for it is not
   3278 	# safe: cross compilers may not add the suffix if given an `-o'
   3279 	# argument, so we may need to know it at that point already.
   3280 	# Even if this section looks crufty: it has the advantage of
   3281 	# actually working.
   3282 	break;;
   3283     * )
   3284 	break;;
   3285   esac
   3286 done
   3287 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3288 
   3289 else
   3290   ac_file=''
   3291 fi
   3292 if test -z "$ac_file"; then :
   3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3294 $as_echo "no" >&6; }
   3295 $as_echo "$as_me: failed program was:" >&5
   3296 sed 's/^/| /' conftest.$ac_ext >&5
   3297 
   3298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3300 as_fn_error 77 "C compiler cannot create executables
   3301 See \`config.log' for more details" "$LINENO" 5; }
   3302 else
   3303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3304 $as_echo "yes" >&6; }
   3305 fi
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3307 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3309 $as_echo "$ac_file" >&6; }
   3310 ac_exeext=$ac_cv_exeext
   3311 
   3312 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3313 ac_clean_files=$ac_clean_files_save
   3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3315 $as_echo_n "checking for suffix of executables... " >&6; }
   3316 if { { ac_try="$ac_link"
   3317 case "(($ac_try" in
   3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3319   *) ac_try_echo=$ac_try;;
   3320 esac
   3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3322 $as_echo "$ac_try_echo"; } >&5
   3323   (eval "$ac_link") 2>&5
   3324   ac_status=$?
   3325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3326   test $ac_status = 0; }; then :
   3327   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3328 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3329 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3330 # `rm'.
   3331 for ac_file in conftest.exe conftest conftest.*; do
   3332   test -f "$ac_file" || continue
   3333   case $ac_file in
   3334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3335     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3336 	  break;;
   3337     * ) break;;
   3338   esac
   3339 done
   3340 else
   3341   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3343 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3344 See \`config.log' for more details" "$LINENO" 5; }
   3345 fi
   3346 rm -f conftest conftest$ac_cv_exeext
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3348 $as_echo "$ac_cv_exeext" >&6; }
   3349 
   3350 rm -f conftest.$ac_ext
   3351 EXEEXT=$ac_cv_exeext
   3352 ac_exeext=$EXEEXT
   3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3354 /* end confdefs.h.  */
   3355 #include <stdio.h>
   3356 int
   3357 main ()
   3358 {
   3359 FILE *f = fopen ("conftest.out", "w");
   3360  return ferror (f) || fclose (f) != 0;
   3361 
   3362   ;
   3363   return 0;
   3364 }
   3365 _ACEOF
   3366 ac_clean_files="$ac_clean_files conftest.out"
   3367 # Check that the compiler produces executables we can run.  If not, either
   3368 # the compiler is broken, or we cross compile.
   3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3370 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3371 if test "$cross_compiling" != yes; then
   3372   { { ac_try="$ac_link"
   3373 case "(($ac_try" in
   3374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3375   *) ac_try_echo=$ac_try;;
   3376 esac
   3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3378 $as_echo "$ac_try_echo"; } >&5
   3379   (eval "$ac_link") 2>&5
   3380   ac_status=$?
   3381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3382   test $ac_status = 0; }
   3383   if { ac_try='./conftest$ac_cv_exeext'
   3384   { { case "(($ac_try" in
   3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3386   *) ac_try_echo=$ac_try;;
   3387 esac
   3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3389 $as_echo "$ac_try_echo"; } >&5
   3390   (eval "$ac_try") 2>&5
   3391   ac_status=$?
   3392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3393   test $ac_status = 0; }; }; then
   3394     cross_compiling=no
   3395   else
   3396     if test "$cross_compiling" = maybe; then
   3397 	cross_compiling=yes
   3398     else
   3399 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3401 as_fn_error $? "cannot run C compiled programs.
   3402 If you meant to cross compile, use \`--host'.
   3403 See \`config.log' for more details" "$LINENO" 5; }
   3404     fi
   3405   fi
   3406 fi
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3408 $as_echo "$cross_compiling" >&6; }
   3409 
   3410 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3411 ac_clean_files=$ac_clean_files_save
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3413 $as_echo_n "checking for suffix of object files... " >&6; }
   3414 if ${ac_cv_objext+:} false; then :
   3415   $as_echo_n "(cached) " >&6
   3416 else
   3417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main ()
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 rm -f conftest.o conftest.obj
   3429 if { { ac_try="$ac_compile"
   3430 case "(($ac_try" in
   3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3432   *) ac_try_echo=$ac_try;;
   3433 esac
   3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3435 $as_echo "$ac_try_echo"; } >&5
   3436   (eval "$ac_compile") 2>&5
   3437   ac_status=$?
   3438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3439   test $ac_status = 0; }; then :
   3440   for ac_file in conftest.o conftest.obj conftest.*; do
   3441   test -f "$ac_file" || continue;
   3442   case $ac_file in
   3443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3444     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3445        break;;
   3446   esac
   3447 done
   3448 else
   3449   $as_echo "$as_me: failed program was:" >&5
   3450 sed 's/^/| /' conftest.$ac_ext >&5
   3451 
   3452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3454 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3455 See \`config.log' for more details" "$LINENO" 5; }
   3456 fi
   3457 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3458 fi
   3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3460 $as_echo "$ac_cv_objext" >&6; }
   3461 OBJEXT=$ac_cv_objext
   3462 ac_objext=$OBJEXT
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3464 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3465 if ${ac_cv_c_compiler_gnu+:} false; then :
   3466   $as_echo_n "(cached) " >&6
   3467 else
   3468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3469 /* end confdefs.h.  */
   3470 
   3471 int
   3472 main ()
   3473 {
   3474 #ifndef __GNUC__
   3475        choke me
   3476 #endif
   3477 
   3478   ;
   3479   return 0;
   3480 }
   3481 _ACEOF
   3482 if ac_fn_c_try_compile "$LINENO"; then :
   3483   ac_compiler_gnu=yes
   3484 else
   3485   ac_compiler_gnu=no
   3486 fi
   3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3489 
   3490 fi
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3492 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3493 if test $ac_compiler_gnu = yes; then
   3494   GCC=yes
   3495 else
   3496   GCC=
   3497 fi
   3498 ac_test_CFLAGS=${CFLAGS+set}
   3499 ac_save_CFLAGS=$CFLAGS
   3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3501 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3502 if ${ac_cv_prog_cc_g+:} false; then :
   3503   $as_echo_n "(cached) " >&6
   3504 else
   3505   ac_save_c_werror_flag=$ac_c_werror_flag
   3506    ac_c_werror_flag=yes
   3507    ac_cv_prog_cc_g=no
   3508    CFLAGS="-g"
   3509    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521   ac_cv_prog_cc_g=yes
   3522 else
   3523   CFLAGS=""
   3524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3525 /* end confdefs.h.  */
   3526 
   3527 int
   3528 main ()
   3529 {
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 if ac_fn_c_try_compile "$LINENO"; then :
   3536 
   3537 else
   3538   ac_c_werror_flag=$ac_save_c_werror_flag
   3539 	 CFLAGS="-g"
   3540 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main ()
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 if ac_fn_c_try_compile "$LINENO"; then :
   3552   ac_cv_prog_cc_g=yes
   3553 fi
   3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3555 fi
   3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3557 fi
   3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3559    ac_c_werror_flag=$ac_save_c_werror_flag
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3562 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3563 if test "$ac_test_CFLAGS" = set; then
   3564   CFLAGS=$ac_save_CFLAGS
   3565 elif test $ac_cv_prog_cc_g = yes; then
   3566   if test "$GCC" = yes; then
   3567     CFLAGS="-g -O2"
   3568   else
   3569     CFLAGS="-g"
   3570   fi
   3571 else
   3572   if test "$GCC" = yes; then
   3573     CFLAGS="-O2"
   3574   else
   3575     CFLAGS=
   3576   fi
   3577 fi
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3580 if ${ac_cv_prog_cc_c89+:} false; then :
   3581   $as_echo_n "(cached) " >&6
   3582 else
   3583   ac_cv_prog_cc_c89=no
   3584 ac_save_CC=$CC
   3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3586 /* end confdefs.h.  */
   3587 #include <stdarg.h>
   3588 #include <stdio.h>
   3589 #include <sys/types.h>
   3590 #include <sys/stat.h>
   3591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3592 struct buf { int x; };
   3593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3594 static char *e (p, i)
   3595      char **p;
   3596      int i;
   3597 {
   3598   return p[i];
   3599 }
   3600 static char *f (char * (*g) (char **, int), char **p, ...)
   3601 {
   3602   char *s;
   3603   va_list v;
   3604   va_start (v,p);
   3605   s = g (p, va_arg (v,int));
   3606   va_end (v);
   3607   return s;
   3608 }
   3609 
   3610 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3611    function prototypes and stuff, but not '\xHH' hex character constants.
   3612    These don't provoke an error unfortunately, instead are silently treated
   3613    as 'x'.  The following induces an error, until -std is added to get
   3614    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3615    array size at least.  It's necessary to write '\x00'==0 to get something
   3616    that's true only with -std.  */
   3617 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3618 
   3619 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3620    inside strings and character constants.  */
   3621 #define FOO(x) 'x'
   3622 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3623 
   3624 int test (int i, double x);
   3625 struct s1 {int (*f) (int a);};
   3626 struct s2 {int (*f) (double a);};
   3627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3628 int argc;
   3629 char **argv;
   3630 int
   3631 main ()
   3632 {
   3633 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3634   ;
   3635   return 0;
   3636 }
   3637 _ACEOF
   3638 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3639 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3640 do
   3641   CC="$ac_save_CC $ac_arg"
   3642   if ac_fn_c_try_compile "$LINENO"; then :
   3643   ac_cv_prog_cc_c89=$ac_arg
   3644 fi
   3645 rm -f core conftest.err conftest.$ac_objext
   3646   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3647 done
   3648 rm -f conftest.$ac_ext
   3649 CC=$ac_save_CC
   3650 
   3651 fi
   3652 # AC_CACHE_VAL
   3653 case "x$ac_cv_prog_cc_c89" in
   3654   x)
   3655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3656 $as_echo "none needed" >&6; } ;;
   3657   xno)
   3658     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3659 $as_echo "unsupported" >&6; } ;;
   3660   *)
   3661     CC="$CC $ac_cv_prog_cc_c89"
   3662     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3663 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3664 esac
   3665 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3666 
   3667 fi
   3668 
   3669 ac_ext=c
   3670 ac_cpp='$CPP $CPPFLAGS'
   3671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3674 
   3675 ac_ext=c
   3676 ac_cpp='$CPP $CPPFLAGS'
   3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3681 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3682 if ${am_cv_prog_cc_c_o+:} false; then :
   3683   $as_echo_n "(cached) " >&6
   3684 else
   3685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3686 /* end confdefs.h.  */
   3687 
   3688 int
   3689 main ()
   3690 {
   3691 
   3692   ;
   3693   return 0;
   3694 }
   3695 _ACEOF
   3696   # Make sure it works both with $CC and with simple cc.
   3697   # Following AC_PROG_CC_C_O, we do the test twice because some
   3698   # compilers refuse to overwrite an existing .o file with -o,
   3699   # though they will create one.
   3700   am_cv_prog_cc_c_o=yes
   3701   for am_i in 1 2; do
   3702     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3703    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3704    ac_status=$?
   3705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3706    (exit $ac_status); } \
   3707          && test -f conftest2.$ac_objext; then
   3708       : OK
   3709     else
   3710       am_cv_prog_cc_c_o=no
   3711       break
   3712     fi
   3713   done
   3714   rm -f core conftest*
   3715   unset am_i
   3716 fi
   3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3718 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3719 if test "$am_cv_prog_cc_c_o" != yes; then
   3720    # Losing compiler, so override with the script.
   3721    # FIXME: It is wrong to rewrite CC.
   3722    # But if we don't then we get into trouble of one sort or another.
   3723    # A longer-term fix would be to have automake use am__CC in this case,
   3724    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3725    CC="$am_aux_dir/compile $CC"
   3726 fi
   3727 ac_ext=c
   3728 ac_cpp='$CPP $CPPFLAGS'
   3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3732 
   3733 
   3734 depcc="$CC"   am_compiler_list=
   3735 
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3737 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3738 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3739   $as_echo_n "(cached) " >&6
   3740 else
   3741   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3742   # We make a subdir and do the tests there.  Otherwise we can end up
   3743   # making bogus files that we don't know about and never remove.  For
   3744   # instance it was reported that on HP-UX the gcc test will end up
   3745   # making a dummy file named 'D' -- because '-MD' means "put the output
   3746   # in D".
   3747   rm -rf conftest.dir
   3748   mkdir conftest.dir
   3749   # Copy depcomp to subdir because otherwise we won't find it if we're
   3750   # using a relative directory.
   3751   cp "$am_depcomp" conftest.dir
   3752   cd conftest.dir
   3753   # We will build objects and dependencies in a subdirectory because
   3754   # it helps to detect inapplicable dependency modes.  For instance
   3755   # both Tru64's cc and ICC support -MD to output dependencies as a
   3756   # side effect of compilation, but ICC will put the dependencies in
   3757   # the current directory while Tru64 will put them in the object
   3758   # directory.
   3759   mkdir sub
   3760 
   3761   am_cv_CC_dependencies_compiler_type=none
   3762   if test "$am_compiler_list" = ""; then
   3763      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3764   fi
   3765   am__universal=false
   3766   case " $depcc " in #(
   3767      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3768      esac
   3769 
   3770   for depmode in $am_compiler_list; do
   3771     # Setup a source with many dependencies, because some compilers
   3772     # like to wrap large dependency lists on column 80 (with \), and
   3773     # we should not choose a depcomp mode which is confused by this.
   3774     #
   3775     # We need to recreate these files for each test, as the compiler may
   3776     # overwrite some of them when testing with obscure command lines.
   3777     # This happens at least with the AIX C compiler.
   3778     : > sub/conftest.c
   3779     for i in 1 2 3 4 5 6; do
   3780       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3781       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3782       # Solaris 10 /bin/sh.
   3783       echo '/* dummy */' > sub/conftst$i.h
   3784     done
   3785     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3786 
   3787     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3788     # mode.  It turns out that the SunPro C++ compiler does not properly
   3789     # handle '-M -o', and we need to detect this.  Also, some Intel
   3790     # versions had trouble with output in subdirs.
   3791     am__obj=sub/conftest.${OBJEXT-o}
   3792     am__minus_obj="-o $am__obj"
   3793     case $depmode in
   3794     gcc)
   3795       # This depmode causes a compiler race in universal mode.
   3796       test "$am__universal" = false || continue
   3797       ;;
   3798     nosideeffect)
   3799       # After this tag, mechanisms are not by side-effect, so they'll
   3800       # only be used when explicitly requested.
   3801       if test "x$enable_dependency_tracking" = xyes; then
   3802 	continue
   3803       else
   3804 	break
   3805       fi
   3806       ;;
   3807     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3808       # This compiler won't grok '-c -o', but also, the minuso test has
   3809       # not run yet.  These depmodes are late enough in the game, and
   3810       # so weak that their functioning should not be impacted.
   3811       am__obj=conftest.${OBJEXT-o}
   3812       am__minus_obj=
   3813       ;;
   3814     none) break ;;
   3815     esac
   3816     if depmode=$depmode \
   3817        source=sub/conftest.c object=$am__obj \
   3818        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3819        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3820          >/dev/null 2>conftest.err &&
   3821        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3822        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3823        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3824        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3825       # icc doesn't choke on unknown options, it will just issue warnings
   3826       # or remarks (even with -Werror).  So we grep stderr for any message
   3827       # that says an option was ignored or not supported.
   3828       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3829       #   icc: Command line warning: ignoring option '-M'; no argument required
   3830       # The diagnosis changed in icc 8.0:
   3831       #   icc: Command line remark: option '-MP' not supported
   3832       if (grep 'ignoring option' conftest.err ||
   3833           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3834         am_cv_CC_dependencies_compiler_type=$depmode
   3835         break
   3836       fi
   3837     fi
   3838   done
   3839 
   3840   cd ..
   3841   rm -rf conftest.dir
   3842 else
   3843   am_cv_CC_dependencies_compiler_type=none
   3844 fi
   3845 
   3846 fi
   3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3848 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3849 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3850 
   3851  if
   3852   test "x$enable_dependency_tracking" != xno \
   3853   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3854   am__fastdepCC_TRUE=
   3855   am__fastdepCC_FALSE='#'
   3856 else
   3857   am__fastdepCC_TRUE='#'
   3858   am__fastdepCC_FALSE=
   3859 fi
   3860 
   3861 
   3862    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3863 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3864 if ${ac_cv_prog_cc_c99+:} false; then :
   3865   $as_echo_n "(cached) " >&6
   3866 else
   3867   ac_cv_prog_cc_c99=no
   3868 ac_save_CC=$CC
   3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3870 /* end confdefs.h.  */
   3871 #include <stdarg.h>
   3872 #include <stdbool.h>
   3873 #include <stdlib.h>
   3874 #include <wchar.h>
   3875 #include <stdio.h>
   3876 
   3877 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3878 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3879 #define showlist(...) puts (#__VA_ARGS__)
   3880 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3881 static void
   3882 test_varargs_macros (void)
   3883 {
   3884   int x = 1234;
   3885   int y = 5678;
   3886   debug ("Flag");
   3887   debug ("X = %d\n", x);
   3888   showlist (The first, second, and third items.);
   3889   report (x>y, "x is %d but y is %d", x, y);
   3890 }
   3891 
   3892 // Check long long types.
   3893 #define BIG64 18446744073709551615ull
   3894 #define BIG32 4294967295ul
   3895 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3896 #if !BIG_OK
   3897   your preprocessor is broken;
   3898 #endif
   3899 #if BIG_OK
   3900 #else
   3901   your preprocessor is broken;
   3902 #endif
   3903 static long long int bignum = -9223372036854775807LL;
   3904 static unsigned long long int ubignum = BIG64;
   3905 
   3906 struct incomplete_array
   3907 {
   3908   int datasize;
   3909   double data[];
   3910 };
   3911 
   3912 struct named_init {
   3913   int number;
   3914   const wchar_t *name;
   3915   double average;
   3916 };
   3917 
   3918 typedef const char *ccp;
   3919 
   3920 static inline int
   3921 test_restrict (ccp restrict text)
   3922 {
   3923   // See if C++-style comments work.
   3924   // Iterate through items via the restricted pointer.
   3925   // Also check for declarations in for loops.
   3926   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3927     continue;
   3928   return 0;
   3929 }
   3930 
   3931 // Check varargs and va_copy.
   3932 static void
   3933 test_varargs (const char *format, ...)
   3934 {
   3935   va_list args;
   3936   va_start (args, format);
   3937   va_list args_copy;
   3938   va_copy (args_copy, args);
   3939 
   3940   const char *str;
   3941   int number;
   3942   float fnumber;
   3943 
   3944   while (*format)
   3945     {
   3946       switch (*format++)
   3947 	{
   3948 	case 's': // string
   3949 	  str = va_arg (args_copy, const char *);
   3950 	  break;
   3951 	case 'd': // int
   3952 	  number = va_arg (args_copy, int);
   3953 	  break;
   3954 	case 'f': // float
   3955 	  fnumber = va_arg (args_copy, double);
   3956 	  break;
   3957 	default:
   3958 	  break;
   3959 	}
   3960     }
   3961   va_end (args_copy);
   3962   va_end (args);
   3963 }
   3964 
   3965 int
   3966 main ()
   3967 {
   3968 
   3969   // Check bool.
   3970   _Bool success = false;
   3971 
   3972   // Check restrict.
   3973   if (test_restrict ("String literal") == 0)
   3974     success = true;
   3975   char *restrict newvar = "Another string";
   3976 
   3977   // Check varargs.
   3978   test_varargs ("s, d' f .", "string", 65, 34.234);
   3979   test_varargs_macros ();
   3980 
   3981   // Check flexible array members.
   3982   struct incomplete_array *ia =
   3983     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3984   ia->datasize = 10;
   3985   for (int i = 0; i < ia->datasize; ++i)
   3986     ia->data[i] = i * 1.234;
   3987 
   3988   // Check named initializers.
   3989   struct named_init ni = {
   3990     .number = 34,
   3991     .name = L"Test wide string",
   3992     .average = 543.34343,
   3993   };
   3994 
   3995   ni.number = 58;
   3996 
   3997   int dynamic_array[ni.number];
   3998   dynamic_array[ni.number - 1] = 543;
   3999 
   4000   // work around unused variable warnings
   4001   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4002 	  || dynamic_array[ni.number - 1] != 543);
   4003 
   4004   ;
   4005   return 0;
   4006 }
   4007 _ACEOF
   4008 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4009 do
   4010   CC="$ac_save_CC $ac_arg"
   4011   if ac_fn_c_try_compile "$LINENO"; then :
   4012   ac_cv_prog_cc_c99=$ac_arg
   4013 fi
   4014 rm -f core conftest.err conftest.$ac_objext
   4015   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4016 done
   4017 rm -f conftest.$ac_ext
   4018 CC=$ac_save_CC
   4019 
   4020 fi
   4021 # AC_CACHE_VAL
   4022 case "x$ac_cv_prog_cc_c99" in
   4023   x)
   4024     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4025 $as_echo "none needed" >&6; } ;;
   4026   xno)
   4027     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4028 $as_echo "unsupported" >&6; } ;;
   4029   *)
   4030     CC="$CC $ac_cv_prog_cc_c99"
   4031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4032 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4033 esac
   4034 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4035 
   4036 fi
   4037 
   4038 
   4039 
   4040 ac_ext=c
   4041 ac_cpp='$CPP $CPPFLAGS'
   4042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4046 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4047 # On Suns, sometimes $CPP names a directory.
   4048 if test -n "$CPP" && test -d "$CPP"; then
   4049   CPP=
   4050 fi
   4051 if test -z "$CPP"; then
   4052   if ${ac_cv_prog_CPP+:} false; then :
   4053   $as_echo_n "(cached) " >&6
   4054 else
   4055       # Double quotes because CPP needs to be expanded
   4056     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4057     do
   4058       ac_preproc_ok=false
   4059 for ac_c_preproc_warn_flag in '' yes
   4060 do
   4061   # Use a header file that comes with gcc, so configuring glibc
   4062   # with a fresh cross-compiler works.
   4063   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4064   # <limits.h> exists even on freestanding compilers.
   4065   # On the NeXT, cc -E runs the code through the compiler's parser,
   4066   # not just through cpp. "Syntax error" is here to catch this case.
   4067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4068 /* end confdefs.h.  */
   4069 #ifdef __STDC__
   4070 # include <limits.h>
   4071 #else
   4072 # include <assert.h>
   4073 #endif
   4074 		     Syntax error
   4075 _ACEOF
   4076 if ac_fn_c_try_cpp "$LINENO"; then :
   4077 
   4078 else
   4079   # Broken: fails on valid input.
   4080 continue
   4081 fi
   4082 rm -f conftest.err conftest.i conftest.$ac_ext
   4083 
   4084   # OK, works on sane cases.  Now check whether nonexistent headers
   4085   # can be detected and how.
   4086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4087 /* end confdefs.h.  */
   4088 #include <ac_nonexistent.h>
   4089 _ACEOF
   4090 if ac_fn_c_try_cpp "$LINENO"; then :
   4091   # Broken: success on invalid input.
   4092 continue
   4093 else
   4094   # Passes both tests.
   4095 ac_preproc_ok=:
   4096 break
   4097 fi
   4098 rm -f conftest.err conftest.i conftest.$ac_ext
   4099 
   4100 done
   4101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4102 rm -f conftest.i conftest.err conftest.$ac_ext
   4103 if $ac_preproc_ok; then :
   4104   break
   4105 fi
   4106 
   4107     done
   4108     ac_cv_prog_CPP=$CPP
   4109 
   4110 fi
   4111   CPP=$ac_cv_prog_CPP
   4112 else
   4113   ac_cv_prog_CPP=$CPP
   4114 fi
   4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4116 $as_echo "$CPP" >&6; }
   4117 ac_preproc_ok=false
   4118 for ac_c_preproc_warn_flag in '' yes
   4119 do
   4120   # Use a header file that comes with gcc, so configuring glibc
   4121   # with a fresh cross-compiler works.
   4122   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4123   # <limits.h> exists even on freestanding compilers.
   4124   # On the NeXT, cc -E runs the code through the compiler's parser,
   4125   # not just through cpp. "Syntax error" is here to catch this case.
   4126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4127 /* end confdefs.h.  */
   4128 #ifdef __STDC__
   4129 # include <limits.h>
   4130 #else
   4131 # include <assert.h>
   4132 #endif
   4133 		     Syntax error
   4134 _ACEOF
   4135 if ac_fn_c_try_cpp "$LINENO"; then :
   4136 
   4137 else
   4138   # Broken: fails on valid input.
   4139 continue
   4140 fi
   4141 rm -f conftest.err conftest.i conftest.$ac_ext
   4142 
   4143   # OK, works on sane cases.  Now check whether nonexistent headers
   4144   # can be detected and how.
   4145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4146 /* end confdefs.h.  */
   4147 #include <ac_nonexistent.h>
   4148 _ACEOF
   4149 if ac_fn_c_try_cpp "$LINENO"; then :
   4150   # Broken: success on invalid input.
   4151 continue
   4152 else
   4153   # Passes both tests.
   4154 ac_preproc_ok=:
   4155 break
   4156 fi
   4157 rm -f conftest.err conftest.i conftest.$ac_ext
   4158 
   4159 done
   4160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4161 rm -f conftest.i conftest.err conftest.$ac_ext
   4162 if $ac_preproc_ok; then :
   4163 
   4164 else
   4165   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4167 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4168 See \`config.log' for more details" "$LINENO" 5; }
   4169 fi
   4170 
   4171 ac_ext=c
   4172 ac_cpp='$CPP $CPPFLAGS'
   4173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4176 
   4177 
   4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4179 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4180 if ${ac_cv_path_GREP+:} false; then :
   4181   $as_echo_n "(cached) " >&6
   4182 else
   4183   if test -z "$GREP"; then
   4184   ac_path_GREP_found=false
   4185   # Loop through the user's path and test for each of PROGNAME-LIST
   4186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4188 do
   4189   IFS=$as_save_IFS
   4190   test -z "$as_dir" && as_dir=.
   4191     for ac_prog in grep ggrep; do
   4192     for ac_exec_ext in '' $ac_executable_extensions; do
   4193       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4194       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4195 # Check for GNU ac_path_GREP and select it if it is found.
   4196   # Check for GNU $ac_path_GREP
   4197 case `"$ac_path_GREP" --version 2>&1` in
   4198 *GNU*)
   4199   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4200 *)
   4201   ac_count=0
   4202   $as_echo_n 0123456789 >"conftest.in"
   4203   while :
   4204   do
   4205     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4206     mv "conftest.tmp" "conftest.in"
   4207     cp "conftest.in" "conftest.nl"
   4208     $as_echo 'GREP' >> "conftest.nl"
   4209     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4210     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4211     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4212     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4213       # Best one so far, save it but keep looking for a better one
   4214       ac_cv_path_GREP="$ac_path_GREP"
   4215       ac_path_GREP_max=$ac_count
   4216     fi
   4217     # 10*(2^10) chars as input seems more than enough
   4218     test $ac_count -gt 10 && break
   4219   done
   4220   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4221 esac
   4222 
   4223       $ac_path_GREP_found && break 3
   4224     done
   4225   done
   4226   done
   4227 IFS=$as_save_IFS
   4228   if test -z "$ac_cv_path_GREP"; then
   4229     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4230   fi
   4231 else
   4232   ac_cv_path_GREP=$GREP
   4233 fi
   4234 
   4235 fi
   4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4237 $as_echo "$ac_cv_path_GREP" >&6; }
   4238  GREP="$ac_cv_path_GREP"
   4239 
   4240 
   4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4242 $as_echo_n "checking for egrep... " >&6; }
   4243 if ${ac_cv_path_EGREP+:} false; then :
   4244   $as_echo_n "(cached) " >&6
   4245 else
   4246   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4247    then ac_cv_path_EGREP="$GREP -E"
   4248    else
   4249      if test -z "$EGREP"; then
   4250   ac_path_EGREP_found=false
   4251   # Loop through the user's path and test for each of PROGNAME-LIST
   4252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4253 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4254 do
   4255   IFS=$as_save_IFS
   4256   test -z "$as_dir" && as_dir=.
   4257     for ac_prog in egrep; do
   4258     for ac_exec_ext in '' $ac_executable_extensions; do
   4259       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4260       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4261 # Check for GNU ac_path_EGREP and select it if it is found.
   4262   # Check for GNU $ac_path_EGREP
   4263 case `"$ac_path_EGREP" --version 2>&1` in
   4264 *GNU*)
   4265   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4266 *)
   4267   ac_count=0
   4268   $as_echo_n 0123456789 >"conftest.in"
   4269   while :
   4270   do
   4271     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4272     mv "conftest.tmp" "conftest.in"
   4273     cp "conftest.in" "conftest.nl"
   4274     $as_echo 'EGREP' >> "conftest.nl"
   4275     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4276     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4277     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4278     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4279       # Best one so far, save it but keep looking for a better one
   4280       ac_cv_path_EGREP="$ac_path_EGREP"
   4281       ac_path_EGREP_max=$ac_count
   4282     fi
   4283     # 10*(2^10) chars as input seems more than enough
   4284     test $ac_count -gt 10 && break
   4285   done
   4286   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4287 esac
   4288 
   4289       $ac_path_EGREP_found && break 3
   4290     done
   4291   done
   4292   done
   4293 IFS=$as_save_IFS
   4294   if test -z "$ac_cv_path_EGREP"; then
   4295     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4296   fi
   4297 else
   4298   ac_cv_path_EGREP=$EGREP
   4299 fi
   4300 
   4301    fi
   4302 fi
   4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4304 $as_echo "$ac_cv_path_EGREP" >&6; }
   4305  EGREP="$ac_cv_path_EGREP"
   4306 
   4307 
   4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4309 $as_echo_n "checking for ANSI C header files... " >&6; }
   4310 if ${ac_cv_header_stdc+:} false; then :
   4311   $as_echo_n "(cached) " >&6
   4312 else
   4313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4314 /* end confdefs.h.  */
   4315 #include <stdlib.h>
   4316 #include <stdarg.h>
   4317 #include <string.h>
   4318 #include <float.h>
   4319 
   4320 int
   4321 main ()
   4322 {
   4323 
   4324   ;
   4325   return 0;
   4326 }
   4327 _ACEOF
   4328 if ac_fn_c_try_compile "$LINENO"; then :
   4329   ac_cv_header_stdc=yes
   4330 else
   4331   ac_cv_header_stdc=no
   4332 fi
   4333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4334 
   4335 if test $ac_cv_header_stdc = yes; then
   4336   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4338 /* end confdefs.h.  */
   4339 #include <string.h>
   4340 
   4341 _ACEOF
   4342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4343   $EGREP "memchr" >/dev/null 2>&1; then :
   4344 
   4345 else
   4346   ac_cv_header_stdc=no
   4347 fi
   4348 rm -f conftest*
   4349 
   4350 fi
   4351 
   4352 if test $ac_cv_header_stdc = yes; then
   4353   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4355 /* end confdefs.h.  */
   4356 #include <stdlib.h>
   4357 
   4358 _ACEOF
   4359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4360   $EGREP "free" >/dev/null 2>&1; then :
   4361 
   4362 else
   4363   ac_cv_header_stdc=no
   4364 fi
   4365 rm -f conftest*
   4366 
   4367 fi
   4368 
   4369 if test $ac_cv_header_stdc = yes; then
   4370   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4371   if test "$cross_compiling" = yes; then :
   4372   :
   4373 else
   4374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 #include <ctype.h>
   4377 #include <stdlib.h>
   4378 #if ((' ' & 0x0FF) == 0x020)
   4379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4381 #else
   4382 # define ISLOWER(c) \
   4383 		   (('a' <= (c) && (c) <= 'i') \
   4384 		     || ('j' <= (c) && (c) <= 'r') \
   4385 		     || ('s' <= (c) && (c) <= 'z'))
   4386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4387 #endif
   4388 
   4389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4390 int
   4391 main ()
   4392 {
   4393   int i;
   4394   for (i = 0; i < 256; i++)
   4395     if (XOR (islower (i), ISLOWER (i))
   4396 	|| toupper (i) != TOUPPER (i))
   4397       return 2;
   4398   return 0;
   4399 }
   4400 _ACEOF
   4401 if ac_fn_c_try_run "$LINENO"; then :
   4402 
   4403 else
   4404   ac_cv_header_stdc=no
   4405 fi
   4406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4407   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4408 fi
   4409 
   4410 fi
   4411 fi
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4413 $as_echo "$ac_cv_header_stdc" >&6; }
   4414 if test $ac_cv_header_stdc = yes; then
   4415 
   4416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4417 
   4418 fi
   4419 
   4420 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4421 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4422 		  inttypes.h stdint.h unistd.h
   4423 do :
   4424   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4426 "
   4427 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4428   cat >>confdefs.h <<_ACEOF
   4429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4430 _ACEOF
   4431 
   4432 fi
   4433 
   4434 done
   4435 
   4436 
   4437 
   4438 
   4439 
   4440 
   4441 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4442 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4443   CLANGCC="yes"
   4444 else
   4445   CLANGCC="no"
   4446 fi
   4447 
   4448 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4449 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4450   INTELCC="yes"
   4451 else
   4452   INTELCC="no"
   4453 fi
   4454 
   4455 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4456 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4457   SUNCC="yes"
   4458 else
   4459   SUNCC="no"
   4460 fi
   4461 
   4462 
   4463 
   4464 
   4465 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4466 	if test -n "$ac_tool_prefix"; then
   4467   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4468 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4470 $as_echo_n "checking for $ac_word... " >&6; }
   4471 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4472   $as_echo_n "(cached) " >&6
   4473 else
   4474   case $PKG_CONFIG in
   4475   [\\/]* | ?:[\\/]*)
   4476   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4477   ;;
   4478   *)
   4479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4480 for as_dir in $PATH
   4481 do
   4482   IFS=$as_save_IFS
   4483   test -z "$as_dir" && as_dir=.
   4484     for ac_exec_ext in '' $ac_executable_extensions; do
   4485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4486     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4488     break 2
   4489   fi
   4490 done
   4491   done
   4492 IFS=$as_save_IFS
   4493 
   4494   ;;
   4495 esac
   4496 fi
   4497 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4498 if test -n "$PKG_CONFIG"; then
   4499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4500 $as_echo "$PKG_CONFIG" >&6; }
   4501 else
   4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4503 $as_echo "no" >&6; }
   4504 fi
   4505 
   4506 
   4507 fi
   4508 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4509   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4510   # Extract the first word of "pkg-config", so it can be a program name with args.
   4511 set dummy pkg-config; ac_word=$2
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4513 $as_echo_n "checking for $ac_word... " >&6; }
   4514 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4515   $as_echo_n "(cached) " >&6
   4516 else
   4517   case $ac_pt_PKG_CONFIG in
   4518   [\\/]* | ?:[\\/]*)
   4519   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4520   ;;
   4521   *)
   4522   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4523 for as_dir in $PATH
   4524 do
   4525   IFS=$as_save_IFS
   4526   test -z "$as_dir" && as_dir=.
   4527     for ac_exec_ext in '' $ac_executable_extensions; do
   4528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4529     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4531     break 2
   4532   fi
   4533 done
   4534   done
   4535 IFS=$as_save_IFS
   4536 
   4537   ;;
   4538 esac
   4539 fi
   4540 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4541 if test -n "$ac_pt_PKG_CONFIG"; then
   4542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4543 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4544 else
   4545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4546 $as_echo "no" >&6; }
   4547 fi
   4548 
   4549   if test "x$ac_pt_PKG_CONFIG" = x; then
   4550     PKG_CONFIG=""
   4551   else
   4552     case $cross_compiling:$ac_tool_warned in
   4553 yes:)
   4554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4556 ac_tool_warned=yes ;;
   4557 esac
   4558     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4559   fi
   4560 else
   4561   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4562 fi
   4563 
   4564 fi
   4565 if test -n "$PKG_CONFIG"; then
   4566 	_pkg_min_version=0.9.0
   4567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4568 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4569 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4571 $as_echo "yes" >&6; }
   4572 	else
   4573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4574 $as_echo "no" >&6; }
   4575 		PKG_CONFIG=""
   4576 	fi
   4577 
   4578 fi
   4579 # Make sure we can run config.sub.
   4580 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4581   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4582 
   4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4584 $as_echo_n "checking build system type... " >&6; }
   4585 if ${ac_cv_build+:} false; then :
   4586   $as_echo_n "(cached) " >&6
   4587 else
   4588   ac_build_alias=$build_alias
   4589 test "x$ac_build_alias" = x &&
   4590   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4591 test "x$ac_build_alias" = x &&
   4592   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4593 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4594   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4595 
   4596 fi
   4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4598 $as_echo "$ac_cv_build" >&6; }
   4599 case $ac_cv_build in
   4600 *-*-*) ;;
   4601 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4602 esac
   4603 build=$ac_cv_build
   4604 ac_save_IFS=$IFS; IFS='-'
   4605 set x $ac_cv_build
   4606 shift
   4607 build_cpu=$1
   4608 build_vendor=$2
   4609 shift; shift
   4610 # Remember, the first character of IFS is used to create $*,
   4611 # except with old shells:
   4612 build_os=$*
   4613 IFS=$ac_save_IFS
   4614 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4615 
   4616 
   4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4618 $as_echo_n "checking host system type... " >&6; }
   4619 if ${ac_cv_host+:} false; then :
   4620   $as_echo_n "(cached) " >&6
   4621 else
   4622   if test "x$host_alias" = x; then
   4623   ac_cv_host=$ac_cv_build
   4624 else
   4625   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4626     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4627 fi
   4628 
   4629 fi
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4631 $as_echo "$ac_cv_host" >&6; }
   4632 case $ac_cv_host in
   4633 *-*-*) ;;
   4634 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4635 esac
   4636 host=$ac_cv_host
   4637 ac_save_IFS=$IFS; IFS='-'
   4638 set x $ac_cv_host
   4639 shift
   4640 host_cpu=$1
   4641 host_vendor=$2
   4642 shift; shift
   4643 # Remember, the first character of IFS is used to create $*,
   4644 # except with old shells:
   4645 host_os=$*
   4646 IFS=$ac_save_IFS
   4647 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4648 
   4649 
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4651 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4652 if ${ac_cv_path_SED+:} false; then :
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4656      for ac_i in 1 2 3 4 5 6 7; do
   4657        ac_script="$ac_script$as_nl$ac_script"
   4658      done
   4659      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4660      { ac_script=; unset ac_script;}
   4661      if test -z "$SED"; then
   4662   ac_path_SED_found=false
   4663   # Loop through the user's path and test for each of PROGNAME-LIST
   4664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4665 for as_dir in $PATH
   4666 do
   4667   IFS=$as_save_IFS
   4668   test -z "$as_dir" && as_dir=.
   4669     for ac_prog in sed gsed; do
   4670     for ac_exec_ext in '' $ac_executable_extensions; do
   4671       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4672       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4673 # Check for GNU ac_path_SED and select it if it is found.
   4674   # Check for GNU $ac_path_SED
   4675 case `"$ac_path_SED" --version 2>&1` in
   4676 *GNU*)
   4677   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4678 *)
   4679   ac_count=0
   4680   $as_echo_n 0123456789 >"conftest.in"
   4681   while :
   4682   do
   4683     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4684     mv "conftest.tmp" "conftest.in"
   4685     cp "conftest.in" "conftest.nl"
   4686     $as_echo '' >> "conftest.nl"
   4687     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4688     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4689     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4690     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4691       # Best one so far, save it but keep looking for a better one
   4692       ac_cv_path_SED="$ac_path_SED"
   4693       ac_path_SED_max=$ac_count
   4694     fi
   4695     # 10*(2^10) chars as input seems more than enough
   4696     test $ac_count -gt 10 && break
   4697   done
   4698   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4699 esac
   4700 
   4701       $ac_path_SED_found && break 3
   4702     done
   4703   done
   4704   done
   4705 IFS=$as_save_IFS
   4706   if test -z "$ac_cv_path_SED"; then
   4707     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4708   fi
   4709 else
   4710   ac_cv_path_SED=$SED
   4711 fi
   4712 
   4713 fi
   4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4715 $as_echo "$ac_cv_path_SED" >&6; }
   4716  SED="$ac_cv_path_SED"
   4717   rm -f conftest.sed
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 # Check whether --enable-selective-werror was given.
   4725 if test "${enable_selective_werror+set}" = set; then :
   4726   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4727 else
   4728   SELECTIVE_WERROR=yes
   4729 fi
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4736 if test "x$SUNCC" = "xyes"; then
   4737     BASE_CFLAGS="-v"
   4738 else
   4739     BASE_CFLAGS=""
   4740 fi
   4741 
   4742 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 xorg_testset_save_CFLAGS="$CFLAGS"
   4757 
   4758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4761 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4762 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4763   $as_echo_n "(cached) " >&6
   4764 else
   4765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4766 /* end confdefs.h.  */
   4767 int i;
   4768 _ACEOF
   4769 if ac_fn_c_try_compile "$LINENO"; then :
   4770   xorg_cv_cc_flag_unknown_warning_option=yes
   4771 else
   4772   xorg_cv_cc_flag_unknown_warning_option=no
   4773 fi
   4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4775 fi
   4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4777 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4779 	CFLAGS="$xorg_testset_save_CFLAGS"
   4780 fi
   4781 
   4782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4785 	fi
   4786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4788 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4789 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4790   $as_echo_n "(cached) " >&6
   4791 else
   4792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4793 /* end confdefs.h.  */
   4794 int i;
   4795 _ACEOF
   4796 if ac_fn_c_try_compile "$LINENO"; then :
   4797   xorg_cv_cc_flag_unused_command_line_argument=yes
   4798 else
   4799   xorg_cv_cc_flag_unused_command_line_argument=no
   4800 fi
   4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4802 fi
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4804 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4806 	CFLAGS="$xorg_testset_save_CFLAGS"
   4807 fi
   4808 
   4809 found="no"
   4810 
   4811 	if test $found = "no" ; then
   4812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4814 		fi
   4815 
   4816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4818 		fi
   4819 
   4820 		CFLAGS="$CFLAGS -Wall"
   4821 
   4822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4823 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4824 		cacheid=xorg_cv_cc_flag__Wall
   4825 		if eval \${$cacheid+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4829 /* end confdefs.h.  */
   4830 int i;
   4831 int
   4832 main ()
   4833 {
   4834 
   4835   ;
   4836   return 0;
   4837 }
   4838 _ACEOF
   4839 if ac_fn_c_try_link "$LINENO"; then :
   4840   eval $cacheid=yes
   4841 else
   4842   eval $cacheid=no
   4843 fi
   4844 rm -f core conftest.err conftest.$ac_objext \
   4845     conftest$ac_exeext conftest.$ac_ext
   4846 fi
   4847 
   4848 
   4849 		CFLAGS="$xorg_testset_save_CFLAGS"
   4850 
   4851 		eval supported=\$$cacheid
   4852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4853 $as_echo "$supported" >&6; }
   4854 		if test "$supported" = "yes" ; then
   4855 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4856 			found="yes"
   4857 		fi
   4858 	fi
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 xorg_testset_save_CFLAGS="$CFLAGS"
   4875 
   4876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4879 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4880 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4881   $as_echo_n "(cached) " >&6
   4882 else
   4883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4884 /* end confdefs.h.  */
   4885 int i;
   4886 _ACEOF
   4887 if ac_fn_c_try_compile "$LINENO"; then :
   4888   xorg_cv_cc_flag_unknown_warning_option=yes
   4889 else
   4890   xorg_cv_cc_flag_unknown_warning_option=no
   4891 fi
   4892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4893 fi
   4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4895 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4896 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4897 	CFLAGS="$xorg_testset_save_CFLAGS"
   4898 fi
   4899 
   4900 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4901 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4902 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4903 	fi
   4904 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4906 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4907 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4908   $as_echo_n "(cached) " >&6
   4909 else
   4910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4911 /* end confdefs.h.  */
   4912 int i;
   4913 _ACEOF
   4914 if ac_fn_c_try_compile "$LINENO"; then :
   4915   xorg_cv_cc_flag_unused_command_line_argument=yes
   4916 else
   4917   xorg_cv_cc_flag_unused_command_line_argument=no
   4918 fi
   4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4920 fi
   4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4922 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4924 	CFLAGS="$xorg_testset_save_CFLAGS"
   4925 fi
   4926 
   4927 found="no"
   4928 
   4929 	if test $found = "no" ; then
   4930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4932 		fi
   4933 
   4934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4936 		fi
   4937 
   4938 		CFLAGS="$CFLAGS -Wpointer-arith"
   4939 
   4940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4941 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4942 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4943 		if eval \${$cacheid+:} false; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4947 /* end confdefs.h.  */
   4948 int i;
   4949 int
   4950 main ()
   4951 {
   4952 
   4953   ;
   4954   return 0;
   4955 }
   4956 _ACEOF
   4957 if ac_fn_c_try_link "$LINENO"; then :
   4958   eval $cacheid=yes
   4959 else
   4960   eval $cacheid=no
   4961 fi
   4962 rm -f core conftest.err conftest.$ac_objext \
   4963     conftest$ac_exeext conftest.$ac_ext
   4964 fi
   4965 
   4966 
   4967 		CFLAGS="$xorg_testset_save_CFLAGS"
   4968 
   4969 		eval supported=\$$cacheid
   4970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4971 $as_echo "$supported" >&6; }
   4972 		if test "$supported" = "yes" ; then
   4973 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4974 			found="yes"
   4975 		fi
   4976 	fi
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 xorg_testset_save_CFLAGS="$CFLAGS"
   4993 
   4994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4997 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4998 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4999   $as_echo_n "(cached) " >&6
   5000 else
   5001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5002 /* end confdefs.h.  */
   5003 int i;
   5004 _ACEOF
   5005 if ac_fn_c_try_compile "$LINENO"; then :
   5006   xorg_cv_cc_flag_unknown_warning_option=yes
   5007 else
   5008   xorg_cv_cc_flag_unknown_warning_option=no
   5009 fi
   5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5011 fi
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5013 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5015 	CFLAGS="$xorg_testset_save_CFLAGS"
   5016 fi
   5017 
   5018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5021 	fi
   5022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5024 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5025 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5029 /* end confdefs.h.  */
   5030 int i;
   5031 _ACEOF
   5032 if ac_fn_c_try_compile "$LINENO"; then :
   5033   xorg_cv_cc_flag_unused_command_line_argument=yes
   5034 else
   5035   xorg_cv_cc_flag_unused_command_line_argument=no
   5036 fi
   5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5038 fi
   5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5040 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5042 	CFLAGS="$xorg_testset_save_CFLAGS"
   5043 fi
   5044 
   5045 found="no"
   5046 
   5047 	if test $found = "no" ; then
   5048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5050 		fi
   5051 
   5052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5054 		fi
   5055 
   5056 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5057 
   5058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5059 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5060 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5061 		if eval \${$cacheid+:} false; then :
   5062   $as_echo_n "(cached) " >&6
   5063 else
   5064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5065 /* end confdefs.h.  */
   5066 int i;
   5067 int
   5068 main ()
   5069 {
   5070 
   5071   ;
   5072   return 0;
   5073 }
   5074 _ACEOF
   5075 if ac_fn_c_try_link "$LINENO"; then :
   5076   eval $cacheid=yes
   5077 else
   5078   eval $cacheid=no
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext \
   5081     conftest$ac_exeext conftest.$ac_ext
   5082 fi
   5083 
   5084 
   5085 		CFLAGS="$xorg_testset_save_CFLAGS"
   5086 
   5087 		eval supported=\$$cacheid
   5088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5089 $as_echo "$supported" >&6; }
   5090 		if test "$supported" = "yes" ; then
   5091 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5092 			found="yes"
   5093 		fi
   5094 	fi
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 xorg_testset_save_CFLAGS="$CFLAGS"
   5111 
   5112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5115 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5116 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5117   $as_echo_n "(cached) " >&6
   5118 else
   5119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5120 /* end confdefs.h.  */
   5121 int i;
   5122 _ACEOF
   5123 if ac_fn_c_try_compile "$LINENO"; then :
   5124   xorg_cv_cc_flag_unknown_warning_option=yes
   5125 else
   5126   xorg_cv_cc_flag_unknown_warning_option=no
   5127 fi
   5128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5129 fi
   5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5131 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5133 	CFLAGS="$xorg_testset_save_CFLAGS"
   5134 fi
   5135 
   5136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5139 	fi
   5140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5142 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5143 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5144   $as_echo_n "(cached) " >&6
   5145 else
   5146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5147 /* end confdefs.h.  */
   5148 int i;
   5149 _ACEOF
   5150 if ac_fn_c_try_compile "$LINENO"; then :
   5151   xorg_cv_cc_flag_unused_command_line_argument=yes
   5152 else
   5153   xorg_cv_cc_flag_unused_command_line_argument=no
   5154 fi
   5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5156 fi
   5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5158 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5160 	CFLAGS="$xorg_testset_save_CFLAGS"
   5161 fi
   5162 
   5163 found="no"
   5164 
   5165 	if test $found = "no" ; then
   5166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5168 		fi
   5169 
   5170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5172 		fi
   5173 
   5174 		CFLAGS="$CFLAGS -Wformat=2"
   5175 
   5176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5177 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5178 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5179 		if eval \${$cacheid+:} false; then :
   5180   $as_echo_n "(cached) " >&6
   5181 else
   5182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5183 /* end confdefs.h.  */
   5184 int i;
   5185 int
   5186 main ()
   5187 {
   5188 
   5189   ;
   5190   return 0;
   5191 }
   5192 _ACEOF
   5193 if ac_fn_c_try_link "$LINENO"; then :
   5194   eval $cacheid=yes
   5195 else
   5196   eval $cacheid=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext \
   5199     conftest$ac_exeext conftest.$ac_ext
   5200 fi
   5201 
   5202 
   5203 		CFLAGS="$xorg_testset_save_CFLAGS"
   5204 
   5205 		eval supported=\$$cacheid
   5206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5207 $as_echo "$supported" >&6; }
   5208 		if test "$supported" = "yes" ; then
   5209 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5210 			found="yes"
   5211 		fi
   5212 	fi
   5213 
   5214 	if test $found = "no" ; then
   5215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5217 		fi
   5218 
   5219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5221 		fi
   5222 
   5223 		CFLAGS="$CFLAGS -Wformat"
   5224 
   5225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5226 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5227 		cacheid=xorg_cv_cc_flag__Wformat
   5228 		if eval \${$cacheid+:} false; then :
   5229   $as_echo_n "(cached) " >&6
   5230 else
   5231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5232 /* end confdefs.h.  */
   5233 int i;
   5234 int
   5235 main ()
   5236 {
   5237 
   5238   ;
   5239   return 0;
   5240 }
   5241 _ACEOF
   5242 if ac_fn_c_try_link "$LINENO"; then :
   5243   eval $cacheid=yes
   5244 else
   5245   eval $cacheid=no
   5246 fi
   5247 rm -f core conftest.err conftest.$ac_objext \
   5248     conftest$ac_exeext conftest.$ac_ext
   5249 fi
   5250 
   5251 
   5252 		CFLAGS="$xorg_testset_save_CFLAGS"
   5253 
   5254 		eval supported=\$$cacheid
   5255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5256 $as_echo "$supported" >&6; }
   5257 		if test "$supported" = "yes" ; then
   5258 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5259 			found="yes"
   5260 		fi
   5261 	fi
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 xorg_testset_save_CFLAGS="$CFLAGS"
   5280 
   5281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5286   $as_echo_n "(cached) " >&6
   5287 else
   5288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5289 /* end confdefs.h.  */
   5290 int i;
   5291 _ACEOF
   5292 if ac_fn_c_try_compile "$LINENO"; then :
   5293   xorg_cv_cc_flag_unknown_warning_option=yes
   5294 else
   5295   xorg_cv_cc_flag_unknown_warning_option=no
   5296 fi
   5297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5298 fi
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5302 	CFLAGS="$xorg_testset_save_CFLAGS"
   5303 fi
   5304 
   5305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5308 	fi
   5309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5313   $as_echo_n "(cached) " >&6
   5314 else
   5315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5316 /* end confdefs.h.  */
   5317 int i;
   5318 _ACEOF
   5319 if ac_fn_c_try_compile "$LINENO"; then :
   5320   xorg_cv_cc_flag_unused_command_line_argument=yes
   5321 else
   5322   xorg_cv_cc_flag_unused_command_line_argument=no
   5323 fi
   5324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5325 fi
   5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5329 	CFLAGS="$xorg_testset_save_CFLAGS"
   5330 fi
   5331 
   5332 found="no"
   5333 
   5334 	if test $found = "no" ; then
   5335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5337 		fi
   5338 
   5339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5341 		fi
   5342 
   5343 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5344 
   5345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5346 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5347 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5348 		if eval \${$cacheid+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5352 /* end confdefs.h.  */
   5353 int i;
   5354 int
   5355 main ()
   5356 {
   5357 
   5358   ;
   5359   return 0;
   5360 }
   5361 _ACEOF
   5362 if ac_fn_c_try_link "$LINENO"; then :
   5363   eval $cacheid=yes
   5364 else
   5365   eval $cacheid=no
   5366 fi
   5367 rm -f core conftest.err conftest.$ac_objext \
   5368     conftest$ac_exeext conftest.$ac_ext
   5369 fi
   5370 
   5371 
   5372 		CFLAGS="$xorg_testset_save_CFLAGS"
   5373 
   5374 		eval supported=\$$cacheid
   5375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5376 $as_echo "$supported" >&6; }
   5377 		if test "$supported" = "yes" ; then
   5378 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5379 			found="yes"
   5380 		fi
   5381 	fi
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 xorg_testset_save_CFLAGS="$CFLAGS"
   5398 
   5399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5402 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5403 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5404   $as_echo_n "(cached) " >&6
   5405 else
   5406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5407 /* end confdefs.h.  */
   5408 int i;
   5409 _ACEOF
   5410 if ac_fn_c_try_compile "$LINENO"; then :
   5411   xorg_cv_cc_flag_unknown_warning_option=yes
   5412 else
   5413   xorg_cv_cc_flag_unknown_warning_option=no
   5414 fi
   5415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5416 fi
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5418 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5426 	fi
   5427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5429 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5430 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5431   $as_echo_n "(cached) " >&6
   5432 else
   5433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5434 /* end confdefs.h.  */
   5435 int i;
   5436 _ACEOF
   5437 if ac_fn_c_try_compile "$LINENO"; then :
   5438   xorg_cv_cc_flag_unused_command_line_argument=yes
   5439 else
   5440   xorg_cv_cc_flag_unused_command_line_argument=no
   5441 fi
   5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5443 fi
   5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5445 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5447 	CFLAGS="$xorg_testset_save_CFLAGS"
   5448 fi
   5449 
   5450 found="no"
   5451 
   5452 	if test $found = "no" ; then
   5453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5455 		fi
   5456 
   5457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5459 		fi
   5460 
   5461 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5462 
   5463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5464 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5465 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5466 		if eval \${$cacheid+:} false; then :
   5467   $as_echo_n "(cached) " >&6
   5468 else
   5469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5470 /* end confdefs.h.  */
   5471 int i;
   5472 int
   5473 main ()
   5474 {
   5475 
   5476   ;
   5477   return 0;
   5478 }
   5479 _ACEOF
   5480 if ac_fn_c_try_link "$LINENO"; then :
   5481   eval $cacheid=yes
   5482 else
   5483   eval $cacheid=no
   5484 fi
   5485 rm -f core conftest.err conftest.$ac_objext \
   5486     conftest$ac_exeext conftest.$ac_ext
   5487 fi
   5488 
   5489 
   5490 		CFLAGS="$xorg_testset_save_CFLAGS"
   5491 
   5492 		eval supported=\$$cacheid
   5493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5494 $as_echo "$supported" >&6; }
   5495 		if test "$supported" = "yes" ; then
   5496 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5497 			found="yes"
   5498 		fi
   5499 	fi
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 xorg_testset_save_CFLAGS="$CFLAGS"
   5516 
   5517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5522   $as_echo_n "(cached) " >&6
   5523 else
   5524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5525 /* end confdefs.h.  */
   5526 int i;
   5527 _ACEOF
   5528 if ac_fn_c_try_compile "$LINENO"; then :
   5529   xorg_cv_cc_flag_unknown_warning_option=yes
   5530 else
   5531   xorg_cv_cc_flag_unknown_warning_option=no
   5532 fi
   5533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5534 fi
   5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5538 	CFLAGS="$xorg_testset_save_CFLAGS"
   5539 fi
   5540 
   5541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5544 	fi
   5545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5552 /* end confdefs.h.  */
   5553 int i;
   5554 _ACEOF
   5555 if ac_fn_c_try_compile "$LINENO"; then :
   5556   xorg_cv_cc_flag_unused_command_line_argument=yes
   5557 else
   5558   xorg_cv_cc_flag_unused_command_line_argument=no
   5559 fi
   5560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5561 fi
   5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5565 	CFLAGS="$xorg_testset_save_CFLAGS"
   5566 fi
   5567 
   5568 found="no"
   5569 
   5570 	if test $found = "no" ; then
   5571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5573 		fi
   5574 
   5575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5577 		fi
   5578 
   5579 		CFLAGS="$CFLAGS -Wnested-externs"
   5580 
   5581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5582 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5583 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5584 		if eval \${$cacheid+:} false; then :
   5585   $as_echo_n "(cached) " >&6
   5586 else
   5587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5588 /* end confdefs.h.  */
   5589 int i;
   5590 int
   5591 main ()
   5592 {
   5593 
   5594   ;
   5595   return 0;
   5596 }
   5597 _ACEOF
   5598 if ac_fn_c_try_link "$LINENO"; then :
   5599   eval $cacheid=yes
   5600 else
   5601   eval $cacheid=no
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext \
   5604     conftest$ac_exeext conftest.$ac_ext
   5605 fi
   5606 
   5607 
   5608 		CFLAGS="$xorg_testset_save_CFLAGS"
   5609 
   5610 		eval supported=\$$cacheid
   5611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5612 $as_echo "$supported" >&6; }
   5613 		if test "$supported" = "yes" ; then
   5614 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5615 			found="yes"
   5616 		fi
   5617 	fi
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 xorg_testset_save_CFLAGS="$CFLAGS"
   5634 
   5635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5640   $as_echo_n "(cached) " >&6
   5641 else
   5642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5643 /* end confdefs.h.  */
   5644 int i;
   5645 _ACEOF
   5646 if ac_fn_c_try_compile "$LINENO"; then :
   5647   xorg_cv_cc_flag_unknown_warning_option=yes
   5648 else
   5649   xorg_cv_cc_flag_unknown_warning_option=no
   5650 fi
   5651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5652 fi
   5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5656 	CFLAGS="$xorg_testset_save_CFLAGS"
   5657 fi
   5658 
   5659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5662 	fi
   5663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5667   $as_echo_n "(cached) " >&6
   5668 else
   5669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5670 /* end confdefs.h.  */
   5671 int i;
   5672 _ACEOF
   5673 if ac_fn_c_try_compile "$LINENO"; then :
   5674   xorg_cv_cc_flag_unused_command_line_argument=yes
   5675 else
   5676   xorg_cv_cc_flag_unused_command_line_argument=no
   5677 fi
   5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5679 fi
   5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5683 	CFLAGS="$xorg_testset_save_CFLAGS"
   5684 fi
   5685 
   5686 found="no"
   5687 
   5688 	if test $found = "no" ; then
   5689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5691 		fi
   5692 
   5693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5695 		fi
   5696 
   5697 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5698 
   5699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5700 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5701 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5702 		if eval \${$cacheid+:} false; then :
   5703   $as_echo_n "(cached) " >&6
   5704 else
   5705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5706 /* end confdefs.h.  */
   5707 int i;
   5708 int
   5709 main ()
   5710 {
   5711 
   5712   ;
   5713   return 0;
   5714 }
   5715 _ACEOF
   5716 if ac_fn_c_try_link "$LINENO"; then :
   5717   eval $cacheid=yes
   5718 else
   5719   eval $cacheid=no
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext \
   5722     conftest$ac_exeext conftest.$ac_ext
   5723 fi
   5724 
   5725 
   5726 		CFLAGS="$xorg_testset_save_CFLAGS"
   5727 
   5728 		eval supported=\$$cacheid
   5729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5730 $as_echo "$supported" >&6; }
   5731 		if test "$supported" = "yes" ; then
   5732 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5733 			found="yes"
   5734 		fi
   5735 	fi
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 xorg_testset_save_CFLAGS="$CFLAGS"
   5752 
   5753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5761 /* end confdefs.h.  */
   5762 int i;
   5763 _ACEOF
   5764 if ac_fn_c_try_compile "$LINENO"; then :
   5765   xorg_cv_cc_flag_unknown_warning_option=yes
   5766 else
   5767   xorg_cv_cc_flag_unknown_warning_option=no
   5768 fi
   5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5770 fi
   5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5774 	CFLAGS="$xorg_testset_save_CFLAGS"
   5775 fi
   5776 
   5777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5780 	fi
   5781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5785   $as_echo_n "(cached) " >&6
   5786 else
   5787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5788 /* end confdefs.h.  */
   5789 int i;
   5790 _ACEOF
   5791 if ac_fn_c_try_compile "$LINENO"; then :
   5792   xorg_cv_cc_flag_unused_command_line_argument=yes
   5793 else
   5794   xorg_cv_cc_flag_unused_command_line_argument=no
   5795 fi
   5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5797 fi
   5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5801 	CFLAGS="$xorg_testset_save_CFLAGS"
   5802 fi
   5803 
   5804 found="no"
   5805 
   5806 	if test $found = "no" ; then
   5807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5809 		fi
   5810 
   5811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5813 		fi
   5814 
   5815 		CFLAGS="$CFLAGS -Wold-style-definition"
   5816 
   5817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5818 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5819 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5820 		if eval \${$cacheid+:} false; then :
   5821   $as_echo_n "(cached) " >&6
   5822 else
   5823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 int
   5827 main ()
   5828 {
   5829 
   5830   ;
   5831   return 0;
   5832 }
   5833 _ACEOF
   5834 if ac_fn_c_try_link "$LINENO"; then :
   5835   eval $cacheid=yes
   5836 else
   5837   eval $cacheid=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext \
   5840     conftest$ac_exeext conftest.$ac_ext
   5841 fi
   5842 
   5843 
   5844 		CFLAGS="$xorg_testset_save_CFLAGS"
   5845 
   5846 		eval supported=\$$cacheid
   5847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5848 $as_echo "$supported" >&6; }
   5849 		if test "$supported" = "yes" ; then
   5850 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5851 			found="yes"
   5852 		fi
   5853 	fi
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 xorg_testset_save_CFLAGS="$CFLAGS"
   5870 
   5871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5874 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5875 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5876   $as_echo_n "(cached) " >&6
   5877 else
   5878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5879 /* end confdefs.h.  */
   5880 int i;
   5881 _ACEOF
   5882 if ac_fn_c_try_compile "$LINENO"; then :
   5883   xorg_cv_cc_flag_unknown_warning_option=yes
   5884 else
   5885   xorg_cv_cc_flag_unknown_warning_option=no
   5886 fi
   5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5888 fi
   5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5890 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5892 	CFLAGS="$xorg_testset_save_CFLAGS"
   5893 fi
   5894 
   5895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5898 	fi
   5899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5901 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5902 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5903   $as_echo_n "(cached) " >&6
   5904 else
   5905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5906 /* end confdefs.h.  */
   5907 int i;
   5908 _ACEOF
   5909 if ac_fn_c_try_compile "$LINENO"; then :
   5910   xorg_cv_cc_flag_unused_command_line_argument=yes
   5911 else
   5912   xorg_cv_cc_flag_unused_command_line_argument=no
   5913 fi
   5914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5915 fi
   5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5917 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5919 	CFLAGS="$xorg_testset_save_CFLAGS"
   5920 fi
   5921 
   5922 found="no"
   5923 
   5924 	if test $found = "no" ; then
   5925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5927 		fi
   5928 
   5929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5931 		fi
   5932 
   5933 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5934 
   5935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5936 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5937 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5938 		if eval \${$cacheid+:} false; then :
   5939   $as_echo_n "(cached) " >&6
   5940 else
   5941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5942 /* end confdefs.h.  */
   5943 int i;
   5944 int
   5945 main ()
   5946 {
   5947 
   5948   ;
   5949   return 0;
   5950 }
   5951 _ACEOF
   5952 if ac_fn_c_try_link "$LINENO"; then :
   5953   eval $cacheid=yes
   5954 else
   5955   eval $cacheid=no
   5956 fi
   5957 rm -f core conftest.err conftest.$ac_objext \
   5958     conftest$ac_exeext conftest.$ac_ext
   5959 fi
   5960 
   5961 
   5962 		CFLAGS="$xorg_testset_save_CFLAGS"
   5963 
   5964 		eval supported=\$$cacheid
   5965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5966 $as_echo "$supported" >&6; }
   5967 		if test "$supported" = "yes" ; then
   5968 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5969 			found="yes"
   5970 		fi
   5971 	fi
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 # This chunk adds additional warnings that could catch undesired effects.
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 xorg_testset_save_CFLAGS="$CFLAGS"
   5992 
   5993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5998   $as_echo_n "(cached) " >&6
   5999 else
   6000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6001 /* end confdefs.h.  */
   6002 int i;
   6003 _ACEOF
   6004 if ac_fn_c_try_compile "$LINENO"; then :
   6005   xorg_cv_cc_flag_unknown_warning_option=yes
   6006 else
   6007   xorg_cv_cc_flag_unknown_warning_option=no
   6008 fi
   6009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6010 fi
   6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6014 	CFLAGS="$xorg_testset_save_CFLAGS"
   6015 fi
   6016 
   6017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6020 	fi
   6021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6025   $as_echo_n "(cached) " >&6
   6026 else
   6027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6028 /* end confdefs.h.  */
   6029 int i;
   6030 _ACEOF
   6031 if ac_fn_c_try_compile "$LINENO"; then :
   6032   xorg_cv_cc_flag_unused_command_line_argument=yes
   6033 else
   6034   xorg_cv_cc_flag_unused_command_line_argument=no
   6035 fi
   6036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6037 fi
   6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6041 	CFLAGS="$xorg_testset_save_CFLAGS"
   6042 fi
   6043 
   6044 found="no"
   6045 
   6046 	if test $found = "no" ; then
   6047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6049 		fi
   6050 
   6051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6053 		fi
   6054 
   6055 		CFLAGS="$CFLAGS -Wunused"
   6056 
   6057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6058 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6059 		cacheid=xorg_cv_cc_flag__Wunused
   6060 		if eval \${$cacheid+:} false; then :
   6061   $as_echo_n "(cached) " >&6
   6062 else
   6063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6064 /* end confdefs.h.  */
   6065 int i;
   6066 int
   6067 main ()
   6068 {
   6069 
   6070   ;
   6071   return 0;
   6072 }
   6073 _ACEOF
   6074 if ac_fn_c_try_link "$LINENO"; then :
   6075   eval $cacheid=yes
   6076 else
   6077   eval $cacheid=no
   6078 fi
   6079 rm -f core conftest.err conftest.$ac_objext \
   6080     conftest$ac_exeext conftest.$ac_ext
   6081 fi
   6082 
   6083 
   6084 		CFLAGS="$xorg_testset_save_CFLAGS"
   6085 
   6086 		eval supported=\$$cacheid
   6087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6088 $as_echo "$supported" >&6; }
   6089 		if test "$supported" = "yes" ; then
   6090 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6091 			found="yes"
   6092 		fi
   6093 	fi
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 xorg_testset_save_CFLAGS="$CFLAGS"
   6110 
   6111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6116   $as_echo_n "(cached) " >&6
   6117 else
   6118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 int i;
   6121 _ACEOF
   6122 if ac_fn_c_try_compile "$LINENO"; then :
   6123   xorg_cv_cc_flag_unknown_warning_option=yes
   6124 else
   6125   xorg_cv_cc_flag_unknown_warning_option=no
   6126 fi
   6127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6128 fi
   6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6132 	CFLAGS="$xorg_testset_save_CFLAGS"
   6133 fi
   6134 
   6135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6138 	fi
   6139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6143   $as_echo_n "(cached) " >&6
   6144 else
   6145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6146 /* end confdefs.h.  */
   6147 int i;
   6148 _ACEOF
   6149 if ac_fn_c_try_compile "$LINENO"; then :
   6150   xorg_cv_cc_flag_unused_command_line_argument=yes
   6151 else
   6152   xorg_cv_cc_flag_unused_command_line_argument=no
   6153 fi
   6154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6155 fi
   6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6159 	CFLAGS="$xorg_testset_save_CFLAGS"
   6160 fi
   6161 
   6162 found="no"
   6163 
   6164 	if test $found = "no" ; then
   6165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6167 		fi
   6168 
   6169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6171 		fi
   6172 
   6173 		CFLAGS="$CFLAGS -Wuninitialized"
   6174 
   6175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6176 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6177 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6178 		if eval \${$cacheid+:} false; then :
   6179   $as_echo_n "(cached) " >&6
   6180 else
   6181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6182 /* end confdefs.h.  */
   6183 int i;
   6184 int
   6185 main ()
   6186 {
   6187 
   6188   ;
   6189   return 0;
   6190 }
   6191 _ACEOF
   6192 if ac_fn_c_try_link "$LINENO"; then :
   6193   eval $cacheid=yes
   6194 else
   6195   eval $cacheid=no
   6196 fi
   6197 rm -f core conftest.err conftest.$ac_objext \
   6198     conftest$ac_exeext conftest.$ac_ext
   6199 fi
   6200 
   6201 
   6202 		CFLAGS="$xorg_testset_save_CFLAGS"
   6203 
   6204 		eval supported=\$$cacheid
   6205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6206 $as_echo "$supported" >&6; }
   6207 		if test "$supported" = "yes" ; then
   6208 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6209 			found="yes"
   6210 		fi
   6211 	fi
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 xorg_testset_save_CFLAGS="$CFLAGS"
   6228 
   6229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6234   $as_echo_n "(cached) " >&6
   6235 else
   6236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 _ACEOF
   6240 if ac_fn_c_try_compile "$LINENO"; then :
   6241   xorg_cv_cc_flag_unknown_warning_option=yes
   6242 else
   6243   xorg_cv_cc_flag_unknown_warning_option=no
   6244 fi
   6245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6246 fi
   6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6250 	CFLAGS="$xorg_testset_save_CFLAGS"
   6251 fi
   6252 
   6253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6256 	fi
   6257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6261   $as_echo_n "(cached) " >&6
   6262 else
   6263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6264 /* end confdefs.h.  */
   6265 int i;
   6266 _ACEOF
   6267 if ac_fn_c_try_compile "$LINENO"; then :
   6268   xorg_cv_cc_flag_unused_command_line_argument=yes
   6269 else
   6270   xorg_cv_cc_flag_unused_command_line_argument=no
   6271 fi
   6272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6273 fi
   6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6277 	CFLAGS="$xorg_testset_save_CFLAGS"
   6278 fi
   6279 
   6280 found="no"
   6281 
   6282 	if test $found = "no" ; then
   6283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6285 		fi
   6286 
   6287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6289 		fi
   6290 
   6291 		CFLAGS="$CFLAGS -Wshadow"
   6292 
   6293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6294 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6295 		cacheid=xorg_cv_cc_flag__Wshadow
   6296 		if eval \${$cacheid+:} false; then :
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6300 /* end confdefs.h.  */
   6301 int i;
   6302 int
   6303 main ()
   6304 {
   6305 
   6306   ;
   6307   return 0;
   6308 }
   6309 _ACEOF
   6310 if ac_fn_c_try_link "$LINENO"; then :
   6311   eval $cacheid=yes
   6312 else
   6313   eval $cacheid=no
   6314 fi
   6315 rm -f core conftest.err conftest.$ac_objext \
   6316     conftest$ac_exeext conftest.$ac_ext
   6317 fi
   6318 
   6319 
   6320 		CFLAGS="$xorg_testset_save_CFLAGS"
   6321 
   6322 		eval supported=\$$cacheid
   6323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6324 $as_echo "$supported" >&6; }
   6325 		if test "$supported" = "yes" ; then
   6326 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6327 			found="yes"
   6328 		fi
   6329 	fi
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 xorg_testset_save_CFLAGS="$CFLAGS"
   6346 
   6347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6352   $as_echo_n "(cached) " >&6
   6353 else
   6354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6355 /* end confdefs.h.  */
   6356 int i;
   6357 _ACEOF
   6358 if ac_fn_c_try_compile "$LINENO"; then :
   6359   xorg_cv_cc_flag_unknown_warning_option=yes
   6360 else
   6361   xorg_cv_cc_flag_unknown_warning_option=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6364 fi
   6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6368 	CFLAGS="$xorg_testset_save_CFLAGS"
   6369 fi
   6370 
   6371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6374 	fi
   6375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6379   $as_echo_n "(cached) " >&6
   6380 else
   6381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6382 /* end confdefs.h.  */
   6383 int i;
   6384 _ACEOF
   6385 if ac_fn_c_try_compile "$LINENO"; then :
   6386   xorg_cv_cc_flag_unused_command_line_argument=yes
   6387 else
   6388   xorg_cv_cc_flag_unused_command_line_argument=no
   6389 fi
   6390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6391 fi
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6395 	CFLAGS="$xorg_testset_save_CFLAGS"
   6396 fi
   6397 
   6398 found="no"
   6399 
   6400 	if test $found = "no" ; then
   6401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 		fi
   6404 
   6405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6407 		fi
   6408 
   6409 		CFLAGS="$CFLAGS -Wcast-qual"
   6410 
   6411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6412 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6413 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6414 		if eval \${$cacheid+:} false; then :
   6415   $as_echo_n "(cached) " >&6
   6416 else
   6417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6418 /* end confdefs.h.  */
   6419 int i;
   6420 int
   6421 main ()
   6422 {
   6423 
   6424   ;
   6425   return 0;
   6426 }
   6427 _ACEOF
   6428 if ac_fn_c_try_link "$LINENO"; then :
   6429   eval $cacheid=yes
   6430 else
   6431   eval $cacheid=no
   6432 fi
   6433 rm -f core conftest.err conftest.$ac_objext \
   6434     conftest$ac_exeext conftest.$ac_ext
   6435 fi
   6436 
   6437 
   6438 		CFLAGS="$xorg_testset_save_CFLAGS"
   6439 
   6440 		eval supported=\$$cacheid
   6441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6442 $as_echo "$supported" >&6; }
   6443 		if test "$supported" = "yes" ; then
   6444 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6445 			found="yes"
   6446 		fi
   6447 	fi
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 xorg_testset_save_CFLAGS="$CFLAGS"
   6464 
   6465 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6466 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6468 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6469 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6470   $as_echo_n "(cached) " >&6
   6471 else
   6472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6473 /* end confdefs.h.  */
   6474 int i;
   6475 _ACEOF
   6476 if ac_fn_c_try_compile "$LINENO"; then :
   6477   xorg_cv_cc_flag_unknown_warning_option=yes
   6478 else
   6479   xorg_cv_cc_flag_unknown_warning_option=no
   6480 fi
   6481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6482 fi
   6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6484 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6486 	CFLAGS="$xorg_testset_save_CFLAGS"
   6487 fi
   6488 
   6489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6492 	fi
   6493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6495 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6496 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6497   $as_echo_n "(cached) " >&6
   6498 else
   6499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6500 /* end confdefs.h.  */
   6501 int i;
   6502 _ACEOF
   6503 if ac_fn_c_try_compile "$LINENO"; then :
   6504   xorg_cv_cc_flag_unused_command_line_argument=yes
   6505 else
   6506   xorg_cv_cc_flag_unused_command_line_argument=no
   6507 fi
   6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6509 fi
   6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6511 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6513 	CFLAGS="$xorg_testset_save_CFLAGS"
   6514 fi
   6515 
   6516 found="no"
   6517 
   6518 	if test $found = "no" ; then
   6519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6521 		fi
   6522 
   6523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6525 		fi
   6526 
   6527 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6528 
   6529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6530 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6531 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6532 		if eval \${$cacheid+:} false; then :
   6533   $as_echo_n "(cached) " >&6
   6534 else
   6535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6536 /* end confdefs.h.  */
   6537 int i;
   6538 int
   6539 main ()
   6540 {
   6541 
   6542   ;
   6543   return 0;
   6544 }
   6545 _ACEOF
   6546 if ac_fn_c_try_link "$LINENO"; then :
   6547   eval $cacheid=yes
   6548 else
   6549   eval $cacheid=no
   6550 fi
   6551 rm -f core conftest.err conftest.$ac_objext \
   6552     conftest$ac_exeext conftest.$ac_ext
   6553 fi
   6554 
   6555 
   6556 		CFLAGS="$xorg_testset_save_CFLAGS"
   6557 
   6558 		eval supported=\$$cacheid
   6559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6560 $as_echo "$supported" >&6; }
   6561 		if test "$supported" = "yes" ; then
   6562 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6563 			found="yes"
   6564 		fi
   6565 	fi
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 xorg_testset_save_CFLAGS="$CFLAGS"
   6582 
   6583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6586 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6587 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6588   $as_echo_n "(cached) " >&6
   6589 else
   6590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6591 /* end confdefs.h.  */
   6592 int i;
   6593 _ACEOF
   6594 if ac_fn_c_try_compile "$LINENO"; then :
   6595   xorg_cv_cc_flag_unknown_warning_option=yes
   6596 else
   6597   xorg_cv_cc_flag_unknown_warning_option=no
   6598 fi
   6599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6600 fi
   6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6602 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6604 	CFLAGS="$xorg_testset_save_CFLAGS"
   6605 fi
   6606 
   6607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6610 	fi
   6611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6613 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6614 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6615   $as_echo_n "(cached) " >&6
   6616 else
   6617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6618 /* end confdefs.h.  */
   6619 int i;
   6620 _ACEOF
   6621 if ac_fn_c_try_compile "$LINENO"; then :
   6622   xorg_cv_cc_flag_unused_command_line_argument=yes
   6623 else
   6624   xorg_cv_cc_flag_unused_command_line_argument=no
   6625 fi
   6626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6627 fi
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6629 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6631 	CFLAGS="$xorg_testset_save_CFLAGS"
   6632 fi
   6633 
   6634 found="no"
   6635 
   6636 	if test $found = "no" ; then
   6637 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6639 		fi
   6640 
   6641 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6643 		fi
   6644 
   6645 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6646 
   6647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6648 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6649 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6650 		if eval \${$cacheid+:} false; then :
   6651   $as_echo_n "(cached) " >&6
   6652 else
   6653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6654 /* end confdefs.h.  */
   6655 int i;
   6656 int
   6657 main ()
   6658 {
   6659 
   6660   ;
   6661   return 0;
   6662 }
   6663 _ACEOF
   6664 if ac_fn_c_try_link "$LINENO"; then :
   6665   eval $cacheid=yes
   6666 else
   6667   eval $cacheid=no
   6668 fi
   6669 rm -f core conftest.err conftest.$ac_objext \
   6670     conftest$ac_exeext conftest.$ac_ext
   6671 fi
   6672 
   6673 
   6674 		CFLAGS="$xorg_testset_save_CFLAGS"
   6675 
   6676 		eval supported=\$$cacheid
   6677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6678 $as_echo "$supported" >&6; }
   6679 		if test "$supported" = "yes" ; then
   6680 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6681 			found="yes"
   6682 		fi
   6683 	fi
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 xorg_testset_save_CFLAGS="$CFLAGS"
   6700 
   6701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6706   $as_echo_n "(cached) " >&6
   6707 else
   6708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6709 /* end confdefs.h.  */
   6710 int i;
   6711 _ACEOF
   6712 if ac_fn_c_try_compile "$LINENO"; then :
   6713   xorg_cv_cc_flag_unknown_warning_option=yes
   6714 else
   6715   xorg_cv_cc_flag_unknown_warning_option=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6718 fi
   6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6722 	CFLAGS="$xorg_testset_save_CFLAGS"
   6723 fi
   6724 
   6725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6728 	fi
   6729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6733   $as_echo_n "(cached) " >&6
   6734 else
   6735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736 /* end confdefs.h.  */
   6737 int i;
   6738 _ACEOF
   6739 if ac_fn_c_try_compile "$LINENO"; then :
   6740   xorg_cv_cc_flag_unused_command_line_argument=yes
   6741 else
   6742   xorg_cv_cc_flag_unused_command_line_argument=no
   6743 fi
   6744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6745 fi
   6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6749 	CFLAGS="$xorg_testset_save_CFLAGS"
   6750 fi
   6751 
   6752 found="no"
   6753 
   6754 	if test $found = "no" ; then
   6755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6757 		fi
   6758 
   6759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6761 		fi
   6762 
   6763 		CFLAGS="$CFLAGS -Wredundant-decls"
   6764 
   6765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6766 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6767 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6768 		if eval \${$cacheid+:} false; then :
   6769   $as_echo_n "(cached) " >&6
   6770 else
   6771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6772 /* end confdefs.h.  */
   6773 int i;
   6774 int
   6775 main ()
   6776 {
   6777 
   6778   ;
   6779   return 0;
   6780 }
   6781 _ACEOF
   6782 if ac_fn_c_try_link "$LINENO"; then :
   6783   eval $cacheid=yes
   6784 else
   6785   eval $cacheid=no
   6786 fi
   6787 rm -f core conftest.err conftest.$ac_objext \
   6788     conftest$ac_exeext conftest.$ac_ext
   6789 fi
   6790 
   6791 
   6792 		CFLAGS="$xorg_testset_save_CFLAGS"
   6793 
   6794 		eval supported=\$$cacheid
   6795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6796 $as_echo "$supported" >&6; }
   6797 		if test "$supported" = "yes" ; then
   6798 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6799 			found="yes"
   6800 		fi
   6801 	fi
   6802 
   6803 
   6804 
   6805 # These are currently disabled because they are noisy.  They will be enabled
   6806 # in the future once the codebase is sufficiently modernized to silence
   6807 # them.  For now, I don't want them to drown out the other warnings.
   6808 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6809 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6810 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6811 
   6812 # Turn some warnings into errors, so we don't accidently get successful builds
   6813 # when there are problems that should be fixed.
   6814 
   6815 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 xorg_testset_save_CFLAGS="$CFLAGS"
   6830 
   6831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6839 /* end confdefs.h.  */
   6840 int i;
   6841 _ACEOF
   6842 if ac_fn_c_try_compile "$LINENO"; then :
   6843   xorg_cv_cc_flag_unknown_warning_option=yes
   6844 else
   6845   xorg_cv_cc_flag_unknown_warning_option=no
   6846 fi
   6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6848 fi
   6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6852 	CFLAGS="$xorg_testset_save_CFLAGS"
   6853 fi
   6854 
   6855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6858 	fi
   6859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6863   $as_echo_n "(cached) " >&6
   6864 else
   6865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6866 /* end confdefs.h.  */
   6867 int i;
   6868 _ACEOF
   6869 if ac_fn_c_try_compile "$LINENO"; then :
   6870   xorg_cv_cc_flag_unused_command_line_argument=yes
   6871 else
   6872   xorg_cv_cc_flag_unused_command_line_argument=no
   6873 fi
   6874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6875 fi
   6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6879 	CFLAGS="$xorg_testset_save_CFLAGS"
   6880 fi
   6881 
   6882 found="no"
   6883 
   6884 	if test $found = "no" ; then
   6885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6887 		fi
   6888 
   6889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6891 		fi
   6892 
   6893 		CFLAGS="$CFLAGS -Werror=implicit"
   6894 
   6895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6896 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6897 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6898 		if eval \${$cacheid+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 int
   6905 main ()
   6906 {
   6907 
   6908   ;
   6909   return 0;
   6910 }
   6911 _ACEOF
   6912 if ac_fn_c_try_link "$LINENO"; then :
   6913   eval $cacheid=yes
   6914 else
   6915   eval $cacheid=no
   6916 fi
   6917 rm -f core conftest.err conftest.$ac_objext \
   6918     conftest$ac_exeext conftest.$ac_ext
   6919 fi
   6920 
   6921 
   6922 		CFLAGS="$xorg_testset_save_CFLAGS"
   6923 
   6924 		eval supported=\$$cacheid
   6925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6926 $as_echo "$supported" >&6; }
   6927 		if test "$supported" = "yes" ; then
   6928 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6929 			found="yes"
   6930 		fi
   6931 	fi
   6932 
   6933 	if test $found = "no" ; then
   6934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6936 		fi
   6937 
   6938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6940 		fi
   6941 
   6942 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6943 
   6944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6945 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6946 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6947 		if eval \${$cacheid+:} false; then :
   6948   $as_echo_n "(cached) " >&6
   6949 else
   6950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6951 /* end confdefs.h.  */
   6952 int i;
   6953 int
   6954 main ()
   6955 {
   6956 
   6957   ;
   6958   return 0;
   6959 }
   6960 _ACEOF
   6961 if ac_fn_c_try_link "$LINENO"; then :
   6962   eval $cacheid=yes
   6963 else
   6964   eval $cacheid=no
   6965 fi
   6966 rm -f core conftest.err conftest.$ac_objext \
   6967     conftest$ac_exeext conftest.$ac_ext
   6968 fi
   6969 
   6970 
   6971 		CFLAGS="$xorg_testset_save_CFLAGS"
   6972 
   6973 		eval supported=\$$cacheid
   6974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6975 $as_echo "$supported" >&6; }
   6976 		if test "$supported" = "yes" ; then
   6977 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6978 			found="yes"
   6979 		fi
   6980 	fi
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 xorg_testset_save_CFLAGS="$CFLAGS"
   6997 
   6998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7002 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7003   $as_echo_n "(cached) " >&6
   7004 else
   7005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7006 /* end confdefs.h.  */
   7007 int i;
   7008 _ACEOF
   7009 if ac_fn_c_try_compile "$LINENO"; then :
   7010   xorg_cv_cc_flag_unknown_warning_option=yes
   7011 else
   7012   xorg_cv_cc_flag_unknown_warning_option=no
   7013 fi
   7014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7015 fi
   7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7017 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7019 	CFLAGS="$xorg_testset_save_CFLAGS"
   7020 fi
   7021 
   7022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7025 	fi
   7026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7028 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7029 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7030   $as_echo_n "(cached) " >&6
   7031 else
   7032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"; then :
   7037   xorg_cv_cc_flag_unused_command_line_argument=yes
   7038 else
   7039   xorg_cv_cc_flag_unused_command_line_argument=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7042 fi
   7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7044 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7046 	CFLAGS="$xorg_testset_save_CFLAGS"
   7047 fi
   7048 
   7049 found="no"
   7050 
   7051 	if test $found = "no" ; then
   7052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 		fi
   7055 
   7056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7058 		fi
   7059 
   7060 		CFLAGS="$CFLAGS -Werror=nonnull"
   7061 
   7062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7063 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7064 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7065 		if eval \${$cacheid+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 int i;
   7071 int
   7072 main ()
   7073 {
   7074 
   7075   ;
   7076   return 0;
   7077 }
   7078 _ACEOF
   7079 if ac_fn_c_try_link "$LINENO"; then :
   7080   eval $cacheid=yes
   7081 else
   7082   eval $cacheid=no
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext \
   7085     conftest$ac_exeext conftest.$ac_ext
   7086 fi
   7087 
   7088 
   7089 		CFLAGS="$xorg_testset_save_CFLAGS"
   7090 
   7091 		eval supported=\$$cacheid
   7092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7093 $as_echo "$supported" >&6; }
   7094 		if test "$supported" = "yes" ; then
   7095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7096 			found="yes"
   7097 		fi
   7098 	fi
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 xorg_testset_save_CFLAGS="$CFLAGS"
   7115 
   7116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7121   $as_echo_n "(cached) " >&6
   7122 else
   7123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 _ACEOF
   7127 if ac_fn_c_try_compile "$LINENO"; then :
   7128   xorg_cv_cc_flag_unknown_warning_option=yes
   7129 else
   7130   xorg_cv_cc_flag_unknown_warning_option=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7133 fi
   7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7137 	CFLAGS="$xorg_testset_save_CFLAGS"
   7138 fi
   7139 
   7140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7143 	fi
   7144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7148   $as_echo_n "(cached) " >&6
   7149 else
   7150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7151 /* end confdefs.h.  */
   7152 int i;
   7153 _ACEOF
   7154 if ac_fn_c_try_compile "$LINENO"; then :
   7155   xorg_cv_cc_flag_unused_command_line_argument=yes
   7156 else
   7157   xorg_cv_cc_flag_unused_command_line_argument=no
   7158 fi
   7159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7160 fi
   7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7164 	CFLAGS="$xorg_testset_save_CFLAGS"
   7165 fi
   7166 
   7167 found="no"
   7168 
   7169 	if test $found = "no" ; then
   7170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7172 		fi
   7173 
   7174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7176 		fi
   7177 
   7178 		CFLAGS="$CFLAGS -Werror=init-self"
   7179 
   7180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7181 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7182 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7183 		if eval \${$cacheid+:} false; then :
   7184   $as_echo_n "(cached) " >&6
   7185 else
   7186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7187 /* end confdefs.h.  */
   7188 int i;
   7189 int
   7190 main ()
   7191 {
   7192 
   7193   ;
   7194   return 0;
   7195 }
   7196 _ACEOF
   7197 if ac_fn_c_try_link "$LINENO"; then :
   7198   eval $cacheid=yes
   7199 else
   7200   eval $cacheid=no
   7201 fi
   7202 rm -f core conftest.err conftest.$ac_objext \
   7203     conftest$ac_exeext conftest.$ac_ext
   7204 fi
   7205 
   7206 
   7207 		CFLAGS="$xorg_testset_save_CFLAGS"
   7208 
   7209 		eval supported=\$$cacheid
   7210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7211 $as_echo "$supported" >&6; }
   7212 		if test "$supported" = "yes" ; then
   7213 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7214 			found="yes"
   7215 		fi
   7216 	fi
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 xorg_testset_save_CFLAGS="$CFLAGS"
   7233 
   7234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7237 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7238 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7239   $as_echo_n "(cached) " >&6
   7240 else
   7241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7242 /* end confdefs.h.  */
   7243 int i;
   7244 _ACEOF
   7245 if ac_fn_c_try_compile "$LINENO"; then :
   7246   xorg_cv_cc_flag_unknown_warning_option=yes
   7247 else
   7248   xorg_cv_cc_flag_unknown_warning_option=no
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7251 fi
   7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7253 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7255 	CFLAGS="$xorg_testset_save_CFLAGS"
   7256 fi
   7257 
   7258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7261 	fi
   7262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7264 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7265 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7266   $as_echo_n "(cached) " >&6
   7267 else
   7268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7269 /* end confdefs.h.  */
   7270 int i;
   7271 _ACEOF
   7272 if ac_fn_c_try_compile "$LINENO"; then :
   7273   xorg_cv_cc_flag_unused_command_line_argument=yes
   7274 else
   7275   xorg_cv_cc_flag_unused_command_line_argument=no
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7278 fi
   7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7280 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7282 	CFLAGS="$xorg_testset_save_CFLAGS"
   7283 fi
   7284 
   7285 found="no"
   7286 
   7287 	if test $found = "no" ; then
   7288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7290 		fi
   7291 
   7292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7294 		fi
   7295 
   7296 		CFLAGS="$CFLAGS -Werror=main"
   7297 
   7298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7299 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7300 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7301 		if eval \${$cacheid+:} false; then :
   7302   $as_echo_n "(cached) " >&6
   7303 else
   7304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7305 /* end confdefs.h.  */
   7306 int i;
   7307 int
   7308 main ()
   7309 {
   7310 
   7311   ;
   7312   return 0;
   7313 }
   7314 _ACEOF
   7315 if ac_fn_c_try_link "$LINENO"; then :
   7316   eval $cacheid=yes
   7317 else
   7318   eval $cacheid=no
   7319 fi
   7320 rm -f core conftest.err conftest.$ac_objext \
   7321     conftest$ac_exeext conftest.$ac_ext
   7322 fi
   7323 
   7324 
   7325 		CFLAGS="$xorg_testset_save_CFLAGS"
   7326 
   7327 		eval supported=\$$cacheid
   7328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7329 $as_echo "$supported" >&6; }
   7330 		if test "$supported" = "yes" ; then
   7331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7332 			found="yes"
   7333 		fi
   7334 	fi
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 xorg_testset_save_CFLAGS="$CFLAGS"
   7351 
   7352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7355 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7356 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7357   $as_echo_n "(cached) " >&6
   7358 else
   7359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7360 /* end confdefs.h.  */
   7361 int i;
   7362 _ACEOF
   7363 if ac_fn_c_try_compile "$LINENO"; then :
   7364   xorg_cv_cc_flag_unknown_warning_option=yes
   7365 else
   7366   xorg_cv_cc_flag_unknown_warning_option=no
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7369 fi
   7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7371 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7373 	CFLAGS="$xorg_testset_save_CFLAGS"
   7374 fi
   7375 
   7376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7379 	fi
   7380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7382 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7383 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7384   $as_echo_n "(cached) " >&6
   7385 else
   7386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7387 /* end confdefs.h.  */
   7388 int i;
   7389 _ACEOF
   7390 if ac_fn_c_try_compile "$LINENO"; then :
   7391   xorg_cv_cc_flag_unused_command_line_argument=yes
   7392 else
   7393   xorg_cv_cc_flag_unused_command_line_argument=no
   7394 fi
   7395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7396 fi
   7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7398 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7400 	CFLAGS="$xorg_testset_save_CFLAGS"
   7401 fi
   7402 
   7403 found="no"
   7404 
   7405 	if test $found = "no" ; then
   7406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7408 		fi
   7409 
   7410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7412 		fi
   7413 
   7414 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7415 
   7416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7417 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7418 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7419 		if eval \${$cacheid+:} false; then :
   7420   $as_echo_n "(cached) " >&6
   7421 else
   7422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7423 /* end confdefs.h.  */
   7424 int i;
   7425 int
   7426 main ()
   7427 {
   7428 
   7429   ;
   7430   return 0;
   7431 }
   7432 _ACEOF
   7433 if ac_fn_c_try_link "$LINENO"; then :
   7434   eval $cacheid=yes
   7435 else
   7436   eval $cacheid=no
   7437 fi
   7438 rm -f core conftest.err conftest.$ac_objext \
   7439     conftest$ac_exeext conftest.$ac_ext
   7440 fi
   7441 
   7442 
   7443 		CFLAGS="$xorg_testset_save_CFLAGS"
   7444 
   7445 		eval supported=\$$cacheid
   7446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7447 $as_echo "$supported" >&6; }
   7448 		if test "$supported" = "yes" ; then
   7449 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7450 			found="yes"
   7451 		fi
   7452 	fi
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 xorg_testset_save_CFLAGS="$CFLAGS"
   7469 
   7470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7473 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7474 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7475   $as_echo_n "(cached) " >&6
   7476 else
   7477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7478 /* end confdefs.h.  */
   7479 int i;
   7480 _ACEOF
   7481 if ac_fn_c_try_compile "$LINENO"; then :
   7482   xorg_cv_cc_flag_unknown_warning_option=yes
   7483 else
   7484   xorg_cv_cc_flag_unknown_warning_option=no
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7487 fi
   7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7489 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7491 	CFLAGS="$xorg_testset_save_CFLAGS"
   7492 fi
   7493 
   7494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7497 	fi
   7498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7500 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7501 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7502   $as_echo_n "(cached) " >&6
   7503 else
   7504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7505 /* end confdefs.h.  */
   7506 int i;
   7507 _ACEOF
   7508 if ac_fn_c_try_compile "$LINENO"; then :
   7509   xorg_cv_cc_flag_unused_command_line_argument=yes
   7510 else
   7511   xorg_cv_cc_flag_unused_command_line_argument=no
   7512 fi
   7513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7514 fi
   7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7516 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7518 	CFLAGS="$xorg_testset_save_CFLAGS"
   7519 fi
   7520 
   7521 found="no"
   7522 
   7523 	if test $found = "no" ; then
   7524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7526 		fi
   7527 
   7528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7530 		fi
   7531 
   7532 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7533 
   7534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7535 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7536 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7537 		if eval \${$cacheid+:} false; then :
   7538   $as_echo_n "(cached) " >&6
   7539 else
   7540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7541 /* end confdefs.h.  */
   7542 int i;
   7543 int
   7544 main ()
   7545 {
   7546 
   7547   ;
   7548   return 0;
   7549 }
   7550 _ACEOF
   7551 if ac_fn_c_try_link "$LINENO"; then :
   7552   eval $cacheid=yes
   7553 else
   7554   eval $cacheid=no
   7555 fi
   7556 rm -f core conftest.err conftest.$ac_objext \
   7557     conftest$ac_exeext conftest.$ac_ext
   7558 fi
   7559 
   7560 
   7561 		CFLAGS="$xorg_testset_save_CFLAGS"
   7562 
   7563 		eval supported=\$$cacheid
   7564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7565 $as_echo "$supported" >&6; }
   7566 		if test "$supported" = "yes" ; then
   7567 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7568 			found="yes"
   7569 		fi
   7570 	fi
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 xorg_testset_save_CFLAGS="$CFLAGS"
   7587 
   7588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7593   $as_echo_n "(cached) " >&6
   7594 else
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 int i;
   7598 _ACEOF
   7599 if ac_fn_c_try_compile "$LINENO"; then :
   7600   xorg_cv_cc_flag_unknown_warning_option=yes
   7601 else
   7602   xorg_cv_cc_flag_unknown_warning_option=no
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7605 fi
   7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7609 	CFLAGS="$xorg_testset_save_CFLAGS"
   7610 fi
   7611 
   7612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7615 	fi
   7616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7620   $as_echo_n "(cached) " >&6
   7621 else
   7622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7623 /* end confdefs.h.  */
   7624 int i;
   7625 _ACEOF
   7626 if ac_fn_c_try_compile "$LINENO"; then :
   7627   xorg_cv_cc_flag_unused_command_line_argument=yes
   7628 else
   7629   xorg_cv_cc_flag_unused_command_line_argument=no
   7630 fi
   7631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7632 fi
   7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7636 	CFLAGS="$xorg_testset_save_CFLAGS"
   7637 fi
   7638 
   7639 found="no"
   7640 
   7641 	if test $found = "no" ; then
   7642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7644 		fi
   7645 
   7646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7648 		fi
   7649 
   7650 		CFLAGS="$CFLAGS -Werror=return-type"
   7651 
   7652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7653 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7654 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7655 		if eval \${$cacheid+:} false; then :
   7656   $as_echo_n "(cached) " >&6
   7657 else
   7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7659 /* end confdefs.h.  */
   7660 int i;
   7661 int
   7662 main ()
   7663 {
   7664 
   7665   ;
   7666   return 0;
   7667 }
   7668 _ACEOF
   7669 if ac_fn_c_try_link "$LINENO"; then :
   7670   eval $cacheid=yes
   7671 else
   7672   eval $cacheid=no
   7673 fi
   7674 rm -f core conftest.err conftest.$ac_objext \
   7675     conftest$ac_exeext conftest.$ac_ext
   7676 fi
   7677 
   7678 
   7679 		CFLAGS="$xorg_testset_save_CFLAGS"
   7680 
   7681 		eval supported=\$$cacheid
   7682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7683 $as_echo "$supported" >&6; }
   7684 		if test "$supported" = "yes" ; then
   7685 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7686 			found="yes"
   7687 		fi
   7688 	fi
   7689 
   7690 	if test $found = "no" ; then
   7691 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7693 		fi
   7694 
   7695 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7697 		fi
   7698 
   7699 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7700 
   7701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7702 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7703 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7704 		if eval \${$cacheid+:} false; then :
   7705   $as_echo_n "(cached) " >&6
   7706 else
   7707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7708 /* end confdefs.h.  */
   7709 int i;
   7710 int
   7711 main ()
   7712 {
   7713 
   7714   ;
   7715   return 0;
   7716 }
   7717 _ACEOF
   7718 if ac_fn_c_try_link "$LINENO"; then :
   7719   eval $cacheid=yes
   7720 else
   7721   eval $cacheid=no
   7722 fi
   7723 rm -f core conftest.err conftest.$ac_objext \
   7724     conftest$ac_exeext conftest.$ac_ext
   7725 fi
   7726 
   7727 
   7728 		CFLAGS="$xorg_testset_save_CFLAGS"
   7729 
   7730 		eval supported=\$$cacheid
   7731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7732 $as_echo "$supported" >&6; }
   7733 		if test "$supported" = "yes" ; then
   7734 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7735 			found="yes"
   7736 		fi
   7737 	fi
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 xorg_testset_save_CFLAGS="$CFLAGS"
   7754 
   7755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7758 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7759 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7760   $as_echo_n "(cached) " >&6
   7761 else
   7762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7763 /* end confdefs.h.  */
   7764 int i;
   7765 _ACEOF
   7766 if ac_fn_c_try_compile "$LINENO"; then :
   7767   xorg_cv_cc_flag_unknown_warning_option=yes
   7768 else
   7769   xorg_cv_cc_flag_unknown_warning_option=no
   7770 fi
   7771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7772 fi
   7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7774 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7776 	CFLAGS="$xorg_testset_save_CFLAGS"
   7777 fi
   7778 
   7779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7782 	fi
   7783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7785 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7786 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7787   $as_echo_n "(cached) " >&6
   7788 else
   7789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7790 /* end confdefs.h.  */
   7791 int i;
   7792 _ACEOF
   7793 if ac_fn_c_try_compile "$LINENO"; then :
   7794   xorg_cv_cc_flag_unused_command_line_argument=yes
   7795 else
   7796   xorg_cv_cc_flag_unused_command_line_argument=no
   7797 fi
   7798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7799 fi
   7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7801 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7803 	CFLAGS="$xorg_testset_save_CFLAGS"
   7804 fi
   7805 
   7806 found="no"
   7807 
   7808 	if test $found = "no" ; then
   7809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7811 		fi
   7812 
   7813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7815 		fi
   7816 
   7817 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7818 
   7819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7820 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7821 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7822 		if eval \${$cacheid+:} false; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7826 /* end confdefs.h.  */
   7827 int i;
   7828 int
   7829 main ()
   7830 {
   7831 
   7832   ;
   7833   return 0;
   7834 }
   7835 _ACEOF
   7836 if ac_fn_c_try_link "$LINENO"; then :
   7837   eval $cacheid=yes
   7838 else
   7839   eval $cacheid=no
   7840 fi
   7841 rm -f core conftest.err conftest.$ac_objext \
   7842     conftest$ac_exeext conftest.$ac_ext
   7843 fi
   7844 
   7845 
   7846 		CFLAGS="$xorg_testset_save_CFLAGS"
   7847 
   7848 		eval supported=\$$cacheid
   7849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7850 $as_echo "$supported" >&6; }
   7851 		if test "$supported" = "yes" ; then
   7852 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7853 			found="yes"
   7854 		fi
   7855 	fi
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 xorg_testset_save_CFLAGS="$CFLAGS"
   7872 
   7873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7878   $as_echo_n "(cached) " >&6
   7879 else
   7880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7881 /* end confdefs.h.  */
   7882 int i;
   7883 _ACEOF
   7884 if ac_fn_c_try_compile "$LINENO"; then :
   7885   xorg_cv_cc_flag_unknown_warning_option=yes
   7886 else
   7887   xorg_cv_cc_flag_unknown_warning_option=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7890 fi
   7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7900 	fi
   7901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7905   $as_echo_n "(cached) " >&6
   7906 else
   7907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 int i;
   7910 _ACEOF
   7911 if ac_fn_c_try_compile "$LINENO"; then :
   7912   xorg_cv_cc_flag_unused_command_line_argument=yes
   7913 else
   7914   xorg_cv_cc_flag_unused_command_line_argument=no
   7915 fi
   7916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7917 fi
   7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7921 	CFLAGS="$xorg_testset_save_CFLAGS"
   7922 fi
   7923 
   7924 found="no"
   7925 
   7926 	if test $found = "no" ; then
   7927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7929 		fi
   7930 
   7931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7933 		fi
   7934 
   7935 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7936 
   7937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7938 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7939 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7940 		if eval \${$cacheid+:} false; then :
   7941   $as_echo_n "(cached) " >&6
   7942 else
   7943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7944 /* end confdefs.h.  */
   7945 int i;
   7946 int
   7947 main ()
   7948 {
   7949 
   7950   ;
   7951   return 0;
   7952 }
   7953 _ACEOF
   7954 if ac_fn_c_try_link "$LINENO"; then :
   7955   eval $cacheid=yes
   7956 else
   7957   eval $cacheid=no
   7958 fi
   7959 rm -f core conftest.err conftest.$ac_objext \
   7960     conftest$ac_exeext conftest.$ac_ext
   7961 fi
   7962 
   7963 
   7964 		CFLAGS="$xorg_testset_save_CFLAGS"
   7965 
   7966 		eval supported=\$$cacheid
   7967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7968 $as_echo "$supported" >&6; }
   7969 		if test "$supported" = "yes" ; then
   7970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7971 			found="yes"
   7972 		fi
   7973 	fi
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 
   7986 
   7987 
   7988 
   7989 xorg_testset_save_CFLAGS="$CFLAGS"
   7990 
   7991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7996   $as_echo_n "(cached) " >&6
   7997 else
   7998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7999 /* end confdefs.h.  */
   8000 int i;
   8001 _ACEOF
   8002 if ac_fn_c_try_compile "$LINENO"; then :
   8003   xorg_cv_cc_flag_unknown_warning_option=yes
   8004 else
   8005   xorg_cv_cc_flag_unknown_warning_option=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8008 fi
   8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8012 	CFLAGS="$xorg_testset_save_CFLAGS"
   8013 fi
   8014 
   8015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8018 	fi
   8019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8023   $as_echo_n "(cached) " >&6
   8024 else
   8025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8026 /* end confdefs.h.  */
   8027 int i;
   8028 _ACEOF
   8029 if ac_fn_c_try_compile "$LINENO"; then :
   8030   xorg_cv_cc_flag_unused_command_line_argument=yes
   8031 else
   8032   xorg_cv_cc_flag_unused_command_line_argument=no
   8033 fi
   8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8035 fi
   8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8039 	CFLAGS="$xorg_testset_save_CFLAGS"
   8040 fi
   8041 
   8042 found="no"
   8043 
   8044 	if test $found = "no" ; then
   8045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8047 		fi
   8048 
   8049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8051 		fi
   8052 
   8053 		CFLAGS="$CFLAGS -Werror=write-strings"
   8054 
   8055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8056 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8057 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8058 		if eval \${$cacheid+:} 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 int
   8065 main ()
   8066 {
   8067 
   8068   ;
   8069   return 0;
   8070 }
   8071 _ACEOF
   8072 if ac_fn_c_try_link "$LINENO"; then :
   8073   eval $cacheid=yes
   8074 else
   8075   eval $cacheid=no
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext \
   8078     conftest$ac_exeext conftest.$ac_ext
   8079 fi
   8080 
   8081 
   8082 		CFLAGS="$xorg_testset_save_CFLAGS"
   8083 
   8084 		eval supported=\$$cacheid
   8085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8086 $as_echo "$supported" >&6; }
   8087 		if test "$supported" = "yes" ; then
   8088 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8089 			found="yes"
   8090 		fi
   8091 	fi
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 xorg_testset_save_CFLAGS="$CFLAGS"
   8108 
   8109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8112 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8113 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8114   $as_echo_n "(cached) " >&6
   8115 else
   8116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8117 /* end confdefs.h.  */
   8118 int i;
   8119 _ACEOF
   8120 if ac_fn_c_try_compile "$LINENO"; then :
   8121   xorg_cv_cc_flag_unknown_warning_option=yes
   8122 else
   8123   xorg_cv_cc_flag_unknown_warning_option=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8126 fi
   8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8128 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8130 	CFLAGS="$xorg_testset_save_CFLAGS"
   8131 fi
   8132 
   8133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8136 	fi
   8137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8139 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8140 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8141   $as_echo_n "(cached) " >&6
   8142 else
   8143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8144 /* end confdefs.h.  */
   8145 int i;
   8146 _ACEOF
   8147 if ac_fn_c_try_compile "$LINENO"; then :
   8148   xorg_cv_cc_flag_unused_command_line_argument=yes
   8149 else
   8150   xorg_cv_cc_flag_unused_command_line_argument=no
   8151 fi
   8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8153 fi
   8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8155 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8157 	CFLAGS="$xorg_testset_save_CFLAGS"
   8158 fi
   8159 
   8160 found="no"
   8161 
   8162 	if test $found = "no" ; then
   8163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8165 		fi
   8166 
   8167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8169 		fi
   8170 
   8171 		CFLAGS="$CFLAGS -Werror=address"
   8172 
   8173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8174 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8175 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8176 		if eval \${$cacheid+:} false; then :
   8177   $as_echo_n "(cached) " >&6
   8178 else
   8179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8180 /* end confdefs.h.  */
   8181 int i;
   8182 int
   8183 main ()
   8184 {
   8185 
   8186   ;
   8187   return 0;
   8188 }
   8189 _ACEOF
   8190 if ac_fn_c_try_link "$LINENO"; then :
   8191   eval $cacheid=yes
   8192 else
   8193   eval $cacheid=no
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext \
   8196     conftest$ac_exeext conftest.$ac_ext
   8197 fi
   8198 
   8199 
   8200 		CFLAGS="$xorg_testset_save_CFLAGS"
   8201 
   8202 		eval supported=\$$cacheid
   8203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8204 $as_echo "$supported" >&6; }
   8205 		if test "$supported" = "yes" ; then
   8206 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8207 			found="yes"
   8208 		fi
   8209 	fi
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 xorg_testset_save_CFLAGS="$CFLAGS"
   8226 
   8227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8230 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8231 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8232   $as_echo_n "(cached) " >&6
   8233 else
   8234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 _ACEOF
   8238 if ac_fn_c_try_compile "$LINENO"; then :
   8239   xorg_cv_cc_flag_unknown_warning_option=yes
   8240 else
   8241   xorg_cv_cc_flag_unknown_warning_option=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8244 fi
   8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8246 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8248 	CFLAGS="$xorg_testset_save_CFLAGS"
   8249 fi
   8250 
   8251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8254 	fi
   8255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8257 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8258 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8259   $as_echo_n "(cached) " >&6
   8260 else
   8261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 int i;
   8264 _ACEOF
   8265 if ac_fn_c_try_compile "$LINENO"; then :
   8266   xorg_cv_cc_flag_unused_command_line_argument=yes
   8267 else
   8268   xorg_cv_cc_flag_unused_command_line_argument=no
   8269 fi
   8270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8271 fi
   8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8273 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8275 	CFLAGS="$xorg_testset_save_CFLAGS"
   8276 fi
   8277 
   8278 found="no"
   8279 
   8280 	if test $found = "no" ; then
   8281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8283 		fi
   8284 
   8285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8287 		fi
   8288 
   8289 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8290 
   8291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8292 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8293 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8294 		if eval \${$cacheid+:} false; then :
   8295   $as_echo_n "(cached) " >&6
   8296 else
   8297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8298 /* end confdefs.h.  */
   8299 int i;
   8300 int
   8301 main ()
   8302 {
   8303 
   8304   ;
   8305   return 0;
   8306 }
   8307 _ACEOF
   8308 if ac_fn_c_try_link "$LINENO"; then :
   8309   eval $cacheid=yes
   8310 else
   8311   eval $cacheid=no
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext \
   8314     conftest$ac_exeext conftest.$ac_ext
   8315 fi
   8316 
   8317 
   8318 		CFLAGS="$xorg_testset_save_CFLAGS"
   8319 
   8320 		eval supported=\$$cacheid
   8321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8322 $as_echo "$supported" >&6; }
   8323 		if test "$supported" = "yes" ; then
   8324 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8325 			found="yes"
   8326 		fi
   8327 	fi
   8328 
   8329 	if test $found = "no" ; then
   8330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8332 		fi
   8333 
   8334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8336 		fi
   8337 
   8338 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8339 
   8340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8341 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8342 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8343 		if eval \${$cacheid+:} 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 int
   8350 main ()
   8351 {
   8352 
   8353   ;
   8354   return 0;
   8355 }
   8356 _ACEOF
   8357 if ac_fn_c_try_link "$LINENO"; then :
   8358   eval $cacheid=yes
   8359 else
   8360   eval $cacheid=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext \
   8363     conftest$ac_exeext conftest.$ac_ext
   8364 fi
   8365 
   8366 
   8367 		CFLAGS="$xorg_testset_save_CFLAGS"
   8368 
   8369 		eval supported=\$$cacheid
   8370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8371 $as_echo "$supported" >&6; }
   8372 		if test "$supported" = "yes" ; then
   8373 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8374 			found="yes"
   8375 		fi
   8376 	fi
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 xorg_testset_save_CFLAGS="$CFLAGS"
   8393 
   8394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8397 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8398 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8399   $as_echo_n "(cached) " >&6
   8400 else
   8401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8402 /* end confdefs.h.  */
   8403 int i;
   8404 _ACEOF
   8405 if ac_fn_c_try_compile "$LINENO"; then :
   8406   xorg_cv_cc_flag_unknown_warning_option=yes
   8407 else
   8408   xorg_cv_cc_flag_unknown_warning_option=no
   8409 fi
   8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8411 fi
   8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8413 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8415 	CFLAGS="$xorg_testset_save_CFLAGS"
   8416 fi
   8417 
   8418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8421 	fi
   8422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8424 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8425 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8426   $as_echo_n "(cached) " >&6
   8427 else
   8428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8429 /* end confdefs.h.  */
   8430 int i;
   8431 _ACEOF
   8432 if ac_fn_c_try_compile "$LINENO"; then :
   8433   xorg_cv_cc_flag_unused_command_line_argument=yes
   8434 else
   8435   xorg_cv_cc_flag_unused_command_line_argument=no
   8436 fi
   8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8438 fi
   8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8440 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8442 	CFLAGS="$xorg_testset_save_CFLAGS"
   8443 fi
   8444 
   8445 found="no"
   8446 
   8447 	if test $found = "no" ; then
   8448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8450 		fi
   8451 
   8452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8454 		fi
   8455 
   8456 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8457 
   8458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8459 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8460 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8461 		if eval \${$cacheid+:} 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 int
   8468 main ()
   8469 {
   8470 
   8471   ;
   8472   return 0;
   8473 }
   8474 _ACEOF
   8475 if ac_fn_c_try_link "$LINENO"; then :
   8476   eval $cacheid=yes
   8477 else
   8478   eval $cacheid=no
   8479 fi
   8480 rm -f core conftest.err conftest.$ac_objext \
   8481     conftest$ac_exeext conftest.$ac_ext
   8482 fi
   8483 
   8484 
   8485 		CFLAGS="$xorg_testset_save_CFLAGS"
   8486 
   8487 		eval supported=\$$cacheid
   8488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8489 $as_echo "$supported" >&6; }
   8490 		if test "$supported" = "yes" ; then
   8491 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8492 			found="yes"
   8493 		fi
   8494 	fi
   8495 
   8496  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8497 else
   8498 { $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
   8499 $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;}
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 xorg_testset_save_CFLAGS="$CFLAGS"
   8514 
   8515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8520   $as_echo_n "(cached) " >&6
   8521 else
   8522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8523 /* end confdefs.h.  */
   8524 int i;
   8525 _ACEOF
   8526 if ac_fn_c_try_compile "$LINENO"; then :
   8527   xorg_cv_cc_flag_unknown_warning_option=yes
   8528 else
   8529   xorg_cv_cc_flag_unknown_warning_option=no
   8530 fi
   8531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8532 fi
   8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8536 	CFLAGS="$xorg_testset_save_CFLAGS"
   8537 fi
   8538 
   8539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8542 	fi
   8543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8547   $as_echo_n "(cached) " >&6
   8548 else
   8549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8550 /* end confdefs.h.  */
   8551 int i;
   8552 _ACEOF
   8553 if ac_fn_c_try_compile "$LINENO"; then :
   8554   xorg_cv_cc_flag_unused_command_line_argument=yes
   8555 else
   8556   xorg_cv_cc_flag_unused_command_line_argument=no
   8557 fi
   8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8559 fi
   8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8563 	CFLAGS="$xorg_testset_save_CFLAGS"
   8564 fi
   8565 
   8566 found="no"
   8567 
   8568 	if test $found = "no" ; then
   8569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8571 		fi
   8572 
   8573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8575 		fi
   8576 
   8577 		CFLAGS="$CFLAGS -Wimplicit"
   8578 
   8579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8580 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8581 		cacheid=xorg_cv_cc_flag__Wimplicit
   8582 		if eval \${$cacheid+:} false; then :
   8583   $as_echo_n "(cached) " >&6
   8584 else
   8585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8586 /* end confdefs.h.  */
   8587 int i;
   8588 int
   8589 main ()
   8590 {
   8591 
   8592   ;
   8593   return 0;
   8594 }
   8595 _ACEOF
   8596 if ac_fn_c_try_link "$LINENO"; then :
   8597   eval $cacheid=yes
   8598 else
   8599   eval $cacheid=no
   8600 fi
   8601 rm -f core conftest.err conftest.$ac_objext \
   8602     conftest$ac_exeext conftest.$ac_ext
   8603 fi
   8604 
   8605 
   8606 		CFLAGS="$xorg_testset_save_CFLAGS"
   8607 
   8608 		eval supported=\$$cacheid
   8609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8610 $as_echo "$supported" >&6; }
   8611 		if test "$supported" = "yes" ; then
   8612 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8613 			found="yes"
   8614 		fi
   8615 	fi
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 xorg_testset_save_CFLAGS="$CFLAGS"
   8632 
   8633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8638   $as_echo_n "(cached) " >&6
   8639 else
   8640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 int i;
   8643 _ACEOF
   8644 if ac_fn_c_try_compile "$LINENO"; then :
   8645   xorg_cv_cc_flag_unknown_warning_option=yes
   8646 else
   8647   xorg_cv_cc_flag_unknown_warning_option=no
   8648 fi
   8649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8650 fi
   8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8654 	CFLAGS="$xorg_testset_save_CFLAGS"
   8655 fi
   8656 
   8657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8660 	fi
   8661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8665   $as_echo_n "(cached) " >&6
   8666 else
   8667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8668 /* end confdefs.h.  */
   8669 int i;
   8670 _ACEOF
   8671 if ac_fn_c_try_compile "$LINENO"; then :
   8672   xorg_cv_cc_flag_unused_command_line_argument=yes
   8673 else
   8674   xorg_cv_cc_flag_unused_command_line_argument=no
   8675 fi
   8676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8677 fi
   8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8681 	CFLAGS="$xorg_testset_save_CFLAGS"
   8682 fi
   8683 
   8684 found="no"
   8685 
   8686 	if test $found = "no" ; then
   8687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8689 		fi
   8690 
   8691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8693 		fi
   8694 
   8695 		CFLAGS="$CFLAGS -Wnonnull"
   8696 
   8697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8698 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8699 		cacheid=xorg_cv_cc_flag__Wnonnull
   8700 		if eval \${$cacheid+:} false; then :
   8701   $as_echo_n "(cached) " >&6
   8702 else
   8703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8704 /* end confdefs.h.  */
   8705 int i;
   8706 int
   8707 main ()
   8708 {
   8709 
   8710   ;
   8711   return 0;
   8712 }
   8713 _ACEOF
   8714 if ac_fn_c_try_link "$LINENO"; then :
   8715   eval $cacheid=yes
   8716 else
   8717   eval $cacheid=no
   8718 fi
   8719 rm -f core conftest.err conftest.$ac_objext \
   8720     conftest$ac_exeext conftest.$ac_ext
   8721 fi
   8722 
   8723 
   8724 		CFLAGS="$xorg_testset_save_CFLAGS"
   8725 
   8726 		eval supported=\$$cacheid
   8727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8728 $as_echo "$supported" >&6; }
   8729 		if test "$supported" = "yes" ; then
   8730 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8731 			found="yes"
   8732 		fi
   8733 	fi
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 xorg_testset_save_CFLAGS="$CFLAGS"
   8750 
   8751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8756   $as_echo_n "(cached) " >&6
   8757 else
   8758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8759 /* end confdefs.h.  */
   8760 int i;
   8761 _ACEOF
   8762 if ac_fn_c_try_compile "$LINENO"; then :
   8763   xorg_cv_cc_flag_unknown_warning_option=yes
   8764 else
   8765   xorg_cv_cc_flag_unknown_warning_option=no
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8768 fi
   8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8772 	CFLAGS="$xorg_testset_save_CFLAGS"
   8773 fi
   8774 
   8775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8778 	fi
   8779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8783   $as_echo_n "(cached) " >&6
   8784 else
   8785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8786 /* end confdefs.h.  */
   8787 int i;
   8788 _ACEOF
   8789 if ac_fn_c_try_compile "$LINENO"; then :
   8790   xorg_cv_cc_flag_unused_command_line_argument=yes
   8791 else
   8792   xorg_cv_cc_flag_unused_command_line_argument=no
   8793 fi
   8794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8795 fi
   8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8799 	CFLAGS="$xorg_testset_save_CFLAGS"
   8800 fi
   8801 
   8802 found="no"
   8803 
   8804 	if test $found = "no" ; then
   8805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8807 		fi
   8808 
   8809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8811 		fi
   8812 
   8813 		CFLAGS="$CFLAGS -Winit-self"
   8814 
   8815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8816 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8817 		cacheid=xorg_cv_cc_flag__Winit_self
   8818 		if eval \${$cacheid+:} false; then :
   8819   $as_echo_n "(cached) " >&6
   8820 else
   8821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8822 /* end confdefs.h.  */
   8823 int i;
   8824 int
   8825 main ()
   8826 {
   8827 
   8828   ;
   8829   return 0;
   8830 }
   8831 _ACEOF
   8832 if ac_fn_c_try_link "$LINENO"; then :
   8833   eval $cacheid=yes
   8834 else
   8835   eval $cacheid=no
   8836 fi
   8837 rm -f core conftest.err conftest.$ac_objext \
   8838     conftest$ac_exeext conftest.$ac_ext
   8839 fi
   8840 
   8841 
   8842 		CFLAGS="$xorg_testset_save_CFLAGS"
   8843 
   8844 		eval supported=\$$cacheid
   8845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8846 $as_echo "$supported" >&6; }
   8847 		if test "$supported" = "yes" ; then
   8848 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8849 			found="yes"
   8850 		fi
   8851 	fi
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 xorg_testset_save_CFLAGS="$CFLAGS"
   8868 
   8869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8874   $as_echo_n "(cached) " >&6
   8875 else
   8876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8877 /* end confdefs.h.  */
   8878 int i;
   8879 _ACEOF
   8880 if ac_fn_c_try_compile "$LINENO"; then :
   8881   xorg_cv_cc_flag_unknown_warning_option=yes
   8882 else
   8883   xorg_cv_cc_flag_unknown_warning_option=no
   8884 fi
   8885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8886 fi
   8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8890 	CFLAGS="$xorg_testset_save_CFLAGS"
   8891 fi
   8892 
   8893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8896 	fi
   8897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8907 if ac_fn_c_try_compile "$LINENO"; then :
   8908   xorg_cv_cc_flag_unused_command_line_argument=yes
   8909 else
   8910   xorg_cv_cc_flag_unused_command_line_argument=no
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8913 fi
   8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8917 	CFLAGS="$xorg_testset_save_CFLAGS"
   8918 fi
   8919 
   8920 found="no"
   8921 
   8922 	if test $found = "no" ; then
   8923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8925 		fi
   8926 
   8927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8929 		fi
   8930 
   8931 		CFLAGS="$CFLAGS -Wmain"
   8932 
   8933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8934 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8935 		cacheid=xorg_cv_cc_flag__Wmain
   8936 		if eval \${$cacheid+:} false; then :
   8937   $as_echo_n "(cached) " >&6
   8938 else
   8939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 int
   8943 main ()
   8944 {
   8945 
   8946   ;
   8947   return 0;
   8948 }
   8949 _ACEOF
   8950 if ac_fn_c_try_link "$LINENO"; then :
   8951   eval $cacheid=yes
   8952 else
   8953   eval $cacheid=no
   8954 fi
   8955 rm -f core conftest.err conftest.$ac_objext \
   8956     conftest$ac_exeext conftest.$ac_ext
   8957 fi
   8958 
   8959 
   8960 		CFLAGS="$xorg_testset_save_CFLAGS"
   8961 
   8962 		eval supported=\$$cacheid
   8963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8964 $as_echo "$supported" >&6; }
   8965 		if test "$supported" = "yes" ; then
   8966 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8967 			found="yes"
   8968 		fi
   8969 	fi
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 xorg_testset_save_CFLAGS="$CFLAGS"
   8986 
   8987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8990 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8991 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8992   $as_echo_n "(cached) " >&6
   8993 else
   8994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8995 /* end confdefs.h.  */
   8996 int i;
   8997 _ACEOF
   8998 if ac_fn_c_try_compile "$LINENO"; then :
   8999   xorg_cv_cc_flag_unknown_warning_option=yes
   9000 else
   9001   xorg_cv_cc_flag_unknown_warning_option=no
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9004 fi
   9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9006 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9008 	CFLAGS="$xorg_testset_save_CFLAGS"
   9009 fi
   9010 
   9011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9014 	fi
   9015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9017 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9018 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9025 if ac_fn_c_try_compile "$LINENO"; then :
   9026   xorg_cv_cc_flag_unused_command_line_argument=yes
   9027 else
   9028   xorg_cv_cc_flag_unused_command_line_argument=no
   9029 fi
   9030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9031 fi
   9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9033 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9035 	CFLAGS="$xorg_testset_save_CFLAGS"
   9036 fi
   9037 
   9038 found="no"
   9039 
   9040 	if test $found = "no" ; then
   9041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9043 		fi
   9044 
   9045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9047 		fi
   9048 
   9049 		CFLAGS="$CFLAGS -Wmissing-braces"
   9050 
   9051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9052 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9053 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9054 		if eval \${$cacheid+:} false; then :
   9055   $as_echo_n "(cached) " >&6
   9056 else
   9057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9058 /* end confdefs.h.  */
   9059 int i;
   9060 int
   9061 main ()
   9062 {
   9063 
   9064   ;
   9065   return 0;
   9066 }
   9067 _ACEOF
   9068 if ac_fn_c_try_link "$LINENO"; then :
   9069   eval $cacheid=yes
   9070 else
   9071   eval $cacheid=no
   9072 fi
   9073 rm -f core conftest.err conftest.$ac_objext \
   9074     conftest$ac_exeext conftest.$ac_ext
   9075 fi
   9076 
   9077 
   9078 		CFLAGS="$xorg_testset_save_CFLAGS"
   9079 
   9080 		eval supported=\$$cacheid
   9081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9082 $as_echo "$supported" >&6; }
   9083 		if test "$supported" = "yes" ; then
   9084 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9085 			found="yes"
   9086 		fi
   9087 	fi
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 xorg_testset_save_CFLAGS="$CFLAGS"
   9104 
   9105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9108 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9109 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9110   $as_echo_n "(cached) " >&6
   9111 else
   9112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9113 /* end confdefs.h.  */
   9114 int i;
   9115 _ACEOF
   9116 if ac_fn_c_try_compile "$LINENO"; then :
   9117   xorg_cv_cc_flag_unknown_warning_option=yes
   9118 else
   9119   xorg_cv_cc_flag_unknown_warning_option=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9122 fi
   9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9124 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9126 	CFLAGS="$xorg_testset_save_CFLAGS"
   9127 fi
   9128 
   9129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9132 	fi
   9133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9135 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9136 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9143 if ac_fn_c_try_compile "$LINENO"; then :
   9144   xorg_cv_cc_flag_unused_command_line_argument=yes
   9145 else
   9146   xorg_cv_cc_flag_unused_command_line_argument=no
   9147 fi
   9148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9149 fi
   9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9151 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9153 	CFLAGS="$xorg_testset_save_CFLAGS"
   9154 fi
   9155 
   9156 found="no"
   9157 
   9158 	if test $found = "no" ; then
   9159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9161 		fi
   9162 
   9163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9165 		fi
   9166 
   9167 		CFLAGS="$CFLAGS -Wsequence-point"
   9168 
   9169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9170 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9171 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9172 		if eval \${$cacheid+:} false; then :
   9173   $as_echo_n "(cached) " >&6
   9174 else
   9175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9176 /* end confdefs.h.  */
   9177 int i;
   9178 int
   9179 main ()
   9180 {
   9181 
   9182   ;
   9183   return 0;
   9184 }
   9185 _ACEOF
   9186 if ac_fn_c_try_link "$LINENO"; then :
   9187   eval $cacheid=yes
   9188 else
   9189   eval $cacheid=no
   9190 fi
   9191 rm -f core conftest.err conftest.$ac_objext \
   9192     conftest$ac_exeext conftest.$ac_ext
   9193 fi
   9194 
   9195 
   9196 		CFLAGS="$xorg_testset_save_CFLAGS"
   9197 
   9198 		eval supported=\$$cacheid
   9199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9200 $as_echo "$supported" >&6; }
   9201 		if test "$supported" = "yes" ; then
   9202 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9203 			found="yes"
   9204 		fi
   9205 	fi
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 xorg_testset_save_CFLAGS="$CFLAGS"
   9222 
   9223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9228   $as_echo_n "(cached) " >&6
   9229 else
   9230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9231 /* end confdefs.h.  */
   9232 int i;
   9233 _ACEOF
   9234 if ac_fn_c_try_compile "$LINENO"; then :
   9235   xorg_cv_cc_flag_unknown_warning_option=yes
   9236 else
   9237   xorg_cv_cc_flag_unknown_warning_option=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9240 fi
   9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9244 	CFLAGS="$xorg_testset_save_CFLAGS"
   9245 fi
   9246 
   9247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9250 	fi
   9251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9261 if ac_fn_c_try_compile "$LINENO"; then :
   9262   xorg_cv_cc_flag_unused_command_line_argument=yes
   9263 else
   9264   xorg_cv_cc_flag_unused_command_line_argument=no
   9265 fi
   9266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9267 fi
   9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9271 	CFLAGS="$xorg_testset_save_CFLAGS"
   9272 fi
   9273 
   9274 found="no"
   9275 
   9276 	if test $found = "no" ; then
   9277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9279 		fi
   9280 
   9281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9283 		fi
   9284 
   9285 		CFLAGS="$CFLAGS -Wreturn-type"
   9286 
   9287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9288 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9289 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9290 		if eval \${$cacheid+:} false; then :
   9291   $as_echo_n "(cached) " >&6
   9292 else
   9293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9294 /* end confdefs.h.  */
   9295 int i;
   9296 int
   9297 main ()
   9298 {
   9299 
   9300   ;
   9301   return 0;
   9302 }
   9303 _ACEOF
   9304 if ac_fn_c_try_link "$LINENO"; then :
   9305   eval $cacheid=yes
   9306 else
   9307   eval $cacheid=no
   9308 fi
   9309 rm -f core conftest.err conftest.$ac_objext \
   9310     conftest$ac_exeext conftest.$ac_ext
   9311 fi
   9312 
   9313 
   9314 		CFLAGS="$xorg_testset_save_CFLAGS"
   9315 
   9316 		eval supported=\$$cacheid
   9317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9318 $as_echo "$supported" >&6; }
   9319 		if test "$supported" = "yes" ; then
   9320 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9321 			found="yes"
   9322 		fi
   9323 	fi
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 xorg_testset_save_CFLAGS="$CFLAGS"
   9340 
   9341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9346   $as_echo_n "(cached) " >&6
   9347 else
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 _ACEOF
   9352 if ac_fn_c_try_compile "$LINENO"; then :
   9353   xorg_cv_cc_flag_unknown_warning_option=yes
   9354 else
   9355   xorg_cv_cc_flag_unknown_warning_option=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9358 fi
   9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9362 	CFLAGS="$xorg_testset_save_CFLAGS"
   9363 fi
   9364 
   9365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9368 	fi
   9369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9379 if ac_fn_c_try_compile "$LINENO"; then :
   9380   xorg_cv_cc_flag_unused_command_line_argument=yes
   9381 else
   9382   xorg_cv_cc_flag_unused_command_line_argument=no
   9383 fi
   9384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9385 fi
   9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9389 	CFLAGS="$xorg_testset_save_CFLAGS"
   9390 fi
   9391 
   9392 found="no"
   9393 
   9394 	if test $found = "no" ; then
   9395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9397 		fi
   9398 
   9399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9401 		fi
   9402 
   9403 		CFLAGS="$CFLAGS -Wtrigraphs"
   9404 
   9405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9406 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9407 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9408 		if eval \${$cacheid+:} false; then :
   9409   $as_echo_n "(cached) " >&6
   9410 else
   9411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9412 /* end confdefs.h.  */
   9413 int i;
   9414 int
   9415 main ()
   9416 {
   9417 
   9418   ;
   9419   return 0;
   9420 }
   9421 _ACEOF
   9422 if ac_fn_c_try_link "$LINENO"; then :
   9423   eval $cacheid=yes
   9424 else
   9425   eval $cacheid=no
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext \
   9428     conftest$ac_exeext conftest.$ac_ext
   9429 fi
   9430 
   9431 
   9432 		CFLAGS="$xorg_testset_save_CFLAGS"
   9433 
   9434 		eval supported=\$$cacheid
   9435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9436 $as_echo "$supported" >&6; }
   9437 		if test "$supported" = "yes" ; then
   9438 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9439 			found="yes"
   9440 		fi
   9441 	fi
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 xorg_testset_save_CFLAGS="$CFLAGS"
   9458 
   9459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9462 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9463 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9464   $as_echo_n "(cached) " >&6
   9465 else
   9466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9467 /* end confdefs.h.  */
   9468 int i;
   9469 _ACEOF
   9470 if ac_fn_c_try_compile "$LINENO"; then :
   9471   xorg_cv_cc_flag_unknown_warning_option=yes
   9472 else
   9473   xorg_cv_cc_flag_unknown_warning_option=no
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9476 fi
   9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9478 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9480 	CFLAGS="$xorg_testset_save_CFLAGS"
   9481 fi
   9482 
   9483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9486 	fi
   9487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9489 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9490 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   9497 if ac_fn_c_try_compile "$LINENO"; then :
   9498   xorg_cv_cc_flag_unused_command_line_argument=yes
   9499 else
   9500   xorg_cv_cc_flag_unused_command_line_argument=no
   9501 fi
   9502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9503 fi
   9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9505 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9507 	CFLAGS="$xorg_testset_save_CFLAGS"
   9508 fi
   9509 
   9510 found="no"
   9511 
   9512 	if test $found = "no" ; then
   9513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9515 		fi
   9516 
   9517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9519 		fi
   9520 
   9521 		CFLAGS="$CFLAGS -Warray-bounds"
   9522 
   9523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9524 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9525 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9526 		if eval \${$cacheid+:} false; then :
   9527   $as_echo_n "(cached) " >&6
   9528 else
   9529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9530 /* end confdefs.h.  */
   9531 int i;
   9532 int
   9533 main ()
   9534 {
   9535 
   9536   ;
   9537   return 0;
   9538 }
   9539 _ACEOF
   9540 if ac_fn_c_try_link "$LINENO"; then :
   9541   eval $cacheid=yes
   9542 else
   9543   eval $cacheid=no
   9544 fi
   9545 rm -f core conftest.err conftest.$ac_objext \
   9546     conftest$ac_exeext conftest.$ac_ext
   9547 fi
   9548 
   9549 
   9550 		CFLAGS="$xorg_testset_save_CFLAGS"
   9551 
   9552 		eval supported=\$$cacheid
   9553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9554 $as_echo "$supported" >&6; }
   9555 		if test "$supported" = "yes" ; then
   9556 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9557 			found="yes"
   9558 		fi
   9559 	fi
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 xorg_testset_save_CFLAGS="$CFLAGS"
   9576 
   9577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9582   $as_echo_n "(cached) " >&6
   9583 else
   9584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9585 /* end confdefs.h.  */
   9586 int i;
   9587 _ACEOF
   9588 if ac_fn_c_try_compile "$LINENO"; then :
   9589   xorg_cv_cc_flag_unknown_warning_option=yes
   9590 else
   9591   xorg_cv_cc_flag_unknown_warning_option=no
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9594 fi
   9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9598 	CFLAGS="$xorg_testset_save_CFLAGS"
   9599 fi
   9600 
   9601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9604 	fi
   9605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9609   $as_echo_n "(cached) " >&6
   9610 else
   9611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9612 /* end confdefs.h.  */
   9613 int i;
   9614 _ACEOF
   9615 if ac_fn_c_try_compile "$LINENO"; then :
   9616   xorg_cv_cc_flag_unused_command_line_argument=yes
   9617 else
   9618   xorg_cv_cc_flag_unused_command_line_argument=no
   9619 fi
   9620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9621 fi
   9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9625 	CFLAGS="$xorg_testset_save_CFLAGS"
   9626 fi
   9627 
   9628 found="no"
   9629 
   9630 	if test $found = "no" ; then
   9631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9633 		fi
   9634 
   9635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9637 		fi
   9638 
   9639 		CFLAGS="$CFLAGS -Wwrite-strings"
   9640 
   9641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9642 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9643 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9644 		if eval \${$cacheid+:} false; then :
   9645   $as_echo_n "(cached) " >&6
   9646 else
   9647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9648 /* end confdefs.h.  */
   9649 int i;
   9650 int
   9651 main ()
   9652 {
   9653 
   9654   ;
   9655   return 0;
   9656 }
   9657 _ACEOF
   9658 if ac_fn_c_try_link "$LINENO"; then :
   9659   eval $cacheid=yes
   9660 else
   9661   eval $cacheid=no
   9662 fi
   9663 rm -f core conftest.err conftest.$ac_objext \
   9664     conftest$ac_exeext conftest.$ac_ext
   9665 fi
   9666 
   9667 
   9668 		CFLAGS="$xorg_testset_save_CFLAGS"
   9669 
   9670 		eval supported=\$$cacheid
   9671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9672 $as_echo "$supported" >&6; }
   9673 		if test "$supported" = "yes" ; then
   9674 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9675 			found="yes"
   9676 		fi
   9677 	fi
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 xorg_testset_save_CFLAGS="$CFLAGS"
   9694 
   9695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9700   $as_echo_n "(cached) " >&6
   9701 else
   9702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 _ACEOF
   9706 if ac_fn_c_try_compile "$LINENO"; then :
   9707   xorg_cv_cc_flag_unknown_warning_option=yes
   9708 else
   9709   xorg_cv_cc_flag_unknown_warning_option=no
   9710 fi
   9711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9712 fi
   9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9716 	CFLAGS="$xorg_testset_save_CFLAGS"
   9717 fi
   9718 
   9719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9722 	fi
   9723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9727   $as_echo_n "(cached) " >&6
   9728 else
   9729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9730 /* end confdefs.h.  */
   9731 int i;
   9732 _ACEOF
   9733 if ac_fn_c_try_compile "$LINENO"; then :
   9734   xorg_cv_cc_flag_unused_command_line_argument=yes
   9735 else
   9736   xorg_cv_cc_flag_unused_command_line_argument=no
   9737 fi
   9738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9739 fi
   9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9743 	CFLAGS="$xorg_testset_save_CFLAGS"
   9744 fi
   9745 
   9746 found="no"
   9747 
   9748 	if test $found = "no" ; then
   9749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9751 		fi
   9752 
   9753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9755 		fi
   9756 
   9757 		CFLAGS="$CFLAGS -Waddress"
   9758 
   9759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9760 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9761 		cacheid=xorg_cv_cc_flag__Waddress
   9762 		if eval \${$cacheid+:} false; then :
   9763   $as_echo_n "(cached) " >&6
   9764 else
   9765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9766 /* end confdefs.h.  */
   9767 int i;
   9768 int
   9769 main ()
   9770 {
   9771 
   9772   ;
   9773   return 0;
   9774 }
   9775 _ACEOF
   9776 if ac_fn_c_try_link "$LINENO"; then :
   9777   eval $cacheid=yes
   9778 else
   9779   eval $cacheid=no
   9780 fi
   9781 rm -f core conftest.err conftest.$ac_objext \
   9782     conftest$ac_exeext conftest.$ac_ext
   9783 fi
   9784 
   9785 
   9786 		CFLAGS="$xorg_testset_save_CFLAGS"
   9787 
   9788 		eval supported=\$$cacheid
   9789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9790 $as_echo "$supported" >&6; }
   9791 		if test "$supported" = "yes" ; then
   9792 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9793 			found="yes"
   9794 		fi
   9795 	fi
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 xorg_testset_save_CFLAGS="$CFLAGS"
   9812 
   9813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9818   $as_echo_n "(cached) " >&6
   9819 else
   9820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int i;
   9823 _ACEOF
   9824 if ac_fn_c_try_compile "$LINENO"; then :
   9825   xorg_cv_cc_flag_unknown_warning_option=yes
   9826 else
   9827   xorg_cv_cc_flag_unknown_warning_option=no
   9828 fi
   9829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9830 fi
   9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9834 	CFLAGS="$xorg_testset_save_CFLAGS"
   9835 fi
   9836 
   9837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9840 	fi
   9841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9845   $as_echo_n "(cached) " >&6
   9846 else
   9847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9848 /* end confdefs.h.  */
   9849 int i;
   9850 _ACEOF
   9851 if ac_fn_c_try_compile "$LINENO"; then :
   9852   xorg_cv_cc_flag_unused_command_line_argument=yes
   9853 else
   9854   xorg_cv_cc_flag_unused_command_line_argument=no
   9855 fi
   9856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9857 fi
   9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9861 	CFLAGS="$xorg_testset_save_CFLAGS"
   9862 fi
   9863 
   9864 found="no"
   9865 
   9866 	if test $found = "no" ; then
   9867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9869 		fi
   9870 
   9871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9873 		fi
   9874 
   9875 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9876 
   9877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9878 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9879 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9880 		if eval \${$cacheid+:} false; then :
   9881   $as_echo_n "(cached) " >&6
   9882 else
   9883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9884 /* end confdefs.h.  */
   9885 int i;
   9886 int
   9887 main ()
   9888 {
   9889 
   9890   ;
   9891   return 0;
   9892 }
   9893 _ACEOF
   9894 if ac_fn_c_try_link "$LINENO"; then :
   9895   eval $cacheid=yes
   9896 else
   9897   eval $cacheid=no
   9898 fi
   9899 rm -f core conftest.err conftest.$ac_objext \
   9900     conftest$ac_exeext conftest.$ac_ext
   9901 fi
   9902 
   9903 
   9904 		CFLAGS="$xorg_testset_save_CFLAGS"
   9905 
   9906 		eval supported=\$$cacheid
   9907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9908 $as_echo "$supported" >&6; }
   9909 		if test "$supported" = "yes" ; then
   9910 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9911 			found="yes"
   9912 		fi
   9913 	fi
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 xorg_testset_save_CFLAGS="$CFLAGS"
   9930 
   9931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9934 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9935 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9936   $as_echo_n "(cached) " >&6
   9937 else
   9938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9939 /* end confdefs.h.  */
   9940 int i;
   9941 _ACEOF
   9942 if ac_fn_c_try_compile "$LINENO"; then :
   9943   xorg_cv_cc_flag_unknown_warning_option=yes
   9944 else
   9945   xorg_cv_cc_flag_unknown_warning_option=no
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9948 fi
   9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9950 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9952 	CFLAGS="$xorg_testset_save_CFLAGS"
   9953 fi
   9954 
   9955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9958 	fi
   9959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9961 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9962 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9963   $as_echo_n "(cached) " >&6
   9964 else
   9965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9966 /* end confdefs.h.  */
   9967 int i;
   9968 _ACEOF
   9969 if ac_fn_c_try_compile "$LINENO"; then :
   9970   xorg_cv_cc_flag_unused_command_line_argument=yes
   9971 else
   9972   xorg_cv_cc_flag_unused_command_line_argument=no
   9973 fi
   9974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9975 fi
   9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9977 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9979 	CFLAGS="$xorg_testset_save_CFLAGS"
   9980 fi
   9981 
   9982 found="no"
   9983 
   9984 	if test $found = "no" ; then
   9985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9987 		fi
   9988 
   9989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9991 		fi
   9992 
   9993 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9994 
   9995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9996 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9997 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9998 		if eval \${$cacheid+:} false; then :
   9999   $as_echo_n "(cached) " >&6
   10000 else
   10001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10002 /* end confdefs.h.  */
   10003 int i;
   10004 int
   10005 main ()
   10006 {
   10007 
   10008   ;
   10009   return 0;
   10010 }
   10011 _ACEOF
   10012 if ac_fn_c_try_link "$LINENO"; then :
   10013   eval $cacheid=yes
   10014 else
   10015   eval $cacheid=no
   10016 fi
   10017 rm -f core conftest.err conftest.$ac_objext \
   10018     conftest$ac_exeext conftest.$ac_ext
   10019 fi
   10020 
   10021 
   10022 		CFLAGS="$xorg_testset_save_CFLAGS"
   10023 
   10024 		eval supported=\$$cacheid
   10025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10026 $as_echo "$supported" >&6; }
   10027 		if test "$supported" = "yes" ; then
   10028 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10029 			found="yes"
   10030 		fi
   10031 	fi
   10032 
   10033 
   10034 fi
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 		CWARNFLAGS="$BASE_CFLAGS"
   10043 		if  test "x$GCC" = xyes ; then
   10044 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10045 		fi
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 # Check whether --enable-strict-compilation was given.
   10055 if test "${enable_strict_compilation+set}" = set; then :
   10056   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10057 else
   10058   STRICT_COMPILE=no
   10059 fi
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 STRICT_CFLAGS=""
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 xorg_testset_save_CFLAGS="$CFLAGS"
   10081 
   10082 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10083 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10085 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10086 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10087   $as_echo_n "(cached) " >&6
   10088 else
   10089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10090 /* end confdefs.h.  */
   10091 int i;
   10092 _ACEOF
   10093 if ac_fn_c_try_compile "$LINENO"; then :
   10094   xorg_cv_cc_flag_unknown_warning_option=yes
   10095 else
   10096   xorg_cv_cc_flag_unknown_warning_option=no
   10097 fi
   10098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10099 fi
   10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10101 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10103 	CFLAGS="$xorg_testset_save_CFLAGS"
   10104 fi
   10105 
   10106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10109 	fi
   10110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10112 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10113 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10114   $as_echo_n "(cached) " >&6
   10115 else
   10116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10117 /* end confdefs.h.  */
   10118 int i;
   10119 _ACEOF
   10120 if ac_fn_c_try_compile "$LINENO"; then :
   10121   xorg_cv_cc_flag_unused_command_line_argument=yes
   10122 else
   10123   xorg_cv_cc_flag_unused_command_line_argument=no
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10126 fi
   10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10128 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10130 	CFLAGS="$xorg_testset_save_CFLAGS"
   10131 fi
   10132 
   10133 found="no"
   10134 
   10135 	if test $found = "no" ; then
   10136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10138 		fi
   10139 
   10140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10142 		fi
   10143 
   10144 		CFLAGS="$CFLAGS -pedantic"
   10145 
   10146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10147 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10148 		cacheid=xorg_cv_cc_flag__pedantic
   10149 		if eval \${$cacheid+:} false; then :
   10150   $as_echo_n "(cached) " >&6
   10151 else
   10152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10153 /* end confdefs.h.  */
   10154 int i;
   10155 int
   10156 main ()
   10157 {
   10158 
   10159   ;
   10160   return 0;
   10161 }
   10162 _ACEOF
   10163 if ac_fn_c_try_link "$LINENO"; then :
   10164   eval $cacheid=yes
   10165 else
   10166   eval $cacheid=no
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext \
   10169     conftest$ac_exeext conftest.$ac_ext
   10170 fi
   10171 
   10172 
   10173 		CFLAGS="$xorg_testset_save_CFLAGS"
   10174 
   10175 		eval supported=\$$cacheid
   10176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10177 $as_echo "$supported" >&6; }
   10178 		if test "$supported" = "yes" ; then
   10179 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10180 			found="yes"
   10181 		fi
   10182 	fi
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 xorg_testset_save_CFLAGS="$CFLAGS"
   10199 
   10200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10203 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10204 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10205   $as_echo_n "(cached) " >&6
   10206 else
   10207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10208 /* end confdefs.h.  */
   10209 int i;
   10210 _ACEOF
   10211 if ac_fn_c_try_compile "$LINENO"; then :
   10212   xorg_cv_cc_flag_unknown_warning_option=yes
   10213 else
   10214   xorg_cv_cc_flag_unknown_warning_option=no
   10215 fi
   10216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10217 fi
   10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10219 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10221 	CFLAGS="$xorg_testset_save_CFLAGS"
   10222 fi
   10223 
   10224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10227 	fi
   10228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10230 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10231 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10232   $as_echo_n "(cached) " >&6
   10233 else
   10234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10235 /* end confdefs.h.  */
   10236 int i;
   10237 _ACEOF
   10238 if ac_fn_c_try_compile "$LINENO"; then :
   10239   xorg_cv_cc_flag_unused_command_line_argument=yes
   10240 else
   10241   xorg_cv_cc_flag_unused_command_line_argument=no
   10242 fi
   10243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10244 fi
   10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10246 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10248 	CFLAGS="$xorg_testset_save_CFLAGS"
   10249 fi
   10250 
   10251 found="no"
   10252 
   10253 	if test $found = "no" ; then
   10254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10256 		fi
   10257 
   10258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10260 		fi
   10261 
   10262 		CFLAGS="$CFLAGS -Werror"
   10263 
   10264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10265 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10266 		cacheid=xorg_cv_cc_flag__Werror
   10267 		if eval \${$cacheid+:} false; then :
   10268   $as_echo_n "(cached) " >&6
   10269 else
   10270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10271 /* end confdefs.h.  */
   10272 int i;
   10273 int
   10274 main ()
   10275 {
   10276 
   10277   ;
   10278   return 0;
   10279 }
   10280 _ACEOF
   10281 if ac_fn_c_try_link "$LINENO"; then :
   10282   eval $cacheid=yes
   10283 else
   10284   eval $cacheid=no
   10285 fi
   10286 rm -f core conftest.err conftest.$ac_objext \
   10287     conftest$ac_exeext conftest.$ac_ext
   10288 fi
   10289 
   10290 
   10291 		CFLAGS="$xorg_testset_save_CFLAGS"
   10292 
   10293 		eval supported=\$$cacheid
   10294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10295 $as_echo "$supported" >&6; }
   10296 		if test "$supported" = "yes" ; then
   10297 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10298 			found="yes"
   10299 		fi
   10300 	fi
   10301 
   10302 	if test $found = "no" ; then
   10303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10305 		fi
   10306 
   10307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10309 		fi
   10310 
   10311 		CFLAGS="$CFLAGS -errwarn"
   10312 
   10313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10314 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10315 		cacheid=xorg_cv_cc_flag__errwarn
   10316 		if eval \${$cacheid+:} false; then :
   10317   $as_echo_n "(cached) " >&6
   10318 else
   10319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10320 /* end confdefs.h.  */
   10321 int i;
   10322 int
   10323 main ()
   10324 {
   10325 
   10326   ;
   10327   return 0;
   10328 }
   10329 _ACEOF
   10330 if ac_fn_c_try_link "$LINENO"; then :
   10331   eval $cacheid=yes
   10332 else
   10333   eval $cacheid=no
   10334 fi
   10335 rm -f core conftest.err conftest.$ac_objext \
   10336     conftest$ac_exeext conftest.$ac_ext
   10337 fi
   10338 
   10339 
   10340 		CFLAGS="$xorg_testset_save_CFLAGS"
   10341 
   10342 		eval supported=\$$cacheid
   10343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10344 $as_echo "$supported" >&6; }
   10345 		if test "$supported" = "yes" ; then
   10346 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10347 			found="yes"
   10348 		fi
   10349 	fi
   10350 
   10351 
   10352 
   10353 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10354 # activate it with -Werror, so we add it here explicitly.
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 xorg_testset_save_CFLAGS="$CFLAGS"
   10369 
   10370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10373 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10374 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10375   $as_echo_n "(cached) " >&6
   10376 else
   10377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10378 /* end confdefs.h.  */
   10379 int i;
   10380 _ACEOF
   10381 if ac_fn_c_try_compile "$LINENO"; then :
   10382   xorg_cv_cc_flag_unknown_warning_option=yes
   10383 else
   10384   xorg_cv_cc_flag_unknown_warning_option=no
   10385 fi
   10386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10387 fi
   10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10389 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10391 	CFLAGS="$xorg_testset_save_CFLAGS"
   10392 fi
   10393 
   10394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10397 	fi
   10398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10400 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10401 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10402   $as_echo_n "(cached) " >&6
   10403 else
   10404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10405 /* end confdefs.h.  */
   10406 int i;
   10407 _ACEOF
   10408 if ac_fn_c_try_compile "$LINENO"; then :
   10409   xorg_cv_cc_flag_unused_command_line_argument=yes
   10410 else
   10411   xorg_cv_cc_flag_unused_command_line_argument=no
   10412 fi
   10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10414 fi
   10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10416 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10418 	CFLAGS="$xorg_testset_save_CFLAGS"
   10419 fi
   10420 
   10421 found="no"
   10422 
   10423 	if test $found = "no" ; then
   10424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10426 		fi
   10427 
   10428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10430 		fi
   10431 
   10432 		CFLAGS="$CFLAGS -Werror=attributes"
   10433 
   10434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10435 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10436 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10437 		if eval \${$cacheid+:} false; then :
   10438   $as_echo_n "(cached) " >&6
   10439 else
   10440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10441 /* end confdefs.h.  */
   10442 int i;
   10443 int
   10444 main ()
   10445 {
   10446 
   10447   ;
   10448   return 0;
   10449 }
   10450 _ACEOF
   10451 if ac_fn_c_try_link "$LINENO"; then :
   10452   eval $cacheid=yes
   10453 else
   10454   eval $cacheid=no
   10455 fi
   10456 rm -f core conftest.err conftest.$ac_objext \
   10457     conftest$ac_exeext conftest.$ac_ext
   10458 fi
   10459 
   10460 
   10461 		CFLAGS="$xorg_testset_save_CFLAGS"
   10462 
   10463 		eval supported=\$$cacheid
   10464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10465 $as_echo "$supported" >&6; }
   10466 		if test "$supported" = "yes" ; then
   10467 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10468 			found="yes"
   10469 		fi
   10470 	fi
   10471 
   10472 
   10473 
   10474 if test "x$STRICT_COMPILE" = "xyes"; then
   10475     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10476     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10477 fi
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 cat >>confdefs.h <<_ACEOF
   10485 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10486 _ACEOF
   10487 
   10488 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10489 	if test "x$PVM" = "x"; then
   10490 		PVM="0"
   10491 	fi
   10492 
   10493 cat >>confdefs.h <<_ACEOF
   10494 #define PACKAGE_VERSION_MINOR $PVM
   10495 _ACEOF
   10496 
   10497 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10498 	if test "x$PVP" = "x"; then
   10499 		PVP="0"
   10500 	fi
   10501 
   10502 cat >>confdefs.h <<_ACEOF
   10503 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10504 _ACEOF
   10505 
   10506 
   10507 
   10508 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10509 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10510 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10511 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10512 
   10513 
   10514 
   10515 
   10516 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10517 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10518 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10519 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10520 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 if test x$APP_MAN_SUFFIX = x    ; then
   10528     APP_MAN_SUFFIX=1
   10529 fi
   10530 if test x$APP_MAN_DIR = x    ; then
   10531     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10532 fi
   10533 
   10534 if test x$LIB_MAN_SUFFIX = x    ; then
   10535     LIB_MAN_SUFFIX=3
   10536 fi
   10537 if test x$LIB_MAN_DIR = x    ; then
   10538     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10539 fi
   10540 
   10541 if test x$FILE_MAN_SUFFIX = x    ; then
   10542     case $host_os in
   10543 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10544 	*)		FILE_MAN_SUFFIX=5  ;;
   10545     esac
   10546 fi
   10547 if test x$FILE_MAN_DIR = x    ; then
   10548     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10549 fi
   10550 
   10551 if test x$MISC_MAN_SUFFIX = x    ; then
   10552     case $host_os in
   10553 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10554 	*)		MISC_MAN_SUFFIX=7  ;;
   10555     esac
   10556 fi
   10557 if test x$MISC_MAN_DIR = x    ; then
   10558     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10559 fi
   10560 
   10561 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10562     case $host_os in
   10563 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10564 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10565     esac
   10566 fi
   10567 if test x$DRIVER_MAN_DIR = x    ; then
   10568     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10569 fi
   10570 
   10571 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10572     case $host_os in
   10573 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10574 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10575     esac
   10576 fi
   10577 if test x$ADMIN_MAN_DIR = x    ; then
   10578     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10579 fi
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 XORG_MAN_PAGE="X Version 11"
   10596 
   10597 MAN_SUBSTS="\
   10598 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10599 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10600 	-e 's|__xservername__|Xorg|g' \
   10601 	-e 's|__xconfigfile__|xorg.conf|g' \
   10602 	-e 's|__projectroot__|\$(prefix)|g' \
   10603 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10604 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10605 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10606 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10607 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10608 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10609 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10610 
   10611 
   10612 
   10613 # Check whether --enable-silent-rules was given.
   10614 if test "${enable_silent_rules+set}" = set; then :
   10615   enableval=$enable_silent_rules;
   10616 fi
   10617 
   10618 case $enable_silent_rules in # (((
   10619   yes) AM_DEFAULT_VERBOSITY=0;;
   10620    no) AM_DEFAULT_VERBOSITY=1;;
   10621     *) AM_DEFAULT_VERBOSITY=0;;
   10622 esac
   10623 am_make=${MAKE-make}
   10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10625 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10626 if ${am_cv_make_support_nested_variables+:} false; then :
   10627   $as_echo_n "(cached) " >&6
   10628 else
   10629   if $as_echo 'TRUE=$(BAR$(V))
   10630 BAR0=false
   10631 BAR1=true
   10632 V=1
   10633 am__doit:
   10634 	@$(TRUE)
   10635 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10636   am_cv_make_support_nested_variables=yes
   10637 else
   10638   am_cv_make_support_nested_variables=no
   10639 fi
   10640 fi
   10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10642 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10643 if test $am_cv_make_support_nested_variables = yes; then
   10644     AM_V='$(V)'
   10645   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10646 else
   10647   AM_V=$AM_DEFAULT_VERBOSITY
   10648   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10649 fi
   10650 AM_BACKSLASH='\'
   10651 
   10652 
   10653 
   10654 ac_config_headers="$ac_config_headers config.h"
   10655 
   10656 
   10657 
   10658 
   10659 for ac_func in strlcpy getpid
   10660 do :
   10661   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10663 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10664   cat >>confdefs.h <<_ACEOF
   10665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10666 _ACEOF
   10667 
   10668 fi
   10669 done
   10670 
   10671 
   10672 
   10673       if test "X$prefix" = "XNONE"; then
   10674     acl_final_prefix="$ac_default_prefix"
   10675   else
   10676     acl_final_prefix="$prefix"
   10677   fi
   10678   if test "X$exec_prefix" = "XNONE"; then
   10679     acl_final_exec_prefix='${prefix}'
   10680   else
   10681     acl_final_exec_prefix="$exec_prefix"
   10682   fi
   10683   acl_save_prefix="$prefix"
   10684   prefix="$acl_final_prefix"
   10685   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   10686   prefix="$acl_save_prefix"
   10687 
   10688 
   10689 # Check whether --with-gnu-ld was given.
   10690 if test "${with_gnu_ld+set}" = set; then :
   10691   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10692 else
   10693   with_gnu_ld=no
   10694 fi
   10695 
   10696 # Prepare PATH_SEPARATOR.
   10697 # The user is always right.
   10698 if test "${PATH_SEPARATOR+set}" != set; then
   10699   echo "#! /bin/sh" >conf$$.sh
   10700   echo  "exit 0"   >>conf$$.sh
   10701   chmod +x conf$$.sh
   10702   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   10703     PATH_SEPARATOR=';'
   10704   else
   10705     PATH_SEPARATOR=:
   10706   fi
   10707   rm -f conf$$.sh
   10708 fi
   10709 ac_prog=ld
   10710 if test "$GCC" = yes; then
   10711   # Check if gcc -print-prog-name=ld gives a path.
   10712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   10713 $as_echo_n "checking for ld used by GCC... " >&6; }
   10714   case $host in
   10715   *-*-mingw*)
   10716     # gcc leaves a trailing carriage return which upsets mingw
   10717     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10718   *)
   10719     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10720   esac
   10721   case $ac_prog in
   10722     # Accept absolute paths.
   10723     [\\/]* | [A-Za-z]:[\\/]*)
   10724       re_direlt='/[^/][^/]*/\.\./'
   10725       # Canonicalize the path of ld
   10726       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   10727       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10728 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   10729       done
   10730       test -z "$LD" && LD="$ac_prog"
   10731       ;;
   10732   "")
   10733     # If it fails, then pretend we aren't using GCC.
   10734     ac_prog=ld
   10735     ;;
   10736   *)
   10737     # If it is relative, then search for the first ld in PATH.
   10738     with_gnu_ld=unknown
   10739     ;;
   10740   esac
   10741 elif test "$with_gnu_ld" = yes; then
   10742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10743 $as_echo_n "checking for GNU ld... " >&6; }
   10744 else
   10745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   10746 $as_echo_n "checking for non-GNU ld... " >&6; }
   10747 fi
   10748 if ${acl_cv_path_LD+:} false; then :
   10749   $as_echo_n "(cached) " >&6
   10750 else
   10751   if test -z "$LD"; then
   10752   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   10753   for ac_dir in $PATH; do
   10754     test -z "$ac_dir" && ac_dir=.
   10755     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10756       acl_cv_path_LD="$ac_dir/$ac_prog"
   10757       # Check to see if the program is GNU ld.  I'd rather use --version,
   10758       # but apparently some GNU ld's only accept -v.
   10759       # Break only if it was the GNU/non-GNU ld that we prefer.
   10760       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   10761       *GNU* | *'with BFD'*)
   10762 	test "$with_gnu_ld" != no && break ;;
   10763       *)
   10764 	test "$with_gnu_ld" != yes && break ;;
   10765       esac
   10766     fi
   10767   done
   10768   IFS="$ac_save_ifs"
   10769 else
   10770   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   10771 fi
   10772 fi
   10773 
   10774 LD="$acl_cv_path_LD"
   10775 if test -n "$LD"; then
   10776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   10777 $as_echo "$LD" >&6; }
   10778 else
   10779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10780 $as_echo "no" >&6; }
   10781 fi
   10782 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   10784 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   10785 if ${acl_cv_prog_gnu_ld+:} false; then :
   10786   $as_echo_n "(cached) " >&6
   10787 else
   10788   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   10789 case `$LD -v 2>&1 </dev/null` in
   10790 *GNU* | *'with BFD'*)
   10791   acl_cv_prog_gnu_ld=yes ;;
   10792 *)
   10793   acl_cv_prog_gnu_ld=no ;;
   10794 esac
   10795 fi
   10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   10797 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   10798 with_gnu_ld=$acl_cv_prog_gnu_ld
   10799 
   10800 
   10801 
   10802 
   10803                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   10804 $as_echo_n "checking for shared library run path origin... " >&6; }
   10805 if ${acl_cv_rpath+:} false; then :
   10806   $as_echo_n "(cached) " >&6
   10807 else
   10808 
   10809     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   10810     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   10811     . ./conftest.sh
   10812     rm -f ./conftest.sh
   10813     acl_cv_rpath=done
   10814 
   10815 fi
   10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   10817 $as_echo "$acl_cv_rpath" >&6; }
   10818   wl="$acl_cv_wl"
   10819   libext="$acl_cv_libext"
   10820   shlibext="$acl_cv_shlibext"
   10821   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   10822   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   10823   hardcode_direct="$acl_cv_hardcode_direct"
   10824   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   10825     # Check whether --enable-rpath was given.
   10826 if test "${enable_rpath+set}" = set; then :
   10827   enableval=$enable_rpath; :
   10828 else
   10829   enable_rpath=yes
   10830 fi
   10831 
   10832 
   10833 
   10834                   acl_libdirstem=lib
   10835   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   10836   if test -n "$searchpath"; then
   10837     acl_save_IFS="${IFS= 	}"; IFS=":"
   10838     for searchdir in $searchpath; do
   10839       if test -d "$searchdir"; then
   10840         case "$searchdir" in
   10841           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   10842           *) searchdir=`cd "$searchdir" && pwd`
   10843              case "$searchdir" in
   10844                */lib64 ) acl_libdirstem=lib64 ;;
   10845              esac ;;
   10846         esac
   10847       fi
   10848     done
   10849     IFS="$acl_save_IFS"
   10850   fi
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859     use_additional=yes
   10860 
   10861   acl_save_prefix="$prefix"
   10862   prefix="$acl_final_prefix"
   10863   acl_save_exec_prefix="$exec_prefix"
   10864   exec_prefix="$acl_final_exec_prefix"
   10865 
   10866     eval additional_includedir=\"$includedir\"
   10867     eval additional_libdir=\"$libdir\"
   10868 
   10869   exec_prefix="$acl_save_exec_prefix"
   10870   prefix="$acl_save_prefix"
   10871 
   10872 
   10873 # Check whether --with-libiconv-prefix was given.
   10874 if test "${with_libiconv_prefix+set}" = set; then :
   10875   withval=$with_libiconv_prefix;
   10876     if test "X$withval" = "Xno"; then
   10877       use_additional=no
   10878     else
   10879       if test "X$withval" = "X"; then
   10880 
   10881   acl_save_prefix="$prefix"
   10882   prefix="$acl_final_prefix"
   10883   acl_save_exec_prefix="$exec_prefix"
   10884   exec_prefix="$acl_final_exec_prefix"
   10885 
   10886           eval additional_includedir=\"$includedir\"
   10887           eval additional_libdir=\"$libdir\"
   10888 
   10889   exec_prefix="$acl_save_exec_prefix"
   10890   prefix="$acl_save_prefix"
   10891 
   10892       else
   10893         additional_includedir="$withval/include"
   10894         additional_libdir="$withval/$acl_libdirstem"
   10895       fi
   10896     fi
   10897 
   10898 fi
   10899 
   10900       LIBICONV=
   10901   LTLIBICONV=
   10902   INCICONV=
   10903   rpathdirs=
   10904   ltrpathdirs=
   10905   names_already_handled=
   10906   names_next_round='iconv '
   10907   while test -n "$names_next_round"; do
   10908     names_this_round="$names_next_round"
   10909     names_next_round=
   10910     for name in $names_this_round; do
   10911       already_handled=
   10912       for n in $names_already_handled; do
   10913         if test "$n" = "$name"; then
   10914           already_handled=yes
   10915           break
   10916         fi
   10917       done
   10918       if test -z "$already_handled"; then
   10919         names_already_handled="$names_already_handled $name"
   10920                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   10921         eval value=\"\$HAVE_LIB$uppername\"
   10922         if test -n "$value"; then
   10923           if test "$value" = yes; then
   10924             eval value=\"\$LIB$uppername\"
   10925             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   10926             eval value=\"\$LTLIB$uppername\"
   10927             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   10928           else
   10929                                     :
   10930           fi
   10931         else
   10932                               found_dir=
   10933           found_la=
   10934           found_so=
   10935           found_a=
   10936           if test $use_additional = yes; then
   10937             if test -n "$shlibext" \
   10938                && { test -f "$additional_libdir/lib$name.$shlibext" \
   10939                     || { test "$shlibext" = dll \
   10940                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
   10941               found_dir="$additional_libdir"
   10942               if test -f "$additional_libdir/lib$name.$shlibext"; then
   10943                 found_so="$additional_libdir/lib$name.$shlibext"
   10944               else
   10945                 found_so="$additional_libdir/lib$name.dll.a"
   10946               fi
   10947               if test -f "$additional_libdir/lib$name.la"; then
   10948                 found_la="$additional_libdir/lib$name.la"
   10949               fi
   10950             else
   10951               if test -f "$additional_libdir/lib$name.$libext"; then
   10952                 found_dir="$additional_libdir"
   10953                 found_a="$additional_libdir/lib$name.$libext"
   10954                 if test -f "$additional_libdir/lib$name.la"; then
   10955                   found_la="$additional_libdir/lib$name.la"
   10956                 fi
   10957               fi
   10958             fi
   10959           fi
   10960           if test "X$found_dir" = "X"; then
   10961             for x in $LDFLAGS $LTLIBICONV; do
   10962 
   10963   acl_save_prefix="$prefix"
   10964   prefix="$acl_final_prefix"
   10965   acl_save_exec_prefix="$exec_prefix"
   10966   exec_prefix="$acl_final_exec_prefix"
   10967   eval x=\"$x\"
   10968   exec_prefix="$acl_save_exec_prefix"
   10969   prefix="$acl_save_prefix"
   10970 
   10971               case "$x" in
   10972                 -L*)
   10973                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   10974                   if test -n "$shlibext" \
   10975                      && { test -f "$dir/lib$name.$shlibext" \
   10976                           || { test "$shlibext" = dll \
   10977                                && test -f "$dir/lib$name.dll.a"; }; }; then
   10978                     found_dir="$dir"
   10979                     if test -f "$dir/lib$name.$shlibext"; then
   10980                       found_so="$dir/lib$name.$shlibext"
   10981                     else
   10982                       found_so="$dir/lib$name.dll.a"
   10983                     fi
   10984                     if test -f "$dir/lib$name.la"; then
   10985                       found_la="$dir/lib$name.la"
   10986                     fi
   10987                   else
   10988                     if test -f "$dir/lib$name.$libext"; then
   10989                       found_dir="$dir"
   10990                       found_a="$dir/lib$name.$libext"
   10991                       if test -f "$dir/lib$name.la"; then
   10992                         found_la="$dir/lib$name.la"
   10993                       fi
   10994                     fi
   10995                   fi
   10996                   ;;
   10997               esac
   10998               if test "X$found_dir" != "X"; then
   10999                 break
   11000               fi
   11001             done
   11002           fi
   11003           if test "X$found_dir" != "X"; then
   11004                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   11005             if test "X$found_so" != "X"; then
   11006                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   11007                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11008               else
   11009                                                                                 haveit=
   11010                 for x in $ltrpathdirs; do
   11011                   if test "X$x" = "X$found_dir"; then
   11012                     haveit=yes
   11013                     break
   11014                   fi
   11015                 done
   11016                 if test -z "$haveit"; then
   11017                   ltrpathdirs="$ltrpathdirs $found_dir"
   11018                 fi
   11019                                 if test "$hardcode_direct" = yes; then
   11020                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11021                 else
   11022                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   11023                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11024                                                             haveit=
   11025                     for x in $rpathdirs; do
   11026                       if test "X$x" = "X$found_dir"; then
   11027                         haveit=yes
   11028                         break
   11029                       fi
   11030                     done
   11031                     if test -z "$haveit"; then
   11032                       rpathdirs="$rpathdirs $found_dir"
   11033                     fi
   11034                   else
   11035                                                                                 haveit=
   11036                     for x in $LDFLAGS $LIBICONV; do
   11037 
   11038   acl_save_prefix="$prefix"
   11039   prefix="$acl_final_prefix"
   11040   acl_save_exec_prefix="$exec_prefix"
   11041   exec_prefix="$acl_final_exec_prefix"
   11042   eval x=\"$x\"
   11043   exec_prefix="$acl_save_exec_prefix"
   11044   prefix="$acl_save_prefix"
   11045 
   11046                       if test "X$x" = "X-L$found_dir"; then
   11047                         haveit=yes
   11048                         break
   11049                       fi
   11050                     done
   11051                     if test -z "$haveit"; then
   11052                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   11053                     fi
   11054                     if test "$hardcode_minus_L" != no; then
   11055                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11056                     else
   11057                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   11058                     fi
   11059                   fi
   11060                 fi
   11061               fi
   11062             else
   11063               if test "X$found_a" != "X"; then
   11064                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   11065               else
   11066                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   11067               fi
   11068             fi
   11069                         additional_includedir=
   11070             case "$found_dir" in
   11071               */$acl_libdirstem | */$acl_libdirstem/)
   11072                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   11073                 additional_includedir="$basedir/include"
   11074                 ;;
   11075             esac
   11076             if test "X$additional_includedir" != "X"; then
   11077                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   11078                 haveit=
   11079                 if test "X$additional_includedir" = "X/usr/local/include"; then
   11080                   if test -n "$GCC"; then
   11081                     case $host_os in
   11082                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   11083                     esac
   11084                   fi
   11085                 fi
   11086                 if test -z "$haveit"; then
   11087                   for x in $CPPFLAGS $INCICONV; do
   11088 
   11089   acl_save_prefix="$prefix"
   11090   prefix="$acl_final_prefix"
   11091   acl_save_exec_prefix="$exec_prefix"
   11092   exec_prefix="$acl_final_exec_prefix"
   11093   eval x=\"$x\"
   11094   exec_prefix="$acl_save_exec_prefix"
   11095   prefix="$acl_save_prefix"
   11096 
   11097                     if test "X$x" = "X-I$additional_includedir"; then
   11098                       haveit=yes
   11099                       break
   11100                     fi
   11101                   done
   11102                   if test -z "$haveit"; then
   11103                     if test -d "$additional_includedir"; then
   11104                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   11105                     fi
   11106                   fi
   11107                 fi
   11108               fi
   11109             fi
   11110                         if test -n "$found_la"; then
   11111                                                         save_libdir="$libdir"
   11112               case "$found_la" in
   11113                 */* | *\\*) . "$found_la" ;;
   11114                 *) . "./$found_la" ;;
   11115               esac
   11116               libdir="$save_libdir"
   11117                             for dep in $dependency_libs; do
   11118                 case "$dep" in
   11119                   -L*)
   11120                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   11121                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   11122                       haveit=
   11123                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   11124                         if test -n "$GCC"; then
   11125                           case $host_os in
   11126                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   11127                           esac
   11128                         fi
   11129                       fi
   11130                       if test -z "$haveit"; then
   11131                         haveit=
   11132                         for x in $LDFLAGS $LIBICONV; do
   11133 
   11134   acl_save_prefix="$prefix"
   11135   prefix="$acl_final_prefix"
   11136   acl_save_exec_prefix="$exec_prefix"
   11137   exec_prefix="$acl_final_exec_prefix"
   11138   eval x=\"$x\"
   11139   exec_prefix="$acl_save_exec_prefix"
   11140   prefix="$acl_save_prefix"
   11141 
   11142                           if test "X$x" = "X-L$additional_libdir"; then
   11143                             haveit=yes
   11144                             break
   11145                           fi
   11146                         done
   11147                         if test -z "$haveit"; then
   11148                           if test -d "$additional_libdir"; then
   11149                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   11150                           fi
   11151                         fi
   11152                         haveit=
   11153                         for x in $LDFLAGS $LTLIBICONV; do
   11154 
   11155   acl_save_prefix="$prefix"
   11156   prefix="$acl_final_prefix"
   11157   acl_save_exec_prefix="$exec_prefix"
   11158   exec_prefix="$acl_final_exec_prefix"
   11159   eval x=\"$x\"
   11160   exec_prefix="$acl_save_exec_prefix"
   11161   prefix="$acl_save_prefix"
   11162 
   11163                           if test "X$x" = "X-L$additional_libdir"; then
   11164                             haveit=yes
   11165                             break
   11166                           fi
   11167                         done
   11168                         if test -z "$haveit"; then
   11169                           if test -d "$additional_libdir"; then
   11170                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   11171                           fi
   11172                         fi
   11173                       fi
   11174                     fi
   11175                     ;;
   11176                   -R*)
   11177                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   11178                     if test "$enable_rpath" != no; then
   11179                                                                   haveit=
   11180                       for x in $rpathdirs; do
   11181                         if test "X$x" = "X$dir"; then
   11182                           haveit=yes
   11183                           break
   11184                         fi
   11185                       done
   11186                       if test -z "$haveit"; then
   11187                         rpathdirs="$rpathdirs $dir"
   11188                       fi
   11189                                                                   haveit=
   11190                       for x in $ltrpathdirs; do
   11191                         if test "X$x" = "X$dir"; then
   11192                           haveit=yes
   11193                           break
   11194                         fi
   11195                       done
   11196                       if test -z "$haveit"; then
   11197                         ltrpathdirs="$ltrpathdirs $dir"
   11198                       fi
   11199                     fi
   11200                     ;;
   11201                   -l*)
   11202                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   11203                     ;;
   11204                   *.la)
   11205                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   11206                     ;;
   11207                   *)
   11208                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   11209                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   11210                     ;;
   11211                 esac
   11212               done
   11213             fi
   11214           else
   11215                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   11216             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   11217           fi
   11218         fi
   11219       fi
   11220     done
   11221   done
   11222   if test "X$rpathdirs" != "X"; then
   11223     if test -n "$hardcode_libdir_separator"; then
   11224                         alldirs=
   11225       for found_dir in $rpathdirs; do
   11226         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   11227       done
   11228             acl_save_libdir="$libdir"
   11229       libdir="$alldirs"
   11230       eval flag=\"$hardcode_libdir_flag_spec\"
   11231       libdir="$acl_save_libdir"
   11232       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   11233     else
   11234             for found_dir in $rpathdirs; do
   11235         acl_save_libdir="$libdir"
   11236         libdir="$found_dir"
   11237         eval flag=\"$hardcode_libdir_flag_spec\"
   11238         libdir="$acl_save_libdir"
   11239         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   11240       done
   11241     fi
   11242   fi
   11243   if test "X$ltrpathdirs" != "X"; then
   11244             for found_dir in $ltrpathdirs; do
   11245       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   11246     done
   11247   fi
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255           am_save_CPPFLAGS="$CPPFLAGS"
   11256 
   11257   for element in $INCICONV; do
   11258     haveit=
   11259     for x in $CPPFLAGS; do
   11260 
   11261   acl_save_prefix="$prefix"
   11262   prefix="$acl_final_prefix"
   11263   acl_save_exec_prefix="$exec_prefix"
   11264   exec_prefix="$acl_final_exec_prefix"
   11265   eval x=\"$x\"
   11266   exec_prefix="$acl_save_exec_prefix"
   11267   prefix="$acl_save_prefix"
   11268 
   11269       if test "X$x" = "X$element"; then
   11270         haveit=yes
   11271         break
   11272       fi
   11273     done
   11274     if test -z "$haveit"; then
   11275       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   11276     fi
   11277   done
   11278 
   11279 
   11280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   11281 $as_echo_n "checking for iconv... " >&6; }
   11282 if ${am_cv_func_iconv+:} false; then :
   11283   $as_echo_n "(cached) " >&6
   11284 else
   11285 
   11286     am_cv_func_iconv="no, consider installing GNU libiconv"
   11287     am_cv_lib_iconv=no
   11288     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11289 /* end confdefs.h.  */
   11290 #include <stdlib.h>
   11291 #include <iconv.h>
   11292 int
   11293 main ()
   11294 {
   11295 iconv_t cd = iconv_open("","");
   11296        iconv(cd,NULL,NULL,NULL,NULL);
   11297        iconv_close(cd);
   11298   ;
   11299   return 0;
   11300 }
   11301 _ACEOF
   11302 if ac_fn_c_try_link "$LINENO"; then :
   11303   am_cv_func_iconv=yes
   11304 fi
   11305 rm -f core conftest.err conftest.$ac_objext \
   11306     conftest$ac_exeext conftest.$ac_ext
   11307     if test "$am_cv_func_iconv" != yes; then
   11308       am_save_LIBS="$LIBS"
   11309       LIBS="$LIBS $LIBICONV"
   11310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11311 /* end confdefs.h.  */
   11312 #include <stdlib.h>
   11313 #include <iconv.h>
   11314 int
   11315 main ()
   11316 {
   11317 iconv_t cd = iconv_open("","");
   11318          iconv(cd,NULL,NULL,NULL,NULL);
   11319          iconv_close(cd);
   11320   ;
   11321   return 0;
   11322 }
   11323 _ACEOF
   11324 if ac_fn_c_try_link "$LINENO"; then :
   11325   am_cv_lib_iconv=yes
   11326         am_cv_func_iconv=yes
   11327 fi
   11328 rm -f core conftest.err conftest.$ac_objext \
   11329     conftest$ac_exeext conftest.$ac_ext
   11330       LIBS="$am_save_LIBS"
   11331     fi
   11332 
   11333 fi
   11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   11335 $as_echo "$am_cv_func_iconv" >&6; }
   11336   if test "$am_cv_func_iconv" = yes; then
   11337 
   11338 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   11339 
   11340   fi
   11341   if test "$am_cv_lib_iconv" = yes; then
   11342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   11343 $as_echo_n "checking how to link with libiconv... " >&6; }
   11344     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   11345 $as_echo "$LIBICONV" >&6; }
   11346   else
   11347             CPPFLAGS="$am_save_CPPFLAGS"
   11348     LIBICONV=
   11349     LTLIBICONV=
   11350   fi
   11351 
   11352 
   11353 
   11354   if test "$am_cv_func_iconv" = yes; then
   11355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   11356 $as_echo_n "checking for iconv declaration... " >&6; }
   11357     if ${am_cv_proto_iconv+:} false; then :
   11358   $as_echo_n "(cached) " >&6
   11359 else
   11360 
   11361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11362 /* end confdefs.h.  */
   11363 
   11364 #include <stdlib.h>
   11365 #include <iconv.h>
   11366 extern
   11367 #ifdef __cplusplus
   11368 "C"
   11369 #endif
   11370 #if defined(__STDC__) || defined(__cplusplus)
   11371 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   11372 #else
   11373 size_t iconv();
   11374 #endif
   11375 
   11376 int
   11377 main ()
   11378 {
   11379 
   11380   ;
   11381   return 0;
   11382 }
   11383 _ACEOF
   11384 if ac_fn_c_try_compile "$LINENO"; then :
   11385   am_cv_proto_iconv_arg1=""
   11386 else
   11387   am_cv_proto_iconv_arg1="const"
   11388 fi
   11389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11390       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);"
   11391 fi
   11392 
   11393     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   11394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
   11395          }$am_cv_proto_iconv" >&5
   11396 $as_echo "${ac_t:-
   11397          }$am_cv_proto_iconv" >&6; }
   11398 
   11399 cat >>confdefs.h <<_ACEOF
   11400 #define ICONV_CONST $am_cv_proto_iconv_arg1
   11401 _ACEOF
   11402 
   11403   fi
   11404 
   11405 
   11406 
   11407 pkg_failed=no
   11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCLOCK" >&5
   11409 $as_echo_n "checking for XCLOCK... " >&6; }
   11410 
   11411 if test -n "$XCLOCK_CFLAGS"; then
   11412     pkg_cv_XCLOCK_CFLAGS="$XCLOCK_CFLAGS"
   11413  elif test -n "$PKG_CONFIG"; then
   11414     if test -n "$PKG_CONFIG" && \
   11415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu x11 xproto >= 7.0.17\""; } >&5
   11416   ($PKG_CONFIG --exists --print-errors "xaw7 xmu x11 xproto >= 7.0.17") 2>&5
   11417   ac_status=$?
   11418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11419   test $ac_status = 0; }; then
   11420   pkg_cv_XCLOCK_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu x11 xproto >= 7.0.17" 2>/dev/null`
   11421 else
   11422   pkg_failed=yes
   11423 fi
   11424  else
   11425     pkg_failed=untried
   11426 fi
   11427 if test -n "$XCLOCK_LIBS"; then
   11428     pkg_cv_XCLOCK_LIBS="$XCLOCK_LIBS"
   11429  elif test -n "$PKG_CONFIG"; then
   11430     if test -n "$PKG_CONFIG" && \
   11431     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu x11 xproto >= 7.0.17\""; } >&5
   11432   ($PKG_CONFIG --exists --print-errors "xaw7 xmu x11 xproto >= 7.0.17") 2>&5
   11433   ac_status=$?
   11434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11435   test $ac_status = 0; }; then
   11436   pkg_cv_XCLOCK_LIBS=`$PKG_CONFIG --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>/dev/null`
   11437 else
   11438   pkg_failed=yes
   11439 fi
   11440  else
   11441     pkg_failed=untried
   11442 fi
   11443 
   11444 
   11445 
   11446 if test $pkg_failed = yes; then
   11447 
   11448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11449         _pkg_short_errors_supported=yes
   11450 else
   11451         _pkg_short_errors_supported=no
   11452 fi
   11453         if test $_pkg_short_errors_supported = yes; then
   11454 	        XCLOCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7 xmu x11 xproto >= 7.0.17" 2>&1`
   11455         else
   11456 	        XCLOCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7 xmu x11 xproto >= 7.0.17" 2>&1`
   11457         fi
   11458 	# Put the nasty error message in config.log where it belongs
   11459 	echo "$XCLOCK_PKG_ERRORS" >&5
   11460 
   11461 	as_fn_error $? "Package requirements (xaw7 xmu x11 xproto >= 7.0.17) were not met:
   11462 
   11463 $XCLOCK_PKG_ERRORS
   11464 
   11465 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11466 installed software in a non-standard prefix.
   11467 
   11468 Alternatively, you may set the environment variables XCLOCK_CFLAGS
   11469 and XCLOCK_LIBS to avoid the need to call pkg-config.
   11470 See the pkg-config man page for more details.
   11471 " "$LINENO" 5
   11472 elif test $pkg_failed = untried; then
   11473 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11475 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11476 is in your PATH or set the PKG_CONFIG environment variable to the full
   11477 path to pkg-config.
   11478 
   11479 Alternatively, you may set the environment variables XCLOCK_CFLAGS
   11480 and XCLOCK_LIBS to avoid the need to call pkg-config.
   11481 See the pkg-config man page for more details.
   11482 
   11483 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11484 See \`config.log' for more details" "$LINENO" 5; }
   11485 else
   11486 	XCLOCK_CFLAGS=$pkg_cv_XCLOCK_CFLAGS
   11487 	XCLOCK_LIBS=$pkg_cv_XCLOCK_LIBS
   11488         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11489 $as_echo "yes" >&6; }
   11490 	:
   11491 fi
   11492 XCLOCK_LIBS="$XCLOCK_LIBS $LIBICONV"
   11493 
   11494 
   11495 # Check whether --with-xft was given.
   11496 if test "${with_xft+set}" = set; then :
   11497   withval=$with_xft; use_xft="$withval"
   11498 else
   11499   use_xft="try"
   11500 fi
   11501 
   11502 if test x$use_xft != xno ; then
   11503 
   11504 pkg_failed=no
   11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
   11506 $as_echo_n "checking for XFT... " >&6; }
   11507 
   11508 if test -n "$XFT_CFLAGS"; then
   11509     pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
   11510  elif test -n "$PKG_CONFIG"; then
   11511     if test -n "$PKG_CONFIG" && \
   11512     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   11513   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   11514   ac_status=$?
   11515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11516   test $ac_status = 0; }; then
   11517   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xrender xft" 2>/dev/null`
   11518 else
   11519   pkg_failed=yes
   11520 fi
   11521  else
   11522     pkg_failed=untried
   11523 fi
   11524 if test -n "$XFT_LIBS"; then
   11525     pkg_cv_XFT_LIBS="$XFT_LIBS"
   11526  elif test -n "$PKG_CONFIG"; then
   11527     if test -n "$PKG_CONFIG" && \
   11528     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   11529   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   11530   ac_status=$?
   11531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11532   test $ac_status = 0; }; then
   11533   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xrender xft" 2>/dev/null`
   11534 else
   11535   pkg_failed=yes
   11536 fi
   11537  else
   11538     pkg_failed=untried
   11539 fi
   11540 
   11541 
   11542 
   11543 if test $pkg_failed = yes; then
   11544 
   11545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11546         _pkg_short_errors_supported=yes
   11547 else
   11548         _pkg_short_errors_supported=no
   11549 fi
   11550         if test $_pkg_short_errors_supported = yes; then
   11551 	        XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender xft" 2>&1`
   11552         else
   11553 	        XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender xft" 2>&1`
   11554         fi
   11555 	# Put the nasty error message in config.log where it belongs
   11556 	echo "$XFT_PKG_ERRORS" >&5
   11557 
   11558 	as_fn_error $? "Package requirements (xrender xft) were not met:
   11559 
   11560 $XFT_PKG_ERRORS
   11561 
   11562 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11563 installed software in a non-standard prefix.
   11564 
   11565 Alternatively, you may set the environment variables XFT_CFLAGS
   11566 and XFT_LIBS to avoid the need to call pkg-config.
   11567 See the pkg-config man page for more details.
   11568 " "$LINENO" 5
   11569 elif test $pkg_failed = untried; then
   11570 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11572 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11573 is in your PATH or set the PKG_CONFIG environment variable to the full
   11574 path to pkg-config.
   11575 
   11576 Alternatively, you may set the environment variables XFT_CFLAGS
   11577 and XFT_LIBS to avoid the need to call pkg-config.
   11578 See the pkg-config man page for more details.
   11579 
   11580 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11581 See \`config.log' for more details" "$LINENO" 5; }
   11582 else
   11583 	XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
   11584 	XFT_LIBS=$pkg_cv_XFT_LIBS
   11585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11586 $as_echo "yes" >&6; }
   11587 	:
   11588 fi
   11589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
   11590 $as_echo_n "checking for library containing sqrt... " >&6; }
   11591 if ${ac_cv_search_sqrt+:} false; then :
   11592   $as_echo_n "(cached) " >&6
   11593 else
   11594   ac_func_search_save_LIBS=$LIBS
   11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11596 /* end confdefs.h.  */
   11597 
   11598 /* Override any GCC internal prototype to avoid an error.
   11599    Use char because int might match the return type of a GCC
   11600    builtin and then its argument prototype would still apply.  */
   11601 #ifdef __cplusplus
   11602 extern "C"
   11603 #endif
   11604 char sqrt ();
   11605 int
   11606 main ()
   11607 {
   11608 return sqrt ();
   11609   ;
   11610   return 0;
   11611 }
   11612 _ACEOF
   11613 for ac_lib in '' m; do
   11614   if test -z "$ac_lib"; then
   11615     ac_res="none required"
   11616   else
   11617     ac_res=-l$ac_lib
   11618     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11619   fi
   11620   if ac_fn_c_try_link "$LINENO"; then :
   11621   ac_cv_search_sqrt=$ac_res
   11622 fi
   11623 rm -f core conftest.err conftest.$ac_objext \
   11624     conftest$ac_exeext
   11625   if ${ac_cv_search_sqrt+:} false; then :
   11626   break
   11627 fi
   11628 done
   11629 if ${ac_cv_search_sqrt+:} false; then :
   11630 
   11631 else
   11632   ac_cv_search_sqrt=no
   11633 fi
   11634 rm conftest.$ac_ext
   11635 LIBS=$ac_func_search_save_LIBS
   11636 fi
   11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
   11638 $as_echo "$ac_cv_search_sqrt" >&6; }
   11639 ac_res=$ac_cv_search_sqrt
   11640 if test "$ac_res" != no; then :
   11641   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11642 
   11643 fi
   11644 
   11645 	XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XFT_CFLAGS"
   11646 	XCLOCK_LIBS="$XCLOCK_LIBS $XFT_LIBS"
   11647 
   11648 $as_echo "#define XRENDER 1" >>confdefs.h
   11649 
   11650 
   11651 $as_echo "#define XFREE86_FT2 1" >>confdefs.h
   11652 
   11653 fi
   11654 
   11655 
   11656 # Check whether --with-xkb was given.
   11657 if test "${with_xkb+set}" = set; then :
   11658   withval=$with_xkb; use_xkb="$withval"
   11659 else
   11660   use_xkb="try"
   11661 fi
   11662 
   11663 if test x$use_xkb != xno ; then
   11664 
   11665 pkg_failed=no
   11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKB" >&5
   11667 $as_echo_n "checking for XKB... " >&6; }
   11668 
   11669 if test -n "$XKB_CFLAGS"; then
   11670     pkg_cv_XKB_CFLAGS="$XKB_CFLAGS"
   11671  elif test -n "$PKG_CONFIG"; then
   11672     if test -n "$PKG_CONFIG" && \
   11673     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   11674   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   11675   ac_status=$?
   11676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11677   test $ac_status = 0; }; then
   11678   pkg_cv_XKB_CFLAGS=`$PKG_CONFIG --cflags "xkbfile" 2>/dev/null`
   11679 else
   11680   pkg_failed=yes
   11681 fi
   11682  else
   11683     pkg_failed=untried
   11684 fi
   11685 if test -n "$XKB_LIBS"; then
   11686     pkg_cv_XKB_LIBS="$XKB_LIBS"
   11687  elif test -n "$PKG_CONFIG"; then
   11688     if test -n "$PKG_CONFIG" && \
   11689     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   11690   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   11691   ac_status=$?
   11692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11693   test $ac_status = 0; }; then
   11694   pkg_cv_XKB_LIBS=`$PKG_CONFIG --libs "xkbfile" 2>/dev/null`
   11695 else
   11696   pkg_failed=yes
   11697 fi
   11698  else
   11699     pkg_failed=untried
   11700 fi
   11701 
   11702 
   11703 
   11704 if test $pkg_failed = yes; then
   11705 
   11706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11707         _pkg_short_errors_supported=yes
   11708 else
   11709         _pkg_short_errors_supported=no
   11710 fi
   11711         if test $_pkg_short_errors_supported = yes; then
   11712 	        XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xkbfile" 2>&1`
   11713         else
   11714 	        XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xkbfile" 2>&1`
   11715         fi
   11716 	# Put the nasty error message in config.log where it belongs
   11717 	echo "$XKB_PKG_ERRORS" >&5
   11718 
   11719 	as_fn_error $? "Package requirements (xkbfile) were not met:
   11720 
   11721 $XKB_PKG_ERRORS
   11722 
   11723 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11724 installed software in a non-standard prefix.
   11725 
   11726 Alternatively, you may set the environment variables XKB_CFLAGS
   11727 and XKB_LIBS to avoid the need to call pkg-config.
   11728 See the pkg-config man page for more details.
   11729 " "$LINENO" 5
   11730 elif test $pkg_failed = untried; then
   11731 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11733 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11734 is in your PATH or set the PKG_CONFIG environment variable to the full
   11735 path to pkg-config.
   11736 
   11737 Alternatively, you may set the environment variables XKB_CFLAGS
   11738 and XKB_LIBS to avoid the need to call pkg-config.
   11739 See the pkg-config man page for more details.
   11740 
   11741 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11742 See \`config.log' for more details" "$LINENO" 5; }
   11743 else
   11744 	XKB_CFLAGS=$pkg_cv_XKB_CFLAGS
   11745 	XKB_LIBS=$pkg_cv_XKB_LIBS
   11746         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11747 $as_echo "yes" >&6; }
   11748 	:
   11749 fi
   11750 	XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XKB_CFLAGS"
   11751 	XCLOCK_LIBS="$XCLOCK_LIBS $XKB_LIBS"
   11752 
   11753 $as_echo "#define XKB 1" >>confdefs.h
   11754 
   11755 fi
   11756 
   11757 
   11758 
   11759 pkg_failed=no
   11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11761 $as_echo_n "checking for APPDEFS... " >&6; }
   11762 
   11763 if test -n "$APPDEFS_CFLAGS"; then
   11764     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11765  elif test -n "$PKG_CONFIG"; then
   11766     if test -n "$PKG_CONFIG" && \
   11767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11768   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11769   ac_status=$?
   11770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11771   test $ac_status = 0; }; then
   11772   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11773 else
   11774   pkg_failed=yes
   11775 fi
   11776  else
   11777     pkg_failed=untried
   11778 fi
   11779 if test -n "$APPDEFS_LIBS"; then
   11780     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11781  elif test -n "$PKG_CONFIG"; then
   11782     if test -n "$PKG_CONFIG" && \
   11783     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11784   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11785   ac_status=$?
   11786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11787   test $ac_status = 0; }; then
   11788   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11789 else
   11790   pkg_failed=yes
   11791 fi
   11792  else
   11793     pkg_failed=untried
   11794 fi
   11795 
   11796 
   11797 
   11798 if test $pkg_failed = yes; then
   11799 
   11800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11801         _pkg_short_errors_supported=yes
   11802 else
   11803         _pkg_short_errors_supported=no
   11804 fi
   11805         if test $_pkg_short_errors_supported = yes; then
   11806 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
   11807         else
   11808 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
   11809         fi
   11810 	# Put the nasty error message in config.log where it belongs
   11811 	echo "$APPDEFS_PKG_ERRORS" >&5
   11812 
   11813 	as_fn_error $? "Package requirements (xt) were not met:
   11814 
   11815 $APPDEFS_PKG_ERRORS
   11816 
   11817 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11818 installed software in a non-standard prefix.
   11819 
   11820 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11821 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11822 See the pkg-config man page for more details.
   11823 " "$LINENO" 5
   11824 elif test $pkg_failed = untried; then
   11825 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11827 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11828 is in your PATH or set the PKG_CONFIG environment variable to the full
   11829 path to pkg-config.
   11830 
   11831 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11832 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11833 See the pkg-config man page for more details.
   11834 
   11835 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11836 See \`config.log' for more details" "$LINENO" 5; }
   11837 else
   11838 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11839 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11840         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11841 $as_echo "yes" >&6; }
   11842 	:
   11843 fi
   11844 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11845 
   11846 # Check whether --with-appdefaultdir was given.
   11847 if test "${with_appdefaultdir+set}" = set; then :
   11848   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11849 else
   11850   appdefaultdir="${xt_appdefaultdir}"
   11851 fi
   11852 
   11853 
   11854 
   11855 ac_config_files="$ac_config_files Makefile man/Makefile"
   11856 
   11857 cat >confcache <<\_ACEOF
   11858 # This file is a shell script that caches the results of configure
   11859 # tests run on this system so they can be shared between configure
   11860 # scripts and configure runs, see configure's option --config-cache.
   11861 # It is not useful on other systems.  If it contains results you don't
   11862 # want to keep, you may remove or edit it.
   11863 #
   11864 # config.status only pays attention to the cache file if you give it
   11865 # the --recheck option to rerun configure.
   11866 #
   11867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11869 # following values.
   11870 
   11871 _ACEOF
   11872 
   11873 # The following way of writing the cache mishandles newlines in values,
   11874 # but we know of no workaround that is simple, portable, and efficient.
   11875 # So, we kill variables containing newlines.
   11876 # Ultrix sh set writes to stderr and can't be redirected directly,
   11877 # and sets the high bit in the cache file unless we assign to the vars.
   11878 (
   11879   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11880     eval ac_val=\$$ac_var
   11881     case $ac_val in #(
   11882     *${as_nl}*)
   11883       case $ac_var in #(
   11884       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11886       esac
   11887       case $ac_var in #(
   11888       _ | IFS | as_nl) ;; #(
   11889       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11890       *) { eval $ac_var=; unset $ac_var;} ;;
   11891       esac ;;
   11892     esac
   11893   done
   11894 
   11895   (set) 2>&1 |
   11896     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11897     *${as_nl}ac_space=\ *)
   11898       # `set' does not quote correctly, so add quotes: double-quote
   11899       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11900       sed -n \
   11901 	"s/'/'\\\\''/g;
   11902 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11903       ;; #(
   11904     *)
   11905       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11906       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11907       ;;
   11908     esac |
   11909     sort
   11910 ) |
   11911   sed '
   11912      /^ac_cv_env_/b end
   11913      t clear
   11914      :clear
   11915      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11916      t end
   11917      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11918      :end' >>confcache
   11919 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11920   if test -w "$cache_file"; then
   11921     if test "x$cache_file" != "x/dev/null"; then
   11922       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11923 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11924       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11925 	cat confcache >"$cache_file"
   11926       else
   11927         case $cache_file in #(
   11928         */* | ?:*)
   11929 	  mv -f confcache "$cache_file"$$ &&
   11930 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11931         *)
   11932 	  mv -f confcache "$cache_file" ;;
   11933 	esac
   11934       fi
   11935     fi
   11936   else
   11937     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11938 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11939   fi
   11940 fi
   11941 rm -f confcache
   11942 
   11943 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11944 # Let make expand exec_prefix.
   11945 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11946 
   11947 DEFS=-DHAVE_CONFIG_H
   11948 
   11949 ac_libobjs=
   11950 ac_ltlibobjs=
   11951 U=
   11952 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11953   # 1. Remove the extension, and $U if already installed.
   11954   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11955   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11956   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11957   #    will be set to the directory where LIBOBJS objects are built.
   11958   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11959   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11960 done
   11961 LIBOBJS=$ac_libobjs
   11962 
   11963 LTLIBOBJS=$ac_ltlibobjs
   11964 
   11965 
   11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11967 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11968    if test -n "$am_sleep_pid"; then
   11969      # Hide warnings about reused PIDs.
   11970      wait $am_sleep_pid 2>/dev/null
   11971    fi
   11972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11973 $as_echo "done" >&6; }
   11974  if test -n "$EXEEXT"; then
   11975   am__EXEEXT_TRUE=
   11976   am__EXEEXT_FALSE='#'
   11977 else
   11978   am__EXEEXT_TRUE='#'
   11979   am__EXEEXT_FALSE=
   11980 fi
   11981 
   11982 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11983   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11985 fi
   11986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11987   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11989 fi
   11990 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11991   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11993 fi
   11994 
   11995 : "${CONFIG_STATUS=./config.status}"
   11996 ac_write_fail=0
   11997 ac_clean_files_save=$ac_clean_files
   11998 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11999 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12000 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12001 as_write_fail=0
   12002 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12003 #! $SHELL
   12004 # Generated by $as_me.
   12005 # Run this file to recreate the current configuration.
   12006 # Compiler output produced by configure, useful for debugging
   12007 # configure, is in config.log if it exists.
   12008 
   12009 debug=false
   12010 ac_cs_recheck=false
   12011 ac_cs_silent=false
   12012 
   12013 SHELL=\${CONFIG_SHELL-$SHELL}
   12014 export SHELL
   12015 _ASEOF
   12016 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12017 ## -------------------- ##
   12018 ## M4sh Initialization. ##
   12019 ## -------------------- ##
   12020 
   12021 # Be more Bourne compatible
   12022 DUALCASE=1; export DUALCASE # for MKS sh
   12023 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12024   emulate sh
   12025   NULLCMD=:
   12026   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12027   # is contrary to our usage.  Disable this feature.
   12028   alias -g '${1+"$@"}'='"$@"'
   12029   setopt NO_GLOB_SUBST
   12030 else
   12031   case `(set -o) 2>/dev/null` in #(
   12032   *posix*) :
   12033     set -o posix ;; #(
   12034   *) :
   12035      ;;
   12036 esac
   12037 fi
   12038 
   12039 
   12040 as_nl='
   12041 '
   12042 export as_nl
   12043 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12044 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12045 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12046 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12047 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12048 # but without wasting forks for bash or zsh.
   12049 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12050     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12051   as_echo='print -r --'
   12052   as_echo_n='print -rn --'
   12053 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12054   as_echo='printf %s\n'
   12055   as_echo_n='printf %s'
   12056 else
   12057   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12058     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12059     as_echo_n='/usr/ucb/echo -n'
   12060   else
   12061     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12062     as_echo_n_body='eval
   12063       arg=$1;
   12064       case $arg in #(
   12065       *"$as_nl"*)
   12066 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12067 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12068       esac;
   12069       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12070     '
   12071     export as_echo_n_body
   12072     as_echo_n='sh -c $as_echo_n_body as_echo'
   12073   fi
   12074   export as_echo_body
   12075   as_echo='sh -c $as_echo_body as_echo'
   12076 fi
   12077 
   12078 # The user is always right.
   12079 if test "${PATH_SEPARATOR+set}" != set; then
   12080   PATH_SEPARATOR=:
   12081   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12082     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12083       PATH_SEPARATOR=';'
   12084   }
   12085 fi
   12086 
   12087 
   12088 # IFS
   12089 # We need space, tab and new line, in precisely that order.  Quoting is
   12090 # there to prevent editors from complaining about space-tab.
   12091 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12092 # splitting by setting IFS to empty value.)
   12093 IFS=" ""	$as_nl"
   12094 
   12095 # Find who we are.  Look in the path if we contain no directory separator.
   12096 as_myself=
   12097 case $0 in #((
   12098   *[\\/]* ) as_myself=$0 ;;
   12099   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12100 for as_dir in $PATH
   12101 do
   12102   IFS=$as_save_IFS
   12103   test -z "$as_dir" && as_dir=.
   12104     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12105   done
   12106 IFS=$as_save_IFS
   12107 
   12108      ;;
   12109 esac
   12110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12111 # in which case we are not to be found in the path.
   12112 if test "x$as_myself" = x; then
   12113   as_myself=$0
   12114 fi
   12115 if test ! -f "$as_myself"; then
   12116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12117   exit 1
   12118 fi
   12119 
   12120 # Unset variables that we do not need and which cause bugs (e.g. in
   12121 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12122 # suppresses any "Segmentation fault" message there.  '((' could
   12123 # trigger a bug in pdksh 5.2.14.
   12124 for as_var in BASH_ENV ENV MAIL MAILPATH
   12125 do eval test x\${$as_var+set} = xset \
   12126   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12127 done
   12128 PS1='$ '
   12129 PS2='> '
   12130 PS4='+ '
   12131 
   12132 # NLS nuisances.
   12133 LC_ALL=C
   12134 export LC_ALL
   12135 LANGUAGE=C
   12136 export LANGUAGE
   12137 
   12138 # CDPATH.
   12139 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12140 
   12141 
   12142 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12143 # ----------------------------------------
   12144 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12145 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12146 # script with STATUS, using 1 if that was 0.
   12147 as_fn_error ()
   12148 {
   12149   as_status=$1; test $as_status -eq 0 && as_status=1
   12150   if test "$4"; then
   12151     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12152     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12153   fi
   12154   $as_echo "$as_me: error: $2" >&2
   12155   as_fn_exit $as_status
   12156 } # as_fn_error
   12157 
   12158 
   12159 # as_fn_set_status STATUS
   12160 # -----------------------
   12161 # Set $? to STATUS, without forking.
   12162 as_fn_set_status ()
   12163 {
   12164   return $1
   12165 } # as_fn_set_status
   12166 
   12167 # as_fn_exit STATUS
   12168 # -----------------
   12169 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12170 as_fn_exit ()
   12171 {
   12172   set +e
   12173   as_fn_set_status $1
   12174   exit $1
   12175 } # as_fn_exit
   12176 
   12177 # as_fn_unset VAR
   12178 # ---------------
   12179 # Portably unset VAR.
   12180 as_fn_unset ()
   12181 {
   12182   { eval $1=; unset $1;}
   12183 }
   12184 as_unset=as_fn_unset
   12185 # as_fn_append VAR VALUE
   12186 # ----------------------
   12187 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12188 # advantage of any shell optimizations that allow amortized linear growth over
   12189 # repeated appends, instead of the typical quadratic growth present in naive
   12190 # implementations.
   12191 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12192   eval 'as_fn_append ()
   12193   {
   12194     eval $1+=\$2
   12195   }'
   12196 else
   12197   as_fn_append ()
   12198   {
   12199     eval $1=\$$1\$2
   12200   }
   12201 fi # as_fn_append
   12202 
   12203 # as_fn_arith ARG...
   12204 # ------------------
   12205 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12206 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12207 # must be portable across $(()) and expr.
   12208 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12209   eval 'as_fn_arith ()
   12210   {
   12211     as_val=$(( $* ))
   12212   }'
   12213 else
   12214   as_fn_arith ()
   12215   {
   12216     as_val=`expr "$@" || test $? -eq 1`
   12217   }
   12218 fi # as_fn_arith
   12219 
   12220 
   12221 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12222    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12223   as_expr=expr
   12224 else
   12225   as_expr=false
   12226 fi
   12227 
   12228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12229   as_basename=basename
   12230 else
   12231   as_basename=false
   12232 fi
   12233 
   12234 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12235   as_dirname=dirname
   12236 else
   12237   as_dirname=false
   12238 fi
   12239 
   12240 as_me=`$as_basename -- "$0" ||
   12241 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12242 	 X"$0" : 'X\(//\)$' \| \
   12243 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12244 $as_echo X/"$0" |
   12245     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12246 	    s//\1/
   12247 	    q
   12248 	  }
   12249 	  /^X\/\(\/\/\)$/{
   12250 	    s//\1/
   12251 	    q
   12252 	  }
   12253 	  /^X\/\(\/\).*/{
   12254 	    s//\1/
   12255 	    q
   12256 	  }
   12257 	  s/.*/./; q'`
   12258 
   12259 # Avoid depending upon Character Ranges.
   12260 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12261 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12262 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12263 as_cr_digits='0123456789'
   12264 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12265 
   12266 ECHO_C= ECHO_N= ECHO_T=
   12267 case `echo -n x` in #(((((
   12268 -n*)
   12269   case `echo 'xy\c'` in
   12270   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12271   xy)  ECHO_C='\c';;
   12272   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12273        ECHO_T='	';;
   12274   esac;;
   12275 *)
   12276   ECHO_N='-n';;
   12277 esac
   12278 
   12279 rm -f conf$$ conf$$.exe conf$$.file
   12280 if test -d conf$$.dir; then
   12281   rm -f conf$$.dir/conf$$.file
   12282 else
   12283   rm -f conf$$.dir
   12284   mkdir conf$$.dir 2>/dev/null
   12285 fi
   12286 if (echo >conf$$.file) 2>/dev/null; then
   12287   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12288     as_ln_s='ln -s'
   12289     # ... but there are two gotchas:
   12290     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12291     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12292     # In both cases, we have to default to `cp -p'.
   12293     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12294       as_ln_s='cp -p'
   12295   elif ln conf$$.file conf$$ 2>/dev/null; then
   12296     as_ln_s=ln
   12297   else
   12298     as_ln_s='cp -p'
   12299   fi
   12300 else
   12301   as_ln_s='cp -p'
   12302 fi
   12303 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12304 rmdir conf$$.dir 2>/dev/null
   12305 
   12306 
   12307 # as_fn_mkdir_p
   12308 # -------------
   12309 # Create "$as_dir" as a directory, including parents if necessary.
   12310 as_fn_mkdir_p ()
   12311 {
   12312 
   12313   case $as_dir in #(
   12314   -*) as_dir=./$as_dir;;
   12315   esac
   12316   test -d "$as_dir" || eval $as_mkdir_p || {
   12317     as_dirs=
   12318     while :; do
   12319       case $as_dir in #(
   12320       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12321       *) as_qdir=$as_dir;;
   12322       esac
   12323       as_dirs="'$as_qdir' $as_dirs"
   12324       as_dir=`$as_dirname -- "$as_dir" ||
   12325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12326 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12327 	 X"$as_dir" : 'X\(//\)$' \| \
   12328 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12329 $as_echo X"$as_dir" |
   12330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12331 	    s//\1/
   12332 	    q
   12333 	  }
   12334 	  /^X\(\/\/\)[^/].*/{
   12335 	    s//\1/
   12336 	    q
   12337 	  }
   12338 	  /^X\(\/\/\)$/{
   12339 	    s//\1/
   12340 	    q
   12341 	  }
   12342 	  /^X\(\/\).*/{
   12343 	    s//\1/
   12344 	    q
   12345 	  }
   12346 	  s/.*/./; q'`
   12347       test -d "$as_dir" && break
   12348     done
   12349     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12350   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12351 
   12352 
   12353 } # as_fn_mkdir_p
   12354 if mkdir -p . 2>/dev/null; then
   12355   as_mkdir_p='mkdir -p "$as_dir"'
   12356 else
   12357   test -d ./-p && rmdir ./-p
   12358   as_mkdir_p=false
   12359 fi
   12360 
   12361 if test -x / >/dev/null 2>&1; then
   12362   as_test_x='test -x'
   12363 else
   12364   if ls -dL / >/dev/null 2>&1; then
   12365     as_ls_L_option=L
   12366   else
   12367     as_ls_L_option=
   12368   fi
   12369   as_test_x='
   12370     eval sh -c '\''
   12371       if test -d "$1"; then
   12372 	test -d "$1/.";
   12373       else
   12374 	case $1 in #(
   12375 	-*)set "./$1";;
   12376 	esac;
   12377 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12378 	???[sx]*):;;*)false;;esac;fi
   12379     '\'' sh
   12380   '
   12381 fi
   12382 as_executable_p=$as_test_x
   12383 
   12384 # Sed expression to map a string onto a valid CPP name.
   12385 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12386 
   12387 # Sed expression to map a string onto a valid variable name.
   12388 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12389 
   12390 
   12391 exec 6>&1
   12392 ## ----------------------------------- ##
   12393 ## Main body of $CONFIG_STATUS script. ##
   12394 ## ----------------------------------- ##
   12395 _ASEOF
   12396 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12397 
   12398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12399 # Save the log message, to keep $0 and so on meaningful, and to
   12400 # report actual input values of CONFIG_FILES etc. instead of their
   12401 # values after options handling.
   12402 ac_log="
   12403 This file was extended by xclock $as_me 1.0.7, which was
   12404 generated by GNU Autoconf 2.68.  Invocation command line was
   12405 
   12406   CONFIG_FILES    = $CONFIG_FILES
   12407   CONFIG_HEADERS  = $CONFIG_HEADERS
   12408   CONFIG_LINKS    = $CONFIG_LINKS
   12409   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12410   $ $0 $@
   12411 
   12412 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12413 "
   12414 
   12415 _ACEOF
   12416 
   12417 case $ac_config_files in *"
   12418 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12419 esac
   12420 
   12421 case $ac_config_headers in *"
   12422 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12423 esac
   12424 
   12425 
   12426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12427 # Files that config.status was made for.
   12428 config_files="$ac_config_files"
   12429 config_headers="$ac_config_headers"
   12430 config_commands="$ac_config_commands"
   12431 
   12432 _ACEOF
   12433 
   12434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12435 ac_cs_usage="\
   12436 \`$as_me' instantiates files and other configuration actions
   12437 from templates according to the current configuration.  Unless the files
   12438 and actions are specified as TAGs, all are instantiated by default.
   12439 
   12440 Usage: $0 [OPTION]... [TAG]...
   12441 
   12442   -h, --help       print this help, then exit
   12443   -V, --version    print version number and configuration settings, then exit
   12444       --config     print configuration, then exit
   12445   -q, --quiet, --silent
   12446                    do not print progress messages
   12447   -d, --debug      don't remove temporary files
   12448       --recheck    update $as_me by reconfiguring in the same conditions
   12449       --file=FILE[:TEMPLATE]
   12450                    instantiate the configuration file FILE
   12451       --header=FILE[:TEMPLATE]
   12452                    instantiate the configuration header FILE
   12453 
   12454 Configuration files:
   12455 $config_files
   12456 
   12457 Configuration headers:
   12458 $config_headers
   12459 
   12460 Configuration commands:
   12461 $config_commands
   12462 
   12463 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12464 
   12465 _ACEOF
   12466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12467 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12468 ac_cs_version="\\
   12469 xclock config.status 1.0.7
   12470 configured by $0, generated by GNU Autoconf 2.68,
   12471   with options \\"\$ac_cs_config\\"
   12472 
   12473 Copyright (C) 2010 Free Software Foundation, Inc.
   12474 This config.status script is free software; the Free Software Foundation
   12475 gives unlimited permission to copy, distribute and modify it."
   12476 
   12477 ac_pwd='$ac_pwd'
   12478 srcdir='$srcdir'
   12479 INSTALL='$INSTALL'
   12480 MKDIR_P='$MKDIR_P'
   12481 AWK='$AWK'
   12482 test -n "\$AWK" || AWK=awk
   12483 _ACEOF
   12484 
   12485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12486 # The default lists apply if the user does not specify any file.
   12487 ac_need_defaults=:
   12488 while test $# != 0
   12489 do
   12490   case $1 in
   12491   --*=?*)
   12492     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12493     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12494     ac_shift=:
   12495     ;;
   12496   --*=)
   12497     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12498     ac_optarg=
   12499     ac_shift=:
   12500     ;;
   12501   *)
   12502     ac_option=$1
   12503     ac_optarg=$2
   12504     ac_shift=shift
   12505     ;;
   12506   esac
   12507 
   12508   case $ac_option in
   12509   # Handling of the options.
   12510   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12511     ac_cs_recheck=: ;;
   12512   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12513     $as_echo "$ac_cs_version"; exit ;;
   12514   --config | --confi | --conf | --con | --co | --c )
   12515     $as_echo "$ac_cs_config"; exit ;;
   12516   --debug | --debu | --deb | --de | --d | -d )
   12517     debug=: ;;
   12518   --file | --fil | --fi | --f )
   12519     $ac_shift
   12520     case $ac_optarg in
   12521     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12522     '') as_fn_error $? "missing file argument" ;;
   12523     esac
   12524     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12525     ac_need_defaults=false;;
   12526   --header | --heade | --head | --hea )
   12527     $ac_shift
   12528     case $ac_optarg in
   12529     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12530     esac
   12531     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12532     ac_need_defaults=false;;
   12533   --he | --h)
   12534     # Conflict between --help and --header
   12535     as_fn_error $? "ambiguous option: \`$1'
   12536 Try \`$0 --help' for more information.";;
   12537   --help | --hel | -h )
   12538     $as_echo "$ac_cs_usage"; exit ;;
   12539   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12540   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12541     ac_cs_silent=: ;;
   12542 
   12543   # This is an error.
   12544   -*) as_fn_error $? "unrecognized option: \`$1'
   12545 Try \`$0 --help' for more information." ;;
   12546 
   12547   *) as_fn_append ac_config_targets " $1"
   12548      ac_need_defaults=false ;;
   12549 
   12550   esac
   12551   shift
   12552 done
   12553 
   12554 ac_configure_extra_args=
   12555 
   12556 if $ac_cs_silent; then
   12557   exec 6>/dev/null
   12558   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12559 fi
   12560 
   12561 _ACEOF
   12562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12563 if \$ac_cs_recheck; then
   12564   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12565   shift
   12566   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12567   CONFIG_SHELL='$SHELL'
   12568   export CONFIG_SHELL
   12569   exec "\$@"
   12570 fi
   12571 
   12572 _ACEOF
   12573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12574 exec 5>>config.log
   12575 {
   12576   echo
   12577   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12578 ## Running $as_me. ##
   12579 _ASBOX
   12580   $as_echo "$ac_log"
   12581 } >&5
   12582 
   12583 _ACEOF
   12584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12585 #
   12586 # INIT-COMMANDS
   12587 #
   12588 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12589 
   12590 _ACEOF
   12591 
   12592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12593 
   12594 # Handling of arguments.
   12595 for ac_config_target in $ac_config_targets
   12596 do
   12597   case $ac_config_target in
   12598     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12599     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12600     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12601     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12602 
   12603   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12604   esac
   12605 done
   12606 
   12607 
   12608 # If the user did not use the arguments to specify the items to instantiate,
   12609 # then the envvar interface is used.  Set only those that are not.
   12610 # We use the long form for the default assignment because of an extremely
   12611 # bizarre bug on SunOS 4.1.3.
   12612 if $ac_need_defaults; then
   12613   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12614   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12615   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12616 fi
   12617 
   12618 # Have a temporary directory for convenience.  Make it in the build tree
   12619 # simply because there is no reason against having it here, and in addition,
   12620 # creating and moving files from /tmp can sometimes cause problems.
   12621 # Hook for its removal unless debugging.
   12622 # Note that there is a small window in which the directory will not be cleaned:
   12623 # after its creation but before its name has been assigned to `$tmp'.
   12624 $debug ||
   12625 {
   12626   tmp= ac_tmp=
   12627   trap 'exit_status=$?
   12628   : "${ac_tmp:=$tmp}"
   12629   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12630 ' 0
   12631   trap 'as_fn_exit 1' 1 2 13 15
   12632 }
   12633 # Create a (secure) tmp directory for tmp files.
   12634 
   12635 {
   12636   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12637   test -d "$tmp"
   12638 }  ||
   12639 {
   12640   tmp=./conf$$-$RANDOM
   12641   (umask 077 && mkdir "$tmp")
   12642 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12643 ac_tmp=$tmp
   12644 
   12645 # Set up the scripts for CONFIG_FILES section.
   12646 # No need to generate them if there are no CONFIG_FILES.
   12647 # This happens for instance with `./config.status config.h'.
   12648 if test -n "$CONFIG_FILES"; then
   12649 
   12650 
   12651 ac_cr=`echo X | tr X '\015'`
   12652 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12653 # But we know of no other shell where ac_cr would be empty at this
   12654 # point, so we can use a bashism as a fallback.
   12655 if test "x$ac_cr" = x; then
   12656   eval ac_cr=\$\'\\r\'
   12657 fi
   12658 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12659 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12660   ac_cs_awk_cr='\\r'
   12661 else
   12662   ac_cs_awk_cr=$ac_cr
   12663 fi
   12664 
   12665 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12666 _ACEOF
   12667 
   12668 
   12669 {
   12670   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12671   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12672   echo "_ACEOF"
   12673 } >conf$$subs.sh ||
   12674   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12675 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12676 ac_delim='%!_!# '
   12677 for ac_last_try in false false false false false :; do
   12678   . ./conf$$subs.sh ||
   12679     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12680 
   12681   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12682   if test $ac_delim_n = $ac_delim_num; then
   12683     break
   12684   elif $ac_last_try; then
   12685     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12686   else
   12687     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12688   fi
   12689 done
   12690 rm -f conf$$subs.sh
   12691 
   12692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12693 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12694 _ACEOF
   12695 sed -n '
   12696 h
   12697 s/^/S["/; s/!.*/"]=/
   12698 p
   12699 g
   12700 s/^[^!]*!//
   12701 :repl
   12702 t repl
   12703 s/'"$ac_delim"'$//
   12704 t delim
   12705 :nl
   12706 h
   12707 s/\(.\{148\}\)..*/\1/
   12708 t more1
   12709 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12710 p
   12711 n
   12712 b repl
   12713 :more1
   12714 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12715 p
   12716 g
   12717 s/.\{148\}//
   12718 t nl
   12719 :delim
   12720 h
   12721 s/\(.\{148\}\)..*/\1/
   12722 t more2
   12723 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12724 p
   12725 b
   12726 :more2
   12727 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12728 p
   12729 g
   12730 s/.\{148\}//
   12731 t delim
   12732 ' <conf$$subs.awk | sed '
   12733 /^[^""]/{
   12734   N
   12735   s/\n//
   12736 }
   12737 ' >>$CONFIG_STATUS || ac_write_fail=1
   12738 rm -f conf$$subs.awk
   12739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12740 _ACAWK
   12741 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12742   for (key in S) S_is_set[key] = 1
   12743   FS = ""
   12744 
   12745 }
   12746 {
   12747   line = $ 0
   12748   nfields = split(line, field, "@")
   12749   substed = 0
   12750   len = length(field[1])
   12751   for (i = 2; i < nfields; i++) {
   12752     key = field[i]
   12753     keylen = length(key)
   12754     if (S_is_set[key]) {
   12755       value = S[key]
   12756       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12757       len += length(value) + length(field[++i])
   12758       substed = 1
   12759     } else
   12760       len += 1 + keylen
   12761   }
   12762 
   12763   print line
   12764 }
   12765 
   12766 _ACAWK
   12767 _ACEOF
   12768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12769 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12770   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12771 else
   12772   cat
   12773 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12774   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12775 _ACEOF
   12776 
   12777 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12778 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12779 # trailing colons and then remove the whole line if VPATH becomes empty
   12780 # (actually we leave an empty line to preserve line numbers).
   12781 if test "x$srcdir" = x.; then
   12782   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12783 h
   12784 s///
   12785 s/^/:/
   12786 s/[	 ]*$/:/
   12787 s/:\$(srcdir):/:/g
   12788 s/:\${srcdir}:/:/g
   12789 s/:@srcdir@:/:/g
   12790 s/^:*//
   12791 s/:*$//
   12792 x
   12793 s/\(=[	 ]*\).*/\1/
   12794 G
   12795 s/\n//
   12796 s/^[^=]*=[	 ]*$//
   12797 }'
   12798 fi
   12799 
   12800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12801 fi # test -n "$CONFIG_FILES"
   12802 
   12803 # Set up the scripts for CONFIG_HEADERS section.
   12804 # No need to generate them if there are no CONFIG_HEADERS.
   12805 # This happens for instance with `./config.status Makefile'.
   12806 if test -n "$CONFIG_HEADERS"; then
   12807 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12808 BEGIN {
   12809 _ACEOF
   12810 
   12811 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12812 # here-document in config.status, that substitutes the proper values into
   12813 # config.h.in to produce config.h.
   12814 
   12815 # Create a delimiter string that does not exist in confdefs.h, to ease
   12816 # handling of long lines.
   12817 ac_delim='%!_!# '
   12818 for ac_last_try in false false :; do
   12819   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12820   if test -z "$ac_tt"; then
   12821     break
   12822   elif $ac_last_try; then
   12823     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12824   else
   12825     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12826   fi
   12827 done
   12828 
   12829 # For the awk script, D is an array of macro values keyed by name,
   12830 # likewise P contains macro parameters if any.  Preserve backslash
   12831 # newline sequences.
   12832 
   12833 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12834 sed -n '
   12835 s/.\{148\}/&'"$ac_delim"'/g
   12836 t rset
   12837 :rset
   12838 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12839 t def
   12840 d
   12841 :def
   12842 s/\\$//
   12843 t bsnl
   12844 s/["\\]/\\&/g
   12845 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12846 D["\1"]=" \3"/p
   12847 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12848 d
   12849 :bsnl
   12850 s/["\\]/\\&/g
   12851 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12852 D["\1"]=" \3\\\\\\n"\\/p
   12853 t cont
   12854 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12855 t cont
   12856 d
   12857 :cont
   12858 n
   12859 s/.\{148\}/&'"$ac_delim"'/g
   12860 t clear
   12861 :clear
   12862 s/\\$//
   12863 t bsnlc
   12864 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12865 d
   12866 :bsnlc
   12867 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12868 b cont
   12869 ' <confdefs.h | sed '
   12870 s/'"$ac_delim"'/"\\\
   12871 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12872 
   12873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12874   for (key in D) D_is_set[key] = 1
   12875   FS = ""
   12876 }
   12877 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12878   line = \$ 0
   12879   split(line, arg, " ")
   12880   if (arg[1] == "#") {
   12881     defundef = arg[2]
   12882     mac1 = arg[3]
   12883   } else {
   12884     defundef = substr(arg[1], 2)
   12885     mac1 = arg[2]
   12886   }
   12887   split(mac1, mac2, "(") #)
   12888   macro = mac2[1]
   12889   prefix = substr(line, 1, index(line, defundef) - 1)
   12890   if (D_is_set[macro]) {
   12891     # Preserve the white space surrounding the "#".
   12892     print prefix "define", macro P[macro] D[macro]
   12893     next
   12894   } else {
   12895     # Replace #undef with comments.  This is necessary, for example,
   12896     # in the case of _POSIX_SOURCE, which is predefined and required
   12897     # on some systems where configure will not decide to define it.
   12898     if (defundef == "undef") {
   12899       print "/*", prefix defundef, macro, "*/"
   12900       next
   12901     }
   12902   }
   12903 }
   12904 { print }
   12905 _ACAWK
   12906 _ACEOF
   12907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12908   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12909 fi # test -n "$CONFIG_HEADERS"
   12910 
   12911 
   12912 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12913 shift
   12914 for ac_tag
   12915 do
   12916   case $ac_tag in
   12917   :[FHLC]) ac_mode=$ac_tag; continue;;
   12918   esac
   12919   case $ac_mode$ac_tag in
   12920   :[FHL]*:*);;
   12921   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12922   :[FH]-) ac_tag=-:-;;
   12923   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12924   esac
   12925   ac_save_IFS=$IFS
   12926   IFS=:
   12927   set x $ac_tag
   12928   IFS=$ac_save_IFS
   12929   shift
   12930   ac_file=$1
   12931   shift
   12932 
   12933   case $ac_mode in
   12934   :L) ac_source=$1;;
   12935   :[FH])
   12936     ac_file_inputs=
   12937     for ac_f
   12938     do
   12939       case $ac_f in
   12940       -) ac_f="$ac_tmp/stdin";;
   12941       *) # Look for the file first in the build tree, then in the source tree
   12942 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12943 	 # because $ac_f cannot contain `:'.
   12944 	 test -f "$ac_f" ||
   12945 	   case $ac_f in
   12946 	   [\\/$]*) false;;
   12947 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12948 	   esac ||
   12949 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12950       esac
   12951       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12952       as_fn_append ac_file_inputs " '$ac_f'"
   12953     done
   12954 
   12955     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12956     # use $as_me), people would be surprised to read:
   12957     #    /* config.h.  Generated by config.status.  */
   12958     configure_input='Generated from '`
   12959 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12960 	`' by configure.'
   12961     if test x"$ac_file" != x-; then
   12962       configure_input="$ac_file.  $configure_input"
   12963       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12964 $as_echo "$as_me: creating $ac_file" >&6;}
   12965     fi
   12966     # Neutralize special characters interpreted by sed in replacement strings.
   12967     case $configure_input in #(
   12968     *\&* | *\|* | *\\* )
   12969        ac_sed_conf_input=`$as_echo "$configure_input" |
   12970        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12971     *) ac_sed_conf_input=$configure_input;;
   12972     esac
   12973 
   12974     case $ac_tag in
   12975     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12976       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12977     esac
   12978     ;;
   12979   esac
   12980 
   12981   ac_dir=`$as_dirname -- "$ac_file" ||
   12982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12983 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12984 	 X"$ac_file" : 'X\(//\)$' \| \
   12985 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12986 $as_echo X"$ac_file" |
   12987     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12988 	    s//\1/
   12989 	    q
   12990 	  }
   12991 	  /^X\(\/\/\)[^/].*/{
   12992 	    s//\1/
   12993 	    q
   12994 	  }
   12995 	  /^X\(\/\/\)$/{
   12996 	    s//\1/
   12997 	    q
   12998 	  }
   12999 	  /^X\(\/\).*/{
   13000 	    s//\1/
   13001 	    q
   13002 	  }
   13003 	  s/.*/./; q'`
   13004   as_dir="$ac_dir"; as_fn_mkdir_p
   13005   ac_builddir=.
   13006 
   13007 case "$ac_dir" in
   13008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13009 *)
   13010   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13011   # A ".." for each directory in $ac_dir_suffix.
   13012   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13013   case $ac_top_builddir_sub in
   13014   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13015   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13016   esac ;;
   13017 esac
   13018 ac_abs_top_builddir=$ac_pwd
   13019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13020 # for backward compatibility:
   13021 ac_top_builddir=$ac_top_build_prefix
   13022 
   13023 case $srcdir in
   13024   .)  # We are building in place.
   13025     ac_srcdir=.
   13026     ac_top_srcdir=$ac_top_builddir_sub
   13027     ac_abs_top_srcdir=$ac_pwd ;;
   13028   [\\/]* | ?:[\\/]* )  # Absolute name.
   13029     ac_srcdir=$srcdir$ac_dir_suffix;
   13030     ac_top_srcdir=$srcdir
   13031     ac_abs_top_srcdir=$srcdir ;;
   13032   *) # Relative name.
   13033     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13034     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13035     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13036 esac
   13037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13038 
   13039 
   13040   case $ac_mode in
   13041   :F)
   13042   #
   13043   # CONFIG_FILE
   13044   #
   13045 
   13046   case $INSTALL in
   13047   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13048   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13049   esac
   13050   ac_MKDIR_P=$MKDIR_P
   13051   case $MKDIR_P in
   13052   [\\/$]* | ?:[\\/]* ) ;;
   13053   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13054   esac
   13055 _ACEOF
   13056 
   13057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13058 # If the template does not know about datarootdir, expand it.
   13059 # FIXME: This hack should be removed a few years after 2.60.
   13060 ac_datarootdir_hack=; ac_datarootdir_seen=
   13061 ac_sed_dataroot='
   13062 /datarootdir/ {
   13063   p
   13064   q
   13065 }
   13066 /@datadir@/p
   13067 /@docdir@/p
   13068 /@infodir@/p
   13069 /@localedir@/p
   13070 /@mandir@/p'
   13071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13072 *datarootdir*) ac_datarootdir_seen=yes;;
   13073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13074   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13076 _ACEOF
   13077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13078   ac_datarootdir_hack='
   13079   s&@datadir@&$datadir&g
   13080   s&@docdir@&$docdir&g
   13081   s&@infodir@&$infodir&g
   13082   s&@localedir@&$localedir&g
   13083   s&@mandir@&$mandir&g
   13084   s&\\\${datarootdir}&$datarootdir&g' ;;
   13085 esac
   13086 _ACEOF
   13087 
   13088 # Neutralize VPATH when `$srcdir' = `.'.
   13089 # Shell code in configure.ac might set extrasub.
   13090 # FIXME: do we really want to maintain this feature?
   13091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13092 ac_sed_extra="$ac_vpsub
   13093 $extrasub
   13094 _ACEOF
   13095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13096 :t
   13097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13098 s|@configure_input@|$ac_sed_conf_input|;t t
   13099 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13101 s&@srcdir@&$ac_srcdir&;t t
   13102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13103 s&@top_srcdir@&$ac_top_srcdir&;t t
   13104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13105 s&@builddir@&$ac_builddir&;t t
   13106 s&@abs_builddir@&$ac_abs_builddir&;t t
   13107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13108 s&@INSTALL@&$ac_INSTALL&;t t
   13109 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13110 $ac_datarootdir_hack
   13111 "
   13112 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13113   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13114 
   13115 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13116   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13117   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13118       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13119   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13120 which seems to be undefined.  Please make sure it is defined" >&5
   13121 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13122 which seems to be undefined.  Please make sure it is defined" >&2;}
   13123 
   13124   rm -f "$ac_tmp/stdin"
   13125   case $ac_file in
   13126   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13127   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13128   esac \
   13129   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13130  ;;
   13131   :H)
   13132   #
   13133   # CONFIG_HEADER
   13134   #
   13135   if test x"$ac_file" != x-; then
   13136     {
   13137       $as_echo "/* $configure_input  */" \
   13138       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13139     } >"$ac_tmp/config.h" \
   13140       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13141     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13142       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13143 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13144     else
   13145       rm -f "$ac_file"
   13146       mv "$ac_tmp/config.h" "$ac_file" \
   13147 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13148     fi
   13149   else
   13150     $as_echo "/* $configure_input  */" \
   13151       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13152       || as_fn_error $? "could not create -" "$LINENO" 5
   13153   fi
   13154 # Compute "$ac_file"'s index in $config_headers.
   13155 _am_arg="$ac_file"
   13156 _am_stamp_count=1
   13157 for _am_header in $config_headers :; do
   13158   case $_am_header in
   13159     $_am_arg | $_am_arg:* )
   13160       break ;;
   13161     * )
   13162       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13163   esac
   13164 done
   13165 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13166 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13167 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13168 	 X"$_am_arg" : 'X\(//\)$' \| \
   13169 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13170 $as_echo X"$_am_arg" |
   13171     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13172 	    s//\1/
   13173 	    q
   13174 	  }
   13175 	  /^X\(\/\/\)[^/].*/{
   13176 	    s//\1/
   13177 	    q
   13178 	  }
   13179 	  /^X\(\/\/\)$/{
   13180 	    s//\1/
   13181 	    q
   13182 	  }
   13183 	  /^X\(\/\).*/{
   13184 	    s//\1/
   13185 	    q
   13186 	  }
   13187 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13188  ;;
   13189 
   13190   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13191 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13192  ;;
   13193   esac
   13194 
   13195 
   13196   case $ac_file$ac_mode in
   13197     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13198   # Older Autoconf quotes --file arguments for eval, but not when files
   13199   # are listed without --file.  Let's play safe and only enable the eval
   13200   # if we detect the quoting.
   13201   case $CONFIG_FILES in
   13202   *\'*) eval set x "$CONFIG_FILES" ;;
   13203   *)   set x $CONFIG_FILES ;;
   13204   esac
   13205   shift
   13206   for mf
   13207   do
   13208     # Strip MF so we end up with the name of the file.
   13209     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13210     # Check whether this is an Automake generated Makefile or not.
   13211     # We used to match only the files named 'Makefile.in', but
   13212     # some people rename them; so instead we look at the file content.
   13213     # Grep'ing the first line is not enough: some people post-process
   13214     # each Makefile.in and add a new line on top of each file to say so.
   13215     # Grep'ing the whole file is not good either: AIX grep has a line
   13216     # limit of 2048, but all sed's we know have understand at least 4000.
   13217     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13218       dirpart=`$as_dirname -- "$mf" ||
   13219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13220 	 X"$mf" : 'X\(//\)[^/]' \| \
   13221 	 X"$mf" : 'X\(//\)$' \| \
   13222 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13223 $as_echo X"$mf" |
   13224     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13225 	    s//\1/
   13226 	    q
   13227 	  }
   13228 	  /^X\(\/\/\)[^/].*/{
   13229 	    s//\1/
   13230 	    q
   13231 	  }
   13232 	  /^X\(\/\/\)$/{
   13233 	    s//\1/
   13234 	    q
   13235 	  }
   13236 	  /^X\(\/\).*/{
   13237 	    s//\1/
   13238 	    q
   13239 	  }
   13240 	  s/.*/./; q'`
   13241     else
   13242       continue
   13243     fi
   13244     # Extract the definition of DEPDIR, am__include, and am__quote
   13245     # from the Makefile without running 'make'.
   13246     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13247     test -z "$DEPDIR" && continue
   13248     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13249     test -z "$am__include" && continue
   13250     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13251     # Find all dependency output files, they are included files with
   13252     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13253     # simplest approach to changing $(DEPDIR) to its actual value in the
   13254     # expansion.
   13255     for file in `sed -n "
   13256       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13257 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   13258       # Make sure the directory exists.
   13259       test -f "$dirpart/$file" && continue
   13260       fdir=`$as_dirname -- "$file" ||
   13261 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13262 	 X"$file" : 'X\(//\)[^/]' \| \
   13263 	 X"$file" : 'X\(//\)$' \| \
   13264 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13265 $as_echo X"$file" |
   13266     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13267 	    s//\1/
   13268 	    q
   13269 	  }
   13270 	  /^X\(\/\/\)[^/].*/{
   13271 	    s//\1/
   13272 	    q
   13273 	  }
   13274 	  /^X\(\/\/\)$/{
   13275 	    s//\1/
   13276 	    q
   13277 	  }
   13278 	  /^X\(\/\).*/{
   13279 	    s//\1/
   13280 	    q
   13281 	  }
   13282 	  s/.*/./; q'`
   13283       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13284       # echo "creating $dirpart/$file"
   13285       echo '# dummy' > "$dirpart/$file"
   13286     done
   13287   done
   13288 }
   13289  ;;
   13290 
   13291   esac
   13292 done # for ac_tag
   13293 
   13294 
   13295 as_fn_exit 0
   13296 _ACEOF
   13297 ac_clean_files=$ac_clean_files_save
   13298 
   13299 test $ac_write_fail = 0 ||
   13300   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13301 
   13302 
   13303 # configure is writing to config.log, and then calls config.status.
   13304 # config.status does its own redirection, appending to config.log.
   13305 # Unfortunately, on DOS this fails, as config.log is still kept open
   13306 # by configure, so config.status won't be able to write to it; its
   13307 # output is simply discarded.  So we exec the FD to /dev/null,
   13308 # effectively closing config.log, so it can be properly (re)opened and
   13309 # appended to by config.status.  When coming back to configure, we
   13310 # need to make the FD available again.
   13311 if test "$no_create" != yes; then
   13312   ac_cs_success=:
   13313   ac_config_status_args=
   13314   test "$silent" = yes &&
   13315     ac_config_status_args="$ac_config_status_args --quiet"
   13316   exec 5>/dev/null
   13317   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13318   exec 5>>config.log
   13319   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13320   # would make configure fail if this is the last instruction.
   13321   $ac_cs_success || as_fn_exit 1
   13322 fi
   13323 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13324   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13325 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13326 fi
   13327 
   13328