Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for sessreg 1.1.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='sessreg'
    583 PACKAGE_TARNAME='sessreg'
    584 PACKAGE_VERSION='1.1.0'
    585 PACKAGE_STRING='sessreg 1.1.0'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 SESSREG_LIBS
    631 SESSREG_CFLAGS
    632 LINT_FALSE
    633 LINT_TRUE
    634 LINT_FLAGS
    635 LINT
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 AM_BACKSLASH
    666 AM_DEFAULT_VERBOSITY
    667 AM_DEFAULT_V
    668 AM_V
    669 am__fastdepCC_FALSE
    670 am__fastdepCC_TRUE
    671 CCDEPMODE
    672 am__nodep
    673 AMDEPBACKSLASH
    674 AMDEP_FALSE
    675 AMDEP_TRUE
    676 am__quote
    677 am__include
    678 DEPDIR
    679 am__untar
    680 am__tar
    681 AMTAR
    682 am__leading_dot
    683 SET_MAKE
    684 AWK
    685 mkdir_p
    686 MKDIR_P
    687 INSTALL_STRIP_PROGRAM
    688 STRIP
    689 install_sh
    690 MAKEINFO
    691 AUTOHEADER
    692 AUTOMAKE
    693 AUTOCONF
    694 ACLOCAL
    695 VERSION
    696 PACKAGE
    697 CYGPATH_W
    698 am__isrc
    699 INSTALL_DATA
    700 INSTALL_SCRIPT
    701 INSTALL_PROGRAM
    702 EGREP
    703 GREP
    704 CPP
    705 OBJEXT
    706 EXEEXT
    707 ac_ct_CC
    708 CPPFLAGS
    709 LDFLAGS
    710 CFLAGS
    711 CC
    712 target_alias
    713 host_alias
    714 build_alias
    715 LIBS
    716 ECHO_T
    717 ECHO_N
    718 ECHO_C
    719 DEFS
    720 mandir
    721 localedir
    722 libdir
    723 psdir
    724 pdfdir
    725 dvidir
    726 htmldir
    727 infodir
    728 docdir
    729 oldincludedir
    730 includedir
    731 localstatedir
    732 sharedstatedir
    733 sysconfdir
    734 datadir
    735 datarootdir
    736 libexecdir
    737 sbindir
    738 bindir
    739 program_transform_name
    740 prefix
    741 exec_prefix
    742 PACKAGE_URL
    743 PACKAGE_BUGREPORT
    744 PACKAGE_STRING
    745 PACKAGE_VERSION
    746 PACKAGE_TARNAME
    747 PACKAGE_NAME
    748 PATH_SEPARATOR
    749 SHELL'
    750 ac_subst_files=''
    751 ac_user_opts='
    752 enable_option_checking
    753 enable_largefile
    754 enable_dependency_tracking
    755 enable_silent_rules
    756 enable_selective_werror
    757 enable_strict_compilation
    758 with_lint
    759 '
    760       ac_precious_vars='build_alias
    761 host_alias
    762 target_alias
    763 CC
    764 CFLAGS
    765 LDFLAGS
    766 LIBS
    767 CPPFLAGS
    768 CPP
    769 PKG_CONFIG
    770 LINT
    771 LINT_FLAGS
    772 SESSREG_CFLAGS
    773 SESSREG_LIBS'
    774 
    775 
    776 # Initialize some variables set by options.
    777 ac_init_help=
    778 ac_init_version=false
    779 ac_unrecognized_opts=
    780 ac_unrecognized_sep=
    781 # The variables have the same names as the options, with
    782 # dashes changed to underlines.
    783 cache_file=/dev/null
    784 exec_prefix=NONE
    785 no_create=
    786 no_recursion=
    787 prefix=NONE
    788 program_prefix=NONE
    789 program_suffix=NONE
    790 program_transform_name=s,x,x,
    791 silent=
    792 site=
    793 srcdir=
    794 verbose=
    795 x_includes=NONE
    796 x_libraries=NONE
    797 
    798 # Installation directory options.
    799 # These are left unexpanded so users can "make install exec_prefix=/foo"
    800 # and all the variables that are supposed to be based on exec_prefix
    801 # by default will actually change.
    802 # Use braces instead of parens because sh, perl, etc. also accept them.
    803 # (The list follows the same order as the GNU Coding Standards.)
    804 bindir='${exec_prefix}/bin'
    805 sbindir='${exec_prefix}/sbin'
    806 libexecdir='${exec_prefix}/libexec'
    807 datarootdir='${prefix}/share'
    808 datadir='${datarootdir}'
    809 sysconfdir='${prefix}/etc'
    810 sharedstatedir='${prefix}/com'
    811 localstatedir='${prefix}/var'
    812 includedir='${prefix}/include'
    813 oldincludedir='/usr/include'
    814 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    815 infodir='${datarootdir}/info'
    816 htmldir='${docdir}'
    817 dvidir='${docdir}'
    818 pdfdir='${docdir}'
    819 psdir='${docdir}'
    820 libdir='${exec_prefix}/lib'
    821 localedir='${datarootdir}/locale'
    822 mandir='${datarootdir}/man'
    823 
    824 ac_prev=
    825 ac_dashdash=
    826 for ac_option
    827 do
    828   # If the previous option needs an argument, assign it.
    829   if test -n "$ac_prev"; then
    830     eval $ac_prev=\$ac_option
    831     ac_prev=
    832     continue
    833   fi
    834 
    835   case $ac_option in
    836   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    837   *=)   ac_optarg= ;;
    838   *)    ac_optarg=yes ;;
    839   esac
    840 
    841   # Accept the important Cygnus configure options, so we can diagnose typos.
    842 
    843   case $ac_dashdash$ac_option in
    844   --)
    845     ac_dashdash=yes ;;
    846 
    847   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    848     ac_prev=bindir ;;
    849   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    850     bindir=$ac_optarg ;;
    851 
    852   -build | --build | --buil | --bui | --bu)
    853     ac_prev=build_alias ;;
    854   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    855     build_alias=$ac_optarg ;;
    856 
    857   -cache-file | --cache-file | --cache-fil | --cache-fi \
    858   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    859     ac_prev=cache_file ;;
    860   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    861   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    862     cache_file=$ac_optarg ;;
    863 
    864   --config-cache | -C)
    865     cache_file=config.cache ;;
    866 
    867   -datadir | --datadir | --datadi | --datad)
    868     ac_prev=datadir ;;
    869   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    870     datadir=$ac_optarg ;;
    871 
    872   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    873   | --dataroo | --dataro | --datar)
    874     ac_prev=datarootdir ;;
    875   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    876   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    877     datarootdir=$ac_optarg ;;
    878 
    879   -disable-* | --disable-*)
    880     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    881     # Reject names that are not valid shell variable names.
    882     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       as_fn_error $? "invalid feature name: $ac_useropt"
    884     ac_useropt_orig=$ac_useropt
    885     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    886     case $ac_user_opts in
    887       *"
    888 "enable_$ac_useropt"
    889 "*) ;;
    890       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    891 	 ac_unrecognized_sep=', ';;
    892     esac
    893     eval enable_$ac_useropt=no ;;
    894 
    895   -docdir | --docdir | --docdi | --doc | --do)
    896     ac_prev=docdir ;;
    897   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    898     docdir=$ac_optarg ;;
    899 
    900   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    901     ac_prev=dvidir ;;
    902   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    903     dvidir=$ac_optarg ;;
    904 
    905   -enable-* | --enable-*)
    906     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    907     # Reject names that are not valid shell variable names.
    908     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       as_fn_error $? "invalid feature name: $ac_useropt"
    910     ac_useropt_orig=$ac_useropt
    911     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    912     case $ac_user_opts in
    913       *"
    914 "enable_$ac_useropt"
    915 "*) ;;
    916       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    917 	 ac_unrecognized_sep=', ';;
    918     esac
    919     eval enable_$ac_useropt=\$ac_optarg ;;
    920 
    921   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    922   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    923   | --exec | --exe | --ex)
    924     ac_prev=exec_prefix ;;
    925   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    926   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    927   | --exec=* | --exe=* | --ex=*)
    928     exec_prefix=$ac_optarg ;;
    929 
    930   -gas | --gas | --ga | --g)
    931     # Obsolete; use --with-gas.
    932     with_gas=yes ;;
    933 
    934   -help | --help | --hel | --he | -h)
    935     ac_init_help=long ;;
    936   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    937     ac_init_help=recursive ;;
    938   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    939     ac_init_help=short ;;
    940 
    941   -host | --host | --hos | --ho)
    942     ac_prev=host_alias ;;
    943   -host=* | --host=* | --hos=* | --ho=*)
    944     host_alias=$ac_optarg ;;
    945 
    946   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    947     ac_prev=htmldir ;;
    948   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    949   | --ht=*)
    950     htmldir=$ac_optarg ;;
    951 
    952   -includedir | --includedir | --includedi | --included | --include \
    953   | --includ | --inclu | --incl | --inc)
    954     ac_prev=includedir ;;
    955   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    956   | --includ=* | --inclu=* | --incl=* | --inc=*)
    957     includedir=$ac_optarg ;;
    958 
    959   -infodir | --infodir | --infodi | --infod | --info | --inf)
    960     ac_prev=infodir ;;
    961   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    962     infodir=$ac_optarg ;;
    963 
    964   -libdir | --libdir | --libdi | --libd)
    965     ac_prev=libdir ;;
    966   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    967     libdir=$ac_optarg ;;
    968 
    969   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    970   | --libexe | --libex | --libe)
    971     ac_prev=libexecdir ;;
    972   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    973   | --libexe=* | --libex=* | --libe=*)
    974     libexecdir=$ac_optarg ;;
    975 
    976   -localedir | --localedir | --localedi | --localed | --locale)
    977     ac_prev=localedir ;;
    978   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    979     localedir=$ac_optarg ;;
    980 
    981   -localstatedir | --localstatedir | --localstatedi | --localstated \
    982   | --localstate | --localstat | --localsta | --localst | --locals)
    983     ac_prev=localstatedir ;;
    984   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    985   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    986     localstatedir=$ac_optarg ;;
    987 
    988   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    989     ac_prev=mandir ;;
    990   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    991     mandir=$ac_optarg ;;
    992 
    993   -nfp | --nfp | --nf)
    994     # Obsolete; use --without-fp.
    995     with_fp=no ;;
    996 
    997   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    998   | --no-cr | --no-c | -n)
    999     no_create=yes ;;
   1000 
   1001   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1002   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1003     no_recursion=yes ;;
   1004 
   1005   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1006   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1007   | --oldin | --oldi | --old | --ol | --o)
   1008     ac_prev=oldincludedir ;;
   1009   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1010   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1011   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1012     oldincludedir=$ac_optarg ;;
   1013 
   1014   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1015     ac_prev=prefix ;;
   1016   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1017     prefix=$ac_optarg ;;
   1018 
   1019   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1020   | --program-pre | --program-pr | --program-p)
   1021     ac_prev=program_prefix ;;
   1022   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1023   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1024     program_prefix=$ac_optarg ;;
   1025 
   1026   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1027   | --program-suf | --program-su | --program-s)
   1028     ac_prev=program_suffix ;;
   1029   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1030   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1031     program_suffix=$ac_optarg ;;
   1032 
   1033   -program-transform-name | --program-transform-name \
   1034   | --program-transform-nam | --program-transform-na \
   1035   | --program-transform-n | --program-transform- \
   1036   | --program-transform | --program-transfor \
   1037   | --program-transfo | --program-transf \
   1038   | --program-trans | --program-tran \
   1039   | --progr-tra | --program-tr | --program-t)
   1040     ac_prev=program_transform_name ;;
   1041   -program-transform-name=* | --program-transform-name=* \
   1042   | --program-transform-nam=* | --program-transform-na=* \
   1043   | --program-transform-n=* | --program-transform-=* \
   1044   | --program-transform=* | --program-transfor=* \
   1045   | --program-transfo=* | --program-transf=* \
   1046   | --program-trans=* | --program-tran=* \
   1047   | --progr-tra=* | --program-tr=* | --program-t=*)
   1048     program_transform_name=$ac_optarg ;;
   1049 
   1050   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1051     ac_prev=pdfdir ;;
   1052   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1053     pdfdir=$ac_optarg ;;
   1054 
   1055   -psdir | --psdir | --psdi | --psd | --ps)
   1056     ac_prev=psdir ;;
   1057   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1058     psdir=$ac_optarg ;;
   1059 
   1060   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1061   | -silent | --silent | --silen | --sile | --sil)
   1062     silent=yes ;;
   1063 
   1064   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1065     ac_prev=sbindir ;;
   1066   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1067   | --sbi=* | --sb=*)
   1068     sbindir=$ac_optarg ;;
   1069 
   1070   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1071   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1072   | --sharedst | --shareds | --shared | --share | --shar \
   1073   | --sha | --sh)
   1074     ac_prev=sharedstatedir ;;
   1075   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1076   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1077   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1078   | --sha=* | --sh=*)
   1079     sharedstatedir=$ac_optarg ;;
   1080 
   1081   -site | --site | --sit)
   1082     ac_prev=site ;;
   1083   -site=* | --site=* | --sit=*)
   1084     site=$ac_optarg ;;
   1085 
   1086   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1087     ac_prev=srcdir ;;
   1088   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1089     srcdir=$ac_optarg ;;
   1090 
   1091   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1092   | --syscon | --sysco | --sysc | --sys | --sy)
   1093     ac_prev=sysconfdir ;;
   1094   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1095   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1096     sysconfdir=$ac_optarg ;;
   1097 
   1098   -target | --target | --targe | --targ | --tar | --ta | --t)
   1099     ac_prev=target_alias ;;
   1100   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1101     target_alias=$ac_optarg ;;
   1102 
   1103   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1104     verbose=yes ;;
   1105 
   1106   -version | --version | --versio | --versi | --vers | -V)
   1107     ac_init_version=: ;;
   1108 
   1109   -with-* | --with-*)
   1110     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1111     # Reject names that are not valid shell variable names.
   1112     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1113       as_fn_error $? "invalid package name: $ac_useropt"
   1114     ac_useropt_orig=$ac_useropt
   1115     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1116     case $ac_user_opts in
   1117       *"
   1118 "with_$ac_useropt"
   1119 "*) ;;
   1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1121 	 ac_unrecognized_sep=', ';;
   1122     esac
   1123     eval with_$ac_useropt=\$ac_optarg ;;
   1124 
   1125   -without-* | --without-*)
   1126     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1127     # Reject names that are not valid shell variable names.
   1128     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1129       as_fn_error $? "invalid package name: $ac_useropt"
   1130     ac_useropt_orig=$ac_useropt
   1131     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1132     case $ac_user_opts in
   1133       *"
   1134 "with_$ac_useropt"
   1135 "*) ;;
   1136       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1137 	 ac_unrecognized_sep=', ';;
   1138     esac
   1139     eval with_$ac_useropt=no ;;
   1140 
   1141   --x)
   1142     # Obsolete; use --with-x.
   1143     with_x=yes ;;
   1144 
   1145   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1146   | --x-incl | --x-inc | --x-in | --x-i)
   1147     ac_prev=x_includes ;;
   1148   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1149   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1150     x_includes=$ac_optarg ;;
   1151 
   1152   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1153   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1154     ac_prev=x_libraries ;;
   1155   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1156   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1157     x_libraries=$ac_optarg ;;
   1158 
   1159   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1160 Try \`$0 --help' for more information"
   1161     ;;
   1162 
   1163   *=*)
   1164     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1165     # Reject names that are not valid shell variable names.
   1166     case $ac_envvar in #(
   1167       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1168       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1169     esac
   1170     eval $ac_envvar=\$ac_optarg
   1171     export $ac_envvar ;;
   1172 
   1173   *)
   1174     # FIXME: should be removed in autoconf 3.0.
   1175     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1176     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1177       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1178     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1179     ;;
   1180 
   1181   esac
   1182 done
   1183 
   1184 if test -n "$ac_prev"; then
   1185   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1186   as_fn_error $? "missing argument to $ac_option"
   1187 fi
   1188 
   1189 if test -n "$ac_unrecognized_opts"; then
   1190   case $enable_option_checking in
   1191     no) ;;
   1192     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1193     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1194   esac
   1195 fi
   1196 
   1197 # Check all directory arguments for consistency.
   1198 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1199 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1200 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1201 		libdir localedir mandir
   1202 do
   1203   eval ac_val=\$$ac_var
   1204   # Remove trailing slashes.
   1205   case $ac_val in
   1206     */ )
   1207       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1208       eval $ac_var=\$ac_val;;
   1209   esac
   1210   # Be sure to have absolute directory names.
   1211   case $ac_val in
   1212     [\\/$]* | ?:[\\/]* )  continue;;
   1213     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1214   esac
   1215   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1216 done
   1217 
   1218 # There might be people who depend on the old broken behavior: `$host'
   1219 # used to hold the argument of --host etc.
   1220 # FIXME: To remove some day.
   1221 build=$build_alias
   1222 host=$host_alias
   1223 target=$target_alias
   1224 
   1225 # FIXME: To remove some day.
   1226 if test "x$host_alias" != x; then
   1227   if test "x$build_alias" = x; then
   1228     cross_compiling=maybe
   1229   elif test "x$build_alias" != "x$host_alias"; then
   1230     cross_compiling=yes
   1231   fi
   1232 fi
   1233 
   1234 ac_tool_prefix=
   1235 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1236 
   1237 test "$silent" = yes && exec 6>/dev/null
   1238 
   1239 
   1240 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1241 ac_ls_di=`ls -di .` &&
   1242 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1243   as_fn_error $? "working directory cannot be determined"
   1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1245   as_fn_error $? "pwd does not report name of working directory"
   1246 
   1247 
   1248 # Find the source files, if location was not specified.
   1249 if test -z "$srcdir"; then
   1250   ac_srcdir_defaulted=yes
   1251   # Try the directory containing this script, then the parent directory.
   1252   ac_confdir=`$as_dirname -- "$as_myself" ||
   1253 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1254 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1255 	 X"$as_myself" : 'X\(//\)$' \| \
   1256 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1257 $as_echo X"$as_myself" |
   1258     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1259 	    s//\1/
   1260 	    q
   1261 	  }
   1262 	  /^X\(\/\/\)[^/].*/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\/\)$/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  /^X\(\/\).*/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  s/.*/./; q'`
   1275   srcdir=$ac_confdir
   1276   if test ! -r "$srcdir/$ac_unique_file"; then
   1277     srcdir=..
   1278   fi
   1279 else
   1280   ac_srcdir_defaulted=no
   1281 fi
   1282 if test ! -r "$srcdir/$ac_unique_file"; then
   1283   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1284   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1285 fi
   1286 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1287 ac_abs_confdir=`(
   1288 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1289 	pwd)`
   1290 # When building in place, set srcdir=.
   1291 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1292   srcdir=.
   1293 fi
   1294 # Remove unnecessary trailing slashes from srcdir.
   1295 # Double slashes in file names in object file debugging info
   1296 # mess up M-x gdb in Emacs.
   1297 case $srcdir in
   1298 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1299 esac
   1300 for ac_var in $ac_precious_vars; do
   1301   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1302   eval ac_env_${ac_var}_value=\$${ac_var}
   1303   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1304   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1305 done
   1306 
   1307 #
   1308 # Report the --help message.
   1309 #
   1310 if test "$ac_init_help" = "long"; then
   1311   # Omit some internal or obsolete options to make the list less imposing.
   1312   # This message is too long to be a string in the A/UX 3.1 sh.
   1313   cat <<_ACEOF
   1314 \`configure' configures sessreg 1.1.0 to adapt to many kinds of systems.
   1315 
   1316 Usage: $0 [OPTION]... [VAR=VALUE]...
   1317 
   1318 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1319 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1320 
   1321 Defaults for the options are specified in brackets.
   1322 
   1323 Configuration:
   1324   -h, --help              display this help and exit
   1325       --help=short        display options specific to this package
   1326       --help=recursive    display the short help of all the included packages
   1327   -V, --version           display version information and exit
   1328   -q, --quiet, --silent   do not print \`checking ...' messages
   1329       --cache-file=FILE   cache test results in FILE [disabled]
   1330   -C, --config-cache      alias for \`--cache-file=config.cache'
   1331   -n, --no-create         do not create output files
   1332       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1333 
   1334 Installation directories:
   1335   --prefix=PREFIX         install architecture-independent files in PREFIX
   1336                           [$ac_default_prefix]
   1337   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1338                           [PREFIX]
   1339 
   1340 By default, \`make install' will install all the files in
   1341 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1342 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1343 for instance \`--prefix=\$HOME'.
   1344 
   1345 For better control, use the options below.
   1346 
   1347 Fine tuning of the installation directories:
   1348   --bindir=DIR            user executables [EPREFIX/bin]
   1349   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1350   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1351   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1352   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1353   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1354   --libdir=DIR            object code libraries [EPREFIX/lib]
   1355   --includedir=DIR        C header files [PREFIX/include]
   1356   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1357   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1358   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1359   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1360   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1361   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1362   --docdir=DIR            documentation root [DATAROOTDIR/doc/sessreg]
   1363   --htmldir=DIR           html documentation [DOCDIR]
   1364   --dvidir=DIR            dvi documentation [DOCDIR]
   1365   --pdfdir=DIR            pdf documentation [DOCDIR]
   1366   --psdir=DIR             ps documentation [DOCDIR]
   1367 _ACEOF
   1368 
   1369   cat <<\_ACEOF
   1370 
   1371 Program names:
   1372   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1373   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1374   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1375 
   1376 System types:
   1377   --build=BUILD     configure for building on BUILD [guessed]
   1378   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1379 _ACEOF
   1380 fi
   1381 
   1382 if test -n "$ac_init_help"; then
   1383   case $ac_init_help in
   1384      short | recursive ) echo "Configuration of sessreg 1.1.0:";;
   1385    esac
   1386   cat <<\_ACEOF
   1387 
   1388 Optional Features:
   1389   --disable-option-checking  ignore unrecognized --enable/--with options
   1390   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1391   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1392   --disable-largefile     omit support for large files
   1393   --enable-dependency-tracking
   1394                           do not reject slow dependency extractors
   1395   --disable-dependency-tracking
   1396                           speeds up one-time build
   1397   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1398   --disable-silent-rules  verbose build output (undo: "make V=0")
   1399   --disable-selective-werror
   1400                           Turn off selective compiler errors. (default:
   1401                           enabled)
   1402   --enable-strict-compilation
   1403                           Enable all warnings from compiler and make them
   1404                           errors (default: disabled)
   1405 
   1406 Optional Packages:
   1407   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1408   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1409   --with-lint             Use a lint-style source code checker (default:
   1410                           disabled)
   1411 
   1412 Some influential environment variables:
   1413   CC          C compiler command
   1414   CFLAGS      C compiler flags
   1415   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1416               nonstandard directory <lib dir>
   1417   LIBS        libraries to pass to the linker, e.g. -l<library>
   1418   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1419               you have headers in a nonstandard directory <include dir>
   1420   CPP         C preprocessor
   1421   PKG_CONFIG  path to pkg-config utility
   1422   LINT        Path to a lint-style command
   1423   LINT_FLAGS  Flags for the lint-style command
   1424   SESSREG_CFLAGS
   1425               C compiler flags for SESSREG, overriding pkg-config
   1426   SESSREG_LIBS
   1427               linker flags for SESSREG, overriding pkg-config
   1428 
   1429 Use these variables to override the choices made by `configure' or to help
   1430 it to find libraries and programs with nonstandard names/locations.
   1431 
   1432 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1433 _ACEOF
   1434 ac_status=$?
   1435 fi
   1436 
   1437 if test "$ac_init_help" = "recursive"; then
   1438   # If there are subdirs, report their specific --help.
   1439   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1440     test -d "$ac_dir" ||
   1441       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1442       continue
   1443     ac_builddir=.
   1444 
   1445 case "$ac_dir" in
   1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1447 *)
   1448   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1449   # A ".." for each directory in $ac_dir_suffix.
   1450   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1451   case $ac_top_builddir_sub in
   1452   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1453   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1454   esac ;;
   1455 esac
   1456 ac_abs_top_builddir=$ac_pwd
   1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1458 # for backward compatibility:
   1459 ac_top_builddir=$ac_top_build_prefix
   1460 
   1461 case $srcdir in
   1462   .)  # We are building in place.
   1463     ac_srcdir=.
   1464     ac_top_srcdir=$ac_top_builddir_sub
   1465     ac_abs_top_srcdir=$ac_pwd ;;
   1466   [\\/]* | ?:[\\/]* )  # Absolute name.
   1467     ac_srcdir=$srcdir$ac_dir_suffix;
   1468     ac_top_srcdir=$srcdir
   1469     ac_abs_top_srcdir=$srcdir ;;
   1470   *) # Relative name.
   1471     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1472     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1473     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1474 esac
   1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1476 
   1477     cd "$ac_dir" || { ac_status=$?; continue; }
   1478     # Check for guested configure.
   1479     if test -f "$ac_srcdir/configure.gnu"; then
   1480       echo &&
   1481       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1482     elif test -f "$ac_srcdir/configure"; then
   1483       echo &&
   1484       $SHELL "$ac_srcdir/configure" --help=recursive
   1485     else
   1486       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1487     fi || ac_status=$?
   1488     cd "$ac_pwd" || { ac_status=$?; break; }
   1489   done
   1490 fi
   1491 
   1492 test -n "$ac_init_help" && exit $ac_status
   1493 if $ac_init_version; then
   1494   cat <<\_ACEOF
   1495 sessreg configure 1.1.0
   1496 generated by GNU Autoconf 2.69
   1497 
   1498 Copyright (C) 2012 Free Software Foundation, Inc.
   1499 This configure script is free software; the Free Software Foundation
   1500 gives unlimited permission to copy, distribute and modify it.
   1501 _ACEOF
   1502   exit
   1503 fi
   1504 
   1505 ## ------------------------ ##
   1506 ## Autoconf initialization. ##
   1507 ## ------------------------ ##
   1508 
   1509 # ac_fn_c_try_compile LINENO
   1510 # --------------------------
   1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1512 ac_fn_c_try_compile ()
   1513 {
   1514   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1515   rm -f conftest.$ac_objext
   1516   if { { ac_try="$ac_compile"
   1517 case "(($ac_try" in
   1518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1519   *) ac_try_echo=$ac_try;;
   1520 esac
   1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1522 $as_echo "$ac_try_echo"; } >&5
   1523   (eval "$ac_compile") 2>conftest.err
   1524   ac_status=$?
   1525   if test -s conftest.err; then
   1526     grep -v '^ *+' conftest.err >conftest.er1
   1527     cat conftest.er1 >&5
   1528     mv -f conftest.er1 conftest.err
   1529   fi
   1530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1531   test $ac_status = 0; } && {
   1532 	 test -z "$ac_c_werror_flag" ||
   1533 	 test ! -s conftest.err
   1534        } && test -s conftest.$ac_objext; then :
   1535   ac_retval=0
   1536 else
   1537   $as_echo "$as_me: failed program was:" >&5
   1538 sed 's/^/| /' conftest.$ac_ext >&5
   1539 
   1540 	ac_retval=1
   1541 fi
   1542   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1543   as_fn_set_status $ac_retval
   1544 
   1545 } # ac_fn_c_try_compile
   1546 
   1547 # ac_fn_c_try_cpp LINENO
   1548 # ----------------------
   1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1550 ac_fn_c_try_cpp ()
   1551 {
   1552   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1553   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1554 case "(($ac_try" in
   1555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1556   *) ac_try_echo=$ac_try;;
   1557 esac
   1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1559 $as_echo "$ac_try_echo"; } >&5
   1560   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1561   ac_status=$?
   1562   if test -s conftest.err; then
   1563     grep -v '^ *+' conftest.err >conftest.er1
   1564     cat conftest.er1 >&5
   1565     mv -f conftest.er1 conftest.err
   1566   fi
   1567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1568   test $ac_status = 0; } > conftest.i && {
   1569 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1570 	 test ! -s conftest.err
   1571        }; then :
   1572   ac_retval=0
   1573 else
   1574   $as_echo "$as_me: failed program was:" >&5
   1575 sed 's/^/| /' conftest.$ac_ext >&5
   1576 
   1577     ac_retval=1
   1578 fi
   1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1580   as_fn_set_status $ac_retval
   1581 
   1582 } # ac_fn_c_try_cpp
   1583 
   1584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1585 # -------------------------------------------------------
   1586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1587 # the include files in INCLUDES and setting the cache variable VAR
   1588 # accordingly.
   1589 ac_fn_c_check_header_mongrel ()
   1590 {
   1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1592   if eval \${$3+:} false; then :
   1593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1594 $as_echo_n "checking for $2... " >&6; }
   1595 if eval \${$3+:} false; then :
   1596   $as_echo_n "(cached) " >&6
   1597 fi
   1598 eval ac_res=\$$3
   1599 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1600 $as_echo "$ac_res" >&6; }
   1601 else
   1602   # Is the header compilable?
   1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1604 $as_echo_n "checking $2 usability... " >&6; }
   1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1606 /* end confdefs.h.  */
   1607 $4
   1608 #include <$2>
   1609 _ACEOF
   1610 if ac_fn_c_try_compile "$LINENO"; then :
   1611   ac_header_compiler=yes
   1612 else
   1613   ac_header_compiler=no
   1614 fi
   1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1617 $as_echo "$ac_header_compiler" >&6; }
   1618 
   1619 # Is the header present?
   1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1621 $as_echo_n "checking $2 presence... " >&6; }
   1622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1623 /* end confdefs.h.  */
   1624 #include <$2>
   1625 _ACEOF
   1626 if ac_fn_c_try_cpp "$LINENO"; then :
   1627   ac_header_preproc=yes
   1628 else
   1629   ac_header_preproc=no
   1630 fi
   1631 rm -f conftest.err conftest.i conftest.$ac_ext
   1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1633 $as_echo "$ac_header_preproc" >&6; }
   1634 
   1635 # So?  What about this header?
   1636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1637   yes:no: )
   1638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1640     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1642     ;;
   1643   no:yes:* )
   1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1647 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1651 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1654 ( $as_echo "## ---------------------------------------------------------------------- ##
   1655 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1656 ## ---------------------------------------------------------------------- ##"
   1657      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1658     ;;
   1659 esac
   1660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1661 $as_echo_n "checking for $2... " >&6; }
   1662 if eval \${$3+:} false; then :
   1663   $as_echo_n "(cached) " >&6
   1664 else
   1665   eval "$3=\$ac_header_compiler"
   1666 fi
   1667 eval ac_res=\$$3
   1668 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1669 $as_echo "$ac_res" >&6; }
   1670 fi
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672 
   1673 } # ac_fn_c_check_header_mongrel
   1674 
   1675 # ac_fn_c_try_run LINENO
   1676 # ----------------------
   1677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1678 # that executables *can* be run.
   1679 ac_fn_c_try_run ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   if { { ac_try="$ac_link"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 $as_echo "$ac_try_echo"; } >&5
   1689   (eval "$ac_link") 2>&5
   1690   ac_status=$?
   1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1692   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1693   { { case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_try") 2>&5
   1700   ac_status=$?
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; }; }; then :
   1703   ac_retval=0
   1704 else
   1705   $as_echo "$as_me: program exited with status $ac_status" >&5
   1706        $as_echo "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709        ac_retval=$ac_status
   1710 fi
   1711   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_run
   1716 
   1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1718 # -------------------------------------------------------
   1719 # Tests whether HEADER exists and can be compiled using the include files in
   1720 # INCLUDES, setting the cache variable VAR accordingly.
   1721 ac_fn_c_check_header_compile ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1725 $as_echo_n "checking for $2... " >&6; }
   1726 if eval \${$3+:} false; then :
   1727   $as_echo_n "(cached) " >&6
   1728 else
   1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 $4
   1732 #include <$2>
   1733 _ACEOF
   1734 if ac_fn_c_try_compile "$LINENO"; then :
   1735   eval "$3=yes"
   1736 else
   1737   eval "$3=no"
   1738 fi
   1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1740 fi
   1741 eval ac_res=\$$3
   1742 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1743 $as_echo "$ac_res" >&6; }
   1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1745 
   1746 } # ac_fn_c_check_header_compile
   1747 
   1748 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1749 # ---------------------------------------------
   1750 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1751 # accordingly.
   1752 ac_fn_c_check_decl ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1756   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1758 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1759 if eval \${$3+:} false; then :
   1760   $as_echo_n "(cached) " >&6
   1761 else
   1762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1763 /* end confdefs.h.  */
   1764 $4
   1765 int
   1766 main ()
   1767 {
   1768 #ifndef $as_decl_name
   1769 #ifdef __cplusplus
   1770   (void) $as_decl_use;
   1771 #else
   1772   (void) $as_decl_name;
   1773 #endif
   1774 #endif
   1775 
   1776   ;
   1777   return 0;
   1778 }
   1779 _ACEOF
   1780 if ac_fn_c_try_compile "$LINENO"; then :
   1781   eval "$3=yes"
   1782 else
   1783   eval "$3=no"
   1784 fi
   1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1786 fi
   1787 eval ac_res=\$$3
   1788 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1789 $as_echo "$ac_res" >&6; }
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791 
   1792 } # ac_fn_c_check_decl
   1793 
   1794 # ac_fn_c_try_link LINENO
   1795 # -----------------------
   1796 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1797 ac_fn_c_try_link ()
   1798 {
   1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1800   rm -f conftest.$ac_objext conftest$ac_exeext
   1801   if { { ac_try="$ac_link"
   1802 case "(($ac_try" in
   1803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1804   *) ac_try_echo=$ac_try;;
   1805 esac
   1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1807 $as_echo "$ac_try_echo"; } >&5
   1808   (eval "$ac_link") 2>conftest.err
   1809   ac_status=$?
   1810   if test -s conftest.err; then
   1811     grep -v '^ *+' conftest.err >conftest.er1
   1812     cat conftest.er1 >&5
   1813     mv -f conftest.er1 conftest.err
   1814   fi
   1815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1816   test $ac_status = 0; } && {
   1817 	 test -z "$ac_c_werror_flag" ||
   1818 	 test ! -s conftest.err
   1819        } && test -s conftest$ac_exeext && {
   1820 	 test "$cross_compiling" = yes ||
   1821 	 test -x conftest$ac_exeext
   1822        }; then :
   1823   ac_retval=0
   1824 else
   1825   $as_echo "$as_me: failed program was:" >&5
   1826 sed 's/^/| /' conftest.$ac_ext >&5
   1827 
   1828 	ac_retval=1
   1829 fi
   1830   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1831   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1832   # interfere with the next link command; also delete a directory that is
   1833   # left behind by Apple's compiler.  We do this before executing the actions.
   1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836   as_fn_set_status $ac_retval
   1837 
   1838 } # ac_fn_c_try_link
   1839 
   1840 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1841 # ----------------------------------------------------
   1842 # Tries to find if the field MEMBER exists in type AGGR, after including
   1843 # INCLUDES, setting cache variable VAR accordingly.
   1844 ac_fn_c_check_member ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1848 $as_echo_n "checking for $2.$3... " >&6; }
   1849 if eval \${$4+:} false; then :
   1850   $as_echo_n "(cached) " >&6
   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 (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   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1869 /* end confdefs.h.  */
   1870 $5
   1871 int
   1872 main ()
   1873 {
   1874 static $2 ac_aggr;
   1875 if (sizeof ac_aggr.$3)
   1876 return 0;
   1877   ;
   1878   return 0;
   1879 }
   1880 _ACEOF
   1881 if ac_fn_c_try_compile "$LINENO"; then :
   1882   eval "$4=yes"
   1883 else
   1884   eval "$4=no"
   1885 fi
   1886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1887 fi
   1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1889 fi
   1890 eval ac_res=\$$4
   1891 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1892 $as_echo "$ac_res" >&6; }
   1893   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1894 
   1895 } # ac_fn_c_check_member
   1896 
   1897 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1898 # -------------------------------------------
   1899 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1900 # variable VAR accordingly.
   1901 ac_fn_c_check_type ()
   1902 {
   1903   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1905 $as_echo_n "checking for $2... " >&6; }
   1906 if eval \${$3+:} false; then :
   1907   $as_echo_n "(cached) " >&6
   1908 else
   1909   eval "$3=no"
   1910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1911 /* end confdefs.h.  */
   1912 $4
   1913 int
   1914 main ()
   1915 {
   1916 if (sizeof ($2))
   1917 	 return 0;
   1918   ;
   1919   return 0;
   1920 }
   1921 _ACEOF
   1922 if ac_fn_c_try_compile "$LINENO"; then :
   1923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1924 /* end confdefs.h.  */
   1925 $4
   1926 int
   1927 main ()
   1928 {
   1929 if (sizeof (($2)))
   1930 	    return 0;
   1931   ;
   1932   return 0;
   1933 }
   1934 _ACEOF
   1935 if ac_fn_c_try_compile "$LINENO"; then :
   1936 
   1937 else
   1938   eval "$3=yes"
   1939 fi
   1940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1941 fi
   1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1943 fi
   1944 eval ac_res=\$$3
   1945 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1946 $as_echo "$ac_res" >&6; }
   1947   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1948 
   1949 } # ac_fn_c_check_type
   1950 
   1951 # ac_fn_c_check_func LINENO FUNC VAR
   1952 # ----------------------------------
   1953 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1954 ac_fn_c_check_func ()
   1955 {
   1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1958 $as_echo_n "checking for $2... " >&6; }
   1959 if eval \${$3+:} false; then :
   1960   $as_echo_n "(cached) " >&6
   1961 else
   1962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1963 /* end confdefs.h.  */
   1964 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1966 #define $2 innocuous_$2
   1967 
   1968 /* System header to define __stub macros and hopefully few prototypes,
   1969     which can conflict with char $2 (); below.
   1970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1971     <limits.h> exists even on freestanding compilers.  */
   1972 
   1973 #ifdef __STDC__
   1974 # include <limits.h>
   1975 #else
   1976 # include <assert.h>
   1977 #endif
   1978 
   1979 #undef $2
   1980 
   1981 /* Override any GCC internal prototype to avoid an error.
   1982    Use char because int might match the return type of a GCC
   1983    builtin and then its argument prototype would still apply.  */
   1984 #ifdef __cplusplus
   1985 extern "C"
   1986 #endif
   1987 char $2 ();
   1988 /* The GNU C library defines this for functions which it implements
   1989     to always fail with ENOSYS.  Some functions are actually named
   1990     something starting with __ and the normal name is an alias.  */
   1991 #if defined __stub_$2 || defined __stub___$2
   1992 choke me
   1993 #endif
   1994 
   1995 int
   1996 main ()
   1997 {
   1998 return $2 ();
   1999   ;
   2000   return 0;
   2001 }
   2002 _ACEOF
   2003 if ac_fn_c_try_link "$LINENO"; then :
   2004   eval "$3=yes"
   2005 else
   2006   eval "$3=no"
   2007 fi
   2008 rm -f core conftest.err conftest.$ac_objext \
   2009     conftest$ac_exeext conftest.$ac_ext
   2010 fi
   2011 eval ac_res=\$$3
   2012 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2013 $as_echo "$ac_res" >&6; }
   2014   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2015 
   2016 } # ac_fn_c_check_func
   2017 cat >config.log <<_ACEOF
   2018 This file contains any messages produced by compilers while
   2019 running configure, to aid debugging if configure makes a mistake.
   2020 
   2021 It was created by sessreg $as_me 1.1.0, which was
   2022 generated by GNU Autoconf 2.69.  Invocation command line was
   2023 
   2024   $ $0 $@
   2025 
   2026 _ACEOF
   2027 exec 5>>config.log
   2028 {
   2029 cat <<_ASUNAME
   2030 ## --------- ##
   2031 ## Platform. ##
   2032 ## --------- ##
   2033 
   2034 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2035 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2036 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2037 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2038 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2039 
   2040 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2041 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2042 
   2043 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2044 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2045 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2046 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2047 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2048 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2049 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2050 
   2051 _ASUNAME
   2052 
   2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2054 for as_dir in $PATH
   2055 do
   2056   IFS=$as_save_IFS
   2057   test -z "$as_dir" && as_dir=.
   2058     $as_echo "PATH: $as_dir"
   2059   done
   2060 IFS=$as_save_IFS
   2061 
   2062 } >&5
   2063 
   2064 cat >&5 <<_ACEOF
   2065 
   2066 
   2067 ## ----------- ##
   2068 ## Core tests. ##
   2069 ## ----------- ##
   2070 
   2071 _ACEOF
   2072 
   2073 
   2074 # Keep a trace of the command line.
   2075 # Strip out --no-create and --no-recursion so they do not pile up.
   2076 # Strip out --silent because we don't want to record it for future runs.
   2077 # Also quote any args containing shell meta-characters.
   2078 # Make two passes to allow for proper duplicate-argument suppression.
   2079 ac_configure_args=
   2080 ac_configure_args0=
   2081 ac_configure_args1=
   2082 ac_must_keep_next=false
   2083 for ac_pass in 1 2
   2084 do
   2085   for ac_arg
   2086   do
   2087     case $ac_arg in
   2088     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2089     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2090     | -silent | --silent | --silen | --sile | --sil)
   2091       continue ;;
   2092     *\'*)
   2093       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2094     esac
   2095     case $ac_pass in
   2096     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2097     2)
   2098       as_fn_append ac_configure_args1 " '$ac_arg'"
   2099       if test $ac_must_keep_next = true; then
   2100 	ac_must_keep_next=false # Got value, back to normal.
   2101       else
   2102 	case $ac_arg in
   2103 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2104 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2105 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2106 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2107 	    case "$ac_configure_args0 " in
   2108 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2109 	    esac
   2110 	    ;;
   2111 	  -* ) ac_must_keep_next=true ;;
   2112 	esac
   2113       fi
   2114       as_fn_append ac_configure_args " '$ac_arg'"
   2115       ;;
   2116     esac
   2117   done
   2118 done
   2119 { ac_configure_args0=; unset ac_configure_args0;}
   2120 { ac_configure_args1=; unset ac_configure_args1;}
   2121 
   2122 # When interrupted or exit'd, cleanup temporary files, and complete
   2123 # config.log.  We remove comments because anyway the quotes in there
   2124 # would cause problems or look ugly.
   2125 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2126 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2127 trap 'exit_status=$?
   2128   # Save into config.log some information that might help in debugging.
   2129   {
   2130     echo
   2131 
   2132     $as_echo "## ---------------- ##
   2133 ## Cache variables. ##
   2134 ## ---------------- ##"
   2135     echo
   2136     # The following way of writing the cache mishandles newlines in values,
   2137 (
   2138   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2139     eval ac_val=\$$ac_var
   2140     case $ac_val in #(
   2141     *${as_nl}*)
   2142       case $ac_var in #(
   2143       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2144 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2145       esac
   2146       case $ac_var in #(
   2147       _ | IFS | as_nl) ;; #(
   2148       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2149       *) { eval $ac_var=; unset $ac_var;} ;;
   2150       esac ;;
   2151     esac
   2152   done
   2153   (set) 2>&1 |
   2154     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2155     *${as_nl}ac_space=\ *)
   2156       sed -n \
   2157 	"s/'\''/'\''\\\\'\'''\''/g;
   2158 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2159       ;; #(
   2160     *)
   2161       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2162       ;;
   2163     esac |
   2164     sort
   2165 )
   2166     echo
   2167 
   2168     $as_echo "## ----------------- ##
   2169 ## Output variables. ##
   2170 ## ----------------- ##"
   2171     echo
   2172     for ac_var in $ac_subst_vars
   2173     do
   2174       eval ac_val=\$$ac_var
   2175       case $ac_val in
   2176       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2177       esac
   2178       $as_echo "$ac_var='\''$ac_val'\''"
   2179     done | sort
   2180     echo
   2181 
   2182     if test -n "$ac_subst_files"; then
   2183       $as_echo "## ------------------- ##
   2184 ## File substitutions. ##
   2185 ## ------------------- ##"
   2186       echo
   2187       for ac_var in $ac_subst_files
   2188       do
   2189 	eval ac_val=\$$ac_var
   2190 	case $ac_val in
   2191 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2192 	esac
   2193 	$as_echo "$ac_var='\''$ac_val'\''"
   2194       done | sort
   2195       echo
   2196     fi
   2197 
   2198     if test -s confdefs.h; then
   2199       $as_echo "## ----------- ##
   2200 ## confdefs.h. ##
   2201 ## ----------- ##"
   2202       echo
   2203       cat confdefs.h
   2204       echo
   2205     fi
   2206     test "$ac_signal" != 0 &&
   2207       $as_echo "$as_me: caught signal $ac_signal"
   2208     $as_echo "$as_me: exit $exit_status"
   2209   } >&5
   2210   rm -f core *.core core.conftest.* &&
   2211     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2212     exit $exit_status
   2213 ' 0
   2214 for ac_signal in 1 2 13 15; do
   2215   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2216 done
   2217 ac_signal=0
   2218 
   2219 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2220 rm -f -r conftest* confdefs.h
   2221 
   2222 $as_echo "/* confdefs.h */" > confdefs.h
   2223 
   2224 # Predefined preprocessor variables.
   2225 
   2226 cat >>confdefs.h <<_ACEOF
   2227 #define PACKAGE_NAME "$PACKAGE_NAME"
   2228 _ACEOF
   2229 
   2230 cat >>confdefs.h <<_ACEOF
   2231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2232 _ACEOF
   2233 
   2234 cat >>confdefs.h <<_ACEOF
   2235 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2236 _ACEOF
   2237 
   2238 cat >>confdefs.h <<_ACEOF
   2239 #define PACKAGE_STRING "$PACKAGE_STRING"
   2240 _ACEOF
   2241 
   2242 cat >>confdefs.h <<_ACEOF
   2243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2244 _ACEOF
   2245 
   2246 cat >>confdefs.h <<_ACEOF
   2247 #define PACKAGE_URL "$PACKAGE_URL"
   2248 _ACEOF
   2249 
   2250 
   2251 # Let the site file select an alternate cache file if it wants to.
   2252 # Prefer an explicitly selected file to automatically selected ones.
   2253 ac_site_file1=NONE
   2254 ac_site_file2=NONE
   2255 if test -n "$CONFIG_SITE"; then
   2256   # We do not want a PATH search for config.site.
   2257   case $CONFIG_SITE in #((
   2258     -*)  ac_site_file1=./$CONFIG_SITE;;
   2259     */*) ac_site_file1=$CONFIG_SITE;;
   2260     *)   ac_site_file1=./$CONFIG_SITE;;
   2261   esac
   2262 elif test "x$prefix" != xNONE; then
   2263   ac_site_file1=$prefix/share/config.site
   2264   ac_site_file2=$prefix/etc/config.site
   2265 else
   2266   ac_site_file1=$ac_default_prefix/share/config.site
   2267   ac_site_file2=$ac_default_prefix/etc/config.site
   2268 fi
   2269 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2270 do
   2271   test "x$ac_site_file" = xNONE && continue
   2272   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2273     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2274 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2275     sed 's/^/| /' "$ac_site_file" >&5
   2276     . "$ac_site_file" \
   2277       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2279 as_fn_error $? "failed to load site script $ac_site_file
   2280 See \`config.log' for more details" "$LINENO" 5; }
   2281   fi
   2282 done
   2283 
   2284 if test -r "$cache_file"; then
   2285   # Some versions of bash will fail to source /dev/null (special files
   2286   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2287   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2288     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2289 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2290     case $cache_file in
   2291       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2292       *)                      . "./$cache_file";;
   2293     esac
   2294   fi
   2295 else
   2296   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2297 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2298   >$cache_file
   2299 fi
   2300 
   2301 # Check that the precious variables saved in the cache have kept the same
   2302 # value.
   2303 ac_cache_corrupted=false
   2304 for ac_var in $ac_precious_vars; do
   2305   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2306   eval ac_new_set=\$ac_env_${ac_var}_set
   2307   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2308   eval ac_new_val=\$ac_env_${ac_var}_value
   2309   case $ac_old_set,$ac_new_set in
   2310     set,)
   2311       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2312 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2313       ac_cache_corrupted=: ;;
   2314     ,set)
   2315       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2316 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2317       ac_cache_corrupted=: ;;
   2318     ,);;
   2319     *)
   2320       if test "x$ac_old_val" != "x$ac_new_val"; then
   2321 	# differences in whitespace do not lead to failure.
   2322 	ac_old_val_w=`echo x $ac_old_val`
   2323 	ac_new_val_w=`echo x $ac_new_val`
   2324 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2325 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2326 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2327 	  ac_cache_corrupted=:
   2328 	else
   2329 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2330 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2331 	  eval $ac_var=\$ac_old_val
   2332 	fi
   2333 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2334 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2335 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2336 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2337       fi;;
   2338   esac
   2339   # Pass precious variables to config.status.
   2340   if test "$ac_new_set" = set; then
   2341     case $ac_new_val in
   2342     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2343     *) ac_arg=$ac_var=$ac_new_val ;;
   2344     esac
   2345     case " $ac_configure_args " in
   2346       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2347       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2348     esac
   2349   fi
   2350 done
   2351 if $ac_cache_corrupted; then
   2352   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2354   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2355 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2356   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2357 fi
   2358 ## -------------------- ##
   2359 ## Main body of script. ##
   2360 ## -------------------- ##
   2361 
   2362 ac_ext=c
   2363 ac_cpp='$CPP $CPPFLAGS'
   2364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2367 
   2368 
   2369 
   2370 ac_config_headers="$ac_config_headers config.h"
   2371 
   2372 ac_aux_dir=
   2373 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2374   if test -f "$ac_dir/install-sh"; then
   2375     ac_aux_dir=$ac_dir
   2376     ac_install_sh="$ac_aux_dir/install-sh -c"
   2377     break
   2378   elif test -f "$ac_dir/install.sh"; then
   2379     ac_aux_dir=$ac_dir
   2380     ac_install_sh="$ac_aux_dir/install.sh -c"
   2381     break
   2382   elif test -f "$ac_dir/shtool"; then
   2383     ac_aux_dir=$ac_dir
   2384     ac_install_sh="$ac_aux_dir/shtool install -c"
   2385     break
   2386   fi
   2387 done
   2388 if test -z "$ac_aux_dir"; then
   2389   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2390 fi
   2391 
   2392 # These three variables are undocumented and unsupported,
   2393 # and are intended to be withdrawn in a future Autoconf release.
   2394 # They can cause serious problems if a builder's source tree is in a directory
   2395 # whose full name contains unusual characters.
   2396 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2397 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2398 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2399 
   2400 
   2401 # Expand $ac_aux_dir to an absolute path.
   2402 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2403 
   2404 ac_ext=c
   2405 ac_cpp='$CPP $CPPFLAGS'
   2406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2409 if test -n "$ac_tool_prefix"; then
   2410   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2411 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2413 $as_echo_n "checking for $ac_word... " >&6; }
   2414 if ${ac_cv_prog_CC+:} false; then :
   2415   $as_echo_n "(cached) " >&6
   2416 else
   2417   if test -n "$CC"; then
   2418   ac_cv_prog_CC="$CC" # Let the user override the test.
   2419 else
   2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2421 for as_dir in $PATH
   2422 do
   2423   IFS=$as_save_IFS
   2424   test -z "$as_dir" && as_dir=.
   2425     for ac_exec_ext in '' $ac_executable_extensions; do
   2426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2427     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2429     break 2
   2430   fi
   2431 done
   2432   done
   2433 IFS=$as_save_IFS
   2434 
   2435 fi
   2436 fi
   2437 CC=$ac_cv_prog_CC
   2438 if test -n "$CC"; then
   2439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2440 $as_echo "$CC" >&6; }
   2441 else
   2442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2443 $as_echo "no" >&6; }
   2444 fi
   2445 
   2446 
   2447 fi
   2448 if test -z "$ac_cv_prog_CC"; then
   2449   ac_ct_CC=$CC
   2450   # Extract the first word of "gcc", so it can be a program name with args.
   2451 set dummy gcc; ac_word=$2
   2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2453 $as_echo_n "checking for $ac_word... " >&6; }
   2454 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2455   $as_echo_n "(cached) " >&6
   2456 else
   2457   if test -n "$ac_ct_CC"; then
   2458   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2459 else
   2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2461 for as_dir in $PATH
   2462 do
   2463   IFS=$as_save_IFS
   2464   test -z "$as_dir" && as_dir=.
   2465     for ac_exec_ext in '' $ac_executable_extensions; do
   2466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2467     ac_cv_prog_ac_ct_CC="gcc"
   2468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2469     break 2
   2470   fi
   2471 done
   2472   done
   2473 IFS=$as_save_IFS
   2474 
   2475 fi
   2476 fi
   2477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2478 if test -n "$ac_ct_CC"; then
   2479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2480 $as_echo "$ac_ct_CC" >&6; }
   2481 else
   2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2483 $as_echo "no" >&6; }
   2484 fi
   2485 
   2486   if test "x$ac_ct_CC" = x; then
   2487     CC=""
   2488   else
   2489     case $cross_compiling:$ac_tool_warned in
   2490 yes:)
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2493 ac_tool_warned=yes ;;
   2494 esac
   2495     CC=$ac_ct_CC
   2496   fi
   2497 else
   2498   CC="$ac_cv_prog_CC"
   2499 fi
   2500 
   2501 if test -z "$CC"; then
   2502           if test -n "$ac_tool_prefix"; then
   2503     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2504 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2506 $as_echo_n "checking for $ac_word... " >&6; }
   2507 if ${ac_cv_prog_CC+:} false; then :
   2508   $as_echo_n "(cached) " >&6
   2509 else
   2510   if test -n "$CC"; then
   2511   ac_cv_prog_CC="$CC" # Let the user override the test.
   2512 else
   2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2514 for as_dir in $PATH
   2515 do
   2516   IFS=$as_save_IFS
   2517   test -z "$as_dir" && as_dir=.
   2518     for ac_exec_ext in '' $ac_executable_extensions; do
   2519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2520     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2522     break 2
   2523   fi
   2524 done
   2525   done
   2526 IFS=$as_save_IFS
   2527 
   2528 fi
   2529 fi
   2530 CC=$ac_cv_prog_CC
   2531 if test -n "$CC"; then
   2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2533 $as_echo "$CC" >&6; }
   2534 else
   2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2536 $as_echo "no" >&6; }
   2537 fi
   2538 
   2539 
   2540   fi
   2541 fi
   2542 if test -z "$CC"; then
   2543   # Extract the first word of "cc", so it can be a program name with args.
   2544 set dummy cc; ac_word=$2
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2546 $as_echo_n "checking for $ac_word... " >&6; }
   2547 if ${ac_cv_prog_CC+:} false; then :
   2548   $as_echo_n "(cached) " >&6
   2549 else
   2550   if test -n "$CC"; then
   2551   ac_cv_prog_CC="$CC" # Let the user override the test.
   2552 else
   2553   ac_prog_rejected=no
   2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2555 for as_dir in $PATH
   2556 do
   2557   IFS=$as_save_IFS
   2558   test -z "$as_dir" && as_dir=.
   2559     for ac_exec_ext in '' $ac_executable_extensions; do
   2560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2561     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2562        ac_prog_rejected=yes
   2563        continue
   2564      fi
   2565     ac_cv_prog_CC="cc"
   2566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2567     break 2
   2568   fi
   2569 done
   2570   done
   2571 IFS=$as_save_IFS
   2572 
   2573 if test $ac_prog_rejected = yes; then
   2574   # We found a bogon in the path, so make sure we never use it.
   2575   set dummy $ac_cv_prog_CC
   2576   shift
   2577   if test $# != 0; then
   2578     # We chose a different compiler from the bogus one.
   2579     # However, it has the same basename, so the bogon will be chosen
   2580     # first if we set CC to just the basename; use the full file name.
   2581     shift
   2582     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2583   fi
   2584 fi
   2585 fi
   2586 fi
   2587 CC=$ac_cv_prog_CC
   2588 if test -n "$CC"; then
   2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2590 $as_echo "$CC" >&6; }
   2591 else
   2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2593 $as_echo "no" >&6; }
   2594 fi
   2595 
   2596 
   2597 fi
   2598 if test -z "$CC"; then
   2599   if test -n "$ac_tool_prefix"; then
   2600   for ac_prog in cl.exe
   2601   do
   2602     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2605 $as_echo_n "checking for $ac_word... " >&6; }
   2606 if ${ac_cv_prog_CC+:} false; then :
   2607   $as_echo_n "(cached) " >&6
   2608 else
   2609   if test -n "$CC"; then
   2610   ac_cv_prog_CC="$CC" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617     for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2619     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 CC=$ac_cv_prog_CC
   2630 if test -n "$CC"; then
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2632 $as_echo "$CC" >&6; }
   2633 else
   2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2635 $as_echo "no" >&6; }
   2636 fi
   2637 
   2638 
   2639     test -n "$CC" && break
   2640   done
   2641 fi
   2642 if test -z "$CC"; then
   2643   ac_ct_CC=$CC
   2644   for ac_prog in cl.exe
   2645 do
   2646   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2647 set dummy $ac_prog; ac_word=$2
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2649 $as_echo_n "checking for $ac_word... " >&6; }
   2650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2651   $as_echo_n "(cached) " >&6
   2652 else
   2653   if test -n "$ac_ct_CC"; then
   2654   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2655 else
   2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2657 for as_dir in $PATH
   2658 do
   2659   IFS=$as_save_IFS
   2660   test -z "$as_dir" && as_dir=.
   2661     for ac_exec_ext in '' $ac_executable_extensions; do
   2662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2663     ac_cv_prog_ac_ct_CC="$ac_prog"
   2664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2665     break 2
   2666   fi
   2667 done
   2668   done
   2669 IFS=$as_save_IFS
   2670 
   2671 fi
   2672 fi
   2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2674 if test -n "$ac_ct_CC"; then
   2675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2676 $as_echo "$ac_ct_CC" >&6; }
   2677 else
   2678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2679 $as_echo "no" >&6; }
   2680 fi
   2681 
   2682 
   2683   test -n "$ac_ct_CC" && break
   2684 done
   2685 
   2686   if test "x$ac_ct_CC" = x; then
   2687     CC=""
   2688   else
   2689     case $cross_compiling:$ac_tool_warned in
   2690 yes:)
   2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2693 ac_tool_warned=yes ;;
   2694 esac
   2695     CC=$ac_ct_CC
   2696   fi
   2697 fi
   2698 
   2699 fi
   2700 
   2701 
   2702 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2704 as_fn_error $? "no acceptable C compiler found in \$PATH
   2705 See \`config.log' for more details" "$LINENO" 5; }
   2706 
   2707 # Provide some information about the compiler.
   2708 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2709 set X $ac_compile
   2710 ac_compiler=$2
   2711 for ac_option in --version -v -V -qversion; do
   2712   { { ac_try="$ac_compiler $ac_option >&5"
   2713 case "(($ac_try" in
   2714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2715   *) ac_try_echo=$ac_try;;
   2716 esac
   2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2718 $as_echo "$ac_try_echo"; } >&5
   2719   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2720   ac_status=$?
   2721   if test -s conftest.err; then
   2722     sed '10a\
   2723 ... rest of stderr output deleted ...
   2724          10q' conftest.err >conftest.er1
   2725     cat conftest.er1 >&5
   2726   fi
   2727   rm -f conftest.er1 conftest.err
   2728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2729   test $ac_status = 0; }
   2730 done
   2731 
   2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2733 /* end confdefs.h.  */
   2734 
   2735 int
   2736 main ()
   2737 {
   2738 
   2739   ;
   2740   return 0;
   2741 }
   2742 _ACEOF
   2743 ac_clean_files_save=$ac_clean_files
   2744 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2745 # Try to create an executable without -o first, disregard a.out.
   2746 # It will help us diagnose broken compilers, and finding out an intuition
   2747 # of exeext.
   2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2749 $as_echo_n "checking whether the C compiler works... " >&6; }
   2750 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2751 
   2752 # The possible output files:
   2753 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2754 
   2755 ac_rmfiles=
   2756 for ac_file in $ac_files
   2757 do
   2758   case $ac_file in
   2759     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2760     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2761   esac
   2762 done
   2763 rm -f $ac_rmfiles
   2764 
   2765 if { { ac_try="$ac_link_default"
   2766 case "(($ac_try" in
   2767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2768   *) ac_try_echo=$ac_try;;
   2769 esac
   2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2771 $as_echo "$ac_try_echo"; } >&5
   2772   (eval "$ac_link_default") 2>&5
   2773   ac_status=$?
   2774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2775   test $ac_status = 0; }; then :
   2776   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2777 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2778 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2779 # so that the user can short-circuit this test for compilers unknown to
   2780 # Autoconf.
   2781 for ac_file in $ac_files ''
   2782 do
   2783   test -f "$ac_file" || continue
   2784   case $ac_file in
   2785     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2786 	;;
   2787     [ab].out )
   2788 	# We found the default executable, but exeext='' is most
   2789 	# certainly right.
   2790 	break;;
   2791     *.* )
   2792 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2793 	then :; else
   2794 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2795 	fi
   2796 	# We set ac_cv_exeext here because the later test for it is not
   2797 	# safe: cross compilers may not add the suffix if given an `-o'
   2798 	# argument, so we may need to know it at that point already.
   2799 	# Even if this section looks crufty: it has the advantage of
   2800 	# actually working.
   2801 	break;;
   2802     * )
   2803 	break;;
   2804   esac
   2805 done
   2806 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2807 
   2808 else
   2809   ac_file=''
   2810 fi
   2811 if test -z "$ac_file"; then :
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2813 $as_echo "no" >&6; }
   2814 $as_echo "$as_me: failed program was:" >&5
   2815 sed 's/^/| /' conftest.$ac_ext >&5
   2816 
   2817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2819 as_fn_error 77 "C compiler cannot create executables
   2820 See \`config.log' for more details" "$LINENO" 5; }
   2821 else
   2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2823 $as_echo "yes" >&6; }
   2824 fi
   2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2826 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2828 $as_echo "$ac_file" >&6; }
   2829 ac_exeext=$ac_cv_exeext
   2830 
   2831 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2832 ac_clean_files=$ac_clean_files_save
   2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2834 $as_echo_n "checking for suffix of executables... " >&6; }
   2835 if { { ac_try="$ac_link"
   2836 case "(($ac_try" in
   2837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2838   *) ac_try_echo=$ac_try;;
   2839 esac
   2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2841 $as_echo "$ac_try_echo"; } >&5
   2842   (eval "$ac_link") 2>&5
   2843   ac_status=$?
   2844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2845   test $ac_status = 0; }; then :
   2846   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2847 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2848 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2849 # `rm'.
   2850 for ac_file in conftest.exe conftest conftest.*; do
   2851   test -f "$ac_file" || continue
   2852   case $ac_file in
   2853     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2854     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2855 	  break;;
   2856     * ) break;;
   2857   esac
   2858 done
   2859 else
   2860   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2862 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2863 See \`config.log' for more details" "$LINENO" 5; }
   2864 fi
   2865 rm -f conftest conftest$ac_cv_exeext
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2867 $as_echo "$ac_cv_exeext" >&6; }
   2868 
   2869 rm -f conftest.$ac_ext
   2870 EXEEXT=$ac_cv_exeext
   2871 ac_exeext=$EXEEXT
   2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2873 /* end confdefs.h.  */
   2874 #include <stdio.h>
   2875 int
   2876 main ()
   2877 {
   2878 FILE *f = fopen ("conftest.out", "w");
   2879  return ferror (f) || fclose (f) != 0;
   2880 
   2881   ;
   2882   return 0;
   2883 }
   2884 _ACEOF
   2885 ac_clean_files="$ac_clean_files conftest.out"
   2886 # Check that the compiler produces executables we can run.  If not, either
   2887 # the compiler is broken, or we cross compile.
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2889 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2890 if test "$cross_compiling" != yes; then
   2891   { { ac_try="$ac_link"
   2892 case "(($ac_try" in
   2893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2894   *) ac_try_echo=$ac_try;;
   2895 esac
   2896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2897 $as_echo "$ac_try_echo"; } >&5
   2898   (eval "$ac_link") 2>&5
   2899   ac_status=$?
   2900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2901   test $ac_status = 0; }
   2902   if { ac_try='./conftest$ac_cv_exeext'
   2903   { { case "(($ac_try" in
   2904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2905   *) ac_try_echo=$ac_try;;
   2906 esac
   2907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2908 $as_echo "$ac_try_echo"; } >&5
   2909   (eval "$ac_try") 2>&5
   2910   ac_status=$?
   2911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2912   test $ac_status = 0; }; }; then
   2913     cross_compiling=no
   2914   else
   2915     if test "$cross_compiling" = maybe; then
   2916 	cross_compiling=yes
   2917     else
   2918 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2920 as_fn_error $? "cannot run C compiled programs.
   2921 If you meant to cross compile, use \`--host'.
   2922 See \`config.log' for more details" "$LINENO" 5; }
   2923     fi
   2924   fi
   2925 fi
   2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2927 $as_echo "$cross_compiling" >&6; }
   2928 
   2929 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2930 ac_clean_files=$ac_clean_files_save
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2932 $as_echo_n "checking for suffix of object files... " >&6; }
   2933 if ${ac_cv_objext+:} false; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2937 /* end confdefs.h.  */
   2938 
   2939 int
   2940 main ()
   2941 {
   2942 
   2943   ;
   2944   return 0;
   2945 }
   2946 _ACEOF
   2947 rm -f conftest.o conftest.obj
   2948 if { { ac_try="$ac_compile"
   2949 case "(($ac_try" in
   2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2951   *) ac_try_echo=$ac_try;;
   2952 esac
   2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2954 $as_echo "$ac_try_echo"; } >&5
   2955   (eval "$ac_compile") 2>&5
   2956   ac_status=$?
   2957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2958   test $ac_status = 0; }; then :
   2959   for ac_file in conftest.o conftest.obj conftest.*; do
   2960   test -f "$ac_file" || continue;
   2961   case $ac_file in
   2962     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2963     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2964        break;;
   2965   esac
   2966 done
   2967 else
   2968   $as_echo "$as_me: failed program was:" >&5
   2969 sed 's/^/| /' conftest.$ac_ext >&5
   2970 
   2971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2973 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2974 See \`config.log' for more details" "$LINENO" 5; }
   2975 fi
   2976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2977 fi
   2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2979 $as_echo "$ac_cv_objext" >&6; }
   2980 OBJEXT=$ac_cv_objext
   2981 ac_objext=$OBJEXT
   2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2984 if ${ac_cv_c_compiler_gnu+:} false; then :
   2985   $as_echo_n "(cached) " >&6
   2986 else
   2987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2988 /* end confdefs.h.  */
   2989 
   2990 int
   2991 main ()
   2992 {
   2993 #ifndef __GNUC__
   2994        choke me
   2995 #endif
   2996 
   2997   ;
   2998   return 0;
   2999 }
   3000 _ACEOF
   3001 if ac_fn_c_try_compile "$LINENO"; then :
   3002   ac_compiler_gnu=yes
   3003 else
   3004   ac_compiler_gnu=no
   3005 fi
   3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3008 
   3009 fi
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3012 if test $ac_compiler_gnu = yes; then
   3013   GCC=yes
   3014 else
   3015   GCC=
   3016 fi
   3017 ac_test_CFLAGS=${CFLAGS+set}
   3018 ac_save_CFLAGS=$CFLAGS
   3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3021 if ${ac_cv_prog_cc_g+:} false; then :
   3022   $as_echo_n "(cached) " >&6
   3023 else
   3024   ac_save_c_werror_flag=$ac_c_werror_flag
   3025    ac_c_werror_flag=yes
   3026    ac_cv_prog_cc_g=no
   3027    CFLAGS="-g"
   3028    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3029 /* end confdefs.h.  */
   3030 
   3031 int
   3032 main ()
   3033 {
   3034 
   3035   ;
   3036   return 0;
   3037 }
   3038 _ACEOF
   3039 if ac_fn_c_try_compile "$LINENO"; then :
   3040   ac_cv_prog_cc_g=yes
   3041 else
   3042   CFLAGS=""
   3043       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3044 /* end confdefs.h.  */
   3045 
   3046 int
   3047 main ()
   3048 {
   3049 
   3050   ;
   3051   return 0;
   3052 }
   3053 _ACEOF
   3054 if ac_fn_c_try_compile "$LINENO"; then :
   3055 
   3056 else
   3057   ac_c_werror_flag=$ac_save_c_werror_flag
   3058 	 CFLAGS="-g"
   3059 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3060 /* end confdefs.h.  */
   3061 
   3062 int
   3063 main ()
   3064 {
   3065 
   3066   ;
   3067   return 0;
   3068 }
   3069 _ACEOF
   3070 if ac_fn_c_try_compile "$LINENO"; then :
   3071   ac_cv_prog_cc_g=yes
   3072 fi
   3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3074 fi
   3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3076 fi
   3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3078    ac_c_werror_flag=$ac_save_c_werror_flag
   3079 fi
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3081 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3082 if test "$ac_test_CFLAGS" = set; then
   3083   CFLAGS=$ac_save_CFLAGS
   3084 elif test $ac_cv_prog_cc_g = yes; then
   3085   if test "$GCC" = yes; then
   3086     CFLAGS="-g -O2"
   3087   else
   3088     CFLAGS="-g"
   3089   fi
   3090 else
   3091   if test "$GCC" = yes; then
   3092     CFLAGS="-O2"
   3093   else
   3094     CFLAGS=
   3095   fi
   3096 fi
   3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3099 if ${ac_cv_prog_cc_c89+:} false; then :
   3100   $as_echo_n "(cached) " >&6
   3101 else
   3102   ac_cv_prog_cc_c89=no
   3103 ac_save_CC=$CC
   3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3105 /* end confdefs.h.  */
   3106 #include <stdarg.h>
   3107 #include <stdio.h>
   3108 struct stat;
   3109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3110 struct buf { int x; };
   3111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3112 static char *e (p, i)
   3113      char **p;
   3114      int i;
   3115 {
   3116   return p[i];
   3117 }
   3118 static char *f (char * (*g) (char **, int), char **p, ...)
   3119 {
   3120   char *s;
   3121   va_list v;
   3122   va_start (v,p);
   3123   s = g (p, va_arg (v,int));
   3124   va_end (v);
   3125   return s;
   3126 }
   3127 
   3128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3129    function prototypes and stuff, but not '\xHH' hex character constants.
   3130    These don't provoke an error unfortunately, instead are silently treated
   3131    as 'x'.  The following induces an error, until -std is added to get
   3132    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3133    array size at least.  It's necessary to write '\x00'==0 to get something
   3134    that's true only with -std.  */
   3135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3136 
   3137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3138    inside strings and character constants.  */
   3139 #define FOO(x) 'x'
   3140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3141 
   3142 int test (int i, double x);
   3143 struct s1 {int (*f) (int a);};
   3144 struct s2 {int (*f) (double a);};
   3145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3146 int argc;
   3147 char **argv;
   3148 int
   3149 main ()
   3150 {
   3151 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3152   ;
   3153   return 0;
   3154 }
   3155 _ACEOF
   3156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3157 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3158 do
   3159   CC="$ac_save_CC $ac_arg"
   3160   if ac_fn_c_try_compile "$LINENO"; then :
   3161   ac_cv_prog_cc_c89=$ac_arg
   3162 fi
   3163 rm -f core conftest.err conftest.$ac_objext
   3164   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3165 done
   3166 rm -f conftest.$ac_ext
   3167 CC=$ac_save_CC
   3168 
   3169 fi
   3170 # AC_CACHE_VAL
   3171 case "x$ac_cv_prog_cc_c89" in
   3172   x)
   3173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3174 $as_echo "none needed" >&6; } ;;
   3175   xno)
   3176     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3177 $as_echo "unsupported" >&6; } ;;
   3178   *)
   3179     CC="$CC $ac_cv_prog_cc_c89"
   3180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3182 esac
   3183 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3184 
   3185 fi
   3186 
   3187 ac_ext=c
   3188 ac_cpp='$CPP $CPPFLAGS'
   3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3192 
   3193 ac_ext=c
   3194 ac_cpp='$CPP $CPPFLAGS'
   3195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3199 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3200 if ${am_cv_prog_cc_c_o+:} false; then :
   3201   $as_echo_n "(cached) " >&6
   3202 else
   3203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3204 /* end confdefs.h.  */
   3205 
   3206 int
   3207 main ()
   3208 {
   3209 
   3210   ;
   3211   return 0;
   3212 }
   3213 _ACEOF
   3214   # Make sure it works both with $CC and with simple cc.
   3215   # Following AC_PROG_CC_C_O, we do the test twice because some
   3216   # compilers refuse to overwrite an existing .o file with -o,
   3217   # though they will create one.
   3218   am_cv_prog_cc_c_o=yes
   3219   for am_i in 1 2; do
   3220     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3221    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3222    ac_status=$?
   3223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3224    (exit $ac_status); } \
   3225          && test -f conftest2.$ac_objext; then
   3226       : OK
   3227     else
   3228       am_cv_prog_cc_c_o=no
   3229       break
   3230     fi
   3231   done
   3232   rm -f core conftest*
   3233   unset am_i
   3234 fi
   3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3236 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3237 if test "$am_cv_prog_cc_c_o" != yes; then
   3238    # Losing compiler, so override with the script.
   3239    # FIXME: It is wrong to rewrite CC.
   3240    # But if we don't then we get into trouble of one sort or another.
   3241    # A longer-term fix would be to have automake use am__CC in this case,
   3242    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3243    CC="$am_aux_dir/compile $CC"
   3244 fi
   3245 ac_ext=c
   3246 ac_cpp='$CPP $CPPFLAGS'
   3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3250 
   3251 
   3252 
   3253 ac_ext=c
   3254 ac_cpp='$CPP $CPPFLAGS'
   3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3260 # On Suns, sometimes $CPP names a directory.
   3261 if test -n "$CPP" && test -d "$CPP"; then
   3262   CPP=
   3263 fi
   3264 if test -z "$CPP"; then
   3265   if ${ac_cv_prog_CPP+:} false; then :
   3266   $as_echo_n "(cached) " >&6
   3267 else
   3268       # Double quotes because CPP needs to be expanded
   3269     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3270     do
   3271       ac_preproc_ok=false
   3272 for ac_c_preproc_warn_flag in '' yes
   3273 do
   3274   # Use a header file that comes with gcc, so configuring glibc
   3275   # with a fresh cross-compiler works.
   3276   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3277   # <limits.h> exists even on freestanding compilers.
   3278   # On the NeXT, cc -E runs the code through the compiler's parser,
   3279   # not just through cpp. "Syntax error" is here to catch this case.
   3280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3281 /* end confdefs.h.  */
   3282 #ifdef __STDC__
   3283 # include <limits.h>
   3284 #else
   3285 # include <assert.h>
   3286 #endif
   3287 		     Syntax error
   3288 _ACEOF
   3289 if ac_fn_c_try_cpp "$LINENO"; then :
   3290 
   3291 else
   3292   # Broken: fails on valid input.
   3293 continue
   3294 fi
   3295 rm -f conftest.err conftest.i conftest.$ac_ext
   3296 
   3297   # OK, works on sane cases.  Now check whether nonexistent headers
   3298   # can be detected and how.
   3299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3300 /* end confdefs.h.  */
   3301 #include <ac_nonexistent.h>
   3302 _ACEOF
   3303 if ac_fn_c_try_cpp "$LINENO"; then :
   3304   # Broken: success on invalid input.
   3305 continue
   3306 else
   3307   # Passes both tests.
   3308 ac_preproc_ok=:
   3309 break
   3310 fi
   3311 rm -f conftest.err conftest.i conftest.$ac_ext
   3312 
   3313 done
   3314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3315 rm -f conftest.i conftest.err conftest.$ac_ext
   3316 if $ac_preproc_ok; then :
   3317   break
   3318 fi
   3319 
   3320     done
   3321     ac_cv_prog_CPP=$CPP
   3322 
   3323 fi
   3324   CPP=$ac_cv_prog_CPP
   3325 else
   3326   ac_cv_prog_CPP=$CPP
   3327 fi
   3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3329 $as_echo "$CPP" >&6; }
   3330 ac_preproc_ok=false
   3331 for ac_c_preproc_warn_flag in '' yes
   3332 do
   3333   # Use a header file that comes with gcc, so configuring glibc
   3334   # with a fresh cross-compiler works.
   3335   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3336   # <limits.h> exists even on freestanding compilers.
   3337   # On the NeXT, cc -E runs the code through the compiler's parser,
   3338   # not just through cpp. "Syntax error" is here to catch this case.
   3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3340 /* end confdefs.h.  */
   3341 #ifdef __STDC__
   3342 # include <limits.h>
   3343 #else
   3344 # include <assert.h>
   3345 #endif
   3346 		     Syntax error
   3347 _ACEOF
   3348 if ac_fn_c_try_cpp "$LINENO"; then :
   3349 
   3350 else
   3351   # Broken: fails on valid input.
   3352 continue
   3353 fi
   3354 rm -f conftest.err conftest.i conftest.$ac_ext
   3355 
   3356   # OK, works on sane cases.  Now check whether nonexistent headers
   3357   # can be detected and how.
   3358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3359 /* end confdefs.h.  */
   3360 #include <ac_nonexistent.h>
   3361 _ACEOF
   3362 if ac_fn_c_try_cpp "$LINENO"; then :
   3363   # Broken: success on invalid input.
   3364 continue
   3365 else
   3366   # Passes both tests.
   3367 ac_preproc_ok=:
   3368 break
   3369 fi
   3370 rm -f conftest.err conftest.i conftest.$ac_ext
   3371 
   3372 done
   3373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3374 rm -f conftest.i conftest.err conftest.$ac_ext
   3375 if $ac_preproc_ok; then :
   3376 
   3377 else
   3378   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3381 See \`config.log' for more details" "$LINENO" 5; }
   3382 fi
   3383 
   3384 ac_ext=c
   3385 ac_cpp='$CPP $CPPFLAGS'
   3386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3389 
   3390 
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3393 if ${ac_cv_path_GREP+:} false; then :
   3394   $as_echo_n "(cached) " >&6
   3395 else
   3396   if test -z "$GREP"; then
   3397   ac_path_GREP_found=false
   3398   # Loop through the user's path and test for each of PROGNAME-LIST
   3399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3401 do
   3402   IFS=$as_save_IFS
   3403   test -z "$as_dir" && as_dir=.
   3404     for ac_prog in grep ggrep; do
   3405     for ac_exec_ext in '' $ac_executable_extensions; do
   3406       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3407       as_fn_executable_p "$ac_path_GREP" || continue
   3408 # Check for GNU ac_path_GREP and select it if it is found.
   3409   # Check for GNU $ac_path_GREP
   3410 case `"$ac_path_GREP" --version 2>&1` in
   3411 *GNU*)
   3412   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3413 *)
   3414   ac_count=0
   3415   $as_echo_n 0123456789 >"conftest.in"
   3416   while :
   3417   do
   3418     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3419     mv "conftest.tmp" "conftest.in"
   3420     cp "conftest.in" "conftest.nl"
   3421     $as_echo 'GREP' >> "conftest.nl"
   3422     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3423     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3424     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3425     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3426       # Best one so far, save it but keep looking for a better one
   3427       ac_cv_path_GREP="$ac_path_GREP"
   3428       ac_path_GREP_max=$ac_count
   3429     fi
   3430     # 10*(2^10) chars as input seems more than enough
   3431     test $ac_count -gt 10 && break
   3432   done
   3433   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3434 esac
   3435 
   3436       $ac_path_GREP_found && break 3
   3437     done
   3438   done
   3439   done
   3440 IFS=$as_save_IFS
   3441   if test -z "$ac_cv_path_GREP"; then
   3442     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3443   fi
   3444 else
   3445   ac_cv_path_GREP=$GREP
   3446 fi
   3447 
   3448 fi
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3450 $as_echo "$ac_cv_path_GREP" >&6; }
   3451  GREP="$ac_cv_path_GREP"
   3452 
   3453 
   3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3455 $as_echo_n "checking for egrep... " >&6; }
   3456 if ${ac_cv_path_EGREP+:} false; then :
   3457   $as_echo_n "(cached) " >&6
   3458 else
   3459   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3460    then ac_cv_path_EGREP="$GREP -E"
   3461    else
   3462      if test -z "$EGREP"; then
   3463   ac_path_EGREP_found=false
   3464   # Loop through the user's path and test for each of PROGNAME-LIST
   3465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3467 do
   3468   IFS=$as_save_IFS
   3469   test -z "$as_dir" && as_dir=.
   3470     for ac_prog in egrep; do
   3471     for ac_exec_ext in '' $ac_executable_extensions; do
   3472       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3473       as_fn_executable_p "$ac_path_EGREP" || continue
   3474 # Check for GNU ac_path_EGREP and select it if it is found.
   3475   # Check for GNU $ac_path_EGREP
   3476 case `"$ac_path_EGREP" --version 2>&1` in
   3477 *GNU*)
   3478   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3479 *)
   3480   ac_count=0
   3481   $as_echo_n 0123456789 >"conftest.in"
   3482   while :
   3483   do
   3484     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3485     mv "conftest.tmp" "conftest.in"
   3486     cp "conftest.in" "conftest.nl"
   3487     $as_echo 'EGREP' >> "conftest.nl"
   3488     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3489     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3490     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3491     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3492       # Best one so far, save it but keep looking for a better one
   3493       ac_cv_path_EGREP="$ac_path_EGREP"
   3494       ac_path_EGREP_max=$ac_count
   3495     fi
   3496     # 10*(2^10) chars as input seems more than enough
   3497     test $ac_count -gt 10 && break
   3498   done
   3499   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3500 esac
   3501 
   3502       $ac_path_EGREP_found && break 3
   3503     done
   3504   done
   3505   done
   3506 IFS=$as_save_IFS
   3507   if test -z "$ac_cv_path_EGREP"; then
   3508     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3509   fi
   3510 else
   3511   ac_cv_path_EGREP=$EGREP
   3512 fi
   3513 
   3514    fi
   3515 fi
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3517 $as_echo "$ac_cv_path_EGREP" >&6; }
   3518  EGREP="$ac_cv_path_EGREP"
   3519 
   3520 
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3522 $as_echo_n "checking for ANSI C header files... " >&6; }
   3523 if ${ac_cv_header_stdc+:} false; then :
   3524   $as_echo_n "(cached) " >&6
   3525 else
   3526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3527 /* end confdefs.h.  */
   3528 #include <stdlib.h>
   3529 #include <stdarg.h>
   3530 #include <string.h>
   3531 #include <float.h>
   3532 
   3533 int
   3534 main ()
   3535 {
   3536 
   3537   ;
   3538   return 0;
   3539 }
   3540 _ACEOF
   3541 if ac_fn_c_try_compile "$LINENO"; then :
   3542   ac_cv_header_stdc=yes
   3543 else
   3544   ac_cv_header_stdc=no
   3545 fi
   3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3547 
   3548 if test $ac_cv_header_stdc = yes; then
   3549   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3551 /* end confdefs.h.  */
   3552 #include <string.h>
   3553 
   3554 _ACEOF
   3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3556   $EGREP "memchr" >/dev/null 2>&1; then :
   3557 
   3558 else
   3559   ac_cv_header_stdc=no
   3560 fi
   3561 rm -f conftest*
   3562 
   3563 fi
   3564 
   3565 if test $ac_cv_header_stdc = yes; then
   3566   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3568 /* end confdefs.h.  */
   3569 #include <stdlib.h>
   3570 
   3571 _ACEOF
   3572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3573   $EGREP "free" >/dev/null 2>&1; then :
   3574 
   3575 else
   3576   ac_cv_header_stdc=no
   3577 fi
   3578 rm -f conftest*
   3579 
   3580 fi
   3581 
   3582 if test $ac_cv_header_stdc = yes; then
   3583   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3584   if test "$cross_compiling" = yes; then :
   3585   :
   3586 else
   3587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3588 /* end confdefs.h.  */
   3589 #include <ctype.h>
   3590 #include <stdlib.h>
   3591 #if ((' ' & 0x0FF) == 0x020)
   3592 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3593 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3594 #else
   3595 # define ISLOWER(c) \
   3596 		   (('a' <= (c) && (c) <= 'i') \
   3597 		     || ('j' <= (c) && (c) <= 'r') \
   3598 		     || ('s' <= (c) && (c) <= 'z'))
   3599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3600 #endif
   3601 
   3602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3603 int
   3604 main ()
   3605 {
   3606   int i;
   3607   for (i = 0; i < 256; i++)
   3608     if (XOR (islower (i), ISLOWER (i))
   3609 	|| toupper (i) != TOUPPER (i))
   3610       return 2;
   3611   return 0;
   3612 }
   3613 _ACEOF
   3614 if ac_fn_c_try_run "$LINENO"; then :
   3615 
   3616 else
   3617   ac_cv_header_stdc=no
   3618 fi
   3619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3620   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3621 fi
   3622 
   3623 fi
   3624 fi
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3626 $as_echo "$ac_cv_header_stdc" >&6; }
   3627 if test $ac_cv_header_stdc = yes; then
   3628 
   3629 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3630 
   3631 fi
   3632 
   3633 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3635 		  inttypes.h stdint.h unistd.h
   3636 do :
   3637   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3638 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3639 "
   3640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3641   cat >>confdefs.h <<_ACEOF
   3642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3643 _ACEOF
   3644 
   3645 fi
   3646 
   3647 done
   3648 
   3649 
   3650 
   3651   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3652 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3653   MINIX=yes
   3654 else
   3655   MINIX=
   3656 fi
   3657 
   3658 
   3659   if test "$MINIX" = yes; then
   3660 
   3661 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3662 
   3663 
   3664 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3665 
   3666 
   3667 $as_echo "#define _MINIX 1" >>confdefs.h
   3668 
   3669   fi
   3670 
   3671 
   3672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3673 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3674 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3675   $as_echo_n "(cached) " >&6
   3676 else
   3677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3678 /* end confdefs.h.  */
   3679 
   3680 #         define __EXTENSIONS__ 1
   3681           $ac_includes_default
   3682 int
   3683 main ()
   3684 {
   3685 
   3686   ;
   3687   return 0;
   3688 }
   3689 _ACEOF
   3690 if ac_fn_c_try_compile "$LINENO"; then :
   3691   ac_cv_safe_to_define___extensions__=yes
   3692 else
   3693   ac_cv_safe_to_define___extensions__=no
   3694 fi
   3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3696 fi
   3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3698 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3699   test $ac_cv_safe_to_define___extensions__ = yes &&
   3700     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3701 
   3702   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3703 
   3704   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3705 
   3706   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3707 
   3708   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3709 
   3710 
   3711 # Check whether --enable-largefile was given.
   3712 if test "${enable_largefile+set}" = set; then :
   3713   enableval=$enable_largefile;
   3714 fi
   3715 
   3716 if test "$enable_largefile" != no; then
   3717 
   3718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   3719 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   3720 if ${ac_cv_sys_largefile_CC+:} false; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   ac_cv_sys_largefile_CC=no
   3724      if test "$GCC" != yes; then
   3725        ac_save_CC=$CC
   3726        while :; do
   3727 	 # IRIX 6.2 and later do not support large files by default,
   3728 	 # so use the C compiler's -n32 option if that helps.
   3729 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3730 /* end confdefs.h.  */
   3731 #include <sys/types.h>
   3732  /* Check that off_t can represent 2**63 - 1 correctly.
   3733     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3734     since some C++ compilers masquerading as C compilers
   3735     incorrectly reject 9223372036854775807.  */
   3736 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3737   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3738 		       && LARGE_OFF_T % 2147483647 == 1)
   3739 		      ? 1 : -1];
   3740 int
   3741 main ()
   3742 {
   3743 
   3744   ;
   3745   return 0;
   3746 }
   3747 _ACEOF
   3748 	 if ac_fn_c_try_compile "$LINENO"; then :
   3749   break
   3750 fi
   3751 rm -f core conftest.err conftest.$ac_objext
   3752 	 CC="$CC -n32"
   3753 	 if ac_fn_c_try_compile "$LINENO"; then :
   3754   ac_cv_sys_largefile_CC=' -n32'; break
   3755 fi
   3756 rm -f core conftest.err conftest.$ac_objext
   3757 	 break
   3758        done
   3759        CC=$ac_save_CC
   3760        rm -f conftest.$ac_ext
   3761     fi
   3762 fi
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   3764 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   3765   if test "$ac_cv_sys_largefile_CC" != no; then
   3766     CC=$CC$ac_cv_sys_largefile_CC
   3767   fi
   3768 
   3769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   3770 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   3771 if ${ac_cv_sys_file_offset_bits+:} false; then :
   3772   $as_echo_n "(cached) " >&6
   3773 else
   3774   while :; do
   3775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3776 /* end confdefs.h.  */
   3777 #include <sys/types.h>
   3778  /* Check that off_t can represent 2**63 - 1 correctly.
   3779     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3780     since some C++ compilers masquerading as C compilers
   3781     incorrectly reject 9223372036854775807.  */
   3782 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3783   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3784 		       && LARGE_OFF_T % 2147483647 == 1)
   3785 		      ? 1 : -1];
   3786 int
   3787 main ()
   3788 {
   3789 
   3790   ;
   3791   return 0;
   3792 }
   3793 _ACEOF
   3794 if ac_fn_c_try_compile "$LINENO"; then :
   3795   ac_cv_sys_file_offset_bits=no; break
   3796 fi
   3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3799 /* end confdefs.h.  */
   3800 #define _FILE_OFFSET_BITS 64
   3801 #include <sys/types.h>
   3802  /* Check that off_t can represent 2**63 - 1 correctly.
   3803     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3804     since some C++ compilers masquerading as C compilers
   3805     incorrectly reject 9223372036854775807.  */
   3806 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3807   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3808 		       && LARGE_OFF_T % 2147483647 == 1)
   3809 		      ? 1 : -1];
   3810 int
   3811 main ()
   3812 {
   3813 
   3814   ;
   3815   return 0;
   3816 }
   3817 _ACEOF
   3818 if ac_fn_c_try_compile "$LINENO"; then :
   3819   ac_cv_sys_file_offset_bits=64; break
   3820 fi
   3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3822   ac_cv_sys_file_offset_bits=unknown
   3823   break
   3824 done
   3825 fi
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   3827 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   3828 case $ac_cv_sys_file_offset_bits in #(
   3829   no | unknown) ;;
   3830   *)
   3831 cat >>confdefs.h <<_ACEOF
   3832 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   3833 _ACEOF
   3834 ;;
   3835 esac
   3836 rm -rf conftest*
   3837   if test $ac_cv_sys_file_offset_bits = unknown; then
   3838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   3839 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   3840 if ${ac_cv_sys_large_files+:} false; then :
   3841   $as_echo_n "(cached) " >&6
   3842 else
   3843   while :; do
   3844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3845 /* end confdefs.h.  */
   3846 #include <sys/types.h>
   3847  /* Check that off_t can represent 2**63 - 1 correctly.
   3848     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3849     since some C++ compilers masquerading as C compilers
   3850     incorrectly reject 9223372036854775807.  */
   3851 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3852   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3853 		       && LARGE_OFF_T % 2147483647 == 1)
   3854 		      ? 1 : -1];
   3855 int
   3856 main ()
   3857 {
   3858 
   3859   ;
   3860   return 0;
   3861 }
   3862 _ACEOF
   3863 if ac_fn_c_try_compile "$LINENO"; then :
   3864   ac_cv_sys_large_files=no; break
   3865 fi
   3866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3868 /* end confdefs.h.  */
   3869 #define _LARGE_FILES 1
   3870 #include <sys/types.h>
   3871  /* Check that off_t can represent 2**63 - 1 correctly.
   3872     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3873     since some C++ compilers masquerading as C compilers
   3874     incorrectly reject 9223372036854775807.  */
   3875 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3876   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3877 		       && LARGE_OFF_T % 2147483647 == 1)
   3878 		      ? 1 : -1];
   3879 int
   3880 main ()
   3881 {
   3882 
   3883   ;
   3884   return 0;
   3885 }
   3886 _ACEOF
   3887 if ac_fn_c_try_compile "$LINENO"; then :
   3888   ac_cv_sys_large_files=1; break
   3889 fi
   3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3891   ac_cv_sys_large_files=unknown
   3892   break
   3893 done
   3894 fi
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   3896 $as_echo "$ac_cv_sys_large_files" >&6; }
   3897 case $ac_cv_sys_large_files in #(
   3898   no | unknown) ;;
   3899   *)
   3900 cat >>confdefs.h <<_ACEOF
   3901 #define _LARGE_FILES $ac_cv_sys_large_files
   3902 _ACEOF
   3903 ;;
   3904 esac
   3905 rm -rf conftest*
   3906   fi
   3907 
   3908 
   3909 fi
   3910 
   3911 
   3912 # Initialize Automake
   3913 am__api_version='1.15'
   3914 
   3915 # Find a good install program.  We prefer a C program (faster),
   3916 # so one script is as good as another.  But avoid the broken or
   3917 # incompatible versions:
   3918 # SysV /etc/install, /usr/sbin/install
   3919 # SunOS /usr/etc/install
   3920 # IRIX /sbin/install
   3921 # AIX /bin/install
   3922 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3923 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3924 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3925 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3926 # OS/2's system install, which has a completely different semantic
   3927 # ./install, which can be erroneously created by make from ./install.sh.
   3928 # Reject install programs that cannot install multiple files.
   3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3930 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3931 if test -z "$INSTALL"; then
   3932 if ${ac_cv_path_install+:} false; then :
   3933   $as_echo_n "(cached) " >&6
   3934 else
   3935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3936 for as_dir in $PATH
   3937 do
   3938   IFS=$as_save_IFS
   3939   test -z "$as_dir" && as_dir=.
   3940     # Account for people who put trailing slashes in PATH elements.
   3941 case $as_dir/ in #((
   3942   ./ | .// | /[cC]/* | \
   3943   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3944   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3945   /usr/ucb/* ) ;;
   3946   *)
   3947     # OSF1 and SCO ODT 3.0 have their own names for install.
   3948     # Don't use installbsd from OSF since it installs stuff as root
   3949     # by default.
   3950     for ac_prog in ginstall scoinst install; do
   3951       for ac_exec_ext in '' $ac_executable_extensions; do
   3952 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3953 	  if test $ac_prog = install &&
   3954 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3955 	    # AIX install.  It has an incompatible calling convention.
   3956 	    :
   3957 	  elif test $ac_prog = install &&
   3958 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3959 	    # program-specific install script used by HP pwplus--don't use.
   3960 	    :
   3961 	  else
   3962 	    rm -rf conftest.one conftest.two conftest.dir
   3963 	    echo one > conftest.one
   3964 	    echo two > conftest.two
   3965 	    mkdir conftest.dir
   3966 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3967 	      test -s conftest.one && test -s conftest.two &&
   3968 	      test -s conftest.dir/conftest.one &&
   3969 	      test -s conftest.dir/conftest.two
   3970 	    then
   3971 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3972 	      break 3
   3973 	    fi
   3974 	  fi
   3975 	fi
   3976       done
   3977     done
   3978     ;;
   3979 esac
   3980 
   3981   done
   3982 IFS=$as_save_IFS
   3983 
   3984 rm -rf conftest.one conftest.two conftest.dir
   3985 
   3986 fi
   3987   if test "${ac_cv_path_install+set}" = set; then
   3988     INSTALL=$ac_cv_path_install
   3989   else
   3990     # As a last resort, use the slow shell script.  Don't cache a
   3991     # value for INSTALL within a source directory, because that will
   3992     # break other packages using the cache if that directory is
   3993     # removed, or if the value is a relative name.
   3994     INSTALL=$ac_install_sh
   3995   fi
   3996 fi
   3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3998 $as_echo "$INSTALL" >&6; }
   3999 
   4000 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4001 # It thinks the first close brace ends the variable substitution.
   4002 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4003 
   4004 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4005 
   4006 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4007 
   4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4009 $as_echo_n "checking whether build environment is sane... " >&6; }
   4010 # Reject unsafe characters in $srcdir or the absolute working directory
   4011 # name.  Accept space and tab only in the latter.
   4012 am_lf='
   4013 '
   4014 case `pwd` in
   4015   *[\\\"\#\$\&\'\`$am_lf]*)
   4016     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4017 esac
   4018 case $srcdir in
   4019   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4020     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4021 esac
   4022 
   4023 # Do 'set' in a subshell so we don't clobber the current shell's
   4024 # arguments.  Must try -L first in case configure is actually a
   4025 # symlink; some systems play weird games with the mod time of symlinks
   4026 # (eg FreeBSD returns the mod time of the symlink's containing
   4027 # directory).
   4028 if (
   4029    am_has_slept=no
   4030    for am_try in 1 2; do
   4031      echo "timestamp, slept: $am_has_slept" > conftest.file
   4032      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4033      if test "$*" = "X"; then
   4034 	# -L didn't work.
   4035 	set X `ls -t "$srcdir/configure" conftest.file`
   4036      fi
   4037      if test "$*" != "X $srcdir/configure conftest.file" \
   4038 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4039 
   4040 	# If neither matched, then we have a broken ls.  This can happen
   4041 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4042 	# broken ls alias from the environment.  This has actually
   4043 	# happened.  Such a system could not be considered "sane".
   4044 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4045   alias in your environment" "$LINENO" 5
   4046      fi
   4047      if test "$2" = conftest.file || test $am_try -eq 2; then
   4048        break
   4049      fi
   4050      # Just in case.
   4051      sleep 1
   4052      am_has_slept=yes
   4053    done
   4054    test "$2" = conftest.file
   4055    )
   4056 then
   4057    # Ok.
   4058    :
   4059 else
   4060    as_fn_error $? "newly created file is older than distributed files!
   4061 Check your system clock" "$LINENO" 5
   4062 fi
   4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4064 $as_echo "yes" >&6; }
   4065 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4066 # generated files are strictly newer.
   4067 am_sleep_pid=
   4068 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4069   ( sleep 1 ) &
   4070   am_sleep_pid=$!
   4071 fi
   4072 
   4073 rm -f conftest.file
   4074 
   4075 test "$program_prefix" != NONE &&
   4076   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4077 # Use a double $ so make ignores it.
   4078 test "$program_suffix" != NONE &&
   4079   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4080 # Double any \ or $.
   4081 # By default was `s,x,x', remove it if useless.
   4082 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4083 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4084 
   4085 if test x"${MISSING+set}" != xset; then
   4086   case $am_aux_dir in
   4087   *\ * | *\	*)
   4088     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4089   *)
   4090     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4091   esac
   4092 fi
   4093 # Use eval to expand $SHELL
   4094 if eval "$MISSING --is-lightweight"; then
   4095   am_missing_run="$MISSING "
   4096 else
   4097   am_missing_run=
   4098   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4099 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4100 fi
   4101 
   4102 if test x"${install_sh+set}" != xset; then
   4103   case $am_aux_dir in
   4104   *\ * | *\	*)
   4105     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4106   *)
   4107     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4108   esac
   4109 fi
   4110 
   4111 # Installed binaries are usually stripped using 'strip' when the user
   4112 # run "make install-strip".  However 'strip' might not be the right
   4113 # tool to use in cross-compilation environments, therefore Automake
   4114 # will honor the 'STRIP' environment variable to overrule this program.
   4115 if test "$cross_compiling" != no; then
   4116   if test -n "$ac_tool_prefix"; then
   4117   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4118 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4120 $as_echo_n "checking for $ac_word... " >&6; }
   4121 if ${ac_cv_prog_STRIP+:} false; then :
   4122   $as_echo_n "(cached) " >&6
   4123 else
   4124   if test -n "$STRIP"; then
   4125   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4126 else
   4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4128 for as_dir in $PATH
   4129 do
   4130   IFS=$as_save_IFS
   4131   test -z "$as_dir" && as_dir=.
   4132     for ac_exec_ext in '' $ac_executable_extensions; do
   4133   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4134     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4136     break 2
   4137   fi
   4138 done
   4139   done
   4140 IFS=$as_save_IFS
   4141 
   4142 fi
   4143 fi
   4144 STRIP=$ac_cv_prog_STRIP
   4145 if test -n "$STRIP"; then
   4146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4147 $as_echo "$STRIP" >&6; }
   4148 else
   4149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4150 $as_echo "no" >&6; }
   4151 fi
   4152 
   4153 
   4154 fi
   4155 if test -z "$ac_cv_prog_STRIP"; then
   4156   ac_ct_STRIP=$STRIP
   4157   # Extract the first word of "strip", so it can be a program name with args.
   4158 set dummy strip; ac_word=$2
   4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4160 $as_echo_n "checking for $ac_word... " >&6; }
   4161 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4162   $as_echo_n "(cached) " >&6
   4163 else
   4164   if test -n "$ac_ct_STRIP"; then
   4165   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4166 else
   4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4168 for as_dir in $PATH
   4169 do
   4170   IFS=$as_save_IFS
   4171   test -z "$as_dir" && as_dir=.
   4172     for ac_exec_ext in '' $ac_executable_extensions; do
   4173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4174     ac_cv_prog_ac_ct_STRIP="strip"
   4175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4176     break 2
   4177   fi
   4178 done
   4179   done
   4180 IFS=$as_save_IFS
   4181 
   4182 fi
   4183 fi
   4184 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4185 if test -n "$ac_ct_STRIP"; then
   4186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4187 $as_echo "$ac_ct_STRIP" >&6; }
   4188 else
   4189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4190 $as_echo "no" >&6; }
   4191 fi
   4192 
   4193   if test "x$ac_ct_STRIP" = x; then
   4194     STRIP=":"
   4195   else
   4196     case $cross_compiling:$ac_tool_warned in
   4197 yes:)
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4200 ac_tool_warned=yes ;;
   4201 esac
   4202     STRIP=$ac_ct_STRIP
   4203   fi
   4204 else
   4205   STRIP="$ac_cv_prog_STRIP"
   4206 fi
   4207 
   4208 fi
   4209 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4210 
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4212 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4213 if test -z "$MKDIR_P"; then
   4214   if ${ac_cv_path_mkdir+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4218 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4219 do
   4220   IFS=$as_save_IFS
   4221   test -z "$as_dir" && as_dir=.
   4222     for ac_prog in mkdir gmkdir; do
   4223 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4224 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4225 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4226 	     'mkdir (GNU coreutils) '* | \
   4227 	     'mkdir (coreutils) '* | \
   4228 	     'mkdir (fileutils) '4.1*)
   4229 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4230 	       break 3;;
   4231 	   esac
   4232 	 done
   4233        done
   4234   done
   4235 IFS=$as_save_IFS
   4236 
   4237 fi
   4238 
   4239   test -d ./--version && rmdir ./--version
   4240   if test "${ac_cv_path_mkdir+set}" = set; then
   4241     MKDIR_P="$ac_cv_path_mkdir -p"
   4242   else
   4243     # As a last resort, use the slow shell script.  Don't cache a
   4244     # value for MKDIR_P within a source directory, because that will
   4245     # break other packages using the cache if that directory is
   4246     # removed, or if the value is a relative name.
   4247     MKDIR_P="$ac_install_sh -d"
   4248   fi
   4249 fi
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4251 $as_echo "$MKDIR_P" >&6; }
   4252 
   4253 for ac_prog in gawk mawk nawk awk
   4254 do
   4255   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4256 set dummy $ac_prog; ac_word=$2
   4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4258 $as_echo_n "checking for $ac_word... " >&6; }
   4259 if ${ac_cv_prog_AWK+:} false; then :
   4260   $as_echo_n "(cached) " >&6
   4261 else
   4262   if test -n "$AWK"; then
   4263   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4264 else
   4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4266 for as_dir in $PATH
   4267 do
   4268   IFS=$as_save_IFS
   4269   test -z "$as_dir" && as_dir=.
   4270     for ac_exec_ext in '' $ac_executable_extensions; do
   4271   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4272     ac_cv_prog_AWK="$ac_prog"
   4273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4274     break 2
   4275   fi
   4276 done
   4277   done
   4278 IFS=$as_save_IFS
   4279 
   4280 fi
   4281 fi
   4282 AWK=$ac_cv_prog_AWK
   4283 if test -n "$AWK"; then
   4284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4285 $as_echo "$AWK" >&6; }
   4286 else
   4287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4288 $as_echo "no" >&6; }
   4289 fi
   4290 
   4291 
   4292   test -n "$AWK" && break
   4293 done
   4294 
   4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4297 set x ${MAKE-make}
   4298 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4299 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4300   $as_echo_n "(cached) " >&6
   4301 else
   4302   cat >conftest.make <<\_ACEOF
   4303 SHELL = /bin/sh
   4304 all:
   4305 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4306 _ACEOF
   4307 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4309   *@@@%%%=?*=@@@%%%*)
   4310     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4311   *)
   4312     eval ac_cv_prog_make_${ac_make}_set=no;;
   4313 esac
   4314 rm -f conftest.make
   4315 fi
   4316 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4318 $as_echo "yes" >&6; }
   4319   SET_MAKE=
   4320 else
   4321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4322 $as_echo "no" >&6; }
   4323   SET_MAKE="MAKE=${MAKE-make}"
   4324 fi
   4325 
   4326 rm -rf .tst 2>/dev/null
   4327 mkdir .tst 2>/dev/null
   4328 if test -d .tst; then
   4329   am__leading_dot=.
   4330 else
   4331   am__leading_dot=_
   4332 fi
   4333 rmdir .tst 2>/dev/null
   4334 
   4335 DEPDIR="${am__leading_dot}deps"
   4336 
   4337 ac_config_commands="$ac_config_commands depfiles"
   4338 
   4339 
   4340 am_make=${MAKE-make}
   4341 cat > confinc << 'END'
   4342 am__doit:
   4343 	@echo this is the am__doit target
   4344 .PHONY: am__doit
   4345 END
   4346 # If we don't find an include directive, just comment out the code.
   4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4348 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4349 am__include="#"
   4350 am__quote=
   4351 _am_result=none
   4352 # First try GNU make style include.
   4353 echo "include confinc" > confmf
   4354 # Ignore all kinds of additional output from 'make'.
   4355 case `$am_make -s -f confmf 2> /dev/null` in #(
   4356 *the\ am__doit\ target*)
   4357   am__include=include
   4358   am__quote=
   4359   _am_result=GNU
   4360   ;;
   4361 esac
   4362 # Now try BSD make style include.
   4363 if test "$am__include" = "#"; then
   4364    echo '.include "confinc"' > confmf
   4365    case `$am_make -s -f confmf 2> /dev/null` in #(
   4366    *the\ am__doit\ target*)
   4367      am__include=.include
   4368      am__quote="\""
   4369      _am_result=BSD
   4370      ;;
   4371    esac
   4372 fi
   4373 
   4374 
   4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4376 $as_echo "$_am_result" >&6; }
   4377 rm -f confinc confmf
   4378 
   4379 # Check whether --enable-dependency-tracking was given.
   4380 if test "${enable_dependency_tracking+set}" = set; then :
   4381   enableval=$enable_dependency_tracking;
   4382 fi
   4383 
   4384 if test "x$enable_dependency_tracking" != xno; then
   4385   am_depcomp="$ac_aux_dir/depcomp"
   4386   AMDEPBACKSLASH='\'
   4387   am__nodep='_no'
   4388 fi
   4389  if test "x$enable_dependency_tracking" != xno; then
   4390   AMDEP_TRUE=
   4391   AMDEP_FALSE='#'
   4392 else
   4393   AMDEP_TRUE='#'
   4394   AMDEP_FALSE=
   4395 fi
   4396 
   4397 
   4398 # Check whether --enable-silent-rules was given.
   4399 if test "${enable_silent_rules+set}" = set; then :
   4400   enableval=$enable_silent_rules;
   4401 fi
   4402 
   4403 case $enable_silent_rules in # (((
   4404   yes) AM_DEFAULT_VERBOSITY=0;;
   4405    no) AM_DEFAULT_VERBOSITY=1;;
   4406     *) AM_DEFAULT_VERBOSITY=1;;
   4407 esac
   4408 am_make=${MAKE-make}
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4410 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4411 if ${am_cv_make_support_nested_variables+:} false; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   if $as_echo 'TRUE=$(BAR$(V))
   4415 BAR0=false
   4416 BAR1=true
   4417 V=1
   4418 am__doit:
   4419 	@$(TRUE)
   4420 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4421   am_cv_make_support_nested_variables=yes
   4422 else
   4423   am_cv_make_support_nested_variables=no
   4424 fi
   4425 fi
   4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4427 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4428 if test $am_cv_make_support_nested_variables = yes; then
   4429     AM_V='$(V)'
   4430   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4431 else
   4432   AM_V=$AM_DEFAULT_VERBOSITY
   4433   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4434 fi
   4435 AM_BACKSLASH='\'
   4436 
   4437 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4438   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4439   # is not polluted with repeated "-I."
   4440   am__isrc=' -I$(srcdir)'
   4441   # test to see if srcdir already configured
   4442   if test -f $srcdir/config.status; then
   4443     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4444   fi
   4445 fi
   4446 
   4447 # test whether we have cygpath
   4448 if test -z "$CYGPATH_W"; then
   4449   if (cygpath --version) >/dev/null 2>/dev/null; then
   4450     CYGPATH_W='cygpath -w'
   4451   else
   4452     CYGPATH_W=echo
   4453   fi
   4454 fi
   4455 
   4456 
   4457 # Define the identity of the package.
   4458  PACKAGE='sessreg'
   4459  VERSION='1.1.0'
   4460 
   4461 
   4462 cat >>confdefs.h <<_ACEOF
   4463 #define PACKAGE "$PACKAGE"
   4464 _ACEOF
   4465 
   4466 
   4467 cat >>confdefs.h <<_ACEOF
   4468 #define VERSION "$VERSION"
   4469 _ACEOF
   4470 
   4471 # Some tools Automake needs.
   4472 
   4473 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4474 
   4475 
   4476 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4477 
   4478 
   4479 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4480 
   4481 
   4482 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4483 
   4484 
   4485 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4486 
   4487 # For better backward compatibility.  To be removed once Automake 1.9.x
   4488 # dies out for good.  For more background, see:
   4489 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4490 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4491 mkdir_p='$(MKDIR_P)'
   4492 
   4493 # We need awk for the "check" target (and possibly the TAP driver).  The
   4494 # system "awk" is bad on some platforms.
   4495 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4496 # in the wild :-(  We should find a proper way to deprecate it ...
   4497 AMTAR='$${TAR-tar}'
   4498 
   4499 
   4500 # We'll loop over all known methods to create a tar archive until one works.
   4501 _am_tools='gnutar  pax cpio none'
   4502 
   4503 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4504 
   4505 
   4506 
   4507 
   4508 
   4509 depcc="$CC"   am_compiler_list=
   4510 
   4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4512 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4513 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4514   $as_echo_n "(cached) " >&6
   4515 else
   4516   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4517   # We make a subdir and do the tests there.  Otherwise we can end up
   4518   # making bogus files that we don't know about and never remove.  For
   4519   # instance it was reported that on HP-UX the gcc test will end up
   4520   # making a dummy file named 'D' -- because '-MD' means "put the output
   4521   # in D".
   4522   rm -rf conftest.dir
   4523   mkdir conftest.dir
   4524   # Copy depcomp to subdir because otherwise we won't find it if we're
   4525   # using a relative directory.
   4526   cp "$am_depcomp" conftest.dir
   4527   cd conftest.dir
   4528   # We will build objects and dependencies in a subdirectory because
   4529   # it helps to detect inapplicable dependency modes.  For instance
   4530   # both Tru64's cc and ICC support -MD to output dependencies as a
   4531   # side effect of compilation, but ICC will put the dependencies in
   4532   # the current directory while Tru64 will put them in the object
   4533   # directory.
   4534   mkdir sub
   4535 
   4536   am_cv_CC_dependencies_compiler_type=none
   4537   if test "$am_compiler_list" = ""; then
   4538      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4539   fi
   4540   am__universal=false
   4541   case " $depcc " in #(
   4542      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4543      esac
   4544 
   4545   for depmode in $am_compiler_list; do
   4546     # Setup a source with many dependencies, because some compilers
   4547     # like to wrap large dependency lists on column 80 (with \), and
   4548     # we should not choose a depcomp mode which is confused by this.
   4549     #
   4550     # We need to recreate these files for each test, as the compiler may
   4551     # overwrite some of them when testing with obscure command lines.
   4552     # This happens at least with the AIX C compiler.
   4553     : > sub/conftest.c
   4554     for i in 1 2 3 4 5 6; do
   4555       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4556       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4557       # Solaris 10 /bin/sh.
   4558       echo '/* dummy */' > sub/conftst$i.h
   4559     done
   4560     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4561 
   4562     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4563     # mode.  It turns out that the SunPro C++ compiler does not properly
   4564     # handle '-M -o', and we need to detect this.  Also, some Intel
   4565     # versions had trouble with output in subdirs.
   4566     am__obj=sub/conftest.${OBJEXT-o}
   4567     am__minus_obj="-o $am__obj"
   4568     case $depmode in
   4569     gcc)
   4570       # This depmode causes a compiler race in universal mode.
   4571       test "$am__universal" = false || continue
   4572       ;;
   4573     nosideeffect)
   4574       # After this tag, mechanisms are not by side-effect, so they'll
   4575       # only be used when explicitly requested.
   4576       if test "x$enable_dependency_tracking" = xyes; then
   4577 	continue
   4578       else
   4579 	break
   4580       fi
   4581       ;;
   4582     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4583       # This compiler won't grok '-c -o', but also, the minuso test has
   4584       # not run yet.  These depmodes are late enough in the game, and
   4585       # so weak that their functioning should not be impacted.
   4586       am__obj=conftest.${OBJEXT-o}
   4587       am__minus_obj=
   4588       ;;
   4589     none) break ;;
   4590     esac
   4591     if depmode=$depmode \
   4592        source=sub/conftest.c object=$am__obj \
   4593        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4594        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4595          >/dev/null 2>conftest.err &&
   4596        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4597        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4598        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4599        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4600       # icc doesn't choke on unknown options, it will just issue warnings
   4601       # or remarks (even with -Werror).  So we grep stderr for any message
   4602       # that says an option was ignored or not supported.
   4603       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4604       #   icc: Command line warning: ignoring option '-M'; no argument required
   4605       # The diagnosis changed in icc 8.0:
   4606       #   icc: Command line remark: option '-MP' not supported
   4607       if (grep 'ignoring option' conftest.err ||
   4608           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4609         am_cv_CC_dependencies_compiler_type=$depmode
   4610         break
   4611       fi
   4612     fi
   4613   done
   4614 
   4615   cd ..
   4616   rm -rf conftest.dir
   4617 else
   4618   am_cv_CC_dependencies_compiler_type=none
   4619 fi
   4620 
   4621 fi
   4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4623 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4624 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4625 
   4626  if
   4627   test "x$enable_dependency_tracking" != xno \
   4628   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4629   am__fastdepCC_TRUE=
   4630   am__fastdepCC_FALSE='#'
   4631 else
   4632   am__fastdepCC_TRUE='#'
   4633   am__fastdepCC_FALSE=
   4634 fi
   4635 
   4636 
   4637 
   4638 # POSIX will say in a future version that running "rm -f" with no argument
   4639 # is OK; and we want to be able to make that assumption in our Makefile
   4640 # recipes.  So use an aggressive probe to check that the usage we want is
   4641 # actually supported "in the wild" to an acceptable degree.
   4642 # See automake bug#10828.
   4643 # To make any issue more visible, cause the running configure to be aborted
   4644 # by default if the 'rm' program in use doesn't match our expectations; the
   4645 # user can still override this though.
   4646 if rm -f && rm -fr && rm -rf; then : OK; else
   4647   cat >&2 <<'END'
   4648 Oops!
   4649 
   4650 Your 'rm' program seems unable to run without file operands specified
   4651 on the command line, even when the '-f' option is present.  This is contrary
   4652 to the behaviour of most rm programs out there, and not conforming with
   4653 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4654 
   4655 Please tell bug-automake@gnu.org about your system, including the value
   4656 of your $PATH and any error possibly output before this message.  This
   4657 can help us improve future automake versions.
   4658 
   4659 END
   4660   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4661     echo 'Configuration will proceed anyway, since you have set the' >&2
   4662     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4663     echo >&2
   4664   else
   4665     cat >&2 <<'END'
   4666 Aborting the configuration process, to ensure you take notice of the issue.
   4667 
   4668 You can download and install GNU coreutils to get an 'rm' implementation
   4669 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4670 
   4671 If you want to complete the configuration process using your problematic
   4672 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4673 to "yes", and re-run configure.
   4674 
   4675 END
   4676     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4677   fi
   4678 fi
   4679 
   4680 
   4681 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4682 
   4683 
   4684 
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4694 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4695 if ${ac_cv_prog_cc_c99+:} false; then :
   4696   $as_echo_n "(cached) " >&6
   4697 else
   4698   ac_cv_prog_cc_c99=no
   4699 ac_save_CC=$CC
   4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4701 /* end confdefs.h.  */
   4702 #include <stdarg.h>
   4703 #include <stdbool.h>
   4704 #include <stdlib.h>
   4705 #include <wchar.h>
   4706 #include <stdio.h>
   4707 
   4708 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4709 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4710 #define showlist(...) puts (#__VA_ARGS__)
   4711 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4712 static void
   4713 test_varargs_macros (void)
   4714 {
   4715   int x = 1234;
   4716   int y = 5678;
   4717   debug ("Flag");
   4718   debug ("X = %d\n", x);
   4719   showlist (The first, second, and third items.);
   4720   report (x>y, "x is %d but y is %d", x, y);
   4721 }
   4722 
   4723 // Check long long types.
   4724 #define BIG64 18446744073709551615ull
   4725 #define BIG32 4294967295ul
   4726 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4727 #if !BIG_OK
   4728   your preprocessor is broken;
   4729 #endif
   4730 #if BIG_OK
   4731 #else
   4732   your preprocessor is broken;
   4733 #endif
   4734 static long long int bignum = -9223372036854775807LL;
   4735 static unsigned long long int ubignum = BIG64;
   4736 
   4737 struct incomplete_array
   4738 {
   4739   int datasize;
   4740   double data[];
   4741 };
   4742 
   4743 struct named_init {
   4744   int number;
   4745   const wchar_t *name;
   4746   double average;
   4747 };
   4748 
   4749 typedef const char *ccp;
   4750 
   4751 static inline int
   4752 test_restrict (ccp restrict text)
   4753 {
   4754   // See if C++-style comments work.
   4755   // Iterate through items via the restricted pointer.
   4756   // Also check for declarations in for loops.
   4757   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4758     continue;
   4759   return 0;
   4760 }
   4761 
   4762 // Check varargs and va_copy.
   4763 static void
   4764 test_varargs (const char *format, ...)
   4765 {
   4766   va_list args;
   4767   va_start (args, format);
   4768   va_list args_copy;
   4769   va_copy (args_copy, args);
   4770 
   4771   const char *str;
   4772   int number;
   4773   float fnumber;
   4774 
   4775   while (*format)
   4776     {
   4777       switch (*format++)
   4778 	{
   4779 	case 's': // string
   4780 	  str = va_arg (args_copy, const char *);
   4781 	  break;
   4782 	case 'd': // int
   4783 	  number = va_arg (args_copy, int);
   4784 	  break;
   4785 	case 'f': // float
   4786 	  fnumber = va_arg (args_copy, double);
   4787 	  break;
   4788 	default:
   4789 	  break;
   4790 	}
   4791     }
   4792   va_end (args_copy);
   4793   va_end (args);
   4794 }
   4795 
   4796 int
   4797 main ()
   4798 {
   4799 
   4800   // Check bool.
   4801   _Bool success = false;
   4802 
   4803   // Check restrict.
   4804   if (test_restrict ("String literal") == 0)
   4805     success = true;
   4806   char *restrict newvar = "Another string";
   4807 
   4808   // Check varargs.
   4809   test_varargs ("s, d' f .", "string", 65, 34.234);
   4810   test_varargs_macros ();
   4811 
   4812   // Check flexible array members.
   4813   struct incomplete_array *ia =
   4814     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4815   ia->datasize = 10;
   4816   for (int i = 0; i < ia->datasize; ++i)
   4817     ia->data[i] = i * 1.234;
   4818 
   4819   // Check named initializers.
   4820   struct named_init ni = {
   4821     .number = 34,
   4822     .name = L"Test wide string",
   4823     .average = 543.34343,
   4824   };
   4825 
   4826   ni.number = 58;
   4827 
   4828   int dynamic_array[ni.number];
   4829   dynamic_array[ni.number - 1] = 543;
   4830 
   4831   // work around unused variable warnings
   4832   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4833 	  || dynamic_array[ni.number - 1] != 543);
   4834 
   4835   ;
   4836   return 0;
   4837 }
   4838 _ACEOF
   4839 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4840 do
   4841   CC="$ac_save_CC $ac_arg"
   4842   if ac_fn_c_try_compile "$LINENO"; then :
   4843   ac_cv_prog_cc_c99=$ac_arg
   4844 fi
   4845 rm -f core conftest.err conftest.$ac_objext
   4846   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4847 done
   4848 rm -f conftest.$ac_ext
   4849 CC=$ac_save_CC
   4850 
   4851 fi
   4852 # AC_CACHE_VAL
   4853 case "x$ac_cv_prog_cc_c99" in
   4854   x)
   4855     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4856 $as_echo "none needed" >&6; } ;;
   4857   xno)
   4858     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4859 $as_echo "unsupported" >&6; } ;;
   4860   *)
   4861     CC="$CC $ac_cv_prog_cc_c99"
   4862     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4863 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4864 esac
   4865 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4866 
   4867 fi
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4875 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4876   CLANGCC="yes"
   4877 else
   4878   CLANGCC="no"
   4879 fi
   4880 
   4881 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4882 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4883   INTELCC="yes"
   4884 else
   4885   INTELCC="no"
   4886 fi
   4887 
   4888 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4889 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4890   SUNCC="yes"
   4891 else
   4892   SUNCC="no"
   4893 fi
   4894 
   4895 
   4896 
   4897 
   4898 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4899 	if test -n "$ac_tool_prefix"; then
   4900   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4901 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4903 $as_echo_n "checking for $ac_word... " >&6; }
   4904 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4905   $as_echo_n "(cached) " >&6
   4906 else
   4907   case $PKG_CONFIG in
   4908   [\\/]* | ?:[\\/]*)
   4909   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4910   ;;
   4911   *)
   4912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4913 for as_dir in $PATH
   4914 do
   4915   IFS=$as_save_IFS
   4916   test -z "$as_dir" && as_dir=.
   4917     for ac_exec_ext in '' $ac_executable_extensions; do
   4918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4919     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4921     break 2
   4922   fi
   4923 done
   4924   done
   4925 IFS=$as_save_IFS
   4926 
   4927   ;;
   4928 esac
   4929 fi
   4930 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4931 if test -n "$PKG_CONFIG"; then
   4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4933 $as_echo "$PKG_CONFIG" >&6; }
   4934 else
   4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4936 $as_echo "no" >&6; }
   4937 fi
   4938 
   4939 
   4940 fi
   4941 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4942   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4943   # Extract the first word of "pkg-config", so it can be a program name with args.
   4944 set dummy pkg-config; ac_word=$2
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4946 $as_echo_n "checking for $ac_word... " >&6; }
   4947 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4948   $as_echo_n "(cached) " >&6
   4949 else
   4950   case $ac_pt_PKG_CONFIG in
   4951   [\\/]* | ?:[\\/]*)
   4952   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4953   ;;
   4954   *)
   4955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4956 for as_dir in $PATH
   4957 do
   4958   IFS=$as_save_IFS
   4959   test -z "$as_dir" && as_dir=.
   4960     for ac_exec_ext in '' $ac_executable_extensions; do
   4961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4962     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4964     break 2
   4965   fi
   4966 done
   4967   done
   4968 IFS=$as_save_IFS
   4969 
   4970   ;;
   4971 esac
   4972 fi
   4973 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4974 if test -n "$ac_pt_PKG_CONFIG"; then
   4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4976 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4977 else
   4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4979 $as_echo "no" >&6; }
   4980 fi
   4981 
   4982   if test "x$ac_pt_PKG_CONFIG" = x; then
   4983     PKG_CONFIG=""
   4984   else
   4985     case $cross_compiling:$ac_tool_warned in
   4986 yes:)
   4987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4989 ac_tool_warned=yes ;;
   4990 esac
   4991     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4992   fi
   4993 else
   4994   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4995 fi
   4996 
   4997 fi
   4998 if test -n "$PKG_CONFIG"; then
   4999 	_pkg_min_version=0.9.0
   5000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5001 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5002 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5004 $as_echo "yes" >&6; }
   5005 	else
   5006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5007 $as_echo "no" >&6; }
   5008 		PKG_CONFIG=""
   5009 	fi
   5010 
   5011 fi
   5012 # Make sure we can run config.sub.
   5013 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5014   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5015 
   5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5017 $as_echo_n "checking build system type... " >&6; }
   5018 if ${ac_cv_build+:} false; then :
   5019   $as_echo_n "(cached) " >&6
   5020 else
   5021   ac_build_alias=$build_alias
   5022 test "x$ac_build_alias" = x &&
   5023   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5024 test "x$ac_build_alias" = x &&
   5025   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5026 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5027   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5028 
   5029 fi
   5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5031 $as_echo "$ac_cv_build" >&6; }
   5032 case $ac_cv_build in
   5033 *-*-*) ;;
   5034 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5035 esac
   5036 build=$ac_cv_build
   5037 ac_save_IFS=$IFS; IFS='-'
   5038 set x $ac_cv_build
   5039 shift
   5040 build_cpu=$1
   5041 build_vendor=$2
   5042 shift; shift
   5043 # Remember, the first character of IFS is used to create $*,
   5044 # except with old shells:
   5045 build_os=$*
   5046 IFS=$ac_save_IFS
   5047 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5048 
   5049 
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5051 $as_echo_n "checking host system type... " >&6; }
   5052 if ${ac_cv_host+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   if test "x$host_alias" = x; then
   5056   ac_cv_host=$ac_cv_build
   5057 else
   5058   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5059     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5060 fi
   5061 
   5062 fi
   5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5064 $as_echo "$ac_cv_host" >&6; }
   5065 case $ac_cv_host in
   5066 *-*-*) ;;
   5067 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5068 esac
   5069 host=$ac_cv_host
   5070 ac_save_IFS=$IFS; IFS='-'
   5071 set x $ac_cv_host
   5072 shift
   5073 host_cpu=$1
   5074 host_vendor=$2
   5075 shift; shift
   5076 # Remember, the first character of IFS is used to create $*,
   5077 # except with old shells:
   5078 host_os=$*
   5079 IFS=$ac_save_IFS
   5080 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5081 
   5082 
   5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5084 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5085 if ${ac_cv_path_SED+:} false; then :
   5086   $as_echo_n "(cached) " >&6
   5087 else
   5088             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5089      for ac_i in 1 2 3 4 5 6 7; do
   5090        ac_script="$ac_script$as_nl$ac_script"
   5091      done
   5092      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5093      { ac_script=; unset ac_script;}
   5094      if test -z "$SED"; then
   5095   ac_path_SED_found=false
   5096   # Loop through the user's path and test for each of PROGNAME-LIST
   5097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5098 for as_dir in $PATH
   5099 do
   5100   IFS=$as_save_IFS
   5101   test -z "$as_dir" && as_dir=.
   5102     for ac_prog in sed gsed; do
   5103     for ac_exec_ext in '' $ac_executable_extensions; do
   5104       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5105       as_fn_executable_p "$ac_path_SED" || continue
   5106 # Check for GNU ac_path_SED and select it if it is found.
   5107   # Check for GNU $ac_path_SED
   5108 case `"$ac_path_SED" --version 2>&1` in
   5109 *GNU*)
   5110   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5111 *)
   5112   ac_count=0
   5113   $as_echo_n 0123456789 >"conftest.in"
   5114   while :
   5115   do
   5116     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5117     mv "conftest.tmp" "conftest.in"
   5118     cp "conftest.in" "conftest.nl"
   5119     $as_echo '' >> "conftest.nl"
   5120     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5121     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5122     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5123     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5124       # Best one so far, save it but keep looking for a better one
   5125       ac_cv_path_SED="$ac_path_SED"
   5126       ac_path_SED_max=$ac_count
   5127     fi
   5128     # 10*(2^10) chars as input seems more than enough
   5129     test $ac_count -gt 10 && break
   5130   done
   5131   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5132 esac
   5133 
   5134       $ac_path_SED_found && break 3
   5135     done
   5136   done
   5137   done
   5138 IFS=$as_save_IFS
   5139   if test -z "$ac_cv_path_SED"; then
   5140     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5141   fi
   5142 else
   5143   ac_cv_path_SED=$SED
   5144 fi
   5145 
   5146 fi
   5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5148 $as_echo "$ac_cv_path_SED" >&6; }
   5149  SED="$ac_cv_path_SED"
   5150   rm -f conftest.sed
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 # Check whether --enable-selective-werror was given.
   5158 if test "${enable_selective_werror+set}" = set; then :
   5159   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5160 else
   5161   SELECTIVE_WERROR=yes
   5162 fi
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5169 if test "x$SUNCC" = "xyes"; then
   5170     BASE_CFLAGS="-v"
   5171 else
   5172     BASE_CFLAGS=""
   5173 fi
   5174 
   5175 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 xorg_testset_save_CFLAGS="$CFLAGS"
   5190 
   5191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5196   $as_echo_n "(cached) " >&6
   5197 else
   5198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5199 /* end confdefs.h.  */
   5200 int i;
   5201 _ACEOF
   5202 if ac_fn_c_try_compile "$LINENO"; then :
   5203   xorg_cv_cc_flag_unknown_warning_option=yes
   5204 else
   5205   xorg_cv_cc_flag_unknown_warning_option=no
   5206 fi
   5207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5208 fi
   5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5212 	CFLAGS="$xorg_testset_save_CFLAGS"
   5213 fi
   5214 
   5215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5218 	fi
   5219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5229 if ac_fn_c_try_compile "$LINENO"; then :
   5230   xorg_cv_cc_flag_unused_command_line_argument=yes
   5231 else
   5232   xorg_cv_cc_flag_unused_command_line_argument=no
   5233 fi
   5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5235 fi
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5239 	CFLAGS="$xorg_testset_save_CFLAGS"
   5240 fi
   5241 
   5242 found="no"
   5243 
   5244 	if test $found = "no" ; then
   5245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5247 		fi
   5248 
   5249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5251 		fi
   5252 
   5253 		CFLAGS="$CFLAGS -Wall"
   5254 
   5255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5256 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5257 		cacheid=xorg_cv_cc_flag__Wall
   5258 		if eval \${$cacheid+:} false; then :
   5259   $as_echo_n "(cached) " >&6
   5260 else
   5261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5262 /* end confdefs.h.  */
   5263 int i;
   5264 int
   5265 main ()
   5266 {
   5267 
   5268   ;
   5269   return 0;
   5270 }
   5271 _ACEOF
   5272 if ac_fn_c_try_link "$LINENO"; then :
   5273   eval $cacheid=yes
   5274 else
   5275   eval $cacheid=no
   5276 fi
   5277 rm -f core conftest.err conftest.$ac_objext \
   5278     conftest$ac_exeext conftest.$ac_ext
   5279 fi
   5280 
   5281 
   5282 		CFLAGS="$xorg_testset_save_CFLAGS"
   5283 
   5284 		eval supported=\$$cacheid
   5285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5286 $as_echo "$supported" >&6; }
   5287 		if test "$supported" = "yes" ; then
   5288 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5289 			found="yes"
   5290 		fi
   5291 	fi
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 xorg_testset_save_CFLAGS="$CFLAGS"
   5308 
   5309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 int i;
   5319 _ACEOF
   5320 if ac_fn_c_try_compile "$LINENO"; then :
   5321   xorg_cv_cc_flag_unknown_warning_option=yes
   5322 else
   5323   xorg_cv_cc_flag_unknown_warning_option=no
   5324 fi
   5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5326 fi
   5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5330 	CFLAGS="$xorg_testset_save_CFLAGS"
   5331 fi
   5332 
   5333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5336 	fi
   5337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5347 if ac_fn_c_try_compile "$LINENO"; then :
   5348   xorg_cv_cc_flag_unused_command_line_argument=yes
   5349 else
   5350   xorg_cv_cc_flag_unused_command_line_argument=no
   5351 fi
   5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5353 fi
   5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5357 	CFLAGS="$xorg_testset_save_CFLAGS"
   5358 fi
   5359 
   5360 found="no"
   5361 
   5362 	if test $found = "no" ; then
   5363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5365 		fi
   5366 
   5367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5369 		fi
   5370 
   5371 		CFLAGS="$CFLAGS -Wpointer-arith"
   5372 
   5373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5374 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5375 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5376 		if eval \${$cacheid+:} false; then :
   5377   $as_echo_n "(cached) " >&6
   5378 else
   5379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5380 /* end confdefs.h.  */
   5381 int i;
   5382 int
   5383 main ()
   5384 {
   5385 
   5386   ;
   5387   return 0;
   5388 }
   5389 _ACEOF
   5390 if ac_fn_c_try_link "$LINENO"; then :
   5391   eval $cacheid=yes
   5392 else
   5393   eval $cacheid=no
   5394 fi
   5395 rm -f core conftest.err conftest.$ac_objext \
   5396     conftest$ac_exeext conftest.$ac_ext
   5397 fi
   5398 
   5399 
   5400 		CFLAGS="$xorg_testset_save_CFLAGS"
   5401 
   5402 		eval supported=\$$cacheid
   5403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5404 $as_echo "$supported" >&6; }
   5405 		if test "$supported" = "yes" ; then
   5406 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5407 			found="yes"
   5408 		fi
   5409 	fi
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 xorg_testset_save_CFLAGS="$CFLAGS"
   5426 
   5427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"; then :
   5439   xorg_cv_cc_flag_unknown_warning_option=yes
   5440 else
   5441   xorg_cv_cc_flag_unknown_warning_option=no
   5442 fi
   5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5444 fi
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5448 	CFLAGS="$xorg_testset_save_CFLAGS"
   5449 fi
   5450 
   5451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 	fi
   5455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5465 if ac_fn_c_try_compile "$LINENO"; then :
   5466   xorg_cv_cc_flag_unused_command_line_argument=yes
   5467 else
   5468   xorg_cv_cc_flag_unused_command_line_argument=no
   5469 fi
   5470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5471 fi
   5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5475 	CFLAGS="$xorg_testset_save_CFLAGS"
   5476 fi
   5477 
   5478 found="no"
   5479 
   5480 	if test $found = "no" ; then
   5481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5483 		fi
   5484 
   5485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5487 		fi
   5488 
   5489 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5490 
   5491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5492 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5493 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5494 		if eval \${$cacheid+:} false; then :
   5495   $as_echo_n "(cached) " >&6
   5496 else
   5497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5498 /* end confdefs.h.  */
   5499 int i;
   5500 int
   5501 main ()
   5502 {
   5503 
   5504   ;
   5505   return 0;
   5506 }
   5507 _ACEOF
   5508 if ac_fn_c_try_link "$LINENO"; then :
   5509   eval $cacheid=yes
   5510 else
   5511   eval $cacheid=no
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext \
   5514     conftest$ac_exeext conftest.$ac_ext
   5515 fi
   5516 
   5517 
   5518 		CFLAGS="$xorg_testset_save_CFLAGS"
   5519 
   5520 		eval supported=\$$cacheid
   5521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5522 $as_echo "$supported" >&6; }
   5523 		if test "$supported" = "yes" ; then
   5524 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5525 			found="yes"
   5526 		fi
   5527 	fi
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 xorg_testset_save_CFLAGS="$CFLAGS"
   5544 
   5545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5550   $as_echo_n "(cached) " >&6
   5551 else
   5552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 int i;
   5555 _ACEOF
   5556 if ac_fn_c_try_compile "$LINENO"; then :
   5557   xorg_cv_cc_flag_unknown_warning_option=yes
   5558 else
   5559   xorg_cv_cc_flag_unknown_warning_option=no
   5560 fi
   5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5562 fi
   5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5566 	CFLAGS="$xorg_testset_save_CFLAGS"
   5567 fi
   5568 
   5569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 	fi
   5573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5577   $as_echo_n "(cached) " >&6
   5578 else
   5579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5580 /* end confdefs.h.  */
   5581 int i;
   5582 _ACEOF
   5583 if ac_fn_c_try_compile "$LINENO"; then :
   5584   xorg_cv_cc_flag_unused_command_line_argument=yes
   5585 else
   5586   xorg_cv_cc_flag_unused_command_line_argument=no
   5587 fi
   5588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5589 fi
   5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5593 	CFLAGS="$xorg_testset_save_CFLAGS"
   5594 fi
   5595 
   5596 found="no"
   5597 
   5598 	if test $found = "no" ; then
   5599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5601 		fi
   5602 
   5603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5605 		fi
   5606 
   5607 		CFLAGS="$CFLAGS -Wformat=2"
   5608 
   5609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5610 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5611 		cacheid=xorg_cv_cc_flag__Wformat_2
   5612 		if eval \${$cacheid+:} false; then :
   5613   $as_echo_n "(cached) " >&6
   5614 else
   5615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5616 /* end confdefs.h.  */
   5617 int i;
   5618 int
   5619 main ()
   5620 {
   5621 
   5622   ;
   5623   return 0;
   5624 }
   5625 _ACEOF
   5626 if ac_fn_c_try_link "$LINENO"; then :
   5627   eval $cacheid=yes
   5628 else
   5629   eval $cacheid=no
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext \
   5632     conftest$ac_exeext conftest.$ac_ext
   5633 fi
   5634 
   5635 
   5636 		CFLAGS="$xorg_testset_save_CFLAGS"
   5637 
   5638 		eval supported=\$$cacheid
   5639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5640 $as_echo "$supported" >&6; }
   5641 		if test "$supported" = "yes" ; then
   5642 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5643 			found="yes"
   5644 		fi
   5645 	fi
   5646 
   5647 	if test $found = "no" ; then
   5648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5650 		fi
   5651 
   5652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5654 		fi
   5655 
   5656 		CFLAGS="$CFLAGS -Wformat"
   5657 
   5658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5659 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5660 		cacheid=xorg_cv_cc_flag__Wformat
   5661 		if eval \${$cacheid+:} false; then :
   5662   $as_echo_n "(cached) " >&6
   5663 else
   5664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5665 /* end confdefs.h.  */
   5666 int i;
   5667 int
   5668 main ()
   5669 {
   5670 
   5671   ;
   5672   return 0;
   5673 }
   5674 _ACEOF
   5675 if ac_fn_c_try_link "$LINENO"; then :
   5676   eval $cacheid=yes
   5677 else
   5678   eval $cacheid=no
   5679 fi
   5680 rm -f core conftest.err conftest.$ac_objext \
   5681     conftest$ac_exeext conftest.$ac_ext
   5682 fi
   5683 
   5684 
   5685 		CFLAGS="$xorg_testset_save_CFLAGS"
   5686 
   5687 		eval supported=\$$cacheid
   5688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5689 $as_echo "$supported" >&6; }
   5690 		if test "$supported" = "yes" ; then
   5691 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5692 			found="yes"
   5693 		fi
   5694 	fi
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 xorg_testset_save_CFLAGS="$CFLAGS"
   5713 
   5714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5717 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5718 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5719   $as_echo_n "(cached) " >&6
   5720 else
   5721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5722 /* end confdefs.h.  */
   5723 int i;
   5724 _ACEOF
   5725 if ac_fn_c_try_compile "$LINENO"; then :
   5726   xorg_cv_cc_flag_unknown_warning_option=yes
   5727 else
   5728   xorg_cv_cc_flag_unknown_warning_option=no
   5729 fi
   5730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5731 fi
   5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5733 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5735 	CFLAGS="$xorg_testset_save_CFLAGS"
   5736 fi
   5737 
   5738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5741 	fi
   5742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5744 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5745 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5752 if ac_fn_c_try_compile "$LINENO"; then :
   5753   xorg_cv_cc_flag_unused_command_line_argument=yes
   5754 else
   5755   xorg_cv_cc_flag_unused_command_line_argument=no
   5756 fi
   5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5758 fi
   5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5760 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5762 	CFLAGS="$xorg_testset_save_CFLAGS"
   5763 fi
   5764 
   5765 found="no"
   5766 
   5767 	if test $found = "no" ; then
   5768 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5770 		fi
   5771 
   5772 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5774 		fi
   5775 
   5776 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5777 
   5778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5779 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5780 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5781 		if eval \${$cacheid+:} false; then :
   5782   $as_echo_n "(cached) " >&6
   5783 else
   5784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5785 /* end confdefs.h.  */
   5786 int i;
   5787 int
   5788 main ()
   5789 {
   5790 
   5791   ;
   5792   return 0;
   5793 }
   5794 _ACEOF
   5795 if ac_fn_c_try_link "$LINENO"; then :
   5796   eval $cacheid=yes
   5797 else
   5798   eval $cacheid=no
   5799 fi
   5800 rm -f core conftest.err conftest.$ac_objext \
   5801     conftest$ac_exeext conftest.$ac_ext
   5802 fi
   5803 
   5804 
   5805 		CFLAGS="$xorg_testset_save_CFLAGS"
   5806 
   5807 		eval supported=\$$cacheid
   5808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5809 $as_echo "$supported" >&6; }
   5810 		if test "$supported" = "yes" ; then
   5811 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5812 			found="yes"
   5813 		fi
   5814 	fi
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 xorg_testset_save_CFLAGS="$CFLAGS"
   5831 
   5832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5835 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5836 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5837   $as_echo_n "(cached) " >&6
   5838 else
   5839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 _ACEOF
   5843 if ac_fn_c_try_compile "$LINENO"; then :
   5844   xorg_cv_cc_flag_unknown_warning_option=yes
   5845 else
   5846   xorg_cv_cc_flag_unknown_warning_option=no
   5847 fi
   5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5849 fi
   5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5851 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5853 	CFLAGS="$xorg_testset_save_CFLAGS"
   5854 fi
   5855 
   5856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5859 	fi
   5860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5862 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5863 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5870 if ac_fn_c_try_compile "$LINENO"; then :
   5871   xorg_cv_cc_flag_unused_command_line_argument=yes
   5872 else
   5873   xorg_cv_cc_flag_unused_command_line_argument=no
   5874 fi
   5875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5876 fi
   5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5878 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5880 	CFLAGS="$xorg_testset_save_CFLAGS"
   5881 fi
   5882 
   5883 found="no"
   5884 
   5885 	if test $found = "no" ; then
   5886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5888 		fi
   5889 
   5890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5892 		fi
   5893 
   5894 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5895 
   5896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5897 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5898 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5899 		if eval \${$cacheid+:} false; then :
   5900   $as_echo_n "(cached) " >&6
   5901 else
   5902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5903 /* end confdefs.h.  */
   5904 int i;
   5905 int
   5906 main ()
   5907 {
   5908 
   5909   ;
   5910   return 0;
   5911 }
   5912 _ACEOF
   5913 if ac_fn_c_try_link "$LINENO"; then :
   5914   eval $cacheid=yes
   5915 else
   5916   eval $cacheid=no
   5917 fi
   5918 rm -f core conftest.err conftest.$ac_objext \
   5919     conftest$ac_exeext conftest.$ac_ext
   5920 fi
   5921 
   5922 
   5923 		CFLAGS="$xorg_testset_save_CFLAGS"
   5924 
   5925 		eval supported=\$$cacheid
   5926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5927 $as_echo "$supported" >&6; }
   5928 		if test "$supported" = "yes" ; then
   5929 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5930 			found="yes"
   5931 		fi
   5932 	fi
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 xorg_testset_save_CFLAGS="$CFLAGS"
   5949 
   5950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5955   $as_echo_n "(cached) " >&6
   5956 else
   5957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5958 /* end confdefs.h.  */
   5959 int i;
   5960 _ACEOF
   5961 if ac_fn_c_try_compile "$LINENO"; then :
   5962   xorg_cv_cc_flag_unknown_warning_option=yes
   5963 else
   5964   xorg_cv_cc_flag_unknown_warning_option=no
   5965 fi
   5966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5967 fi
   5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5971 	CFLAGS="$xorg_testset_save_CFLAGS"
   5972 fi
   5973 
   5974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5977 	fi
   5978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   5988 if ac_fn_c_try_compile "$LINENO"; then :
   5989   xorg_cv_cc_flag_unused_command_line_argument=yes
   5990 else
   5991   xorg_cv_cc_flag_unused_command_line_argument=no
   5992 fi
   5993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5994 fi
   5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5998 	CFLAGS="$xorg_testset_save_CFLAGS"
   5999 fi
   6000 
   6001 found="no"
   6002 
   6003 	if test $found = "no" ; then
   6004 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6006 		fi
   6007 
   6008 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6010 		fi
   6011 
   6012 		CFLAGS="$CFLAGS -Wnested-externs"
   6013 
   6014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6015 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   6016 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6017 		if eval \${$cacheid+:} false; then :
   6018   $as_echo_n "(cached) " >&6
   6019 else
   6020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 int i;
   6023 int
   6024 main ()
   6025 {
   6026 
   6027   ;
   6028   return 0;
   6029 }
   6030 _ACEOF
   6031 if ac_fn_c_try_link "$LINENO"; then :
   6032   eval $cacheid=yes
   6033 else
   6034   eval $cacheid=no
   6035 fi
   6036 rm -f core conftest.err conftest.$ac_objext \
   6037     conftest$ac_exeext conftest.$ac_ext
   6038 fi
   6039 
   6040 
   6041 		CFLAGS="$xorg_testset_save_CFLAGS"
   6042 
   6043 		eval supported=\$$cacheid
   6044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6045 $as_echo "$supported" >&6; }
   6046 		if test "$supported" = "yes" ; then
   6047 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6048 			found="yes"
   6049 		fi
   6050 	fi
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 xorg_testset_save_CFLAGS="$CFLAGS"
   6067 
   6068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6071 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6072 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6073   $as_echo_n "(cached) " >&6
   6074 else
   6075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6076 /* end confdefs.h.  */
   6077 int i;
   6078 _ACEOF
   6079 if ac_fn_c_try_compile "$LINENO"; then :
   6080   xorg_cv_cc_flag_unknown_warning_option=yes
   6081 else
   6082   xorg_cv_cc_flag_unknown_warning_option=no
   6083 fi
   6084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6085 fi
   6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6087 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6089 	CFLAGS="$xorg_testset_save_CFLAGS"
   6090 fi
   6091 
   6092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6095 	fi
   6096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6098 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6099 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6106 if ac_fn_c_try_compile "$LINENO"; then :
   6107   xorg_cv_cc_flag_unused_command_line_argument=yes
   6108 else
   6109   xorg_cv_cc_flag_unused_command_line_argument=no
   6110 fi
   6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6112 fi
   6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6114 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6115 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6116 	CFLAGS="$xorg_testset_save_CFLAGS"
   6117 fi
   6118 
   6119 found="no"
   6120 
   6121 	if test $found = "no" ; then
   6122 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6124 		fi
   6125 
   6126 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6128 		fi
   6129 
   6130 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6131 
   6132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6133 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   6134 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6135 		if eval \${$cacheid+:} false; then :
   6136   $as_echo_n "(cached) " >&6
   6137 else
   6138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 int
   6142 main ()
   6143 {
   6144 
   6145   ;
   6146   return 0;
   6147 }
   6148 _ACEOF
   6149 if ac_fn_c_try_link "$LINENO"; then :
   6150   eval $cacheid=yes
   6151 else
   6152   eval $cacheid=no
   6153 fi
   6154 rm -f core conftest.err conftest.$ac_objext \
   6155     conftest$ac_exeext conftest.$ac_ext
   6156 fi
   6157 
   6158 
   6159 		CFLAGS="$xorg_testset_save_CFLAGS"
   6160 
   6161 		eval supported=\$$cacheid
   6162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6163 $as_echo "$supported" >&6; }
   6164 		if test "$supported" = "yes" ; then
   6165 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6166 			found="yes"
   6167 		fi
   6168 	fi
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 xorg_testset_save_CFLAGS="$CFLAGS"
   6185 
   6186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6189 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6190 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 _ACEOF
   6197 if ac_fn_c_try_compile "$LINENO"; then :
   6198   xorg_cv_cc_flag_unknown_warning_option=yes
   6199 else
   6200   xorg_cv_cc_flag_unknown_warning_option=no
   6201 fi
   6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6203 fi
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6205 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6207 	CFLAGS="$xorg_testset_save_CFLAGS"
   6208 fi
   6209 
   6210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6213 	fi
   6214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6216 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6217 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   6224 if ac_fn_c_try_compile "$LINENO"; then :
   6225   xorg_cv_cc_flag_unused_command_line_argument=yes
   6226 else
   6227   xorg_cv_cc_flag_unused_command_line_argument=no
   6228 fi
   6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6230 fi
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6232 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6234 	CFLAGS="$xorg_testset_save_CFLAGS"
   6235 fi
   6236 
   6237 found="no"
   6238 
   6239 	if test $found = "no" ; then
   6240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6242 		fi
   6243 
   6244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6246 		fi
   6247 
   6248 		CFLAGS="$CFLAGS -Wold-style-definition"
   6249 
   6250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6251 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6252 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6253 		if eval \${$cacheid+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6257 /* end confdefs.h.  */
   6258 int i;
   6259 int
   6260 main ()
   6261 {
   6262 
   6263   ;
   6264   return 0;
   6265 }
   6266 _ACEOF
   6267 if ac_fn_c_try_link "$LINENO"; then :
   6268   eval $cacheid=yes
   6269 else
   6270   eval $cacheid=no
   6271 fi
   6272 rm -f core conftest.err conftest.$ac_objext \
   6273     conftest$ac_exeext conftest.$ac_ext
   6274 fi
   6275 
   6276 
   6277 		CFLAGS="$xorg_testset_save_CFLAGS"
   6278 
   6279 		eval supported=\$$cacheid
   6280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6281 $as_echo "$supported" >&6; }
   6282 		if test "$supported" = "yes" ; then
   6283 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6284 			found="yes"
   6285 		fi
   6286 	fi
   6287 
   6288 	if test $found = "no" ; then
   6289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6291 		fi
   6292 
   6293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6295 		fi
   6296 
   6297 		CFLAGS="$CFLAGS -fd"
   6298 
   6299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6300 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6301 		cacheid=xorg_cv_cc_flag__fd
   6302 		if eval \${$cacheid+:} false; then :
   6303   $as_echo_n "(cached) " >&6
   6304 else
   6305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6306 /* end confdefs.h.  */
   6307 int i;
   6308 int
   6309 main ()
   6310 {
   6311 
   6312   ;
   6313   return 0;
   6314 }
   6315 _ACEOF
   6316 if ac_fn_c_try_link "$LINENO"; then :
   6317   eval $cacheid=yes
   6318 else
   6319   eval $cacheid=no
   6320 fi
   6321 rm -f core conftest.err conftest.$ac_objext \
   6322     conftest$ac_exeext conftest.$ac_ext
   6323 fi
   6324 
   6325 
   6326 		CFLAGS="$xorg_testset_save_CFLAGS"
   6327 
   6328 		eval supported=\$$cacheid
   6329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6330 $as_echo "$supported" >&6; }
   6331 		if test "$supported" = "yes" ; then
   6332 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6333 			found="yes"
   6334 		fi
   6335 	fi
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 xorg_testset_save_CFLAGS="$CFLAGS"
   6352 
   6353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6361 /* end confdefs.h.  */
   6362 int i;
   6363 _ACEOF
   6364 if ac_fn_c_try_compile "$LINENO"; then :
   6365   xorg_cv_cc_flag_unknown_warning_option=yes
   6366 else
   6367   xorg_cv_cc_flag_unknown_warning_option=no
   6368 fi
   6369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6370 fi
   6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6374 	CFLAGS="$xorg_testset_save_CFLAGS"
   6375 fi
   6376 
   6377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6380 	fi
   6381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6388 /* end confdefs.h.  */
   6389 int i;
   6390 _ACEOF
   6391 if ac_fn_c_try_compile "$LINENO"; then :
   6392   xorg_cv_cc_flag_unused_command_line_argument=yes
   6393 else
   6394   xorg_cv_cc_flag_unused_command_line_argument=no
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6397 fi
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6401 	CFLAGS="$xorg_testset_save_CFLAGS"
   6402 fi
   6403 
   6404 found="no"
   6405 
   6406 	if test $found = "no" ; then
   6407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6409 		fi
   6410 
   6411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6413 		fi
   6414 
   6415 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6416 
   6417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6418 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6419 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6420 		if eval \${$cacheid+:} false; then :
   6421   $as_echo_n "(cached) " >&6
   6422 else
   6423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6424 /* end confdefs.h.  */
   6425 int i;
   6426 int
   6427 main ()
   6428 {
   6429 
   6430   ;
   6431   return 0;
   6432 }
   6433 _ACEOF
   6434 if ac_fn_c_try_link "$LINENO"; then :
   6435   eval $cacheid=yes
   6436 else
   6437   eval $cacheid=no
   6438 fi
   6439 rm -f core conftest.err conftest.$ac_objext \
   6440     conftest$ac_exeext conftest.$ac_ext
   6441 fi
   6442 
   6443 
   6444 		CFLAGS="$xorg_testset_save_CFLAGS"
   6445 
   6446 		eval supported=\$$cacheid
   6447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6448 $as_echo "$supported" >&6; }
   6449 		if test "$supported" = "yes" ; then
   6450 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6451 			found="yes"
   6452 		fi
   6453 	fi
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 # This chunk adds additional warnings that could catch undesired effects.
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 xorg_testset_save_CFLAGS="$CFLAGS"
   6474 
   6475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 _ACEOF
   6486 if ac_fn_c_try_compile "$LINENO"; then :
   6487   xorg_cv_cc_flag_unknown_warning_option=yes
   6488 else
   6489   xorg_cv_cc_flag_unknown_warning_option=no
   6490 fi
   6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6492 fi
   6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6496 	CFLAGS="$xorg_testset_save_CFLAGS"
   6497 fi
   6498 
   6499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6502 	fi
   6503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6507   $as_echo_n "(cached) " >&6
   6508 else
   6509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6510 /* end confdefs.h.  */
   6511 int i;
   6512 _ACEOF
   6513 if ac_fn_c_try_compile "$LINENO"; then :
   6514   xorg_cv_cc_flag_unused_command_line_argument=yes
   6515 else
   6516   xorg_cv_cc_flag_unused_command_line_argument=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6519 fi
   6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6523 	CFLAGS="$xorg_testset_save_CFLAGS"
   6524 fi
   6525 
   6526 found="no"
   6527 
   6528 	if test $found = "no" ; then
   6529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 		fi
   6532 
   6533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6535 		fi
   6536 
   6537 		CFLAGS="$CFLAGS -Wunused"
   6538 
   6539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6540 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6541 		cacheid=xorg_cv_cc_flag__Wunused
   6542 		if eval \${$cacheid+:} false; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6546 /* end confdefs.h.  */
   6547 int i;
   6548 int
   6549 main ()
   6550 {
   6551 
   6552   ;
   6553   return 0;
   6554 }
   6555 _ACEOF
   6556 if ac_fn_c_try_link "$LINENO"; then :
   6557   eval $cacheid=yes
   6558 else
   6559   eval $cacheid=no
   6560 fi
   6561 rm -f core conftest.err conftest.$ac_objext \
   6562     conftest$ac_exeext conftest.$ac_ext
   6563 fi
   6564 
   6565 
   6566 		CFLAGS="$xorg_testset_save_CFLAGS"
   6567 
   6568 		eval supported=\$$cacheid
   6569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6570 $as_echo "$supported" >&6; }
   6571 		if test "$supported" = "yes" ; then
   6572 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6573 			found="yes"
   6574 		fi
   6575 	fi
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 xorg_testset_save_CFLAGS="$CFLAGS"
   6592 
   6593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6598   $as_echo_n "(cached) " >&6
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 _ACEOF
   6604 if ac_fn_c_try_compile "$LINENO"; then :
   6605   xorg_cv_cc_flag_unknown_warning_option=yes
   6606 else
   6607   xorg_cv_cc_flag_unknown_warning_option=no
   6608 fi
   6609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6610 fi
   6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6614 	CFLAGS="$xorg_testset_save_CFLAGS"
   6615 fi
   6616 
   6617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6620 	fi
   6621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6625   $as_echo_n "(cached) " >&6
   6626 else
   6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6628 /* end confdefs.h.  */
   6629 int i;
   6630 _ACEOF
   6631 if ac_fn_c_try_compile "$LINENO"; then :
   6632   xorg_cv_cc_flag_unused_command_line_argument=yes
   6633 else
   6634   xorg_cv_cc_flag_unused_command_line_argument=no
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6637 fi
   6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6641 	CFLAGS="$xorg_testset_save_CFLAGS"
   6642 fi
   6643 
   6644 found="no"
   6645 
   6646 	if test $found = "no" ; then
   6647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6649 		fi
   6650 
   6651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6653 		fi
   6654 
   6655 		CFLAGS="$CFLAGS -Wuninitialized"
   6656 
   6657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6658 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6659 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6660 		if eval \${$cacheid+:} false; then :
   6661   $as_echo_n "(cached) " >&6
   6662 else
   6663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6664 /* end confdefs.h.  */
   6665 int i;
   6666 int
   6667 main ()
   6668 {
   6669 
   6670   ;
   6671   return 0;
   6672 }
   6673 _ACEOF
   6674 if ac_fn_c_try_link "$LINENO"; then :
   6675   eval $cacheid=yes
   6676 else
   6677   eval $cacheid=no
   6678 fi
   6679 rm -f core conftest.err conftest.$ac_objext \
   6680     conftest$ac_exeext conftest.$ac_ext
   6681 fi
   6682 
   6683 
   6684 		CFLAGS="$xorg_testset_save_CFLAGS"
   6685 
   6686 		eval supported=\$$cacheid
   6687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6688 $as_echo "$supported" >&6; }
   6689 		if test "$supported" = "yes" ; then
   6690 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6691 			found="yes"
   6692 		fi
   6693 	fi
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 xorg_testset_save_CFLAGS="$CFLAGS"
   6710 
   6711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 _ACEOF
   6722 if ac_fn_c_try_compile "$LINENO"; then :
   6723   xorg_cv_cc_flag_unknown_warning_option=yes
   6724 else
   6725   xorg_cv_cc_flag_unknown_warning_option=no
   6726 fi
   6727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6728 fi
   6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6732 	CFLAGS="$xorg_testset_save_CFLAGS"
   6733 fi
   6734 
   6735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6738 	fi
   6739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6743   $as_echo_n "(cached) " >&6
   6744 else
   6745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6746 /* end confdefs.h.  */
   6747 int i;
   6748 _ACEOF
   6749 if ac_fn_c_try_compile "$LINENO"; then :
   6750   xorg_cv_cc_flag_unused_command_line_argument=yes
   6751 else
   6752   xorg_cv_cc_flag_unused_command_line_argument=no
   6753 fi
   6754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6755 fi
   6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6759 	CFLAGS="$xorg_testset_save_CFLAGS"
   6760 fi
   6761 
   6762 found="no"
   6763 
   6764 	if test $found = "no" ; then
   6765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6767 		fi
   6768 
   6769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6771 		fi
   6772 
   6773 		CFLAGS="$CFLAGS -Wshadow"
   6774 
   6775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6776 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6777 		cacheid=xorg_cv_cc_flag__Wshadow
   6778 		if eval \${$cacheid+:} false; then :
   6779   $as_echo_n "(cached) " >&6
   6780 else
   6781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6782 /* end confdefs.h.  */
   6783 int i;
   6784 int
   6785 main ()
   6786 {
   6787 
   6788   ;
   6789   return 0;
   6790 }
   6791 _ACEOF
   6792 if ac_fn_c_try_link "$LINENO"; then :
   6793   eval $cacheid=yes
   6794 else
   6795   eval $cacheid=no
   6796 fi
   6797 rm -f core conftest.err conftest.$ac_objext \
   6798     conftest$ac_exeext conftest.$ac_ext
   6799 fi
   6800 
   6801 
   6802 		CFLAGS="$xorg_testset_save_CFLAGS"
   6803 
   6804 		eval supported=\$$cacheid
   6805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6806 $as_echo "$supported" >&6; }
   6807 		if test "$supported" = "yes" ; then
   6808 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6809 			found="yes"
   6810 		fi
   6811 	fi
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 xorg_testset_save_CFLAGS="$CFLAGS"
   6828 
   6829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6837 /* end confdefs.h.  */
   6838 int i;
   6839 _ACEOF
   6840 if ac_fn_c_try_compile "$LINENO"; then :
   6841   xorg_cv_cc_flag_unknown_warning_option=yes
   6842 else
   6843   xorg_cv_cc_flag_unknown_warning_option=no
   6844 fi
   6845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6846 fi
   6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6850 	CFLAGS="$xorg_testset_save_CFLAGS"
   6851 fi
   6852 
   6853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6856 	fi
   6857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6864 /* end confdefs.h.  */
   6865 int i;
   6866 _ACEOF
   6867 if ac_fn_c_try_compile "$LINENO"; then :
   6868   xorg_cv_cc_flag_unused_command_line_argument=yes
   6869 else
   6870   xorg_cv_cc_flag_unused_command_line_argument=no
   6871 fi
   6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6873 fi
   6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6877 	CFLAGS="$xorg_testset_save_CFLAGS"
   6878 fi
   6879 
   6880 found="no"
   6881 
   6882 	if test $found = "no" ; then
   6883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6885 		fi
   6886 
   6887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6889 		fi
   6890 
   6891 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6892 
   6893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6894 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6895 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6896 		if eval \${$cacheid+:} false; then :
   6897   $as_echo_n "(cached) " >&6
   6898 else
   6899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6900 /* end confdefs.h.  */
   6901 int i;
   6902 int
   6903 main ()
   6904 {
   6905 
   6906   ;
   6907   return 0;
   6908 }
   6909 _ACEOF
   6910 if ac_fn_c_try_link "$LINENO"; then :
   6911   eval $cacheid=yes
   6912 else
   6913   eval $cacheid=no
   6914 fi
   6915 rm -f core conftest.err conftest.$ac_objext \
   6916     conftest$ac_exeext conftest.$ac_ext
   6917 fi
   6918 
   6919 
   6920 		CFLAGS="$xorg_testset_save_CFLAGS"
   6921 
   6922 		eval supported=\$$cacheid
   6923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6924 $as_echo "$supported" >&6; }
   6925 		if test "$supported" = "yes" ; then
   6926 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6927 			found="yes"
   6928 		fi
   6929 	fi
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 xorg_testset_save_CFLAGS="$CFLAGS"
   6946 
   6947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6952   $as_echo_n "(cached) " >&6
   6953 else
   6954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6955 /* end confdefs.h.  */
   6956 int i;
   6957 _ACEOF
   6958 if ac_fn_c_try_compile "$LINENO"; then :
   6959   xorg_cv_cc_flag_unknown_warning_option=yes
   6960 else
   6961   xorg_cv_cc_flag_unknown_warning_option=no
   6962 fi
   6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6964 fi
   6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6968 	CFLAGS="$xorg_testset_save_CFLAGS"
   6969 fi
   6970 
   6971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6974 	fi
   6975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6982 /* end confdefs.h.  */
   6983 int i;
   6984 _ACEOF
   6985 if ac_fn_c_try_compile "$LINENO"; then :
   6986   xorg_cv_cc_flag_unused_command_line_argument=yes
   6987 else
   6988   xorg_cv_cc_flag_unused_command_line_argument=no
   6989 fi
   6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6991 fi
   6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6995 	CFLAGS="$xorg_testset_save_CFLAGS"
   6996 fi
   6997 
   6998 found="no"
   6999 
   7000 	if test $found = "no" ; then
   7001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7003 		fi
   7004 
   7005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7007 		fi
   7008 
   7009 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7010 
   7011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7012 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7013 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7014 		if eval \${$cacheid+:} false; then :
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7018 /* end confdefs.h.  */
   7019 int i;
   7020 int
   7021 main ()
   7022 {
   7023 
   7024   ;
   7025   return 0;
   7026 }
   7027 _ACEOF
   7028 if ac_fn_c_try_link "$LINENO"; then :
   7029   eval $cacheid=yes
   7030 else
   7031   eval $cacheid=no
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext \
   7034     conftest$ac_exeext conftest.$ac_ext
   7035 fi
   7036 
   7037 
   7038 		CFLAGS="$xorg_testset_save_CFLAGS"
   7039 
   7040 		eval supported=\$$cacheid
   7041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7042 $as_echo "$supported" >&6; }
   7043 		if test "$supported" = "yes" ; then
   7044 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7045 			found="yes"
   7046 		fi
   7047 	fi
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 xorg_testset_save_CFLAGS="$CFLAGS"
   7064 
   7065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7070   $as_echo_n "(cached) " >&6
   7071 else
   7072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 int i;
   7075 _ACEOF
   7076 if ac_fn_c_try_compile "$LINENO"; then :
   7077   xorg_cv_cc_flag_unknown_warning_option=yes
   7078 else
   7079   xorg_cv_cc_flag_unknown_warning_option=no
   7080 fi
   7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7082 fi
   7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7086 	CFLAGS="$xorg_testset_save_CFLAGS"
   7087 fi
   7088 
   7089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7092 	fi
   7093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7100 /* end confdefs.h.  */
   7101 int i;
   7102 _ACEOF
   7103 if ac_fn_c_try_compile "$LINENO"; then :
   7104   xorg_cv_cc_flag_unused_command_line_argument=yes
   7105 else
   7106   xorg_cv_cc_flag_unused_command_line_argument=no
   7107 fi
   7108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7109 fi
   7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7113 	CFLAGS="$xorg_testset_save_CFLAGS"
   7114 fi
   7115 
   7116 found="no"
   7117 
   7118 	if test $found = "no" ; then
   7119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7121 		fi
   7122 
   7123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7125 		fi
   7126 
   7127 		CFLAGS="$CFLAGS -Wredundant-decls"
   7128 
   7129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7130 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7131 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7132 		if eval \${$cacheid+:} false; then :
   7133   $as_echo_n "(cached) " >&6
   7134 else
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 int
   7139 main ()
   7140 {
   7141 
   7142   ;
   7143   return 0;
   7144 }
   7145 _ACEOF
   7146 if ac_fn_c_try_link "$LINENO"; then :
   7147   eval $cacheid=yes
   7148 else
   7149   eval $cacheid=no
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext \
   7152     conftest$ac_exeext conftest.$ac_ext
   7153 fi
   7154 
   7155 
   7156 		CFLAGS="$xorg_testset_save_CFLAGS"
   7157 
   7158 		eval supported=\$$cacheid
   7159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7160 $as_echo "$supported" >&6; }
   7161 		if test "$supported" = "yes" ; then
   7162 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7163 			found="yes"
   7164 		fi
   7165 	fi
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 xorg_testset_save_CFLAGS="$CFLAGS"
   7182 
   7183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7188   $as_echo_n "(cached) " >&6
   7189 else
   7190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7191 /* end confdefs.h.  */
   7192 int i;
   7193 _ACEOF
   7194 if ac_fn_c_try_compile "$LINENO"; then :
   7195   xorg_cv_cc_flag_unknown_warning_option=yes
   7196 else
   7197   xorg_cv_cc_flag_unknown_warning_option=no
   7198 fi
   7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7200 fi
   7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7204 	CFLAGS="$xorg_testset_save_CFLAGS"
   7205 fi
   7206 
   7207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7210 	fi
   7211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7215   $as_echo_n "(cached) " >&6
   7216 else
   7217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7218 /* end confdefs.h.  */
   7219 int i;
   7220 _ACEOF
   7221 if ac_fn_c_try_compile "$LINENO"; then :
   7222   xorg_cv_cc_flag_unused_command_line_argument=yes
   7223 else
   7224   xorg_cv_cc_flag_unused_command_line_argument=no
   7225 fi
   7226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7227 fi
   7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7231 	CFLAGS="$xorg_testset_save_CFLAGS"
   7232 fi
   7233 
   7234 found="no"
   7235 
   7236 	if test $found = "no" ; then
   7237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7239 		fi
   7240 
   7241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7243 		fi
   7244 
   7245 		CFLAGS="$CFLAGS -Wlogical-op"
   7246 
   7247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7248 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7249 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7250 		if eval \${$cacheid+:} false; then :
   7251   $as_echo_n "(cached) " >&6
   7252 else
   7253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 int
   7257 main ()
   7258 {
   7259 
   7260   ;
   7261   return 0;
   7262 }
   7263 _ACEOF
   7264 if ac_fn_c_try_link "$LINENO"; then :
   7265   eval $cacheid=yes
   7266 else
   7267   eval $cacheid=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext \
   7270     conftest$ac_exeext conftest.$ac_ext
   7271 fi
   7272 
   7273 
   7274 		CFLAGS="$xorg_testset_save_CFLAGS"
   7275 
   7276 		eval supported=\$$cacheid
   7277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7278 $as_echo "$supported" >&6; }
   7279 		if test "$supported" = "yes" ; then
   7280 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7281 			found="yes"
   7282 		fi
   7283 	fi
   7284 
   7285 
   7286 
   7287 # These are currently disabled because they are noisy.  They will be enabled
   7288 # in the future once the codebase is sufficiently modernized to silence
   7289 # them.  For now, I don't want them to drown out the other warnings.
   7290 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7291 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7292 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7293 
   7294 # Turn some warnings into errors, so we don't accidently get successful builds
   7295 # when there are problems that should be fixed.
   7296 
   7297 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 xorg_testset_save_CFLAGS="$CFLAGS"
   7312 
   7313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7318   $as_echo_n "(cached) " >&6
   7319 else
   7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 int i;
   7323 _ACEOF
   7324 if ac_fn_c_try_compile "$LINENO"; then :
   7325   xorg_cv_cc_flag_unknown_warning_option=yes
   7326 else
   7327   xorg_cv_cc_flag_unknown_warning_option=no
   7328 fi
   7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7330 fi
   7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7334 	CFLAGS="$xorg_testset_save_CFLAGS"
   7335 fi
   7336 
   7337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7340 	fi
   7341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7351 if ac_fn_c_try_compile "$LINENO"; then :
   7352   xorg_cv_cc_flag_unused_command_line_argument=yes
   7353 else
   7354   xorg_cv_cc_flag_unused_command_line_argument=no
   7355 fi
   7356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7357 fi
   7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7361 	CFLAGS="$xorg_testset_save_CFLAGS"
   7362 fi
   7363 
   7364 found="no"
   7365 
   7366 	if test $found = "no" ; then
   7367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7369 		fi
   7370 
   7371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7373 		fi
   7374 
   7375 		CFLAGS="$CFLAGS -Werror=implicit"
   7376 
   7377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7378 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7379 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7380 		if eval \${$cacheid+:} false; then :
   7381   $as_echo_n "(cached) " >&6
   7382 else
   7383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7384 /* end confdefs.h.  */
   7385 int i;
   7386 int
   7387 main ()
   7388 {
   7389 
   7390   ;
   7391   return 0;
   7392 }
   7393 _ACEOF
   7394 if ac_fn_c_try_link "$LINENO"; then :
   7395   eval $cacheid=yes
   7396 else
   7397   eval $cacheid=no
   7398 fi
   7399 rm -f core conftest.err conftest.$ac_objext \
   7400     conftest$ac_exeext conftest.$ac_ext
   7401 fi
   7402 
   7403 
   7404 		CFLAGS="$xorg_testset_save_CFLAGS"
   7405 
   7406 		eval supported=\$$cacheid
   7407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7408 $as_echo "$supported" >&6; }
   7409 		if test "$supported" = "yes" ; then
   7410 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7411 			found="yes"
   7412 		fi
   7413 	fi
   7414 
   7415 	if test $found = "no" ; then
   7416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7418 		fi
   7419 
   7420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7422 		fi
   7423 
   7424 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7425 
   7426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7427 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7428 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7429 		if eval \${$cacheid+:} false; then :
   7430   $as_echo_n "(cached) " >&6
   7431 else
   7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 int
   7436 main ()
   7437 {
   7438 
   7439   ;
   7440   return 0;
   7441 }
   7442 _ACEOF
   7443 if ac_fn_c_try_link "$LINENO"; then :
   7444   eval $cacheid=yes
   7445 else
   7446   eval $cacheid=no
   7447 fi
   7448 rm -f core conftest.err conftest.$ac_objext \
   7449     conftest$ac_exeext conftest.$ac_ext
   7450 fi
   7451 
   7452 
   7453 		CFLAGS="$xorg_testset_save_CFLAGS"
   7454 
   7455 		eval supported=\$$cacheid
   7456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7457 $as_echo "$supported" >&6; }
   7458 		if test "$supported" = "yes" ; then
   7459 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7460 			found="yes"
   7461 		fi
   7462 	fi
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 xorg_testset_save_CFLAGS="$CFLAGS"
   7479 
   7480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 _ACEOF
   7491 if ac_fn_c_try_compile "$LINENO"; then :
   7492   xorg_cv_cc_flag_unknown_warning_option=yes
   7493 else
   7494   xorg_cv_cc_flag_unknown_warning_option=no
   7495 fi
   7496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7497 fi
   7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7501 	CFLAGS="$xorg_testset_save_CFLAGS"
   7502 fi
   7503 
   7504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 	fi
   7508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7515 /* end confdefs.h.  */
   7516 int i;
   7517 _ACEOF
   7518 if ac_fn_c_try_compile "$LINENO"; then :
   7519   xorg_cv_cc_flag_unused_command_line_argument=yes
   7520 else
   7521   xorg_cv_cc_flag_unused_command_line_argument=no
   7522 fi
   7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7524 fi
   7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7528 	CFLAGS="$xorg_testset_save_CFLAGS"
   7529 fi
   7530 
   7531 found="no"
   7532 
   7533 	if test $found = "no" ; then
   7534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7536 		fi
   7537 
   7538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7540 		fi
   7541 
   7542 		CFLAGS="$CFLAGS -Werror=nonnull"
   7543 
   7544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7545 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7546 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7547 		if eval \${$cacheid+:} false; then :
   7548   $as_echo_n "(cached) " >&6
   7549 else
   7550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7551 /* end confdefs.h.  */
   7552 int i;
   7553 int
   7554 main ()
   7555 {
   7556 
   7557   ;
   7558   return 0;
   7559 }
   7560 _ACEOF
   7561 if ac_fn_c_try_link "$LINENO"; then :
   7562   eval $cacheid=yes
   7563 else
   7564   eval $cacheid=no
   7565 fi
   7566 rm -f core conftest.err conftest.$ac_objext \
   7567     conftest$ac_exeext conftest.$ac_ext
   7568 fi
   7569 
   7570 
   7571 		CFLAGS="$xorg_testset_save_CFLAGS"
   7572 
   7573 		eval supported=\$$cacheid
   7574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7575 $as_echo "$supported" >&6; }
   7576 		if test "$supported" = "yes" ; then
   7577 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7578 			found="yes"
   7579 		fi
   7580 	fi
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 xorg_testset_save_CFLAGS="$CFLAGS"
   7597 
   7598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7603   $as_echo_n "(cached) " >&6
   7604 else
   7605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 _ACEOF
   7609 if ac_fn_c_try_compile "$LINENO"; then :
   7610   xorg_cv_cc_flag_unknown_warning_option=yes
   7611 else
   7612   xorg_cv_cc_flag_unknown_warning_option=no
   7613 fi
   7614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7615 fi
   7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7619 	CFLAGS="$xorg_testset_save_CFLAGS"
   7620 fi
   7621 
   7622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7625 	fi
   7626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7633 /* end confdefs.h.  */
   7634 int i;
   7635 _ACEOF
   7636 if ac_fn_c_try_compile "$LINENO"; then :
   7637   xorg_cv_cc_flag_unused_command_line_argument=yes
   7638 else
   7639   xorg_cv_cc_flag_unused_command_line_argument=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7642 fi
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7646 	CFLAGS="$xorg_testset_save_CFLAGS"
   7647 fi
   7648 
   7649 found="no"
   7650 
   7651 	if test $found = "no" ; then
   7652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7654 		fi
   7655 
   7656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7658 		fi
   7659 
   7660 		CFLAGS="$CFLAGS -Werror=init-self"
   7661 
   7662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7663 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7664 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7665 		if eval \${$cacheid+:} false; then :
   7666   $as_echo_n "(cached) " >&6
   7667 else
   7668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7669 /* end confdefs.h.  */
   7670 int i;
   7671 int
   7672 main ()
   7673 {
   7674 
   7675   ;
   7676   return 0;
   7677 }
   7678 _ACEOF
   7679 if ac_fn_c_try_link "$LINENO"; then :
   7680   eval $cacheid=yes
   7681 else
   7682   eval $cacheid=no
   7683 fi
   7684 rm -f core conftest.err conftest.$ac_objext \
   7685     conftest$ac_exeext conftest.$ac_ext
   7686 fi
   7687 
   7688 
   7689 		CFLAGS="$xorg_testset_save_CFLAGS"
   7690 
   7691 		eval supported=\$$cacheid
   7692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7693 $as_echo "$supported" >&6; }
   7694 		if test "$supported" = "yes" ; then
   7695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7696 			found="yes"
   7697 		fi
   7698 	fi
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 xorg_testset_save_CFLAGS="$CFLAGS"
   7715 
   7716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7719 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7720 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7721   $as_echo_n "(cached) " >&6
   7722 else
   7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 int i;
   7726 _ACEOF
   7727 if ac_fn_c_try_compile "$LINENO"; then :
   7728   xorg_cv_cc_flag_unknown_warning_option=yes
   7729 else
   7730   xorg_cv_cc_flag_unknown_warning_option=no
   7731 fi
   7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7733 fi
   7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7735 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7737 	CFLAGS="$xorg_testset_save_CFLAGS"
   7738 fi
   7739 
   7740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7743 	fi
   7744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7746 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7747 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7748   $as_echo_n "(cached) " >&6
   7749 else
   7750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7751 /* end confdefs.h.  */
   7752 int i;
   7753 _ACEOF
   7754 if ac_fn_c_try_compile "$LINENO"; then :
   7755   xorg_cv_cc_flag_unused_command_line_argument=yes
   7756 else
   7757   xorg_cv_cc_flag_unused_command_line_argument=no
   7758 fi
   7759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7760 fi
   7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7762 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7764 	CFLAGS="$xorg_testset_save_CFLAGS"
   7765 fi
   7766 
   7767 found="no"
   7768 
   7769 	if test $found = "no" ; then
   7770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 		fi
   7773 
   7774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7776 		fi
   7777 
   7778 		CFLAGS="$CFLAGS -Werror=main"
   7779 
   7780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7781 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7782 		cacheid=xorg_cv_cc_flag__Werror_main
   7783 		if eval \${$cacheid+:} false; then :
   7784   $as_echo_n "(cached) " >&6
   7785 else
   7786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7787 /* end confdefs.h.  */
   7788 int i;
   7789 int
   7790 main ()
   7791 {
   7792 
   7793   ;
   7794   return 0;
   7795 }
   7796 _ACEOF
   7797 if ac_fn_c_try_link "$LINENO"; then :
   7798   eval $cacheid=yes
   7799 else
   7800   eval $cacheid=no
   7801 fi
   7802 rm -f core conftest.err conftest.$ac_objext \
   7803     conftest$ac_exeext conftest.$ac_ext
   7804 fi
   7805 
   7806 
   7807 		CFLAGS="$xorg_testset_save_CFLAGS"
   7808 
   7809 		eval supported=\$$cacheid
   7810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7811 $as_echo "$supported" >&6; }
   7812 		if test "$supported" = "yes" ; then
   7813 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7814 			found="yes"
   7815 		fi
   7816 	fi
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 xorg_testset_save_CFLAGS="$CFLAGS"
   7833 
   7834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7837 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7838 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7839   $as_echo_n "(cached) " >&6
   7840 else
   7841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7842 /* end confdefs.h.  */
   7843 int i;
   7844 _ACEOF
   7845 if ac_fn_c_try_compile "$LINENO"; then :
   7846   xorg_cv_cc_flag_unknown_warning_option=yes
   7847 else
   7848   xorg_cv_cc_flag_unknown_warning_option=no
   7849 fi
   7850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7851 fi
   7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7853 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7855 	CFLAGS="$xorg_testset_save_CFLAGS"
   7856 fi
   7857 
   7858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7861 	fi
   7862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7864 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7865 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 _ACEOF
   7872 if ac_fn_c_try_compile "$LINENO"; then :
   7873   xorg_cv_cc_flag_unused_command_line_argument=yes
   7874 else
   7875   xorg_cv_cc_flag_unused_command_line_argument=no
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7878 fi
   7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7880 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7882 	CFLAGS="$xorg_testset_save_CFLAGS"
   7883 fi
   7884 
   7885 found="no"
   7886 
   7887 	if test $found = "no" ; then
   7888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7890 		fi
   7891 
   7892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7894 		fi
   7895 
   7896 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7897 
   7898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7899 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7900 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7901 		if eval \${$cacheid+:} false; then :
   7902   $as_echo_n "(cached) " >&6
   7903 else
   7904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7905 /* end confdefs.h.  */
   7906 int i;
   7907 int
   7908 main ()
   7909 {
   7910 
   7911   ;
   7912   return 0;
   7913 }
   7914 _ACEOF
   7915 if ac_fn_c_try_link "$LINENO"; then :
   7916   eval $cacheid=yes
   7917 else
   7918   eval $cacheid=no
   7919 fi
   7920 rm -f core conftest.err conftest.$ac_objext \
   7921     conftest$ac_exeext conftest.$ac_ext
   7922 fi
   7923 
   7924 
   7925 		CFLAGS="$xorg_testset_save_CFLAGS"
   7926 
   7927 		eval supported=\$$cacheid
   7928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7929 $as_echo "$supported" >&6; }
   7930 		if test "$supported" = "yes" ; then
   7931 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7932 			found="yes"
   7933 		fi
   7934 	fi
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 xorg_testset_save_CFLAGS="$CFLAGS"
   7951 
   7952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7957   $as_echo_n "(cached) " >&6
   7958 else
   7959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7960 /* end confdefs.h.  */
   7961 int i;
   7962 _ACEOF
   7963 if ac_fn_c_try_compile "$LINENO"; then :
   7964   xorg_cv_cc_flag_unknown_warning_option=yes
   7965 else
   7966   xorg_cv_cc_flag_unknown_warning_option=no
   7967 fi
   7968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7969 fi
   7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7973 	CFLAGS="$xorg_testset_save_CFLAGS"
   7974 fi
   7975 
   7976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7979 	fi
   7980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   7990 if ac_fn_c_try_compile "$LINENO"; then :
   7991   xorg_cv_cc_flag_unused_command_line_argument=yes
   7992 else
   7993   xorg_cv_cc_flag_unused_command_line_argument=no
   7994 fi
   7995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7996 fi
   7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8000 	CFLAGS="$xorg_testset_save_CFLAGS"
   8001 fi
   8002 
   8003 found="no"
   8004 
   8005 	if test $found = "no" ; then
   8006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8008 		fi
   8009 
   8010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8012 		fi
   8013 
   8014 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8015 
   8016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8017 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   8018 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8019 		if eval \${$cacheid+:} false; then :
   8020   $as_echo_n "(cached) " >&6
   8021 else
   8022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8023 /* end confdefs.h.  */
   8024 int i;
   8025 int
   8026 main ()
   8027 {
   8028 
   8029   ;
   8030   return 0;
   8031 }
   8032 _ACEOF
   8033 if ac_fn_c_try_link "$LINENO"; then :
   8034   eval $cacheid=yes
   8035 else
   8036   eval $cacheid=no
   8037 fi
   8038 rm -f core conftest.err conftest.$ac_objext \
   8039     conftest$ac_exeext conftest.$ac_ext
   8040 fi
   8041 
   8042 
   8043 		CFLAGS="$xorg_testset_save_CFLAGS"
   8044 
   8045 		eval supported=\$$cacheid
   8046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8047 $as_echo "$supported" >&6; }
   8048 		if test "$supported" = "yes" ; then
   8049 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8050 			found="yes"
   8051 		fi
   8052 	fi
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 xorg_testset_save_CFLAGS="$CFLAGS"
   8069 
   8070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8078 /* end confdefs.h.  */
   8079 int i;
   8080 _ACEOF
   8081 if ac_fn_c_try_compile "$LINENO"; then :
   8082   xorg_cv_cc_flag_unknown_warning_option=yes
   8083 else
   8084   xorg_cv_cc_flag_unknown_warning_option=no
   8085 fi
   8086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8087 fi
   8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8091 	CFLAGS="$xorg_testset_save_CFLAGS"
   8092 fi
   8093 
   8094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8097 	fi
   8098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8108 if ac_fn_c_try_compile "$LINENO"; then :
   8109   xorg_cv_cc_flag_unused_command_line_argument=yes
   8110 else
   8111   xorg_cv_cc_flag_unused_command_line_argument=no
   8112 fi
   8113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8114 fi
   8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8118 	CFLAGS="$xorg_testset_save_CFLAGS"
   8119 fi
   8120 
   8121 found="no"
   8122 
   8123 	if test $found = "no" ; then
   8124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8126 		fi
   8127 
   8128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8130 		fi
   8131 
   8132 		CFLAGS="$CFLAGS -Werror=return-type"
   8133 
   8134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8135 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   8136 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8137 		if eval \${$cacheid+:} false; then :
   8138   $as_echo_n "(cached) " >&6
   8139 else
   8140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8141 /* end confdefs.h.  */
   8142 int i;
   8143 int
   8144 main ()
   8145 {
   8146 
   8147   ;
   8148   return 0;
   8149 }
   8150 _ACEOF
   8151 if ac_fn_c_try_link "$LINENO"; then :
   8152   eval $cacheid=yes
   8153 else
   8154   eval $cacheid=no
   8155 fi
   8156 rm -f core conftest.err conftest.$ac_objext \
   8157     conftest$ac_exeext conftest.$ac_ext
   8158 fi
   8159 
   8160 
   8161 		CFLAGS="$xorg_testset_save_CFLAGS"
   8162 
   8163 		eval supported=\$$cacheid
   8164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8165 $as_echo "$supported" >&6; }
   8166 		if test "$supported" = "yes" ; then
   8167 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8168 			found="yes"
   8169 		fi
   8170 	fi
   8171 
   8172 	if test $found = "no" ; then
   8173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8175 		fi
   8176 
   8177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8179 		fi
   8180 
   8181 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8182 
   8183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8184 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8185 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8186 		if eval \${$cacheid+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8190 /* end confdefs.h.  */
   8191 int i;
   8192 int
   8193 main ()
   8194 {
   8195 
   8196   ;
   8197   return 0;
   8198 }
   8199 _ACEOF
   8200 if ac_fn_c_try_link "$LINENO"; then :
   8201   eval $cacheid=yes
   8202 else
   8203   eval $cacheid=no
   8204 fi
   8205 rm -f core conftest.err conftest.$ac_objext \
   8206     conftest$ac_exeext conftest.$ac_ext
   8207 fi
   8208 
   8209 
   8210 		CFLAGS="$xorg_testset_save_CFLAGS"
   8211 
   8212 		eval supported=\$$cacheid
   8213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8214 $as_echo "$supported" >&6; }
   8215 		if test "$supported" = "yes" ; then
   8216 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8217 			found="yes"
   8218 		fi
   8219 	fi
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 xorg_testset_save_CFLAGS="$CFLAGS"
   8236 
   8237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8240 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8241 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 _ACEOF
   8248 if ac_fn_c_try_compile "$LINENO"; then :
   8249   xorg_cv_cc_flag_unknown_warning_option=yes
   8250 else
   8251   xorg_cv_cc_flag_unknown_warning_option=no
   8252 fi
   8253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8254 fi
   8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8256 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8258 	CFLAGS="$xorg_testset_save_CFLAGS"
   8259 fi
   8260 
   8261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8264 	fi
   8265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8267 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8268 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8269   $as_echo_n "(cached) " >&6
   8270 else
   8271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8272 /* end confdefs.h.  */
   8273 int i;
   8274 _ACEOF
   8275 if ac_fn_c_try_compile "$LINENO"; then :
   8276   xorg_cv_cc_flag_unused_command_line_argument=yes
   8277 else
   8278   xorg_cv_cc_flag_unused_command_line_argument=no
   8279 fi
   8280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8281 fi
   8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8283 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8285 	CFLAGS="$xorg_testset_save_CFLAGS"
   8286 fi
   8287 
   8288 found="no"
   8289 
   8290 	if test $found = "no" ; then
   8291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 		fi
   8294 
   8295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8297 		fi
   8298 
   8299 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8300 
   8301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8302 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8303 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8304 		if eval \${$cacheid+:} false; then :
   8305   $as_echo_n "(cached) " >&6
   8306 else
   8307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 int
   8311 main ()
   8312 {
   8313 
   8314   ;
   8315   return 0;
   8316 }
   8317 _ACEOF
   8318 if ac_fn_c_try_link "$LINENO"; then :
   8319   eval $cacheid=yes
   8320 else
   8321   eval $cacheid=no
   8322 fi
   8323 rm -f core conftest.err conftest.$ac_objext \
   8324     conftest$ac_exeext conftest.$ac_ext
   8325 fi
   8326 
   8327 
   8328 		CFLAGS="$xorg_testset_save_CFLAGS"
   8329 
   8330 		eval supported=\$$cacheid
   8331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8332 $as_echo "$supported" >&6; }
   8333 		if test "$supported" = "yes" ; then
   8334 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8335 			found="yes"
   8336 		fi
   8337 	fi
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 xorg_testset_save_CFLAGS="$CFLAGS"
   8354 
   8355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8360   $as_echo_n "(cached) " >&6
   8361 else
   8362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8363 /* end confdefs.h.  */
   8364 int i;
   8365 _ACEOF
   8366 if ac_fn_c_try_compile "$LINENO"; then :
   8367   xorg_cv_cc_flag_unknown_warning_option=yes
   8368 else
   8369   xorg_cv_cc_flag_unknown_warning_option=no
   8370 fi
   8371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8372 fi
   8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8376 	CFLAGS="$xorg_testset_save_CFLAGS"
   8377 fi
   8378 
   8379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8382 	fi
   8383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8390 /* end confdefs.h.  */
   8391 int i;
   8392 _ACEOF
   8393 if ac_fn_c_try_compile "$LINENO"; then :
   8394   xorg_cv_cc_flag_unused_command_line_argument=yes
   8395 else
   8396   xorg_cv_cc_flag_unused_command_line_argument=no
   8397 fi
   8398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8399 fi
   8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8403 	CFLAGS="$xorg_testset_save_CFLAGS"
   8404 fi
   8405 
   8406 found="no"
   8407 
   8408 	if test $found = "no" ; then
   8409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8411 		fi
   8412 
   8413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8415 		fi
   8416 
   8417 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8418 
   8419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8420 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8421 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8422 		if eval \${$cacheid+:} false; then :
   8423   $as_echo_n "(cached) " >&6
   8424 else
   8425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8426 /* end confdefs.h.  */
   8427 int i;
   8428 int
   8429 main ()
   8430 {
   8431 
   8432   ;
   8433   return 0;
   8434 }
   8435 _ACEOF
   8436 if ac_fn_c_try_link "$LINENO"; then :
   8437   eval $cacheid=yes
   8438 else
   8439   eval $cacheid=no
   8440 fi
   8441 rm -f core conftest.err conftest.$ac_objext \
   8442     conftest$ac_exeext conftest.$ac_ext
   8443 fi
   8444 
   8445 
   8446 		CFLAGS="$xorg_testset_save_CFLAGS"
   8447 
   8448 		eval supported=\$$cacheid
   8449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8450 $as_echo "$supported" >&6; }
   8451 		if test "$supported" = "yes" ; then
   8452 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8453 			found="yes"
   8454 		fi
   8455 	fi
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 xorg_testset_save_CFLAGS="$CFLAGS"
   8472 
   8473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8481 /* end confdefs.h.  */
   8482 int i;
   8483 _ACEOF
   8484 if ac_fn_c_try_compile "$LINENO"; then :
   8485   xorg_cv_cc_flag_unknown_warning_option=yes
   8486 else
   8487   xorg_cv_cc_flag_unknown_warning_option=no
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8490 fi
   8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8494 	CFLAGS="$xorg_testset_save_CFLAGS"
   8495 fi
   8496 
   8497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8500 	fi
   8501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8505   $as_echo_n "(cached) " >&6
   8506 else
   8507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 _ACEOF
   8511 if ac_fn_c_try_compile "$LINENO"; then :
   8512   xorg_cv_cc_flag_unused_command_line_argument=yes
   8513 else
   8514   xorg_cv_cc_flag_unused_command_line_argument=no
   8515 fi
   8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8517 fi
   8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8521 	CFLAGS="$xorg_testset_save_CFLAGS"
   8522 fi
   8523 
   8524 found="no"
   8525 
   8526 	if test $found = "no" ; then
   8527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8529 		fi
   8530 
   8531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8533 		fi
   8534 
   8535 		CFLAGS="$CFLAGS -Werror=write-strings"
   8536 
   8537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8538 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8539 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8540 		if eval \${$cacheid+:} false; then :
   8541   $as_echo_n "(cached) " >&6
   8542 else
   8543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8544 /* end confdefs.h.  */
   8545 int i;
   8546 int
   8547 main ()
   8548 {
   8549 
   8550   ;
   8551   return 0;
   8552 }
   8553 _ACEOF
   8554 if ac_fn_c_try_link "$LINENO"; then :
   8555   eval $cacheid=yes
   8556 else
   8557   eval $cacheid=no
   8558 fi
   8559 rm -f core conftest.err conftest.$ac_objext \
   8560     conftest$ac_exeext conftest.$ac_ext
   8561 fi
   8562 
   8563 
   8564 		CFLAGS="$xorg_testset_save_CFLAGS"
   8565 
   8566 		eval supported=\$$cacheid
   8567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8568 $as_echo "$supported" >&6; }
   8569 		if test "$supported" = "yes" ; then
   8570 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8571 			found="yes"
   8572 		fi
   8573 	fi
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 xorg_testset_save_CFLAGS="$CFLAGS"
   8590 
   8591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8596   $as_echo_n "(cached) " >&6
   8597 else
   8598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8599 /* end confdefs.h.  */
   8600 int i;
   8601 _ACEOF
   8602 if ac_fn_c_try_compile "$LINENO"; then :
   8603   xorg_cv_cc_flag_unknown_warning_option=yes
   8604 else
   8605   xorg_cv_cc_flag_unknown_warning_option=no
   8606 fi
   8607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8608 fi
   8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8612 	CFLAGS="$xorg_testset_save_CFLAGS"
   8613 fi
   8614 
   8615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8618 	fi
   8619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8629 if ac_fn_c_try_compile "$LINENO"; then :
   8630   xorg_cv_cc_flag_unused_command_line_argument=yes
   8631 else
   8632   xorg_cv_cc_flag_unused_command_line_argument=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8635 fi
   8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8639 	CFLAGS="$xorg_testset_save_CFLAGS"
   8640 fi
   8641 
   8642 found="no"
   8643 
   8644 	if test $found = "no" ; then
   8645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8647 		fi
   8648 
   8649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8651 		fi
   8652 
   8653 		CFLAGS="$CFLAGS -Werror=address"
   8654 
   8655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8656 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8657 		cacheid=xorg_cv_cc_flag__Werror_address
   8658 		if eval \${$cacheid+:} false; then :
   8659   $as_echo_n "(cached) " >&6
   8660 else
   8661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8662 /* end confdefs.h.  */
   8663 int i;
   8664 int
   8665 main ()
   8666 {
   8667 
   8668   ;
   8669   return 0;
   8670 }
   8671 _ACEOF
   8672 if ac_fn_c_try_link "$LINENO"; then :
   8673   eval $cacheid=yes
   8674 else
   8675   eval $cacheid=no
   8676 fi
   8677 rm -f core conftest.err conftest.$ac_objext \
   8678     conftest$ac_exeext conftest.$ac_ext
   8679 fi
   8680 
   8681 
   8682 		CFLAGS="$xorg_testset_save_CFLAGS"
   8683 
   8684 		eval supported=\$$cacheid
   8685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8686 $as_echo "$supported" >&6; }
   8687 		if test "$supported" = "yes" ; then
   8688 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8689 			found="yes"
   8690 		fi
   8691 	fi
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 xorg_testset_save_CFLAGS="$CFLAGS"
   8708 
   8709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8714   $as_echo_n "(cached) " >&6
   8715 else
   8716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8717 /* end confdefs.h.  */
   8718 int i;
   8719 _ACEOF
   8720 if ac_fn_c_try_compile "$LINENO"; then :
   8721   xorg_cv_cc_flag_unknown_warning_option=yes
   8722 else
   8723   xorg_cv_cc_flag_unknown_warning_option=no
   8724 fi
   8725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8726 fi
   8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8730 	CFLAGS="$xorg_testset_save_CFLAGS"
   8731 fi
   8732 
   8733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 	fi
   8737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8747 if ac_fn_c_try_compile "$LINENO"; then :
   8748   xorg_cv_cc_flag_unused_command_line_argument=yes
   8749 else
   8750   xorg_cv_cc_flag_unused_command_line_argument=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8753 fi
   8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8757 	CFLAGS="$xorg_testset_save_CFLAGS"
   8758 fi
   8759 
   8760 found="no"
   8761 
   8762 	if test $found = "no" ; then
   8763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8765 		fi
   8766 
   8767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8769 		fi
   8770 
   8771 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8772 
   8773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8774 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8775 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8776 		if eval \${$cacheid+:} false; then :
   8777   $as_echo_n "(cached) " >&6
   8778 else
   8779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8780 /* end confdefs.h.  */
   8781 int i;
   8782 int
   8783 main ()
   8784 {
   8785 
   8786   ;
   8787   return 0;
   8788 }
   8789 _ACEOF
   8790 if ac_fn_c_try_link "$LINENO"; then :
   8791   eval $cacheid=yes
   8792 else
   8793   eval $cacheid=no
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext \
   8796     conftest$ac_exeext conftest.$ac_ext
   8797 fi
   8798 
   8799 
   8800 		CFLAGS="$xorg_testset_save_CFLAGS"
   8801 
   8802 		eval supported=\$$cacheid
   8803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8804 $as_echo "$supported" >&6; }
   8805 		if test "$supported" = "yes" ; then
   8806 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8807 			found="yes"
   8808 		fi
   8809 	fi
   8810 
   8811 	if test $found = "no" ; then
   8812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8814 		fi
   8815 
   8816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8818 		fi
   8819 
   8820 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8821 
   8822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8823 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8824 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8825 		if eval \${$cacheid+:} 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 int
   8832 main ()
   8833 {
   8834 
   8835   ;
   8836   return 0;
   8837 }
   8838 _ACEOF
   8839 if ac_fn_c_try_link "$LINENO"; then :
   8840   eval $cacheid=yes
   8841 else
   8842   eval $cacheid=no
   8843 fi
   8844 rm -f core conftest.err conftest.$ac_objext \
   8845     conftest$ac_exeext conftest.$ac_ext
   8846 fi
   8847 
   8848 
   8849 		CFLAGS="$xorg_testset_save_CFLAGS"
   8850 
   8851 		eval supported=\$$cacheid
   8852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8853 $as_echo "$supported" >&6; }
   8854 		if test "$supported" = "yes" ; then
   8855 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8856 			found="yes"
   8857 		fi
   8858 	fi
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 xorg_testset_save_CFLAGS="$CFLAGS"
   8875 
   8876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8879 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8880 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8881   $as_echo_n "(cached) " >&6
   8882 else
   8883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8884 /* end confdefs.h.  */
   8885 int i;
   8886 _ACEOF
   8887 if ac_fn_c_try_compile "$LINENO"; then :
   8888   xorg_cv_cc_flag_unknown_warning_option=yes
   8889 else
   8890   xorg_cv_cc_flag_unknown_warning_option=no
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8893 fi
   8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8895 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8896 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8897 	CFLAGS="$xorg_testset_save_CFLAGS"
   8898 fi
   8899 
   8900 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8901 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8902 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8903 	fi
   8904 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8906 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8907 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8908   $as_echo_n "(cached) " >&6
   8909 else
   8910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8911 /* end confdefs.h.  */
   8912 int i;
   8913 _ACEOF
   8914 if ac_fn_c_try_compile "$LINENO"; then :
   8915   xorg_cv_cc_flag_unused_command_line_argument=yes
   8916 else
   8917   xorg_cv_cc_flag_unused_command_line_argument=no
   8918 fi
   8919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8920 fi
   8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8922 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8924 	CFLAGS="$xorg_testset_save_CFLAGS"
   8925 fi
   8926 
   8927 found="no"
   8928 
   8929 	if test $found = "no" ; then
   8930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8932 		fi
   8933 
   8934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8936 		fi
   8937 
   8938 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8939 
   8940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8941 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8942 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8943 		if eval \${$cacheid+:} 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 int
   8950 main ()
   8951 {
   8952 
   8953   ;
   8954   return 0;
   8955 }
   8956 _ACEOF
   8957 if ac_fn_c_try_link "$LINENO"; then :
   8958   eval $cacheid=yes
   8959 else
   8960   eval $cacheid=no
   8961 fi
   8962 rm -f core conftest.err conftest.$ac_objext \
   8963     conftest$ac_exeext conftest.$ac_ext
   8964 fi
   8965 
   8966 
   8967 		CFLAGS="$xorg_testset_save_CFLAGS"
   8968 
   8969 		eval supported=\$$cacheid
   8970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8971 $as_echo "$supported" >&6; }
   8972 		if test "$supported" = "yes" ; then
   8973 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8974 			found="yes"
   8975 		fi
   8976 	fi
   8977 
   8978  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8979 else
   8980 { $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
   8981 $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;}
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 xorg_testset_save_CFLAGS="$CFLAGS"
   8996 
   8997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 _ACEOF
   9008 if ac_fn_c_try_compile "$LINENO"; then :
   9009   xorg_cv_cc_flag_unknown_warning_option=yes
   9010 else
   9011   xorg_cv_cc_flag_unknown_warning_option=no
   9012 fi
   9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9014 fi
   9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9018 	CFLAGS="$xorg_testset_save_CFLAGS"
   9019 fi
   9020 
   9021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9024 	fi
   9025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9029   $as_echo_n "(cached) " >&6
   9030 else
   9031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9032 /* end confdefs.h.  */
   9033 int i;
   9034 _ACEOF
   9035 if ac_fn_c_try_compile "$LINENO"; then :
   9036   xorg_cv_cc_flag_unused_command_line_argument=yes
   9037 else
   9038   xorg_cv_cc_flag_unused_command_line_argument=no
   9039 fi
   9040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9041 fi
   9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9045 	CFLAGS="$xorg_testset_save_CFLAGS"
   9046 fi
   9047 
   9048 found="no"
   9049 
   9050 	if test $found = "no" ; then
   9051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9053 		fi
   9054 
   9055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9057 		fi
   9058 
   9059 		CFLAGS="$CFLAGS -Wimplicit"
   9060 
   9061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9062 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   9063 		cacheid=xorg_cv_cc_flag__Wimplicit
   9064 		if eval \${$cacheid+:} false; then :
   9065   $as_echo_n "(cached) " >&6
   9066 else
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 int
   9071 main ()
   9072 {
   9073 
   9074   ;
   9075   return 0;
   9076 }
   9077 _ACEOF
   9078 if ac_fn_c_try_link "$LINENO"; then :
   9079   eval $cacheid=yes
   9080 else
   9081   eval $cacheid=no
   9082 fi
   9083 rm -f core conftest.err conftest.$ac_objext \
   9084     conftest$ac_exeext conftest.$ac_ext
   9085 fi
   9086 
   9087 
   9088 		CFLAGS="$xorg_testset_save_CFLAGS"
   9089 
   9090 		eval supported=\$$cacheid
   9091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9092 $as_echo "$supported" >&6; }
   9093 		if test "$supported" = "yes" ; then
   9094 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9095 			found="yes"
   9096 		fi
   9097 	fi
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 xorg_testset_save_CFLAGS="$CFLAGS"
   9114 
   9115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9118 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9119 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 _ACEOF
   9126 if ac_fn_c_try_compile "$LINENO"; then :
   9127   xorg_cv_cc_flag_unknown_warning_option=yes
   9128 else
   9129   xorg_cv_cc_flag_unknown_warning_option=no
   9130 fi
   9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9132 fi
   9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9134 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9135 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9136 	CFLAGS="$xorg_testset_save_CFLAGS"
   9137 fi
   9138 
   9139 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9140 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9142 	fi
   9143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9145 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9146 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9147   $as_echo_n "(cached) " >&6
   9148 else
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 _ACEOF
   9153 if ac_fn_c_try_compile "$LINENO"; then :
   9154   xorg_cv_cc_flag_unused_command_line_argument=yes
   9155 else
   9156   xorg_cv_cc_flag_unused_command_line_argument=no
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9159 fi
   9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9161 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9163 	CFLAGS="$xorg_testset_save_CFLAGS"
   9164 fi
   9165 
   9166 found="no"
   9167 
   9168 	if test $found = "no" ; then
   9169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9171 		fi
   9172 
   9173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9175 		fi
   9176 
   9177 		CFLAGS="$CFLAGS -Wnonnull"
   9178 
   9179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9180 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9181 		cacheid=xorg_cv_cc_flag__Wnonnull
   9182 		if eval \${$cacheid+:} false; then :
   9183   $as_echo_n "(cached) " >&6
   9184 else
   9185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9186 /* end confdefs.h.  */
   9187 int i;
   9188 int
   9189 main ()
   9190 {
   9191 
   9192   ;
   9193   return 0;
   9194 }
   9195 _ACEOF
   9196 if ac_fn_c_try_link "$LINENO"; then :
   9197   eval $cacheid=yes
   9198 else
   9199   eval $cacheid=no
   9200 fi
   9201 rm -f core conftest.err conftest.$ac_objext \
   9202     conftest$ac_exeext conftest.$ac_ext
   9203 fi
   9204 
   9205 
   9206 		CFLAGS="$xorg_testset_save_CFLAGS"
   9207 
   9208 		eval supported=\$$cacheid
   9209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9210 $as_echo "$supported" >&6; }
   9211 		if test "$supported" = "yes" ; then
   9212 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9213 			found="yes"
   9214 		fi
   9215 	fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 xorg_testset_save_CFLAGS="$CFLAGS"
   9232 
   9233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9236 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9237 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 _ACEOF
   9244 if ac_fn_c_try_compile "$LINENO"; then :
   9245   xorg_cv_cc_flag_unknown_warning_option=yes
   9246 else
   9247   xorg_cv_cc_flag_unknown_warning_option=no
   9248 fi
   9249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9250 fi
   9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9252 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9254 	CFLAGS="$xorg_testset_save_CFLAGS"
   9255 fi
   9256 
   9257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9260 	fi
   9261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9263 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9264 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9265   $as_echo_n "(cached) " >&6
   9266 else
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 _ACEOF
   9271 if ac_fn_c_try_compile "$LINENO"; then :
   9272   xorg_cv_cc_flag_unused_command_line_argument=yes
   9273 else
   9274   xorg_cv_cc_flag_unused_command_line_argument=no
   9275 fi
   9276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9277 fi
   9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9279 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9280 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9281 	CFLAGS="$xorg_testset_save_CFLAGS"
   9282 fi
   9283 
   9284 found="no"
   9285 
   9286 	if test $found = "no" ; then
   9287 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9288 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9289 		fi
   9290 
   9291 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9292 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9293 		fi
   9294 
   9295 		CFLAGS="$CFLAGS -Winit-self"
   9296 
   9297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9298 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9299 		cacheid=xorg_cv_cc_flag__Winit_self
   9300 		if eval \${$cacheid+:} false; then :
   9301   $as_echo_n "(cached) " >&6
   9302 else
   9303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9304 /* end confdefs.h.  */
   9305 int i;
   9306 int
   9307 main ()
   9308 {
   9309 
   9310   ;
   9311   return 0;
   9312 }
   9313 _ACEOF
   9314 if ac_fn_c_try_link "$LINENO"; then :
   9315   eval $cacheid=yes
   9316 else
   9317   eval $cacheid=no
   9318 fi
   9319 rm -f core conftest.err conftest.$ac_objext \
   9320     conftest$ac_exeext conftest.$ac_ext
   9321 fi
   9322 
   9323 
   9324 		CFLAGS="$xorg_testset_save_CFLAGS"
   9325 
   9326 		eval supported=\$$cacheid
   9327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9328 $as_echo "$supported" >&6; }
   9329 		if test "$supported" = "yes" ; then
   9330 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9331 			found="yes"
   9332 		fi
   9333 	fi
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 xorg_testset_save_CFLAGS="$CFLAGS"
   9350 
   9351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9354 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9355 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 _ACEOF
   9362 if ac_fn_c_try_compile "$LINENO"; then :
   9363   xorg_cv_cc_flag_unknown_warning_option=yes
   9364 else
   9365   xorg_cv_cc_flag_unknown_warning_option=no
   9366 fi
   9367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9368 fi
   9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9370 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9371 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9372 	CFLAGS="$xorg_testset_save_CFLAGS"
   9373 fi
   9374 
   9375 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9376 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9377 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9378 	fi
   9379 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9381 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9382 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9383   $as_echo_n "(cached) " >&6
   9384 else
   9385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9386 /* end confdefs.h.  */
   9387 int i;
   9388 _ACEOF
   9389 if ac_fn_c_try_compile "$LINENO"; then :
   9390   xorg_cv_cc_flag_unused_command_line_argument=yes
   9391 else
   9392   xorg_cv_cc_flag_unused_command_line_argument=no
   9393 fi
   9394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9395 fi
   9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9397 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9399 	CFLAGS="$xorg_testset_save_CFLAGS"
   9400 fi
   9401 
   9402 found="no"
   9403 
   9404 	if test $found = "no" ; then
   9405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9407 		fi
   9408 
   9409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9411 		fi
   9412 
   9413 		CFLAGS="$CFLAGS -Wmain"
   9414 
   9415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9416 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9417 		cacheid=xorg_cv_cc_flag__Wmain
   9418 		if eval \${$cacheid+:} false; then :
   9419   $as_echo_n "(cached) " >&6
   9420 else
   9421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9422 /* end confdefs.h.  */
   9423 int i;
   9424 int
   9425 main ()
   9426 {
   9427 
   9428   ;
   9429   return 0;
   9430 }
   9431 _ACEOF
   9432 if ac_fn_c_try_link "$LINENO"; then :
   9433   eval $cacheid=yes
   9434 else
   9435   eval $cacheid=no
   9436 fi
   9437 rm -f core conftest.err conftest.$ac_objext \
   9438     conftest$ac_exeext conftest.$ac_ext
   9439 fi
   9440 
   9441 
   9442 		CFLAGS="$xorg_testset_save_CFLAGS"
   9443 
   9444 		eval supported=\$$cacheid
   9445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9446 $as_echo "$supported" >&6; }
   9447 		if test "$supported" = "yes" ; then
   9448 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9449 			found="yes"
   9450 		fi
   9451 	fi
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 xorg_testset_save_CFLAGS="$CFLAGS"
   9468 
   9469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 _ACEOF
   9480 if ac_fn_c_try_compile "$LINENO"; then :
   9481   xorg_cv_cc_flag_unknown_warning_option=yes
   9482 else
   9483   xorg_cv_cc_flag_unknown_warning_option=no
   9484 fi
   9485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9486 fi
   9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9490 	CFLAGS="$xorg_testset_save_CFLAGS"
   9491 fi
   9492 
   9493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9496 	fi
   9497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9501   $as_echo_n "(cached) " >&6
   9502 else
   9503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9504 /* end confdefs.h.  */
   9505 int i;
   9506 _ACEOF
   9507 if ac_fn_c_try_compile "$LINENO"; then :
   9508   xorg_cv_cc_flag_unused_command_line_argument=yes
   9509 else
   9510   xorg_cv_cc_flag_unused_command_line_argument=no
   9511 fi
   9512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9513 fi
   9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9517 	CFLAGS="$xorg_testset_save_CFLAGS"
   9518 fi
   9519 
   9520 found="no"
   9521 
   9522 	if test $found = "no" ; then
   9523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9525 		fi
   9526 
   9527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9529 		fi
   9530 
   9531 		CFLAGS="$CFLAGS -Wmissing-braces"
   9532 
   9533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9534 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9535 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9536 		if eval \${$cacheid+:} false; then :
   9537   $as_echo_n "(cached) " >&6
   9538 else
   9539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9540 /* end confdefs.h.  */
   9541 int i;
   9542 int
   9543 main ()
   9544 {
   9545 
   9546   ;
   9547   return 0;
   9548 }
   9549 _ACEOF
   9550 if ac_fn_c_try_link "$LINENO"; then :
   9551   eval $cacheid=yes
   9552 else
   9553   eval $cacheid=no
   9554 fi
   9555 rm -f core conftest.err conftest.$ac_objext \
   9556     conftest$ac_exeext conftest.$ac_ext
   9557 fi
   9558 
   9559 
   9560 		CFLAGS="$xorg_testset_save_CFLAGS"
   9561 
   9562 		eval supported=\$$cacheid
   9563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9564 $as_echo "$supported" >&6; }
   9565 		if test "$supported" = "yes" ; then
   9566 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9567 			found="yes"
   9568 		fi
   9569 	fi
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 xorg_testset_save_CFLAGS="$CFLAGS"
   9586 
   9587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9590 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9591 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 _ACEOF
   9598 if ac_fn_c_try_compile "$LINENO"; then :
   9599   xorg_cv_cc_flag_unknown_warning_option=yes
   9600 else
   9601   xorg_cv_cc_flag_unknown_warning_option=no
   9602 fi
   9603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9604 fi
   9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9606 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9608 	CFLAGS="$xorg_testset_save_CFLAGS"
   9609 fi
   9610 
   9611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9614 	fi
   9615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9617 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9618 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9619   $as_echo_n "(cached) " >&6
   9620 else
   9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9622 /* end confdefs.h.  */
   9623 int i;
   9624 _ACEOF
   9625 if ac_fn_c_try_compile "$LINENO"; then :
   9626   xorg_cv_cc_flag_unused_command_line_argument=yes
   9627 else
   9628   xorg_cv_cc_flag_unused_command_line_argument=no
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9631 fi
   9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9633 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 found="no"
   9639 
   9640 	if test $found = "no" ; then
   9641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 		fi
   9644 
   9645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9647 		fi
   9648 
   9649 		CFLAGS="$CFLAGS -Wsequence-point"
   9650 
   9651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9652 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9653 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9654 		if eval \${$cacheid+:} false; then :
   9655   $as_echo_n "(cached) " >&6
   9656 else
   9657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9658 /* end confdefs.h.  */
   9659 int i;
   9660 int
   9661 main ()
   9662 {
   9663 
   9664   ;
   9665   return 0;
   9666 }
   9667 _ACEOF
   9668 if ac_fn_c_try_link "$LINENO"; then :
   9669   eval $cacheid=yes
   9670 else
   9671   eval $cacheid=no
   9672 fi
   9673 rm -f core conftest.err conftest.$ac_objext \
   9674     conftest$ac_exeext conftest.$ac_ext
   9675 fi
   9676 
   9677 
   9678 		CFLAGS="$xorg_testset_save_CFLAGS"
   9679 
   9680 		eval supported=\$$cacheid
   9681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9682 $as_echo "$supported" >&6; }
   9683 		if test "$supported" = "yes" ; then
   9684 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9685 			found="yes"
   9686 		fi
   9687 	fi
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 xorg_testset_save_CFLAGS="$CFLAGS"
   9704 
   9705 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9706 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9708 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9709 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9710   $as_echo_n "(cached) " >&6
   9711 else
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 _ACEOF
   9716 if ac_fn_c_try_compile "$LINENO"; then :
   9717   xorg_cv_cc_flag_unknown_warning_option=yes
   9718 else
   9719   xorg_cv_cc_flag_unknown_warning_option=no
   9720 fi
   9721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9722 fi
   9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9724 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9726 	CFLAGS="$xorg_testset_save_CFLAGS"
   9727 fi
   9728 
   9729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9732 	fi
   9733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9735 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9736 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9737   $as_echo_n "(cached) " >&6
   9738 else
   9739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9740 /* end confdefs.h.  */
   9741 int i;
   9742 _ACEOF
   9743 if ac_fn_c_try_compile "$LINENO"; then :
   9744   xorg_cv_cc_flag_unused_command_line_argument=yes
   9745 else
   9746   xorg_cv_cc_flag_unused_command_line_argument=no
   9747 fi
   9748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9749 fi
   9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9751 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9753 	CFLAGS="$xorg_testset_save_CFLAGS"
   9754 fi
   9755 
   9756 found="no"
   9757 
   9758 	if test $found = "no" ; then
   9759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 		fi
   9762 
   9763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9765 		fi
   9766 
   9767 		CFLAGS="$CFLAGS -Wreturn-type"
   9768 
   9769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9770 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9771 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9772 		if eval \${$cacheid+:} false; then :
   9773   $as_echo_n "(cached) " >&6
   9774 else
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 int
   9779 main ()
   9780 {
   9781 
   9782   ;
   9783   return 0;
   9784 }
   9785 _ACEOF
   9786 if ac_fn_c_try_link "$LINENO"; then :
   9787   eval $cacheid=yes
   9788 else
   9789   eval $cacheid=no
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext \
   9792     conftest$ac_exeext conftest.$ac_ext
   9793 fi
   9794 
   9795 
   9796 		CFLAGS="$xorg_testset_save_CFLAGS"
   9797 
   9798 		eval supported=\$$cacheid
   9799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9800 $as_echo "$supported" >&6; }
   9801 		if test "$supported" = "yes" ; then
   9802 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9803 			found="yes"
   9804 		fi
   9805 	fi
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 xorg_testset_save_CFLAGS="$CFLAGS"
   9822 
   9823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9826 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9827 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9828   $as_echo_n "(cached) " >&6
   9829 else
   9830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 int i;
   9833 _ACEOF
   9834 if ac_fn_c_try_compile "$LINENO"; then :
   9835   xorg_cv_cc_flag_unknown_warning_option=yes
   9836 else
   9837   xorg_cv_cc_flag_unknown_warning_option=no
   9838 fi
   9839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9840 fi
   9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9842 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9844 	CFLAGS="$xorg_testset_save_CFLAGS"
   9845 fi
   9846 
   9847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9850 	fi
   9851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9853 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9854 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9855   $as_echo_n "(cached) " >&6
   9856 else
   9857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9858 /* end confdefs.h.  */
   9859 int i;
   9860 _ACEOF
   9861 if ac_fn_c_try_compile "$LINENO"; then :
   9862   xorg_cv_cc_flag_unused_command_line_argument=yes
   9863 else
   9864   xorg_cv_cc_flag_unused_command_line_argument=no
   9865 fi
   9866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9867 fi
   9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9869 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9871 	CFLAGS="$xorg_testset_save_CFLAGS"
   9872 fi
   9873 
   9874 found="no"
   9875 
   9876 	if test $found = "no" ; then
   9877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9879 		fi
   9880 
   9881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9883 		fi
   9884 
   9885 		CFLAGS="$CFLAGS -Wtrigraphs"
   9886 
   9887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9888 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9889 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9890 		if eval \${$cacheid+:} false; then :
   9891   $as_echo_n "(cached) " >&6
   9892 else
   9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int i;
   9896 int
   9897 main ()
   9898 {
   9899 
   9900   ;
   9901   return 0;
   9902 }
   9903 _ACEOF
   9904 if ac_fn_c_try_link "$LINENO"; then :
   9905   eval $cacheid=yes
   9906 else
   9907   eval $cacheid=no
   9908 fi
   9909 rm -f core conftest.err conftest.$ac_objext \
   9910     conftest$ac_exeext conftest.$ac_ext
   9911 fi
   9912 
   9913 
   9914 		CFLAGS="$xorg_testset_save_CFLAGS"
   9915 
   9916 		eval supported=\$$cacheid
   9917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9918 $as_echo "$supported" >&6; }
   9919 		if test "$supported" = "yes" ; then
   9920 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9921 			found="yes"
   9922 		fi
   9923 	fi
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 xorg_testset_save_CFLAGS="$CFLAGS"
   9940 
   9941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 _ACEOF
   9952 if ac_fn_c_try_compile "$LINENO"; then :
   9953   xorg_cv_cc_flag_unknown_warning_option=yes
   9954 else
   9955   xorg_cv_cc_flag_unknown_warning_option=no
   9956 fi
   9957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9958 fi
   9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9962 	CFLAGS="$xorg_testset_save_CFLAGS"
   9963 fi
   9964 
   9965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9968 	fi
   9969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9973   $as_echo_n "(cached) " >&6
   9974 else
   9975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9976 /* end confdefs.h.  */
   9977 int i;
   9978 _ACEOF
   9979 if ac_fn_c_try_compile "$LINENO"; then :
   9980   xorg_cv_cc_flag_unused_command_line_argument=yes
   9981 else
   9982   xorg_cv_cc_flag_unused_command_line_argument=no
   9983 fi
   9984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9985 fi
   9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9989 	CFLAGS="$xorg_testset_save_CFLAGS"
   9990 fi
   9991 
   9992 found="no"
   9993 
   9994 	if test $found = "no" ; then
   9995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9997 		fi
   9998 
   9999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10001 		fi
   10002 
   10003 		CFLAGS="$CFLAGS -Warray-bounds"
   10004 
   10005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10006 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   10007 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10008 		if eval \${$cacheid+:} false; then :
   10009   $as_echo_n "(cached) " >&6
   10010 else
   10011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10012 /* end confdefs.h.  */
   10013 int i;
   10014 int
   10015 main ()
   10016 {
   10017 
   10018   ;
   10019   return 0;
   10020 }
   10021 _ACEOF
   10022 if ac_fn_c_try_link "$LINENO"; then :
   10023   eval $cacheid=yes
   10024 else
   10025   eval $cacheid=no
   10026 fi
   10027 rm -f core conftest.err conftest.$ac_objext \
   10028     conftest$ac_exeext conftest.$ac_ext
   10029 fi
   10030 
   10031 
   10032 		CFLAGS="$xorg_testset_save_CFLAGS"
   10033 
   10034 		eval supported=\$$cacheid
   10035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10036 $as_echo "$supported" >&6; }
   10037 		if test "$supported" = "yes" ; then
   10038 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10039 			found="yes"
   10040 		fi
   10041 	fi
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 xorg_testset_save_CFLAGS="$CFLAGS"
   10058 
   10059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10064   $as_echo_n "(cached) " >&6
   10065 else
   10066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10067 /* end confdefs.h.  */
   10068 int i;
   10069 _ACEOF
   10070 if ac_fn_c_try_compile "$LINENO"; then :
   10071   xorg_cv_cc_flag_unknown_warning_option=yes
   10072 else
   10073   xorg_cv_cc_flag_unknown_warning_option=no
   10074 fi
   10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10076 fi
   10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10080 	CFLAGS="$xorg_testset_save_CFLAGS"
   10081 fi
   10082 
   10083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10086 	fi
   10087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10091   $as_echo_n "(cached) " >&6
   10092 else
   10093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10094 /* end confdefs.h.  */
   10095 int i;
   10096 _ACEOF
   10097 if ac_fn_c_try_compile "$LINENO"; then :
   10098   xorg_cv_cc_flag_unused_command_line_argument=yes
   10099 else
   10100   xorg_cv_cc_flag_unused_command_line_argument=no
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10103 fi
   10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10107 	CFLAGS="$xorg_testset_save_CFLAGS"
   10108 fi
   10109 
   10110 found="no"
   10111 
   10112 	if test $found = "no" ; then
   10113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10115 		fi
   10116 
   10117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10119 		fi
   10120 
   10121 		CFLAGS="$CFLAGS -Wwrite-strings"
   10122 
   10123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10124 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   10125 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10126 		if eval \${$cacheid+:} false; then :
   10127   $as_echo_n "(cached) " >&6
   10128 else
   10129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10130 /* end confdefs.h.  */
   10131 int i;
   10132 int
   10133 main ()
   10134 {
   10135 
   10136   ;
   10137   return 0;
   10138 }
   10139 _ACEOF
   10140 if ac_fn_c_try_link "$LINENO"; then :
   10141   eval $cacheid=yes
   10142 else
   10143   eval $cacheid=no
   10144 fi
   10145 rm -f core conftest.err conftest.$ac_objext \
   10146     conftest$ac_exeext conftest.$ac_ext
   10147 fi
   10148 
   10149 
   10150 		CFLAGS="$xorg_testset_save_CFLAGS"
   10151 
   10152 		eval supported=\$$cacheid
   10153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10154 $as_echo "$supported" >&6; }
   10155 		if test "$supported" = "yes" ; then
   10156 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10157 			found="yes"
   10158 		fi
   10159 	fi
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 xorg_testset_save_CFLAGS="$CFLAGS"
   10176 
   10177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10182   $as_echo_n "(cached) " >&6
   10183 else
   10184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10185 /* end confdefs.h.  */
   10186 int i;
   10187 _ACEOF
   10188 if ac_fn_c_try_compile "$LINENO"; then :
   10189   xorg_cv_cc_flag_unknown_warning_option=yes
   10190 else
   10191   xorg_cv_cc_flag_unknown_warning_option=no
   10192 fi
   10193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10194 fi
   10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10198 	CFLAGS="$xorg_testset_save_CFLAGS"
   10199 fi
   10200 
   10201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10204 	fi
   10205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10209   $as_echo_n "(cached) " >&6
   10210 else
   10211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10212 /* end confdefs.h.  */
   10213 int i;
   10214 _ACEOF
   10215 if ac_fn_c_try_compile "$LINENO"; then :
   10216   xorg_cv_cc_flag_unused_command_line_argument=yes
   10217 else
   10218   xorg_cv_cc_flag_unused_command_line_argument=no
   10219 fi
   10220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10221 fi
   10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10225 	CFLAGS="$xorg_testset_save_CFLAGS"
   10226 fi
   10227 
   10228 found="no"
   10229 
   10230 	if test $found = "no" ; then
   10231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10233 		fi
   10234 
   10235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10237 		fi
   10238 
   10239 		CFLAGS="$CFLAGS -Waddress"
   10240 
   10241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10242 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10243 		cacheid=xorg_cv_cc_flag__Waddress
   10244 		if eval \${$cacheid+:} false; then :
   10245   $as_echo_n "(cached) " >&6
   10246 else
   10247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10248 /* end confdefs.h.  */
   10249 int i;
   10250 int
   10251 main ()
   10252 {
   10253 
   10254   ;
   10255   return 0;
   10256 }
   10257 _ACEOF
   10258 if ac_fn_c_try_link "$LINENO"; then :
   10259   eval $cacheid=yes
   10260 else
   10261   eval $cacheid=no
   10262 fi
   10263 rm -f core conftest.err conftest.$ac_objext \
   10264     conftest$ac_exeext conftest.$ac_ext
   10265 fi
   10266 
   10267 
   10268 		CFLAGS="$xorg_testset_save_CFLAGS"
   10269 
   10270 		eval supported=\$$cacheid
   10271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10272 $as_echo "$supported" >&6; }
   10273 		if test "$supported" = "yes" ; then
   10274 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10275 			found="yes"
   10276 		fi
   10277 	fi
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 xorg_testset_save_CFLAGS="$CFLAGS"
   10294 
   10295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10300   $as_echo_n "(cached) " >&6
   10301 else
   10302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10303 /* end confdefs.h.  */
   10304 int i;
   10305 _ACEOF
   10306 if ac_fn_c_try_compile "$LINENO"; then :
   10307   xorg_cv_cc_flag_unknown_warning_option=yes
   10308 else
   10309   xorg_cv_cc_flag_unknown_warning_option=no
   10310 fi
   10311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10312 fi
   10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10316 	CFLAGS="$xorg_testset_save_CFLAGS"
   10317 fi
   10318 
   10319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10322 	fi
   10323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10327   $as_echo_n "(cached) " >&6
   10328 else
   10329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10330 /* end confdefs.h.  */
   10331 int i;
   10332 _ACEOF
   10333 if ac_fn_c_try_compile "$LINENO"; then :
   10334   xorg_cv_cc_flag_unused_command_line_argument=yes
   10335 else
   10336   xorg_cv_cc_flag_unused_command_line_argument=no
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10339 fi
   10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10343 	CFLAGS="$xorg_testset_save_CFLAGS"
   10344 fi
   10345 
   10346 found="no"
   10347 
   10348 	if test $found = "no" ; then
   10349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10351 		fi
   10352 
   10353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10355 		fi
   10356 
   10357 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10358 
   10359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10360 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10361 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10362 		if eval \${$cacheid+:} false; then :
   10363   $as_echo_n "(cached) " >&6
   10364 else
   10365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10366 /* end confdefs.h.  */
   10367 int i;
   10368 int
   10369 main ()
   10370 {
   10371 
   10372   ;
   10373   return 0;
   10374 }
   10375 _ACEOF
   10376 if ac_fn_c_try_link "$LINENO"; then :
   10377   eval $cacheid=yes
   10378 else
   10379   eval $cacheid=no
   10380 fi
   10381 rm -f core conftest.err conftest.$ac_objext \
   10382     conftest$ac_exeext conftest.$ac_ext
   10383 fi
   10384 
   10385 
   10386 		CFLAGS="$xorg_testset_save_CFLAGS"
   10387 
   10388 		eval supported=\$$cacheid
   10389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10390 $as_echo "$supported" >&6; }
   10391 		if test "$supported" = "yes" ; then
   10392 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10393 			found="yes"
   10394 		fi
   10395 	fi
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 xorg_testset_save_CFLAGS="$CFLAGS"
   10412 
   10413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10418   $as_echo_n "(cached) " >&6
   10419 else
   10420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10421 /* end confdefs.h.  */
   10422 int i;
   10423 _ACEOF
   10424 if ac_fn_c_try_compile "$LINENO"; then :
   10425   xorg_cv_cc_flag_unknown_warning_option=yes
   10426 else
   10427   xorg_cv_cc_flag_unknown_warning_option=no
   10428 fi
   10429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10430 fi
   10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10434 	CFLAGS="$xorg_testset_save_CFLAGS"
   10435 fi
   10436 
   10437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10440 	fi
   10441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10445   $as_echo_n "(cached) " >&6
   10446 else
   10447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10448 /* end confdefs.h.  */
   10449 int i;
   10450 _ACEOF
   10451 if ac_fn_c_try_compile "$LINENO"; then :
   10452   xorg_cv_cc_flag_unused_command_line_argument=yes
   10453 else
   10454   xorg_cv_cc_flag_unused_command_line_argument=no
   10455 fi
   10456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10457 fi
   10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10461 	CFLAGS="$xorg_testset_save_CFLAGS"
   10462 fi
   10463 
   10464 found="no"
   10465 
   10466 	if test $found = "no" ; then
   10467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10469 		fi
   10470 
   10471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10473 		fi
   10474 
   10475 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10476 
   10477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10478 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10479 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10480 		if eval \${$cacheid+:} false; then :
   10481   $as_echo_n "(cached) " >&6
   10482 else
   10483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10484 /* end confdefs.h.  */
   10485 int i;
   10486 int
   10487 main ()
   10488 {
   10489 
   10490   ;
   10491   return 0;
   10492 }
   10493 _ACEOF
   10494 if ac_fn_c_try_link "$LINENO"; then :
   10495   eval $cacheid=yes
   10496 else
   10497   eval $cacheid=no
   10498 fi
   10499 rm -f core conftest.err conftest.$ac_objext \
   10500     conftest$ac_exeext conftest.$ac_ext
   10501 fi
   10502 
   10503 
   10504 		CFLAGS="$xorg_testset_save_CFLAGS"
   10505 
   10506 		eval supported=\$$cacheid
   10507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10508 $as_echo "$supported" >&6; }
   10509 		if test "$supported" = "yes" ; then
   10510 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10511 			found="yes"
   10512 		fi
   10513 	fi
   10514 
   10515 
   10516 fi
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 		CWARNFLAGS="$BASE_CFLAGS"
   10525 		if  test "x$GCC" = xyes ; then
   10526 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10527 		fi
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 # Check whether --enable-strict-compilation was given.
   10537 if test "${enable_strict_compilation+set}" = set; then :
   10538   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10539 else
   10540   STRICT_COMPILE=no
   10541 fi
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 STRICT_CFLAGS=""
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 xorg_testset_save_CFLAGS="$CFLAGS"
   10563 
   10564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10569   $as_echo_n "(cached) " >&6
   10570 else
   10571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10572 /* end confdefs.h.  */
   10573 int i;
   10574 _ACEOF
   10575 if ac_fn_c_try_compile "$LINENO"; then :
   10576   xorg_cv_cc_flag_unknown_warning_option=yes
   10577 else
   10578   xorg_cv_cc_flag_unknown_warning_option=no
   10579 fi
   10580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10581 fi
   10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10585 	CFLAGS="$xorg_testset_save_CFLAGS"
   10586 fi
   10587 
   10588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10591 	fi
   10592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   10602 if ac_fn_c_try_compile "$LINENO"; then :
   10603   xorg_cv_cc_flag_unused_command_line_argument=yes
   10604 else
   10605   xorg_cv_cc_flag_unused_command_line_argument=no
   10606 fi
   10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10608 fi
   10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10612 	CFLAGS="$xorg_testset_save_CFLAGS"
   10613 fi
   10614 
   10615 found="no"
   10616 
   10617 	if test $found = "no" ; then
   10618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10620 		fi
   10621 
   10622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10624 		fi
   10625 
   10626 		CFLAGS="$CFLAGS -pedantic"
   10627 
   10628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10629 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10630 		cacheid=xorg_cv_cc_flag__pedantic
   10631 		if eval \${$cacheid+:} false; then :
   10632   $as_echo_n "(cached) " >&6
   10633 else
   10634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10635 /* end confdefs.h.  */
   10636 int i;
   10637 int
   10638 main ()
   10639 {
   10640 
   10641   ;
   10642   return 0;
   10643 }
   10644 _ACEOF
   10645 if ac_fn_c_try_link "$LINENO"; then :
   10646   eval $cacheid=yes
   10647 else
   10648   eval $cacheid=no
   10649 fi
   10650 rm -f core conftest.err conftest.$ac_objext \
   10651     conftest$ac_exeext conftest.$ac_ext
   10652 fi
   10653 
   10654 
   10655 		CFLAGS="$xorg_testset_save_CFLAGS"
   10656 
   10657 		eval supported=\$$cacheid
   10658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10659 $as_echo "$supported" >&6; }
   10660 		if test "$supported" = "yes" ; then
   10661 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10662 			found="yes"
   10663 		fi
   10664 	fi
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 xorg_testset_save_CFLAGS="$CFLAGS"
   10681 
   10682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10687   $as_echo_n "(cached) " >&6
   10688 else
   10689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10690 /* end confdefs.h.  */
   10691 int i;
   10692 _ACEOF
   10693 if ac_fn_c_try_compile "$LINENO"; then :
   10694   xorg_cv_cc_flag_unknown_warning_option=yes
   10695 else
   10696   xorg_cv_cc_flag_unknown_warning_option=no
   10697 fi
   10698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10699 fi
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10703 	CFLAGS="$xorg_testset_save_CFLAGS"
   10704 fi
   10705 
   10706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10709 	fi
   10710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10714   $as_echo_n "(cached) " >&6
   10715 else
   10716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 int i;
   10719 _ACEOF
   10720 if ac_fn_c_try_compile "$LINENO"; then :
   10721   xorg_cv_cc_flag_unused_command_line_argument=yes
   10722 else
   10723   xorg_cv_cc_flag_unused_command_line_argument=no
   10724 fi
   10725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10726 fi
   10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10730 	CFLAGS="$xorg_testset_save_CFLAGS"
   10731 fi
   10732 
   10733 found="no"
   10734 
   10735 	if test $found = "no" ; then
   10736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10738 		fi
   10739 
   10740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10742 		fi
   10743 
   10744 		CFLAGS="$CFLAGS -Werror"
   10745 
   10746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10747 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10748 		cacheid=xorg_cv_cc_flag__Werror
   10749 		if eval \${$cacheid+:} false; then :
   10750   $as_echo_n "(cached) " >&6
   10751 else
   10752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10753 /* end confdefs.h.  */
   10754 int i;
   10755 int
   10756 main ()
   10757 {
   10758 
   10759   ;
   10760   return 0;
   10761 }
   10762 _ACEOF
   10763 if ac_fn_c_try_link "$LINENO"; then :
   10764   eval $cacheid=yes
   10765 else
   10766   eval $cacheid=no
   10767 fi
   10768 rm -f core conftest.err conftest.$ac_objext \
   10769     conftest$ac_exeext conftest.$ac_ext
   10770 fi
   10771 
   10772 
   10773 		CFLAGS="$xorg_testset_save_CFLAGS"
   10774 
   10775 		eval supported=\$$cacheid
   10776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10777 $as_echo "$supported" >&6; }
   10778 		if test "$supported" = "yes" ; then
   10779 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10780 			found="yes"
   10781 		fi
   10782 	fi
   10783 
   10784 	if test $found = "no" ; then
   10785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10787 		fi
   10788 
   10789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10791 		fi
   10792 
   10793 		CFLAGS="$CFLAGS -errwarn"
   10794 
   10795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10796 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10797 		cacheid=xorg_cv_cc_flag__errwarn
   10798 		if eval \${$cacheid+:} false; then :
   10799   $as_echo_n "(cached) " >&6
   10800 else
   10801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10802 /* end confdefs.h.  */
   10803 int i;
   10804 int
   10805 main ()
   10806 {
   10807 
   10808   ;
   10809   return 0;
   10810 }
   10811 _ACEOF
   10812 if ac_fn_c_try_link "$LINENO"; then :
   10813   eval $cacheid=yes
   10814 else
   10815   eval $cacheid=no
   10816 fi
   10817 rm -f core conftest.err conftest.$ac_objext \
   10818     conftest$ac_exeext conftest.$ac_ext
   10819 fi
   10820 
   10821 
   10822 		CFLAGS="$xorg_testset_save_CFLAGS"
   10823 
   10824 		eval supported=\$$cacheid
   10825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10826 $as_echo "$supported" >&6; }
   10827 		if test "$supported" = "yes" ; then
   10828 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10829 			found="yes"
   10830 		fi
   10831 	fi
   10832 
   10833 
   10834 
   10835 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10836 # activate it with -Werror, so we add it here explicitly.
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 xorg_testset_save_CFLAGS="$CFLAGS"
   10851 
   10852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10855 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10856 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10857   $as_echo_n "(cached) " >&6
   10858 else
   10859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10860 /* end confdefs.h.  */
   10861 int i;
   10862 _ACEOF
   10863 if ac_fn_c_try_compile "$LINENO"; then :
   10864   xorg_cv_cc_flag_unknown_warning_option=yes
   10865 else
   10866   xorg_cv_cc_flag_unknown_warning_option=no
   10867 fi
   10868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10869 fi
   10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10871 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10873 	CFLAGS="$xorg_testset_save_CFLAGS"
   10874 fi
   10875 
   10876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10879 	fi
   10880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10882 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10883 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10884   $as_echo_n "(cached) " >&6
   10885 else
   10886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10887 /* end confdefs.h.  */
   10888 int i;
   10889 _ACEOF
   10890 if ac_fn_c_try_compile "$LINENO"; then :
   10891   xorg_cv_cc_flag_unused_command_line_argument=yes
   10892 else
   10893   xorg_cv_cc_flag_unused_command_line_argument=no
   10894 fi
   10895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10896 fi
   10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10898 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10900 	CFLAGS="$xorg_testset_save_CFLAGS"
   10901 fi
   10902 
   10903 found="no"
   10904 
   10905 	if test $found = "no" ; then
   10906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10908 		fi
   10909 
   10910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10912 		fi
   10913 
   10914 		CFLAGS="$CFLAGS -Werror=attributes"
   10915 
   10916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10917 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10918 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10919 		if eval \${$cacheid+:} false; then :
   10920   $as_echo_n "(cached) " >&6
   10921 else
   10922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10923 /* end confdefs.h.  */
   10924 int i;
   10925 int
   10926 main ()
   10927 {
   10928 
   10929   ;
   10930   return 0;
   10931 }
   10932 _ACEOF
   10933 if ac_fn_c_try_link "$LINENO"; then :
   10934   eval $cacheid=yes
   10935 else
   10936   eval $cacheid=no
   10937 fi
   10938 rm -f core conftest.err conftest.$ac_objext \
   10939     conftest$ac_exeext conftest.$ac_ext
   10940 fi
   10941 
   10942 
   10943 		CFLAGS="$xorg_testset_save_CFLAGS"
   10944 
   10945 		eval supported=\$$cacheid
   10946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10947 $as_echo "$supported" >&6; }
   10948 		if test "$supported" = "yes" ; then
   10949 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10950 			found="yes"
   10951 		fi
   10952 	fi
   10953 
   10954 
   10955 
   10956 if test "x$STRICT_COMPILE" = "xyes"; then
   10957     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10958     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10959 fi
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 cat >>confdefs.h <<_ACEOF
   10967 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10968 _ACEOF
   10969 
   10970 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10971 	if test "x$PVM" = "x"; then
   10972 		PVM="0"
   10973 	fi
   10974 
   10975 cat >>confdefs.h <<_ACEOF
   10976 #define PACKAGE_VERSION_MINOR $PVM
   10977 _ACEOF
   10978 
   10979 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10980 	if test "x$PVP" = "x"; then
   10981 		PVP="0"
   10982 	fi
   10983 
   10984 cat >>confdefs.h <<_ACEOF
   10985 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10986 _ACEOF
   10987 
   10988 
   10989 
   10990 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10991 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10992 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10993 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10994 
   10995 
   10996 
   10997 
   10998 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10999 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11000 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11001 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   11002 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 if test x$APP_MAN_SUFFIX = x    ; then
   11010     APP_MAN_SUFFIX=1
   11011 fi
   11012 if test x$APP_MAN_DIR = x    ; then
   11013     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11014 fi
   11015 
   11016 if test x$LIB_MAN_SUFFIX = x    ; then
   11017     LIB_MAN_SUFFIX=3
   11018 fi
   11019 if test x$LIB_MAN_DIR = x    ; then
   11020     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11021 fi
   11022 
   11023 if test x$FILE_MAN_SUFFIX = x    ; then
   11024     case $host_os in
   11025 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11026 	*)		FILE_MAN_SUFFIX=5  ;;
   11027     esac
   11028 fi
   11029 if test x$FILE_MAN_DIR = x    ; then
   11030     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11031 fi
   11032 
   11033 if test x$MISC_MAN_SUFFIX = x    ; then
   11034     case $host_os in
   11035 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11036 	*)		MISC_MAN_SUFFIX=7  ;;
   11037     esac
   11038 fi
   11039 if test x$MISC_MAN_DIR = x    ; then
   11040     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11041 fi
   11042 
   11043 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11044     case $host_os in
   11045 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11046 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11047     esac
   11048 fi
   11049 if test x$DRIVER_MAN_DIR = x    ; then
   11050     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11051 fi
   11052 
   11053 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11054     case $host_os in
   11055 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11056 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11057     esac
   11058 fi
   11059 if test x$ADMIN_MAN_DIR = x    ; then
   11060     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11061 fi
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 XORG_MAN_PAGE="X Version 11"
   11078 
   11079 MAN_SUBSTS="\
   11080 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11081 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11082 	-e 's|__xservername__|Xorg|g' \
   11083 	-e 's|__xconfigfile__|xorg.conf|g' \
   11084 	-e 's|__projectroot__|\$(prefix)|g' \
   11085 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11086 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11087 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11088 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11089 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11090 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11091 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11092 
   11093 
   11094 
   11095 # Check whether --enable-silent-rules was given.
   11096 if test "${enable_silent_rules+set}" = set; then :
   11097   enableval=$enable_silent_rules;
   11098 fi
   11099 
   11100 case $enable_silent_rules in # (((
   11101   yes) AM_DEFAULT_VERBOSITY=0;;
   11102    no) AM_DEFAULT_VERBOSITY=1;;
   11103     *) AM_DEFAULT_VERBOSITY=0;;
   11104 esac
   11105 am_make=${MAKE-make}
   11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11107 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   11108 if ${am_cv_make_support_nested_variables+:} false; then :
   11109   $as_echo_n "(cached) " >&6
   11110 else
   11111   if $as_echo 'TRUE=$(BAR$(V))
   11112 BAR0=false
   11113 BAR1=true
   11114 V=1
   11115 am__doit:
   11116 	@$(TRUE)
   11117 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11118   am_cv_make_support_nested_variables=yes
   11119 else
   11120   am_cv_make_support_nested_variables=no
   11121 fi
   11122 fi
   11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11124 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   11125 if test $am_cv_make_support_nested_variables = yes; then
   11126     AM_V='$(V)'
   11127   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11128 else
   11129   AM_V=$AM_DEFAULT_VERBOSITY
   11130   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11131 fi
   11132 AM_BACKSLASH='\'
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 # Check whether --with-lint was given.
   11141 if test "${with_lint+set}" = set; then :
   11142   withval=$with_lint; use_lint=$withval
   11143 else
   11144   use_lint=no
   11145 fi
   11146 
   11147 
   11148 # Obtain platform specific info like program name and options
   11149 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11150 case $host_os in
   11151   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11152 	lint_name=splint
   11153 	lint_options="-badflag"
   11154 	;;
   11155   *freebsd* | *netbsd*)
   11156 	lint_name=lint
   11157 	lint_options="-u -b"
   11158 	;;
   11159   *solaris*)
   11160 	lint_name=lint
   11161 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11162 	;;
   11163 esac
   11164 
   11165 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11166 if test "x$use_lint" = x"yes" ; then
   11167    # Extract the first word of "$lint_name", so it can be a program name with args.
   11168 set dummy $lint_name; ac_word=$2
   11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11170 $as_echo_n "checking for $ac_word... " >&6; }
   11171 if ${ac_cv_path_LINT+:} false; then :
   11172   $as_echo_n "(cached) " >&6
   11173 else
   11174   case $LINT in
   11175   [\\/]* | ?:[\\/]*)
   11176   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11177   ;;
   11178   *)
   11179   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11180 for as_dir in $PATH
   11181 do
   11182   IFS=$as_save_IFS
   11183   test -z "$as_dir" && as_dir=.
   11184     for ac_exec_ext in '' $ac_executable_extensions; do
   11185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11186     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11188     break 2
   11189   fi
   11190 done
   11191   done
   11192 IFS=$as_save_IFS
   11193 
   11194   ;;
   11195 esac
   11196 fi
   11197 LINT=$ac_cv_path_LINT
   11198 if test -n "$LINT"; then
   11199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11200 $as_echo "$LINT" >&6; }
   11201 else
   11202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11203 $as_echo "no" >&6; }
   11204 fi
   11205 
   11206 
   11207    if test "x$LINT" = "x"; then
   11208         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11209    fi
   11210 elif test "x$use_lint" = x"no" ; then
   11211    if test "x$LINT" != "x"; then
   11212       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11213 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11214    fi
   11215 else
   11216    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11217 fi
   11218 
   11219 # User supplied flags override default flags
   11220 if test "x$LINT_FLAGS" != "x"; then
   11221    lint_options=$LINT_FLAGS
   11222 fi
   11223 
   11224 LINT_FLAGS=$lint_options
   11225 
   11226  if test "x$LINT" != x; then
   11227   LINT_TRUE=
   11228   LINT_FALSE='#'
   11229 else
   11230   LINT_TRUE='#'
   11231   LINT_FALSE=
   11232 fi
   11233 
   11234 
   11235 
   11236 
   11237 # Checks for header files.
   11238 for ac_header in lastlog.h pwd.h utmp.h utmpx.h sys/param.h
   11239 do :
   11240   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11241 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11243   cat >>confdefs.h <<_ACEOF
   11244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11245 _ACEOF
   11246 
   11247 fi
   11248 
   11249 done
   11250 
   11251 
   11252 # Checks for typedefs, structures, and compiler characteristics.
   11253 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
   11254 	#include <sys/types.h>
   11255 	#include <utmp.h>
   11256 
   11257 "
   11258 if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then :
   11259 
   11260 cat >>confdefs.h <<_ACEOF
   11261 #define HAVE_STRUCT_UTMP_UT_HOST 1
   11262 _ACEOF
   11263 
   11264 
   11265 fi
   11266 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
   11267 	#include <sys/types.h>
   11268 	#include <utmp.h>
   11269 
   11270 "
   11271 if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
   11272 
   11273 cat >>confdefs.h <<_ACEOF
   11274 #define HAVE_STRUCT_UTMP_UT_ID 1
   11275 _ACEOF
   11276 
   11277 
   11278 fi
   11279 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
   11280 	#include <sys/types.h>
   11281 	#include <utmp.h>
   11282 
   11283 "
   11284 if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
   11285 
   11286 cat >>confdefs.h <<_ACEOF
   11287 #define HAVE_STRUCT_UTMP_UT_PID 1
   11288 _ACEOF
   11289 
   11290 
   11291 fi
   11292 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
   11293 	#include <sys/types.h>
   11294 	#include <utmp.h>
   11295 
   11296 "
   11297 if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
   11298 
   11299 cat >>confdefs.h <<_ACEOF
   11300 #define HAVE_STRUCT_UTMP_UT_TYPE 1
   11301 _ACEOF
   11302 
   11303 
   11304 fi
   11305 
   11306 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_syslen" "ac_cv_member_struct_utmpx_ut_syslen" "#include <utmpx.h>
   11307 "
   11308 if test "x$ac_cv_member_struct_utmpx_ut_syslen" = xyes; then :
   11309 
   11310 cat >>confdefs.h <<_ACEOF
   11311 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
   11312 _ACEOF
   11313 
   11314 
   11315 fi
   11316 
   11317 ac_fn_c_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" "
   11318 	#include <sys/types.h>
   11319 	#ifdef HAVE_UTMP_H
   11320 	#include <utmp.h>
   11321 	#endif
   11322 	#ifdef HAVE_LASTLOG_H
   11323 	#include <lastlog.h>
   11324 	#endif
   11325 
   11326 "
   11327 if test "x$ac_cv_type_struct_lastlog" = xyes; then :
   11328 
   11329 cat >>confdefs.h <<_ACEOF
   11330 #define HAVE_STRUCT_LASTLOG 1
   11331 _ACEOF
   11332 
   11333 
   11334 fi
   11335 
   11336 
   11337 # Checks for library functions.
   11338 for ac_func in pututline updwtmpx utmpxname
   11339 do :
   11340   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   11342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   11343   cat >>confdefs.h <<_ACEOF
   11344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11345 _ACEOF
   11346 
   11347 fi
   11348 done
   11349 
   11350 
   11351 # Obtain compiler/linker options for depedencies
   11352 
   11353 pkg_failed=no
   11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSREG" >&5
   11355 $as_echo_n "checking for SESSREG... " >&6; }
   11356 
   11357 if test -n "$SESSREG_CFLAGS"; then
   11358     pkg_cv_SESSREG_CFLAGS="$SESSREG_CFLAGS"
   11359  elif test -n "$PKG_CONFIG"; then
   11360     if test -n "$PKG_CONFIG" && \
   11361     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   11362   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   11363   ac_status=$?
   11364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11365   test $ac_status = 0; }; then
   11366   pkg_cv_SESSREG_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   11367 else
   11368   pkg_failed=yes
   11369 fi
   11370  else
   11371     pkg_failed=untried
   11372 fi
   11373 if test -n "$SESSREG_LIBS"; then
   11374     pkg_cv_SESSREG_LIBS="$SESSREG_LIBS"
   11375  elif test -n "$PKG_CONFIG"; then
   11376     if test -n "$PKG_CONFIG" && \
   11377     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   11378   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   11379   ac_status=$?
   11380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11381   test $ac_status = 0; }; then
   11382   pkg_cv_SESSREG_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/null`
   11383 else
   11384   pkg_failed=yes
   11385 fi
   11386  else
   11387     pkg_failed=untried
   11388 fi
   11389 
   11390 
   11391 
   11392 if test $pkg_failed = yes; then
   11393 
   11394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11395         _pkg_short_errors_supported=yes
   11396 else
   11397         _pkg_short_errors_supported=no
   11398 fi
   11399         if test $_pkg_short_errors_supported = yes; then
   11400 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.25" 2>&1`
   11401         else
   11402 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.25" 2>&1`
   11403         fi
   11404 	# Put the nasty error message in config.log where it belongs
   11405 	echo "$SESSREG_PKG_ERRORS" >&5
   11406 
   11407 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   11408 
   11409 $SESSREG_PKG_ERRORS
   11410 
   11411 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11412 installed software in a non-standard prefix.
   11413 
   11414 Alternatively, you may set the environment variables SESSREG_CFLAGS
   11415 and SESSREG_LIBS to avoid the need to call pkg-config.
   11416 See the pkg-config man page for more details.
   11417 " "$LINENO" 5
   11418 elif test $pkg_failed = untried; then
   11419 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11421 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11422 is in your PATH or set the PKG_CONFIG environment variable to the full
   11423 path to pkg-config.
   11424 
   11425 Alternatively, you may set the environment variables SESSREG_CFLAGS
   11426 and SESSREG_LIBS to avoid the need to call pkg-config.
   11427 See the pkg-config man page for more details.
   11428 
   11429 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11430 See \`config.log' for more details" "$LINENO" 5; }
   11431 else
   11432 	SESSREG_CFLAGS=$pkg_cv_SESSREG_CFLAGS
   11433 	SESSREG_LIBS=$pkg_cv_SESSREG_LIBS
   11434         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11435 $as_echo "yes" >&6; }
   11436 	:
   11437 fi
   11438 
   11439 ac_config_files="$ac_config_files Makefile man/Makefile"
   11440 
   11441 cat >confcache <<\_ACEOF
   11442 # This file is a shell script that caches the results of configure
   11443 # tests run on this system so they can be shared between configure
   11444 # scripts and configure runs, see configure's option --config-cache.
   11445 # It is not useful on other systems.  If it contains results you don't
   11446 # want to keep, you may remove or edit it.
   11447 #
   11448 # config.status only pays attention to the cache file if you give it
   11449 # the --recheck option to rerun configure.
   11450 #
   11451 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11453 # following values.
   11454 
   11455 _ACEOF
   11456 
   11457 # The following way of writing the cache mishandles newlines in values,
   11458 # but we know of no workaround that is simple, portable, and efficient.
   11459 # So, we kill variables containing newlines.
   11460 # Ultrix sh set writes to stderr and can't be redirected directly,
   11461 # and sets the high bit in the cache file unless we assign to the vars.
   11462 (
   11463   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11464     eval ac_val=\$$ac_var
   11465     case $ac_val in #(
   11466     *${as_nl}*)
   11467       case $ac_var in #(
   11468       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11469 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11470       esac
   11471       case $ac_var in #(
   11472       _ | IFS | as_nl) ;; #(
   11473       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11474       *) { eval $ac_var=; unset $ac_var;} ;;
   11475       esac ;;
   11476     esac
   11477   done
   11478 
   11479   (set) 2>&1 |
   11480     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11481     *${as_nl}ac_space=\ *)
   11482       # `set' does not quote correctly, so add quotes: double-quote
   11483       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11484       sed -n \
   11485 	"s/'/'\\\\''/g;
   11486 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11487       ;; #(
   11488     *)
   11489       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11490       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11491       ;;
   11492     esac |
   11493     sort
   11494 ) |
   11495   sed '
   11496      /^ac_cv_env_/b end
   11497      t clear
   11498      :clear
   11499      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11500      t end
   11501      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11502      :end' >>confcache
   11503 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11504   if test -w "$cache_file"; then
   11505     if test "x$cache_file" != "x/dev/null"; then
   11506       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11507 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11508       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11509 	cat confcache >"$cache_file"
   11510       else
   11511         case $cache_file in #(
   11512         */* | ?:*)
   11513 	  mv -f confcache "$cache_file"$$ &&
   11514 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11515         *)
   11516 	  mv -f confcache "$cache_file" ;;
   11517 	esac
   11518       fi
   11519     fi
   11520   else
   11521     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11522 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11523   fi
   11524 fi
   11525 rm -f confcache
   11526 
   11527 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11528 # Let make expand exec_prefix.
   11529 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11530 
   11531 DEFS=-DHAVE_CONFIG_H
   11532 
   11533 ac_libobjs=
   11534 ac_ltlibobjs=
   11535 U=
   11536 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11537   # 1. Remove the extension, and $U if already installed.
   11538   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11539   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11540   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11541   #    will be set to the directory where LIBOBJS objects are built.
   11542   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11543   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11544 done
   11545 LIBOBJS=$ac_libobjs
   11546 
   11547 LTLIBOBJS=$ac_ltlibobjs
   11548 
   11549 
   11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11551 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11552    if test -n "$am_sleep_pid"; then
   11553      # Hide warnings about reused PIDs.
   11554      wait $am_sleep_pid 2>/dev/null
   11555    fi
   11556    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11557 $as_echo "done" >&6; }
   11558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11559   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11561 fi
   11562 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11563   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11565 fi
   11566  if test -n "$EXEEXT"; then
   11567   am__EXEEXT_TRUE=
   11568   am__EXEEXT_FALSE='#'
   11569 else
   11570   am__EXEEXT_TRUE='#'
   11571   am__EXEEXT_FALSE=
   11572 fi
   11573 
   11574 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11575   as_fn_error $? "conditional \"LINT\" was never defined.
   11576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11577 fi
   11578 
   11579 : "${CONFIG_STATUS=./config.status}"
   11580 ac_write_fail=0
   11581 ac_clean_files_save=$ac_clean_files
   11582 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11585 as_write_fail=0
   11586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11587 #! $SHELL
   11588 # Generated by $as_me.
   11589 # Run this file to recreate the current configuration.
   11590 # Compiler output produced by configure, useful for debugging
   11591 # configure, is in config.log if it exists.
   11592 
   11593 debug=false
   11594 ac_cs_recheck=false
   11595 ac_cs_silent=false
   11596 
   11597 SHELL=\${CONFIG_SHELL-$SHELL}
   11598 export SHELL
   11599 _ASEOF
   11600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11601 ## -------------------- ##
   11602 ## M4sh Initialization. ##
   11603 ## -------------------- ##
   11604 
   11605 # Be more Bourne compatible
   11606 DUALCASE=1; export DUALCASE # for MKS sh
   11607 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11608   emulate sh
   11609   NULLCMD=:
   11610   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11611   # is contrary to our usage.  Disable this feature.
   11612   alias -g '${1+"$@"}'='"$@"'
   11613   setopt NO_GLOB_SUBST
   11614 else
   11615   case `(set -o) 2>/dev/null` in #(
   11616   *posix*) :
   11617     set -o posix ;; #(
   11618   *) :
   11619      ;;
   11620 esac
   11621 fi
   11622 
   11623 
   11624 as_nl='
   11625 '
   11626 export as_nl
   11627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11628 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11631 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11632 # but without wasting forks for bash or zsh.
   11633 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11634     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11635   as_echo='print -r --'
   11636   as_echo_n='print -rn --'
   11637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11638   as_echo='printf %s\n'
   11639   as_echo_n='printf %s'
   11640 else
   11641   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11642     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11643     as_echo_n='/usr/ucb/echo -n'
   11644   else
   11645     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11646     as_echo_n_body='eval
   11647       arg=$1;
   11648       case $arg in #(
   11649       *"$as_nl"*)
   11650 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11651 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11652       esac;
   11653       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11654     '
   11655     export as_echo_n_body
   11656     as_echo_n='sh -c $as_echo_n_body as_echo'
   11657   fi
   11658   export as_echo_body
   11659   as_echo='sh -c $as_echo_body as_echo'
   11660 fi
   11661 
   11662 # The user is always right.
   11663 if test "${PATH_SEPARATOR+set}" != set; then
   11664   PATH_SEPARATOR=:
   11665   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11666     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11667       PATH_SEPARATOR=';'
   11668   }
   11669 fi
   11670 
   11671 
   11672 # IFS
   11673 # We need space, tab and new line, in precisely that order.  Quoting is
   11674 # there to prevent editors from complaining about space-tab.
   11675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11676 # splitting by setting IFS to empty value.)
   11677 IFS=" ""	$as_nl"
   11678 
   11679 # Find who we are.  Look in the path if we contain no directory separator.
   11680 as_myself=
   11681 case $0 in #((
   11682   *[\\/]* ) as_myself=$0 ;;
   11683   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11684 for as_dir in $PATH
   11685 do
   11686   IFS=$as_save_IFS
   11687   test -z "$as_dir" && as_dir=.
   11688     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11689   done
   11690 IFS=$as_save_IFS
   11691 
   11692      ;;
   11693 esac
   11694 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11695 # in which case we are not to be found in the path.
   11696 if test "x$as_myself" = x; then
   11697   as_myself=$0
   11698 fi
   11699 if test ! -f "$as_myself"; then
   11700   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11701   exit 1
   11702 fi
   11703 
   11704 # Unset variables that we do not need and which cause bugs (e.g. in
   11705 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11706 # suppresses any "Segmentation fault" message there.  '((' could
   11707 # trigger a bug in pdksh 5.2.14.
   11708 for as_var in BASH_ENV ENV MAIL MAILPATH
   11709 do eval test x\${$as_var+set} = xset \
   11710   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11711 done
   11712 PS1='$ '
   11713 PS2='> '
   11714 PS4='+ '
   11715 
   11716 # NLS nuisances.
   11717 LC_ALL=C
   11718 export LC_ALL
   11719 LANGUAGE=C
   11720 export LANGUAGE
   11721 
   11722 # CDPATH.
   11723 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11724 
   11725 
   11726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11727 # ----------------------------------------
   11728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11730 # script with STATUS, using 1 if that was 0.
   11731 as_fn_error ()
   11732 {
   11733   as_status=$1; test $as_status -eq 0 && as_status=1
   11734   if test "$4"; then
   11735     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11736     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11737   fi
   11738   $as_echo "$as_me: error: $2" >&2
   11739   as_fn_exit $as_status
   11740 } # as_fn_error
   11741 
   11742 
   11743 # as_fn_set_status STATUS
   11744 # -----------------------
   11745 # Set $? to STATUS, without forking.
   11746 as_fn_set_status ()
   11747 {
   11748   return $1
   11749 } # as_fn_set_status
   11750 
   11751 # as_fn_exit STATUS
   11752 # -----------------
   11753 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11754 as_fn_exit ()
   11755 {
   11756   set +e
   11757   as_fn_set_status $1
   11758   exit $1
   11759 } # as_fn_exit
   11760 
   11761 # as_fn_unset VAR
   11762 # ---------------
   11763 # Portably unset VAR.
   11764 as_fn_unset ()
   11765 {
   11766   { eval $1=; unset $1;}
   11767 }
   11768 as_unset=as_fn_unset
   11769 # as_fn_append VAR VALUE
   11770 # ----------------------
   11771 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11772 # advantage of any shell optimizations that allow amortized linear growth over
   11773 # repeated appends, instead of the typical quadratic growth present in naive
   11774 # implementations.
   11775 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11776   eval 'as_fn_append ()
   11777   {
   11778     eval $1+=\$2
   11779   }'
   11780 else
   11781   as_fn_append ()
   11782   {
   11783     eval $1=\$$1\$2
   11784   }
   11785 fi # as_fn_append
   11786 
   11787 # as_fn_arith ARG...
   11788 # ------------------
   11789 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11790 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11791 # must be portable across $(()) and expr.
   11792 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11793   eval 'as_fn_arith ()
   11794   {
   11795     as_val=$(( $* ))
   11796   }'
   11797 else
   11798   as_fn_arith ()
   11799   {
   11800     as_val=`expr "$@" || test $? -eq 1`
   11801   }
   11802 fi # as_fn_arith
   11803 
   11804 
   11805 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11806    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11807   as_expr=expr
   11808 else
   11809   as_expr=false
   11810 fi
   11811 
   11812 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11813   as_basename=basename
   11814 else
   11815   as_basename=false
   11816 fi
   11817 
   11818 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11819   as_dirname=dirname
   11820 else
   11821   as_dirname=false
   11822 fi
   11823 
   11824 as_me=`$as_basename -- "$0" ||
   11825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11826 	 X"$0" : 'X\(//\)$' \| \
   11827 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11828 $as_echo X/"$0" |
   11829     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11830 	    s//\1/
   11831 	    q
   11832 	  }
   11833 	  /^X\/\(\/\/\)$/{
   11834 	    s//\1/
   11835 	    q
   11836 	  }
   11837 	  /^X\/\(\/\).*/{
   11838 	    s//\1/
   11839 	    q
   11840 	  }
   11841 	  s/.*/./; q'`
   11842 
   11843 # Avoid depending upon Character Ranges.
   11844 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11845 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11846 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11847 as_cr_digits='0123456789'
   11848 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11849 
   11850 ECHO_C= ECHO_N= ECHO_T=
   11851 case `echo -n x` in #(((((
   11852 -n*)
   11853   case `echo 'xy\c'` in
   11854   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11855   xy)  ECHO_C='\c';;
   11856   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11857        ECHO_T='	';;
   11858   esac;;
   11859 *)
   11860   ECHO_N='-n';;
   11861 esac
   11862 
   11863 rm -f conf$$ conf$$.exe conf$$.file
   11864 if test -d conf$$.dir; then
   11865   rm -f conf$$.dir/conf$$.file
   11866 else
   11867   rm -f conf$$.dir
   11868   mkdir conf$$.dir 2>/dev/null
   11869 fi
   11870 if (echo >conf$$.file) 2>/dev/null; then
   11871   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11872     as_ln_s='ln -s'
   11873     # ... but there are two gotchas:
   11874     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11875     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11876     # In both cases, we have to default to `cp -pR'.
   11877     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11878       as_ln_s='cp -pR'
   11879   elif ln conf$$.file conf$$ 2>/dev/null; then
   11880     as_ln_s=ln
   11881   else
   11882     as_ln_s='cp -pR'
   11883   fi
   11884 else
   11885   as_ln_s='cp -pR'
   11886 fi
   11887 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11888 rmdir conf$$.dir 2>/dev/null
   11889 
   11890 
   11891 # as_fn_mkdir_p
   11892 # -------------
   11893 # Create "$as_dir" as a directory, including parents if necessary.
   11894 as_fn_mkdir_p ()
   11895 {
   11896 
   11897   case $as_dir in #(
   11898   -*) as_dir=./$as_dir;;
   11899   esac
   11900   test -d "$as_dir" || eval $as_mkdir_p || {
   11901     as_dirs=
   11902     while :; do
   11903       case $as_dir in #(
   11904       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11905       *) as_qdir=$as_dir;;
   11906       esac
   11907       as_dirs="'$as_qdir' $as_dirs"
   11908       as_dir=`$as_dirname -- "$as_dir" ||
   11909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11910 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11911 	 X"$as_dir" : 'X\(//\)$' \| \
   11912 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11913 $as_echo X"$as_dir" |
   11914     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11915 	    s//\1/
   11916 	    q
   11917 	  }
   11918 	  /^X\(\/\/\)[^/].*/{
   11919 	    s//\1/
   11920 	    q
   11921 	  }
   11922 	  /^X\(\/\/\)$/{
   11923 	    s//\1/
   11924 	    q
   11925 	  }
   11926 	  /^X\(\/\).*/{
   11927 	    s//\1/
   11928 	    q
   11929 	  }
   11930 	  s/.*/./; q'`
   11931       test -d "$as_dir" && break
   11932     done
   11933     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11934   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11935 
   11936 
   11937 } # as_fn_mkdir_p
   11938 if mkdir -p . 2>/dev/null; then
   11939   as_mkdir_p='mkdir -p "$as_dir"'
   11940 else
   11941   test -d ./-p && rmdir ./-p
   11942   as_mkdir_p=false
   11943 fi
   11944 
   11945 
   11946 # as_fn_executable_p FILE
   11947 # -----------------------
   11948 # Test if FILE is an executable regular file.
   11949 as_fn_executable_p ()
   11950 {
   11951   test -f "$1" && test -x "$1"
   11952 } # as_fn_executable_p
   11953 as_test_x='test -x'
   11954 as_executable_p=as_fn_executable_p
   11955 
   11956 # Sed expression to map a string onto a valid CPP name.
   11957 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11958 
   11959 # Sed expression to map a string onto a valid variable name.
   11960 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11961 
   11962 
   11963 exec 6>&1
   11964 ## ----------------------------------- ##
   11965 ## Main body of $CONFIG_STATUS script. ##
   11966 ## ----------------------------------- ##
   11967 _ASEOF
   11968 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11969 
   11970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11971 # Save the log message, to keep $0 and so on meaningful, and to
   11972 # report actual input values of CONFIG_FILES etc. instead of their
   11973 # values after options handling.
   11974 ac_log="
   11975 This file was extended by sessreg $as_me 1.1.0, which was
   11976 generated by GNU Autoconf 2.69.  Invocation command line was
   11977 
   11978   CONFIG_FILES    = $CONFIG_FILES
   11979   CONFIG_HEADERS  = $CONFIG_HEADERS
   11980   CONFIG_LINKS    = $CONFIG_LINKS
   11981   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11982   $ $0 $@
   11983 
   11984 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11985 "
   11986 
   11987 _ACEOF
   11988 
   11989 case $ac_config_files in *"
   11990 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11991 esac
   11992 
   11993 case $ac_config_headers in *"
   11994 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11995 esac
   11996 
   11997 
   11998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11999 # Files that config.status was made for.
   12000 config_files="$ac_config_files"
   12001 config_headers="$ac_config_headers"
   12002 config_commands="$ac_config_commands"
   12003 
   12004 _ACEOF
   12005 
   12006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12007 ac_cs_usage="\
   12008 \`$as_me' instantiates files and other configuration actions
   12009 from templates according to the current configuration.  Unless the files
   12010 and actions are specified as TAGs, all are instantiated by default.
   12011 
   12012 Usage: $0 [OPTION]... [TAG]...
   12013 
   12014   -h, --help       print this help, then exit
   12015   -V, --version    print version number and configuration settings, then exit
   12016       --config     print configuration, then exit
   12017   -q, --quiet, --silent
   12018                    do not print progress messages
   12019   -d, --debug      don't remove temporary files
   12020       --recheck    update $as_me by reconfiguring in the same conditions
   12021       --file=FILE[:TEMPLATE]
   12022                    instantiate the configuration file FILE
   12023       --header=FILE[:TEMPLATE]
   12024                    instantiate the configuration header FILE
   12025 
   12026 Configuration files:
   12027 $config_files
   12028 
   12029 Configuration headers:
   12030 $config_headers
   12031 
   12032 Configuration commands:
   12033 $config_commands
   12034 
   12035 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12036 
   12037 _ACEOF
   12038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12039 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12040 ac_cs_version="\\
   12041 sessreg config.status 1.1.0
   12042 configured by $0, generated by GNU Autoconf 2.69,
   12043   with options \\"\$ac_cs_config\\"
   12044 
   12045 Copyright (C) 2012 Free Software Foundation, Inc.
   12046 This config.status script is free software; the Free Software Foundation
   12047 gives unlimited permission to copy, distribute and modify it."
   12048 
   12049 ac_pwd='$ac_pwd'
   12050 srcdir='$srcdir'
   12051 INSTALL='$INSTALL'
   12052 MKDIR_P='$MKDIR_P'
   12053 AWK='$AWK'
   12054 test -n "\$AWK" || AWK=awk
   12055 _ACEOF
   12056 
   12057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12058 # The default lists apply if the user does not specify any file.
   12059 ac_need_defaults=:
   12060 while test $# != 0
   12061 do
   12062   case $1 in
   12063   --*=?*)
   12064     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12065     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12066     ac_shift=:
   12067     ;;
   12068   --*=)
   12069     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12070     ac_optarg=
   12071     ac_shift=:
   12072     ;;
   12073   *)
   12074     ac_option=$1
   12075     ac_optarg=$2
   12076     ac_shift=shift
   12077     ;;
   12078   esac
   12079 
   12080   case $ac_option in
   12081   # Handling of the options.
   12082   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12083     ac_cs_recheck=: ;;
   12084   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12085     $as_echo "$ac_cs_version"; exit ;;
   12086   --config | --confi | --conf | --con | --co | --c )
   12087     $as_echo "$ac_cs_config"; exit ;;
   12088   --debug | --debu | --deb | --de | --d | -d )
   12089     debug=: ;;
   12090   --file | --fil | --fi | --f )
   12091     $ac_shift
   12092     case $ac_optarg in
   12093     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12094     '') as_fn_error $? "missing file argument" ;;
   12095     esac
   12096     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12097     ac_need_defaults=false;;
   12098   --header | --heade | --head | --hea )
   12099     $ac_shift
   12100     case $ac_optarg in
   12101     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12102     esac
   12103     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12104     ac_need_defaults=false;;
   12105   --he | --h)
   12106     # Conflict between --help and --header
   12107     as_fn_error $? "ambiguous option: \`$1'
   12108 Try \`$0 --help' for more information.";;
   12109   --help | --hel | -h )
   12110     $as_echo "$ac_cs_usage"; exit ;;
   12111   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12112   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12113     ac_cs_silent=: ;;
   12114 
   12115   # This is an error.
   12116   -*) as_fn_error $? "unrecognized option: \`$1'
   12117 Try \`$0 --help' for more information." ;;
   12118 
   12119   *) as_fn_append ac_config_targets " $1"
   12120      ac_need_defaults=false ;;
   12121 
   12122   esac
   12123   shift
   12124 done
   12125 
   12126 ac_configure_extra_args=
   12127 
   12128 if $ac_cs_silent; then
   12129   exec 6>/dev/null
   12130   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12131 fi
   12132 
   12133 _ACEOF
   12134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12135 if \$ac_cs_recheck; then
   12136   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12137   shift
   12138   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12139   CONFIG_SHELL='$SHELL'
   12140   export CONFIG_SHELL
   12141   exec "\$@"
   12142 fi
   12143 
   12144 _ACEOF
   12145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12146 exec 5>>config.log
   12147 {
   12148   echo
   12149   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12150 ## Running $as_me. ##
   12151 _ASBOX
   12152   $as_echo "$ac_log"
   12153 } >&5
   12154 
   12155 _ACEOF
   12156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12157 #
   12158 # INIT-COMMANDS
   12159 #
   12160 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12161 
   12162 _ACEOF
   12163 
   12164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12165 
   12166 # Handling of arguments.
   12167 for ac_config_target in $ac_config_targets
   12168 do
   12169   case $ac_config_target in
   12170     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12171     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12172     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12173     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12174 
   12175   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12176   esac
   12177 done
   12178 
   12179 
   12180 # If the user did not use the arguments to specify the items to instantiate,
   12181 # then the envvar interface is used.  Set only those that are not.
   12182 # We use the long form for the default assignment because of an extremely
   12183 # bizarre bug on SunOS 4.1.3.
   12184 if $ac_need_defaults; then
   12185   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12186   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12187   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12188 fi
   12189 
   12190 # Have a temporary directory for convenience.  Make it in the build tree
   12191 # simply because there is no reason against having it here, and in addition,
   12192 # creating and moving files from /tmp can sometimes cause problems.
   12193 # Hook for its removal unless debugging.
   12194 # Note that there is a small window in which the directory will not be cleaned:
   12195 # after its creation but before its name has been assigned to `$tmp'.
   12196 $debug ||
   12197 {
   12198   tmp= ac_tmp=
   12199   trap 'exit_status=$?
   12200   : "${ac_tmp:=$tmp}"
   12201   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12202 ' 0
   12203   trap 'as_fn_exit 1' 1 2 13 15
   12204 }
   12205 # Create a (secure) tmp directory for tmp files.
   12206 
   12207 {
   12208   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12209   test -d "$tmp"
   12210 }  ||
   12211 {
   12212   tmp=./conf$$-$RANDOM
   12213   (umask 077 && mkdir "$tmp")
   12214 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12215 ac_tmp=$tmp
   12216 
   12217 # Set up the scripts for CONFIG_FILES section.
   12218 # No need to generate them if there are no CONFIG_FILES.
   12219 # This happens for instance with `./config.status config.h'.
   12220 if test -n "$CONFIG_FILES"; then
   12221 
   12222 
   12223 ac_cr=`echo X | tr X '\015'`
   12224 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12225 # But we know of no other shell where ac_cr would be empty at this
   12226 # point, so we can use a bashism as a fallback.
   12227 if test "x$ac_cr" = x; then
   12228   eval ac_cr=\$\'\\r\'
   12229 fi
   12230 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12231 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12232   ac_cs_awk_cr='\\r'
   12233 else
   12234   ac_cs_awk_cr=$ac_cr
   12235 fi
   12236 
   12237 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12238 _ACEOF
   12239 
   12240 
   12241 {
   12242   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12243   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12244   echo "_ACEOF"
   12245 } >conf$$subs.sh ||
   12246   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12247 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12248 ac_delim='%!_!# '
   12249 for ac_last_try in false false false false false :; do
   12250   . ./conf$$subs.sh ||
   12251     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12252 
   12253   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12254   if test $ac_delim_n = $ac_delim_num; then
   12255     break
   12256   elif $ac_last_try; then
   12257     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12258   else
   12259     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12260   fi
   12261 done
   12262 rm -f conf$$subs.sh
   12263 
   12264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12265 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12266 _ACEOF
   12267 sed -n '
   12268 h
   12269 s/^/S["/; s/!.*/"]=/
   12270 p
   12271 g
   12272 s/^[^!]*!//
   12273 :repl
   12274 t repl
   12275 s/'"$ac_delim"'$//
   12276 t delim
   12277 :nl
   12278 h
   12279 s/\(.\{148\}\)..*/\1/
   12280 t more1
   12281 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12282 p
   12283 n
   12284 b repl
   12285 :more1
   12286 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12287 p
   12288 g
   12289 s/.\{148\}//
   12290 t nl
   12291 :delim
   12292 h
   12293 s/\(.\{148\}\)..*/\1/
   12294 t more2
   12295 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12296 p
   12297 b
   12298 :more2
   12299 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12300 p
   12301 g
   12302 s/.\{148\}//
   12303 t delim
   12304 ' <conf$$subs.awk | sed '
   12305 /^[^""]/{
   12306   N
   12307   s/\n//
   12308 }
   12309 ' >>$CONFIG_STATUS || ac_write_fail=1
   12310 rm -f conf$$subs.awk
   12311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12312 _ACAWK
   12313 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12314   for (key in S) S_is_set[key] = 1
   12315   FS = ""
   12316 
   12317 }
   12318 {
   12319   line = $ 0
   12320   nfields = split(line, field, "@")
   12321   substed = 0
   12322   len = length(field[1])
   12323   for (i = 2; i < nfields; i++) {
   12324     key = field[i]
   12325     keylen = length(key)
   12326     if (S_is_set[key]) {
   12327       value = S[key]
   12328       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12329       len += length(value) + length(field[++i])
   12330       substed = 1
   12331     } else
   12332       len += 1 + keylen
   12333   }
   12334 
   12335   print line
   12336 }
   12337 
   12338 _ACAWK
   12339 _ACEOF
   12340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12341 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12342   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12343 else
   12344   cat
   12345 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12346   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12347 _ACEOF
   12348 
   12349 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12350 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12351 # trailing colons and then remove the whole line if VPATH becomes empty
   12352 # (actually we leave an empty line to preserve line numbers).
   12353 if test "x$srcdir" = x.; then
   12354   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12355 h
   12356 s///
   12357 s/^/:/
   12358 s/[	 ]*$/:/
   12359 s/:\$(srcdir):/:/g
   12360 s/:\${srcdir}:/:/g
   12361 s/:@srcdir@:/:/g
   12362 s/^:*//
   12363 s/:*$//
   12364 x
   12365 s/\(=[	 ]*\).*/\1/
   12366 G
   12367 s/\n//
   12368 s/^[^=]*=[	 ]*$//
   12369 }'
   12370 fi
   12371 
   12372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12373 fi # test -n "$CONFIG_FILES"
   12374 
   12375 # Set up the scripts for CONFIG_HEADERS section.
   12376 # No need to generate them if there are no CONFIG_HEADERS.
   12377 # This happens for instance with `./config.status Makefile'.
   12378 if test -n "$CONFIG_HEADERS"; then
   12379 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12380 BEGIN {
   12381 _ACEOF
   12382 
   12383 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12384 # here-document in config.status, that substitutes the proper values into
   12385 # config.h.in to produce config.h.
   12386 
   12387 # Create a delimiter string that does not exist in confdefs.h, to ease
   12388 # handling of long lines.
   12389 ac_delim='%!_!# '
   12390 for ac_last_try in false false :; do
   12391   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12392   if test -z "$ac_tt"; then
   12393     break
   12394   elif $ac_last_try; then
   12395     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12396   else
   12397     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12398   fi
   12399 done
   12400 
   12401 # For the awk script, D is an array of macro values keyed by name,
   12402 # likewise P contains macro parameters if any.  Preserve backslash
   12403 # newline sequences.
   12404 
   12405 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12406 sed -n '
   12407 s/.\{148\}/&'"$ac_delim"'/g
   12408 t rset
   12409 :rset
   12410 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12411 t def
   12412 d
   12413 :def
   12414 s/\\$//
   12415 t bsnl
   12416 s/["\\]/\\&/g
   12417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12418 D["\1"]=" \3"/p
   12419 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12420 d
   12421 :bsnl
   12422 s/["\\]/\\&/g
   12423 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12424 D["\1"]=" \3\\\\\\n"\\/p
   12425 t cont
   12426 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12427 t cont
   12428 d
   12429 :cont
   12430 n
   12431 s/.\{148\}/&'"$ac_delim"'/g
   12432 t clear
   12433 :clear
   12434 s/\\$//
   12435 t bsnlc
   12436 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12437 d
   12438 :bsnlc
   12439 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12440 b cont
   12441 ' <confdefs.h | sed '
   12442 s/'"$ac_delim"'/"\\\
   12443 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12444 
   12445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12446   for (key in D) D_is_set[key] = 1
   12447   FS = ""
   12448 }
   12449 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12450   line = \$ 0
   12451   split(line, arg, " ")
   12452   if (arg[1] == "#") {
   12453     defundef = arg[2]
   12454     mac1 = arg[3]
   12455   } else {
   12456     defundef = substr(arg[1], 2)
   12457     mac1 = arg[2]
   12458   }
   12459   split(mac1, mac2, "(") #)
   12460   macro = mac2[1]
   12461   prefix = substr(line, 1, index(line, defundef) - 1)
   12462   if (D_is_set[macro]) {
   12463     # Preserve the white space surrounding the "#".
   12464     print prefix "define", macro P[macro] D[macro]
   12465     next
   12466   } else {
   12467     # Replace #undef with comments.  This is necessary, for example,
   12468     # in the case of _POSIX_SOURCE, which is predefined and required
   12469     # on some systems where configure will not decide to define it.
   12470     if (defundef == "undef") {
   12471       print "/*", prefix defundef, macro, "*/"
   12472       next
   12473     }
   12474   }
   12475 }
   12476 { print }
   12477 _ACAWK
   12478 _ACEOF
   12479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12480   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12481 fi # test -n "$CONFIG_HEADERS"
   12482 
   12483 
   12484 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12485 shift
   12486 for ac_tag
   12487 do
   12488   case $ac_tag in
   12489   :[FHLC]) ac_mode=$ac_tag; continue;;
   12490   esac
   12491   case $ac_mode$ac_tag in
   12492   :[FHL]*:*);;
   12493   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12494   :[FH]-) ac_tag=-:-;;
   12495   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12496   esac
   12497   ac_save_IFS=$IFS
   12498   IFS=:
   12499   set x $ac_tag
   12500   IFS=$ac_save_IFS
   12501   shift
   12502   ac_file=$1
   12503   shift
   12504 
   12505   case $ac_mode in
   12506   :L) ac_source=$1;;
   12507   :[FH])
   12508     ac_file_inputs=
   12509     for ac_f
   12510     do
   12511       case $ac_f in
   12512       -) ac_f="$ac_tmp/stdin";;
   12513       *) # Look for the file first in the build tree, then in the source tree
   12514 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12515 	 # because $ac_f cannot contain `:'.
   12516 	 test -f "$ac_f" ||
   12517 	   case $ac_f in
   12518 	   [\\/$]*) false;;
   12519 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12520 	   esac ||
   12521 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12522       esac
   12523       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12524       as_fn_append ac_file_inputs " '$ac_f'"
   12525     done
   12526 
   12527     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12528     # use $as_me), people would be surprised to read:
   12529     #    /* config.h.  Generated by config.status.  */
   12530     configure_input='Generated from '`
   12531 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12532 	`' by configure.'
   12533     if test x"$ac_file" != x-; then
   12534       configure_input="$ac_file.  $configure_input"
   12535       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12536 $as_echo "$as_me: creating $ac_file" >&6;}
   12537     fi
   12538     # Neutralize special characters interpreted by sed in replacement strings.
   12539     case $configure_input in #(
   12540     *\&* | *\|* | *\\* )
   12541        ac_sed_conf_input=`$as_echo "$configure_input" |
   12542        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12543     *) ac_sed_conf_input=$configure_input;;
   12544     esac
   12545 
   12546     case $ac_tag in
   12547     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12548       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12549     esac
   12550     ;;
   12551   esac
   12552 
   12553   ac_dir=`$as_dirname -- "$ac_file" ||
   12554 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12555 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12556 	 X"$ac_file" : 'X\(//\)$' \| \
   12557 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12558 $as_echo X"$ac_file" |
   12559     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12560 	    s//\1/
   12561 	    q
   12562 	  }
   12563 	  /^X\(\/\/\)[^/].*/{
   12564 	    s//\1/
   12565 	    q
   12566 	  }
   12567 	  /^X\(\/\/\)$/{
   12568 	    s//\1/
   12569 	    q
   12570 	  }
   12571 	  /^X\(\/\).*/{
   12572 	    s//\1/
   12573 	    q
   12574 	  }
   12575 	  s/.*/./; q'`
   12576   as_dir="$ac_dir"; as_fn_mkdir_p
   12577   ac_builddir=.
   12578 
   12579 case "$ac_dir" in
   12580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12581 *)
   12582   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12583   # A ".." for each directory in $ac_dir_suffix.
   12584   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12585   case $ac_top_builddir_sub in
   12586   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12587   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12588   esac ;;
   12589 esac
   12590 ac_abs_top_builddir=$ac_pwd
   12591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12592 # for backward compatibility:
   12593 ac_top_builddir=$ac_top_build_prefix
   12594 
   12595 case $srcdir in
   12596   .)  # We are building in place.
   12597     ac_srcdir=.
   12598     ac_top_srcdir=$ac_top_builddir_sub
   12599     ac_abs_top_srcdir=$ac_pwd ;;
   12600   [\\/]* | ?:[\\/]* )  # Absolute name.
   12601     ac_srcdir=$srcdir$ac_dir_suffix;
   12602     ac_top_srcdir=$srcdir
   12603     ac_abs_top_srcdir=$srcdir ;;
   12604   *) # Relative name.
   12605     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12606     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12607     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12608 esac
   12609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12610 
   12611 
   12612   case $ac_mode in
   12613   :F)
   12614   #
   12615   # CONFIG_FILE
   12616   #
   12617 
   12618   case $INSTALL in
   12619   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12620   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12621   esac
   12622   ac_MKDIR_P=$MKDIR_P
   12623   case $MKDIR_P in
   12624   [\\/$]* | ?:[\\/]* ) ;;
   12625   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12626   esac
   12627 _ACEOF
   12628 
   12629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12630 # If the template does not know about datarootdir, expand it.
   12631 # FIXME: This hack should be removed a few years after 2.60.
   12632 ac_datarootdir_hack=; ac_datarootdir_seen=
   12633 ac_sed_dataroot='
   12634 /datarootdir/ {
   12635   p
   12636   q
   12637 }
   12638 /@datadir@/p
   12639 /@docdir@/p
   12640 /@infodir@/p
   12641 /@localedir@/p
   12642 /@mandir@/p'
   12643 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12644 *datarootdir*) ac_datarootdir_seen=yes;;
   12645 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12646   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12647 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12648 _ACEOF
   12649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12650   ac_datarootdir_hack='
   12651   s&@datadir@&$datadir&g
   12652   s&@docdir@&$docdir&g
   12653   s&@infodir@&$infodir&g
   12654   s&@localedir@&$localedir&g
   12655   s&@mandir@&$mandir&g
   12656   s&\\\${datarootdir}&$datarootdir&g' ;;
   12657 esac
   12658 _ACEOF
   12659 
   12660 # Neutralize VPATH when `$srcdir' = `.'.
   12661 # Shell code in configure.ac might set extrasub.
   12662 # FIXME: do we really want to maintain this feature?
   12663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12664 ac_sed_extra="$ac_vpsub
   12665 $extrasub
   12666 _ACEOF
   12667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12668 :t
   12669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12670 s|@configure_input@|$ac_sed_conf_input|;t t
   12671 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12672 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12673 s&@srcdir@&$ac_srcdir&;t t
   12674 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12675 s&@top_srcdir@&$ac_top_srcdir&;t t
   12676 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12677 s&@builddir@&$ac_builddir&;t t
   12678 s&@abs_builddir@&$ac_abs_builddir&;t t
   12679 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12680 s&@INSTALL@&$ac_INSTALL&;t t
   12681 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12682 $ac_datarootdir_hack
   12683 "
   12684 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12685   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12686 
   12687 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12688   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12689   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12690       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12691   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12692 which seems to be undefined.  Please make sure it is defined" >&5
   12693 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12694 which seems to be undefined.  Please make sure it is defined" >&2;}
   12695 
   12696   rm -f "$ac_tmp/stdin"
   12697   case $ac_file in
   12698   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12699   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12700   esac \
   12701   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12702  ;;
   12703   :H)
   12704   #
   12705   # CONFIG_HEADER
   12706   #
   12707   if test x"$ac_file" != x-; then
   12708     {
   12709       $as_echo "/* $configure_input  */" \
   12710       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12711     } >"$ac_tmp/config.h" \
   12712       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12713     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12714       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12715 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12716     else
   12717       rm -f "$ac_file"
   12718       mv "$ac_tmp/config.h" "$ac_file" \
   12719 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12720     fi
   12721   else
   12722     $as_echo "/* $configure_input  */" \
   12723       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12724       || as_fn_error $? "could not create -" "$LINENO" 5
   12725   fi
   12726 # Compute "$ac_file"'s index in $config_headers.
   12727 _am_arg="$ac_file"
   12728 _am_stamp_count=1
   12729 for _am_header in $config_headers :; do
   12730   case $_am_header in
   12731     $_am_arg | $_am_arg:* )
   12732       break ;;
   12733     * )
   12734       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12735   esac
   12736 done
   12737 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12738 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12739 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12740 	 X"$_am_arg" : 'X\(//\)$' \| \
   12741 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12742 $as_echo X"$_am_arg" |
   12743     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12744 	    s//\1/
   12745 	    q
   12746 	  }
   12747 	  /^X\(\/\/\)[^/].*/{
   12748 	    s//\1/
   12749 	    q
   12750 	  }
   12751 	  /^X\(\/\/\)$/{
   12752 	    s//\1/
   12753 	    q
   12754 	  }
   12755 	  /^X\(\/\).*/{
   12756 	    s//\1/
   12757 	    q
   12758 	  }
   12759 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12760  ;;
   12761 
   12762   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12763 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12764  ;;
   12765   esac
   12766 
   12767 
   12768   case $ac_file$ac_mode in
   12769     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12770   # Older Autoconf quotes --file arguments for eval, but not when files
   12771   # are listed without --file.  Let's play safe and only enable the eval
   12772   # if we detect the quoting.
   12773   case $CONFIG_FILES in
   12774   *\'*) eval set x "$CONFIG_FILES" ;;
   12775   *)   set x $CONFIG_FILES ;;
   12776   esac
   12777   shift
   12778   for mf
   12779   do
   12780     # Strip MF so we end up with the name of the file.
   12781     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12782     # Check whether this is an Automake generated Makefile or not.
   12783     # We used to match only the files named 'Makefile.in', but
   12784     # some people rename them; so instead we look at the file content.
   12785     # Grep'ing the first line is not enough: some people post-process
   12786     # each Makefile.in and add a new line on top of each file to say so.
   12787     # Grep'ing the whole file is not good either: AIX grep has a line
   12788     # limit of 2048, but all sed's we know have understand at least 4000.
   12789     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12790       dirpart=`$as_dirname -- "$mf" ||
   12791 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12792 	 X"$mf" : 'X\(//\)[^/]' \| \
   12793 	 X"$mf" : 'X\(//\)$' \| \
   12794 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12795 $as_echo X"$mf" |
   12796     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12797 	    s//\1/
   12798 	    q
   12799 	  }
   12800 	  /^X\(\/\/\)[^/].*/{
   12801 	    s//\1/
   12802 	    q
   12803 	  }
   12804 	  /^X\(\/\/\)$/{
   12805 	    s//\1/
   12806 	    q
   12807 	  }
   12808 	  /^X\(\/\).*/{
   12809 	    s//\1/
   12810 	    q
   12811 	  }
   12812 	  s/.*/./; q'`
   12813     else
   12814       continue
   12815     fi
   12816     # Extract the definition of DEPDIR, am__include, and am__quote
   12817     # from the Makefile without running 'make'.
   12818     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12819     test -z "$DEPDIR" && continue
   12820     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12821     test -z "$am__include" && continue
   12822     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12823     # Find all dependency output files, they are included files with
   12824     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12825     # simplest approach to changing $(DEPDIR) to its actual value in the
   12826     # expansion.
   12827     for file in `sed -n "
   12828       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12829 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12830       # Make sure the directory exists.
   12831       test -f "$dirpart/$file" && continue
   12832       fdir=`$as_dirname -- "$file" ||
   12833 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12834 	 X"$file" : 'X\(//\)[^/]' \| \
   12835 	 X"$file" : 'X\(//\)$' \| \
   12836 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12837 $as_echo X"$file" |
   12838     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12839 	    s//\1/
   12840 	    q
   12841 	  }
   12842 	  /^X\(\/\/\)[^/].*/{
   12843 	    s//\1/
   12844 	    q
   12845 	  }
   12846 	  /^X\(\/\/\)$/{
   12847 	    s//\1/
   12848 	    q
   12849 	  }
   12850 	  /^X\(\/\).*/{
   12851 	    s//\1/
   12852 	    q
   12853 	  }
   12854 	  s/.*/./; q'`
   12855       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12856       # echo "creating $dirpart/$file"
   12857       echo '# dummy' > "$dirpart/$file"
   12858     done
   12859   done
   12860 }
   12861  ;;
   12862 
   12863   esac
   12864 done # for ac_tag
   12865 
   12866 
   12867 as_fn_exit 0
   12868 _ACEOF
   12869 ac_clean_files=$ac_clean_files_save
   12870 
   12871 test $ac_write_fail = 0 ||
   12872   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12873 
   12874 
   12875 # configure is writing to config.log, and then calls config.status.
   12876 # config.status does its own redirection, appending to config.log.
   12877 # Unfortunately, on DOS this fails, as config.log is still kept open
   12878 # by configure, so config.status won't be able to write to it; its
   12879 # output is simply discarded.  So we exec the FD to /dev/null,
   12880 # effectively closing config.log, so it can be properly (re)opened and
   12881 # appended to by config.status.  When coming back to configure, we
   12882 # need to make the FD available again.
   12883 if test "$no_create" != yes; then
   12884   ac_cs_success=:
   12885   ac_config_status_args=
   12886   test "$silent" = yes &&
   12887     ac_config_status_args="$ac_config_status_args --quiet"
   12888   exec 5>/dev/null
   12889   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12890   exec 5>>config.log
   12891   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12892   # would make configure fail if this is the last instruction.
   12893   $ac_cs_success || as_fn_exit 1
   12894 fi
   12895 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12896   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12897 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12898 fi
   12899 
   12900