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 sessreg 1.0.8.
      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='sessreg'
    563 PACKAGE_TARNAME='sessreg'
    564 PACKAGE_VERSION='1.0.8'
    565 PACKAGE_STRING='sessreg 1.0.8'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 SESSREG_LIBS
    611 SESSREG_CFLAGS
    612 LINT_FALSE
    613 LINT_TRUE
    614 LINT_FLAGS
    615 LINT
    616 AM_BACKSLASH
    617 AM_DEFAULT_VERBOSITY
    618 MAN_SUBSTS
    619 XORG_MAN_PAGE
    620 ADMIN_MAN_DIR
    621 DRIVER_MAN_DIR
    622 MISC_MAN_DIR
    623 FILE_MAN_DIR
    624 LIB_MAN_DIR
    625 APP_MAN_DIR
    626 ADMIN_MAN_SUFFIX
    627 DRIVER_MAN_SUFFIX
    628 MISC_MAN_SUFFIX
    629 FILE_MAN_SUFFIX
    630 LIB_MAN_SUFFIX
    631 APP_MAN_SUFFIX
    632 SED
    633 host_os
    634 host_vendor
    635 host_cpu
    636 host
    637 build_os
    638 build_vendor
    639 build_cpu
    640 build
    641 INSTALL_CMD
    642 PKG_CONFIG
    643 CHANGELOG_CMD
    644 STRICT_CFLAGS
    645 CWARNFLAGS
    646 BASE_CFLAGS
    647 MAINT
    648 MAINTAINER_MODE_FALSE
    649 MAINTAINER_MODE_TRUE
    650 am__fastdepCC_FALSE
    651 am__fastdepCC_TRUE
    652 CCDEPMODE
    653 am__nodep
    654 AMDEPBACKSLASH
    655 AMDEP_FALSE
    656 AMDEP_TRUE
    657 am__quote
    658 am__include
    659 DEPDIR
    660 am__untar
    661 am__tar
    662 AMTAR
    663 am__leading_dot
    664 SET_MAKE
    665 AWK
    666 mkdir_p
    667 MKDIR_P
    668 INSTALL_STRIP_PROGRAM
    669 STRIP
    670 install_sh
    671 MAKEINFO
    672 AUTOHEADER
    673 AUTOMAKE
    674 AUTOCONF
    675 ACLOCAL
    676 VERSION
    677 PACKAGE
    678 CYGPATH_W
    679 am__isrc
    680 INSTALL_DATA
    681 INSTALL_SCRIPT
    682 INSTALL_PROGRAM
    683 EGREP
    684 GREP
    685 CPP
    686 OBJEXT
    687 EXEEXT
    688 ac_ct_CC
    689 CPPFLAGS
    690 LDFLAGS
    691 CFLAGS
    692 CC
    693 target_alias
    694 host_alias
    695 build_alias
    696 LIBS
    697 ECHO_T
    698 ECHO_N
    699 ECHO_C
    700 DEFS
    701 mandir
    702 localedir
    703 libdir
    704 psdir
    705 pdfdir
    706 dvidir
    707 htmldir
    708 infodir
    709 docdir
    710 oldincludedir
    711 includedir
    712 localstatedir
    713 sharedstatedir
    714 sysconfdir
    715 datadir
    716 datarootdir
    717 libexecdir
    718 sbindir
    719 bindir
    720 program_transform_name
    721 prefix
    722 exec_prefix
    723 PACKAGE_URL
    724 PACKAGE_BUGREPORT
    725 PACKAGE_STRING
    726 PACKAGE_VERSION
    727 PACKAGE_TARNAME
    728 PACKAGE_NAME
    729 PATH_SEPARATOR
    730 SHELL'
    731 ac_subst_files=''
    732 ac_user_opts='
    733 enable_option_checking
    734 enable_largefile
    735 enable_dependency_tracking
    736 enable_maintainer_mode
    737 enable_selective_werror
    738 enable_strict_compilation
    739 enable_silent_rules
    740 with_lint
    741 '
    742       ac_precious_vars='build_alias
    743 host_alias
    744 target_alias
    745 CC
    746 CFLAGS
    747 LDFLAGS
    748 LIBS
    749 CPPFLAGS
    750 CPP
    751 PKG_CONFIG
    752 LINT
    753 LINT_FLAGS
    754 SESSREG_CFLAGS
    755 SESSREG_LIBS'
    756 
    757 
    758 # Initialize some variables set by options.
    759 ac_init_help=
    760 ac_init_version=false
    761 ac_unrecognized_opts=
    762 ac_unrecognized_sep=
    763 # The variables have the same names as the options, with
    764 # dashes changed to underlines.
    765 cache_file=/dev/null
    766 exec_prefix=NONE
    767 no_create=
    768 no_recursion=
    769 prefix=NONE
    770 program_prefix=NONE
    771 program_suffix=NONE
    772 program_transform_name=s,x,x,
    773 silent=
    774 site=
    775 srcdir=
    776 verbose=
    777 x_includes=NONE
    778 x_libraries=NONE
    779 
    780 # Installation directory options.
    781 # These are left unexpanded so users can "make install exec_prefix=/foo"
    782 # and all the variables that are supposed to be based on exec_prefix
    783 # by default will actually change.
    784 # Use braces instead of parens because sh, perl, etc. also accept them.
    785 # (The list follows the same order as the GNU Coding Standards.)
    786 bindir='${exec_prefix}/bin'
    787 sbindir='${exec_prefix}/sbin'
    788 libexecdir='${exec_prefix}/libexec'
    789 datarootdir='${prefix}/share'
    790 datadir='${datarootdir}'
    791 sysconfdir='${prefix}/etc'
    792 sharedstatedir='${prefix}/com'
    793 localstatedir='${prefix}/var'
    794 includedir='${prefix}/include'
    795 oldincludedir='/usr/include'
    796 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    797 infodir='${datarootdir}/info'
    798 htmldir='${docdir}'
    799 dvidir='${docdir}'
    800 pdfdir='${docdir}'
    801 psdir='${docdir}'
    802 libdir='${exec_prefix}/lib'
    803 localedir='${datarootdir}/locale'
    804 mandir='${datarootdir}/man'
    805 
    806 ac_prev=
    807 ac_dashdash=
    808 for ac_option
    809 do
    810   # If the previous option needs an argument, assign it.
    811   if test -n "$ac_prev"; then
    812     eval $ac_prev=\$ac_option
    813     ac_prev=
    814     continue
    815   fi
    816 
    817   case $ac_option in
    818   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    819   *=)   ac_optarg= ;;
    820   *)    ac_optarg=yes ;;
    821   esac
    822 
    823   # Accept the important Cygnus configure options, so we can diagnose typos.
    824 
    825   case $ac_dashdash$ac_option in
    826   --)
    827     ac_dashdash=yes ;;
    828 
    829   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    830     ac_prev=bindir ;;
    831   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    832     bindir=$ac_optarg ;;
    833 
    834   -build | --build | --buil | --bui | --bu)
    835     ac_prev=build_alias ;;
    836   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    837     build_alias=$ac_optarg ;;
    838 
    839   -cache-file | --cache-file | --cache-fil | --cache-fi \
    840   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    841     ac_prev=cache_file ;;
    842   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    843   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    844     cache_file=$ac_optarg ;;
    845 
    846   --config-cache | -C)
    847     cache_file=config.cache ;;
    848 
    849   -datadir | --datadir | --datadi | --datad)
    850     ac_prev=datadir ;;
    851   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    852     datadir=$ac_optarg ;;
    853 
    854   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    855   | --dataroo | --dataro | --datar)
    856     ac_prev=datarootdir ;;
    857   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    858   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    859     datarootdir=$ac_optarg ;;
    860 
    861   -disable-* | --disable-*)
    862     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    863     # Reject names that are not valid shell variable names.
    864     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    865       as_fn_error $? "invalid feature name: $ac_useropt"
    866     ac_useropt_orig=$ac_useropt
    867     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    868     case $ac_user_opts in
    869       *"
    870 "enable_$ac_useropt"
    871 "*) ;;
    872       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    873 	 ac_unrecognized_sep=', ';;
    874     esac
    875     eval enable_$ac_useropt=no ;;
    876 
    877   -docdir | --docdir | --docdi | --doc | --do)
    878     ac_prev=docdir ;;
    879   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    880     docdir=$ac_optarg ;;
    881 
    882   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    883     ac_prev=dvidir ;;
    884   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    885     dvidir=$ac_optarg ;;
    886 
    887   -enable-* | --enable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=\$ac_optarg ;;
    902 
    903   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    904   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    905   | --exec | --exe | --ex)
    906     ac_prev=exec_prefix ;;
    907   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    908   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    909   | --exec=* | --exe=* | --ex=*)
    910     exec_prefix=$ac_optarg ;;
    911 
    912   -gas | --gas | --ga | --g)
    913     # Obsolete; use --with-gas.
    914     with_gas=yes ;;
    915 
    916   -help | --help | --hel | --he | -h)
    917     ac_init_help=long ;;
    918   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    919     ac_init_help=recursive ;;
    920   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    921     ac_init_help=short ;;
    922 
    923   -host | --host | --hos | --ho)
    924     ac_prev=host_alias ;;
    925   -host=* | --host=* | --hos=* | --ho=*)
    926     host_alias=$ac_optarg ;;
    927 
    928   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    929     ac_prev=htmldir ;;
    930   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    931   | --ht=*)
    932     htmldir=$ac_optarg ;;
    933 
    934   -includedir | --includedir | --includedi | --included | --include \
    935   | --includ | --inclu | --incl | --inc)
    936     ac_prev=includedir ;;
    937   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    938   | --includ=* | --inclu=* | --incl=* | --inc=*)
    939     includedir=$ac_optarg ;;
    940 
    941   -infodir | --infodir | --infodi | --infod | --info | --inf)
    942     ac_prev=infodir ;;
    943   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    944     infodir=$ac_optarg ;;
    945 
    946   -libdir | --libdir | --libdi | --libd)
    947     ac_prev=libdir ;;
    948   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    949     libdir=$ac_optarg ;;
    950 
    951   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    952   | --libexe | --libex | --libe)
    953     ac_prev=libexecdir ;;
    954   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    955   | --libexe=* | --libex=* | --libe=*)
    956     libexecdir=$ac_optarg ;;
    957 
    958   -localedir | --localedir | --localedi | --localed | --locale)
    959     ac_prev=localedir ;;
    960   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    961     localedir=$ac_optarg ;;
    962 
    963   -localstatedir | --localstatedir | --localstatedi | --localstated \
    964   | --localstate | --localstat | --localsta | --localst | --locals)
    965     ac_prev=localstatedir ;;
    966   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    967   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    968     localstatedir=$ac_optarg ;;
    969 
    970   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    971     ac_prev=mandir ;;
    972   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    973     mandir=$ac_optarg ;;
    974 
    975   -nfp | --nfp | --nf)
    976     # Obsolete; use --without-fp.
    977     with_fp=no ;;
    978 
    979   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    980   | --no-cr | --no-c | -n)
    981     no_create=yes ;;
    982 
    983   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    984   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    985     no_recursion=yes ;;
    986 
    987   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    988   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    989   | --oldin | --oldi | --old | --ol | --o)
    990     ac_prev=oldincludedir ;;
    991   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    992   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    993   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    994     oldincludedir=$ac_optarg ;;
    995 
    996   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    997     ac_prev=prefix ;;
    998   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    999     prefix=$ac_optarg ;;
   1000 
   1001   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1002   | --program-pre | --program-pr | --program-p)
   1003     ac_prev=program_prefix ;;
   1004   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1005   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1006     program_prefix=$ac_optarg ;;
   1007 
   1008   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1009   | --program-suf | --program-su | --program-s)
   1010     ac_prev=program_suffix ;;
   1011   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1012   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1013     program_suffix=$ac_optarg ;;
   1014 
   1015   -program-transform-name | --program-transform-name \
   1016   | --program-transform-nam | --program-transform-na \
   1017   | --program-transform-n | --program-transform- \
   1018   | --program-transform | --program-transfor \
   1019   | --program-transfo | --program-transf \
   1020   | --program-trans | --program-tran \
   1021   | --progr-tra | --program-tr | --program-t)
   1022     ac_prev=program_transform_name ;;
   1023   -program-transform-name=* | --program-transform-name=* \
   1024   | --program-transform-nam=* | --program-transform-na=* \
   1025   | --program-transform-n=* | --program-transform-=* \
   1026   | --program-transform=* | --program-transfor=* \
   1027   | --program-transfo=* | --program-transf=* \
   1028   | --program-trans=* | --program-tran=* \
   1029   | --progr-tra=* | --program-tr=* | --program-t=*)
   1030     program_transform_name=$ac_optarg ;;
   1031 
   1032   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1033     ac_prev=pdfdir ;;
   1034   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1035     pdfdir=$ac_optarg ;;
   1036 
   1037   -psdir | --psdir | --psdi | --psd | --ps)
   1038     ac_prev=psdir ;;
   1039   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1040     psdir=$ac_optarg ;;
   1041 
   1042   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1043   | -silent | --silent | --silen | --sile | --sil)
   1044     silent=yes ;;
   1045 
   1046   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1047     ac_prev=sbindir ;;
   1048   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1049   | --sbi=* | --sb=*)
   1050     sbindir=$ac_optarg ;;
   1051 
   1052   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1053   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1054   | --sharedst | --shareds | --shared | --share | --shar \
   1055   | --sha | --sh)
   1056     ac_prev=sharedstatedir ;;
   1057   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1058   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1059   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1060   | --sha=* | --sh=*)
   1061     sharedstatedir=$ac_optarg ;;
   1062 
   1063   -site | --site | --sit)
   1064     ac_prev=site ;;
   1065   -site=* | --site=* | --sit=*)
   1066     site=$ac_optarg ;;
   1067 
   1068   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1069     ac_prev=srcdir ;;
   1070   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1071     srcdir=$ac_optarg ;;
   1072 
   1073   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1074   | --syscon | --sysco | --sysc | --sys | --sy)
   1075     ac_prev=sysconfdir ;;
   1076   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1077   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1078     sysconfdir=$ac_optarg ;;
   1079 
   1080   -target | --target | --targe | --targ | --tar | --ta | --t)
   1081     ac_prev=target_alias ;;
   1082   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1083     target_alias=$ac_optarg ;;
   1084 
   1085   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1086     verbose=yes ;;
   1087 
   1088   -version | --version | --versio | --versi | --vers | -V)
   1089     ac_init_version=: ;;
   1090 
   1091   -with-* | --with-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       as_fn_error $? "invalid package name: $ac_useropt"
   1096     ac_useropt_orig=$ac_useropt
   1097     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1098     case $ac_user_opts in
   1099       *"
   1100 "with_$ac_useropt"
   1101 "*) ;;
   1102       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1103 	 ac_unrecognized_sep=', ';;
   1104     esac
   1105     eval with_$ac_useropt=\$ac_optarg ;;
   1106 
   1107   -without-* | --without-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid package name: $ac_useropt"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "with_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval with_$ac_useropt=no ;;
   1122 
   1123   --x)
   1124     # Obsolete; use --with-x.
   1125     with_x=yes ;;
   1126 
   1127   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1128   | --x-incl | --x-inc | --x-in | --x-i)
   1129     ac_prev=x_includes ;;
   1130   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1131   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1132     x_includes=$ac_optarg ;;
   1133 
   1134   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1135   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1136     ac_prev=x_libraries ;;
   1137   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1138   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1139     x_libraries=$ac_optarg ;;
   1140 
   1141   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1142 Try \`$0 --help' for more information"
   1143     ;;
   1144 
   1145   *=*)
   1146     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1147     # Reject names that are not valid shell variable names.
   1148     case $ac_envvar in #(
   1149       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1150       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1151     esac
   1152     eval $ac_envvar=\$ac_optarg
   1153     export $ac_envvar ;;
   1154 
   1155   *)
   1156     # FIXME: should be removed in autoconf 3.0.
   1157     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1158     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1159       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1160     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1161     ;;
   1162 
   1163   esac
   1164 done
   1165 
   1166 if test -n "$ac_prev"; then
   1167   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1168   as_fn_error $? "missing argument to $ac_option"
   1169 fi
   1170 
   1171 if test -n "$ac_unrecognized_opts"; then
   1172   case $enable_option_checking in
   1173     no) ;;
   1174     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1175     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1176   esac
   1177 fi
   1178 
   1179 # Check all directory arguments for consistency.
   1180 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1181 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1182 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1183 		libdir localedir mandir
   1184 do
   1185   eval ac_val=\$$ac_var
   1186   # Remove trailing slashes.
   1187   case $ac_val in
   1188     */ )
   1189       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1190       eval $ac_var=\$ac_val;;
   1191   esac
   1192   # Be sure to have absolute directory names.
   1193   case $ac_val in
   1194     [\\/$]* | ?:[\\/]* )  continue;;
   1195     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1196   esac
   1197   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1198 done
   1199 
   1200 # There might be people who depend on the old broken behavior: `$host'
   1201 # used to hold the argument of --host etc.
   1202 # FIXME: To remove some day.
   1203 build=$build_alias
   1204 host=$host_alias
   1205 target=$target_alias
   1206 
   1207 # FIXME: To remove some day.
   1208 if test "x$host_alias" != x; then
   1209   if test "x$build_alias" = x; then
   1210     cross_compiling=maybe
   1211     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1212     If a cross compiler is detected then cross compile mode will be used" >&2
   1213   elif test "x$build_alias" != "x$host_alias"; then
   1214     cross_compiling=yes
   1215   fi
   1216 fi
   1217 
   1218 ac_tool_prefix=
   1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1220 
   1221 test "$silent" = yes && exec 6>/dev/null
   1222 
   1223 
   1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1225 ac_ls_di=`ls -di .` &&
   1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1227   as_fn_error $? "working directory cannot be determined"
   1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1229   as_fn_error $? "pwd does not report name of working directory"
   1230 
   1231 
   1232 # Find the source files, if location was not specified.
   1233 if test -z "$srcdir"; then
   1234   ac_srcdir_defaulted=yes
   1235   # Try the directory containing this script, then the parent directory.
   1236   ac_confdir=`$as_dirname -- "$as_myself" ||
   1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1238 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1239 	 X"$as_myself" : 'X\(//\)$' \| \
   1240 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1241 $as_echo X"$as_myself" |
   1242     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1243 	    s//\1/
   1244 	    q
   1245 	  }
   1246 	  /^X\(\/\/\)[^/].*/{
   1247 	    s//\1/
   1248 	    q
   1249 	  }
   1250 	  /^X\(\/\/\)$/{
   1251 	    s//\1/
   1252 	    q
   1253 	  }
   1254 	  /^X\(\/\).*/{
   1255 	    s//\1/
   1256 	    q
   1257 	  }
   1258 	  s/.*/./; q'`
   1259   srcdir=$ac_confdir
   1260   if test ! -r "$srcdir/$ac_unique_file"; then
   1261     srcdir=..
   1262   fi
   1263 else
   1264   ac_srcdir_defaulted=no
   1265 fi
   1266 if test ! -r "$srcdir/$ac_unique_file"; then
   1267   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1268   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1269 fi
   1270 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1271 ac_abs_confdir=`(
   1272 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1273 	pwd)`
   1274 # When building in place, set srcdir=.
   1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1276   srcdir=.
   1277 fi
   1278 # Remove unnecessary trailing slashes from srcdir.
   1279 # Double slashes in file names in object file debugging info
   1280 # mess up M-x gdb in Emacs.
   1281 case $srcdir in
   1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1283 esac
   1284 for ac_var in $ac_precious_vars; do
   1285   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1286   eval ac_env_${ac_var}_value=\$${ac_var}
   1287   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1288   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1289 done
   1290 
   1291 #
   1292 # Report the --help message.
   1293 #
   1294 if test "$ac_init_help" = "long"; then
   1295   # Omit some internal or obsolete options to make the list less imposing.
   1296   # This message is too long to be a string in the A/UX 3.1 sh.
   1297   cat <<_ACEOF
   1298 \`configure' configures sessreg 1.0.8 to adapt to many kinds of systems.
   1299 
   1300 Usage: $0 [OPTION]... [VAR=VALUE]...
   1301 
   1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1303 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1304 
   1305 Defaults for the options are specified in brackets.
   1306 
   1307 Configuration:
   1308   -h, --help              display this help and exit
   1309       --help=short        display options specific to this package
   1310       --help=recursive    display the short help of all the included packages
   1311   -V, --version           display version information and exit
   1312   -q, --quiet, --silent   do not print \`checking ...' messages
   1313       --cache-file=FILE   cache test results in FILE [disabled]
   1314   -C, --config-cache      alias for \`--cache-file=config.cache'
   1315   -n, --no-create         do not create output files
   1316       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1317 
   1318 Installation directories:
   1319   --prefix=PREFIX         install architecture-independent files in PREFIX
   1320                           [$ac_default_prefix]
   1321   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1322                           [PREFIX]
   1323 
   1324 By default, \`make install' will install all the files in
   1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1327 for instance \`--prefix=\$HOME'.
   1328 
   1329 For better control, use the options below.
   1330 
   1331 Fine tuning of the installation directories:
   1332   --bindir=DIR            user executables [EPREFIX/bin]
   1333   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1334   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1335   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1336   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1337   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1338   --libdir=DIR            object code libraries [EPREFIX/lib]
   1339   --includedir=DIR        C header files [PREFIX/include]
   1340   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1341   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1342   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1343   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1344   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1345   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1346   --docdir=DIR            documentation root [DATAROOTDIR/doc/sessreg]
   1347   --htmldir=DIR           html documentation [DOCDIR]
   1348   --dvidir=DIR            dvi documentation [DOCDIR]
   1349   --pdfdir=DIR            pdf documentation [DOCDIR]
   1350   --psdir=DIR             ps documentation [DOCDIR]
   1351 _ACEOF
   1352 
   1353   cat <<\_ACEOF
   1354 
   1355 Program names:
   1356   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1357   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1358   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1359 
   1360 System types:
   1361   --build=BUILD     configure for building on BUILD [guessed]
   1362   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1363 _ACEOF
   1364 fi
   1365 
   1366 if test -n "$ac_init_help"; then
   1367   case $ac_init_help in
   1368      short | recursive ) echo "Configuration of sessreg 1.0.8:";;
   1369    esac
   1370   cat <<\_ACEOF
   1371 
   1372 Optional Features:
   1373   --disable-option-checking  ignore unrecognized --enable/--with options
   1374   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1375   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1376   --disable-largefile     omit support for large files
   1377   --disable-dependency-tracking  speeds up one-time build
   1378   --enable-dependency-tracking   do not reject slow dependency extractors
   1379   --enable-maintainer-mode  enable make rules and dependencies not useful
   1380 			  (and sometimes confusing) to the casual installer
   1381   --disable-selective-werror
   1382                           Turn off selective compiler errors. (default:
   1383                           enabled)
   1384   --enable-strict-compilation
   1385                           Enable all warnings from compiler and make them
   1386                           errors (default: disabled)
   1387   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1388   --disable-silent-rules         verbose build output (undo: `make V=0')
   1389 
   1390 Optional Packages:
   1391   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1392   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1393   --with-lint             Use a lint-style source code checker (default:
   1394                           disabled)
   1395 
   1396 Some influential environment variables:
   1397   CC          C compiler command
   1398   CFLAGS      C compiler flags
   1399   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1400               nonstandard directory <lib dir>
   1401   LIBS        libraries to pass to the linker, e.g. -l<library>
   1402   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1403               you have headers in a nonstandard directory <include dir>
   1404   CPP         C preprocessor
   1405   PKG_CONFIG  path to pkg-config utility
   1406   LINT        Path to a lint-style command
   1407   LINT_FLAGS  Flags for the lint-style command
   1408   SESSREG_CFLAGS
   1409               C compiler flags for SESSREG, overriding pkg-config
   1410   SESSREG_LIBS
   1411               linker flags for SESSREG, overriding pkg-config
   1412 
   1413 Use these variables to override the choices made by `configure' or to help
   1414 it to find libraries and programs with nonstandard names/locations.
   1415 
   1416 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1417 _ACEOF
   1418 ac_status=$?
   1419 fi
   1420 
   1421 if test "$ac_init_help" = "recursive"; then
   1422   # If there are subdirs, report their specific --help.
   1423   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1424     test -d "$ac_dir" ||
   1425       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1426       continue
   1427     ac_builddir=.
   1428 
   1429 case "$ac_dir" in
   1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1431 *)
   1432   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1433   # A ".." for each directory in $ac_dir_suffix.
   1434   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1435   case $ac_top_builddir_sub in
   1436   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1437   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1438   esac ;;
   1439 esac
   1440 ac_abs_top_builddir=$ac_pwd
   1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1442 # for backward compatibility:
   1443 ac_top_builddir=$ac_top_build_prefix
   1444 
   1445 case $srcdir in
   1446   .)  # We are building in place.
   1447     ac_srcdir=.
   1448     ac_top_srcdir=$ac_top_builddir_sub
   1449     ac_abs_top_srcdir=$ac_pwd ;;
   1450   [\\/]* | ?:[\\/]* )  # Absolute name.
   1451     ac_srcdir=$srcdir$ac_dir_suffix;
   1452     ac_top_srcdir=$srcdir
   1453     ac_abs_top_srcdir=$srcdir ;;
   1454   *) # Relative name.
   1455     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1456     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1457     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1458 esac
   1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1460 
   1461     cd "$ac_dir" || { ac_status=$?; continue; }
   1462     # Check for guested configure.
   1463     if test -f "$ac_srcdir/configure.gnu"; then
   1464       echo &&
   1465       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1466     elif test -f "$ac_srcdir/configure"; then
   1467       echo &&
   1468       $SHELL "$ac_srcdir/configure" --help=recursive
   1469     else
   1470       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1471     fi || ac_status=$?
   1472     cd "$ac_pwd" || { ac_status=$?; break; }
   1473   done
   1474 fi
   1475 
   1476 test -n "$ac_init_help" && exit $ac_status
   1477 if $ac_init_version; then
   1478   cat <<\_ACEOF
   1479 sessreg configure 1.0.8
   1480 generated by GNU Autoconf 2.68
   1481 
   1482 Copyright (C) 2010 Free Software Foundation, Inc.
   1483 This configure script is free software; the Free Software Foundation
   1484 gives unlimited permission to copy, distribute and modify it.
   1485 _ACEOF
   1486   exit
   1487 fi
   1488 
   1489 ## ------------------------ ##
   1490 ## Autoconf initialization. ##
   1491 ## ------------------------ ##
   1492 
   1493 # ac_fn_c_try_compile LINENO
   1494 # --------------------------
   1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1496 ac_fn_c_try_compile ()
   1497 {
   1498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1499   rm -f conftest.$ac_objext
   1500   if { { ac_try="$ac_compile"
   1501 case "(($ac_try" in
   1502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1503   *) ac_try_echo=$ac_try;;
   1504 esac
   1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1506 $as_echo "$ac_try_echo"; } >&5
   1507   (eval "$ac_compile") 2>conftest.err
   1508   ac_status=$?
   1509   if test -s conftest.err; then
   1510     grep -v '^ *+' conftest.err >conftest.er1
   1511     cat conftest.er1 >&5
   1512     mv -f conftest.er1 conftest.err
   1513   fi
   1514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1515   test $ac_status = 0; } && {
   1516 	 test -z "$ac_c_werror_flag" ||
   1517 	 test ! -s conftest.err
   1518        } && test -s conftest.$ac_objext; then :
   1519   ac_retval=0
   1520 else
   1521   $as_echo "$as_me: failed program was:" >&5
   1522 sed 's/^/| /' conftest.$ac_ext >&5
   1523 
   1524 	ac_retval=1
   1525 fi
   1526   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1527   as_fn_set_status $ac_retval
   1528 
   1529 } # ac_fn_c_try_compile
   1530 
   1531 # ac_fn_c_try_cpp LINENO
   1532 # ----------------------
   1533 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1534 ac_fn_c_try_cpp ()
   1535 {
   1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1537   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1538 case "(($ac_try" in
   1539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1540   *) ac_try_echo=$ac_try;;
   1541 esac
   1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1543 $as_echo "$ac_try_echo"; } >&5
   1544   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1545   ac_status=$?
   1546   if test -s conftest.err; then
   1547     grep -v '^ *+' conftest.err >conftest.er1
   1548     cat conftest.er1 >&5
   1549     mv -f conftest.er1 conftest.err
   1550   fi
   1551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1552   test $ac_status = 0; } > conftest.i && {
   1553 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1554 	 test ! -s conftest.err
   1555        }; then :
   1556   ac_retval=0
   1557 else
   1558   $as_echo "$as_me: failed program was:" >&5
   1559 sed 's/^/| /' conftest.$ac_ext >&5
   1560 
   1561     ac_retval=1
   1562 fi
   1563   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1564   as_fn_set_status $ac_retval
   1565 
   1566 } # ac_fn_c_try_cpp
   1567 
   1568 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1569 # -------------------------------------------------------
   1570 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1571 # the include files in INCLUDES and setting the cache variable VAR
   1572 # accordingly.
   1573 ac_fn_c_check_header_mongrel ()
   1574 {
   1575   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1576   if eval \${$3+:} false; then :
   1577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1578 $as_echo_n "checking for $2... " >&6; }
   1579 if eval \${$3+:} false; then :
   1580   $as_echo_n "(cached) " >&6
   1581 fi
   1582 eval ac_res=\$$3
   1583 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1584 $as_echo "$ac_res" >&6; }
   1585 else
   1586   # Is the header compilable?
   1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1588 $as_echo_n "checking $2 usability... " >&6; }
   1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1590 /* end confdefs.h.  */
   1591 $4
   1592 #include <$2>
   1593 _ACEOF
   1594 if ac_fn_c_try_compile "$LINENO"; then :
   1595   ac_header_compiler=yes
   1596 else
   1597   ac_header_compiler=no
   1598 fi
   1599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1601 $as_echo "$ac_header_compiler" >&6; }
   1602 
   1603 # Is the header present?
   1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1605 $as_echo_n "checking $2 presence... " >&6; }
   1606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1607 /* end confdefs.h.  */
   1608 #include <$2>
   1609 _ACEOF
   1610 if ac_fn_c_try_cpp "$LINENO"; then :
   1611   ac_header_preproc=yes
   1612 else
   1613   ac_header_preproc=no
   1614 fi
   1615 rm -f conftest.err conftest.i conftest.$ac_ext
   1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1617 $as_echo "$ac_header_preproc" >&6; }
   1618 
   1619 # So?  What about this header?
   1620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1621   yes:no: )
   1622     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1623 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1624     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1625 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1626     ;;
   1627   no:yes:* )
   1628     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1629 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1630     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1631 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1633 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1634     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1635 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1637 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1638 ( $as_echo "## ---------------------------------------------------------------------- ##
   1639 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1640 ## ---------------------------------------------------------------------- ##"
   1641      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1642     ;;
   1643 esac
   1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1645 $as_echo_n "checking for $2... " >&6; }
   1646 if eval \${$3+:} false; then :
   1647   $as_echo_n "(cached) " >&6
   1648 else
   1649   eval "$3=\$ac_header_compiler"
   1650 fi
   1651 eval ac_res=\$$3
   1652 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1653 $as_echo "$ac_res" >&6; }
   1654 fi
   1655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1656 
   1657 } # ac_fn_c_check_header_mongrel
   1658 
   1659 # ac_fn_c_try_run LINENO
   1660 # ----------------------
   1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1662 # that executables *can* be run.
   1663 ac_fn_c_try_run ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   if { { ac_try="$ac_link"
   1667 case "(($ac_try" in
   1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1669   *) ac_try_echo=$ac_try;;
   1670 esac
   1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1672 $as_echo "$ac_try_echo"; } >&5
   1673   (eval "$ac_link") 2>&5
   1674   ac_status=$?
   1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1676   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1677   { { case "(($ac_try" in
   1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1679   *) ac_try_echo=$ac_try;;
   1680 esac
   1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1682 $as_echo "$ac_try_echo"; } >&5
   1683   (eval "$ac_try") 2>&5
   1684   ac_status=$?
   1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; }; }; then :
   1687   ac_retval=0
   1688 else
   1689   $as_echo "$as_me: program exited with status $ac_status" >&5
   1690        $as_echo "$as_me: failed program was:" >&5
   1691 sed 's/^/| /' conftest.$ac_ext >&5
   1692 
   1693        ac_retval=$ac_status
   1694 fi
   1695   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1697   as_fn_set_status $ac_retval
   1698 
   1699 } # ac_fn_c_try_run
   1700 
   1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1702 # -------------------------------------------------------
   1703 # Tests whether HEADER exists and can be compiled using the include files in
   1704 # INCLUDES, setting the cache variable VAR accordingly.
   1705 ac_fn_c_check_header_compile ()
   1706 {
   1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1709 $as_echo_n "checking for $2... " >&6; }
   1710 if eval \${$3+:} false; then :
   1711   $as_echo_n "(cached) " >&6
   1712 else
   1713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1714 /* end confdefs.h.  */
   1715 $4
   1716 #include <$2>
   1717 _ACEOF
   1718 if ac_fn_c_try_compile "$LINENO"; then :
   1719   eval "$3=yes"
   1720 else
   1721   eval "$3=no"
   1722 fi
   1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1724 fi
   1725 eval ac_res=\$$3
   1726 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1727 $as_echo "$ac_res" >&6; }
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729 
   1730 } # ac_fn_c_check_header_compile
   1731 
   1732 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1733 # ---------------------------------------------
   1734 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1735 # accordingly.
   1736 ac_fn_c_check_decl ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1740   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1742 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1743 if eval \${$3+:} false; then :
   1744   $as_echo_n "(cached) " >&6
   1745 else
   1746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1747 /* end confdefs.h.  */
   1748 $4
   1749 int
   1750 main ()
   1751 {
   1752 #ifndef $as_decl_name
   1753 #ifdef __cplusplus
   1754   (void) $as_decl_use;
   1755 #else
   1756   (void) $as_decl_name;
   1757 #endif
   1758 #endif
   1759 
   1760   ;
   1761   return 0;
   1762 }
   1763 _ACEOF
   1764 if ac_fn_c_try_compile "$LINENO"; then :
   1765   eval "$3=yes"
   1766 else
   1767   eval "$3=no"
   1768 fi
   1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1770 fi
   1771 eval ac_res=\$$3
   1772 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1773 $as_echo "$ac_res" >&6; }
   1774   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1775 
   1776 } # ac_fn_c_check_decl
   1777 
   1778 # ac_fn_c_try_link LINENO
   1779 # -----------------------
   1780 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1781 ac_fn_c_try_link ()
   1782 {
   1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1784   rm -f conftest.$ac_objext conftest$ac_exeext
   1785   if { { ac_try="$ac_link"
   1786 case "(($ac_try" in
   1787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1788   *) ac_try_echo=$ac_try;;
   1789 esac
   1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1791 $as_echo "$ac_try_echo"; } >&5
   1792   (eval "$ac_link") 2>conftest.err
   1793   ac_status=$?
   1794   if test -s conftest.err; then
   1795     grep -v '^ *+' conftest.err >conftest.er1
   1796     cat conftest.er1 >&5
   1797     mv -f conftest.er1 conftest.err
   1798   fi
   1799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1800   test $ac_status = 0; } && {
   1801 	 test -z "$ac_c_werror_flag" ||
   1802 	 test ! -s conftest.err
   1803        } && test -s conftest$ac_exeext && {
   1804 	 test "$cross_compiling" = yes ||
   1805 	 $as_test_x conftest$ac_exeext
   1806        }; then :
   1807   ac_retval=0
   1808 else
   1809   $as_echo "$as_me: failed program was:" >&5
   1810 sed 's/^/| /' conftest.$ac_ext >&5
   1811 
   1812 	ac_retval=1
   1813 fi
   1814   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1815   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1816   # interfere with the next link command; also delete a directory that is
   1817   # left behind by Apple's compiler.  We do this before executing the actions.
   1818   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1820   as_fn_set_status $ac_retval
   1821 
   1822 } # ac_fn_c_try_link
   1823 
   1824 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1825 # ----------------------------------------------------
   1826 # Tries to find if the field MEMBER exists in type AGGR, after including
   1827 # INCLUDES, setting cache variable VAR accordingly.
   1828 ac_fn_c_check_member ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1832 $as_echo_n "checking for $2.$3... " >&6; }
   1833 if eval \${$4+:} false; then :
   1834   $as_echo_n "(cached) " >&6
   1835 else
   1836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1837 /* end confdefs.h.  */
   1838 $5
   1839 int
   1840 main ()
   1841 {
   1842 static $2 ac_aggr;
   1843 if (ac_aggr.$3)
   1844 return 0;
   1845   ;
   1846   return 0;
   1847 }
   1848 _ACEOF
   1849 if ac_fn_c_try_compile "$LINENO"; then :
   1850   eval "$4=yes"
   1851 else
   1852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 $5
   1855 int
   1856 main ()
   1857 {
   1858 static $2 ac_aggr;
   1859 if (sizeof ac_aggr.$3)
   1860 return 0;
   1861   ;
   1862   return 0;
   1863 }
   1864 _ACEOF
   1865 if ac_fn_c_try_compile "$LINENO"; then :
   1866   eval "$4=yes"
   1867 else
   1868   eval "$4=no"
   1869 fi
   1870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1871 fi
   1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1873 fi
   1874 eval ac_res=\$$4
   1875 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1876 $as_echo "$ac_res" >&6; }
   1877   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1878 
   1879 } # ac_fn_c_check_member
   1880 
   1881 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1882 # -------------------------------------------
   1883 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1884 # variable VAR accordingly.
   1885 ac_fn_c_check_type ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1889 $as_echo_n "checking for $2... " >&6; }
   1890 if eval \${$3+:} false; then :
   1891   $as_echo_n "(cached) " >&6
   1892 else
   1893   eval "$3=no"
   1894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1895 /* end confdefs.h.  */
   1896 $4
   1897 int
   1898 main ()
   1899 {
   1900 if (sizeof ($2))
   1901 	 return 0;
   1902   ;
   1903   return 0;
   1904 }
   1905 _ACEOF
   1906 if ac_fn_c_try_compile "$LINENO"; then :
   1907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1908 /* end confdefs.h.  */
   1909 $4
   1910 int
   1911 main ()
   1912 {
   1913 if (sizeof (($2)))
   1914 	    return 0;
   1915   ;
   1916   return 0;
   1917 }
   1918 _ACEOF
   1919 if ac_fn_c_try_compile "$LINENO"; then :
   1920 
   1921 else
   1922   eval "$3=yes"
   1923 fi
   1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1925 fi
   1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1927 fi
   1928 eval ac_res=\$$3
   1929 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1930 $as_echo "$ac_res" >&6; }
   1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1932 
   1933 } # ac_fn_c_check_type
   1934 
   1935 # ac_fn_c_check_func LINENO FUNC VAR
   1936 # ----------------------------------
   1937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1938 ac_fn_c_check_func ()
   1939 {
   1940   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1942 $as_echo_n "checking for $2... " >&6; }
   1943 if eval \${$3+:} false; then :
   1944   $as_echo_n "(cached) " >&6
   1945 else
   1946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1947 /* end confdefs.h.  */
   1948 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1950 #define $2 innocuous_$2
   1951 
   1952 /* System header to define __stub macros and hopefully few prototypes,
   1953     which can conflict with char $2 (); below.
   1954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1955     <limits.h> exists even on freestanding compilers.  */
   1956 
   1957 #ifdef __STDC__
   1958 # include <limits.h>
   1959 #else
   1960 # include <assert.h>
   1961 #endif
   1962 
   1963 #undef $2
   1964 
   1965 /* Override any GCC internal prototype to avoid an error.
   1966    Use char because int might match the return type of a GCC
   1967    builtin and then its argument prototype would still apply.  */
   1968 #ifdef __cplusplus
   1969 extern "C"
   1970 #endif
   1971 char $2 ();
   1972 /* The GNU C library defines this for functions which it implements
   1973     to always fail with ENOSYS.  Some functions are actually named
   1974     something starting with __ and the normal name is an alias.  */
   1975 #if defined __stub_$2 || defined __stub___$2
   1976 choke me
   1977 #endif
   1978 
   1979 int
   1980 main ()
   1981 {
   1982 return $2 ();
   1983   ;
   1984   return 0;
   1985 }
   1986 _ACEOF
   1987 if ac_fn_c_try_link "$LINENO"; then :
   1988   eval "$3=yes"
   1989 else
   1990   eval "$3=no"
   1991 fi
   1992 rm -f core conftest.err conftest.$ac_objext \
   1993     conftest$ac_exeext conftest.$ac_ext
   1994 fi
   1995 eval ac_res=\$$3
   1996 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1997 $as_echo "$ac_res" >&6; }
   1998   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1999 
   2000 } # ac_fn_c_check_func
   2001 cat >config.log <<_ACEOF
   2002 This file contains any messages produced by compilers while
   2003 running configure, to aid debugging if configure makes a mistake.
   2004 
   2005 It was created by sessreg $as_me 1.0.8, which was
   2006 generated by GNU Autoconf 2.68.  Invocation command line was
   2007 
   2008   $ $0 $@
   2009 
   2010 _ACEOF
   2011 exec 5>>config.log
   2012 {
   2013 cat <<_ASUNAME
   2014 ## --------- ##
   2015 ## Platform. ##
   2016 ## --------- ##
   2017 
   2018 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2019 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2020 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2021 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2022 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2023 
   2024 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2025 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2026 
   2027 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2028 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2029 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2030 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2031 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2032 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2033 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2034 
   2035 _ASUNAME
   2036 
   2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2038 for as_dir in $PATH
   2039 do
   2040   IFS=$as_save_IFS
   2041   test -z "$as_dir" && as_dir=.
   2042     $as_echo "PATH: $as_dir"
   2043   done
   2044 IFS=$as_save_IFS
   2045 
   2046 } >&5
   2047 
   2048 cat >&5 <<_ACEOF
   2049 
   2050 
   2051 ## ----------- ##
   2052 ## Core tests. ##
   2053 ## ----------- ##
   2054 
   2055 _ACEOF
   2056 
   2057 
   2058 # Keep a trace of the command line.
   2059 # Strip out --no-create and --no-recursion so they do not pile up.
   2060 # Strip out --silent because we don't want to record it for future runs.
   2061 # Also quote any args containing shell meta-characters.
   2062 # Make two passes to allow for proper duplicate-argument suppression.
   2063 ac_configure_args=
   2064 ac_configure_args0=
   2065 ac_configure_args1=
   2066 ac_must_keep_next=false
   2067 for ac_pass in 1 2
   2068 do
   2069   for ac_arg
   2070   do
   2071     case $ac_arg in
   2072     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2073     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2074     | -silent | --silent | --silen | --sile | --sil)
   2075       continue ;;
   2076     *\'*)
   2077       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2078     esac
   2079     case $ac_pass in
   2080     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2081     2)
   2082       as_fn_append ac_configure_args1 " '$ac_arg'"
   2083       if test $ac_must_keep_next = true; then
   2084 	ac_must_keep_next=false # Got value, back to normal.
   2085       else
   2086 	case $ac_arg in
   2087 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2088 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2089 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2090 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2091 	    case "$ac_configure_args0 " in
   2092 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2093 	    esac
   2094 	    ;;
   2095 	  -* ) ac_must_keep_next=true ;;
   2096 	esac
   2097       fi
   2098       as_fn_append ac_configure_args " '$ac_arg'"
   2099       ;;
   2100     esac
   2101   done
   2102 done
   2103 { ac_configure_args0=; unset ac_configure_args0;}
   2104 { ac_configure_args1=; unset ac_configure_args1;}
   2105 
   2106 # When interrupted or exit'd, cleanup temporary files, and complete
   2107 # config.log.  We remove comments because anyway the quotes in there
   2108 # would cause problems or look ugly.
   2109 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2110 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2111 trap 'exit_status=$?
   2112   # Save into config.log some information that might help in debugging.
   2113   {
   2114     echo
   2115 
   2116     $as_echo "## ---------------- ##
   2117 ## Cache variables. ##
   2118 ## ---------------- ##"
   2119     echo
   2120     # The following way of writing the cache mishandles newlines in values,
   2121 (
   2122   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2123     eval ac_val=\$$ac_var
   2124     case $ac_val in #(
   2125     *${as_nl}*)
   2126       case $ac_var in #(
   2127       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2128 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2129       esac
   2130       case $ac_var in #(
   2131       _ | IFS | as_nl) ;; #(
   2132       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2133       *) { eval $ac_var=; unset $ac_var;} ;;
   2134       esac ;;
   2135     esac
   2136   done
   2137   (set) 2>&1 |
   2138     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2139     *${as_nl}ac_space=\ *)
   2140       sed -n \
   2141 	"s/'\''/'\''\\\\'\'''\''/g;
   2142 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2143       ;; #(
   2144     *)
   2145       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2146       ;;
   2147     esac |
   2148     sort
   2149 )
   2150     echo
   2151 
   2152     $as_echo "## ----------------- ##
   2153 ## Output variables. ##
   2154 ## ----------------- ##"
   2155     echo
   2156     for ac_var in $ac_subst_vars
   2157     do
   2158       eval ac_val=\$$ac_var
   2159       case $ac_val in
   2160       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2161       esac
   2162       $as_echo "$ac_var='\''$ac_val'\''"
   2163     done | sort
   2164     echo
   2165 
   2166     if test -n "$ac_subst_files"; then
   2167       $as_echo "## ------------------- ##
   2168 ## File substitutions. ##
   2169 ## ------------------- ##"
   2170       echo
   2171       for ac_var in $ac_subst_files
   2172       do
   2173 	eval ac_val=\$$ac_var
   2174 	case $ac_val in
   2175 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2176 	esac
   2177 	$as_echo "$ac_var='\''$ac_val'\''"
   2178       done | sort
   2179       echo
   2180     fi
   2181 
   2182     if test -s confdefs.h; then
   2183       $as_echo "## ----------- ##
   2184 ## confdefs.h. ##
   2185 ## ----------- ##"
   2186       echo
   2187       cat confdefs.h
   2188       echo
   2189     fi
   2190     test "$ac_signal" != 0 &&
   2191       $as_echo "$as_me: caught signal $ac_signal"
   2192     $as_echo "$as_me: exit $exit_status"
   2193   } >&5
   2194   rm -f core *.core core.conftest.* &&
   2195     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2196     exit $exit_status
   2197 ' 0
   2198 for ac_signal in 1 2 13 15; do
   2199   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2200 done
   2201 ac_signal=0
   2202 
   2203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2204 rm -f -r conftest* confdefs.h
   2205 
   2206 $as_echo "/* confdefs.h */" > confdefs.h
   2207 
   2208 # Predefined preprocessor variables.
   2209 
   2210 cat >>confdefs.h <<_ACEOF
   2211 #define PACKAGE_NAME "$PACKAGE_NAME"
   2212 _ACEOF
   2213 
   2214 cat >>confdefs.h <<_ACEOF
   2215 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2216 _ACEOF
   2217 
   2218 cat >>confdefs.h <<_ACEOF
   2219 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2220 _ACEOF
   2221 
   2222 cat >>confdefs.h <<_ACEOF
   2223 #define PACKAGE_STRING "$PACKAGE_STRING"
   2224 _ACEOF
   2225 
   2226 cat >>confdefs.h <<_ACEOF
   2227 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2228 _ACEOF
   2229 
   2230 cat >>confdefs.h <<_ACEOF
   2231 #define PACKAGE_URL "$PACKAGE_URL"
   2232 _ACEOF
   2233 
   2234 
   2235 # Let the site file select an alternate cache file if it wants to.
   2236 # Prefer an explicitly selected file to automatically selected ones.
   2237 ac_site_file1=NONE
   2238 ac_site_file2=NONE
   2239 if test -n "$CONFIG_SITE"; then
   2240   # We do not want a PATH search for config.site.
   2241   case $CONFIG_SITE in #((
   2242     -*)  ac_site_file1=./$CONFIG_SITE;;
   2243     */*) ac_site_file1=$CONFIG_SITE;;
   2244     *)   ac_site_file1=./$CONFIG_SITE;;
   2245   esac
   2246 elif test "x$prefix" != xNONE; then
   2247   ac_site_file1=$prefix/share/config.site
   2248   ac_site_file2=$prefix/etc/config.site
   2249 else
   2250   ac_site_file1=$ac_default_prefix/share/config.site
   2251   ac_site_file2=$ac_default_prefix/etc/config.site
   2252 fi
   2253 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2254 do
   2255   test "x$ac_site_file" = xNONE && continue
   2256   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2257     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2258 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2259     sed 's/^/| /' "$ac_site_file" >&5
   2260     . "$ac_site_file" \
   2261       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2263 as_fn_error $? "failed to load site script $ac_site_file
   2264 See \`config.log' for more details" "$LINENO" 5; }
   2265   fi
   2266 done
   2267 
   2268 if test -r "$cache_file"; then
   2269   # Some versions of bash will fail to source /dev/null (special files
   2270   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2271   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2272     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2273 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2274     case $cache_file in
   2275       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2276       *)                      . "./$cache_file";;
   2277     esac
   2278   fi
   2279 else
   2280   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2281 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2282   >$cache_file
   2283 fi
   2284 
   2285 # Check that the precious variables saved in the cache have kept the same
   2286 # value.
   2287 ac_cache_corrupted=false
   2288 for ac_var in $ac_precious_vars; do
   2289   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2290   eval ac_new_set=\$ac_env_${ac_var}_set
   2291   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2292   eval ac_new_val=\$ac_env_${ac_var}_value
   2293   case $ac_old_set,$ac_new_set in
   2294     set,)
   2295       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2296 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2297       ac_cache_corrupted=: ;;
   2298     ,set)
   2299       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2300 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2301       ac_cache_corrupted=: ;;
   2302     ,);;
   2303     *)
   2304       if test "x$ac_old_val" != "x$ac_new_val"; then
   2305 	# differences in whitespace do not lead to failure.
   2306 	ac_old_val_w=`echo x $ac_old_val`
   2307 	ac_new_val_w=`echo x $ac_new_val`
   2308 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2309 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2310 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2311 	  ac_cache_corrupted=:
   2312 	else
   2313 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2314 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2315 	  eval $ac_var=\$ac_old_val
   2316 	fi
   2317 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2318 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2319 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2320 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2321       fi;;
   2322   esac
   2323   # Pass precious variables to config.status.
   2324   if test "$ac_new_set" = set; then
   2325     case $ac_new_val in
   2326     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2327     *) ac_arg=$ac_var=$ac_new_val ;;
   2328     esac
   2329     case " $ac_configure_args " in
   2330       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2331       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2332     esac
   2333   fi
   2334 done
   2335 if $ac_cache_corrupted; then
   2336   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2338   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2339 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2340   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2341 fi
   2342 ## -------------------- ##
   2343 ## Main body of script. ##
   2344 ## -------------------- ##
   2345 
   2346 ac_ext=c
   2347 ac_cpp='$CPP $CPPFLAGS'
   2348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2351 
   2352 
   2353 
   2354 ac_config_headers="$ac_config_headers config.h"
   2355 
   2356 ac_ext=c
   2357 ac_cpp='$CPP $CPPFLAGS'
   2358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2361 if test -n "$ac_tool_prefix"; then
   2362   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2363 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2365 $as_echo_n "checking for $ac_word... " >&6; }
   2366 if ${ac_cv_prog_CC+:} false; then :
   2367   $as_echo_n "(cached) " >&6
   2368 else
   2369   if test -n "$CC"; then
   2370   ac_cv_prog_CC="$CC" # Let the user override the test.
   2371 else
   2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2373 for as_dir in $PATH
   2374 do
   2375   IFS=$as_save_IFS
   2376   test -z "$as_dir" && as_dir=.
   2377     for ac_exec_ext in '' $ac_executable_extensions; do
   2378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2379     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2381     break 2
   2382   fi
   2383 done
   2384   done
   2385 IFS=$as_save_IFS
   2386 
   2387 fi
   2388 fi
   2389 CC=$ac_cv_prog_CC
   2390 if test -n "$CC"; then
   2391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2392 $as_echo "$CC" >&6; }
   2393 else
   2394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2395 $as_echo "no" >&6; }
   2396 fi
   2397 
   2398 
   2399 fi
   2400 if test -z "$ac_cv_prog_CC"; then
   2401   ac_ct_CC=$CC
   2402   # Extract the first word of "gcc", so it can be a program name with args.
   2403 set dummy gcc; ac_word=$2
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2405 $as_echo_n "checking for $ac_word... " >&6; }
   2406 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2407   $as_echo_n "(cached) " >&6
   2408 else
   2409   if test -n "$ac_ct_CC"; then
   2410   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2411 else
   2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2413 for as_dir in $PATH
   2414 do
   2415   IFS=$as_save_IFS
   2416   test -z "$as_dir" && as_dir=.
   2417     for ac_exec_ext in '' $ac_executable_extensions; do
   2418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2419     ac_cv_prog_ac_ct_CC="gcc"
   2420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2421     break 2
   2422   fi
   2423 done
   2424   done
   2425 IFS=$as_save_IFS
   2426 
   2427 fi
   2428 fi
   2429 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2430 if test -n "$ac_ct_CC"; then
   2431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2432 $as_echo "$ac_ct_CC" >&6; }
   2433 else
   2434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2435 $as_echo "no" >&6; }
   2436 fi
   2437 
   2438   if test "x$ac_ct_CC" = x; then
   2439     CC=""
   2440   else
   2441     case $cross_compiling:$ac_tool_warned in
   2442 yes:)
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2445 ac_tool_warned=yes ;;
   2446 esac
   2447     CC=$ac_ct_CC
   2448   fi
   2449 else
   2450   CC="$ac_cv_prog_CC"
   2451 fi
   2452 
   2453 if test -z "$CC"; then
   2454           if test -n "$ac_tool_prefix"; then
   2455     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2456 set dummy ${ac_tool_prefix}cc; 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_CC+:} false; then :
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   if test -n "$CC"; then
   2463   ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}cc"
   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 CC=$ac_cv_prog_CC
   2483 if test -n "$CC"; then
   2484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2485 $as_echo "$CC" >&6; }
   2486 else
   2487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2488 $as_echo "no" >&6; }
   2489 fi
   2490 
   2491 
   2492   fi
   2493 fi
   2494 if test -z "$CC"; then
   2495   # Extract the first word of "cc", so it can be a program name with args.
   2496 set dummy cc; ac_word=$2
   2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2498 $as_echo_n "checking for $ac_word... " >&6; }
   2499 if ${ac_cv_prog_CC+:} false; then :
   2500   $as_echo_n "(cached) " >&6
   2501 else
   2502   if test -n "$CC"; then
   2503   ac_cv_prog_CC="$CC" # Let the user override the test.
   2504 else
   2505   ac_prog_rejected=no
   2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2507 for as_dir in $PATH
   2508 do
   2509   IFS=$as_save_IFS
   2510   test -z "$as_dir" && as_dir=.
   2511     for ac_exec_ext in '' $ac_executable_extensions; do
   2512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2513     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2514        ac_prog_rejected=yes
   2515        continue
   2516      fi
   2517     ac_cv_prog_CC="cc"
   2518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2519     break 2
   2520   fi
   2521 done
   2522   done
   2523 IFS=$as_save_IFS
   2524 
   2525 if test $ac_prog_rejected = yes; then
   2526   # We found a bogon in the path, so make sure we never use it.
   2527   set dummy $ac_cv_prog_CC
   2528   shift
   2529   if test $# != 0; then
   2530     # We chose a different compiler from the bogus one.
   2531     # However, it has the same basename, so the bogon will be chosen
   2532     # first if we set CC to just the basename; use the full file name.
   2533     shift
   2534     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2535   fi
   2536 fi
   2537 fi
   2538 fi
   2539 CC=$ac_cv_prog_CC
   2540 if test -n "$CC"; then
   2541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2542 $as_echo "$CC" >&6; }
   2543 else
   2544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2545 $as_echo "no" >&6; }
   2546 fi
   2547 
   2548 
   2549 fi
   2550 if test -z "$CC"; then
   2551   if test -n "$ac_tool_prefix"; then
   2552   for ac_prog in cl.exe
   2553   do
   2554     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2557 $as_echo_n "checking for $ac_word... " >&6; }
   2558 if ${ac_cv_prog_CC+:} false; then :
   2559   $as_echo_n "(cached) " >&6
   2560 else
   2561   if test -n "$CC"; then
   2562   ac_cv_prog_CC="$CC" # Let the user override the test.
   2563 else
   2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2565 for as_dir in $PATH
   2566 do
   2567   IFS=$as_save_IFS
   2568   test -z "$as_dir" && as_dir=.
   2569     for ac_exec_ext in '' $ac_executable_extensions; do
   2570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2571     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2573     break 2
   2574   fi
   2575 done
   2576   done
   2577 IFS=$as_save_IFS
   2578 
   2579 fi
   2580 fi
   2581 CC=$ac_cv_prog_CC
   2582 if test -n "$CC"; then
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2584 $as_echo "$CC" >&6; }
   2585 else
   2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2587 $as_echo "no" >&6; }
   2588 fi
   2589 
   2590 
   2591     test -n "$CC" && break
   2592   done
   2593 fi
   2594 if test -z "$CC"; then
   2595   ac_ct_CC=$CC
   2596   for ac_prog in cl.exe
   2597 do
   2598   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2599 set dummy $ac_prog; ac_word=$2
   2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2601 $as_echo_n "checking for $ac_word... " >&6; }
   2602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2603   $as_echo_n "(cached) " >&6
   2604 else
   2605   if test -n "$ac_ct_CC"; then
   2606   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2607 else
   2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2609 for as_dir in $PATH
   2610 do
   2611   IFS=$as_save_IFS
   2612   test -z "$as_dir" && as_dir=.
   2613     for ac_exec_ext in '' $ac_executable_extensions; do
   2614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2615     ac_cv_prog_ac_ct_CC="$ac_prog"
   2616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2617     break 2
   2618   fi
   2619 done
   2620   done
   2621 IFS=$as_save_IFS
   2622 
   2623 fi
   2624 fi
   2625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2626 if test -n "$ac_ct_CC"; then
   2627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2628 $as_echo "$ac_ct_CC" >&6; }
   2629 else
   2630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2631 $as_echo "no" >&6; }
   2632 fi
   2633 
   2634 
   2635   test -n "$ac_ct_CC" && break
   2636 done
   2637 
   2638   if test "x$ac_ct_CC" = x; then
   2639     CC=""
   2640   else
   2641     case $cross_compiling:$ac_tool_warned in
   2642 yes:)
   2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2645 ac_tool_warned=yes ;;
   2646 esac
   2647     CC=$ac_ct_CC
   2648   fi
   2649 fi
   2650 
   2651 fi
   2652 
   2653 
   2654 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2656 as_fn_error $? "no acceptable C compiler found in \$PATH
   2657 See \`config.log' for more details" "$LINENO" 5; }
   2658 
   2659 # Provide some information about the compiler.
   2660 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2661 set X $ac_compile
   2662 ac_compiler=$2
   2663 for ac_option in --version -v -V -qversion; do
   2664   { { ac_try="$ac_compiler $ac_option >&5"
   2665 case "(($ac_try" in
   2666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2667   *) ac_try_echo=$ac_try;;
   2668 esac
   2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2670 $as_echo "$ac_try_echo"; } >&5
   2671   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2672   ac_status=$?
   2673   if test -s conftest.err; then
   2674     sed '10a\
   2675 ... rest of stderr output deleted ...
   2676          10q' conftest.err >conftest.er1
   2677     cat conftest.er1 >&5
   2678   fi
   2679   rm -f conftest.er1 conftest.err
   2680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2681   test $ac_status = 0; }
   2682 done
   2683 
   2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2685 /* end confdefs.h.  */
   2686 
   2687 int
   2688 main ()
   2689 {
   2690 
   2691   ;
   2692   return 0;
   2693 }
   2694 _ACEOF
   2695 ac_clean_files_save=$ac_clean_files
   2696 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2697 # Try to create an executable without -o first, disregard a.out.
   2698 # It will help us diagnose broken compilers, and finding out an intuition
   2699 # of exeext.
   2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2701 $as_echo_n "checking whether the C compiler works... " >&6; }
   2702 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2703 
   2704 # The possible output files:
   2705 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2706 
   2707 ac_rmfiles=
   2708 for ac_file in $ac_files
   2709 do
   2710   case $ac_file in
   2711     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2712     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2713   esac
   2714 done
   2715 rm -f $ac_rmfiles
   2716 
   2717 if { { ac_try="$ac_link_default"
   2718 case "(($ac_try" in
   2719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2720   *) ac_try_echo=$ac_try;;
   2721 esac
   2722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2723 $as_echo "$ac_try_echo"; } >&5
   2724   (eval "$ac_link_default") 2>&5
   2725   ac_status=$?
   2726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2727   test $ac_status = 0; }; then :
   2728   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2729 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2730 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2731 # so that the user can short-circuit this test for compilers unknown to
   2732 # Autoconf.
   2733 for ac_file in $ac_files ''
   2734 do
   2735   test -f "$ac_file" || continue
   2736   case $ac_file in
   2737     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2738 	;;
   2739     [ab].out )
   2740 	# We found the default executable, but exeext='' is most
   2741 	# certainly right.
   2742 	break;;
   2743     *.* )
   2744 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2745 	then :; else
   2746 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2747 	fi
   2748 	# We set ac_cv_exeext here because the later test for it is not
   2749 	# safe: cross compilers may not add the suffix if given an `-o'
   2750 	# argument, so we may need to know it at that point already.
   2751 	# Even if this section looks crufty: it has the advantage of
   2752 	# actually working.
   2753 	break;;
   2754     * )
   2755 	break;;
   2756   esac
   2757 done
   2758 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2759 
   2760 else
   2761   ac_file=''
   2762 fi
   2763 if test -z "$ac_file"; then :
   2764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2765 $as_echo "no" >&6; }
   2766 $as_echo "$as_me: failed program was:" >&5
   2767 sed 's/^/| /' conftest.$ac_ext >&5
   2768 
   2769 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2770 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2771 as_fn_error 77 "C compiler cannot create executables
   2772 See \`config.log' for more details" "$LINENO" 5; }
   2773 else
   2774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2775 $as_echo "yes" >&6; }
   2776 fi
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2778 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2780 $as_echo "$ac_file" >&6; }
   2781 ac_exeext=$ac_cv_exeext
   2782 
   2783 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2784 ac_clean_files=$ac_clean_files_save
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2786 $as_echo_n "checking for suffix of executables... " >&6; }
   2787 if { { ac_try="$ac_link"
   2788 case "(($ac_try" in
   2789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2790   *) ac_try_echo=$ac_try;;
   2791 esac
   2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2793 $as_echo "$ac_try_echo"; } >&5
   2794   (eval "$ac_link") 2>&5
   2795   ac_status=$?
   2796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2797   test $ac_status = 0; }; then :
   2798   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2799 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2800 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2801 # `rm'.
   2802 for ac_file in conftest.exe conftest conftest.*; do
   2803   test -f "$ac_file" || continue
   2804   case $ac_file in
   2805     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2806     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2807 	  break;;
   2808     * ) break;;
   2809   esac
   2810 done
   2811 else
   2812   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2814 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2815 See \`config.log' for more details" "$LINENO" 5; }
   2816 fi
   2817 rm -f conftest conftest$ac_cv_exeext
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2819 $as_echo "$ac_cv_exeext" >&6; }
   2820 
   2821 rm -f conftest.$ac_ext
   2822 EXEEXT=$ac_cv_exeext
   2823 ac_exeext=$EXEEXT
   2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2825 /* end confdefs.h.  */
   2826 #include <stdio.h>
   2827 int
   2828 main ()
   2829 {
   2830 FILE *f = fopen ("conftest.out", "w");
   2831  return ferror (f) || fclose (f) != 0;
   2832 
   2833   ;
   2834   return 0;
   2835 }
   2836 _ACEOF
   2837 ac_clean_files="$ac_clean_files conftest.out"
   2838 # Check that the compiler produces executables we can run.  If not, either
   2839 # the compiler is broken, or we cross compile.
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2841 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2842 if test "$cross_compiling" != yes; then
   2843   { { ac_try="$ac_link"
   2844 case "(($ac_try" in
   2845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2846   *) ac_try_echo=$ac_try;;
   2847 esac
   2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2849 $as_echo "$ac_try_echo"; } >&5
   2850   (eval "$ac_link") 2>&5
   2851   ac_status=$?
   2852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2853   test $ac_status = 0; }
   2854   if { ac_try='./conftest$ac_cv_exeext'
   2855   { { case "(($ac_try" in
   2856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2857   *) ac_try_echo=$ac_try;;
   2858 esac
   2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2860 $as_echo "$ac_try_echo"; } >&5
   2861   (eval "$ac_try") 2>&5
   2862   ac_status=$?
   2863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2864   test $ac_status = 0; }; }; then
   2865     cross_compiling=no
   2866   else
   2867     if test "$cross_compiling" = maybe; then
   2868 	cross_compiling=yes
   2869     else
   2870 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2872 as_fn_error $? "cannot run C compiled programs.
   2873 If you meant to cross compile, use \`--host'.
   2874 See \`config.log' for more details" "$LINENO" 5; }
   2875     fi
   2876   fi
   2877 fi
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2879 $as_echo "$cross_compiling" >&6; }
   2880 
   2881 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2882 ac_clean_files=$ac_clean_files_save
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2884 $as_echo_n "checking for suffix of object files... " >&6; }
   2885 if ${ac_cv_objext+:} false; then :
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2889 /* end confdefs.h.  */
   2890 
   2891 int
   2892 main ()
   2893 {
   2894 
   2895   ;
   2896   return 0;
   2897 }
   2898 _ACEOF
   2899 rm -f conftest.o conftest.obj
   2900 if { { ac_try="$ac_compile"
   2901 case "(($ac_try" in
   2902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2903   *) ac_try_echo=$ac_try;;
   2904 esac
   2905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2906 $as_echo "$ac_try_echo"; } >&5
   2907   (eval "$ac_compile") 2>&5
   2908   ac_status=$?
   2909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2910   test $ac_status = 0; }; then :
   2911   for ac_file in conftest.o conftest.obj conftest.*; do
   2912   test -f "$ac_file" || continue;
   2913   case $ac_file in
   2914     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2915     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2916        break;;
   2917   esac
   2918 done
   2919 else
   2920   $as_echo "$as_me: failed program was:" >&5
   2921 sed 's/^/| /' conftest.$ac_ext >&5
   2922 
   2923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2925 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2926 See \`config.log' for more details" "$LINENO" 5; }
   2927 fi
   2928 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2929 fi
   2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2931 $as_echo "$ac_cv_objext" >&6; }
   2932 OBJEXT=$ac_cv_objext
   2933 ac_objext=$OBJEXT
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2935 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2936 if ${ac_cv_c_compiler_gnu+:} false; then :
   2937   $as_echo_n "(cached) " >&6
   2938 else
   2939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2940 /* end confdefs.h.  */
   2941 
   2942 int
   2943 main ()
   2944 {
   2945 #ifndef __GNUC__
   2946        choke me
   2947 #endif
   2948 
   2949   ;
   2950   return 0;
   2951 }
   2952 _ACEOF
   2953 if ac_fn_c_try_compile "$LINENO"; then :
   2954   ac_compiler_gnu=yes
   2955 else
   2956   ac_compiler_gnu=no
   2957 fi
   2958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2959 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2960 
   2961 fi
   2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2963 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2964 if test $ac_compiler_gnu = yes; then
   2965   GCC=yes
   2966 else
   2967   GCC=
   2968 fi
   2969 ac_test_CFLAGS=${CFLAGS+set}
   2970 ac_save_CFLAGS=$CFLAGS
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2972 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2973 if ${ac_cv_prog_cc_g+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   ac_save_c_werror_flag=$ac_c_werror_flag
   2977    ac_c_werror_flag=yes
   2978    ac_cv_prog_cc_g=no
   2979    CFLAGS="-g"
   2980    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2981 /* end confdefs.h.  */
   2982 
   2983 int
   2984 main ()
   2985 {
   2986 
   2987   ;
   2988   return 0;
   2989 }
   2990 _ACEOF
   2991 if ac_fn_c_try_compile "$LINENO"; then :
   2992   ac_cv_prog_cc_g=yes
   2993 else
   2994   CFLAGS=""
   2995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2996 /* end confdefs.h.  */
   2997 
   2998 int
   2999 main ()
   3000 {
   3001 
   3002   ;
   3003   return 0;
   3004 }
   3005 _ACEOF
   3006 if ac_fn_c_try_compile "$LINENO"; then :
   3007 
   3008 else
   3009   ac_c_werror_flag=$ac_save_c_werror_flag
   3010 	 CFLAGS="-g"
   3011 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3012 /* end confdefs.h.  */
   3013 
   3014 int
   3015 main ()
   3016 {
   3017 
   3018   ;
   3019   return 0;
   3020 }
   3021 _ACEOF
   3022 if ac_fn_c_try_compile "$LINENO"; then :
   3023   ac_cv_prog_cc_g=yes
   3024 fi
   3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3026 fi
   3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3028 fi
   3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3030    ac_c_werror_flag=$ac_save_c_werror_flag
   3031 fi
   3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3033 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3034 if test "$ac_test_CFLAGS" = set; then
   3035   CFLAGS=$ac_save_CFLAGS
   3036 elif test $ac_cv_prog_cc_g = yes; then
   3037   if test "$GCC" = yes; then
   3038     CFLAGS="-g -O2"
   3039   else
   3040     CFLAGS="-g"
   3041   fi
   3042 else
   3043   if test "$GCC" = yes; then
   3044     CFLAGS="-O2"
   3045   else
   3046     CFLAGS=
   3047   fi
   3048 fi
   3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3050 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3051 if ${ac_cv_prog_cc_c89+:} false; then :
   3052   $as_echo_n "(cached) " >&6
   3053 else
   3054   ac_cv_prog_cc_c89=no
   3055 ac_save_CC=$CC
   3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3057 /* end confdefs.h.  */
   3058 #include <stdarg.h>
   3059 #include <stdio.h>
   3060 #include <sys/types.h>
   3061 #include <sys/stat.h>
   3062 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3063 struct buf { int x; };
   3064 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3065 static char *e (p, i)
   3066      char **p;
   3067      int i;
   3068 {
   3069   return p[i];
   3070 }
   3071 static char *f (char * (*g) (char **, int), char **p, ...)
   3072 {
   3073   char *s;
   3074   va_list v;
   3075   va_start (v,p);
   3076   s = g (p, va_arg (v,int));
   3077   va_end (v);
   3078   return s;
   3079 }
   3080 
   3081 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3082    function prototypes and stuff, but not '\xHH' hex character constants.
   3083    These don't provoke an error unfortunately, instead are silently treated
   3084    as 'x'.  The following induces an error, until -std is added to get
   3085    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3086    array size at least.  It's necessary to write '\x00'==0 to get something
   3087    that's true only with -std.  */
   3088 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3089 
   3090 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3091    inside strings and character constants.  */
   3092 #define FOO(x) 'x'
   3093 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3094 
   3095 int test (int i, double x);
   3096 struct s1 {int (*f) (int a);};
   3097 struct s2 {int (*f) (double a);};
   3098 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3099 int argc;
   3100 char **argv;
   3101 int
   3102 main ()
   3103 {
   3104 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3105   ;
   3106   return 0;
   3107 }
   3108 _ACEOF
   3109 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3110 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3111 do
   3112   CC="$ac_save_CC $ac_arg"
   3113   if ac_fn_c_try_compile "$LINENO"; then :
   3114   ac_cv_prog_cc_c89=$ac_arg
   3115 fi
   3116 rm -f core conftest.err conftest.$ac_objext
   3117   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3118 done
   3119 rm -f conftest.$ac_ext
   3120 CC=$ac_save_CC
   3121 
   3122 fi
   3123 # AC_CACHE_VAL
   3124 case "x$ac_cv_prog_cc_c89" in
   3125   x)
   3126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3127 $as_echo "none needed" >&6; } ;;
   3128   xno)
   3129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3130 $as_echo "unsupported" >&6; } ;;
   3131   *)
   3132     CC="$CC $ac_cv_prog_cc_c89"
   3133     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3134 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3135 esac
   3136 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3137 
   3138 fi
   3139 
   3140 ac_ext=c
   3141 ac_cpp='$CPP $CPPFLAGS'
   3142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3145 
   3146 
   3147 ac_ext=c
   3148 ac_cpp='$CPP $CPPFLAGS'
   3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3153 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3154 # On Suns, sometimes $CPP names a directory.
   3155 if test -n "$CPP" && test -d "$CPP"; then
   3156   CPP=
   3157 fi
   3158 if test -z "$CPP"; then
   3159   if ${ac_cv_prog_CPP+:} false; then :
   3160   $as_echo_n "(cached) " >&6
   3161 else
   3162       # Double quotes because CPP needs to be expanded
   3163     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3164     do
   3165       ac_preproc_ok=false
   3166 for ac_c_preproc_warn_flag in '' yes
   3167 do
   3168   # Use a header file that comes with gcc, so configuring glibc
   3169   # with a fresh cross-compiler works.
   3170   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3171   # <limits.h> exists even on freestanding compilers.
   3172   # On the NeXT, cc -E runs the code through the compiler's parser,
   3173   # not just through cpp. "Syntax error" is here to catch this case.
   3174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3175 /* end confdefs.h.  */
   3176 #ifdef __STDC__
   3177 # include <limits.h>
   3178 #else
   3179 # include <assert.h>
   3180 #endif
   3181 		     Syntax error
   3182 _ACEOF
   3183 if ac_fn_c_try_cpp "$LINENO"; then :
   3184 
   3185 else
   3186   # Broken: fails on valid input.
   3187 continue
   3188 fi
   3189 rm -f conftest.err conftest.i conftest.$ac_ext
   3190 
   3191   # OK, works on sane cases.  Now check whether nonexistent headers
   3192   # can be detected and how.
   3193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3194 /* end confdefs.h.  */
   3195 #include <ac_nonexistent.h>
   3196 _ACEOF
   3197 if ac_fn_c_try_cpp "$LINENO"; then :
   3198   # Broken: success on invalid input.
   3199 continue
   3200 else
   3201   # Passes both tests.
   3202 ac_preproc_ok=:
   3203 break
   3204 fi
   3205 rm -f conftest.err conftest.i conftest.$ac_ext
   3206 
   3207 done
   3208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3209 rm -f conftest.i conftest.err conftest.$ac_ext
   3210 if $ac_preproc_ok; then :
   3211   break
   3212 fi
   3213 
   3214     done
   3215     ac_cv_prog_CPP=$CPP
   3216 
   3217 fi
   3218   CPP=$ac_cv_prog_CPP
   3219 else
   3220   ac_cv_prog_CPP=$CPP
   3221 fi
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3223 $as_echo "$CPP" >&6; }
   3224 ac_preproc_ok=false
   3225 for ac_c_preproc_warn_flag in '' yes
   3226 do
   3227   # Use a header file that comes with gcc, so configuring glibc
   3228   # with a fresh cross-compiler works.
   3229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3230   # <limits.h> exists even on freestanding compilers.
   3231   # On the NeXT, cc -E runs the code through the compiler's parser,
   3232   # not just through cpp. "Syntax error" is here to catch this case.
   3233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3234 /* end confdefs.h.  */
   3235 #ifdef __STDC__
   3236 # include <limits.h>
   3237 #else
   3238 # include <assert.h>
   3239 #endif
   3240 		     Syntax error
   3241 _ACEOF
   3242 if ac_fn_c_try_cpp "$LINENO"; then :
   3243 
   3244 else
   3245   # Broken: fails on valid input.
   3246 continue
   3247 fi
   3248 rm -f conftest.err conftest.i conftest.$ac_ext
   3249 
   3250   # OK, works on sane cases.  Now check whether nonexistent headers
   3251   # can be detected and how.
   3252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3253 /* end confdefs.h.  */
   3254 #include <ac_nonexistent.h>
   3255 _ACEOF
   3256 if ac_fn_c_try_cpp "$LINENO"; then :
   3257   # Broken: success on invalid input.
   3258 continue
   3259 else
   3260   # Passes both tests.
   3261 ac_preproc_ok=:
   3262 break
   3263 fi
   3264 rm -f conftest.err conftest.i conftest.$ac_ext
   3265 
   3266 done
   3267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3268 rm -f conftest.i conftest.err conftest.$ac_ext
   3269 if $ac_preproc_ok; then :
   3270 
   3271 else
   3272   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3274 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3275 See \`config.log' for more details" "$LINENO" 5; }
   3276 fi
   3277 
   3278 ac_ext=c
   3279 ac_cpp='$CPP $CPPFLAGS'
   3280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3283 
   3284 
   3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3286 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3287 if ${ac_cv_path_GREP+:} false; then :
   3288   $as_echo_n "(cached) " >&6
   3289 else
   3290   if test -z "$GREP"; then
   3291   ac_path_GREP_found=false
   3292   # Loop through the user's path and test for each of PROGNAME-LIST
   3293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3295 do
   3296   IFS=$as_save_IFS
   3297   test -z "$as_dir" && as_dir=.
   3298     for ac_prog in grep ggrep; do
   3299     for ac_exec_ext in '' $ac_executable_extensions; do
   3300       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3301       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3302 # Check for GNU ac_path_GREP and select it if it is found.
   3303   # Check for GNU $ac_path_GREP
   3304 case `"$ac_path_GREP" --version 2>&1` in
   3305 *GNU*)
   3306   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3307 *)
   3308   ac_count=0
   3309   $as_echo_n 0123456789 >"conftest.in"
   3310   while :
   3311   do
   3312     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3313     mv "conftest.tmp" "conftest.in"
   3314     cp "conftest.in" "conftest.nl"
   3315     $as_echo 'GREP' >> "conftest.nl"
   3316     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3317     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3318     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3319     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3320       # Best one so far, save it but keep looking for a better one
   3321       ac_cv_path_GREP="$ac_path_GREP"
   3322       ac_path_GREP_max=$ac_count
   3323     fi
   3324     # 10*(2^10) chars as input seems more than enough
   3325     test $ac_count -gt 10 && break
   3326   done
   3327   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3328 esac
   3329 
   3330       $ac_path_GREP_found && break 3
   3331     done
   3332   done
   3333   done
   3334 IFS=$as_save_IFS
   3335   if test -z "$ac_cv_path_GREP"; then
   3336     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3337   fi
   3338 else
   3339   ac_cv_path_GREP=$GREP
   3340 fi
   3341 
   3342 fi
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3344 $as_echo "$ac_cv_path_GREP" >&6; }
   3345  GREP="$ac_cv_path_GREP"
   3346 
   3347 
   3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3349 $as_echo_n "checking for egrep... " >&6; }
   3350 if ${ac_cv_path_EGREP+:} false; then :
   3351   $as_echo_n "(cached) " >&6
   3352 else
   3353   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3354    then ac_cv_path_EGREP="$GREP -E"
   3355    else
   3356      if test -z "$EGREP"; then
   3357   ac_path_EGREP_found=false
   3358   # Loop through the user's path and test for each of PROGNAME-LIST
   3359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3361 do
   3362   IFS=$as_save_IFS
   3363   test -z "$as_dir" && as_dir=.
   3364     for ac_prog in egrep; do
   3365     for ac_exec_ext in '' $ac_executable_extensions; do
   3366       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3367       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3368 # Check for GNU ac_path_EGREP and select it if it is found.
   3369   # Check for GNU $ac_path_EGREP
   3370 case `"$ac_path_EGREP" --version 2>&1` in
   3371 *GNU*)
   3372   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3373 *)
   3374   ac_count=0
   3375   $as_echo_n 0123456789 >"conftest.in"
   3376   while :
   3377   do
   3378     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3379     mv "conftest.tmp" "conftest.in"
   3380     cp "conftest.in" "conftest.nl"
   3381     $as_echo 'EGREP' >> "conftest.nl"
   3382     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3383     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3384     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3385     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3386       # Best one so far, save it but keep looking for a better one
   3387       ac_cv_path_EGREP="$ac_path_EGREP"
   3388       ac_path_EGREP_max=$ac_count
   3389     fi
   3390     # 10*(2^10) chars as input seems more than enough
   3391     test $ac_count -gt 10 && break
   3392   done
   3393   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3394 esac
   3395 
   3396       $ac_path_EGREP_found && break 3
   3397     done
   3398   done
   3399   done
   3400 IFS=$as_save_IFS
   3401   if test -z "$ac_cv_path_EGREP"; then
   3402     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3403   fi
   3404 else
   3405   ac_cv_path_EGREP=$EGREP
   3406 fi
   3407 
   3408    fi
   3409 fi
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3411 $as_echo "$ac_cv_path_EGREP" >&6; }
   3412  EGREP="$ac_cv_path_EGREP"
   3413 
   3414 
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3416 $as_echo_n "checking for ANSI C header files... " >&6; }
   3417 if ${ac_cv_header_stdc+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3421 /* end confdefs.h.  */
   3422 #include <stdlib.h>
   3423 #include <stdarg.h>
   3424 #include <string.h>
   3425 #include <float.h>
   3426 
   3427 int
   3428 main ()
   3429 {
   3430 
   3431   ;
   3432   return 0;
   3433 }
   3434 _ACEOF
   3435 if ac_fn_c_try_compile "$LINENO"; then :
   3436   ac_cv_header_stdc=yes
   3437 else
   3438   ac_cv_header_stdc=no
   3439 fi
   3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3441 
   3442 if test $ac_cv_header_stdc = yes; then
   3443   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3445 /* end confdefs.h.  */
   3446 #include <string.h>
   3447 
   3448 _ACEOF
   3449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3450   $EGREP "memchr" >/dev/null 2>&1; then :
   3451 
   3452 else
   3453   ac_cv_header_stdc=no
   3454 fi
   3455 rm -f conftest*
   3456 
   3457 fi
   3458 
   3459 if test $ac_cv_header_stdc = yes; then
   3460   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3462 /* end confdefs.h.  */
   3463 #include <stdlib.h>
   3464 
   3465 _ACEOF
   3466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3467   $EGREP "free" >/dev/null 2>&1; then :
   3468 
   3469 else
   3470   ac_cv_header_stdc=no
   3471 fi
   3472 rm -f conftest*
   3473 
   3474 fi
   3475 
   3476 if test $ac_cv_header_stdc = yes; then
   3477   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3478   if test "$cross_compiling" = yes; then :
   3479   :
   3480 else
   3481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3482 /* end confdefs.h.  */
   3483 #include <ctype.h>
   3484 #include <stdlib.h>
   3485 #if ((' ' & 0x0FF) == 0x020)
   3486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3488 #else
   3489 # define ISLOWER(c) \
   3490 		   (('a' <= (c) && (c) <= 'i') \
   3491 		     || ('j' <= (c) && (c) <= 'r') \
   3492 		     || ('s' <= (c) && (c) <= 'z'))
   3493 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3494 #endif
   3495 
   3496 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3497 int
   3498 main ()
   3499 {
   3500   int i;
   3501   for (i = 0; i < 256; i++)
   3502     if (XOR (islower (i), ISLOWER (i))
   3503 	|| toupper (i) != TOUPPER (i))
   3504       return 2;
   3505   return 0;
   3506 }
   3507 _ACEOF
   3508 if ac_fn_c_try_run "$LINENO"; then :
   3509 
   3510 else
   3511   ac_cv_header_stdc=no
   3512 fi
   3513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3514   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3515 fi
   3516 
   3517 fi
   3518 fi
   3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3520 $as_echo "$ac_cv_header_stdc" >&6; }
   3521 if test $ac_cv_header_stdc = yes; then
   3522 
   3523 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3524 
   3525 fi
   3526 
   3527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3528 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3529 		  inttypes.h stdint.h unistd.h
   3530 do :
   3531   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3533 "
   3534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3535   cat >>confdefs.h <<_ACEOF
   3536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3537 _ACEOF
   3538 
   3539 fi
   3540 
   3541 done
   3542 
   3543 
   3544 
   3545   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3546 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3547   MINIX=yes
   3548 else
   3549   MINIX=
   3550 fi
   3551 
   3552 
   3553   if test "$MINIX" = yes; then
   3554 
   3555 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3556 
   3557 
   3558 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3559 
   3560 
   3561 $as_echo "#define _MINIX 1" >>confdefs.h
   3562 
   3563   fi
   3564 
   3565 
   3566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3567 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3568 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3569   $as_echo_n "(cached) " >&6
   3570 else
   3571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 
   3574 #	  define __EXTENSIONS__ 1
   3575 	  $ac_includes_default
   3576 int
   3577 main ()
   3578 {
   3579 
   3580   ;
   3581   return 0;
   3582 }
   3583 _ACEOF
   3584 if ac_fn_c_try_compile "$LINENO"; then :
   3585   ac_cv_safe_to_define___extensions__=yes
   3586 else
   3587   ac_cv_safe_to_define___extensions__=no
   3588 fi
   3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3590 fi
   3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3592 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3593   test $ac_cv_safe_to_define___extensions__ = yes &&
   3594     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3595 
   3596   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3597 
   3598   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3599 
   3600   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3601 
   3602   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3603 
   3604 
   3605 # Check whether --enable-largefile was given.
   3606 if test "${enable_largefile+set}" = set; then :
   3607   enableval=$enable_largefile;
   3608 fi
   3609 
   3610 if test "$enable_largefile" != no; then
   3611 
   3612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   3613 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   3614 if ${ac_cv_sys_largefile_CC+:} false; then :
   3615   $as_echo_n "(cached) " >&6
   3616 else
   3617   ac_cv_sys_largefile_CC=no
   3618      if test "$GCC" != yes; then
   3619        ac_save_CC=$CC
   3620        while :; do
   3621 	 # IRIX 6.2 and later do not support large files by default,
   3622 	 # so use the C compiler's -n32 option if that helps.
   3623 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 #include <sys/types.h>
   3626  /* Check that off_t can represent 2**63 - 1 correctly.
   3627     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3628     since some C++ compilers masquerading as C compilers
   3629     incorrectly reject 9223372036854775807.  */
   3630 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3631   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3632 		       && LARGE_OFF_T % 2147483647 == 1)
   3633 		      ? 1 : -1];
   3634 int
   3635 main ()
   3636 {
   3637 
   3638   ;
   3639   return 0;
   3640 }
   3641 _ACEOF
   3642 	 if ac_fn_c_try_compile "$LINENO"; then :
   3643   break
   3644 fi
   3645 rm -f core conftest.err conftest.$ac_objext
   3646 	 CC="$CC -n32"
   3647 	 if ac_fn_c_try_compile "$LINENO"; then :
   3648   ac_cv_sys_largefile_CC=' -n32'; break
   3649 fi
   3650 rm -f core conftest.err conftest.$ac_objext
   3651 	 break
   3652        done
   3653        CC=$ac_save_CC
   3654        rm -f conftest.$ac_ext
   3655     fi
   3656 fi
   3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   3658 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   3659   if test "$ac_cv_sys_largefile_CC" != no; then
   3660     CC=$CC$ac_cv_sys_largefile_CC
   3661   fi
   3662 
   3663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   3664 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   3665 if ${ac_cv_sys_file_offset_bits+:} false; then :
   3666   $as_echo_n "(cached) " >&6
   3667 else
   3668   while :; do
   3669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3670 /* end confdefs.h.  */
   3671 #include <sys/types.h>
   3672  /* Check that off_t can represent 2**63 - 1 correctly.
   3673     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3674     since some C++ compilers masquerading as C compilers
   3675     incorrectly reject 9223372036854775807.  */
   3676 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3677   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3678 		       && LARGE_OFF_T % 2147483647 == 1)
   3679 		      ? 1 : -1];
   3680 int
   3681 main ()
   3682 {
   3683 
   3684   ;
   3685   return 0;
   3686 }
   3687 _ACEOF
   3688 if ac_fn_c_try_compile "$LINENO"; then :
   3689   ac_cv_sys_file_offset_bits=no; break
   3690 fi
   3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3693 /* end confdefs.h.  */
   3694 #define _FILE_OFFSET_BITS 64
   3695 #include <sys/types.h>
   3696  /* Check that off_t can represent 2**63 - 1 correctly.
   3697     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3698     since some C++ compilers masquerading as C compilers
   3699     incorrectly reject 9223372036854775807.  */
   3700 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3701   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3702 		       && LARGE_OFF_T % 2147483647 == 1)
   3703 		      ? 1 : -1];
   3704 int
   3705 main ()
   3706 {
   3707 
   3708   ;
   3709   return 0;
   3710 }
   3711 _ACEOF
   3712 if ac_fn_c_try_compile "$LINENO"; then :
   3713   ac_cv_sys_file_offset_bits=64; break
   3714 fi
   3715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3716   ac_cv_sys_file_offset_bits=unknown
   3717   break
   3718 done
   3719 fi
   3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   3721 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   3722 case $ac_cv_sys_file_offset_bits in #(
   3723   no | unknown) ;;
   3724   *)
   3725 cat >>confdefs.h <<_ACEOF
   3726 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   3727 _ACEOF
   3728 ;;
   3729 esac
   3730 rm -rf conftest*
   3731   if test $ac_cv_sys_file_offset_bits = unknown; then
   3732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   3733 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   3734 if ${ac_cv_sys_large_files+:} false; then :
   3735   $as_echo_n "(cached) " >&6
   3736 else
   3737   while :; do
   3738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3739 /* end confdefs.h.  */
   3740 #include <sys/types.h>
   3741  /* Check that off_t can represent 2**63 - 1 correctly.
   3742     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3743     since some C++ compilers masquerading as C compilers
   3744     incorrectly reject 9223372036854775807.  */
   3745 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3746   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3747 		       && LARGE_OFF_T % 2147483647 == 1)
   3748 		      ? 1 : -1];
   3749 int
   3750 main ()
   3751 {
   3752 
   3753   ;
   3754   return 0;
   3755 }
   3756 _ACEOF
   3757 if ac_fn_c_try_compile "$LINENO"; then :
   3758   ac_cv_sys_large_files=no; break
   3759 fi
   3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3762 /* end confdefs.h.  */
   3763 #define _LARGE_FILES 1
   3764 #include <sys/types.h>
   3765  /* Check that off_t can represent 2**63 - 1 correctly.
   3766     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3767     since some C++ compilers masquerading as C compilers
   3768     incorrectly reject 9223372036854775807.  */
   3769 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3770   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3771 		       && LARGE_OFF_T % 2147483647 == 1)
   3772 		      ? 1 : -1];
   3773 int
   3774 main ()
   3775 {
   3776 
   3777   ;
   3778   return 0;
   3779 }
   3780 _ACEOF
   3781 if ac_fn_c_try_compile "$LINENO"; then :
   3782   ac_cv_sys_large_files=1; break
   3783 fi
   3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3785   ac_cv_sys_large_files=unknown
   3786   break
   3787 done
   3788 fi
   3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   3790 $as_echo "$ac_cv_sys_large_files" >&6; }
   3791 case $ac_cv_sys_large_files in #(
   3792   no | unknown) ;;
   3793   *)
   3794 cat >>confdefs.h <<_ACEOF
   3795 #define _LARGE_FILES $ac_cv_sys_large_files
   3796 _ACEOF
   3797 ;;
   3798 esac
   3799 rm -rf conftest*
   3800   fi
   3801 fi
   3802 
   3803 
   3804 # Initialize Automake
   3805 am__api_version='1.11'
   3806 
   3807 ac_aux_dir=
   3808 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3809   if test -f "$ac_dir/install-sh"; then
   3810     ac_aux_dir=$ac_dir
   3811     ac_install_sh="$ac_aux_dir/install-sh -c"
   3812     break
   3813   elif test -f "$ac_dir/install.sh"; then
   3814     ac_aux_dir=$ac_dir
   3815     ac_install_sh="$ac_aux_dir/install.sh -c"
   3816     break
   3817   elif test -f "$ac_dir/shtool"; then
   3818     ac_aux_dir=$ac_dir
   3819     ac_install_sh="$ac_aux_dir/shtool install -c"
   3820     break
   3821   fi
   3822 done
   3823 if test -z "$ac_aux_dir"; then
   3824   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3825 fi
   3826 
   3827 # These three variables are undocumented and unsupported,
   3828 # and are intended to be withdrawn in a future Autoconf release.
   3829 # They can cause serious problems if a builder's source tree is in a directory
   3830 # whose full name contains unusual characters.
   3831 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3832 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3833 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3834 
   3835 
   3836 # Find a good install program.  We prefer a C program (faster),
   3837 # so one script is as good as another.  But avoid the broken or
   3838 # incompatible versions:
   3839 # SysV /etc/install, /usr/sbin/install
   3840 # SunOS /usr/etc/install
   3841 # IRIX /sbin/install
   3842 # AIX /bin/install
   3843 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3844 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3847 # OS/2's system install, which has a completely different semantic
   3848 # ./install, which can be erroneously created by make from ./install.sh.
   3849 # Reject install programs that cannot install multiple files.
   3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3851 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3852 if test -z "$INSTALL"; then
   3853 if ${ac_cv_path_install+:} false; then :
   3854   $as_echo_n "(cached) " >&6
   3855 else
   3856   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3857 for as_dir in $PATH
   3858 do
   3859   IFS=$as_save_IFS
   3860   test -z "$as_dir" && as_dir=.
   3861     # Account for people who put trailing slashes in PATH elements.
   3862 case $as_dir/ in #((
   3863   ./ | .// | /[cC]/* | \
   3864   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3865   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3866   /usr/ucb/* ) ;;
   3867   *)
   3868     # OSF1 and SCO ODT 3.0 have their own names for install.
   3869     # Don't use installbsd from OSF since it installs stuff as root
   3870     # by default.
   3871     for ac_prog in ginstall scoinst install; do
   3872       for ac_exec_ext in '' $ac_executable_extensions; do
   3873 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3874 	  if test $ac_prog = install &&
   3875 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3876 	    # AIX install.  It has an incompatible calling convention.
   3877 	    :
   3878 	  elif test $ac_prog = install &&
   3879 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3880 	    # program-specific install script used by HP pwplus--don't use.
   3881 	    :
   3882 	  else
   3883 	    rm -rf conftest.one conftest.two conftest.dir
   3884 	    echo one > conftest.one
   3885 	    echo two > conftest.two
   3886 	    mkdir conftest.dir
   3887 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3888 	      test -s conftest.one && test -s conftest.two &&
   3889 	      test -s conftest.dir/conftest.one &&
   3890 	      test -s conftest.dir/conftest.two
   3891 	    then
   3892 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3893 	      break 3
   3894 	    fi
   3895 	  fi
   3896 	fi
   3897       done
   3898     done
   3899     ;;
   3900 esac
   3901 
   3902   done
   3903 IFS=$as_save_IFS
   3904 
   3905 rm -rf conftest.one conftest.two conftest.dir
   3906 
   3907 fi
   3908   if test "${ac_cv_path_install+set}" = set; then
   3909     INSTALL=$ac_cv_path_install
   3910   else
   3911     # As a last resort, use the slow shell script.  Don't cache a
   3912     # value for INSTALL within a source directory, because that will
   3913     # break other packages using the cache if that directory is
   3914     # removed, or if the value is a relative name.
   3915     INSTALL=$ac_install_sh
   3916   fi
   3917 fi
   3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3919 $as_echo "$INSTALL" >&6; }
   3920 
   3921 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3922 # It thinks the first close brace ends the variable substitution.
   3923 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3924 
   3925 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3926 
   3927 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3928 
   3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3930 $as_echo_n "checking whether build environment is sane... " >&6; }
   3931 # Just in case
   3932 sleep 1
   3933 echo timestamp > conftest.file
   3934 # Reject unsafe characters in $srcdir or the absolute working directory
   3935 # name.  Accept space and tab only in the latter.
   3936 am_lf='
   3937 '
   3938 case `pwd` in
   3939   *[\\\"\#\$\&\'\`$am_lf]*)
   3940     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3941 esac
   3942 case $srcdir in
   3943   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3944     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   3945 esac
   3946 
   3947 # Do `set' in a subshell so we don't clobber the current shell's
   3948 # arguments.  Must try -L first in case configure is actually a
   3949 # symlink; some systems play weird games with the mod time of symlinks
   3950 # (eg FreeBSD returns the mod time of the symlink's containing
   3951 # directory).
   3952 if (
   3953    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3954    if test "$*" = "X"; then
   3955       # -L didn't work.
   3956       set X `ls -t "$srcdir/configure" conftest.file`
   3957    fi
   3958    rm -f conftest.file
   3959    if test "$*" != "X $srcdir/configure conftest.file" \
   3960       && test "$*" != "X conftest.file $srcdir/configure"; then
   3961 
   3962       # If neither matched, then we have a broken ls.  This can happen
   3963       # if, for instance, CONFIG_SHELL is bash and it inherits a
   3964       # broken ls alias from the environment.  This has actually
   3965       # happened.  Such a system could not be considered "sane".
   3966       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3967 alias in your environment" "$LINENO" 5
   3968    fi
   3969 
   3970    test "$2" = conftest.file
   3971    )
   3972 then
   3973    # Ok.
   3974    :
   3975 else
   3976    as_fn_error $? "newly created file is older than distributed files!
   3977 Check your system clock" "$LINENO" 5
   3978 fi
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3980 $as_echo "yes" >&6; }
   3981 test "$program_prefix" != NONE &&
   3982   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3983 # Use a double $ so make ignores it.
   3984 test "$program_suffix" != NONE &&
   3985   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3986 # Double any \ or $.
   3987 # By default was `s,x,x', remove it if useless.
   3988 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3989 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3990 
   3991 # expand $ac_aux_dir to an absolute path
   3992 am_aux_dir=`cd $ac_aux_dir && pwd`
   3993 
   3994 if test x"${MISSING+set}" != xset; then
   3995   case $am_aux_dir in
   3996   *\ * | *\	*)
   3997     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3998   *)
   3999     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4000   esac
   4001 fi
   4002 # Use eval to expand $SHELL
   4003 if eval "$MISSING --run true"; then
   4004   am_missing_run="$MISSING --run "
   4005 else
   4006   am_missing_run=
   4007   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   4008 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   4009 fi
   4010 
   4011 if test x"${install_sh}" != xset; then
   4012   case $am_aux_dir in
   4013   *\ * | *\	*)
   4014     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4015   *)
   4016     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4017   esac
   4018 fi
   4019 
   4020 # Installed binaries are usually stripped using `strip' when the user
   4021 # run `make install-strip'.  However `strip' might not be the right
   4022 # tool to use in cross-compilation environments, therefore Automake
   4023 # will honor the `STRIP' environment variable to overrule this program.
   4024 if test "$cross_compiling" != no; then
   4025   if test -n "$ac_tool_prefix"; then
   4026   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4027 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4029 $as_echo_n "checking for $ac_word... " >&6; }
   4030 if ${ac_cv_prog_STRIP+:} false; then :
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033   if test -n "$STRIP"; then
   4034   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4035 else
   4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4037 for as_dir in $PATH
   4038 do
   4039   IFS=$as_save_IFS
   4040   test -z "$as_dir" && as_dir=.
   4041     for ac_exec_ext in '' $ac_executable_extensions; do
   4042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4043     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4045     break 2
   4046   fi
   4047 done
   4048   done
   4049 IFS=$as_save_IFS
   4050 
   4051 fi
   4052 fi
   4053 STRIP=$ac_cv_prog_STRIP
   4054 if test -n "$STRIP"; then
   4055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4056 $as_echo "$STRIP" >&6; }
   4057 else
   4058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4059 $as_echo "no" >&6; }
   4060 fi
   4061 
   4062 
   4063 fi
   4064 if test -z "$ac_cv_prog_STRIP"; then
   4065   ac_ct_STRIP=$STRIP
   4066   # Extract the first word of "strip", so it can be a program name with args.
   4067 set dummy strip; ac_word=$2
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4069 $as_echo_n "checking for $ac_word... " >&6; }
   4070 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   if test -n "$ac_ct_STRIP"; then
   4074   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4075 else
   4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4077 for as_dir in $PATH
   4078 do
   4079   IFS=$as_save_IFS
   4080   test -z "$as_dir" && as_dir=.
   4081     for ac_exec_ext in '' $ac_executable_extensions; do
   4082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4083     ac_cv_prog_ac_ct_STRIP="strip"
   4084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4085     break 2
   4086   fi
   4087 done
   4088   done
   4089 IFS=$as_save_IFS
   4090 
   4091 fi
   4092 fi
   4093 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4094 if test -n "$ac_ct_STRIP"; then
   4095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4096 $as_echo "$ac_ct_STRIP" >&6; }
   4097 else
   4098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4099 $as_echo "no" >&6; }
   4100 fi
   4101 
   4102   if test "x$ac_ct_STRIP" = x; then
   4103     STRIP=":"
   4104   else
   4105     case $cross_compiling:$ac_tool_warned in
   4106 yes:)
   4107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4109 ac_tool_warned=yes ;;
   4110 esac
   4111     STRIP=$ac_ct_STRIP
   4112   fi
   4113 else
   4114   STRIP="$ac_cv_prog_STRIP"
   4115 fi
   4116 
   4117 fi
   4118 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4119 
   4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4121 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4122 if test -z "$MKDIR_P"; then
   4123   if ${ac_cv_path_mkdir+:} false; then :
   4124   $as_echo_n "(cached) " >&6
   4125 else
   4126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4127 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4128 do
   4129   IFS=$as_save_IFS
   4130   test -z "$as_dir" && as_dir=.
   4131     for ac_prog in mkdir gmkdir; do
   4132 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4133 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4134 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4135 	     'mkdir (GNU coreutils) '* | \
   4136 	     'mkdir (coreutils) '* | \
   4137 	     'mkdir (fileutils) '4.1*)
   4138 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4139 	       break 3;;
   4140 	   esac
   4141 	 done
   4142        done
   4143   done
   4144 IFS=$as_save_IFS
   4145 
   4146 fi
   4147 
   4148   test -d ./--version && rmdir ./--version
   4149   if test "${ac_cv_path_mkdir+set}" = set; then
   4150     MKDIR_P="$ac_cv_path_mkdir -p"
   4151   else
   4152     # As a last resort, use the slow shell script.  Don't cache a
   4153     # value for MKDIR_P within a source directory, because that will
   4154     # break other packages using the cache if that directory is
   4155     # removed, or if the value is a relative name.
   4156     MKDIR_P="$ac_install_sh -d"
   4157   fi
   4158 fi
   4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4160 $as_echo "$MKDIR_P" >&6; }
   4161 
   4162 mkdir_p="$MKDIR_P"
   4163 case $mkdir_p in
   4164   [\\/$]* | ?:[\\/]*) ;;
   4165   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4166 esac
   4167 
   4168 for ac_prog in gawk mawk nawk awk
   4169 do
   4170   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4171 set dummy $ac_prog; ac_word=$2
   4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4173 $as_echo_n "checking for $ac_word... " >&6; }
   4174 if ${ac_cv_prog_AWK+:} false; then :
   4175   $as_echo_n "(cached) " >&6
   4176 else
   4177   if test -n "$AWK"; then
   4178   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4179 else
   4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4181 for as_dir in $PATH
   4182 do
   4183   IFS=$as_save_IFS
   4184   test -z "$as_dir" && as_dir=.
   4185     for ac_exec_ext in '' $ac_executable_extensions; do
   4186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4187     ac_cv_prog_AWK="$ac_prog"
   4188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4189     break 2
   4190   fi
   4191 done
   4192   done
   4193 IFS=$as_save_IFS
   4194 
   4195 fi
   4196 fi
   4197 AWK=$ac_cv_prog_AWK
   4198 if test -n "$AWK"; then
   4199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4200 $as_echo "$AWK" >&6; }
   4201 else
   4202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4203 $as_echo "no" >&6; }
   4204 fi
   4205 
   4206 
   4207   test -n "$AWK" && break
   4208 done
   4209 
   4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4211 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4212 set x ${MAKE-make}
   4213 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4214 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217   cat >conftest.make <<\_ACEOF
   4218 SHELL = /bin/sh
   4219 all:
   4220 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4221 _ACEOF
   4222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4223 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4224   *@@@%%%=?*=@@@%%%*)
   4225     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4226   *)
   4227     eval ac_cv_prog_make_${ac_make}_set=no;;
   4228 esac
   4229 rm -f conftest.make
   4230 fi
   4231 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4233 $as_echo "yes" >&6; }
   4234   SET_MAKE=
   4235 else
   4236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4237 $as_echo "no" >&6; }
   4238   SET_MAKE="MAKE=${MAKE-make}"
   4239 fi
   4240 
   4241 rm -rf .tst 2>/dev/null
   4242 mkdir .tst 2>/dev/null
   4243 if test -d .tst; then
   4244   am__leading_dot=.
   4245 else
   4246   am__leading_dot=_
   4247 fi
   4248 rmdir .tst 2>/dev/null
   4249 
   4250 DEPDIR="${am__leading_dot}deps"
   4251 
   4252 ac_config_commands="$ac_config_commands depfiles"
   4253 
   4254 
   4255 am_make=${MAKE-make}
   4256 cat > confinc << 'END'
   4257 am__doit:
   4258 	@echo this is the am__doit target
   4259 .PHONY: am__doit
   4260 END
   4261 # If we don't find an include directive, just comment out the code.
   4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4263 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4264 am__include="#"
   4265 am__quote=
   4266 _am_result=none
   4267 # First try GNU make style include.
   4268 echo "include confinc" > confmf
   4269 # Ignore all kinds of additional output from `make'.
   4270 case `$am_make -s -f confmf 2> /dev/null` in #(
   4271 *the\ am__doit\ target*)
   4272   am__include=include
   4273   am__quote=
   4274   _am_result=GNU
   4275   ;;
   4276 esac
   4277 # Now try BSD make style include.
   4278 if test "$am__include" = "#"; then
   4279    echo '.include "confinc"' > confmf
   4280    case `$am_make -s -f confmf 2> /dev/null` in #(
   4281    *the\ am__doit\ target*)
   4282      am__include=.include
   4283      am__quote="\""
   4284      _am_result=BSD
   4285      ;;
   4286    esac
   4287 fi
   4288 
   4289 
   4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4291 $as_echo "$_am_result" >&6; }
   4292 rm -f confinc confmf
   4293 
   4294 # Check whether --enable-dependency-tracking was given.
   4295 if test "${enable_dependency_tracking+set}" = set; then :
   4296   enableval=$enable_dependency_tracking;
   4297 fi
   4298 
   4299 if test "x$enable_dependency_tracking" != xno; then
   4300   am_depcomp="$ac_aux_dir/depcomp"
   4301   AMDEPBACKSLASH='\'
   4302   am__nodep='_no'
   4303 fi
   4304  if test "x$enable_dependency_tracking" != xno; then
   4305   AMDEP_TRUE=
   4306   AMDEP_FALSE='#'
   4307 else
   4308   AMDEP_TRUE='#'
   4309   AMDEP_FALSE=
   4310 fi
   4311 
   4312 
   4313 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4314   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4315   # is not polluted with repeated "-I."
   4316   am__isrc=' -I$(srcdir)'
   4317   # test to see if srcdir already configured
   4318   if test -f $srcdir/config.status; then
   4319     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4320   fi
   4321 fi
   4322 
   4323 # test whether we have cygpath
   4324 if test -z "$CYGPATH_W"; then
   4325   if (cygpath --version) >/dev/null 2>/dev/null; then
   4326     CYGPATH_W='cygpath -w'
   4327   else
   4328     CYGPATH_W=echo
   4329   fi
   4330 fi
   4331 
   4332 
   4333 # Define the identity of the package.
   4334  PACKAGE='sessreg'
   4335  VERSION='1.0.8'
   4336 
   4337 
   4338 cat >>confdefs.h <<_ACEOF
   4339 #define PACKAGE "$PACKAGE"
   4340 _ACEOF
   4341 
   4342 
   4343 cat >>confdefs.h <<_ACEOF
   4344 #define VERSION "$VERSION"
   4345 _ACEOF
   4346 
   4347 # Some tools Automake needs.
   4348 
   4349 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4350 
   4351 
   4352 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4353 
   4354 
   4355 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4356 
   4357 
   4358 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4359 
   4360 
   4361 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4362 
   4363 # We need awk for the "check" target.  The system "awk" is bad on
   4364 # some platforms.
   4365 # Always define AMTAR for backward compatibility.
   4366 
   4367 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4368 
   4369 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4370 
   4371 
   4372 
   4373 
   4374 depcc="$CC"   am_compiler_list=
   4375 
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4377 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4378 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4379   $as_echo_n "(cached) " >&6
   4380 else
   4381   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4382   # We make a subdir and do the tests there.  Otherwise we can end up
   4383   # making bogus files that we don't know about and never remove.  For
   4384   # instance it was reported that on HP-UX the gcc test will end up
   4385   # making a dummy file named `D' -- because `-MD' means `put the output
   4386   # in D'.
   4387   rm -rf conftest.dir
   4388   mkdir conftest.dir
   4389   # Copy depcomp to subdir because otherwise we won't find it if we're
   4390   # using a relative directory.
   4391   cp "$am_depcomp" conftest.dir
   4392   cd conftest.dir
   4393   # We will build objects and dependencies in a subdirectory because
   4394   # it helps to detect inapplicable dependency modes.  For instance
   4395   # both Tru64's cc and ICC support -MD to output dependencies as a
   4396   # side effect of compilation, but ICC will put the dependencies in
   4397   # the current directory while Tru64 will put them in the object
   4398   # directory.
   4399   mkdir sub
   4400 
   4401   am_cv_CC_dependencies_compiler_type=none
   4402   if test "$am_compiler_list" = ""; then
   4403      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4404   fi
   4405   am__universal=false
   4406   case " $depcc " in #(
   4407      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4408      esac
   4409 
   4410   for depmode in $am_compiler_list; do
   4411     # Setup a source with many dependencies, because some compilers
   4412     # like to wrap large dependency lists on column 80 (with \), and
   4413     # we should not choose a depcomp mode which is confused by this.
   4414     #
   4415     # We need to recreate these files for each test, as the compiler may
   4416     # overwrite some of them when testing with obscure command lines.
   4417     # This happens at least with the AIX C compiler.
   4418     : > sub/conftest.c
   4419     for i in 1 2 3 4 5 6; do
   4420       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4421       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4422       # Solaris 8's {/usr,}/bin/sh.
   4423       touch sub/conftst$i.h
   4424     done
   4425     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4426 
   4427     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4428     # mode.  It turns out that the SunPro C++ compiler does not properly
   4429     # handle `-M -o', and we need to detect this.  Also, some Intel
   4430     # versions had trouble with output in subdirs
   4431     am__obj=sub/conftest.${OBJEXT-o}
   4432     am__minus_obj="-o $am__obj"
   4433     case $depmode in
   4434     gcc)
   4435       # This depmode causes a compiler race in universal mode.
   4436       test "$am__universal" = false || continue
   4437       ;;
   4438     nosideeffect)
   4439       # after this tag, mechanisms are not by side-effect, so they'll
   4440       # only be used when explicitly requested
   4441       if test "x$enable_dependency_tracking" = xyes; then
   4442 	continue
   4443       else
   4444 	break
   4445       fi
   4446       ;;
   4447     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4448       # This compiler won't grok `-c -o', but also, the minuso test has
   4449       # not run yet.  These depmodes are late enough in the game, and
   4450       # so weak that their functioning should not be impacted.
   4451       am__obj=conftest.${OBJEXT-o}
   4452       am__minus_obj=
   4453       ;;
   4454     none) break ;;
   4455     esac
   4456     if depmode=$depmode \
   4457        source=sub/conftest.c object=$am__obj \
   4458        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4459        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4460          >/dev/null 2>conftest.err &&
   4461        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4462        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4463        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4464        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4465       # icc doesn't choke on unknown options, it will just issue warnings
   4466       # or remarks (even with -Werror).  So we grep stderr for any message
   4467       # that says an option was ignored or not supported.
   4468       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4469       #   icc: Command line warning: ignoring option '-M'; no argument required
   4470       # The diagnosis changed in icc 8.0:
   4471       #   icc: Command line remark: option '-MP' not supported
   4472       if (grep 'ignoring option' conftest.err ||
   4473           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4474         am_cv_CC_dependencies_compiler_type=$depmode
   4475         break
   4476       fi
   4477     fi
   4478   done
   4479 
   4480   cd ..
   4481   rm -rf conftest.dir
   4482 else
   4483   am_cv_CC_dependencies_compiler_type=none
   4484 fi
   4485 
   4486 fi
   4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4488 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4489 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4490 
   4491  if
   4492   test "x$enable_dependency_tracking" != xno \
   4493   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4494   am__fastdepCC_TRUE=
   4495   am__fastdepCC_FALSE='#'
   4496 else
   4497   am__fastdepCC_TRUE='#'
   4498   am__fastdepCC_FALSE=
   4499 fi
   4500 
   4501 
   4502 
   4503 
   4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4505 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4506     # Check whether --enable-maintainer-mode was given.
   4507 if test "${enable_maintainer_mode+set}" = set; then :
   4508   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4509 else
   4510   USE_MAINTAINER_MODE=no
   4511 fi
   4512 
   4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4514 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4515    if test $USE_MAINTAINER_MODE = yes; then
   4516   MAINTAINER_MODE_TRUE=
   4517   MAINTAINER_MODE_FALSE='#'
   4518 else
   4519   MAINTAINER_MODE_TRUE='#'
   4520   MAINTAINER_MODE_FALSE=
   4521 fi
   4522 
   4523   MAINT=$MAINTAINER_MODE_TRUE
   4524 
   4525 
   4526 
   4527 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 
   4536 
   4537 
   4538 
   4539    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4540 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4541 if ${ac_cv_prog_cc_c99+:} false; then :
   4542   $as_echo_n "(cached) " >&6
   4543 else
   4544   ac_cv_prog_cc_c99=no
   4545 ac_save_CC=$CC
   4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4547 /* end confdefs.h.  */
   4548 #include <stdarg.h>
   4549 #include <stdbool.h>
   4550 #include <stdlib.h>
   4551 #include <wchar.h>
   4552 #include <stdio.h>
   4553 
   4554 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4555 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4556 #define showlist(...) puts (#__VA_ARGS__)
   4557 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4558 static void
   4559 test_varargs_macros (void)
   4560 {
   4561   int x = 1234;
   4562   int y = 5678;
   4563   debug ("Flag");
   4564   debug ("X = %d\n", x);
   4565   showlist (The first, second, and third items.);
   4566   report (x>y, "x is %d but y is %d", x, y);
   4567 }
   4568 
   4569 // Check long long types.
   4570 #define BIG64 18446744073709551615ull
   4571 #define BIG32 4294967295ul
   4572 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4573 #if !BIG_OK
   4574   your preprocessor is broken;
   4575 #endif
   4576 #if BIG_OK
   4577 #else
   4578   your preprocessor is broken;
   4579 #endif
   4580 static long long int bignum = -9223372036854775807LL;
   4581 static unsigned long long int ubignum = BIG64;
   4582 
   4583 struct incomplete_array
   4584 {
   4585   int datasize;
   4586   double data[];
   4587 };
   4588 
   4589 struct named_init {
   4590   int number;
   4591   const wchar_t *name;
   4592   double average;
   4593 };
   4594 
   4595 typedef const char *ccp;
   4596 
   4597 static inline int
   4598 test_restrict (ccp restrict text)
   4599 {
   4600   // See if C++-style comments work.
   4601   // Iterate through items via the restricted pointer.
   4602   // Also check for declarations in for loops.
   4603   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4604     continue;
   4605   return 0;
   4606 }
   4607 
   4608 // Check varargs and va_copy.
   4609 static void
   4610 test_varargs (const char *format, ...)
   4611 {
   4612   va_list args;
   4613   va_start (args, format);
   4614   va_list args_copy;
   4615   va_copy (args_copy, args);
   4616 
   4617   const char *str;
   4618   int number;
   4619   float fnumber;
   4620 
   4621   while (*format)
   4622     {
   4623       switch (*format++)
   4624 	{
   4625 	case 's': // string
   4626 	  str = va_arg (args_copy, const char *);
   4627 	  break;
   4628 	case 'd': // int
   4629 	  number = va_arg (args_copy, int);
   4630 	  break;
   4631 	case 'f': // float
   4632 	  fnumber = va_arg (args_copy, double);
   4633 	  break;
   4634 	default:
   4635 	  break;
   4636 	}
   4637     }
   4638   va_end (args_copy);
   4639   va_end (args);
   4640 }
   4641 
   4642 int
   4643 main ()
   4644 {
   4645 
   4646   // Check bool.
   4647   _Bool success = false;
   4648 
   4649   // Check restrict.
   4650   if (test_restrict ("String literal") == 0)
   4651     success = true;
   4652   char *restrict newvar = "Another string";
   4653 
   4654   // Check varargs.
   4655   test_varargs ("s, d' f .", "string", 65, 34.234);
   4656   test_varargs_macros ();
   4657 
   4658   // Check flexible array members.
   4659   struct incomplete_array *ia =
   4660     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4661   ia->datasize = 10;
   4662   for (int i = 0; i < ia->datasize; ++i)
   4663     ia->data[i] = i * 1.234;
   4664 
   4665   // Check named initializers.
   4666   struct named_init ni = {
   4667     .number = 34,
   4668     .name = L"Test wide string",
   4669     .average = 543.34343,
   4670   };
   4671 
   4672   ni.number = 58;
   4673 
   4674   int dynamic_array[ni.number];
   4675   dynamic_array[ni.number - 1] = 543;
   4676 
   4677   // work around unused variable warnings
   4678   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4679 	  || dynamic_array[ni.number - 1] != 543);
   4680 
   4681   ;
   4682   return 0;
   4683 }
   4684 _ACEOF
   4685 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4686 do
   4687   CC="$ac_save_CC $ac_arg"
   4688   if ac_fn_c_try_compile "$LINENO"; then :
   4689   ac_cv_prog_cc_c99=$ac_arg
   4690 fi
   4691 rm -f core conftest.err conftest.$ac_objext
   4692   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4693 done
   4694 rm -f conftest.$ac_ext
   4695 CC=$ac_save_CC
   4696 
   4697 fi
   4698 # AC_CACHE_VAL
   4699 case "x$ac_cv_prog_cc_c99" in
   4700   x)
   4701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4702 $as_echo "none needed" >&6; } ;;
   4703   xno)
   4704     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4705 $as_echo "unsupported" >&6; } ;;
   4706   *)
   4707     CC="$CC $ac_cv_prog_cc_c99"
   4708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4709 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4710 esac
   4711 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4712 
   4713 fi
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4721 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4722   CLANGCC="yes"
   4723 else
   4724   CLANGCC="no"
   4725 fi
   4726 
   4727 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4728 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4729   INTELCC="yes"
   4730 else
   4731   INTELCC="no"
   4732 fi
   4733 
   4734 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4735 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4736   SUNCC="yes"
   4737 else
   4738   SUNCC="no"
   4739 fi
   4740 
   4741 
   4742 
   4743 
   4744 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4745 	if test -n "$ac_tool_prefix"; then
   4746   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4747 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4749 $as_echo_n "checking for $ac_word... " >&6; }
   4750 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4751   $as_echo_n "(cached) " >&6
   4752 else
   4753   case $PKG_CONFIG in
   4754   [\\/]* | ?:[\\/]*)
   4755   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4756   ;;
   4757   *)
   4758   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4759 for as_dir in $PATH
   4760 do
   4761   IFS=$as_save_IFS
   4762   test -z "$as_dir" && as_dir=.
   4763     for ac_exec_ext in '' $ac_executable_extensions; do
   4764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4765     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4767     break 2
   4768   fi
   4769 done
   4770   done
   4771 IFS=$as_save_IFS
   4772 
   4773   ;;
   4774 esac
   4775 fi
   4776 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4777 if test -n "$PKG_CONFIG"; then
   4778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4779 $as_echo "$PKG_CONFIG" >&6; }
   4780 else
   4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4782 $as_echo "no" >&6; }
   4783 fi
   4784 
   4785 
   4786 fi
   4787 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4788   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4789   # Extract the first word of "pkg-config", so it can be a program name with args.
   4790 set dummy pkg-config; ac_word=$2
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4792 $as_echo_n "checking for $ac_word... " >&6; }
   4793 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4794   $as_echo_n "(cached) " >&6
   4795 else
   4796   case $ac_pt_PKG_CONFIG in
   4797   [\\/]* | ?:[\\/]*)
   4798   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4799   ;;
   4800   *)
   4801   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4802 for as_dir in $PATH
   4803 do
   4804   IFS=$as_save_IFS
   4805   test -z "$as_dir" && as_dir=.
   4806     for ac_exec_ext in '' $ac_executable_extensions; do
   4807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4808     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4810     break 2
   4811   fi
   4812 done
   4813   done
   4814 IFS=$as_save_IFS
   4815 
   4816   ;;
   4817 esac
   4818 fi
   4819 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4820 if test -n "$ac_pt_PKG_CONFIG"; then
   4821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4822 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4823 else
   4824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4825 $as_echo "no" >&6; }
   4826 fi
   4827 
   4828   if test "x$ac_pt_PKG_CONFIG" = x; then
   4829     PKG_CONFIG=""
   4830   else
   4831     case $cross_compiling:$ac_tool_warned in
   4832 yes:)
   4833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4835 ac_tool_warned=yes ;;
   4836 esac
   4837     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4838   fi
   4839 else
   4840   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4841 fi
   4842 
   4843 fi
   4844 if test -n "$PKG_CONFIG"; then
   4845 	_pkg_min_version=0.9.0
   4846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4847 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4848 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4850 $as_echo "yes" >&6; }
   4851 	else
   4852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4853 $as_echo "no" >&6; }
   4854 		PKG_CONFIG=""
   4855 	fi
   4856 
   4857 fi
   4858 # Make sure we can run config.sub.
   4859 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4860   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4861 
   4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4863 $as_echo_n "checking build system type... " >&6; }
   4864 if ${ac_cv_build+:} false; then :
   4865   $as_echo_n "(cached) " >&6
   4866 else
   4867   ac_build_alias=$build_alias
   4868 test "x$ac_build_alias" = x &&
   4869   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4870 test "x$ac_build_alias" = x &&
   4871   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4873   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4874 
   4875 fi
   4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4877 $as_echo "$ac_cv_build" >&6; }
   4878 case $ac_cv_build in
   4879 *-*-*) ;;
   4880 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4881 esac
   4882 build=$ac_cv_build
   4883 ac_save_IFS=$IFS; IFS='-'
   4884 set x $ac_cv_build
   4885 shift
   4886 build_cpu=$1
   4887 build_vendor=$2
   4888 shift; shift
   4889 # Remember, the first character of IFS is used to create $*,
   4890 # except with old shells:
   4891 build_os=$*
   4892 IFS=$ac_save_IFS
   4893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4894 
   4895 
   4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4897 $as_echo_n "checking host system type... " >&6; }
   4898 if ${ac_cv_host+:} false; then :
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   if test "x$host_alias" = x; then
   4902   ac_cv_host=$ac_cv_build
   4903 else
   4904   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4905     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4906 fi
   4907 
   4908 fi
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4910 $as_echo "$ac_cv_host" >&6; }
   4911 case $ac_cv_host in
   4912 *-*-*) ;;
   4913 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4914 esac
   4915 host=$ac_cv_host
   4916 ac_save_IFS=$IFS; IFS='-'
   4917 set x $ac_cv_host
   4918 shift
   4919 host_cpu=$1
   4920 host_vendor=$2
   4921 shift; shift
   4922 # Remember, the first character of IFS is used to create $*,
   4923 # except with old shells:
   4924 host_os=$*
   4925 IFS=$ac_save_IFS
   4926 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4927 
   4928 
   4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4930 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4931 if ${ac_cv_path_SED+:} false; then :
   4932   $as_echo_n "(cached) " >&6
   4933 else
   4934             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4935      for ac_i in 1 2 3 4 5 6 7; do
   4936        ac_script="$ac_script$as_nl$ac_script"
   4937      done
   4938      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4939      { ac_script=; unset ac_script;}
   4940      if test -z "$SED"; then
   4941   ac_path_SED_found=false
   4942   # Loop through the user's path and test for each of PROGNAME-LIST
   4943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4944 for as_dir in $PATH
   4945 do
   4946   IFS=$as_save_IFS
   4947   test -z "$as_dir" && as_dir=.
   4948     for ac_prog in sed gsed; do
   4949     for ac_exec_ext in '' $ac_executable_extensions; do
   4950       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4951       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4952 # Check for GNU ac_path_SED and select it if it is found.
   4953   # Check for GNU $ac_path_SED
   4954 case `"$ac_path_SED" --version 2>&1` in
   4955 *GNU*)
   4956   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4957 *)
   4958   ac_count=0
   4959   $as_echo_n 0123456789 >"conftest.in"
   4960   while :
   4961   do
   4962     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4963     mv "conftest.tmp" "conftest.in"
   4964     cp "conftest.in" "conftest.nl"
   4965     $as_echo '' >> "conftest.nl"
   4966     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4967     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4968     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4969     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4970       # Best one so far, save it but keep looking for a better one
   4971       ac_cv_path_SED="$ac_path_SED"
   4972       ac_path_SED_max=$ac_count
   4973     fi
   4974     # 10*(2^10) chars as input seems more than enough
   4975     test $ac_count -gt 10 && break
   4976   done
   4977   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4978 esac
   4979 
   4980       $ac_path_SED_found && break 3
   4981     done
   4982   done
   4983   done
   4984 IFS=$as_save_IFS
   4985   if test -z "$ac_cv_path_SED"; then
   4986     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4987   fi
   4988 else
   4989   ac_cv_path_SED=$SED
   4990 fi
   4991 
   4992 fi
   4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4994 $as_echo "$ac_cv_path_SED" >&6; }
   4995  SED="$ac_cv_path_SED"
   4996   rm -f conftest.sed
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 # Check whether --enable-selective-werror was given.
   5004 if test "${enable_selective_werror+set}" = set; then :
   5005   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5006 else
   5007   SELECTIVE_WERROR=yes
   5008 fi
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5015 if test "x$SUNCC" = "xyes"; then
   5016     BASE_CFLAGS="-v"
   5017 else
   5018     BASE_CFLAGS=""
   5019 fi
   5020 
   5021 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 xorg_testset_save_CFLAGS="$CFLAGS"
   5036 
   5037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 int i;
   5047 _ACEOF
   5048 if ac_fn_c_try_compile "$LINENO"; then :
   5049   xorg_cv_cc_flag_unknown_warning_option=yes
   5050 else
   5051   xorg_cv_cc_flag_unknown_warning_option=no
   5052 fi
   5053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5054 fi
   5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5058 	CFLAGS="$xorg_testset_save_CFLAGS"
   5059 fi
   5060 
   5061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5064 	fi
   5065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5069   $as_echo_n "(cached) " >&6
   5070 else
   5071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 _ACEOF
   5075 if ac_fn_c_try_compile "$LINENO"; then :
   5076   xorg_cv_cc_flag_unused_command_line_argument=yes
   5077 else
   5078   xorg_cv_cc_flag_unused_command_line_argument=no
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5081 fi
   5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5085 	CFLAGS="$xorg_testset_save_CFLAGS"
   5086 fi
   5087 
   5088 found="no"
   5089 
   5090 	if test $found = "no" ; then
   5091 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5093 		fi
   5094 
   5095 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5097 		fi
   5098 
   5099 		CFLAGS="$CFLAGS -Wall"
   5100 
   5101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5102 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5103 		cacheid=xorg_cv_cc_flag__Wall
   5104 		if eval \${$cacheid+:} false; then :
   5105   $as_echo_n "(cached) " >&6
   5106 else
   5107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5108 /* end confdefs.h.  */
   5109 int i;
   5110 int
   5111 main ()
   5112 {
   5113 
   5114   ;
   5115   return 0;
   5116 }
   5117 _ACEOF
   5118 if ac_fn_c_try_link "$LINENO"; then :
   5119   eval $cacheid=yes
   5120 else
   5121   eval $cacheid=no
   5122 fi
   5123 rm -f core conftest.err conftest.$ac_objext \
   5124     conftest$ac_exeext conftest.$ac_ext
   5125 fi
   5126 
   5127 
   5128 		CFLAGS="$xorg_testset_save_CFLAGS"
   5129 
   5130 		eval supported=\$$cacheid
   5131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5132 $as_echo "$supported" >&6; }
   5133 		if test "$supported" = "yes" ; then
   5134 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5135 			found="yes"
   5136 		fi
   5137 	fi
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 xorg_testset_save_CFLAGS="$CFLAGS"
   5154 
   5155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 int i;
   5165 _ACEOF
   5166 if ac_fn_c_try_compile "$LINENO"; then :
   5167   xorg_cv_cc_flag_unknown_warning_option=yes
   5168 else
   5169   xorg_cv_cc_flag_unknown_warning_option=no
   5170 fi
   5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5172 fi
   5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5176 	CFLAGS="$xorg_testset_save_CFLAGS"
   5177 fi
   5178 
   5179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5182 	fi
   5183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5187   $as_echo_n "(cached) " >&6
   5188 else
   5189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5190 /* end confdefs.h.  */
   5191 int i;
   5192 _ACEOF
   5193 if ac_fn_c_try_compile "$LINENO"; then :
   5194   xorg_cv_cc_flag_unused_command_line_argument=yes
   5195 else
   5196   xorg_cv_cc_flag_unused_command_line_argument=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5199 fi
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5203 	CFLAGS="$xorg_testset_save_CFLAGS"
   5204 fi
   5205 
   5206 found="no"
   5207 
   5208 	if test $found = "no" ; then
   5209 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5211 		fi
   5212 
   5213 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5215 		fi
   5216 
   5217 		CFLAGS="$CFLAGS -Wpointer-arith"
   5218 
   5219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5220 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5221 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5222 		if eval \${$cacheid+:} false; then :
   5223   $as_echo_n "(cached) " >&6
   5224 else
   5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 int i;
   5228 int
   5229 main ()
   5230 {
   5231 
   5232   ;
   5233   return 0;
   5234 }
   5235 _ACEOF
   5236 if ac_fn_c_try_link "$LINENO"; then :
   5237   eval $cacheid=yes
   5238 else
   5239   eval $cacheid=no
   5240 fi
   5241 rm -f core conftest.err conftest.$ac_objext \
   5242     conftest$ac_exeext conftest.$ac_ext
   5243 fi
   5244 
   5245 
   5246 		CFLAGS="$xorg_testset_save_CFLAGS"
   5247 
   5248 		eval supported=\$$cacheid
   5249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5250 $as_echo "$supported" >&6; }
   5251 		if test "$supported" = "yes" ; then
   5252 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5253 			found="yes"
   5254 		fi
   5255 	fi
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 xorg_testset_save_CFLAGS="$CFLAGS"
   5272 
   5273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5278   $as_echo_n "(cached) " >&6
   5279 else
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 _ACEOF
   5284 if ac_fn_c_try_compile "$LINENO"; then :
   5285   xorg_cv_cc_flag_unknown_warning_option=yes
   5286 else
   5287   xorg_cv_cc_flag_unknown_warning_option=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5290 fi
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5294 	CFLAGS="$xorg_testset_save_CFLAGS"
   5295 fi
   5296 
   5297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5300 	fi
   5301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"; then :
   5312   xorg_cv_cc_flag_unused_command_line_argument=yes
   5313 else
   5314   xorg_cv_cc_flag_unused_command_line_argument=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5317 fi
   5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5321 	CFLAGS="$xorg_testset_save_CFLAGS"
   5322 fi
   5323 
   5324 found="no"
   5325 
   5326 	if test $found = "no" ; then
   5327 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5329 		fi
   5330 
   5331 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5333 		fi
   5334 
   5335 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5336 
   5337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5338 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5339 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5340 		if eval \${$cacheid+:} false; then :
   5341   $as_echo_n "(cached) " >&6
   5342 else
   5343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5344 /* end confdefs.h.  */
   5345 int i;
   5346 int
   5347 main ()
   5348 {
   5349 
   5350   ;
   5351   return 0;
   5352 }
   5353 _ACEOF
   5354 if ac_fn_c_try_link "$LINENO"; then :
   5355   eval $cacheid=yes
   5356 else
   5357   eval $cacheid=no
   5358 fi
   5359 rm -f core conftest.err conftest.$ac_objext \
   5360     conftest$ac_exeext conftest.$ac_ext
   5361 fi
   5362 
   5363 
   5364 		CFLAGS="$xorg_testset_save_CFLAGS"
   5365 
   5366 		eval supported=\$$cacheid
   5367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5368 $as_echo "$supported" >&6; }
   5369 		if test "$supported" = "yes" ; then
   5370 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5371 			found="yes"
   5372 		fi
   5373 	fi
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 xorg_testset_save_CFLAGS="$CFLAGS"
   5390 
   5391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5399 /* end confdefs.h.  */
   5400 int i;
   5401 _ACEOF
   5402 if ac_fn_c_try_compile "$LINENO"; then :
   5403   xorg_cv_cc_flag_unknown_warning_option=yes
   5404 else
   5405   xorg_cv_cc_flag_unknown_warning_option=no
   5406 fi
   5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5408 fi
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5412 	CFLAGS="$xorg_testset_save_CFLAGS"
   5413 fi
   5414 
   5415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5418 	fi
   5419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5423   $as_echo_n "(cached) " >&6
   5424 else
   5425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5426 /* end confdefs.h.  */
   5427 int i;
   5428 _ACEOF
   5429 if ac_fn_c_try_compile "$LINENO"; then :
   5430   xorg_cv_cc_flag_unused_command_line_argument=yes
   5431 else
   5432   xorg_cv_cc_flag_unused_command_line_argument=no
   5433 fi
   5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5435 fi
   5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5439 	CFLAGS="$xorg_testset_save_CFLAGS"
   5440 fi
   5441 
   5442 found="no"
   5443 
   5444 	if test $found = "no" ; then
   5445 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5447 		fi
   5448 
   5449 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5451 		fi
   5452 
   5453 		CFLAGS="$CFLAGS -Wformat=2"
   5454 
   5455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5456 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5457 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5458 		if eval \${$cacheid+:} false; then :
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5462 /* end confdefs.h.  */
   5463 int i;
   5464 int
   5465 main ()
   5466 {
   5467 
   5468   ;
   5469   return 0;
   5470 }
   5471 _ACEOF
   5472 if ac_fn_c_try_link "$LINENO"; then :
   5473   eval $cacheid=yes
   5474 else
   5475   eval $cacheid=no
   5476 fi
   5477 rm -f core conftest.err conftest.$ac_objext \
   5478     conftest$ac_exeext conftest.$ac_ext
   5479 fi
   5480 
   5481 
   5482 		CFLAGS="$xorg_testset_save_CFLAGS"
   5483 
   5484 		eval supported=\$$cacheid
   5485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5486 $as_echo "$supported" >&6; }
   5487 		if test "$supported" = "yes" ; then
   5488 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5489 			found="yes"
   5490 		fi
   5491 	fi
   5492 
   5493 	if test $found = "no" ; then
   5494 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5496 		fi
   5497 
   5498 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5500 		fi
   5501 
   5502 		CFLAGS="$CFLAGS -Wformat"
   5503 
   5504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5505 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5506 		cacheid=xorg_cv_cc_flag__Wformat
   5507 		if eval \${$cacheid+:} false; then :
   5508   $as_echo_n "(cached) " >&6
   5509 else
   5510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5511 /* end confdefs.h.  */
   5512 int i;
   5513 int
   5514 main ()
   5515 {
   5516 
   5517   ;
   5518   return 0;
   5519 }
   5520 _ACEOF
   5521 if ac_fn_c_try_link "$LINENO"; then :
   5522   eval $cacheid=yes
   5523 else
   5524   eval $cacheid=no
   5525 fi
   5526 rm -f core conftest.err conftest.$ac_objext \
   5527     conftest$ac_exeext conftest.$ac_ext
   5528 fi
   5529 
   5530 
   5531 		CFLAGS="$xorg_testset_save_CFLAGS"
   5532 
   5533 		eval supported=\$$cacheid
   5534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5535 $as_echo "$supported" >&6; }
   5536 		if test "$supported" = "yes" ; then
   5537 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5538 			found="yes"
   5539 		fi
   5540 	fi
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 xorg_testset_save_CFLAGS="$CFLAGS"
   5559 
   5560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 int i;
   5570 _ACEOF
   5571 if ac_fn_c_try_compile "$LINENO"; then :
   5572   xorg_cv_cc_flag_unknown_warning_option=yes
   5573 else
   5574   xorg_cv_cc_flag_unknown_warning_option=no
   5575 fi
   5576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5577 fi
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5581 	CFLAGS="$xorg_testset_save_CFLAGS"
   5582 fi
   5583 
   5584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5587 	fi
   5588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5592   $as_echo_n "(cached) " >&6
   5593 else
   5594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5595 /* end confdefs.h.  */
   5596 int i;
   5597 _ACEOF
   5598 if ac_fn_c_try_compile "$LINENO"; then :
   5599   xorg_cv_cc_flag_unused_command_line_argument=yes
   5600 else
   5601   xorg_cv_cc_flag_unused_command_line_argument=no
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5604 fi
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5608 	CFLAGS="$xorg_testset_save_CFLAGS"
   5609 fi
   5610 
   5611 found="no"
   5612 
   5613 	if test $found = "no" ; then
   5614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5616 		fi
   5617 
   5618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5620 		fi
   5621 
   5622 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5623 
   5624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5625 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5626 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5627 		if eval \${$cacheid+:} false; then :
   5628   $as_echo_n "(cached) " >&6
   5629 else
   5630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 int i;
   5633 int
   5634 main ()
   5635 {
   5636 
   5637   ;
   5638   return 0;
   5639 }
   5640 _ACEOF
   5641 if ac_fn_c_try_link "$LINENO"; then :
   5642   eval $cacheid=yes
   5643 else
   5644   eval $cacheid=no
   5645 fi
   5646 rm -f core conftest.err conftest.$ac_objext \
   5647     conftest$ac_exeext conftest.$ac_ext
   5648 fi
   5649 
   5650 
   5651 		CFLAGS="$xorg_testset_save_CFLAGS"
   5652 
   5653 		eval supported=\$$cacheid
   5654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5655 $as_echo "$supported" >&6; }
   5656 		if test "$supported" = "yes" ; then
   5657 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5658 			found="yes"
   5659 		fi
   5660 	fi
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 xorg_testset_save_CFLAGS="$CFLAGS"
   5677 
   5678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5683   $as_echo_n "(cached) " >&6
   5684 else
   5685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5686 /* end confdefs.h.  */
   5687 int i;
   5688 _ACEOF
   5689 if ac_fn_c_try_compile "$LINENO"; then :
   5690   xorg_cv_cc_flag_unknown_warning_option=yes
   5691 else
   5692   xorg_cv_cc_flag_unknown_warning_option=no
   5693 fi
   5694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5695 fi
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5699 	CFLAGS="$xorg_testset_save_CFLAGS"
   5700 fi
   5701 
   5702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 	fi
   5706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5713 /* end confdefs.h.  */
   5714 int i;
   5715 _ACEOF
   5716 if ac_fn_c_try_compile "$LINENO"; then :
   5717   xorg_cv_cc_flag_unused_command_line_argument=yes
   5718 else
   5719   xorg_cv_cc_flag_unused_command_line_argument=no
   5720 fi
   5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5722 fi
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5726 	CFLAGS="$xorg_testset_save_CFLAGS"
   5727 fi
   5728 
   5729 found="no"
   5730 
   5731 	if test $found = "no" ; then
   5732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5734 		fi
   5735 
   5736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5738 		fi
   5739 
   5740 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5741 
   5742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5743 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5744 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5745 		if eval \${$cacheid+:} false; then :
   5746   $as_echo_n "(cached) " >&6
   5747 else
   5748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 int
   5752 main ()
   5753 {
   5754 
   5755   ;
   5756   return 0;
   5757 }
   5758 _ACEOF
   5759 if ac_fn_c_try_link "$LINENO"; then :
   5760   eval $cacheid=yes
   5761 else
   5762   eval $cacheid=no
   5763 fi
   5764 rm -f core conftest.err conftest.$ac_objext \
   5765     conftest$ac_exeext conftest.$ac_ext
   5766 fi
   5767 
   5768 
   5769 		CFLAGS="$xorg_testset_save_CFLAGS"
   5770 
   5771 		eval supported=\$$cacheid
   5772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5773 $as_echo "$supported" >&6; }
   5774 		if test "$supported" = "yes" ; then
   5775 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5776 			found="yes"
   5777 		fi
   5778 	fi
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 xorg_testset_save_CFLAGS="$CFLAGS"
   5795 
   5796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5804 /* end confdefs.h.  */
   5805 int i;
   5806 _ACEOF
   5807 if ac_fn_c_try_compile "$LINENO"; then :
   5808   xorg_cv_cc_flag_unknown_warning_option=yes
   5809 else
   5810   xorg_cv_cc_flag_unknown_warning_option=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5813 fi
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5817 	CFLAGS="$xorg_testset_save_CFLAGS"
   5818 fi
   5819 
   5820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5823 	fi
   5824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5831 /* end confdefs.h.  */
   5832 int i;
   5833 _ACEOF
   5834 if ac_fn_c_try_compile "$LINENO"; then :
   5835   xorg_cv_cc_flag_unused_command_line_argument=yes
   5836 else
   5837   xorg_cv_cc_flag_unused_command_line_argument=no
   5838 fi
   5839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5840 fi
   5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5844 	CFLAGS="$xorg_testset_save_CFLAGS"
   5845 fi
   5846 
   5847 found="no"
   5848 
   5849 	if test $found = "no" ; then
   5850 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5852 		fi
   5853 
   5854 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5856 		fi
   5857 
   5858 		CFLAGS="$CFLAGS -Wnested-externs"
   5859 
   5860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5861 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5862 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5863 		if eval \${$cacheid+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5867 /* end confdefs.h.  */
   5868 int i;
   5869 int
   5870 main ()
   5871 {
   5872 
   5873   ;
   5874   return 0;
   5875 }
   5876 _ACEOF
   5877 if ac_fn_c_try_link "$LINENO"; then :
   5878   eval $cacheid=yes
   5879 else
   5880   eval $cacheid=no
   5881 fi
   5882 rm -f core conftest.err conftest.$ac_objext \
   5883     conftest$ac_exeext conftest.$ac_ext
   5884 fi
   5885 
   5886 
   5887 		CFLAGS="$xorg_testset_save_CFLAGS"
   5888 
   5889 		eval supported=\$$cacheid
   5890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5891 $as_echo "$supported" >&6; }
   5892 		if test "$supported" = "yes" ; then
   5893 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5894 			found="yes"
   5895 		fi
   5896 	fi
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 xorg_testset_save_CFLAGS="$CFLAGS"
   5913 
   5914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5919   $as_echo_n "(cached) " >&6
   5920 else
   5921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5922 /* end confdefs.h.  */
   5923 int i;
   5924 _ACEOF
   5925 if ac_fn_c_try_compile "$LINENO"; then :
   5926   xorg_cv_cc_flag_unknown_warning_option=yes
   5927 else
   5928   xorg_cv_cc_flag_unknown_warning_option=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5931 fi
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5935 	CFLAGS="$xorg_testset_save_CFLAGS"
   5936 fi
   5937 
   5938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5941 	fi
   5942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5946   $as_echo_n "(cached) " >&6
   5947 else
   5948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5949 /* end confdefs.h.  */
   5950 int i;
   5951 _ACEOF
   5952 if ac_fn_c_try_compile "$LINENO"; then :
   5953   xorg_cv_cc_flag_unused_command_line_argument=yes
   5954 else
   5955   xorg_cv_cc_flag_unused_command_line_argument=no
   5956 fi
   5957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5958 fi
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5962 	CFLAGS="$xorg_testset_save_CFLAGS"
   5963 fi
   5964 
   5965 found="no"
   5966 
   5967 	if test $found = "no" ; then
   5968 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5970 		fi
   5971 
   5972 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5974 		fi
   5975 
   5976 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5977 
   5978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5979 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5980 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5981 		if eval \${$cacheid+:} false; then :
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 int
   5988 main ()
   5989 {
   5990 
   5991   ;
   5992   return 0;
   5993 }
   5994 _ACEOF
   5995 if ac_fn_c_try_link "$LINENO"; then :
   5996   eval $cacheid=yes
   5997 else
   5998   eval $cacheid=no
   5999 fi
   6000 rm -f core conftest.err conftest.$ac_objext \
   6001     conftest$ac_exeext conftest.$ac_ext
   6002 fi
   6003 
   6004 
   6005 		CFLAGS="$xorg_testset_save_CFLAGS"
   6006 
   6007 		eval supported=\$$cacheid
   6008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6009 $as_echo "$supported" >&6; }
   6010 		if test "$supported" = "yes" ; then
   6011 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6012 			found="yes"
   6013 		fi
   6014 	fi
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 xorg_testset_save_CFLAGS="$CFLAGS"
   6031 
   6032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6037   $as_echo_n "(cached) " >&6
   6038 else
   6039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6040 /* end confdefs.h.  */
   6041 int i;
   6042 _ACEOF
   6043 if ac_fn_c_try_compile "$LINENO"; then :
   6044   xorg_cv_cc_flag_unknown_warning_option=yes
   6045 else
   6046   xorg_cv_cc_flag_unknown_warning_option=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6049 fi
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6053 	CFLAGS="$xorg_testset_save_CFLAGS"
   6054 fi
   6055 
   6056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6059 	fi
   6060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6067 /* end confdefs.h.  */
   6068 int i;
   6069 _ACEOF
   6070 if ac_fn_c_try_compile "$LINENO"; then :
   6071   xorg_cv_cc_flag_unused_command_line_argument=yes
   6072 else
   6073   xorg_cv_cc_flag_unused_command_line_argument=no
   6074 fi
   6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6076 fi
   6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6080 	CFLAGS="$xorg_testset_save_CFLAGS"
   6081 fi
   6082 
   6083 found="no"
   6084 
   6085 	if test $found = "no" ; then
   6086 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6088 		fi
   6089 
   6090 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6092 		fi
   6093 
   6094 		CFLAGS="$CFLAGS -Wold-style-definition"
   6095 
   6096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6097 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6098 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6099 		if eval \${$cacheid+:} false; then :
   6100   $as_echo_n "(cached) " >&6
   6101 else
   6102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6103 /* end confdefs.h.  */
   6104 int i;
   6105 int
   6106 main ()
   6107 {
   6108 
   6109   ;
   6110   return 0;
   6111 }
   6112 _ACEOF
   6113 if ac_fn_c_try_link "$LINENO"; then :
   6114   eval $cacheid=yes
   6115 else
   6116   eval $cacheid=no
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext \
   6119     conftest$ac_exeext conftest.$ac_ext
   6120 fi
   6121 
   6122 
   6123 		CFLAGS="$xorg_testset_save_CFLAGS"
   6124 
   6125 		eval supported=\$$cacheid
   6126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6127 $as_echo "$supported" >&6; }
   6128 		if test "$supported" = "yes" ; then
   6129 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6130 			found="yes"
   6131 		fi
   6132 	fi
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 xorg_testset_save_CFLAGS="$CFLAGS"
   6149 
   6150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6153 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6154 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6155   $as_echo_n "(cached) " >&6
   6156 else
   6157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6158 /* end confdefs.h.  */
   6159 int i;
   6160 _ACEOF
   6161 if ac_fn_c_try_compile "$LINENO"; then :
   6162   xorg_cv_cc_flag_unknown_warning_option=yes
   6163 else
   6164   xorg_cv_cc_flag_unknown_warning_option=no
   6165 fi
   6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6167 fi
   6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6169 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6171 	CFLAGS="$xorg_testset_save_CFLAGS"
   6172 fi
   6173 
   6174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6177 	fi
   6178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6180 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6181 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6182   $as_echo_n "(cached) " >&6
   6183 else
   6184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6185 /* end confdefs.h.  */
   6186 int i;
   6187 _ACEOF
   6188 if ac_fn_c_try_compile "$LINENO"; then :
   6189   xorg_cv_cc_flag_unused_command_line_argument=yes
   6190 else
   6191   xorg_cv_cc_flag_unused_command_line_argument=no
   6192 fi
   6193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6194 fi
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6196 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6198 	CFLAGS="$xorg_testset_save_CFLAGS"
   6199 fi
   6200 
   6201 found="no"
   6202 
   6203 	if test $found = "no" ; then
   6204 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6206 		fi
   6207 
   6208 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6210 		fi
   6211 
   6212 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6213 
   6214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6215 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6216 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6217 		if eval \${$cacheid+:} false; then :
   6218   $as_echo_n "(cached) " >&6
   6219 else
   6220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6221 /* end confdefs.h.  */
   6222 int i;
   6223 int
   6224 main ()
   6225 {
   6226 
   6227   ;
   6228   return 0;
   6229 }
   6230 _ACEOF
   6231 if ac_fn_c_try_link "$LINENO"; then :
   6232   eval $cacheid=yes
   6233 else
   6234   eval $cacheid=no
   6235 fi
   6236 rm -f core conftest.err conftest.$ac_objext \
   6237     conftest$ac_exeext conftest.$ac_ext
   6238 fi
   6239 
   6240 
   6241 		CFLAGS="$xorg_testset_save_CFLAGS"
   6242 
   6243 		eval supported=\$$cacheid
   6244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6245 $as_echo "$supported" >&6; }
   6246 		if test "$supported" = "yes" ; then
   6247 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6248 			found="yes"
   6249 		fi
   6250 	fi
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 # This chunk adds additional warnings that could catch undesired effects.
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 xorg_testset_save_CFLAGS="$CFLAGS"
   6271 
   6272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6275 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6276 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6280 /* end confdefs.h.  */
   6281 int i;
   6282 _ACEOF
   6283 if ac_fn_c_try_compile "$LINENO"; then :
   6284   xorg_cv_cc_flag_unknown_warning_option=yes
   6285 else
   6286   xorg_cv_cc_flag_unknown_warning_option=no
   6287 fi
   6288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6289 fi
   6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6291 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6293 	CFLAGS="$xorg_testset_save_CFLAGS"
   6294 fi
   6295 
   6296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6299 	fi
   6300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6302 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6303 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6304   $as_echo_n "(cached) " >&6
   6305 else
   6306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6307 /* end confdefs.h.  */
   6308 int i;
   6309 _ACEOF
   6310 if ac_fn_c_try_compile "$LINENO"; then :
   6311   xorg_cv_cc_flag_unused_command_line_argument=yes
   6312 else
   6313   xorg_cv_cc_flag_unused_command_line_argument=no
   6314 fi
   6315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6316 fi
   6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6318 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6320 	CFLAGS="$xorg_testset_save_CFLAGS"
   6321 fi
   6322 
   6323 found="no"
   6324 
   6325 	if test $found = "no" ; then
   6326 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6328 		fi
   6329 
   6330 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6332 		fi
   6333 
   6334 		CFLAGS="$CFLAGS -Wunused"
   6335 
   6336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6337 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6338 		cacheid=xorg_cv_cc_flag__Wunused
   6339 		if eval \${$cacheid+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6343 /* end confdefs.h.  */
   6344 int i;
   6345 int
   6346 main ()
   6347 {
   6348 
   6349   ;
   6350   return 0;
   6351 }
   6352 _ACEOF
   6353 if ac_fn_c_try_link "$LINENO"; then :
   6354   eval $cacheid=yes
   6355 else
   6356   eval $cacheid=no
   6357 fi
   6358 rm -f core conftest.err conftest.$ac_objext \
   6359     conftest$ac_exeext conftest.$ac_ext
   6360 fi
   6361 
   6362 
   6363 		CFLAGS="$xorg_testset_save_CFLAGS"
   6364 
   6365 		eval supported=\$$cacheid
   6366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6367 $as_echo "$supported" >&6; }
   6368 		if test "$supported" = "yes" ; then
   6369 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6370 			found="yes"
   6371 		fi
   6372 	fi
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 xorg_testset_save_CFLAGS="$CFLAGS"
   6389 
   6390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6398 /* end confdefs.h.  */
   6399 int i;
   6400 _ACEOF
   6401 if ac_fn_c_try_compile "$LINENO"; then :
   6402   xorg_cv_cc_flag_unknown_warning_option=yes
   6403 else
   6404   xorg_cv_cc_flag_unknown_warning_option=no
   6405 fi
   6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6407 fi
   6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6411 	CFLAGS="$xorg_testset_save_CFLAGS"
   6412 fi
   6413 
   6414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6417 	fi
   6418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6422   $as_echo_n "(cached) " >&6
   6423 else
   6424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6425 /* end confdefs.h.  */
   6426 int i;
   6427 _ACEOF
   6428 if ac_fn_c_try_compile "$LINENO"; then :
   6429   xorg_cv_cc_flag_unused_command_line_argument=yes
   6430 else
   6431   xorg_cv_cc_flag_unused_command_line_argument=no
   6432 fi
   6433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6434 fi
   6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6438 	CFLAGS="$xorg_testset_save_CFLAGS"
   6439 fi
   6440 
   6441 found="no"
   6442 
   6443 	if test $found = "no" ; then
   6444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 		fi
   6447 
   6448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6450 		fi
   6451 
   6452 		CFLAGS="$CFLAGS -Wuninitialized"
   6453 
   6454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6455 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6456 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6457 		if eval \${$cacheid+:} false; then :
   6458   $as_echo_n "(cached) " >&6
   6459 else
   6460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6461 /* end confdefs.h.  */
   6462 int i;
   6463 int
   6464 main ()
   6465 {
   6466 
   6467   ;
   6468   return 0;
   6469 }
   6470 _ACEOF
   6471 if ac_fn_c_try_link "$LINENO"; then :
   6472   eval $cacheid=yes
   6473 else
   6474   eval $cacheid=no
   6475 fi
   6476 rm -f core conftest.err conftest.$ac_objext \
   6477     conftest$ac_exeext conftest.$ac_ext
   6478 fi
   6479 
   6480 
   6481 		CFLAGS="$xorg_testset_save_CFLAGS"
   6482 
   6483 		eval supported=\$$cacheid
   6484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6485 $as_echo "$supported" >&6; }
   6486 		if test "$supported" = "yes" ; then
   6487 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6488 			found="yes"
   6489 		fi
   6490 	fi
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 xorg_testset_save_CFLAGS="$CFLAGS"
   6507 
   6508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6511 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6512 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6513   $as_echo_n "(cached) " >&6
   6514 else
   6515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6516 /* end confdefs.h.  */
   6517 int i;
   6518 _ACEOF
   6519 if ac_fn_c_try_compile "$LINENO"; then :
   6520   xorg_cv_cc_flag_unknown_warning_option=yes
   6521 else
   6522   xorg_cv_cc_flag_unknown_warning_option=no
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6525 fi
   6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6527 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6528 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6529 	CFLAGS="$xorg_testset_save_CFLAGS"
   6530 fi
   6531 
   6532 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6533 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6534 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6535 	fi
   6536 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6538 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6539 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6540   $as_echo_n "(cached) " >&6
   6541 else
   6542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6543 /* end confdefs.h.  */
   6544 int i;
   6545 _ACEOF
   6546 if ac_fn_c_try_compile "$LINENO"; then :
   6547   xorg_cv_cc_flag_unused_command_line_argument=yes
   6548 else
   6549   xorg_cv_cc_flag_unused_command_line_argument=no
   6550 fi
   6551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6552 fi
   6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6554 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6555 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6556 	CFLAGS="$xorg_testset_save_CFLAGS"
   6557 fi
   6558 
   6559 found="no"
   6560 
   6561 	if test $found = "no" ; then
   6562 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6563 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6564 		fi
   6565 
   6566 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6567 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6568 		fi
   6569 
   6570 		CFLAGS="$CFLAGS -Wshadow"
   6571 
   6572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6573 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6574 		cacheid=xorg_cv_cc_flag__Wshadow
   6575 		if eval \${$cacheid+:} false; then :
   6576   $as_echo_n "(cached) " >&6
   6577 else
   6578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 int i;
   6581 int
   6582 main ()
   6583 {
   6584 
   6585   ;
   6586   return 0;
   6587 }
   6588 _ACEOF
   6589 if ac_fn_c_try_link "$LINENO"; then :
   6590   eval $cacheid=yes
   6591 else
   6592   eval $cacheid=no
   6593 fi
   6594 rm -f core conftest.err conftest.$ac_objext \
   6595     conftest$ac_exeext conftest.$ac_ext
   6596 fi
   6597 
   6598 
   6599 		CFLAGS="$xorg_testset_save_CFLAGS"
   6600 
   6601 		eval supported=\$$cacheid
   6602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6603 $as_echo "$supported" >&6; }
   6604 		if test "$supported" = "yes" ; then
   6605 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6606 			found="yes"
   6607 		fi
   6608 	fi
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 xorg_testset_save_CFLAGS="$CFLAGS"
   6625 
   6626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6629 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6630 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6631   $as_echo_n "(cached) " >&6
   6632 else
   6633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6634 /* end confdefs.h.  */
   6635 int i;
   6636 _ACEOF
   6637 if ac_fn_c_try_compile "$LINENO"; then :
   6638   xorg_cv_cc_flag_unknown_warning_option=yes
   6639 else
   6640   xorg_cv_cc_flag_unknown_warning_option=no
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6643 fi
   6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6645 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6647 	CFLAGS="$xorg_testset_save_CFLAGS"
   6648 fi
   6649 
   6650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6653 	fi
   6654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6656 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6657 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6658   $as_echo_n "(cached) " >&6
   6659 else
   6660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6661 /* end confdefs.h.  */
   6662 int i;
   6663 _ACEOF
   6664 if ac_fn_c_try_compile "$LINENO"; then :
   6665   xorg_cv_cc_flag_unused_command_line_argument=yes
   6666 else
   6667   xorg_cv_cc_flag_unused_command_line_argument=no
   6668 fi
   6669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6670 fi
   6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6672 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6674 	CFLAGS="$xorg_testset_save_CFLAGS"
   6675 fi
   6676 
   6677 found="no"
   6678 
   6679 	if test $found = "no" ; then
   6680 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 		fi
   6683 
   6684 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6686 		fi
   6687 
   6688 		CFLAGS="$CFLAGS -Wcast-qual"
   6689 
   6690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6691 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6692 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6693 		if eval \${$cacheid+:} false; then :
   6694   $as_echo_n "(cached) " >&6
   6695 else
   6696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6697 /* end confdefs.h.  */
   6698 int i;
   6699 int
   6700 main ()
   6701 {
   6702 
   6703   ;
   6704   return 0;
   6705 }
   6706 _ACEOF
   6707 if ac_fn_c_try_link "$LINENO"; then :
   6708   eval $cacheid=yes
   6709 else
   6710   eval $cacheid=no
   6711 fi
   6712 rm -f core conftest.err conftest.$ac_objext \
   6713     conftest$ac_exeext conftest.$ac_ext
   6714 fi
   6715 
   6716 
   6717 		CFLAGS="$xorg_testset_save_CFLAGS"
   6718 
   6719 		eval supported=\$$cacheid
   6720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6721 $as_echo "$supported" >&6; }
   6722 		if test "$supported" = "yes" ; then
   6723 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6724 			found="yes"
   6725 		fi
   6726 	fi
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 xorg_testset_save_CFLAGS="$CFLAGS"
   6743 
   6744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6748 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6749   $as_echo_n "(cached) " >&6
   6750 else
   6751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6752 /* end confdefs.h.  */
   6753 int i;
   6754 _ACEOF
   6755 if ac_fn_c_try_compile "$LINENO"; then :
   6756   xorg_cv_cc_flag_unknown_warning_option=yes
   6757 else
   6758   xorg_cv_cc_flag_unknown_warning_option=no
   6759 fi
   6760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6761 fi
   6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6765 	CFLAGS="$xorg_testset_save_CFLAGS"
   6766 fi
   6767 
   6768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6771 	fi
   6772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6776   $as_echo_n "(cached) " >&6
   6777 else
   6778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6779 /* end confdefs.h.  */
   6780 int i;
   6781 _ACEOF
   6782 if ac_fn_c_try_compile "$LINENO"; then :
   6783   xorg_cv_cc_flag_unused_command_line_argument=yes
   6784 else
   6785   xorg_cv_cc_flag_unused_command_line_argument=no
   6786 fi
   6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6788 fi
   6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6792 	CFLAGS="$xorg_testset_save_CFLAGS"
   6793 fi
   6794 
   6795 found="no"
   6796 
   6797 	if test $found = "no" ; then
   6798 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6800 		fi
   6801 
   6802 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6804 		fi
   6805 
   6806 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6807 
   6808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6809 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6810 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6811 		if eval \${$cacheid+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6815 /* end confdefs.h.  */
   6816 int i;
   6817 int
   6818 main ()
   6819 {
   6820 
   6821   ;
   6822   return 0;
   6823 }
   6824 _ACEOF
   6825 if ac_fn_c_try_link "$LINENO"; then :
   6826   eval $cacheid=yes
   6827 else
   6828   eval $cacheid=no
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext \
   6831     conftest$ac_exeext conftest.$ac_ext
   6832 fi
   6833 
   6834 
   6835 		CFLAGS="$xorg_testset_save_CFLAGS"
   6836 
   6837 		eval supported=\$$cacheid
   6838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6839 $as_echo "$supported" >&6; }
   6840 		if test "$supported" = "yes" ; then
   6841 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6842 			found="yes"
   6843 		fi
   6844 	fi
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 xorg_testset_save_CFLAGS="$CFLAGS"
   6861 
   6862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6867   $as_echo_n "(cached) " >&6
   6868 else
   6869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6870 /* end confdefs.h.  */
   6871 int i;
   6872 _ACEOF
   6873 if ac_fn_c_try_compile "$LINENO"; then :
   6874   xorg_cv_cc_flag_unknown_warning_option=yes
   6875 else
   6876   xorg_cv_cc_flag_unknown_warning_option=no
   6877 fi
   6878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6879 fi
   6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6883 	CFLAGS="$xorg_testset_save_CFLAGS"
   6884 fi
   6885 
   6886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6889 	fi
   6890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6894   $as_echo_n "(cached) " >&6
   6895 else
   6896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6897 /* end confdefs.h.  */
   6898 int i;
   6899 _ACEOF
   6900 if ac_fn_c_try_compile "$LINENO"; then :
   6901   xorg_cv_cc_flag_unused_command_line_argument=yes
   6902 else
   6903   xorg_cv_cc_flag_unused_command_line_argument=no
   6904 fi
   6905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6906 fi
   6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6910 	CFLAGS="$xorg_testset_save_CFLAGS"
   6911 fi
   6912 
   6913 found="no"
   6914 
   6915 	if test $found = "no" ; then
   6916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6918 		fi
   6919 
   6920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6922 		fi
   6923 
   6924 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6925 
   6926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6927 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6928 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6929 		if eval \${$cacheid+:} false; then :
   6930   $as_echo_n "(cached) " >&6
   6931 else
   6932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6933 /* end confdefs.h.  */
   6934 int i;
   6935 int
   6936 main ()
   6937 {
   6938 
   6939   ;
   6940   return 0;
   6941 }
   6942 _ACEOF
   6943 if ac_fn_c_try_link "$LINENO"; then :
   6944   eval $cacheid=yes
   6945 else
   6946   eval $cacheid=no
   6947 fi
   6948 rm -f core conftest.err conftest.$ac_objext \
   6949     conftest$ac_exeext conftest.$ac_ext
   6950 fi
   6951 
   6952 
   6953 		CFLAGS="$xorg_testset_save_CFLAGS"
   6954 
   6955 		eval supported=\$$cacheid
   6956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6957 $as_echo "$supported" >&6; }
   6958 		if test "$supported" = "yes" ; then
   6959 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6960 			found="yes"
   6961 		fi
   6962 	fi
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 xorg_testset_save_CFLAGS="$CFLAGS"
   6979 
   6980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6985   $as_echo_n "(cached) " >&6
   6986 else
   6987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6988 /* end confdefs.h.  */
   6989 int i;
   6990 _ACEOF
   6991 if ac_fn_c_try_compile "$LINENO"; then :
   6992   xorg_cv_cc_flag_unknown_warning_option=yes
   6993 else
   6994   xorg_cv_cc_flag_unknown_warning_option=no
   6995 fi
   6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6997 fi
   6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7001 	CFLAGS="$xorg_testset_save_CFLAGS"
   7002 fi
   7003 
   7004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7007 	fi
   7008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7012   $as_echo_n "(cached) " >&6
   7013 else
   7014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7015 /* end confdefs.h.  */
   7016 int i;
   7017 _ACEOF
   7018 if ac_fn_c_try_compile "$LINENO"; then :
   7019   xorg_cv_cc_flag_unused_command_line_argument=yes
   7020 else
   7021   xorg_cv_cc_flag_unused_command_line_argument=no
   7022 fi
   7023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7024 fi
   7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7028 	CFLAGS="$xorg_testset_save_CFLAGS"
   7029 fi
   7030 
   7031 found="no"
   7032 
   7033 	if test $found = "no" ; then
   7034 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7036 		fi
   7037 
   7038 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7040 		fi
   7041 
   7042 		CFLAGS="$CFLAGS -Wredundant-decls"
   7043 
   7044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7045 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7046 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7047 		if eval \${$cacheid+:} false; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7051 /* end confdefs.h.  */
   7052 int i;
   7053 int
   7054 main ()
   7055 {
   7056 
   7057   ;
   7058   return 0;
   7059 }
   7060 _ACEOF
   7061 if ac_fn_c_try_link "$LINENO"; then :
   7062   eval $cacheid=yes
   7063 else
   7064   eval $cacheid=no
   7065 fi
   7066 rm -f core conftest.err conftest.$ac_objext \
   7067     conftest$ac_exeext conftest.$ac_ext
   7068 fi
   7069 
   7070 
   7071 		CFLAGS="$xorg_testset_save_CFLAGS"
   7072 
   7073 		eval supported=\$$cacheid
   7074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7075 $as_echo "$supported" >&6; }
   7076 		if test "$supported" = "yes" ; then
   7077 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7078 			found="yes"
   7079 		fi
   7080 	fi
   7081 
   7082 
   7083 
   7084 # These are currently disabled because they are noisy.  They will be enabled
   7085 # in the future once the codebase is sufficiently modernized to silence
   7086 # them.  For now, I don't want them to drown out the other warnings.
   7087 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   7088 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7089 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7090 
   7091 # Turn some warnings into errors, so we don't accidently get successful builds
   7092 # when there are problems that should be fixed.
   7093 
   7094 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 xorg_testset_save_CFLAGS="$CFLAGS"
   7109 
   7110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7113 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7114 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7115   $as_echo_n "(cached) " >&6
   7116 else
   7117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7118 /* end confdefs.h.  */
   7119 int i;
   7120 _ACEOF
   7121 if ac_fn_c_try_compile "$LINENO"; then :
   7122   xorg_cv_cc_flag_unknown_warning_option=yes
   7123 else
   7124   xorg_cv_cc_flag_unknown_warning_option=no
   7125 fi
   7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7127 fi
   7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7129 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7131 	CFLAGS="$xorg_testset_save_CFLAGS"
   7132 fi
   7133 
   7134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7137 	fi
   7138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7140 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7141 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7142   $as_echo_n "(cached) " >&6
   7143 else
   7144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7145 /* end confdefs.h.  */
   7146 int i;
   7147 _ACEOF
   7148 if ac_fn_c_try_compile "$LINENO"; then :
   7149   xorg_cv_cc_flag_unused_command_line_argument=yes
   7150 else
   7151   xorg_cv_cc_flag_unused_command_line_argument=no
   7152 fi
   7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7154 fi
   7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7156 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7158 	CFLAGS="$xorg_testset_save_CFLAGS"
   7159 fi
   7160 
   7161 found="no"
   7162 
   7163 	if test $found = "no" ; then
   7164 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 		fi
   7167 
   7168 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7170 		fi
   7171 
   7172 		CFLAGS="$CFLAGS -Werror=implicit"
   7173 
   7174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7175 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7176 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   7177 		if eval \${$cacheid+:} false; then :
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 int
   7184 main ()
   7185 {
   7186 
   7187   ;
   7188   return 0;
   7189 }
   7190 _ACEOF
   7191 if ac_fn_c_try_link "$LINENO"; then :
   7192   eval $cacheid=yes
   7193 else
   7194   eval $cacheid=no
   7195 fi
   7196 rm -f core conftest.err conftest.$ac_objext \
   7197     conftest$ac_exeext conftest.$ac_ext
   7198 fi
   7199 
   7200 
   7201 		CFLAGS="$xorg_testset_save_CFLAGS"
   7202 
   7203 		eval supported=\$$cacheid
   7204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7205 $as_echo "$supported" >&6; }
   7206 		if test "$supported" = "yes" ; then
   7207 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7208 			found="yes"
   7209 		fi
   7210 	fi
   7211 
   7212 	if test $found = "no" ; then
   7213 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7215 		fi
   7216 
   7217 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7219 		fi
   7220 
   7221 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7222 
   7223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7224 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7225 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   7226 		if eval \${$cacheid+:} false; then :
   7227   $as_echo_n "(cached) " >&6
   7228 else
   7229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7230 /* end confdefs.h.  */
   7231 int i;
   7232 int
   7233 main ()
   7234 {
   7235 
   7236   ;
   7237   return 0;
   7238 }
   7239 _ACEOF
   7240 if ac_fn_c_try_link "$LINENO"; then :
   7241   eval $cacheid=yes
   7242 else
   7243   eval $cacheid=no
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_objext \
   7246     conftest$ac_exeext conftest.$ac_ext
   7247 fi
   7248 
   7249 
   7250 		CFLAGS="$xorg_testset_save_CFLAGS"
   7251 
   7252 		eval supported=\$$cacheid
   7253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7254 $as_echo "$supported" >&6; }
   7255 		if test "$supported" = "yes" ; then
   7256 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7257 			found="yes"
   7258 		fi
   7259 	fi
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 xorg_testset_save_CFLAGS="$CFLAGS"
   7276 
   7277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7282   $as_echo_n "(cached) " >&6
   7283 else
   7284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7285 /* end confdefs.h.  */
   7286 int i;
   7287 _ACEOF
   7288 if ac_fn_c_try_compile "$LINENO"; then :
   7289   xorg_cv_cc_flag_unknown_warning_option=yes
   7290 else
   7291   xorg_cv_cc_flag_unknown_warning_option=no
   7292 fi
   7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7294 fi
   7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7298 	CFLAGS="$xorg_testset_save_CFLAGS"
   7299 fi
   7300 
   7301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7304 	fi
   7305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7309   $as_echo_n "(cached) " >&6
   7310 else
   7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7312 /* end confdefs.h.  */
   7313 int i;
   7314 _ACEOF
   7315 if ac_fn_c_try_compile "$LINENO"; then :
   7316   xorg_cv_cc_flag_unused_command_line_argument=yes
   7317 else
   7318   xorg_cv_cc_flag_unused_command_line_argument=no
   7319 fi
   7320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7321 fi
   7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7325 	CFLAGS="$xorg_testset_save_CFLAGS"
   7326 fi
   7327 
   7328 found="no"
   7329 
   7330 	if test $found = "no" ; then
   7331 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7333 		fi
   7334 
   7335 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7337 		fi
   7338 
   7339 		CFLAGS="$CFLAGS -Werror=nonnull"
   7340 
   7341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7342 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7343 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7344 		if eval \${$cacheid+:} false; then :
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 int i;
   7350 int
   7351 main ()
   7352 {
   7353 
   7354   ;
   7355   return 0;
   7356 }
   7357 _ACEOF
   7358 if ac_fn_c_try_link "$LINENO"; then :
   7359   eval $cacheid=yes
   7360 else
   7361   eval $cacheid=no
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext \
   7364     conftest$ac_exeext conftest.$ac_ext
   7365 fi
   7366 
   7367 
   7368 		CFLAGS="$xorg_testset_save_CFLAGS"
   7369 
   7370 		eval supported=\$$cacheid
   7371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7372 $as_echo "$supported" >&6; }
   7373 		if test "$supported" = "yes" ; then
   7374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7375 			found="yes"
   7376 		fi
   7377 	fi
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 xorg_testset_save_CFLAGS="$CFLAGS"
   7394 
   7395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7400   $as_echo_n "(cached) " >&6
   7401 else
   7402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7403 /* end confdefs.h.  */
   7404 int i;
   7405 _ACEOF
   7406 if ac_fn_c_try_compile "$LINENO"; then :
   7407   xorg_cv_cc_flag_unknown_warning_option=yes
   7408 else
   7409   xorg_cv_cc_flag_unknown_warning_option=no
   7410 fi
   7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7412 fi
   7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7416 	CFLAGS="$xorg_testset_save_CFLAGS"
   7417 fi
   7418 
   7419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7422 	fi
   7423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7427   $as_echo_n "(cached) " >&6
   7428 else
   7429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7430 /* end confdefs.h.  */
   7431 int i;
   7432 _ACEOF
   7433 if ac_fn_c_try_compile "$LINENO"; then :
   7434   xorg_cv_cc_flag_unused_command_line_argument=yes
   7435 else
   7436   xorg_cv_cc_flag_unused_command_line_argument=no
   7437 fi
   7438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7439 fi
   7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7443 	CFLAGS="$xorg_testset_save_CFLAGS"
   7444 fi
   7445 
   7446 found="no"
   7447 
   7448 	if test $found = "no" ; then
   7449 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7451 		fi
   7452 
   7453 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7455 		fi
   7456 
   7457 		CFLAGS="$CFLAGS -Werror=init-self"
   7458 
   7459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7460 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7461 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7462 		if eval \${$cacheid+:} false; then :
   7463   $as_echo_n "(cached) " >&6
   7464 else
   7465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 int i;
   7468 int
   7469 main ()
   7470 {
   7471 
   7472   ;
   7473   return 0;
   7474 }
   7475 _ACEOF
   7476 if ac_fn_c_try_link "$LINENO"; then :
   7477   eval $cacheid=yes
   7478 else
   7479   eval $cacheid=no
   7480 fi
   7481 rm -f core conftest.err conftest.$ac_objext \
   7482     conftest$ac_exeext conftest.$ac_ext
   7483 fi
   7484 
   7485 
   7486 		CFLAGS="$xorg_testset_save_CFLAGS"
   7487 
   7488 		eval supported=\$$cacheid
   7489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7490 $as_echo "$supported" >&6; }
   7491 		if test "$supported" = "yes" ; then
   7492 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7493 			found="yes"
   7494 		fi
   7495 	fi
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 xorg_testset_save_CFLAGS="$CFLAGS"
   7512 
   7513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7518   $as_echo_n "(cached) " >&6
   7519 else
   7520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7521 /* end confdefs.h.  */
   7522 int i;
   7523 _ACEOF
   7524 if ac_fn_c_try_compile "$LINENO"; then :
   7525   xorg_cv_cc_flag_unknown_warning_option=yes
   7526 else
   7527   xorg_cv_cc_flag_unknown_warning_option=no
   7528 fi
   7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7530 fi
   7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7534 	CFLAGS="$xorg_testset_save_CFLAGS"
   7535 fi
   7536 
   7537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7540 	fi
   7541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7545   $as_echo_n "(cached) " >&6
   7546 else
   7547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7548 /* end confdefs.h.  */
   7549 int i;
   7550 _ACEOF
   7551 if ac_fn_c_try_compile "$LINENO"; then :
   7552   xorg_cv_cc_flag_unused_command_line_argument=yes
   7553 else
   7554   xorg_cv_cc_flag_unused_command_line_argument=no
   7555 fi
   7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7557 fi
   7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7561 	CFLAGS="$xorg_testset_save_CFLAGS"
   7562 fi
   7563 
   7564 found="no"
   7565 
   7566 	if test $found = "no" ; then
   7567 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7569 		fi
   7570 
   7571 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7573 		fi
   7574 
   7575 		CFLAGS="$CFLAGS -Werror=main"
   7576 
   7577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7578 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7579 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7580 		if eval \${$cacheid+:} false; then :
   7581   $as_echo_n "(cached) " >&6
   7582 else
   7583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7584 /* end confdefs.h.  */
   7585 int i;
   7586 int
   7587 main ()
   7588 {
   7589 
   7590   ;
   7591   return 0;
   7592 }
   7593 _ACEOF
   7594 if ac_fn_c_try_link "$LINENO"; then :
   7595   eval $cacheid=yes
   7596 else
   7597   eval $cacheid=no
   7598 fi
   7599 rm -f core conftest.err conftest.$ac_objext \
   7600     conftest$ac_exeext conftest.$ac_ext
   7601 fi
   7602 
   7603 
   7604 		CFLAGS="$xorg_testset_save_CFLAGS"
   7605 
   7606 		eval supported=\$$cacheid
   7607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7608 $as_echo "$supported" >&6; }
   7609 		if test "$supported" = "yes" ; then
   7610 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7611 			found="yes"
   7612 		fi
   7613 	fi
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 xorg_testset_save_CFLAGS="$CFLAGS"
   7630 
   7631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7634 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7635 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7636   $as_echo_n "(cached) " >&6
   7637 else
   7638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7639 /* end confdefs.h.  */
   7640 int i;
   7641 _ACEOF
   7642 if ac_fn_c_try_compile "$LINENO"; then :
   7643   xorg_cv_cc_flag_unknown_warning_option=yes
   7644 else
   7645   xorg_cv_cc_flag_unknown_warning_option=no
   7646 fi
   7647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7648 fi
   7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7650 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7652 	CFLAGS="$xorg_testset_save_CFLAGS"
   7653 fi
   7654 
   7655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7658 	fi
   7659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7661 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7662 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7663   $as_echo_n "(cached) " >&6
   7664 else
   7665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7666 /* end confdefs.h.  */
   7667 int i;
   7668 _ACEOF
   7669 if ac_fn_c_try_compile "$LINENO"; then :
   7670   xorg_cv_cc_flag_unused_command_line_argument=yes
   7671 else
   7672   xorg_cv_cc_flag_unused_command_line_argument=no
   7673 fi
   7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7675 fi
   7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7677 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7679 	CFLAGS="$xorg_testset_save_CFLAGS"
   7680 fi
   7681 
   7682 found="no"
   7683 
   7684 	if test $found = "no" ; then
   7685 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7687 		fi
   7688 
   7689 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7691 		fi
   7692 
   7693 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7694 
   7695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7696 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7697 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7698 		if eval \${$cacheid+:} false; then :
   7699   $as_echo_n "(cached) " >&6
   7700 else
   7701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7702 /* end confdefs.h.  */
   7703 int i;
   7704 int
   7705 main ()
   7706 {
   7707 
   7708   ;
   7709   return 0;
   7710 }
   7711 _ACEOF
   7712 if ac_fn_c_try_link "$LINENO"; then :
   7713   eval $cacheid=yes
   7714 else
   7715   eval $cacheid=no
   7716 fi
   7717 rm -f core conftest.err conftest.$ac_objext \
   7718     conftest$ac_exeext conftest.$ac_ext
   7719 fi
   7720 
   7721 
   7722 		CFLAGS="$xorg_testset_save_CFLAGS"
   7723 
   7724 		eval supported=\$$cacheid
   7725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7726 $as_echo "$supported" >&6; }
   7727 		if test "$supported" = "yes" ; then
   7728 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7729 			found="yes"
   7730 		fi
   7731 	fi
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 xorg_testset_save_CFLAGS="$CFLAGS"
   7748 
   7749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7754   $as_echo_n "(cached) " >&6
   7755 else
   7756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7757 /* end confdefs.h.  */
   7758 int i;
   7759 _ACEOF
   7760 if ac_fn_c_try_compile "$LINENO"; then :
   7761   xorg_cv_cc_flag_unknown_warning_option=yes
   7762 else
   7763   xorg_cv_cc_flag_unknown_warning_option=no
   7764 fi
   7765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7766 fi
   7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7770 	CFLAGS="$xorg_testset_save_CFLAGS"
   7771 fi
   7772 
   7773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7776 	fi
   7777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7781   $as_echo_n "(cached) " >&6
   7782 else
   7783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7784 /* end confdefs.h.  */
   7785 int i;
   7786 _ACEOF
   7787 if ac_fn_c_try_compile "$LINENO"; then :
   7788   xorg_cv_cc_flag_unused_command_line_argument=yes
   7789 else
   7790   xorg_cv_cc_flag_unused_command_line_argument=no
   7791 fi
   7792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7793 fi
   7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7797 	CFLAGS="$xorg_testset_save_CFLAGS"
   7798 fi
   7799 
   7800 found="no"
   7801 
   7802 	if test $found = "no" ; then
   7803 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7805 		fi
   7806 
   7807 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7809 		fi
   7810 
   7811 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7812 
   7813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7814 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7815 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7816 		if eval \${$cacheid+:} false; then :
   7817   $as_echo_n "(cached) " >&6
   7818 else
   7819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7820 /* end confdefs.h.  */
   7821 int i;
   7822 int
   7823 main ()
   7824 {
   7825 
   7826   ;
   7827   return 0;
   7828 }
   7829 _ACEOF
   7830 if ac_fn_c_try_link "$LINENO"; then :
   7831   eval $cacheid=yes
   7832 else
   7833   eval $cacheid=no
   7834 fi
   7835 rm -f core conftest.err conftest.$ac_objext \
   7836     conftest$ac_exeext conftest.$ac_ext
   7837 fi
   7838 
   7839 
   7840 		CFLAGS="$xorg_testset_save_CFLAGS"
   7841 
   7842 		eval supported=\$$cacheid
   7843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7844 $as_echo "$supported" >&6; }
   7845 		if test "$supported" = "yes" ; then
   7846 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7847 			found="yes"
   7848 		fi
   7849 	fi
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 xorg_testset_save_CFLAGS="$CFLAGS"
   7866 
   7867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7872   $as_echo_n "(cached) " >&6
   7873 else
   7874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7875 /* end confdefs.h.  */
   7876 int i;
   7877 _ACEOF
   7878 if ac_fn_c_try_compile "$LINENO"; then :
   7879   xorg_cv_cc_flag_unknown_warning_option=yes
   7880 else
   7881   xorg_cv_cc_flag_unknown_warning_option=no
   7882 fi
   7883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7884 fi
   7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7888 	CFLAGS="$xorg_testset_save_CFLAGS"
   7889 fi
   7890 
   7891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7894 	fi
   7895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7899   $as_echo_n "(cached) " >&6
   7900 else
   7901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7902 /* end confdefs.h.  */
   7903 int i;
   7904 _ACEOF
   7905 if ac_fn_c_try_compile "$LINENO"; then :
   7906   xorg_cv_cc_flag_unused_command_line_argument=yes
   7907 else
   7908   xorg_cv_cc_flag_unused_command_line_argument=no
   7909 fi
   7910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7911 fi
   7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7915 	CFLAGS="$xorg_testset_save_CFLAGS"
   7916 fi
   7917 
   7918 found="no"
   7919 
   7920 	if test $found = "no" ; then
   7921 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 		fi
   7924 
   7925 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7927 		fi
   7928 
   7929 		CFLAGS="$CFLAGS -Werror=return-type"
   7930 
   7931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7932 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7933 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7934 		if eval \${$cacheid+:} false; then :
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7938 /* end confdefs.h.  */
   7939 int i;
   7940 int
   7941 main ()
   7942 {
   7943 
   7944   ;
   7945   return 0;
   7946 }
   7947 _ACEOF
   7948 if ac_fn_c_try_link "$LINENO"; then :
   7949   eval $cacheid=yes
   7950 else
   7951   eval $cacheid=no
   7952 fi
   7953 rm -f core conftest.err conftest.$ac_objext \
   7954     conftest$ac_exeext conftest.$ac_ext
   7955 fi
   7956 
   7957 
   7958 		CFLAGS="$xorg_testset_save_CFLAGS"
   7959 
   7960 		eval supported=\$$cacheid
   7961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7962 $as_echo "$supported" >&6; }
   7963 		if test "$supported" = "yes" ; then
   7964 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7965 			found="yes"
   7966 		fi
   7967 	fi
   7968 
   7969 	if test $found = "no" ; then
   7970 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7972 		fi
   7973 
   7974 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7976 		fi
   7977 
   7978 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7979 
   7980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7981 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7982 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7983 		if eval \${$cacheid+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7987 /* end confdefs.h.  */
   7988 int i;
   7989 int
   7990 main ()
   7991 {
   7992 
   7993   ;
   7994   return 0;
   7995 }
   7996 _ACEOF
   7997 if ac_fn_c_try_link "$LINENO"; then :
   7998   eval $cacheid=yes
   7999 else
   8000   eval $cacheid=no
   8001 fi
   8002 rm -f core conftest.err conftest.$ac_objext \
   8003     conftest$ac_exeext conftest.$ac_ext
   8004 fi
   8005 
   8006 
   8007 		CFLAGS="$xorg_testset_save_CFLAGS"
   8008 
   8009 		eval supported=\$$cacheid
   8010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8011 $as_echo "$supported" >&6; }
   8012 		if test "$supported" = "yes" ; then
   8013 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8014 			found="yes"
   8015 		fi
   8016 	fi
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 xorg_testset_save_CFLAGS="$CFLAGS"
   8033 
   8034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8039   $as_echo_n "(cached) " >&6
   8040 else
   8041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8042 /* end confdefs.h.  */
   8043 int i;
   8044 _ACEOF
   8045 if ac_fn_c_try_compile "$LINENO"; then :
   8046   xorg_cv_cc_flag_unknown_warning_option=yes
   8047 else
   8048   xorg_cv_cc_flag_unknown_warning_option=no
   8049 fi
   8050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8051 fi
   8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8055 	CFLAGS="$xorg_testset_save_CFLAGS"
   8056 fi
   8057 
   8058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8061 	fi
   8062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8066   $as_echo_n "(cached) " >&6
   8067 else
   8068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8069 /* end confdefs.h.  */
   8070 int i;
   8071 _ACEOF
   8072 if ac_fn_c_try_compile "$LINENO"; then :
   8073   xorg_cv_cc_flag_unused_command_line_argument=yes
   8074 else
   8075   xorg_cv_cc_flag_unused_command_line_argument=no
   8076 fi
   8077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8078 fi
   8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8082 	CFLAGS="$xorg_testset_save_CFLAGS"
   8083 fi
   8084 
   8085 found="no"
   8086 
   8087 	if test $found = "no" ; then
   8088 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8090 		fi
   8091 
   8092 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8094 		fi
   8095 
   8096 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8097 
   8098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8099 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8100 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   8101 		if eval \${$cacheid+:} false; then :
   8102   $as_echo_n "(cached) " >&6
   8103 else
   8104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8105 /* end confdefs.h.  */
   8106 int i;
   8107 int
   8108 main ()
   8109 {
   8110 
   8111   ;
   8112   return 0;
   8113 }
   8114 _ACEOF
   8115 if ac_fn_c_try_link "$LINENO"; then :
   8116   eval $cacheid=yes
   8117 else
   8118   eval $cacheid=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext \
   8121     conftest$ac_exeext conftest.$ac_ext
   8122 fi
   8123 
   8124 
   8125 		CFLAGS="$xorg_testset_save_CFLAGS"
   8126 
   8127 		eval supported=\$$cacheid
   8128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8129 $as_echo "$supported" >&6; }
   8130 		if test "$supported" = "yes" ; then
   8131 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8132 			found="yes"
   8133 		fi
   8134 	fi
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 xorg_testset_save_CFLAGS="$CFLAGS"
   8151 
   8152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8157   $as_echo_n "(cached) " >&6
   8158 else
   8159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8160 /* end confdefs.h.  */
   8161 int i;
   8162 _ACEOF
   8163 if ac_fn_c_try_compile "$LINENO"; then :
   8164   xorg_cv_cc_flag_unknown_warning_option=yes
   8165 else
   8166   xorg_cv_cc_flag_unknown_warning_option=no
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8169 fi
   8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8173 	CFLAGS="$xorg_testset_save_CFLAGS"
   8174 fi
   8175 
   8176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8179 	fi
   8180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8184   $as_echo_n "(cached) " >&6
   8185 else
   8186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8187 /* end confdefs.h.  */
   8188 int i;
   8189 _ACEOF
   8190 if ac_fn_c_try_compile "$LINENO"; then :
   8191   xorg_cv_cc_flag_unused_command_line_argument=yes
   8192 else
   8193   xorg_cv_cc_flag_unused_command_line_argument=no
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8196 fi
   8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8200 	CFLAGS="$xorg_testset_save_CFLAGS"
   8201 fi
   8202 
   8203 found="no"
   8204 
   8205 	if test $found = "no" ; then
   8206 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8208 		fi
   8209 
   8210 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8212 		fi
   8213 
   8214 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8215 
   8216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8217 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8218 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   8219 		if eval \${$cacheid+:} false; then :
   8220   $as_echo_n "(cached) " >&6
   8221 else
   8222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8223 /* end confdefs.h.  */
   8224 int i;
   8225 int
   8226 main ()
   8227 {
   8228 
   8229   ;
   8230   return 0;
   8231 }
   8232 _ACEOF
   8233 if ac_fn_c_try_link "$LINENO"; then :
   8234   eval $cacheid=yes
   8235 else
   8236   eval $cacheid=no
   8237 fi
   8238 rm -f core conftest.err conftest.$ac_objext \
   8239     conftest$ac_exeext conftest.$ac_ext
   8240 fi
   8241 
   8242 
   8243 		CFLAGS="$xorg_testset_save_CFLAGS"
   8244 
   8245 		eval supported=\$$cacheid
   8246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8247 $as_echo "$supported" >&6; }
   8248 		if test "$supported" = "yes" ; then
   8249 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8250 			found="yes"
   8251 		fi
   8252 	fi
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 xorg_testset_save_CFLAGS="$CFLAGS"
   8269 
   8270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8273 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8274 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8275   $as_echo_n "(cached) " >&6
   8276 else
   8277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8278 /* end confdefs.h.  */
   8279 int i;
   8280 _ACEOF
   8281 if ac_fn_c_try_compile "$LINENO"; then :
   8282   xorg_cv_cc_flag_unknown_warning_option=yes
   8283 else
   8284   xorg_cv_cc_flag_unknown_warning_option=no
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8287 fi
   8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8289 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8291 	CFLAGS="$xorg_testset_save_CFLAGS"
   8292 fi
   8293 
   8294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8297 	fi
   8298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8300 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8301 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8302   $as_echo_n "(cached) " >&6
   8303 else
   8304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8305 /* end confdefs.h.  */
   8306 int i;
   8307 _ACEOF
   8308 if ac_fn_c_try_compile "$LINENO"; then :
   8309   xorg_cv_cc_flag_unused_command_line_argument=yes
   8310 else
   8311   xorg_cv_cc_flag_unused_command_line_argument=no
   8312 fi
   8313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8314 fi
   8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8316 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8318 	CFLAGS="$xorg_testset_save_CFLAGS"
   8319 fi
   8320 
   8321 found="no"
   8322 
   8323 	if test $found = "no" ; then
   8324 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8326 		fi
   8327 
   8328 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8330 		fi
   8331 
   8332 		CFLAGS="$CFLAGS -Werror=write-strings"
   8333 
   8334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8335 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8336 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8337 		if eval \${$cacheid+:} false; then :
   8338   $as_echo_n "(cached) " >&6
   8339 else
   8340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8341 /* end confdefs.h.  */
   8342 int i;
   8343 int
   8344 main ()
   8345 {
   8346 
   8347   ;
   8348   return 0;
   8349 }
   8350 _ACEOF
   8351 if ac_fn_c_try_link "$LINENO"; then :
   8352   eval $cacheid=yes
   8353 else
   8354   eval $cacheid=no
   8355 fi
   8356 rm -f core conftest.err conftest.$ac_objext \
   8357     conftest$ac_exeext conftest.$ac_ext
   8358 fi
   8359 
   8360 
   8361 		CFLAGS="$xorg_testset_save_CFLAGS"
   8362 
   8363 		eval supported=\$$cacheid
   8364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8365 $as_echo "$supported" >&6; }
   8366 		if test "$supported" = "yes" ; then
   8367 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8368 			found="yes"
   8369 		fi
   8370 	fi
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 xorg_testset_save_CFLAGS="$CFLAGS"
   8387 
   8388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8393   $as_echo_n "(cached) " >&6
   8394 else
   8395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8396 /* end confdefs.h.  */
   8397 int i;
   8398 _ACEOF
   8399 if ac_fn_c_try_compile "$LINENO"; then :
   8400   xorg_cv_cc_flag_unknown_warning_option=yes
   8401 else
   8402   xorg_cv_cc_flag_unknown_warning_option=no
   8403 fi
   8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8405 fi
   8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8409 	CFLAGS="$xorg_testset_save_CFLAGS"
   8410 fi
   8411 
   8412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8415 	fi
   8416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8420   $as_echo_n "(cached) " >&6
   8421 else
   8422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8423 /* end confdefs.h.  */
   8424 int i;
   8425 _ACEOF
   8426 if ac_fn_c_try_compile "$LINENO"; then :
   8427   xorg_cv_cc_flag_unused_command_line_argument=yes
   8428 else
   8429   xorg_cv_cc_flag_unused_command_line_argument=no
   8430 fi
   8431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8432 fi
   8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8436 	CFLAGS="$xorg_testset_save_CFLAGS"
   8437 fi
   8438 
   8439 found="no"
   8440 
   8441 	if test $found = "no" ; then
   8442 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8444 		fi
   8445 
   8446 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8448 		fi
   8449 
   8450 		CFLAGS="$CFLAGS -Werror=address"
   8451 
   8452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8453 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8454 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8455 		if eval \${$cacheid+:} false; then :
   8456   $as_echo_n "(cached) " >&6
   8457 else
   8458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8459 /* end confdefs.h.  */
   8460 int i;
   8461 int
   8462 main ()
   8463 {
   8464 
   8465   ;
   8466   return 0;
   8467 }
   8468 _ACEOF
   8469 if ac_fn_c_try_link "$LINENO"; then :
   8470   eval $cacheid=yes
   8471 else
   8472   eval $cacheid=no
   8473 fi
   8474 rm -f core conftest.err conftest.$ac_objext \
   8475     conftest$ac_exeext conftest.$ac_ext
   8476 fi
   8477 
   8478 
   8479 		CFLAGS="$xorg_testset_save_CFLAGS"
   8480 
   8481 		eval supported=\$$cacheid
   8482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8483 $as_echo "$supported" >&6; }
   8484 		if test "$supported" = "yes" ; then
   8485 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8486 			found="yes"
   8487 		fi
   8488 	fi
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 xorg_testset_save_CFLAGS="$CFLAGS"
   8505 
   8506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8511   $as_echo_n "(cached) " >&6
   8512 else
   8513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8514 /* end confdefs.h.  */
   8515 int i;
   8516 _ACEOF
   8517 if ac_fn_c_try_compile "$LINENO"; then :
   8518   xorg_cv_cc_flag_unknown_warning_option=yes
   8519 else
   8520   xorg_cv_cc_flag_unknown_warning_option=no
   8521 fi
   8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8523 fi
   8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8527 	CFLAGS="$xorg_testset_save_CFLAGS"
   8528 fi
   8529 
   8530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8533 	fi
   8534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8538   $as_echo_n "(cached) " >&6
   8539 else
   8540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8541 /* end confdefs.h.  */
   8542 int i;
   8543 _ACEOF
   8544 if ac_fn_c_try_compile "$LINENO"; then :
   8545   xorg_cv_cc_flag_unused_command_line_argument=yes
   8546 else
   8547   xorg_cv_cc_flag_unused_command_line_argument=no
   8548 fi
   8549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8550 fi
   8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8554 	CFLAGS="$xorg_testset_save_CFLAGS"
   8555 fi
   8556 
   8557 found="no"
   8558 
   8559 	if test $found = "no" ; then
   8560 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 		fi
   8563 
   8564 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8566 		fi
   8567 
   8568 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8569 
   8570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8571 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8572 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8573 		if eval \${$cacheid+:} false; then :
   8574   $as_echo_n "(cached) " >&6
   8575 else
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 int
   8580 main ()
   8581 {
   8582 
   8583   ;
   8584   return 0;
   8585 }
   8586 _ACEOF
   8587 if ac_fn_c_try_link "$LINENO"; then :
   8588   eval $cacheid=yes
   8589 else
   8590   eval $cacheid=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext \
   8593     conftest$ac_exeext conftest.$ac_ext
   8594 fi
   8595 
   8596 
   8597 		CFLAGS="$xorg_testset_save_CFLAGS"
   8598 
   8599 		eval supported=\$$cacheid
   8600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8601 $as_echo "$supported" >&6; }
   8602 		if test "$supported" = "yes" ; then
   8603 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8604 			found="yes"
   8605 		fi
   8606 	fi
   8607 
   8608 	if test $found = "no" ; then
   8609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8611 		fi
   8612 
   8613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8615 		fi
   8616 
   8617 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8618 
   8619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8620 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8621 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8622 		if eval \${$cacheid+:} false; then :
   8623   $as_echo_n "(cached) " >&6
   8624 else
   8625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8626 /* end confdefs.h.  */
   8627 int i;
   8628 int
   8629 main ()
   8630 {
   8631 
   8632   ;
   8633   return 0;
   8634 }
   8635 _ACEOF
   8636 if ac_fn_c_try_link "$LINENO"; then :
   8637   eval $cacheid=yes
   8638 else
   8639   eval $cacheid=no
   8640 fi
   8641 rm -f core conftest.err conftest.$ac_objext \
   8642     conftest$ac_exeext conftest.$ac_ext
   8643 fi
   8644 
   8645 
   8646 		CFLAGS="$xorg_testset_save_CFLAGS"
   8647 
   8648 		eval supported=\$$cacheid
   8649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8650 $as_echo "$supported" >&6; }
   8651 		if test "$supported" = "yes" ; then
   8652 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8653 			found="yes"
   8654 		fi
   8655 	fi
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 xorg_testset_save_CFLAGS="$CFLAGS"
   8672 
   8673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8678   $as_echo_n "(cached) " >&6
   8679 else
   8680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8681 /* end confdefs.h.  */
   8682 int i;
   8683 _ACEOF
   8684 if ac_fn_c_try_compile "$LINENO"; then :
   8685   xorg_cv_cc_flag_unknown_warning_option=yes
   8686 else
   8687   xorg_cv_cc_flag_unknown_warning_option=no
   8688 fi
   8689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8690 fi
   8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8694 	CFLAGS="$xorg_testset_save_CFLAGS"
   8695 fi
   8696 
   8697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8700 	fi
   8701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8705   $as_echo_n "(cached) " >&6
   8706 else
   8707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8708 /* end confdefs.h.  */
   8709 int i;
   8710 _ACEOF
   8711 if ac_fn_c_try_compile "$LINENO"; then :
   8712   xorg_cv_cc_flag_unused_command_line_argument=yes
   8713 else
   8714   xorg_cv_cc_flag_unused_command_line_argument=no
   8715 fi
   8716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8717 fi
   8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8721 	CFLAGS="$xorg_testset_save_CFLAGS"
   8722 fi
   8723 
   8724 found="no"
   8725 
   8726 	if test $found = "no" ; then
   8727 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8729 		fi
   8730 
   8731 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8733 		fi
   8734 
   8735 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8736 
   8737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8738 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8739 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8740 		if eval \${$cacheid+:} false; then :
   8741   $as_echo_n "(cached) " >&6
   8742 else
   8743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 int i;
   8746 int
   8747 main ()
   8748 {
   8749 
   8750   ;
   8751   return 0;
   8752 }
   8753 _ACEOF
   8754 if ac_fn_c_try_link "$LINENO"; then :
   8755   eval $cacheid=yes
   8756 else
   8757   eval $cacheid=no
   8758 fi
   8759 rm -f core conftest.err conftest.$ac_objext \
   8760     conftest$ac_exeext conftest.$ac_ext
   8761 fi
   8762 
   8763 
   8764 		CFLAGS="$xorg_testset_save_CFLAGS"
   8765 
   8766 		eval supported=\$$cacheid
   8767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8768 $as_echo "$supported" >&6; }
   8769 		if test "$supported" = "yes" ; then
   8770 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8771 			found="yes"
   8772 		fi
   8773 	fi
   8774 
   8775  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8776 else
   8777 { $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
   8778 $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;}
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 xorg_testset_save_CFLAGS="$CFLAGS"
   8793 
   8794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8799   $as_echo_n "(cached) " >&6
   8800 else
   8801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8802 /* end confdefs.h.  */
   8803 int i;
   8804 _ACEOF
   8805 if ac_fn_c_try_compile "$LINENO"; then :
   8806   xorg_cv_cc_flag_unknown_warning_option=yes
   8807 else
   8808   xorg_cv_cc_flag_unknown_warning_option=no
   8809 fi
   8810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8811 fi
   8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8815 	CFLAGS="$xorg_testset_save_CFLAGS"
   8816 fi
   8817 
   8818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8821 	fi
   8822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8826   $as_echo_n "(cached) " >&6
   8827 else
   8828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8829 /* end confdefs.h.  */
   8830 int i;
   8831 _ACEOF
   8832 if ac_fn_c_try_compile "$LINENO"; then :
   8833   xorg_cv_cc_flag_unused_command_line_argument=yes
   8834 else
   8835   xorg_cv_cc_flag_unused_command_line_argument=no
   8836 fi
   8837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8838 fi
   8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8842 	CFLAGS="$xorg_testset_save_CFLAGS"
   8843 fi
   8844 
   8845 found="no"
   8846 
   8847 	if test $found = "no" ; then
   8848 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8850 		fi
   8851 
   8852 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8854 		fi
   8855 
   8856 		CFLAGS="$CFLAGS -Wimplicit"
   8857 
   8858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8859 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8860 		cacheid=xorg_cv_cc_flag__Wimplicit
   8861 		if eval \${$cacheid+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8865 /* end confdefs.h.  */
   8866 int i;
   8867 int
   8868 main ()
   8869 {
   8870 
   8871   ;
   8872   return 0;
   8873 }
   8874 _ACEOF
   8875 if ac_fn_c_try_link "$LINENO"; then :
   8876   eval $cacheid=yes
   8877 else
   8878   eval $cacheid=no
   8879 fi
   8880 rm -f core conftest.err conftest.$ac_objext \
   8881     conftest$ac_exeext conftest.$ac_ext
   8882 fi
   8883 
   8884 
   8885 		CFLAGS="$xorg_testset_save_CFLAGS"
   8886 
   8887 		eval supported=\$$cacheid
   8888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8889 $as_echo "$supported" >&6; }
   8890 		if test "$supported" = "yes" ; then
   8891 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8892 			found="yes"
   8893 		fi
   8894 	fi
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 xorg_testset_save_CFLAGS="$CFLAGS"
   8911 
   8912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8917   $as_echo_n "(cached) " >&6
   8918 else
   8919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8920 /* end confdefs.h.  */
   8921 int i;
   8922 _ACEOF
   8923 if ac_fn_c_try_compile "$LINENO"; then :
   8924   xorg_cv_cc_flag_unknown_warning_option=yes
   8925 else
   8926   xorg_cv_cc_flag_unknown_warning_option=no
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8929 fi
   8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8933 	CFLAGS="$xorg_testset_save_CFLAGS"
   8934 fi
   8935 
   8936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8939 	fi
   8940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8944   $as_echo_n "(cached) " >&6
   8945 else
   8946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8947 /* end confdefs.h.  */
   8948 int i;
   8949 _ACEOF
   8950 if ac_fn_c_try_compile "$LINENO"; then :
   8951   xorg_cv_cc_flag_unused_command_line_argument=yes
   8952 else
   8953   xorg_cv_cc_flag_unused_command_line_argument=no
   8954 fi
   8955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8956 fi
   8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8960 	CFLAGS="$xorg_testset_save_CFLAGS"
   8961 fi
   8962 
   8963 found="no"
   8964 
   8965 	if test $found = "no" ; then
   8966 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8968 		fi
   8969 
   8970 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8972 		fi
   8973 
   8974 		CFLAGS="$CFLAGS -Wnonnull"
   8975 
   8976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8977 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8978 		cacheid=xorg_cv_cc_flag__Wnonnull
   8979 		if eval \${$cacheid+:} false; then :
   8980   $as_echo_n "(cached) " >&6
   8981 else
   8982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8983 /* end confdefs.h.  */
   8984 int i;
   8985 int
   8986 main ()
   8987 {
   8988 
   8989   ;
   8990   return 0;
   8991 }
   8992 _ACEOF
   8993 if ac_fn_c_try_link "$LINENO"; then :
   8994   eval $cacheid=yes
   8995 else
   8996   eval $cacheid=no
   8997 fi
   8998 rm -f core conftest.err conftest.$ac_objext \
   8999     conftest$ac_exeext conftest.$ac_ext
   9000 fi
   9001 
   9002 
   9003 		CFLAGS="$xorg_testset_save_CFLAGS"
   9004 
   9005 		eval supported=\$$cacheid
   9006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9007 $as_echo "$supported" >&6; }
   9008 		if test "$supported" = "yes" ; then
   9009 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9010 			found="yes"
   9011 		fi
   9012 	fi
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 xorg_testset_save_CFLAGS="$CFLAGS"
   9029 
   9030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9035   $as_echo_n "(cached) " >&6
   9036 else
   9037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9038 /* end confdefs.h.  */
   9039 int i;
   9040 _ACEOF
   9041 if ac_fn_c_try_compile "$LINENO"; then :
   9042   xorg_cv_cc_flag_unknown_warning_option=yes
   9043 else
   9044   xorg_cv_cc_flag_unknown_warning_option=no
   9045 fi
   9046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9047 fi
   9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9051 	CFLAGS="$xorg_testset_save_CFLAGS"
   9052 fi
   9053 
   9054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9057 	fi
   9058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9062   $as_echo_n "(cached) " >&6
   9063 else
   9064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9065 /* end confdefs.h.  */
   9066 int i;
   9067 _ACEOF
   9068 if ac_fn_c_try_compile "$LINENO"; then :
   9069   xorg_cv_cc_flag_unused_command_line_argument=yes
   9070 else
   9071   xorg_cv_cc_flag_unused_command_line_argument=no
   9072 fi
   9073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9074 fi
   9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9078 	CFLAGS="$xorg_testset_save_CFLAGS"
   9079 fi
   9080 
   9081 found="no"
   9082 
   9083 	if test $found = "no" ; then
   9084 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9086 		fi
   9087 
   9088 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9090 		fi
   9091 
   9092 		CFLAGS="$CFLAGS -Winit-self"
   9093 
   9094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9095 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9096 		cacheid=xorg_cv_cc_flag__Winit_self
   9097 		if eval \${$cacheid+:} false; then :
   9098   $as_echo_n "(cached) " >&6
   9099 else
   9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9101 /* end confdefs.h.  */
   9102 int i;
   9103 int
   9104 main ()
   9105 {
   9106 
   9107   ;
   9108   return 0;
   9109 }
   9110 _ACEOF
   9111 if ac_fn_c_try_link "$LINENO"; then :
   9112   eval $cacheid=yes
   9113 else
   9114   eval $cacheid=no
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext \
   9117     conftest$ac_exeext conftest.$ac_ext
   9118 fi
   9119 
   9120 
   9121 		CFLAGS="$xorg_testset_save_CFLAGS"
   9122 
   9123 		eval supported=\$$cacheid
   9124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9125 $as_echo "$supported" >&6; }
   9126 		if test "$supported" = "yes" ; then
   9127 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9128 			found="yes"
   9129 		fi
   9130 	fi
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 xorg_testset_save_CFLAGS="$CFLAGS"
   9147 
   9148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9153   $as_echo_n "(cached) " >&6
   9154 else
   9155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9156 /* end confdefs.h.  */
   9157 int i;
   9158 _ACEOF
   9159 if ac_fn_c_try_compile "$LINENO"; then :
   9160   xorg_cv_cc_flag_unknown_warning_option=yes
   9161 else
   9162   xorg_cv_cc_flag_unknown_warning_option=no
   9163 fi
   9164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9165 fi
   9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9169 	CFLAGS="$xorg_testset_save_CFLAGS"
   9170 fi
   9171 
   9172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9175 	fi
   9176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9180   $as_echo_n "(cached) " >&6
   9181 else
   9182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9183 /* end confdefs.h.  */
   9184 int i;
   9185 _ACEOF
   9186 if ac_fn_c_try_compile "$LINENO"; then :
   9187   xorg_cv_cc_flag_unused_command_line_argument=yes
   9188 else
   9189   xorg_cv_cc_flag_unused_command_line_argument=no
   9190 fi
   9191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9192 fi
   9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9196 	CFLAGS="$xorg_testset_save_CFLAGS"
   9197 fi
   9198 
   9199 found="no"
   9200 
   9201 	if test $found = "no" ; then
   9202 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9204 		fi
   9205 
   9206 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9208 		fi
   9209 
   9210 		CFLAGS="$CFLAGS -Wmain"
   9211 
   9212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9213 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9214 		cacheid=xorg_cv_cc_flag__Wmain
   9215 		if eval \${$cacheid+:} false; then :
   9216   $as_echo_n "(cached) " >&6
   9217 else
   9218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9219 /* end confdefs.h.  */
   9220 int i;
   9221 int
   9222 main ()
   9223 {
   9224 
   9225   ;
   9226   return 0;
   9227 }
   9228 _ACEOF
   9229 if ac_fn_c_try_link "$LINENO"; then :
   9230   eval $cacheid=yes
   9231 else
   9232   eval $cacheid=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext \
   9235     conftest$ac_exeext conftest.$ac_ext
   9236 fi
   9237 
   9238 
   9239 		CFLAGS="$xorg_testset_save_CFLAGS"
   9240 
   9241 		eval supported=\$$cacheid
   9242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9243 $as_echo "$supported" >&6; }
   9244 		if test "$supported" = "yes" ; then
   9245 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9246 			found="yes"
   9247 		fi
   9248 	fi
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 xorg_testset_save_CFLAGS="$CFLAGS"
   9265 
   9266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9271   $as_echo_n "(cached) " >&6
   9272 else
   9273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9274 /* end confdefs.h.  */
   9275 int i;
   9276 _ACEOF
   9277 if ac_fn_c_try_compile "$LINENO"; then :
   9278   xorg_cv_cc_flag_unknown_warning_option=yes
   9279 else
   9280   xorg_cv_cc_flag_unknown_warning_option=no
   9281 fi
   9282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9283 fi
   9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9287 	CFLAGS="$xorg_testset_save_CFLAGS"
   9288 fi
   9289 
   9290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9293 	fi
   9294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9298   $as_echo_n "(cached) " >&6
   9299 else
   9300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9301 /* end confdefs.h.  */
   9302 int i;
   9303 _ACEOF
   9304 if ac_fn_c_try_compile "$LINENO"; then :
   9305   xorg_cv_cc_flag_unused_command_line_argument=yes
   9306 else
   9307   xorg_cv_cc_flag_unused_command_line_argument=no
   9308 fi
   9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9310 fi
   9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9314 	CFLAGS="$xorg_testset_save_CFLAGS"
   9315 fi
   9316 
   9317 found="no"
   9318 
   9319 	if test $found = "no" ; then
   9320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9322 		fi
   9323 
   9324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9326 		fi
   9327 
   9328 		CFLAGS="$CFLAGS -Wmissing-braces"
   9329 
   9330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9331 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9332 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9333 		if eval \${$cacheid+:} false; then :
   9334   $as_echo_n "(cached) " >&6
   9335 else
   9336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9337 /* end confdefs.h.  */
   9338 int i;
   9339 int
   9340 main ()
   9341 {
   9342 
   9343   ;
   9344   return 0;
   9345 }
   9346 _ACEOF
   9347 if ac_fn_c_try_link "$LINENO"; then :
   9348   eval $cacheid=yes
   9349 else
   9350   eval $cacheid=no
   9351 fi
   9352 rm -f core conftest.err conftest.$ac_objext \
   9353     conftest$ac_exeext conftest.$ac_ext
   9354 fi
   9355 
   9356 
   9357 		CFLAGS="$xorg_testset_save_CFLAGS"
   9358 
   9359 		eval supported=\$$cacheid
   9360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9361 $as_echo "$supported" >&6; }
   9362 		if test "$supported" = "yes" ; then
   9363 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9364 			found="yes"
   9365 		fi
   9366 	fi
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 xorg_testset_save_CFLAGS="$CFLAGS"
   9383 
   9384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9389   $as_echo_n "(cached) " >&6
   9390 else
   9391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9392 /* end confdefs.h.  */
   9393 int i;
   9394 _ACEOF
   9395 if ac_fn_c_try_compile "$LINENO"; then :
   9396   xorg_cv_cc_flag_unknown_warning_option=yes
   9397 else
   9398   xorg_cv_cc_flag_unknown_warning_option=no
   9399 fi
   9400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9401 fi
   9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9405 	CFLAGS="$xorg_testset_save_CFLAGS"
   9406 fi
   9407 
   9408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9411 	fi
   9412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9416   $as_echo_n "(cached) " >&6
   9417 else
   9418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9419 /* end confdefs.h.  */
   9420 int i;
   9421 _ACEOF
   9422 if ac_fn_c_try_compile "$LINENO"; then :
   9423   xorg_cv_cc_flag_unused_command_line_argument=yes
   9424 else
   9425   xorg_cv_cc_flag_unused_command_line_argument=no
   9426 fi
   9427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9428 fi
   9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9432 	CFLAGS="$xorg_testset_save_CFLAGS"
   9433 fi
   9434 
   9435 found="no"
   9436 
   9437 	if test $found = "no" ; then
   9438 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9440 		fi
   9441 
   9442 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9444 		fi
   9445 
   9446 		CFLAGS="$CFLAGS -Wsequence-point"
   9447 
   9448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9449 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9450 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9451 		if eval \${$cacheid+:} false; then :
   9452   $as_echo_n "(cached) " >&6
   9453 else
   9454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9455 /* end confdefs.h.  */
   9456 int i;
   9457 int
   9458 main ()
   9459 {
   9460 
   9461   ;
   9462   return 0;
   9463 }
   9464 _ACEOF
   9465 if ac_fn_c_try_link "$LINENO"; then :
   9466   eval $cacheid=yes
   9467 else
   9468   eval $cacheid=no
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext \
   9471     conftest$ac_exeext conftest.$ac_ext
   9472 fi
   9473 
   9474 
   9475 		CFLAGS="$xorg_testset_save_CFLAGS"
   9476 
   9477 		eval supported=\$$cacheid
   9478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9479 $as_echo "$supported" >&6; }
   9480 		if test "$supported" = "yes" ; then
   9481 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9482 			found="yes"
   9483 		fi
   9484 	fi
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 xorg_testset_save_CFLAGS="$CFLAGS"
   9501 
   9502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9507   $as_echo_n "(cached) " >&6
   9508 else
   9509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9510 /* end confdefs.h.  */
   9511 int i;
   9512 _ACEOF
   9513 if ac_fn_c_try_compile "$LINENO"; then :
   9514   xorg_cv_cc_flag_unknown_warning_option=yes
   9515 else
   9516   xorg_cv_cc_flag_unknown_warning_option=no
   9517 fi
   9518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9519 fi
   9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9523 	CFLAGS="$xorg_testset_save_CFLAGS"
   9524 fi
   9525 
   9526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9529 	fi
   9530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9534   $as_echo_n "(cached) " >&6
   9535 else
   9536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9537 /* end confdefs.h.  */
   9538 int i;
   9539 _ACEOF
   9540 if ac_fn_c_try_compile "$LINENO"; then :
   9541   xorg_cv_cc_flag_unused_command_line_argument=yes
   9542 else
   9543   xorg_cv_cc_flag_unused_command_line_argument=no
   9544 fi
   9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9546 fi
   9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9550 	CFLAGS="$xorg_testset_save_CFLAGS"
   9551 fi
   9552 
   9553 found="no"
   9554 
   9555 	if test $found = "no" ; then
   9556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9558 		fi
   9559 
   9560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9562 		fi
   9563 
   9564 		CFLAGS="$CFLAGS -Wreturn-type"
   9565 
   9566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9567 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9568 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9569 		if eval \${$cacheid+:} false; then :
   9570   $as_echo_n "(cached) " >&6
   9571 else
   9572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9573 /* end confdefs.h.  */
   9574 int i;
   9575 int
   9576 main ()
   9577 {
   9578 
   9579   ;
   9580   return 0;
   9581 }
   9582 _ACEOF
   9583 if ac_fn_c_try_link "$LINENO"; then :
   9584   eval $cacheid=yes
   9585 else
   9586   eval $cacheid=no
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext \
   9589     conftest$ac_exeext conftest.$ac_ext
   9590 fi
   9591 
   9592 
   9593 		CFLAGS="$xorg_testset_save_CFLAGS"
   9594 
   9595 		eval supported=\$$cacheid
   9596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9597 $as_echo "$supported" >&6; }
   9598 		if test "$supported" = "yes" ; then
   9599 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9600 			found="yes"
   9601 		fi
   9602 	fi
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 xorg_testset_save_CFLAGS="$CFLAGS"
   9619 
   9620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9625   $as_echo_n "(cached) " >&6
   9626 else
   9627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9628 /* end confdefs.h.  */
   9629 int i;
   9630 _ACEOF
   9631 if ac_fn_c_try_compile "$LINENO"; then :
   9632   xorg_cv_cc_flag_unknown_warning_option=yes
   9633 else
   9634   xorg_cv_cc_flag_unknown_warning_option=no
   9635 fi
   9636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9637 fi
   9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9641 	CFLAGS="$xorg_testset_save_CFLAGS"
   9642 fi
   9643 
   9644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9647 	fi
   9648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9652   $as_echo_n "(cached) " >&6
   9653 else
   9654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9655 /* end confdefs.h.  */
   9656 int i;
   9657 _ACEOF
   9658 if ac_fn_c_try_compile "$LINENO"; then :
   9659   xorg_cv_cc_flag_unused_command_line_argument=yes
   9660 else
   9661   xorg_cv_cc_flag_unused_command_line_argument=no
   9662 fi
   9663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9664 fi
   9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9668 	CFLAGS="$xorg_testset_save_CFLAGS"
   9669 fi
   9670 
   9671 found="no"
   9672 
   9673 	if test $found = "no" ; then
   9674 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9676 		fi
   9677 
   9678 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9680 		fi
   9681 
   9682 		CFLAGS="$CFLAGS -Wtrigraphs"
   9683 
   9684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9685 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9686 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9687 		if eval \${$cacheid+:} false; then :
   9688   $as_echo_n "(cached) " >&6
   9689 else
   9690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9691 /* end confdefs.h.  */
   9692 int i;
   9693 int
   9694 main ()
   9695 {
   9696 
   9697   ;
   9698   return 0;
   9699 }
   9700 _ACEOF
   9701 if ac_fn_c_try_link "$LINENO"; then :
   9702   eval $cacheid=yes
   9703 else
   9704   eval $cacheid=no
   9705 fi
   9706 rm -f core conftest.err conftest.$ac_objext \
   9707     conftest$ac_exeext conftest.$ac_ext
   9708 fi
   9709 
   9710 
   9711 		CFLAGS="$xorg_testset_save_CFLAGS"
   9712 
   9713 		eval supported=\$$cacheid
   9714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9715 $as_echo "$supported" >&6; }
   9716 		if test "$supported" = "yes" ; then
   9717 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9718 			found="yes"
   9719 		fi
   9720 	fi
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 xorg_testset_save_CFLAGS="$CFLAGS"
   9737 
   9738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9743   $as_echo_n "(cached) " >&6
   9744 else
   9745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9746 /* end confdefs.h.  */
   9747 int i;
   9748 _ACEOF
   9749 if ac_fn_c_try_compile "$LINENO"; then :
   9750   xorg_cv_cc_flag_unknown_warning_option=yes
   9751 else
   9752   xorg_cv_cc_flag_unknown_warning_option=no
   9753 fi
   9754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9755 fi
   9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9765 	fi
   9766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9770   $as_echo_n "(cached) " >&6
   9771 else
   9772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9773 /* end confdefs.h.  */
   9774 int i;
   9775 _ACEOF
   9776 if ac_fn_c_try_compile "$LINENO"; then :
   9777   xorg_cv_cc_flag_unused_command_line_argument=yes
   9778 else
   9779   xorg_cv_cc_flag_unused_command_line_argument=no
   9780 fi
   9781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9782 fi
   9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9786 	CFLAGS="$xorg_testset_save_CFLAGS"
   9787 fi
   9788 
   9789 found="no"
   9790 
   9791 	if test $found = "no" ; then
   9792 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9794 		fi
   9795 
   9796 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9798 		fi
   9799 
   9800 		CFLAGS="$CFLAGS -Warray-bounds"
   9801 
   9802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9803 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9804 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9805 		if eval \${$cacheid+:} false; then :
   9806   $as_echo_n "(cached) " >&6
   9807 else
   9808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9809 /* end confdefs.h.  */
   9810 int i;
   9811 int
   9812 main ()
   9813 {
   9814 
   9815   ;
   9816   return 0;
   9817 }
   9818 _ACEOF
   9819 if ac_fn_c_try_link "$LINENO"; then :
   9820   eval $cacheid=yes
   9821 else
   9822   eval $cacheid=no
   9823 fi
   9824 rm -f core conftest.err conftest.$ac_objext \
   9825     conftest$ac_exeext conftest.$ac_ext
   9826 fi
   9827 
   9828 
   9829 		CFLAGS="$xorg_testset_save_CFLAGS"
   9830 
   9831 		eval supported=\$$cacheid
   9832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9833 $as_echo "$supported" >&6; }
   9834 		if test "$supported" = "yes" ; then
   9835 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9836 			found="yes"
   9837 		fi
   9838 	fi
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 xorg_testset_save_CFLAGS="$CFLAGS"
   9855 
   9856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9859 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9860 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9861   $as_echo_n "(cached) " >&6
   9862 else
   9863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9864 /* end confdefs.h.  */
   9865 int i;
   9866 _ACEOF
   9867 if ac_fn_c_try_compile "$LINENO"; then :
   9868   xorg_cv_cc_flag_unknown_warning_option=yes
   9869 else
   9870   xorg_cv_cc_flag_unknown_warning_option=no
   9871 fi
   9872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9873 fi
   9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9875 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9877 	CFLAGS="$xorg_testset_save_CFLAGS"
   9878 fi
   9879 
   9880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9883 	fi
   9884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9886 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9887 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9888   $as_echo_n "(cached) " >&6
   9889 else
   9890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9891 /* end confdefs.h.  */
   9892 int i;
   9893 _ACEOF
   9894 if ac_fn_c_try_compile "$LINENO"; then :
   9895   xorg_cv_cc_flag_unused_command_line_argument=yes
   9896 else
   9897   xorg_cv_cc_flag_unused_command_line_argument=no
   9898 fi
   9899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9900 fi
   9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9902 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9904 	CFLAGS="$xorg_testset_save_CFLAGS"
   9905 fi
   9906 
   9907 found="no"
   9908 
   9909 	if test $found = "no" ; then
   9910 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9912 		fi
   9913 
   9914 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9916 		fi
   9917 
   9918 		CFLAGS="$CFLAGS -Wwrite-strings"
   9919 
   9920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9921 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9922 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9923 		if eval \${$cacheid+:} false; then :
   9924   $as_echo_n "(cached) " >&6
   9925 else
   9926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9927 /* end confdefs.h.  */
   9928 int i;
   9929 int
   9930 main ()
   9931 {
   9932 
   9933   ;
   9934   return 0;
   9935 }
   9936 _ACEOF
   9937 if ac_fn_c_try_link "$LINENO"; then :
   9938   eval $cacheid=yes
   9939 else
   9940   eval $cacheid=no
   9941 fi
   9942 rm -f core conftest.err conftest.$ac_objext \
   9943     conftest$ac_exeext conftest.$ac_ext
   9944 fi
   9945 
   9946 
   9947 		CFLAGS="$xorg_testset_save_CFLAGS"
   9948 
   9949 		eval supported=\$$cacheid
   9950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9951 $as_echo "$supported" >&6; }
   9952 		if test "$supported" = "yes" ; then
   9953 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9954 			found="yes"
   9955 		fi
   9956 	fi
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 xorg_testset_save_CFLAGS="$CFLAGS"
   9973 
   9974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9977 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9978 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9979   $as_echo_n "(cached) " >&6
   9980 else
   9981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9982 /* end confdefs.h.  */
   9983 int i;
   9984 _ACEOF
   9985 if ac_fn_c_try_compile "$LINENO"; then :
   9986   xorg_cv_cc_flag_unknown_warning_option=yes
   9987 else
   9988   xorg_cv_cc_flag_unknown_warning_option=no
   9989 fi
   9990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9991 fi
   9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9993 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9995 	CFLAGS="$xorg_testset_save_CFLAGS"
   9996 fi
   9997 
   9998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10001 	fi
   10002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10004 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10005 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10006   $as_echo_n "(cached) " >&6
   10007 else
   10008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10009 /* end confdefs.h.  */
   10010 int i;
   10011 _ACEOF
   10012 if ac_fn_c_try_compile "$LINENO"; then :
   10013   xorg_cv_cc_flag_unused_command_line_argument=yes
   10014 else
   10015   xorg_cv_cc_flag_unused_command_line_argument=no
   10016 fi
   10017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10018 fi
   10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10020 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10022 	CFLAGS="$xorg_testset_save_CFLAGS"
   10023 fi
   10024 
   10025 found="no"
   10026 
   10027 	if test $found = "no" ; then
   10028 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10030 		fi
   10031 
   10032 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10034 		fi
   10035 
   10036 		CFLAGS="$CFLAGS -Waddress"
   10037 
   10038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10039 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10040 		cacheid=xorg_cv_cc_flag__Waddress
   10041 		if eval \${$cacheid+:} false; then :
   10042   $as_echo_n "(cached) " >&6
   10043 else
   10044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10045 /* end confdefs.h.  */
   10046 int i;
   10047 int
   10048 main ()
   10049 {
   10050 
   10051   ;
   10052   return 0;
   10053 }
   10054 _ACEOF
   10055 if ac_fn_c_try_link "$LINENO"; then :
   10056   eval $cacheid=yes
   10057 else
   10058   eval $cacheid=no
   10059 fi
   10060 rm -f core conftest.err conftest.$ac_objext \
   10061     conftest$ac_exeext conftest.$ac_ext
   10062 fi
   10063 
   10064 
   10065 		CFLAGS="$xorg_testset_save_CFLAGS"
   10066 
   10067 		eval supported=\$$cacheid
   10068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10069 $as_echo "$supported" >&6; }
   10070 		if test "$supported" = "yes" ; then
   10071 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10072 			found="yes"
   10073 		fi
   10074 	fi
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 xorg_testset_save_CFLAGS="$CFLAGS"
   10091 
   10092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10097   $as_echo_n "(cached) " >&6
   10098 else
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 _ACEOF
   10103 if ac_fn_c_try_compile "$LINENO"; then :
   10104   xorg_cv_cc_flag_unknown_warning_option=yes
   10105 else
   10106   xorg_cv_cc_flag_unknown_warning_option=no
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10109 fi
   10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10113 	CFLAGS="$xorg_testset_save_CFLAGS"
   10114 fi
   10115 
   10116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10119 	fi
   10120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10124   $as_echo_n "(cached) " >&6
   10125 else
   10126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10127 /* end confdefs.h.  */
   10128 int i;
   10129 _ACEOF
   10130 if ac_fn_c_try_compile "$LINENO"; then :
   10131   xorg_cv_cc_flag_unused_command_line_argument=yes
   10132 else
   10133   xorg_cv_cc_flag_unused_command_line_argument=no
   10134 fi
   10135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10136 fi
   10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10140 	CFLAGS="$xorg_testset_save_CFLAGS"
   10141 fi
   10142 
   10143 found="no"
   10144 
   10145 	if test $found = "no" ; then
   10146 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10148 		fi
   10149 
   10150 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10152 		fi
   10153 
   10154 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10155 
   10156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10157 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10158 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10159 		if eval \${$cacheid+:} false; then :
   10160   $as_echo_n "(cached) " >&6
   10161 else
   10162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10163 /* end confdefs.h.  */
   10164 int i;
   10165 int
   10166 main ()
   10167 {
   10168 
   10169   ;
   10170   return 0;
   10171 }
   10172 _ACEOF
   10173 if ac_fn_c_try_link "$LINENO"; then :
   10174   eval $cacheid=yes
   10175 else
   10176   eval $cacheid=no
   10177 fi
   10178 rm -f core conftest.err conftest.$ac_objext \
   10179     conftest$ac_exeext conftest.$ac_ext
   10180 fi
   10181 
   10182 
   10183 		CFLAGS="$xorg_testset_save_CFLAGS"
   10184 
   10185 		eval supported=\$$cacheid
   10186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10187 $as_echo "$supported" >&6; }
   10188 		if test "$supported" = "yes" ; then
   10189 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10190 			found="yes"
   10191 		fi
   10192 	fi
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 xorg_testset_save_CFLAGS="$CFLAGS"
   10209 
   10210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10215   $as_echo_n "(cached) " >&6
   10216 else
   10217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10218 /* end confdefs.h.  */
   10219 int i;
   10220 _ACEOF
   10221 if ac_fn_c_try_compile "$LINENO"; then :
   10222   xorg_cv_cc_flag_unknown_warning_option=yes
   10223 else
   10224   xorg_cv_cc_flag_unknown_warning_option=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10227 fi
   10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 	fi
   10238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10242   $as_echo_n "(cached) " >&6
   10243 else
   10244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10245 /* end confdefs.h.  */
   10246 int i;
   10247 _ACEOF
   10248 if ac_fn_c_try_compile "$LINENO"; then :
   10249   xorg_cv_cc_flag_unused_command_line_argument=yes
   10250 else
   10251   xorg_cv_cc_flag_unused_command_line_argument=no
   10252 fi
   10253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10254 fi
   10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10258 	CFLAGS="$xorg_testset_save_CFLAGS"
   10259 fi
   10260 
   10261 found="no"
   10262 
   10263 	if test $found = "no" ; then
   10264 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10266 		fi
   10267 
   10268 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10270 		fi
   10271 
   10272 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10273 
   10274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10275 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10276 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10277 		if eval \${$cacheid+:} false; then :
   10278   $as_echo_n "(cached) " >&6
   10279 else
   10280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10281 /* end confdefs.h.  */
   10282 int i;
   10283 int
   10284 main ()
   10285 {
   10286 
   10287   ;
   10288   return 0;
   10289 }
   10290 _ACEOF
   10291 if ac_fn_c_try_link "$LINENO"; then :
   10292   eval $cacheid=yes
   10293 else
   10294   eval $cacheid=no
   10295 fi
   10296 rm -f core conftest.err conftest.$ac_objext \
   10297     conftest$ac_exeext conftest.$ac_ext
   10298 fi
   10299 
   10300 
   10301 		CFLAGS="$xorg_testset_save_CFLAGS"
   10302 
   10303 		eval supported=\$$cacheid
   10304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10305 $as_echo "$supported" >&6; }
   10306 		if test "$supported" = "yes" ; then
   10307 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10308 			found="yes"
   10309 		fi
   10310 	fi
   10311 
   10312 
   10313 fi
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 		CWARNFLAGS="$BASE_CFLAGS"
   10322 		if  test "x$GCC" = xyes ; then
   10323 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10324 		fi
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 # Check whether --enable-strict-compilation was given.
   10334 if test "${enable_strict_compilation+set}" = set; then :
   10335   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10336 else
   10337   STRICT_COMPILE=no
   10338 fi
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 STRICT_CFLAGS=""
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 xorg_testset_save_CFLAGS="$CFLAGS"
   10360 
   10361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10366   $as_echo_n "(cached) " >&6
   10367 else
   10368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10369 /* end confdefs.h.  */
   10370 int i;
   10371 _ACEOF
   10372 if ac_fn_c_try_compile "$LINENO"; then :
   10373   xorg_cv_cc_flag_unknown_warning_option=yes
   10374 else
   10375   xorg_cv_cc_flag_unknown_warning_option=no
   10376 fi
   10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10378 fi
   10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10382 	CFLAGS="$xorg_testset_save_CFLAGS"
   10383 fi
   10384 
   10385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10388 	fi
   10389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10393   $as_echo_n "(cached) " >&6
   10394 else
   10395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 int i;
   10398 _ACEOF
   10399 if ac_fn_c_try_compile "$LINENO"; then :
   10400   xorg_cv_cc_flag_unused_command_line_argument=yes
   10401 else
   10402   xorg_cv_cc_flag_unused_command_line_argument=no
   10403 fi
   10404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10405 fi
   10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10409 	CFLAGS="$xorg_testset_save_CFLAGS"
   10410 fi
   10411 
   10412 found="no"
   10413 
   10414 	if test $found = "no" ; then
   10415 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 		fi
   10418 
   10419 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10421 		fi
   10422 
   10423 		CFLAGS="$CFLAGS -pedantic"
   10424 
   10425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10426 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10427 		cacheid=xorg_cv_cc_flag__pedantic
   10428 		if eval \${$cacheid+:} false; then :
   10429   $as_echo_n "(cached) " >&6
   10430 else
   10431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10432 /* end confdefs.h.  */
   10433 int i;
   10434 int
   10435 main ()
   10436 {
   10437 
   10438   ;
   10439   return 0;
   10440 }
   10441 _ACEOF
   10442 if ac_fn_c_try_link "$LINENO"; then :
   10443   eval $cacheid=yes
   10444 else
   10445   eval $cacheid=no
   10446 fi
   10447 rm -f core conftest.err conftest.$ac_objext \
   10448     conftest$ac_exeext conftest.$ac_ext
   10449 fi
   10450 
   10451 
   10452 		CFLAGS="$xorg_testset_save_CFLAGS"
   10453 
   10454 		eval supported=\$$cacheid
   10455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10456 $as_echo "$supported" >&6; }
   10457 		if test "$supported" = "yes" ; then
   10458 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10459 			found="yes"
   10460 		fi
   10461 	fi
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 xorg_testset_save_CFLAGS="$CFLAGS"
   10478 
   10479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10482 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10483 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10484   $as_echo_n "(cached) " >&6
   10485 else
   10486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10487 /* end confdefs.h.  */
   10488 int i;
   10489 _ACEOF
   10490 if ac_fn_c_try_compile "$LINENO"; then :
   10491   xorg_cv_cc_flag_unknown_warning_option=yes
   10492 else
   10493   xorg_cv_cc_flag_unknown_warning_option=no
   10494 fi
   10495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10496 fi
   10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10498 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10500 	CFLAGS="$xorg_testset_save_CFLAGS"
   10501 fi
   10502 
   10503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10506 	fi
   10507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10509 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10510 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10511   $as_echo_n "(cached) " >&6
   10512 else
   10513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10514 /* end confdefs.h.  */
   10515 int i;
   10516 _ACEOF
   10517 if ac_fn_c_try_compile "$LINENO"; then :
   10518   xorg_cv_cc_flag_unused_command_line_argument=yes
   10519 else
   10520   xorg_cv_cc_flag_unused_command_line_argument=no
   10521 fi
   10522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10523 fi
   10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10525 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10527 	CFLAGS="$xorg_testset_save_CFLAGS"
   10528 fi
   10529 
   10530 found="no"
   10531 
   10532 	if test $found = "no" ; then
   10533 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10535 		fi
   10536 
   10537 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10539 		fi
   10540 
   10541 		CFLAGS="$CFLAGS -Werror"
   10542 
   10543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10544 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10545 		cacheid=xorg_cv_cc_flag__Werror
   10546 		if eval \${$cacheid+:} false; then :
   10547   $as_echo_n "(cached) " >&6
   10548 else
   10549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10550 /* end confdefs.h.  */
   10551 int i;
   10552 int
   10553 main ()
   10554 {
   10555 
   10556   ;
   10557   return 0;
   10558 }
   10559 _ACEOF
   10560 if ac_fn_c_try_link "$LINENO"; then :
   10561   eval $cacheid=yes
   10562 else
   10563   eval $cacheid=no
   10564 fi
   10565 rm -f core conftest.err conftest.$ac_objext \
   10566     conftest$ac_exeext conftest.$ac_ext
   10567 fi
   10568 
   10569 
   10570 		CFLAGS="$xorg_testset_save_CFLAGS"
   10571 
   10572 		eval supported=\$$cacheid
   10573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10574 $as_echo "$supported" >&6; }
   10575 		if test "$supported" = "yes" ; then
   10576 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10577 			found="yes"
   10578 		fi
   10579 	fi
   10580 
   10581 	if test $found = "no" ; then
   10582 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10584 		fi
   10585 
   10586 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10588 		fi
   10589 
   10590 		CFLAGS="$CFLAGS -errwarn"
   10591 
   10592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10593 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10594 		cacheid=xorg_cv_cc_flag__errwarn
   10595 		if eval \${$cacheid+:} false; then :
   10596   $as_echo_n "(cached) " >&6
   10597 else
   10598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 int i;
   10601 int
   10602 main ()
   10603 {
   10604 
   10605   ;
   10606   return 0;
   10607 }
   10608 _ACEOF
   10609 if ac_fn_c_try_link "$LINENO"; then :
   10610   eval $cacheid=yes
   10611 else
   10612   eval $cacheid=no
   10613 fi
   10614 rm -f core conftest.err conftest.$ac_objext \
   10615     conftest$ac_exeext conftest.$ac_ext
   10616 fi
   10617 
   10618 
   10619 		CFLAGS="$xorg_testset_save_CFLAGS"
   10620 
   10621 		eval supported=\$$cacheid
   10622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10623 $as_echo "$supported" >&6; }
   10624 		if test "$supported" = "yes" ; then
   10625 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10626 			found="yes"
   10627 		fi
   10628 	fi
   10629 
   10630 
   10631 
   10632 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10633 # activate it with -Werror, so we add it here explicitly.
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 xorg_testset_save_CFLAGS="$CFLAGS"
   10648 
   10649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10654   $as_echo_n "(cached) " >&6
   10655 else
   10656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10657 /* end confdefs.h.  */
   10658 int i;
   10659 _ACEOF
   10660 if ac_fn_c_try_compile "$LINENO"; then :
   10661   xorg_cv_cc_flag_unknown_warning_option=yes
   10662 else
   10663   xorg_cv_cc_flag_unknown_warning_option=no
   10664 fi
   10665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10666 fi
   10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10670 	CFLAGS="$xorg_testset_save_CFLAGS"
   10671 fi
   10672 
   10673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10676 	fi
   10677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10681   $as_echo_n "(cached) " >&6
   10682 else
   10683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10684 /* end confdefs.h.  */
   10685 int i;
   10686 _ACEOF
   10687 if ac_fn_c_try_compile "$LINENO"; then :
   10688   xorg_cv_cc_flag_unused_command_line_argument=yes
   10689 else
   10690   xorg_cv_cc_flag_unused_command_line_argument=no
   10691 fi
   10692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10693 fi
   10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10697 	CFLAGS="$xorg_testset_save_CFLAGS"
   10698 fi
   10699 
   10700 found="no"
   10701 
   10702 	if test $found = "no" ; then
   10703 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10705 		fi
   10706 
   10707 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10709 		fi
   10710 
   10711 		CFLAGS="$CFLAGS -Werror=attributes"
   10712 
   10713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10714 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10715 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10716 		if eval \${$cacheid+:} false; then :
   10717   $as_echo_n "(cached) " >&6
   10718 else
   10719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10720 /* end confdefs.h.  */
   10721 int i;
   10722 int
   10723 main ()
   10724 {
   10725 
   10726   ;
   10727   return 0;
   10728 }
   10729 _ACEOF
   10730 if ac_fn_c_try_link "$LINENO"; then :
   10731   eval $cacheid=yes
   10732 else
   10733   eval $cacheid=no
   10734 fi
   10735 rm -f core conftest.err conftest.$ac_objext \
   10736     conftest$ac_exeext conftest.$ac_ext
   10737 fi
   10738 
   10739 
   10740 		CFLAGS="$xorg_testset_save_CFLAGS"
   10741 
   10742 		eval supported=\$$cacheid
   10743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10744 $as_echo "$supported" >&6; }
   10745 		if test "$supported" = "yes" ; then
   10746 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10747 			found="yes"
   10748 		fi
   10749 	fi
   10750 
   10751 
   10752 
   10753 if test "x$STRICT_COMPILE" = "xyes"; then
   10754     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10755     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10756 fi
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 cat >>confdefs.h <<_ACEOF
   10764 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10765 _ACEOF
   10766 
   10767 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10768 	if test "x$PVM" = "x"; then
   10769 		PVM="0"
   10770 	fi
   10771 
   10772 cat >>confdefs.h <<_ACEOF
   10773 #define PACKAGE_VERSION_MINOR $PVM
   10774 _ACEOF
   10775 
   10776 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10777 	if test "x$PVP" = "x"; then
   10778 		PVP="0"
   10779 	fi
   10780 
   10781 cat >>confdefs.h <<_ACEOF
   10782 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10783 _ACEOF
   10784 
   10785 
   10786 
   10787 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10788 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10789 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10790 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10791 
   10792 
   10793 
   10794 
   10795 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10796 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10797 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10798 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10799 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 if test x$APP_MAN_SUFFIX = x    ; then
   10807     APP_MAN_SUFFIX=1
   10808 fi
   10809 if test x$APP_MAN_DIR = x    ; then
   10810     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10811 fi
   10812 
   10813 if test x$LIB_MAN_SUFFIX = x    ; then
   10814     LIB_MAN_SUFFIX=3
   10815 fi
   10816 if test x$LIB_MAN_DIR = x    ; then
   10817     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10818 fi
   10819 
   10820 if test x$FILE_MAN_SUFFIX = x    ; then
   10821     case $host_os in
   10822 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10823 	*)		FILE_MAN_SUFFIX=5  ;;
   10824     esac
   10825 fi
   10826 if test x$FILE_MAN_DIR = x    ; then
   10827     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10828 fi
   10829 
   10830 if test x$MISC_MAN_SUFFIX = x    ; then
   10831     case $host_os in
   10832 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10833 	*)		MISC_MAN_SUFFIX=7  ;;
   10834     esac
   10835 fi
   10836 if test x$MISC_MAN_DIR = x    ; then
   10837     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10838 fi
   10839 
   10840 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10841     case $host_os in
   10842 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10843 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10844     esac
   10845 fi
   10846 if test x$DRIVER_MAN_DIR = x    ; then
   10847     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10848 fi
   10849 
   10850 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10851     case $host_os in
   10852 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10853 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10854     esac
   10855 fi
   10856 if test x$ADMIN_MAN_DIR = x    ; then
   10857     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10858 fi
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 XORG_MAN_PAGE="X Version 11"
   10875 
   10876 MAN_SUBSTS="\
   10877 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10878 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10879 	-e 's|__xservername__|Xorg|g' \
   10880 	-e 's|__xconfigfile__|xorg.conf|g' \
   10881 	-e 's|__projectroot__|\$(prefix)|g' \
   10882 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10883 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10884 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10885 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10886 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10887 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10888 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10889 
   10890 
   10891 
   10892 # Check whether --enable-silent-rules was given.
   10893 if test "${enable_silent_rules+set}" = set; then :
   10894   enableval=$enable_silent_rules;
   10895 fi
   10896 
   10897 case $enable_silent_rules in
   10898 yes) AM_DEFAULT_VERBOSITY=0;;
   10899 no)  AM_DEFAULT_VERBOSITY=1;;
   10900 *)   AM_DEFAULT_VERBOSITY=0;;
   10901 esac
   10902 AM_BACKSLASH='\'
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 # Check whether --with-lint was given.
   10911 if test "${with_lint+set}" = set; then :
   10912   withval=$with_lint; use_lint=$withval
   10913 else
   10914   use_lint=no
   10915 fi
   10916 
   10917 
   10918 # Obtain platform specific info like program name and options
   10919 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10920 case $host_os in
   10921   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10922 	lint_name=splint
   10923 	lint_options="-badflag"
   10924 	;;
   10925   *freebsd* | *netbsd*)
   10926 	lint_name=lint
   10927 	lint_options="-u -b"
   10928 	;;
   10929   *solaris*)
   10930 	lint_name=lint
   10931 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10932 	;;
   10933 esac
   10934 
   10935 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10936 if test "x$use_lint" = x"yes" ; then
   10937    # Extract the first word of "$lint_name", so it can be a program name with args.
   10938 set dummy $lint_name; ac_word=$2
   10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10940 $as_echo_n "checking for $ac_word... " >&6; }
   10941 if ${ac_cv_path_LINT+:} false; then :
   10942   $as_echo_n "(cached) " >&6
   10943 else
   10944   case $LINT in
   10945   [\\/]* | ?:[\\/]*)
   10946   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10947   ;;
   10948   *)
   10949   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10950 for as_dir in $PATH
   10951 do
   10952   IFS=$as_save_IFS
   10953   test -z "$as_dir" && as_dir=.
   10954     for ac_exec_ext in '' $ac_executable_extensions; do
   10955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10956     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10958     break 2
   10959   fi
   10960 done
   10961   done
   10962 IFS=$as_save_IFS
   10963 
   10964   ;;
   10965 esac
   10966 fi
   10967 LINT=$ac_cv_path_LINT
   10968 if test -n "$LINT"; then
   10969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   10970 $as_echo "$LINT" >&6; }
   10971 else
   10972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10973 $as_echo "no" >&6; }
   10974 fi
   10975 
   10976 
   10977    if test "x$LINT" = "x"; then
   10978         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   10979    fi
   10980 elif test "x$use_lint" = x"no" ; then
   10981    if test "x$LINT" != "x"; then
   10982       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   10983 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   10984    fi
   10985 else
   10986    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   10987 fi
   10988 
   10989 # User supplied flags override default flags
   10990 if test "x$LINT_FLAGS" != "x"; then
   10991    lint_options=$LINT_FLAGS
   10992 fi
   10993 
   10994 LINT_FLAGS=$lint_options
   10995 
   10996  if test "x$LINT" != x; then
   10997   LINT_TRUE=
   10998   LINT_FALSE='#'
   10999 else
   11000   LINT_TRUE='#'
   11001   LINT_FALSE=
   11002 fi
   11003 
   11004 
   11005 
   11006 
   11007 # Checks for header files.
   11008 for ac_header in lastlog.h pwd.h utmp.h utmpx.h sys/param.h
   11009 do :
   11010   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11011 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11013   cat >>confdefs.h <<_ACEOF
   11014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11015 _ACEOF
   11016 
   11017 fi
   11018 
   11019 done
   11020 
   11021 
   11022 # Checks for typedefs, structures, and compiler characteristics.
   11023 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
   11024 	#include <sys/types.h>
   11025 	#include <utmp.h>
   11026 
   11027 "
   11028 if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then :
   11029 
   11030 cat >>confdefs.h <<_ACEOF
   11031 #define HAVE_STRUCT_UTMP_UT_HOST 1
   11032 _ACEOF
   11033 
   11034 
   11035 fi
   11036 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
   11037 	#include <sys/types.h>
   11038 	#include <utmp.h>
   11039 
   11040 "
   11041 if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
   11042 
   11043 cat >>confdefs.h <<_ACEOF
   11044 #define HAVE_STRUCT_UTMP_UT_ID 1
   11045 _ACEOF
   11046 
   11047 
   11048 fi
   11049 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
   11050 	#include <sys/types.h>
   11051 	#include <utmp.h>
   11052 
   11053 "
   11054 if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
   11055 
   11056 cat >>confdefs.h <<_ACEOF
   11057 #define HAVE_STRUCT_UTMP_UT_PID 1
   11058 _ACEOF
   11059 
   11060 
   11061 fi
   11062 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
   11063 	#include <sys/types.h>
   11064 	#include <utmp.h>
   11065 
   11066 "
   11067 if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
   11068 
   11069 cat >>confdefs.h <<_ACEOF
   11070 #define HAVE_STRUCT_UTMP_UT_TYPE 1
   11071 _ACEOF
   11072 
   11073 
   11074 fi
   11075 
   11076 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_syslen" "ac_cv_member_struct_utmpx_ut_syslen" "#include <utmpx.h>
   11077 "
   11078 if test "x$ac_cv_member_struct_utmpx_ut_syslen" = xyes; then :
   11079 
   11080 cat >>confdefs.h <<_ACEOF
   11081 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
   11082 _ACEOF
   11083 
   11084 
   11085 fi
   11086 
   11087 ac_fn_c_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" "
   11088 	#include <sys/types.h>
   11089 	#ifdef HAVE_UTMP_H
   11090 	#include <utmp.h>
   11091 	#endif
   11092 	#ifdef HAVE_LASTLOG_H
   11093 	#include <lastlog.h>
   11094 	#endif
   11095 
   11096 "
   11097 if test "x$ac_cv_type_struct_lastlog" = xyes; then :
   11098 
   11099 cat >>confdefs.h <<_ACEOF
   11100 #define HAVE_STRUCT_LASTLOG 1
   11101 _ACEOF
   11102 
   11103 
   11104 fi
   11105 
   11106 
   11107 # Checks for library functions.
   11108 for ac_func in pututline updwtmpx utmpxname
   11109 do :
   11110   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   11112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   11113   cat >>confdefs.h <<_ACEOF
   11114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11115 _ACEOF
   11116 
   11117 fi
   11118 done
   11119 
   11120 
   11121 # Obtain compiler/linker options for depedencies
   11122 
   11123 pkg_failed=no
   11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSREG" >&5
   11125 $as_echo_n "checking for SESSREG... " >&6; }
   11126 
   11127 if test -n "$SESSREG_CFLAGS"; then
   11128     pkg_cv_SESSREG_CFLAGS="$SESSREG_CFLAGS"
   11129  elif test -n "$PKG_CONFIG"; then
   11130     if test -n "$PKG_CONFIG" && \
   11131     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11132   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11133   ac_status=$?
   11134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11135   test $ac_status = 0; }; then
   11136   pkg_cv_SESSREG_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   11137 else
   11138   pkg_failed=yes
   11139 fi
   11140  else
   11141     pkg_failed=untried
   11142 fi
   11143 if test -n "$SESSREG_LIBS"; then
   11144     pkg_cv_SESSREG_LIBS="$SESSREG_LIBS"
   11145  elif test -n "$PKG_CONFIG"; then
   11146     if test -n "$PKG_CONFIG" && \
   11147     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11148   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11149   ac_status=$?
   11150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11151   test $ac_status = 0; }; then
   11152   pkg_cv_SESSREG_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   11153 else
   11154   pkg_failed=yes
   11155 fi
   11156  else
   11157     pkg_failed=untried
   11158 fi
   11159 
   11160 
   11161 
   11162 if test $pkg_failed = yes; then
   11163 
   11164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11165         _pkg_short_errors_supported=yes
   11166 else
   11167         _pkg_short_errors_supported=no
   11168 fi
   11169         if test $_pkg_short_errors_supported = yes; then
   11170 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   11171         else
   11172 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   11173         fi
   11174 	# Put the nasty error message in config.log where it belongs
   11175 	echo "$SESSREG_PKG_ERRORS" >&5
   11176 
   11177 	as_fn_error $? "Package requirements (xproto) were not met:
   11178 
   11179 $SESSREG_PKG_ERRORS
   11180 
   11181 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11182 installed software in a non-standard prefix.
   11183 
   11184 Alternatively, you may set the environment variables SESSREG_CFLAGS
   11185 and SESSREG_LIBS to avoid the need to call pkg-config.
   11186 See the pkg-config man page for more details.
   11187 " "$LINENO" 5
   11188 elif test $pkg_failed = untried; then
   11189 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11191 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11192 is in your PATH or set the PKG_CONFIG environment variable to the full
   11193 path to pkg-config.
   11194 
   11195 Alternatively, you may set the environment variables SESSREG_CFLAGS
   11196 and SESSREG_LIBS to avoid the need to call pkg-config.
   11197 See the pkg-config man page for more details.
   11198 
   11199 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11200 See \`config.log' for more details" "$LINENO" 5; }
   11201 else
   11202 	SESSREG_CFLAGS=$pkg_cv_SESSREG_CFLAGS
   11203 	SESSREG_LIBS=$pkg_cv_SESSREG_LIBS
   11204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11205 $as_echo "yes" >&6; }
   11206 	:
   11207 fi
   11208 
   11209 ac_config_files="$ac_config_files Makefile man/Makefile"
   11210 
   11211 cat >confcache <<\_ACEOF
   11212 # This file is a shell script that caches the results of configure
   11213 # tests run on this system so they can be shared between configure
   11214 # scripts and configure runs, see configure's option --config-cache.
   11215 # It is not useful on other systems.  If it contains results you don't
   11216 # want to keep, you may remove or edit it.
   11217 #
   11218 # config.status only pays attention to the cache file if you give it
   11219 # the --recheck option to rerun configure.
   11220 #
   11221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11223 # following values.
   11224 
   11225 _ACEOF
   11226 
   11227 # The following way of writing the cache mishandles newlines in values,
   11228 # but we know of no workaround that is simple, portable, and efficient.
   11229 # So, we kill variables containing newlines.
   11230 # Ultrix sh set writes to stderr and can't be redirected directly,
   11231 # and sets the high bit in the cache file unless we assign to the vars.
   11232 (
   11233   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11234     eval ac_val=\$$ac_var
   11235     case $ac_val in #(
   11236     *${as_nl}*)
   11237       case $ac_var in #(
   11238       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11240       esac
   11241       case $ac_var in #(
   11242       _ | IFS | as_nl) ;; #(
   11243       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11244       *) { eval $ac_var=; unset $ac_var;} ;;
   11245       esac ;;
   11246     esac
   11247   done
   11248 
   11249   (set) 2>&1 |
   11250     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11251     *${as_nl}ac_space=\ *)
   11252       # `set' does not quote correctly, so add quotes: double-quote
   11253       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11254       sed -n \
   11255 	"s/'/'\\\\''/g;
   11256 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11257       ;; #(
   11258     *)
   11259       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11260       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11261       ;;
   11262     esac |
   11263     sort
   11264 ) |
   11265   sed '
   11266      /^ac_cv_env_/b end
   11267      t clear
   11268      :clear
   11269      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11270      t end
   11271      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11272      :end' >>confcache
   11273 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11274   if test -w "$cache_file"; then
   11275     if test "x$cache_file" != "x/dev/null"; then
   11276       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11277 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11278       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11279 	cat confcache >"$cache_file"
   11280       else
   11281         case $cache_file in #(
   11282         */* | ?:*)
   11283 	  mv -f confcache "$cache_file"$$ &&
   11284 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11285         *)
   11286 	  mv -f confcache "$cache_file" ;;
   11287 	esac
   11288       fi
   11289     fi
   11290   else
   11291     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11292 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11293   fi
   11294 fi
   11295 rm -f confcache
   11296 
   11297 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11298 # Let make expand exec_prefix.
   11299 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11300 
   11301 DEFS=-DHAVE_CONFIG_H
   11302 
   11303 ac_libobjs=
   11304 ac_ltlibobjs=
   11305 U=
   11306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11307   # 1. Remove the extension, and $U if already installed.
   11308   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11309   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11310   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11311   #    will be set to the directory where LIBOBJS objects are built.
   11312   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11313   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11314 done
   11315 LIBOBJS=$ac_libobjs
   11316 
   11317 LTLIBOBJS=$ac_ltlibobjs
   11318 
   11319 
   11320 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11321   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11323 fi
   11324 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11325   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11327 fi
   11328  if test -n "$EXEEXT"; then
   11329   am__EXEEXT_TRUE=
   11330   am__EXEEXT_FALSE='#'
   11331 else
   11332   am__EXEEXT_TRUE='#'
   11333   am__EXEEXT_FALSE=
   11334 fi
   11335 
   11336 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11337   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11339 fi
   11340 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11341   as_fn_error $? "conditional \"LINT\" was never defined.
   11342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11343 fi
   11344 
   11345 : "${CONFIG_STATUS=./config.status}"
   11346 ac_write_fail=0
   11347 ac_clean_files_save=$ac_clean_files
   11348 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11350 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11351 as_write_fail=0
   11352 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11353 #! $SHELL
   11354 # Generated by $as_me.
   11355 # Run this file to recreate the current configuration.
   11356 # Compiler output produced by configure, useful for debugging
   11357 # configure, is in config.log if it exists.
   11358 
   11359 debug=false
   11360 ac_cs_recheck=false
   11361 ac_cs_silent=false
   11362 
   11363 SHELL=\${CONFIG_SHELL-$SHELL}
   11364 export SHELL
   11365 _ASEOF
   11366 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11367 ## -------------------- ##
   11368 ## M4sh Initialization. ##
   11369 ## -------------------- ##
   11370 
   11371 # Be more Bourne compatible
   11372 DUALCASE=1; export DUALCASE # for MKS sh
   11373 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11374   emulate sh
   11375   NULLCMD=:
   11376   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11377   # is contrary to our usage.  Disable this feature.
   11378   alias -g '${1+"$@"}'='"$@"'
   11379   setopt NO_GLOB_SUBST
   11380 else
   11381   case `(set -o) 2>/dev/null` in #(
   11382   *posix*) :
   11383     set -o posix ;; #(
   11384   *) :
   11385      ;;
   11386 esac
   11387 fi
   11388 
   11389 
   11390 as_nl='
   11391 '
   11392 export as_nl
   11393 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11394 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11395 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11396 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11397 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11398 # but without wasting forks for bash or zsh.
   11399 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11400     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11401   as_echo='print -r --'
   11402   as_echo_n='print -rn --'
   11403 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11404   as_echo='printf %s\n'
   11405   as_echo_n='printf %s'
   11406 else
   11407   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11408     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11409     as_echo_n='/usr/ucb/echo -n'
   11410   else
   11411     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11412     as_echo_n_body='eval
   11413       arg=$1;
   11414       case $arg in #(
   11415       *"$as_nl"*)
   11416 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11417 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11418       esac;
   11419       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11420     '
   11421     export as_echo_n_body
   11422     as_echo_n='sh -c $as_echo_n_body as_echo'
   11423   fi
   11424   export as_echo_body
   11425   as_echo='sh -c $as_echo_body as_echo'
   11426 fi
   11427 
   11428 # The user is always right.
   11429 if test "${PATH_SEPARATOR+set}" != set; then
   11430   PATH_SEPARATOR=:
   11431   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11432     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11433       PATH_SEPARATOR=';'
   11434   }
   11435 fi
   11436 
   11437 
   11438 # IFS
   11439 # We need space, tab and new line, in precisely that order.  Quoting is
   11440 # there to prevent editors from complaining about space-tab.
   11441 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11442 # splitting by setting IFS to empty value.)
   11443 IFS=" ""	$as_nl"
   11444 
   11445 # Find who we are.  Look in the path if we contain no directory separator.
   11446 as_myself=
   11447 case $0 in #((
   11448   *[\\/]* ) as_myself=$0 ;;
   11449   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11450 for as_dir in $PATH
   11451 do
   11452   IFS=$as_save_IFS
   11453   test -z "$as_dir" && as_dir=.
   11454     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11455   done
   11456 IFS=$as_save_IFS
   11457 
   11458      ;;
   11459 esac
   11460 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11461 # in which case we are not to be found in the path.
   11462 if test "x$as_myself" = x; then
   11463   as_myself=$0
   11464 fi
   11465 if test ! -f "$as_myself"; then
   11466   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11467   exit 1
   11468 fi
   11469 
   11470 # Unset variables that we do not need and which cause bugs (e.g. in
   11471 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11472 # suppresses any "Segmentation fault" message there.  '((' could
   11473 # trigger a bug in pdksh 5.2.14.
   11474 for as_var in BASH_ENV ENV MAIL MAILPATH
   11475 do eval test x\${$as_var+set} = xset \
   11476   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11477 done
   11478 PS1='$ '
   11479 PS2='> '
   11480 PS4='+ '
   11481 
   11482 # NLS nuisances.
   11483 LC_ALL=C
   11484 export LC_ALL
   11485 LANGUAGE=C
   11486 export LANGUAGE
   11487 
   11488 # CDPATH.
   11489 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11490 
   11491 
   11492 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11493 # ----------------------------------------
   11494 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11495 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11496 # script with STATUS, using 1 if that was 0.
   11497 as_fn_error ()
   11498 {
   11499   as_status=$1; test $as_status -eq 0 && as_status=1
   11500   if test "$4"; then
   11501     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11502     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11503   fi
   11504   $as_echo "$as_me: error: $2" >&2
   11505   as_fn_exit $as_status
   11506 } # as_fn_error
   11507 
   11508 
   11509 # as_fn_set_status STATUS
   11510 # -----------------------
   11511 # Set $? to STATUS, without forking.
   11512 as_fn_set_status ()
   11513 {
   11514   return $1
   11515 } # as_fn_set_status
   11516 
   11517 # as_fn_exit STATUS
   11518 # -----------------
   11519 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11520 as_fn_exit ()
   11521 {
   11522   set +e
   11523   as_fn_set_status $1
   11524   exit $1
   11525 } # as_fn_exit
   11526 
   11527 # as_fn_unset VAR
   11528 # ---------------
   11529 # Portably unset VAR.
   11530 as_fn_unset ()
   11531 {
   11532   { eval $1=; unset $1;}
   11533 }
   11534 as_unset=as_fn_unset
   11535 # as_fn_append VAR VALUE
   11536 # ----------------------
   11537 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11538 # advantage of any shell optimizations that allow amortized linear growth over
   11539 # repeated appends, instead of the typical quadratic growth present in naive
   11540 # implementations.
   11541 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11542   eval 'as_fn_append ()
   11543   {
   11544     eval $1+=\$2
   11545   }'
   11546 else
   11547   as_fn_append ()
   11548   {
   11549     eval $1=\$$1\$2
   11550   }
   11551 fi # as_fn_append
   11552 
   11553 # as_fn_arith ARG...
   11554 # ------------------
   11555 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11556 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11557 # must be portable across $(()) and expr.
   11558 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11559   eval 'as_fn_arith ()
   11560   {
   11561     as_val=$(( $* ))
   11562   }'
   11563 else
   11564   as_fn_arith ()
   11565   {
   11566     as_val=`expr "$@" || test $? -eq 1`
   11567   }
   11568 fi # as_fn_arith
   11569 
   11570 
   11571 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11572    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11573   as_expr=expr
   11574 else
   11575   as_expr=false
   11576 fi
   11577 
   11578 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11579   as_basename=basename
   11580 else
   11581   as_basename=false
   11582 fi
   11583 
   11584 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11585   as_dirname=dirname
   11586 else
   11587   as_dirname=false
   11588 fi
   11589 
   11590 as_me=`$as_basename -- "$0" ||
   11591 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11592 	 X"$0" : 'X\(//\)$' \| \
   11593 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11594 $as_echo X/"$0" |
   11595     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11596 	    s//\1/
   11597 	    q
   11598 	  }
   11599 	  /^X\/\(\/\/\)$/{
   11600 	    s//\1/
   11601 	    q
   11602 	  }
   11603 	  /^X\/\(\/\).*/{
   11604 	    s//\1/
   11605 	    q
   11606 	  }
   11607 	  s/.*/./; q'`
   11608 
   11609 # Avoid depending upon Character Ranges.
   11610 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11613 as_cr_digits='0123456789'
   11614 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11615 
   11616 ECHO_C= ECHO_N= ECHO_T=
   11617 case `echo -n x` in #(((((
   11618 -n*)
   11619   case `echo 'xy\c'` in
   11620   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11621   xy)  ECHO_C='\c';;
   11622   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11623        ECHO_T='	';;
   11624   esac;;
   11625 *)
   11626   ECHO_N='-n';;
   11627 esac
   11628 
   11629 rm -f conf$$ conf$$.exe conf$$.file
   11630 if test -d conf$$.dir; then
   11631   rm -f conf$$.dir/conf$$.file
   11632 else
   11633   rm -f conf$$.dir
   11634   mkdir conf$$.dir 2>/dev/null
   11635 fi
   11636 if (echo >conf$$.file) 2>/dev/null; then
   11637   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11638     as_ln_s='ln -s'
   11639     # ... but there are two gotchas:
   11640     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11641     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11642     # In both cases, we have to default to `cp -p'.
   11643     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11644       as_ln_s='cp -p'
   11645   elif ln conf$$.file conf$$ 2>/dev/null; then
   11646     as_ln_s=ln
   11647   else
   11648     as_ln_s='cp -p'
   11649   fi
   11650 else
   11651   as_ln_s='cp -p'
   11652 fi
   11653 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11654 rmdir conf$$.dir 2>/dev/null
   11655 
   11656 
   11657 # as_fn_mkdir_p
   11658 # -------------
   11659 # Create "$as_dir" as a directory, including parents if necessary.
   11660 as_fn_mkdir_p ()
   11661 {
   11662 
   11663   case $as_dir in #(
   11664   -*) as_dir=./$as_dir;;
   11665   esac
   11666   test -d "$as_dir" || eval $as_mkdir_p || {
   11667     as_dirs=
   11668     while :; do
   11669       case $as_dir in #(
   11670       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11671       *) as_qdir=$as_dir;;
   11672       esac
   11673       as_dirs="'$as_qdir' $as_dirs"
   11674       as_dir=`$as_dirname -- "$as_dir" ||
   11675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11676 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11677 	 X"$as_dir" : 'X\(//\)$' \| \
   11678 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11679 $as_echo X"$as_dir" |
   11680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11681 	    s//\1/
   11682 	    q
   11683 	  }
   11684 	  /^X\(\/\/\)[^/].*/{
   11685 	    s//\1/
   11686 	    q
   11687 	  }
   11688 	  /^X\(\/\/\)$/{
   11689 	    s//\1/
   11690 	    q
   11691 	  }
   11692 	  /^X\(\/\).*/{
   11693 	    s//\1/
   11694 	    q
   11695 	  }
   11696 	  s/.*/./; q'`
   11697       test -d "$as_dir" && break
   11698     done
   11699     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11700   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11701 
   11702 
   11703 } # as_fn_mkdir_p
   11704 if mkdir -p . 2>/dev/null; then
   11705   as_mkdir_p='mkdir -p "$as_dir"'
   11706 else
   11707   test -d ./-p && rmdir ./-p
   11708   as_mkdir_p=false
   11709 fi
   11710 
   11711 if test -x / >/dev/null 2>&1; then
   11712   as_test_x='test -x'
   11713 else
   11714   if ls -dL / >/dev/null 2>&1; then
   11715     as_ls_L_option=L
   11716   else
   11717     as_ls_L_option=
   11718   fi
   11719   as_test_x='
   11720     eval sh -c '\''
   11721       if test -d "$1"; then
   11722 	test -d "$1/.";
   11723       else
   11724 	case $1 in #(
   11725 	-*)set "./$1";;
   11726 	esac;
   11727 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11728 	???[sx]*):;;*)false;;esac;fi
   11729     '\'' sh
   11730   '
   11731 fi
   11732 as_executable_p=$as_test_x
   11733 
   11734 # Sed expression to map a string onto a valid CPP name.
   11735 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11736 
   11737 # Sed expression to map a string onto a valid variable name.
   11738 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11739 
   11740 
   11741 exec 6>&1
   11742 ## ----------------------------------- ##
   11743 ## Main body of $CONFIG_STATUS script. ##
   11744 ## ----------------------------------- ##
   11745 _ASEOF
   11746 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11747 
   11748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11749 # Save the log message, to keep $0 and so on meaningful, and to
   11750 # report actual input values of CONFIG_FILES etc. instead of their
   11751 # values after options handling.
   11752 ac_log="
   11753 This file was extended by sessreg $as_me 1.0.8, which was
   11754 generated by GNU Autoconf 2.68.  Invocation command line was
   11755 
   11756   CONFIG_FILES    = $CONFIG_FILES
   11757   CONFIG_HEADERS  = $CONFIG_HEADERS
   11758   CONFIG_LINKS    = $CONFIG_LINKS
   11759   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11760   $ $0 $@
   11761 
   11762 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11763 "
   11764 
   11765 _ACEOF
   11766 
   11767 case $ac_config_files in *"
   11768 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11769 esac
   11770 
   11771 case $ac_config_headers in *"
   11772 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11773 esac
   11774 
   11775 
   11776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11777 # Files that config.status was made for.
   11778 config_files="$ac_config_files"
   11779 config_headers="$ac_config_headers"
   11780 config_commands="$ac_config_commands"
   11781 
   11782 _ACEOF
   11783 
   11784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11785 ac_cs_usage="\
   11786 \`$as_me' instantiates files and other configuration actions
   11787 from templates according to the current configuration.  Unless the files
   11788 and actions are specified as TAGs, all are instantiated by default.
   11789 
   11790 Usage: $0 [OPTION]... [TAG]...
   11791 
   11792   -h, --help       print this help, then exit
   11793   -V, --version    print version number and configuration settings, then exit
   11794       --config     print configuration, then exit
   11795   -q, --quiet, --silent
   11796                    do not print progress messages
   11797   -d, --debug      don't remove temporary files
   11798       --recheck    update $as_me by reconfiguring in the same conditions
   11799       --file=FILE[:TEMPLATE]
   11800                    instantiate the configuration file FILE
   11801       --header=FILE[:TEMPLATE]
   11802                    instantiate the configuration header FILE
   11803 
   11804 Configuration files:
   11805 $config_files
   11806 
   11807 Configuration headers:
   11808 $config_headers
   11809 
   11810 Configuration commands:
   11811 $config_commands
   11812 
   11813 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11814 
   11815 _ACEOF
   11816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11817 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11818 ac_cs_version="\\
   11819 sessreg config.status 1.0.8
   11820 configured by $0, generated by GNU Autoconf 2.68,
   11821   with options \\"\$ac_cs_config\\"
   11822 
   11823 Copyright (C) 2010 Free Software Foundation, Inc.
   11824 This config.status script is free software; the Free Software Foundation
   11825 gives unlimited permission to copy, distribute and modify it."
   11826 
   11827 ac_pwd='$ac_pwd'
   11828 srcdir='$srcdir'
   11829 INSTALL='$INSTALL'
   11830 MKDIR_P='$MKDIR_P'
   11831 AWK='$AWK'
   11832 test -n "\$AWK" || AWK=awk
   11833 _ACEOF
   11834 
   11835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11836 # The default lists apply if the user does not specify any file.
   11837 ac_need_defaults=:
   11838 while test $# != 0
   11839 do
   11840   case $1 in
   11841   --*=?*)
   11842     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11843     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11844     ac_shift=:
   11845     ;;
   11846   --*=)
   11847     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11848     ac_optarg=
   11849     ac_shift=:
   11850     ;;
   11851   *)
   11852     ac_option=$1
   11853     ac_optarg=$2
   11854     ac_shift=shift
   11855     ;;
   11856   esac
   11857 
   11858   case $ac_option in
   11859   # Handling of the options.
   11860   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11861     ac_cs_recheck=: ;;
   11862   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11863     $as_echo "$ac_cs_version"; exit ;;
   11864   --config | --confi | --conf | --con | --co | --c )
   11865     $as_echo "$ac_cs_config"; exit ;;
   11866   --debug | --debu | --deb | --de | --d | -d )
   11867     debug=: ;;
   11868   --file | --fil | --fi | --f )
   11869     $ac_shift
   11870     case $ac_optarg in
   11871     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11872     '') as_fn_error $? "missing file argument" ;;
   11873     esac
   11874     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11875     ac_need_defaults=false;;
   11876   --header | --heade | --head | --hea )
   11877     $ac_shift
   11878     case $ac_optarg in
   11879     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11880     esac
   11881     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11882     ac_need_defaults=false;;
   11883   --he | --h)
   11884     # Conflict between --help and --header
   11885     as_fn_error $? "ambiguous option: \`$1'
   11886 Try \`$0 --help' for more information.";;
   11887   --help | --hel | -h )
   11888     $as_echo "$ac_cs_usage"; exit ;;
   11889   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11890   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11891     ac_cs_silent=: ;;
   11892 
   11893   # This is an error.
   11894   -*) as_fn_error $? "unrecognized option: \`$1'
   11895 Try \`$0 --help' for more information." ;;
   11896 
   11897   *) as_fn_append ac_config_targets " $1"
   11898      ac_need_defaults=false ;;
   11899 
   11900   esac
   11901   shift
   11902 done
   11903 
   11904 ac_configure_extra_args=
   11905 
   11906 if $ac_cs_silent; then
   11907   exec 6>/dev/null
   11908   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11909 fi
   11910 
   11911 _ACEOF
   11912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11913 if \$ac_cs_recheck; then
   11914   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11915   shift
   11916   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11917   CONFIG_SHELL='$SHELL'
   11918   export CONFIG_SHELL
   11919   exec "\$@"
   11920 fi
   11921 
   11922 _ACEOF
   11923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11924 exec 5>>config.log
   11925 {
   11926   echo
   11927   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11928 ## Running $as_me. ##
   11929 _ASBOX
   11930   $as_echo "$ac_log"
   11931 } >&5
   11932 
   11933 _ACEOF
   11934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11935 #
   11936 # INIT-COMMANDS
   11937 #
   11938 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11939 
   11940 _ACEOF
   11941 
   11942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11943 
   11944 # Handling of arguments.
   11945 for ac_config_target in $ac_config_targets
   11946 do
   11947   case $ac_config_target in
   11948     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11949     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11950     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11951     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11952 
   11953   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11954   esac
   11955 done
   11956 
   11957 
   11958 # If the user did not use the arguments to specify the items to instantiate,
   11959 # then the envvar interface is used.  Set only those that are not.
   11960 # We use the long form for the default assignment because of an extremely
   11961 # bizarre bug on SunOS 4.1.3.
   11962 if $ac_need_defaults; then
   11963   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11964   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11965   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11966 fi
   11967 
   11968 # Have a temporary directory for convenience.  Make it in the build tree
   11969 # simply because there is no reason against having it here, and in addition,
   11970 # creating and moving files from /tmp can sometimes cause problems.
   11971 # Hook for its removal unless debugging.
   11972 # Note that there is a small window in which the directory will not be cleaned:
   11973 # after its creation but before its name has been assigned to `$tmp'.
   11974 $debug ||
   11975 {
   11976   tmp= ac_tmp=
   11977   trap 'exit_status=$?
   11978   : "${ac_tmp:=$tmp}"
   11979   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11980 ' 0
   11981   trap 'as_fn_exit 1' 1 2 13 15
   11982 }
   11983 # Create a (secure) tmp directory for tmp files.
   11984 
   11985 {
   11986   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11987   test -d "$tmp"
   11988 }  ||
   11989 {
   11990   tmp=./conf$$-$RANDOM
   11991   (umask 077 && mkdir "$tmp")
   11992 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11993 ac_tmp=$tmp
   11994 
   11995 # Set up the scripts for CONFIG_FILES section.
   11996 # No need to generate them if there are no CONFIG_FILES.
   11997 # This happens for instance with `./config.status config.h'.
   11998 if test -n "$CONFIG_FILES"; then
   11999 
   12000 
   12001 ac_cr=`echo X | tr X '\015'`
   12002 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12003 # But we know of no other shell where ac_cr would be empty at this
   12004 # point, so we can use a bashism as a fallback.
   12005 if test "x$ac_cr" = x; then
   12006   eval ac_cr=\$\'\\r\'
   12007 fi
   12008 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12009 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12010   ac_cs_awk_cr='\\r'
   12011 else
   12012   ac_cs_awk_cr=$ac_cr
   12013 fi
   12014 
   12015 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12016 _ACEOF
   12017 
   12018 
   12019 {
   12020   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12021   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12022   echo "_ACEOF"
   12023 } >conf$$subs.sh ||
   12024   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12025 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12026 ac_delim='%!_!# '
   12027 for ac_last_try in false false false false false :; do
   12028   . ./conf$$subs.sh ||
   12029     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12030 
   12031   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12032   if test $ac_delim_n = $ac_delim_num; then
   12033     break
   12034   elif $ac_last_try; then
   12035     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12036   else
   12037     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12038   fi
   12039 done
   12040 rm -f conf$$subs.sh
   12041 
   12042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12043 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12044 _ACEOF
   12045 sed -n '
   12046 h
   12047 s/^/S["/; s/!.*/"]=/
   12048 p
   12049 g
   12050 s/^[^!]*!//
   12051 :repl
   12052 t repl
   12053 s/'"$ac_delim"'$//
   12054 t delim
   12055 :nl
   12056 h
   12057 s/\(.\{148\}\)..*/\1/
   12058 t more1
   12059 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12060 p
   12061 n
   12062 b repl
   12063 :more1
   12064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12065 p
   12066 g
   12067 s/.\{148\}//
   12068 t nl
   12069 :delim
   12070 h
   12071 s/\(.\{148\}\)..*/\1/
   12072 t more2
   12073 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12074 p
   12075 b
   12076 :more2
   12077 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12078 p
   12079 g
   12080 s/.\{148\}//
   12081 t delim
   12082 ' <conf$$subs.awk | sed '
   12083 /^[^""]/{
   12084   N
   12085   s/\n//
   12086 }
   12087 ' >>$CONFIG_STATUS || ac_write_fail=1
   12088 rm -f conf$$subs.awk
   12089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12090 _ACAWK
   12091 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12092   for (key in S) S_is_set[key] = 1
   12093   FS = ""
   12094 
   12095 }
   12096 {
   12097   line = $ 0
   12098   nfields = split(line, field, "@")
   12099   substed = 0
   12100   len = length(field[1])
   12101   for (i = 2; i < nfields; i++) {
   12102     key = field[i]
   12103     keylen = length(key)
   12104     if (S_is_set[key]) {
   12105       value = S[key]
   12106       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12107       len += length(value) + length(field[++i])
   12108       substed = 1
   12109     } else
   12110       len += 1 + keylen
   12111   }
   12112 
   12113   print line
   12114 }
   12115 
   12116 _ACAWK
   12117 _ACEOF
   12118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12119 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12120   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12121 else
   12122   cat
   12123 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12124   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12125 _ACEOF
   12126 
   12127 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12128 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12129 # trailing colons and then remove the whole line if VPATH becomes empty
   12130 # (actually we leave an empty line to preserve line numbers).
   12131 if test "x$srcdir" = x.; then
   12132   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12133 h
   12134 s///
   12135 s/^/:/
   12136 s/[	 ]*$/:/
   12137 s/:\$(srcdir):/:/g
   12138 s/:\${srcdir}:/:/g
   12139 s/:@srcdir@:/:/g
   12140 s/^:*//
   12141 s/:*$//
   12142 x
   12143 s/\(=[	 ]*\).*/\1/
   12144 G
   12145 s/\n//
   12146 s/^[^=]*=[	 ]*$//
   12147 }'
   12148 fi
   12149 
   12150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12151 fi # test -n "$CONFIG_FILES"
   12152 
   12153 # Set up the scripts for CONFIG_HEADERS section.
   12154 # No need to generate them if there are no CONFIG_HEADERS.
   12155 # This happens for instance with `./config.status Makefile'.
   12156 if test -n "$CONFIG_HEADERS"; then
   12157 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12158 BEGIN {
   12159 _ACEOF
   12160 
   12161 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12162 # here-document in config.status, that substitutes the proper values into
   12163 # config.h.in to produce config.h.
   12164 
   12165 # Create a delimiter string that does not exist in confdefs.h, to ease
   12166 # handling of long lines.
   12167 ac_delim='%!_!# '
   12168 for ac_last_try in false false :; do
   12169   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12170   if test -z "$ac_tt"; then
   12171     break
   12172   elif $ac_last_try; then
   12173     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12174   else
   12175     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12176   fi
   12177 done
   12178 
   12179 # For the awk script, D is an array of macro values keyed by name,
   12180 # likewise P contains macro parameters if any.  Preserve backslash
   12181 # newline sequences.
   12182 
   12183 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12184 sed -n '
   12185 s/.\{148\}/&'"$ac_delim"'/g
   12186 t rset
   12187 :rset
   12188 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12189 t def
   12190 d
   12191 :def
   12192 s/\\$//
   12193 t bsnl
   12194 s/["\\]/\\&/g
   12195 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12196 D["\1"]=" \3"/p
   12197 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12198 d
   12199 :bsnl
   12200 s/["\\]/\\&/g
   12201 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12202 D["\1"]=" \3\\\\\\n"\\/p
   12203 t cont
   12204 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12205 t cont
   12206 d
   12207 :cont
   12208 n
   12209 s/.\{148\}/&'"$ac_delim"'/g
   12210 t clear
   12211 :clear
   12212 s/\\$//
   12213 t bsnlc
   12214 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12215 d
   12216 :bsnlc
   12217 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12218 b cont
   12219 ' <confdefs.h | sed '
   12220 s/'"$ac_delim"'/"\\\
   12221 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12222 
   12223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12224   for (key in D) D_is_set[key] = 1
   12225   FS = ""
   12226 }
   12227 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12228   line = \$ 0
   12229   split(line, arg, " ")
   12230   if (arg[1] == "#") {
   12231     defundef = arg[2]
   12232     mac1 = arg[3]
   12233   } else {
   12234     defundef = substr(arg[1], 2)
   12235     mac1 = arg[2]
   12236   }
   12237   split(mac1, mac2, "(") #)
   12238   macro = mac2[1]
   12239   prefix = substr(line, 1, index(line, defundef) - 1)
   12240   if (D_is_set[macro]) {
   12241     # Preserve the white space surrounding the "#".
   12242     print prefix "define", macro P[macro] D[macro]
   12243     next
   12244   } else {
   12245     # Replace #undef with comments.  This is necessary, for example,
   12246     # in the case of _POSIX_SOURCE, which is predefined and required
   12247     # on some systems where configure will not decide to define it.
   12248     if (defundef == "undef") {
   12249       print "/*", prefix defundef, macro, "*/"
   12250       next
   12251     }
   12252   }
   12253 }
   12254 { print }
   12255 _ACAWK
   12256 _ACEOF
   12257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12258   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12259 fi # test -n "$CONFIG_HEADERS"
   12260 
   12261 
   12262 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12263 shift
   12264 for ac_tag
   12265 do
   12266   case $ac_tag in
   12267   :[FHLC]) ac_mode=$ac_tag; continue;;
   12268   esac
   12269   case $ac_mode$ac_tag in
   12270   :[FHL]*:*);;
   12271   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12272   :[FH]-) ac_tag=-:-;;
   12273   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12274   esac
   12275   ac_save_IFS=$IFS
   12276   IFS=:
   12277   set x $ac_tag
   12278   IFS=$ac_save_IFS
   12279   shift
   12280   ac_file=$1
   12281   shift
   12282 
   12283   case $ac_mode in
   12284   :L) ac_source=$1;;
   12285   :[FH])
   12286     ac_file_inputs=
   12287     for ac_f
   12288     do
   12289       case $ac_f in
   12290       -) ac_f="$ac_tmp/stdin";;
   12291       *) # Look for the file first in the build tree, then in the source tree
   12292 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12293 	 # because $ac_f cannot contain `:'.
   12294 	 test -f "$ac_f" ||
   12295 	   case $ac_f in
   12296 	   [\\/$]*) false;;
   12297 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12298 	   esac ||
   12299 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12300       esac
   12301       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12302       as_fn_append ac_file_inputs " '$ac_f'"
   12303     done
   12304 
   12305     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12306     # use $as_me), people would be surprised to read:
   12307     #    /* config.h.  Generated by config.status.  */
   12308     configure_input='Generated from '`
   12309 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12310 	`' by configure.'
   12311     if test x"$ac_file" != x-; then
   12312       configure_input="$ac_file.  $configure_input"
   12313       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12314 $as_echo "$as_me: creating $ac_file" >&6;}
   12315     fi
   12316     # Neutralize special characters interpreted by sed in replacement strings.
   12317     case $configure_input in #(
   12318     *\&* | *\|* | *\\* )
   12319        ac_sed_conf_input=`$as_echo "$configure_input" |
   12320        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12321     *) ac_sed_conf_input=$configure_input;;
   12322     esac
   12323 
   12324     case $ac_tag in
   12325     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12326       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12327     esac
   12328     ;;
   12329   esac
   12330 
   12331   ac_dir=`$as_dirname -- "$ac_file" ||
   12332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12333 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12334 	 X"$ac_file" : 'X\(//\)$' \| \
   12335 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12336 $as_echo X"$ac_file" |
   12337     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12338 	    s//\1/
   12339 	    q
   12340 	  }
   12341 	  /^X\(\/\/\)[^/].*/{
   12342 	    s//\1/
   12343 	    q
   12344 	  }
   12345 	  /^X\(\/\/\)$/{
   12346 	    s//\1/
   12347 	    q
   12348 	  }
   12349 	  /^X\(\/\).*/{
   12350 	    s//\1/
   12351 	    q
   12352 	  }
   12353 	  s/.*/./; q'`
   12354   as_dir="$ac_dir"; as_fn_mkdir_p
   12355   ac_builddir=.
   12356 
   12357 case "$ac_dir" in
   12358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12359 *)
   12360   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12361   # A ".." for each directory in $ac_dir_suffix.
   12362   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12363   case $ac_top_builddir_sub in
   12364   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12365   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12366   esac ;;
   12367 esac
   12368 ac_abs_top_builddir=$ac_pwd
   12369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12370 # for backward compatibility:
   12371 ac_top_builddir=$ac_top_build_prefix
   12372 
   12373 case $srcdir in
   12374   .)  # We are building in place.
   12375     ac_srcdir=.
   12376     ac_top_srcdir=$ac_top_builddir_sub
   12377     ac_abs_top_srcdir=$ac_pwd ;;
   12378   [\\/]* | ?:[\\/]* )  # Absolute name.
   12379     ac_srcdir=$srcdir$ac_dir_suffix;
   12380     ac_top_srcdir=$srcdir
   12381     ac_abs_top_srcdir=$srcdir ;;
   12382   *) # Relative name.
   12383     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12384     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12385     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12386 esac
   12387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12388 
   12389 
   12390   case $ac_mode in
   12391   :F)
   12392   #
   12393   # CONFIG_FILE
   12394   #
   12395 
   12396   case $INSTALL in
   12397   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12398   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12399   esac
   12400   ac_MKDIR_P=$MKDIR_P
   12401   case $MKDIR_P in
   12402   [\\/$]* | ?:[\\/]* ) ;;
   12403   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12404   esac
   12405 _ACEOF
   12406 
   12407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12408 # If the template does not know about datarootdir, expand it.
   12409 # FIXME: This hack should be removed a few years after 2.60.
   12410 ac_datarootdir_hack=; ac_datarootdir_seen=
   12411 ac_sed_dataroot='
   12412 /datarootdir/ {
   12413   p
   12414   q
   12415 }
   12416 /@datadir@/p
   12417 /@docdir@/p
   12418 /@infodir@/p
   12419 /@localedir@/p
   12420 /@mandir@/p'
   12421 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12422 *datarootdir*) ac_datarootdir_seen=yes;;
   12423 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12424   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12425 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12426 _ACEOF
   12427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12428   ac_datarootdir_hack='
   12429   s&@datadir@&$datadir&g
   12430   s&@docdir@&$docdir&g
   12431   s&@infodir@&$infodir&g
   12432   s&@localedir@&$localedir&g
   12433   s&@mandir@&$mandir&g
   12434   s&\\\${datarootdir}&$datarootdir&g' ;;
   12435 esac
   12436 _ACEOF
   12437 
   12438 # Neutralize VPATH when `$srcdir' = `.'.
   12439 # Shell code in configure.ac might set extrasub.
   12440 # FIXME: do we really want to maintain this feature?
   12441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12442 ac_sed_extra="$ac_vpsub
   12443 $extrasub
   12444 _ACEOF
   12445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12446 :t
   12447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12448 s|@configure_input@|$ac_sed_conf_input|;t t
   12449 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12450 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12451 s&@srcdir@&$ac_srcdir&;t t
   12452 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12453 s&@top_srcdir@&$ac_top_srcdir&;t t
   12454 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12455 s&@builddir@&$ac_builddir&;t t
   12456 s&@abs_builddir@&$ac_abs_builddir&;t t
   12457 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12458 s&@INSTALL@&$ac_INSTALL&;t t
   12459 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12460 $ac_datarootdir_hack
   12461 "
   12462 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12463   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12464 
   12465 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12466   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12467   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12468       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12469   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12470 which seems to be undefined.  Please make sure it is defined" >&5
   12471 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12472 which seems to be undefined.  Please make sure it is defined" >&2;}
   12473 
   12474   rm -f "$ac_tmp/stdin"
   12475   case $ac_file in
   12476   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12477   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12478   esac \
   12479   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12480  ;;
   12481   :H)
   12482   #
   12483   # CONFIG_HEADER
   12484   #
   12485   if test x"$ac_file" != x-; then
   12486     {
   12487       $as_echo "/* $configure_input  */" \
   12488       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12489     } >"$ac_tmp/config.h" \
   12490       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12491     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12492       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12493 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12494     else
   12495       rm -f "$ac_file"
   12496       mv "$ac_tmp/config.h" "$ac_file" \
   12497 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12498     fi
   12499   else
   12500     $as_echo "/* $configure_input  */" \
   12501       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12502       || as_fn_error $? "could not create -" "$LINENO" 5
   12503   fi
   12504 # Compute "$ac_file"'s index in $config_headers.
   12505 _am_arg="$ac_file"
   12506 _am_stamp_count=1
   12507 for _am_header in $config_headers :; do
   12508   case $_am_header in
   12509     $_am_arg | $_am_arg:* )
   12510       break ;;
   12511     * )
   12512       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12513   esac
   12514 done
   12515 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12516 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12517 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12518 	 X"$_am_arg" : 'X\(//\)$' \| \
   12519 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12520 $as_echo X"$_am_arg" |
   12521     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12522 	    s//\1/
   12523 	    q
   12524 	  }
   12525 	  /^X\(\/\/\)[^/].*/{
   12526 	    s//\1/
   12527 	    q
   12528 	  }
   12529 	  /^X\(\/\/\)$/{
   12530 	    s//\1/
   12531 	    q
   12532 	  }
   12533 	  /^X\(\/\).*/{
   12534 	    s//\1/
   12535 	    q
   12536 	  }
   12537 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12538  ;;
   12539 
   12540   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12541 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12542  ;;
   12543   esac
   12544 
   12545 
   12546   case $ac_file$ac_mode in
   12547     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12548   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12549   # are listed without --file.  Let's play safe and only enable the eval
   12550   # if we detect the quoting.
   12551   case $CONFIG_FILES in
   12552   *\'*) eval set x "$CONFIG_FILES" ;;
   12553   *)   set x $CONFIG_FILES ;;
   12554   esac
   12555   shift
   12556   for mf
   12557   do
   12558     # Strip MF so we end up with the name of the file.
   12559     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12560     # Check whether this is an Automake generated Makefile or not.
   12561     # We used to match only the files named `Makefile.in', but
   12562     # some people rename them; so instead we look at the file content.
   12563     # Grep'ing the first line is not enough: some people post-process
   12564     # each Makefile.in and add a new line on top of each file to say so.
   12565     # Grep'ing the whole file is not good either: AIX grep has a line
   12566     # limit of 2048, but all sed's we know have understand at least 4000.
   12567     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12568       dirpart=`$as_dirname -- "$mf" ||
   12569 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12570 	 X"$mf" : 'X\(//\)[^/]' \| \
   12571 	 X"$mf" : 'X\(//\)$' \| \
   12572 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12573 $as_echo X"$mf" |
   12574     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12575 	    s//\1/
   12576 	    q
   12577 	  }
   12578 	  /^X\(\/\/\)[^/].*/{
   12579 	    s//\1/
   12580 	    q
   12581 	  }
   12582 	  /^X\(\/\/\)$/{
   12583 	    s//\1/
   12584 	    q
   12585 	  }
   12586 	  /^X\(\/\).*/{
   12587 	    s//\1/
   12588 	    q
   12589 	  }
   12590 	  s/.*/./; q'`
   12591     else
   12592       continue
   12593     fi
   12594     # Extract the definition of DEPDIR, am__include, and am__quote
   12595     # from the Makefile without running `make'.
   12596     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12597     test -z "$DEPDIR" && continue
   12598     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12599     test -z "am__include" && continue
   12600     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12601     # When using ansi2knr, U may be empty or an underscore; expand it
   12602     U=`sed -n 's/^U = //p' < "$mf"`
   12603     # Find all dependency output files, they are included files with
   12604     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12605     # simplest approach to changing $(DEPDIR) to its actual value in the
   12606     # expansion.
   12607     for file in `sed -n "
   12608       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12609 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12610       # Make sure the directory exists.
   12611       test -f "$dirpart/$file" && continue
   12612       fdir=`$as_dirname -- "$file" ||
   12613 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12614 	 X"$file" : 'X\(//\)[^/]' \| \
   12615 	 X"$file" : 'X\(//\)$' \| \
   12616 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12617 $as_echo X"$file" |
   12618     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12619 	    s//\1/
   12620 	    q
   12621 	  }
   12622 	  /^X\(\/\/\)[^/].*/{
   12623 	    s//\1/
   12624 	    q
   12625 	  }
   12626 	  /^X\(\/\/\)$/{
   12627 	    s//\1/
   12628 	    q
   12629 	  }
   12630 	  /^X\(\/\).*/{
   12631 	    s//\1/
   12632 	    q
   12633 	  }
   12634 	  s/.*/./; q'`
   12635       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12636       # echo "creating $dirpart/$file"
   12637       echo '# dummy' > "$dirpart/$file"
   12638     done
   12639   done
   12640 }
   12641  ;;
   12642 
   12643   esac
   12644 done # for ac_tag
   12645 
   12646 
   12647 as_fn_exit 0
   12648 _ACEOF
   12649 ac_clean_files=$ac_clean_files_save
   12650 
   12651 test $ac_write_fail = 0 ||
   12652   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12653 
   12654 
   12655 # configure is writing to config.log, and then calls config.status.
   12656 # config.status does its own redirection, appending to config.log.
   12657 # Unfortunately, on DOS this fails, as config.log is still kept open
   12658 # by configure, so config.status won't be able to write to it; its
   12659 # output is simply discarded.  So we exec the FD to /dev/null,
   12660 # effectively closing config.log, so it can be properly (re)opened and
   12661 # appended to by config.status.  When coming back to configure, we
   12662 # need to make the FD available again.
   12663 if test "$no_create" != yes; then
   12664   ac_cs_success=:
   12665   ac_config_status_args=
   12666   test "$silent" = yes &&
   12667     ac_config_status_args="$ac_config_status_args --quiet"
   12668   exec 5>/dev/null
   12669   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12670   exec 5>>config.log
   12671   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12672   # would make configure fail if this is the last instruction.
   12673   $ac_cs_success || as_fn_exit 1
   12674 fi
   12675 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12676   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12677 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12678 fi
   12679 
   12680