Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for sessreg 1.1.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/sessreg/issues>.
      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://gitlab.freedesktop.org/xorg/app/sessreg/issues
    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.2'
    585 PACKAGE_STRING='sessreg 1.1.2'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/sessreg/issues'
    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_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 am__untar
    682 am__tar
    683 AMTAR
    684 am__leading_dot
    685 SET_MAKE
    686 AWK
    687 mkdir_p
    688 MKDIR_P
    689 INSTALL_STRIP_PROGRAM
    690 STRIP
    691 install_sh
    692 MAKEINFO
    693 AUTOHEADER
    694 AUTOMAKE
    695 AUTOCONF
    696 ACLOCAL
    697 VERSION
    698 PACKAGE
    699 CYGPATH_W
    700 am__isrc
    701 INSTALL_DATA
    702 INSTALL_SCRIPT
    703 INSTALL_PROGRAM
    704 EGREP
    705 GREP
    706 CPP
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_largefile
    756 enable_dependency_tracking
    757 enable_silent_rules
    758 enable_selective_werror
    759 enable_strict_compilation
    760 with_lint
    761 '
    762       ac_precious_vars='build_alias
    763 host_alias
    764 target_alias
    765 CC
    766 CFLAGS
    767 LDFLAGS
    768 LIBS
    769 CPPFLAGS
    770 CPP
    771 PKG_CONFIG
    772 PKG_CONFIG_PATH
    773 PKG_CONFIG_LIBDIR
    774 LINT
    775 LINT_FLAGS
    776 SESSREG_CFLAGS
    777 SESSREG_LIBS'
    778 
    779 
    780 # Initialize some variables set by options.
    781 ac_init_help=
    782 ac_init_version=false
    783 ac_unrecognized_opts=
    784 ac_unrecognized_sep=
    785 # The variables have the same names as the options, with
    786 # dashes changed to underlines.
    787 cache_file=/dev/null
    788 exec_prefix=NONE
    789 no_create=
    790 no_recursion=
    791 prefix=NONE
    792 program_prefix=NONE
    793 program_suffix=NONE
    794 program_transform_name=s,x,x,
    795 silent=
    796 site=
    797 srcdir=
    798 verbose=
    799 x_includes=NONE
    800 x_libraries=NONE
    801 
    802 # Installation directory options.
    803 # These are left unexpanded so users can "make install exec_prefix=/foo"
    804 # and all the variables that are supposed to be based on exec_prefix
    805 # by default will actually change.
    806 # Use braces instead of parens because sh, perl, etc. also accept them.
    807 # (The list follows the same order as the GNU Coding Standards.)
    808 bindir='${exec_prefix}/bin'
    809 sbindir='${exec_prefix}/sbin'
    810 libexecdir='${exec_prefix}/libexec'
    811 datarootdir='${prefix}/share'
    812 datadir='${datarootdir}'
    813 sysconfdir='${prefix}/etc'
    814 sharedstatedir='${prefix}/com'
    815 localstatedir='${prefix}/var'
    816 includedir='${prefix}/include'
    817 oldincludedir='/usr/include'
    818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    819 infodir='${datarootdir}/info'
    820 htmldir='${docdir}'
    821 dvidir='${docdir}'
    822 pdfdir='${docdir}'
    823 psdir='${docdir}'
    824 libdir='${exec_prefix}/lib'
    825 localedir='${datarootdir}/locale'
    826 mandir='${datarootdir}/man'
    827 
    828 ac_prev=
    829 ac_dashdash=
    830 for ac_option
    831 do
    832   # If the previous option needs an argument, assign it.
    833   if test -n "$ac_prev"; then
    834     eval $ac_prev=\$ac_option
    835     ac_prev=
    836     continue
    837   fi
    838 
    839   case $ac_option in
    840   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    841   *=)   ac_optarg= ;;
    842   *)    ac_optarg=yes ;;
    843   esac
    844 
    845   # Accept the important Cygnus configure options, so we can diagnose typos.
    846 
    847   case $ac_dashdash$ac_option in
    848   --)
    849     ac_dashdash=yes ;;
    850 
    851   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    852     ac_prev=bindir ;;
    853   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    854     bindir=$ac_optarg ;;
    855 
    856   -build | --build | --buil | --bui | --bu)
    857     ac_prev=build_alias ;;
    858   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    859     build_alias=$ac_optarg ;;
    860 
    861   -cache-file | --cache-file | --cache-fil | --cache-fi \
    862   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    863     ac_prev=cache_file ;;
    864   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    865   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    866     cache_file=$ac_optarg ;;
    867 
    868   --config-cache | -C)
    869     cache_file=config.cache ;;
    870 
    871   -datadir | --datadir | --datadi | --datad)
    872     ac_prev=datadir ;;
    873   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    874     datadir=$ac_optarg ;;
    875 
    876   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    877   | --dataroo | --dataro | --datar)
    878     ac_prev=datarootdir ;;
    879   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    880   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    881     datarootdir=$ac_optarg ;;
    882 
    883   -disable-* | --disable-*)
    884     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    885     # Reject names that are not valid shell variable names.
    886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    887       as_fn_error $? "invalid feature name: $ac_useropt"
    888     ac_useropt_orig=$ac_useropt
    889     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    890     case $ac_user_opts in
    891       *"
    892 "enable_$ac_useropt"
    893 "*) ;;
    894       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    895 	 ac_unrecognized_sep=', ';;
    896     esac
    897     eval enable_$ac_useropt=no ;;
    898 
    899   -docdir | --docdir | --docdi | --doc | --do)
    900     ac_prev=docdir ;;
    901   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    902     docdir=$ac_optarg ;;
    903 
    904   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    905     ac_prev=dvidir ;;
    906   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    907     dvidir=$ac_optarg ;;
    908 
    909   -enable-* | --enable-*)
    910     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    911     # Reject names that are not valid shell variable names.
    912     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    913       as_fn_error $? "invalid feature name: $ac_useropt"
    914     ac_useropt_orig=$ac_useropt
    915     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    916     case $ac_user_opts in
    917       *"
    918 "enable_$ac_useropt"
    919 "*) ;;
    920       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    921 	 ac_unrecognized_sep=', ';;
    922     esac
    923     eval enable_$ac_useropt=\$ac_optarg ;;
    924 
    925   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    926   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    927   | --exec | --exe | --ex)
    928     ac_prev=exec_prefix ;;
    929   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    930   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    931   | --exec=* | --exe=* | --ex=*)
    932     exec_prefix=$ac_optarg ;;
    933 
    934   -gas | --gas | --ga | --g)
    935     # Obsolete; use --with-gas.
    936     with_gas=yes ;;
    937 
    938   -help | --help | --hel | --he | -h)
    939     ac_init_help=long ;;
    940   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    941     ac_init_help=recursive ;;
    942   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    943     ac_init_help=short ;;
    944 
    945   -host | --host | --hos | --ho)
    946     ac_prev=host_alias ;;
    947   -host=* | --host=* | --hos=* | --ho=*)
    948     host_alias=$ac_optarg ;;
    949 
    950   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    951     ac_prev=htmldir ;;
    952   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    953   | --ht=*)
    954     htmldir=$ac_optarg ;;
    955 
    956   -includedir | --includedir | --includedi | --included | --include \
    957   | --includ | --inclu | --incl | --inc)
    958     ac_prev=includedir ;;
    959   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    960   | --includ=* | --inclu=* | --incl=* | --inc=*)
    961     includedir=$ac_optarg ;;
    962 
    963   -infodir | --infodir | --infodi | --infod | --info | --inf)
    964     ac_prev=infodir ;;
    965   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    966     infodir=$ac_optarg ;;
    967 
    968   -libdir | --libdir | --libdi | --libd)
    969     ac_prev=libdir ;;
    970   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    971     libdir=$ac_optarg ;;
    972 
    973   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    974   | --libexe | --libex | --libe)
    975     ac_prev=libexecdir ;;
    976   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    977   | --libexe=* | --libex=* | --libe=*)
    978     libexecdir=$ac_optarg ;;
    979 
    980   -localedir | --localedir | --localedi | --localed | --locale)
    981     ac_prev=localedir ;;
    982   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    983     localedir=$ac_optarg ;;
    984 
    985   -localstatedir | --localstatedir | --localstatedi | --localstated \
    986   | --localstate | --localstat | --localsta | --localst | --locals)
    987     ac_prev=localstatedir ;;
    988   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    989   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    990     localstatedir=$ac_optarg ;;
    991 
    992   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    993     ac_prev=mandir ;;
    994   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    995     mandir=$ac_optarg ;;
    996 
    997   -nfp | --nfp | --nf)
    998     # Obsolete; use --without-fp.
    999     with_fp=no ;;
   1000 
   1001   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1002   | --no-cr | --no-c | -n)
   1003     no_create=yes ;;
   1004 
   1005   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1006   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1007     no_recursion=yes ;;
   1008 
   1009   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1010   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1011   | --oldin | --oldi | --old | --ol | --o)
   1012     ac_prev=oldincludedir ;;
   1013   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1014   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1015   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1016     oldincludedir=$ac_optarg ;;
   1017 
   1018   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1019     ac_prev=prefix ;;
   1020   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1021     prefix=$ac_optarg ;;
   1022 
   1023   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1024   | --program-pre | --program-pr | --program-p)
   1025     ac_prev=program_prefix ;;
   1026   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1027   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1028     program_prefix=$ac_optarg ;;
   1029 
   1030   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1031   | --program-suf | --program-su | --program-s)
   1032     ac_prev=program_suffix ;;
   1033   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1034   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1035     program_suffix=$ac_optarg ;;
   1036 
   1037   -program-transform-name | --program-transform-name \
   1038   | --program-transform-nam | --program-transform-na \
   1039   | --program-transform-n | --program-transform- \
   1040   | --program-transform | --program-transfor \
   1041   | --program-transfo | --program-transf \
   1042   | --program-trans | --program-tran \
   1043   | --progr-tra | --program-tr | --program-t)
   1044     ac_prev=program_transform_name ;;
   1045   -program-transform-name=* | --program-transform-name=* \
   1046   | --program-transform-nam=* | --program-transform-na=* \
   1047   | --program-transform-n=* | --program-transform-=* \
   1048   | --program-transform=* | --program-transfor=* \
   1049   | --program-transfo=* | --program-transf=* \
   1050   | --program-trans=* | --program-tran=* \
   1051   | --progr-tra=* | --program-tr=* | --program-t=*)
   1052     program_transform_name=$ac_optarg ;;
   1053 
   1054   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1055     ac_prev=pdfdir ;;
   1056   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1057     pdfdir=$ac_optarg ;;
   1058 
   1059   -psdir | --psdir | --psdi | --psd | --ps)
   1060     ac_prev=psdir ;;
   1061   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1062     psdir=$ac_optarg ;;
   1063 
   1064   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1065   | -silent | --silent | --silen | --sile | --sil)
   1066     silent=yes ;;
   1067 
   1068   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1069     ac_prev=sbindir ;;
   1070   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1071   | --sbi=* | --sb=*)
   1072     sbindir=$ac_optarg ;;
   1073 
   1074   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1075   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1076   | --sharedst | --shareds | --shared | --share | --shar \
   1077   | --sha | --sh)
   1078     ac_prev=sharedstatedir ;;
   1079   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1080   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1081   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1082   | --sha=* | --sh=*)
   1083     sharedstatedir=$ac_optarg ;;
   1084 
   1085   -site | --site | --sit)
   1086     ac_prev=site ;;
   1087   -site=* | --site=* | --sit=*)
   1088     site=$ac_optarg ;;
   1089 
   1090   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1091     ac_prev=srcdir ;;
   1092   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1093     srcdir=$ac_optarg ;;
   1094 
   1095   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1096   | --syscon | --sysco | --sysc | --sys | --sy)
   1097     ac_prev=sysconfdir ;;
   1098   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1099   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1100     sysconfdir=$ac_optarg ;;
   1101 
   1102   -target | --target | --targe | --targ | --tar | --ta | --t)
   1103     ac_prev=target_alias ;;
   1104   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1105     target_alias=$ac_optarg ;;
   1106 
   1107   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1108     verbose=yes ;;
   1109 
   1110   -version | --version | --versio | --versi | --vers | -V)
   1111     ac_init_version=: ;;
   1112 
   1113   -with-* | --with-*)
   1114     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1115     # Reject names that are not valid shell variable names.
   1116     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1117       as_fn_error $? "invalid package name: $ac_useropt"
   1118     ac_useropt_orig=$ac_useropt
   1119     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1120     case $ac_user_opts in
   1121       *"
   1122 "with_$ac_useropt"
   1123 "*) ;;
   1124       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1125 	 ac_unrecognized_sep=', ';;
   1126     esac
   1127     eval with_$ac_useropt=\$ac_optarg ;;
   1128 
   1129   -without-* | --without-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: $ac_useropt"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=no ;;
   1144 
   1145   --x)
   1146     # Obsolete; use --with-x.
   1147     with_x=yes ;;
   1148 
   1149   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1150   | --x-incl | --x-inc | --x-in | --x-i)
   1151     ac_prev=x_includes ;;
   1152   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1153   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1154     x_includes=$ac_optarg ;;
   1155 
   1156   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1157   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1158     ac_prev=x_libraries ;;
   1159   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1160   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1161     x_libraries=$ac_optarg ;;
   1162 
   1163   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1164 Try \`$0 --help' for more information"
   1165     ;;
   1166 
   1167   *=*)
   1168     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1169     # Reject names that are not valid shell variable names.
   1170     case $ac_envvar in #(
   1171       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1172       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1173     esac
   1174     eval $ac_envvar=\$ac_optarg
   1175     export $ac_envvar ;;
   1176 
   1177   *)
   1178     # FIXME: should be removed in autoconf 3.0.
   1179     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1180     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1181       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1182     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1183     ;;
   1184 
   1185   esac
   1186 done
   1187 
   1188 if test -n "$ac_prev"; then
   1189   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1190   as_fn_error $? "missing argument to $ac_option"
   1191 fi
   1192 
   1193 if test -n "$ac_unrecognized_opts"; then
   1194   case $enable_option_checking in
   1195     no) ;;
   1196     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1197     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1198   esac
   1199 fi
   1200 
   1201 # Check all directory arguments for consistency.
   1202 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1203 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1204 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1205 		libdir localedir mandir
   1206 do
   1207   eval ac_val=\$$ac_var
   1208   # Remove trailing slashes.
   1209   case $ac_val in
   1210     */ )
   1211       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1212       eval $ac_var=\$ac_val;;
   1213   esac
   1214   # Be sure to have absolute directory names.
   1215   case $ac_val in
   1216     [\\/$]* | ?:[\\/]* )  continue;;
   1217     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1218   esac
   1219   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1220 done
   1221 
   1222 # There might be people who depend on the old broken behavior: `$host'
   1223 # used to hold the argument of --host etc.
   1224 # FIXME: To remove some day.
   1225 build=$build_alias
   1226 host=$host_alias
   1227 target=$target_alias
   1228 
   1229 # FIXME: To remove some day.
   1230 if test "x$host_alias" != x; then
   1231   if test "x$build_alias" = x; then
   1232     cross_compiling=maybe
   1233   elif test "x$build_alias" != "x$host_alias"; then
   1234     cross_compiling=yes
   1235   fi
   1236 fi
   1237 
   1238 ac_tool_prefix=
   1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1240 
   1241 test "$silent" = yes && exec 6>/dev/null
   1242 
   1243 
   1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1245 ac_ls_di=`ls -di .` &&
   1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1247   as_fn_error $? "working directory cannot be determined"
   1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1249   as_fn_error $? "pwd does not report name of working directory"
   1250 
   1251 
   1252 # Find the source files, if location was not specified.
   1253 if test -z "$srcdir"; then
   1254   ac_srcdir_defaulted=yes
   1255   # Try the directory containing this script, then the parent directory.
   1256   ac_confdir=`$as_dirname -- "$as_myself" ||
   1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1258 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1259 	 X"$as_myself" : 'X\(//\)$' \| \
   1260 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1261 $as_echo X"$as_myself" |
   1262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\/\)[^/].*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  /^X\(\/\/\)$/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\).*/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  s/.*/./; q'`
   1279   srcdir=$ac_confdir
   1280   if test ! -r "$srcdir/$ac_unique_file"; then
   1281     srcdir=..
   1282   fi
   1283 else
   1284   ac_srcdir_defaulted=no
   1285 fi
   1286 if test ! -r "$srcdir/$ac_unique_file"; then
   1287   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1288   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1289 fi
   1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1291 ac_abs_confdir=`(
   1292 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1293 	pwd)`
   1294 # When building in place, set srcdir=.
   1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1296   srcdir=.
   1297 fi
   1298 # Remove unnecessary trailing slashes from srcdir.
   1299 # Double slashes in file names in object file debugging info
   1300 # mess up M-x gdb in Emacs.
   1301 case $srcdir in
   1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1303 esac
   1304 for ac_var in $ac_precious_vars; do
   1305   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1306   eval ac_env_${ac_var}_value=\$${ac_var}
   1307   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1308   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1309 done
   1310 
   1311 #
   1312 # Report the --help message.
   1313 #
   1314 if test "$ac_init_help" = "long"; then
   1315   # Omit some internal or obsolete options to make the list less imposing.
   1316   # This message is too long to be a string in the A/UX 3.1 sh.
   1317   cat <<_ACEOF
   1318 \`configure' configures sessreg 1.1.2 to adapt to many kinds of systems.
   1319 
   1320 Usage: $0 [OPTION]... [VAR=VALUE]...
   1321 
   1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1323 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1324 
   1325 Defaults for the options are specified in brackets.
   1326 
   1327 Configuration:
   1328   -h, --help              display this help and exit
   1329       --help=short        display options specific to this package
   1330       --help=recursive    display the short help of all the included packages
   1331   -V, --version           display version information and exit
   1332   -q, --quiet, --silent   do not print \`checking ...' messages
   1333       --cache-file=FILE   cache test results in FILE [disabled]
   1334   -C, --config-cache      alias for \`--cache-file=config.cache'
   1335   -n, --no-create         do not create output files
   1336       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1337 
   1338 Installation directories:
   1339   --prefix=PREFIX         install architecture-independent files in PREFIX
   1340                           [$ac_default_prefix]
   1341   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1342                           [PREFIX]
   1343 
   1344 By default, \`make install' will install all the files in
   1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1347 for instance \`--prefix=\$HOME'.
   1348 
   1349 For better control, use the options below.
   1350 
   1351 Fine tuning of the installation directories:
   1352   --bindir=DIR            user executables [EPREFIX/bin]
   1353   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1354   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1355   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1356   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1357   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1358   --libdir=DIR            object code libraries [EPREFIX/lib]
   1359   --includedir=DIR        C header files [PREFIX/include]
   1360   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1361   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1362   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1363   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1364   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1365   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1366   --docdir=DIR            documentation root [DATAROOTDIR/doc/sessreg]
   1367   --htmldir=DIR           html documentation [DOCDIR]
   1368   --dvidir=DIR            dvi documentation [DOCDIR]
   1369   --pdfdir=DIR            pdf documentation [DOCDIR]
   1370   --psdir=DIR             ps documentation [DOCDIR]
   1371 _ACEOF
   1372 
   1373   cat <<\_ACEOF
   1374 
   1375 Program names:
   1376   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1377   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1378   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1379 
   1380 System types:
   1381   --build=BUILD     configure for building on BUILD [guessed]
   1382   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1383 _ACEOF
   1384 fi
   1385 
   1386 if test -n "$ac_init_help"; then
   1387   case $ac_init_help in
   1388      short | recursive ) echo "Configuration of sessreg 1.1.2:";;
   1389    esac
   1390   cat <<\_ACEOF
   1391 
   1392 Optional Features:
   1393   --disable-option-checking  ignore unrecognized --enable/--with options
   1394   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1395   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1396   --disable-largefile     omit support for large files
   1397   --enable-dependency-tracking
   1398                           do not reject slow dependency extractors
   1399   --disable-dependency-tracking
   1400                           speeds up one-time build
   1401   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1402   --disable-silent-rules  verbose build output (undo: "make V=0")
   1403   --disable-selective-werror
   1404                           Turn off selective compiler errors. (default:
   1405                           enabled)
   1406   --enable-strict-compilation
   1407                           Enable all warnings from compiler and make them
   1408                           errors (default: disabled)
   1409 
   1410 Optional Packages:
   1411   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1412   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1413   --with-lint             Use a lint-style source code checker (default:
   1414                           disabled)
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   CPP         C preprocessor
   1425   PKG_CONFIG  path to pkg-config utility
   1426   PKG_CONFIG_PATH
   1427               directories to add to pkg-config's search path
   1428   PKG_CONFIG_LIBDIR
   1429               path overriding pkg-config's built-in search path
   1430   LINT        Path to a lint-style command
   1431   LINT_FLAGS  Flags for the lint-style command
   1432   SESSREG_CFLAGS
   1433               C compiler flags for SESSREG, overriding pkg-config
   1434   SESSREG_LIBS
   1435               linker flags for SESSREG, overriding pkg-config
   1436 
   1437 Use these variables to override the choices made by `configure' or to help
   1438 it to find libraries and programs with nonstandard names/locations.
   1439 
   1440 Report bugs to <https://gitlab.freedesktop.org/xorg/app/sessreg/issues>.
   1441 _ACEOF
   1442 ac_status=$?
   1443 fi
   1444 
   1445 if test "$ac_init_help" = "recursive"; then
   1446   # If there are subdirs, report their specific --help.
   1447   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1448     test -d "$ac_dir" ||
   1449       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1450       continue
   1451     ac_builddir=.
   1452 
   1453 case "$ac_dir" in
   1454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1455 *)
   1456   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1457   # A ".." for each directory in $ac_dir_suffix.
   1458   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1459   case $ac_top_builddir_sub in
   1460   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1461   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1462   esac ;;
   1463 esac
   1464 ac_abs_top_builddir=$ac_pwd
   1465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1466 # for backward compatibility:
   1467 ac_top_builddir=$ac_top_build_prefix
   1468 
   1469 case $srcdir in
   1470   .)  # We are building in place.
   1471     ac_srcdir=.
   1472     ac_top_srcdir=$ac_top_builddir_sub
   1473     ac_abs_top_srcdir=$ac_pwd ;;
   1474   [\\/]* | ?:[\\/]* )  # Absolute name.
   1475     ac_srcdir=$srcdir$ac_dir_suffix;
   1476     ac_top_srcdir=$srcdir
   1477     ac_abs_top_srcdir=$srcdir ;;
   1478   *) # Relative name.
   1479     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1480     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1481     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1482 esac
   1483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1484 
   1485     cd "$ac_dir" || { ac_status=$?; continue; }
   1486     # Check for guested configure.
   1487     if test -f "$ac_srcdir/configure.gnu"; then
   1488       echo &&
   1489       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1490     elif test -f "$ac_srcdir/configure"; then
   1491       echo &&
   1492       $SHELL "$ac_srcdir/configure" --help=recursive
   1493     else
   1494       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1495     fi || ac_status=$?
   1496     cd "$ac_pwd" || { ac_status=$?; break; }
   1497   done
   1498 fi
   1499 
   1500 test -n "$ac_init_help" && exit $ac_status
   1501 if $ac_init_version; then
   1502   cat <<\_ACEOF
   1503 sessreg configure 1.1.2
   1504 generated by GNU Autoconf 2.69
   1505 
   1506 Copyright (C) 2012 Free Software Foundation, Inc.
   1507 This configure script is free software; the Free Software Foundation
   1508 gives unlimited permission to copy, distribute and modify it.
   1509 _ACEOF
   1510   exit
   1511 fi
   1512 
   1513 ## ------------------------ ##
   1514 ## Autoconf initialization. ##
   1515 ## ------------------------ ##
   1516 
   1517 # ac_fn_c_try_compile LINENO
   1518 # --------------------------
   1519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1520 ac_fn_c_try_compile ()
   1521 {
   1522   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1523   rm -f conftest.$ac_objext
   1524   if { { ac_try="$ac_compile"
   1525 case "(($ac_try" in
   1526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1527   *) ac_try_echo=$ac_try;;
   1528 esac
   1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1530 $as_echo "$ac_try_echo"; } >&5
   1531   (eval "$ac_compile") 2>conftest.err
   1532   ac_status=$?
   1533   if test -s conftest.err; then
   1534     grep -v '^ *+' conftest.err >conftest.er1
   1535     cat conftest.er1 >&5
   1536     mv -f conftest.er1 conftest.err
   1537   fi
   1538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1539   test $ac_status = 0; } && {
   1540 	 test -z "$ac_c_werror_flag" ||
   1541 	 test ! -s conftest.err
   1542        } && test -s conftest.$ac_objext; then :
   1543   ac_retval=0
   1544 else
   1545   $as_echo "$as_me: failed program was:" >&5
   1546 sed 's/^/| /' conftest.$ac_ext >&5
   1547 
   1548 	ac_retval=1
   1549 fi
   1550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1551   as_fn_set_status $ac_retval
   1552 
   1553 } # ac_fn_c_try_compile
   1554 
   1555 # ac_fn_c_try_cpp LINENO
   1556 # ----------------------
   1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1558 ac_fn_c_try_cpp ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1562 case "(($ac_try" in
   1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1564   *) ac_try_echo=$ac_try;;
   1565 esac
   1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1567 $as_echo "$ac_try_echo"; } >&5
   1568   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1569   ac_status=$?
   1570   if test -s conftest.err; then
   1571     grep -v '^ *+' conftest.err >conftest.er1
   1572     cat conftest.er1 >&5
   1573     mv -f conftest.er1 conftest.err
   1574   fi
   1575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1576   test $ac_status = 0; } > conftest.i && {
   1577 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1578 	 test ! -s conftest.err
   1579        }; then :
   1580   ac_retval=0
   1581 else
   1582   $as_echo "$as_me: failed program was:" >&5
   1583 sed 's/^/| /' conftest.$ac_ext >&5
   1584 
   1585     ac_retval=1
   1586 fi
   1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1588   as_fn_set_status $ac_retval
   1589 
   1590 } # ac_fn_c_try_cpp
   1591 
   1592 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1593 # -------------------------------------------------------
   1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1595 # the include files in INCLUDES and setting the cache variable VAR
   1596 # accordingly.
   1597 ac_fn_c_check_header_mongrel ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   if eval \${$3+:} false; then :
   1601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1602 $as_echo_n "checking for $2... " >&6; }
   1603 if eval \${$3+:} false; then :
   1604   $as_echo_n "(cached) " >&6
   1605 fi
   1606 eval ac_res=\$$3
   1607 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1608 $as_echo "$ac_res" >&6; }
   1609 else
   1610   # Is the header compilable?
   1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1612 $as_echo_n "checking $2 usability... " >&6; }
   1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 $4
   1616 #include <$2>
   1617 _ACEOF
   1618 if ac_fn_c_try_compile "$LINENO"; then :
   1619   ac_header_compiler=yes
   1620 else
   1621   ac_header_compiler=no
   1622 fi
   1623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1625 $as_echo "$ac_header_compiler" >&6; }
   1626 
   1627 # Is the header present?
   1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1629 $as_echo_n "checking $2 presence... " >&6; }
   1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1631 /* end confdefs.h.  */
   1632 #include <$2>
   1633 _ACEOF
   1634 if ac_fn_c_try_cpp "$LINENO"; then :
   1635   ac_header_preproc=yes
   1636 else
   1637   ac_header_preproc=no
   1638 fi
   1639 rm -f conftest.err conftest.i conftest.$ac_ext
   1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1641 $as_echo "$ac_header_preproc" >&6; }
   1642 
   1643 # So?  What about this header?
   1644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1645   yes:no: )
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1650     ;;
   1651   no:yes:* )
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1655 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1659 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1662 ( $as_echo "## --------------------------------------------------------------------- ##
   1663 ## Report this to https://gitlab.freedesktop.org/xorg/app/sessreg/issues ##
   1664 ## --------------------------------------------------------------------- ##"
   1665      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1666     ;;
   1667 esac
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   eval "$3=\$ac_header_compiler"
   1674 fi
   1675 eval ac_res=\$$3
   1676 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1677 $as_echo "$ac_res" >&6; }
   1678 fi
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_mongrel
   1682 
   1683 # ac_fn_c_try_run LINENO
   1684 # ----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1686 # that executables *can* be run.
   1687 ac_fn_c_try_run ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 $as_echo "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>&5
   1698   ac_status=$?
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1701   { { case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_try") 2>&5
   1708   ac_status=$?
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; }; }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: program exited with status $ac_status" >&5
   1714        $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717        ac_retval=$ac_status
   1718 fi
   1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_run
   1724 
   1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1726 # -------------------------------------------------------
   1727 # Tests whether HEADER exists and can be compiled using the include files in
   1728 # INCLUDES, setting the cache variable VAR accordingly.
   1729 ac_fn_c_check_header_compile ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1733 $as_echo_n "checking for $2... " >&6; }
   1734 if eval \${$3+:} false; then :
   1735   $as_echo_n "(cached) " >&6
   1736 else
   1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 $4
   1740 #include <$2>
   1741 _ACEOF
   1742 if ac_fn_c_try_compile "$LINENO"; then :
   1743   eval "$3=yes"
   1744 else
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 $as_echo "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1757 # ---------------------------------------------
   1758 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1759 # accordingly.
   1760 ac_fn_c_check_decl ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1764   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1766 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1767 if eval \${$3+:} false; then :
   1768   $as_echo_n "(cached) " >&6
   1769 else
   1770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1771 /* end confdefs.h.  */
   1772 $4
   1773 int
   1774 main ()
   1775 {
   1776 #ifndef $as_decl_name
   1777 #ifdef __cplusplus
   1778   (void) $as_decl_use;
   1779 #else
   1780   (void) $as_decl_name;
   1781 #endif
   1782 #endif
   1783 
   1784   ;
   1785   return 0;
   1786 }
   1787 _ACEOF
   1788 if ac_fn_c_try_compile "$LINENO"; then :
   1789   eval "$3=yes"
   1790 else
   1791   eval "$3=no"
   1792 fi
   1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1794 fi
   1795 eval ac_res=\$$3
   1796 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1797 $as_echo "$ac_res" >&6; }
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799 
   1800 } # ac_fn_c_check_decl
   1801 
   1802 # ac_fn_c_try_link LINENO
   1803 # -----------------------
   1804 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1805 ac_fn_c_try_link ()
   1806 {
   1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1808   rm -f conftest.$ac_objext conftest$ac_exeext
   1809   if { { ac_try="$ac_link"
   1810 case "(($ac_try" in
   1811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1812   *) ac_try_echo=$ac_try;;
   1813 esac
   1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1815 $as_echo "$ac_try_echo"; } >&5
   1816   (eval "$ac_link") 2>conftest.err
   1817   ac_status=$?
   1818   if test -s conftest.err; then
   1819     grep -v '^ *+' conftest.err >conftest.er1
   1820     cat conftest.er1 >&5
   1821     mv -f conftest.er1 conftest.err
   1822   fi
   1823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1824   test $ac_status = 0; } && {
   1825 	 test -z "$ac_c_werror_flag" ||
   1826 	 test ! -s conftest.err
   1827        } && test -s conftest$ac_exeext && {
   1828 	 test "$cross_compiling" = yes ||
   1829 	 test -x conftest$ac_exeext
   1830        }; then :
   1831   ac_retval=0
   1832 else
   1833   $as_echo "$as_me: failed program was:" >&5
   1834 sed 's/^/| /' conftest.$ac_ext >&5
   1835 
   1836 	ac_retval=1
   1837 fi
   1838   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1839   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1840   # interfere with the next link command; also delete a directory that is
   1841   # left behind by Apple's compiler.  We do this before executing the actions.
   1842   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844   as_fn_set_status $ac_retval
   1845 
   1846 } # ac_fn_c_try_link
   1847 
   1848 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1849 # ----------------------------------------------------
   1850 # Tries to find if the field MEMBER exists in type AGGR, after including
   1851 # INCLUDES, setting cache variable VAR accordingly.
   1852 ac_fn_c_check_member ()
   1853 {
   1854   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1856 $as_echo_n "checking for $2.$3... " >&6; }
   1857 if eval \${$4+:} false; then :
   1858   $as_echo_n "(cached) " >&6
   1859 else
   1860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1861 /* end confdefs.h.  */
   1862 $5
   1863 int
   1864 main ()
   1865 {
   1866 static $2 ac_aggr;
   1867 if (ac_aggr.$3)
   1868 return 0;
   1869   ;
   1870   return 0;
   1871 }
   1872 _ACEOF
   1873 if ac_fn_c_try_compile "$LINENO"; then :
   1874   eval "$4=yes"
   1875 else
   1876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1877 /* end confdefs.h.  */
   1878 $5
   1879 int
   1880 main ()
   1881 {
   1882 static $2 ac_aggr;
   1883 if (sizeof ac_aggr.$3)
   1884 return 0;
   1885   ;
   1886   return 0;
   1887 }
   1888 _ACEOF
   1889 if ac_fn_c_try_compile "$LINENO"; then :
   1890   eval "$4=yes"
   1891 else
   1892   eval "$4=no"
   1893 fi
   1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1895 fi
   1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1897 fi
   1898 eval ac_res=\$$4
   1899 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1900 $as_echo "$ac_res" >&6; }
   1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1902 
   1903 } # ac_fn_c_check_member
   1904 
   1905 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1906 # -------------------------------------------
   1907 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1908 # variable VAR accordingly.
   1909 ac_fn_c_check_type ()
   1910 {
   1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1913 $as_echo_n "checking for $2... " >&6; }
   1914 if eval \${$3+:} false; then :
   1915   $as_echo_n "(cached) " >&6
   1916 else
   1917   eval "$3=no"
   1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1919 /* end confdefs.h.  */
   1920 $4
   1921 int
   1922 main ()
   1923 {
   1924 if (sizeof ($2))
   1925 	 return 0;
   1926   ;
   1927   return 0;
   1928 }
   1929 _ACEOF
   1930 if ac_fn_c_try_compile "$LINENO"; then :
   1931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1932 /* end confdefs.h.  */
   1933 $4
   1934 int
   1935 main ()
   1936 {
   1937 if (sizeof (($2)))
   1938 	    return 0;
   1939   ;
   1940   return 0;
   1941 }
   1942 _ACEOF
   1943 if ac_fn_c_try_compile "$LINENO"; then :
   1944 
   1945 else
   1946   eval "$3=yes"
   1947 fi
   1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1949 fi
   1950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1951 fi
   1952 eval ac_res=\$$3
   1953 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1954 $as_echo "$ac_res" >&6; }
   1955   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1956 
   1957 } # ac_fn_c_check_type
   1958 
   1959 # ac_fn_c_check_func LINENO FUNC VAR
   1960 # ----------------------------------
   1961 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1962 ac_fn_c_check_func ()
   1963 {
   1964   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1966 $as_echo_n "checking for $2... " >&6; }
   1967 if eval \${$3+:} false; then :
   1968   $as_echo_n "(cached) " >&6
   1969 else
   1970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1971 /* end confdefs.h.  */
   1972 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1974 #define $2 innocuous_$2
   1975 
   1976 /* System header to define __stub macros and hopefully few prototypes,
   1977     which can conflict with char $2 (); below.
   1978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1979     <limits.h> exists even on freestanding compilers.  */
   1980 
   1981 #ifdef __STDC__
   1982 # include <limits.h>
   1983 #else
   1984 # include <assert.h>
   1985 #endif
   1986 
   1987 #undef $2
   1988 
   1989 /* Override any GCC internal prototype to avoid an error.
   1990    Use char because int might match the return type of a GCC
   1991    builtin and then its argument prototype would still apply.  */
   1992 #ifdef __cplusplus
   1993 extern "C"
   1994 #endif
   1995 char $2 ();
   1996 /* The GNU C library defines this for functions which it implements
   1997     to always fail with ENOSYS.  Some functions are actually named
   1998     something starting with __ and the normal name is an alias.  */
   1999 #if defined __stub_$2 || defined __stub___$2
   2000 choke me
   2001 #endif
   2002 
   2003 int
   2004 main ()
   2005 {
   2006 return $2 ();
   2007   ;
   2008   return 0;
   2009 }
   2010 _ACEOF
   2011 if ac_fn_c_try_link "$LINENO"; then :
   2012   eval "$3=yes"
   2013 else
   2014   eval "$3=no"
   2015 fi
   2016 rm -f core conftest.err conftest.$ac_objext \
   2017     conftest$ac_exeext conftest.$ac_ext
   2018 fi
   2019 eval ac_res=\$$3
   2020 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2021 $as_echo "$ac_res" >&6; }
   2022   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2023 
   2024 } # ac_fn_c_check_func
   2025 cat >config.log <<_ACEOF
   2026 This file contains any messages produced by compilers while
   2027 running configure, to aid debugging if configure makes a mistake.
   2028 
   2029 It was created by sessreg $as_me 1.1.2, which was
   2030 generated by GNU Autoconf 2.69.  Invocation command line was
   2031 
   2032   $ $0 $@
   2033 
   2034 _ACEOF
   2035 exec 5>>config.log
   2036 {
   2037 cat <<_ASUNAME
   2038 ## --------- ##
   2039 ## Platform. ##
   2040 ## --------- ##
   2041 
   2042 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2043 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2044 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2045 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2046 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2047 
   2048 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2049 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2050 
   2051 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2052 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2053 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2054 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2055 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2056 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2057 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2058 
   2059 _ASUNAME
   2060 
   2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2062 for as_dir in $PATH
   2063 do
   2064   IFS=$as_save_IFS
   2065   test -z "$as_dir" && as_dir=.
   2066     $as_echo "PATH: $as_dir"
   2067   done
   2068 IFS=$as_save_IFS
   2069 
   2070 } >&5
   2071 
   2072 cat >&5 <<_ACEOF
   2073 
   2074 
   2075 ## ----------- ##
   2076 ## Core tests. ##
   2077 ## ----------- ##
   2078 
   2079 _ACEOF
   2080 
   2081 
   2082 # Keep a trace of the command line.
   2083 # Strip out --no-create and --no-recursion so they do not pile up.
   2084 # Strip out --silent because we don't want to record it for future runs.
   2085 # Also quote any args containing shell meta-characters.
   2086 # Make two passes to allow for proper duplicate-argument suppression.
   2087 ac_configure_args=
   2088 ac_configure_args0=
   2089 ac_configure_args1=
   2090 ac_must_keep_next=false
   2091 for ac_pass in 1 2
   2092 do
   2093   for ac_arg
   2094   do
   2095     case $ac_arg in
   2096     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2097     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2098     | -silent | --silent | --silen | --sile | --sil)
   2099       continue ;;
   2100     *\'*)
   2101       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2102     esac
   2103     case $ac_pass in
   2104     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2105     2)
   2106       as_fn_append ac_configure_args1 " '$ac_arg'"
   2107       if test $ac_must_keep_next = true; then
   2108 	ac_must_keep_next=false # Got value, back to normal.
   2109       else
   2110 	case $ac_arg in
   2111 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2112 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2113 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2114 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2115 	    case "$ac_configure_args0 " in
   2116 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2117 	    esac
   2118 	    ;;
   2119 	  -* ) ac_must_keep_next=true ;;
   2120 	esac
   2121       fi
   2122       as_fn_append ac_configure_args " '$ac_arg'"
   2123       ;;
   2124     esac
   2125   done
   2126 done
   2127 { ac_configure_args0=; unset ac_configure_args0;}
   2128 { ac_configure_args1=; unset ac_configure_args1;}
   2129 
   2130 # When interrupted or exit'd, cleanup temporary files, and complete
   2131 # config.log.  We remove comments because anyway the quotes in there
   2132 # would cause problems or look ugly.
   2133 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2134 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2135 trap 'exit_status=$?
   2136   # Save into config.log some information that might help in debugging.
   2137   {
   2138     echo
   2139 
   2140     $as_echo "## ---------------- ##
   2141 ## Cache variables. ##
   2142 ## ---------------- ##"
   2143     echo
   2144     # The following way of writing the cache mishandles newlines in values,
   2145 (
   2146   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2147     eval ac_val=\$$ac_var
   2148     case $ac_val in #(
   2149     *${as_nl}*)
   2150       case $ac_var in #(
   2151       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2152 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2153       esac
   2154       case $ac_var in #(
   2155       _ | IFS | as_nl) ;; #(
   2156       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2157       *) { eval $ac_var=; unset $ac_var;} ;;
   2158       esac ;;
   2159     esac
   2160   done
   2161   (set) 2>&1 |
   2162     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2163     *${as_nl}ac_space=\ *)
   2164       sed -n \
   2165 	"s/'\''/'\''\\\\'\'''\''/g;
   2166 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2167       ;; #(
   2168     *)
   2169       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2170       ;;
   2171     esac |
   2172     sort
   2173 )
   2174     echo
   2175 
   2176     $as_echo "## ----------------- ##
   2177 ## Output variables. ##
   2178 ## ----------------- ##"
   2179     echo
   2180     for ac_var in $ac_subst_vars
   2181     do
   2182       eval ac_val=\$$ac_var
   2183       case $ac_val in
   2184       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2185       esac
   2186       $as_echo "$ac_var='\''$ac_val'\''"
   2187     done | sort
   2188     echo
   2189 
   2190     if test -n "$ac_subst_files"; then
   2191       $as_echo "## ------------------- ##
   2192 ## File substitutions. ##
   2193 ## ------------------- ##"
   2194       echo
   2195       for ac_var in $ac_subst_files
   2196       do
   2197 	eval ac_val=\$$ac_var
   2198 	case $ac_val in
   2199 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2200 	esac
   2201 	$as_echo "$ac_var='\''$ac_val'\''"
   2202       done | sort
   2203       echo
   2204     fi
   2205 
   2206     if test -s confdefs.h; then
   2207       $as_echo "## ----------- ##
   2208 ## confdefs.h. ##
   2209 ## ----------- ##"
   2210       echo
   2211       cat confdefs.h
   2212       echo
   2213     fi
   2214     test "$ac_signal" != 0 &&
   2215       $as_echo "$as_me: caught signal $ac_signal"
   2216     $as_echo "$as_me: exit $exit_status"
   2217   } >&5
   2218   rm -f core *.core core.conftest.* &&
   2219     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2220     exit $exit_status
   2221 ' 0
   2222 for ac_signal in 1 2 13 15; do
   2223   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2224 done
   2225 ac_signal=0
   2226 
   2227 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2228 rm -f -r conftest* confdefs.h
   2229 
   2230 $as_echo "/* confdefs.h */" > confdefs.h
   2231 
   2232 # Predefined preprocessor variables.
   2233 
   2234 cat >>confdefs.h <<_ACEOF
   2235 #define PACKAGE_NAME "$PACKAGE_NAME"
   2236 _ACEOF
   2237 
   2238 cat >>confdefs.h <<_ACEOF
   2239 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2240 _ACEOF
   2241 
   2242 cat >>confdefs.h <<_ACEOF
   2243 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2244 _ACEOF
   2245 
   2246 cat >>confdefs.h <<_ACEOF
   2247 #define PACKAGE_STRING "$PACKAGE_STRING"
   2248 _ACEOF
   2249 
   2250 cat >>confdefs.h <<_ACEOF
   2251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2252 _ACEOF
   2253 
   2254 cat >>confdefs.h <<_ACEOF
   2255 #define PACKAGE_URL "$PACKAGE_URL"
   2256 _ACEOF
   2257 
   2258 
   2259 # Let the site file select an alternate cache file if it wants to.
   2260 # Prefer an explicitly selected file to automatically selected ones.
   2261 ac_site_file1=NONE
   2262 ac_site_file2=NONE
   2263 if test -n "$CONFIG_SITE"; then
   2264   # We do not want a PATH search for config.site.
   2265   case $CONFIG_SITE in #((
   2266     -*)  ac_site_file1=./$CONFIG_SITE;;
   2267     */*) ac_site_file1=$CONFIG_SITE;;
   2268     *)   ac_site_file1=./$CONFIG_SITE;;
   2269   esac
   2270 elif test "x$prefix" != xNONE; then
   2271   ac_site_file1=$prefix/share/config.site
   2272   ac_site_file2=$prefix/etc/config.site
   2273 else
   2274   ac_site_file1=$ac_default_prefix/share/config.site
   2275   ac_site_file2=$ac_default_prefix/etc/config.site
   2276 fi
   2277 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2278 do
   2279   test "x$ac_site_file" = xNONE && continue
   2280   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2281     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2282 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2283     sed 's/^/| /' "$ac_site_file" >&5
   2284     . "$ac_site_file" \
   2285       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2287 as_fn_error $? "failed to load site script $ac_site_file
   2288 See \`config.log' for more details" "$LINENO" 5; }
   2289   fi
   2290 done
   2291 
   2292 if test -r "$cache_file"; then
   2293   # Some versions of bash will fail to source /dev/null (special files
   2294   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2295   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2296     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2297 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2298     case $cache_file in
   2299       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2300       *)                      . "./$cache_file";;
   2301     esac
   2302   fi
   2303 else
   2304   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2305 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2306   >$cache_file
   2307 fi
   2308 
   2309 # Check that the precious variables saved in the cache have kept the same
   2310 # value.
   2311 ac_cache_corrupted=false
   2312 for ac_var in $ac_precious_vars; do
   2313   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2314   eval ac_new_set=\$ac_env_${ac_var}_set
   2315   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2316   eval ac_new_val=\$ac_env_${ac_var}_value
   2317   case $ac_old_set,$ac_new_set in
   2318     set,)
   2319       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2320 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2321       ac_cache_corrupted=: ;;
   2322     ,set)
   2323       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2324 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2325       ac_cache_corrupted=: ;;
   2326     ,);;
   2327     *)
   2328       if test "x$ac_old_val" != "x$ac_new_val"; then
   2329 	# differences in whitespace do not lead to failure.
   2330 	ac_old_val_w=`echo x $ac_old_val`
   2331 	ac_new_val_w=`echo x $ac_new_val`
   2332 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2333 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2334 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2335 	  ac_cache_corrupted=:
   2336 	else
   2337 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2338 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2339 	  eval $ac_var=\$ac_old_val
   2340 	fi
   2341 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2342 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2343 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2344 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2345       fi;;
   2346   esac
   2347   # Pass precious variables to config.status.
   2348   if test "$ac_new_set" = set; then
   2349     case $ac_new_val in
   2350     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2351     *) ac_arg=$ac_var=$ac_new_val ;;
   2352     esac
   2353     case " $ac_configure_args " in
   2354       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2355       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2356     esac
   2357   fi
   2358 done
   2359 if $ac_cache_corrupted; then
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2362   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2363 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2364   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2365 fi
   2366 ## -------------------- ##
   2367 ## Main body of script. ##
   2368 ## -------------------- ##
   2369 
   2370 ac_ext=c
   2371 ac_cpp='$CPP $CPPFLAGS'
   2372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2375 
   2376 
   2377 
   2378 ac_config_headers="$ac_config_headers config.h"
   2379 
   2380 ac_aux_dir=
   2381 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2382   if test -f "$ac_dir/install-sh"; then
   2383     ac_aux_dir=$ac_dir
   2384     ac_install_sh="$ac_aux_dir/install-sh -c"
   2385     break
   2386   elif test -f "$ac_dir/install.sh"; then
   2387     ac_aux_dir=$ac_dir
   2388     ac_install_sh="$ac_aux_dir/install.sh -c"
   2389     break
   2390   elif test -f "$ac_dir/shtool"; then
   2391     ac_aux_dir=$ac_dir
   2392     ac_install_sh="$ac_aux_dir/shtool install -c"
   2393     break
   2394   fi
   2395 done
   2396 if test -z "$ac_aux_dir"; then
   2397   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2398 fi
   2399 
   2400 # These three variables are undocumented and unsupported,
   2401 # and are intended to be withdrawn in a future Autoconf release.
   2402 # They can cause serious problems if a builder's source tree is in a directory
   2403 # whose full name contains unusual characters.
   2404 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2405 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2406 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2407 
   2408 
   2409 # Expand $ac_aux_dir to an absolute path.
   2410 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2411 
   2412 ac_ext=c
   2413 ac_cpp='$CPP $CPPFLAGS'
   2414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2417 if test -n "$ac_tool_prefix"; then
   2418   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2419 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2421 $as_echo_n "checking for $ac_word... " >&6; }
   2422 if ${ac_cv_prog_CC+:} false; then :
   2423   $as_echo_n "(cached) " >&6
   2424 else
   2425   if test -n "$CC"; then
   2426   ac_cv_prog_CC="$CC" # Let the user override the test.
   2427 else
   2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2429 for as_dir in $PATH
   2430 do
   2431   IFS=$as_save_IFS
   2432   test -z "$as_dir" && as_dir=.
   2433     for ac_exec_ext in '' $ac_executable_extensions; do
   2434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2435     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2437     break 2
   2438   fi
   2439 done
   2440   done
   2441 IFS=$as_save_IFS
   2442 
   2443 fi
   2444 fi
   2445 CC=$ac_cv_prog_CC
   2446 if test -n "$CC"; then
   2447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2448 $as_echo "$CC" >&6; }
   2449 else
   2450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2451 $as_echo "no" >&6; }
   2452 fi
   2453 
   2454 
   2455 fi
   2456 if test -z "$ac_cv_prog_CC"; then
   2457   ac_ct_CC=$CC
   2458   # Extract the first word of "gcc", so it can be a program name with args.
   2459 set dummy gcc; ac_word=$2
   2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2461 $as_echo_n "checking for $ac_word... " >&6; }
   2462 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2463   $as_echo_n "(cached) " >&6
   2464 else
   2465   if test -n "$ac_ct_CC"; then
   2466   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2467 else
   2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2469 for as_dir in $PATH
   2470 do
   2471   IFS=$as_save_IFS
   2472   test -z "$as_dir" && as_dir=.
   2473     for ac_exec_ext in '' $ac_executable_extensions; do
   2474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2475     ac_cv_prog_ac_ct_CC="gcc"
   2476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2477     break 2
   2478   fi
   2479 done
   2480   done
   2481 IFS=$as_save_IFS
   2482 
   2483 fi
   2484 fi
   2485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2486 if test -n "$ac_ct_CC"; then
   2487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2488 $as_echo "$ac_ct_CC" >&6; }
   2489 else
   2490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2491 $as_echo "no" >&6; }
   2492 fi
   2493 
   2494   if test "x$ac_ct_CC" = x; then
   2495     CC=""
   2496   else
   2497     case $cross_compiling:$ac_tool_warned in
   2498 yes:)
   2499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2501 ac_tool_warned=yes ;;
   2502 esac
   2503     CC=$ac_ct_CC
   2504   fi
   2505 else
   2506   CC="$ac_cv_prog_CC"
   2507 fi
   2508 
   2509 if test -z "$CC"; then
   2510           if test -n "$ac_tool_prefix"; then
   2511     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2512 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2514 $as_echo_n "checking for $ac_word... " >&6; }
   2515 if ${ac_cv_prog_CC+:} false; then :
   2516   $as_echo_n "(cached) " >&6
   2517 else
   2518   if test -n "$CC"; then
   2519   ac_cv_prog_CC="$CC" # Let the user override the test.
   2520 else
   2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2522 for as_dir in $PATH
   2523 do
   2524   IFS=$as_save_IFS
   2525   test -z "$as_dir" && as_dir=.
   2526     for ac_exec_ext in '' $ac_executable_extensions; do
   2527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2528     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2530     break 2
   2531   fi
   2532 done
   2533   done
   2534 IFS=$as_save_IFS
   2535 
   2536 fi
   2537 fi
   2538 CC=$ac_cv_prog_CC
   2539 if test -n "$CC"; then
   2540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2541 $as_echo "$CC" >&6; }
   2542 else
   2543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2544 $as_echo "no" >&6; }
   2545 fi
   2546 
   2547 
   2548   fi
   2549 fi
   2550 if test -z "$CC"; then
   2551   # Extract the first word of "cc", so it can be a program name with args.
   2552 set dummy cc; ac_word=$2
   2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2554 $as_echo_n "checking for $ac_word... " >&6; }
   2555 if ${ac_cv_prog_CC+:} false; then :
   2556   $as_echo_n "(cached) " >&6
   2557 else
   2558   if test -n "$CC"; then
   2559   ac_cv_prog_CC="$CC" # Let the user override the test.
   2560 else
   2561   ac_prog_rejected=no
   2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2563 for as_dir in $PATH
   2564 do
   2565   IFS=$as_save_IFS
   2566   test -z "$as_dir" && as_dir=.
   2567     for ac_exec_ext in '' $ac_executable_extensions; do
   2568   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2569     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2570        ac_prog_rejected=yes
   2571        continue
   2572      fi
   2573     ac_cv_prog_CC="cc"
   2574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2575     break 2
   2576   fi
   2577 done
   2578   done
   2579 IFS=$as_save_IFS
   2580 
   2581 if test $ac_prog_rejected = yes; then
   2582   # We found a bogon in the path, so make sure we never use it.
   2583   set dummy $ac_cv_prog_CC
   2584   shift
   2585   if test $# != 0; then
   2586     # We chose a different compiler from the bogus one.
   2587     # However, it has the same basename, so the bogon will be chosen
   2588     # first if we set CC to just the basename; use the full file name.
   2589     shift
   2590     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2591   fi
   2592 fi
   2593 fi
   2594 fi
   2595 CC=$ac_cv_prog_CC
   2596 if test -n "$CC"; then
   2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2598 $as_echo "$CC" >&6; }
   2599 else
   2600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2601 $as_echo "no" >&6; }
   2602 fi
   2603 
   2604 
   2605 fi
   2606 if test -z "$CC"; then
   2607   if test -n "$ac_tool_prefix"; then
   2608   for ac_prog in cl.exe
   2609   do
   2610     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2611 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2613 $as_echo_n "checking for $ac_word... " >&6; }
   2614 if ${ac_cv_prog_CC+:} false; then :
   2615   $as_echo_n "(cached) " >&6
   2616 else
   2617   if test -n "$CC"; then
   2618   ac_cv_prog_CC="$CC" # Let the user override the test.
   2619 else
   2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2621 for as_dir in $PATH
   2622 do
   2623   IFS=$as_save_IFS
   2624   test -z "$as_dir" && as_dir=.
   2625     for ac_exec_ext in '' $ac_executable_extensions; do
   2626   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2627     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2629     break 2
   2630   fi
   2631 done
   2632   done
   2633 IFS=$as_save_IFS
   2634 
   2635 fi
   2636 fi
   2637 CC=$ac_cv_prog_CC
   2638 if test -n "$CC"; then
   2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2640 $as_echo "$CC" >&6; }
   2641 else
   2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2643 $as_echo "no" >&6; }
   2644 fi
   2645 
   2646 
   2647     test -n "$CC" && break
   2648   done
   2649 fi
   2650 if test -z "$CC"; then
   2651   ac_ct_CC=$CC
   2652   for ac_prog in cl.exe
   2653 do
   2654   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2655 set dummy $ac_prog; ac_word=$2
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2657 $as_echo_n "checking for $ac_word... " >&6; }
   2658 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2659   $as_echo_n "(cached) " >&6
   2660 else
   2661   if test -n "$ac_ct_CC"; then
   2662   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2663 else
   2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2665 for as_dir in $PATH
   2666 do
   2667   IFS=$as_save_IFS
   2668   test -z "$as_dir" && as_dir=.
   2669     for ac_exec_ext in '' $ac_executable_extensions; do
   2670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2671     ac_cv_prog_ac_ct_CC="$ac_prog"
   2672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2673     break 2
   2674   fi
   2675 done
   2676   done
   2677 IFS=$as_save_IFS
   2678 
   2679 fi
   2680 fi
   2681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2682 if test -n "$ac_ct_CC"; then
   2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2684 $as_echo "$ac_ct_CC" >&6; }
   2685 else
   2686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2687 $as_echo "no" >&6; }
   2688 fi
   2689 
   2690 
   2691   test -n "$ac_ct_CC" && break
   2692 done
   2693 
   2694   if test "x$ac_ct_CC" = x; then
   2695     CC=""
   2696   else
   2697     case $cross_compiling:$ac_tool_warned in
   2698 yes:)
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2701 ac_tool_warned=yes ;;
   2702 esac
   2703     CC=$ac_ct_CC
   2704   fi
   2705 fi
   2706 
   2707 fi
   2708 
   2709 
   2710 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2712 as_fn_error $? "no acceptable C compiler found in \$PATH
   2713 See \`config.log' for more details" "$LINENO" 5; }
   2714 
   2715 # Provide some information about the compiler.
   2716 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2717 set X $ac_compile
   2718 ac_compiler=$2
   2719 for ac_option in --version -v -V -qversion; do
   2720   { { ac_try="$ac_compiler $ac_option >&5"
   2721 case "(($ac_try" in
   2722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2723   *) ac_try_echo=$ac_try;;
   2724 esac
   2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2726 $as_echo "$ac_try_echo"; } >&5
   2727   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2728   ac_status=$?
   2729   if test -s conftest.err; then
   2730     sed '10a\
   2731 ... rest of stderr output deleted ...
   2732          10q' conftest.err >conftest.er1
   2733     cat conftest.er1 >&5
   2734   fi
   2735   rm -f conftest.er1 conftest.err
   2736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2737   test $ac_status = 0; }
   2738 done
   2739 
   2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2741 /* end confdefs.h.  */
   2742 
   2743 int
   2744 main ()
   2745 {
   2746 
   2747   ;
   2748   return 0;
   2749 }
   2750 _ACEOF
   2751 ac_clean_files_save=$ac_clean_files
   2752 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2753 # Try to create an executable without -o first, disregard a.out.
   2754 # It will help us diagnose broken compilers, and finding out an intuition
   2755 # of exeext.
   2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2757 $as_echo_n "checking whether the C compiler works... " >&6; }
   2758 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2759 
   2760 # The possible output files:
   2761 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2762 
   2763 ac_rmfiles=
   2764 for ac_file in $ac_files
   2765 do
   2766   case $ac_file in
   2767     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2768     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2769   esac
   2770 done
   2771 rm -f $ac_rmfiles
   2772 
   2773 if { { ac_try="$ac_link_default"
   2774 case "(($ac_try" in
   2775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2776   *) ac_try_echo=$ac_try;;
   2777 esac
   2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2779 $as_echo "$ac_try_echo"; } >&5
   2780   (eval "$ac_link_default") 2>&5
   2781   ac_status=$?
   2782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2783   test $ac_status = 0; }; then :
   2784   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2785 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2786 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2787 # so that the user can short-circuit this test for compilers unknown to
   2788 # Autoconf.
   2789 for ac_file in $ac_files ''
   2790 do
   2791   test -f "$ac_file" || continue
   2792   case $ac_file in
   2793     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2794 	;;
   2795     [ab].out )
   2796 	# We found the default executable, but exeext='' is most
   2797 	# certainly right.
   2798 	break;;
   2799     *.* )
   2800 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2801 	then :; else
   2802 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2803 	fi
   2804 	# We set ac_cv_exeext here because the later test for it is not
   2805 	# safe: cross compilers may not add the suffix if given an `-o'
   2806 	# argument, so we may need to know it at that point already.
   2807 	# Even if this section looks crufty: it has the advantage of
   2808 	# actually working.
   2809 	break;;
   2810     * )
   2811 	break;;
   2812   esac
   2813 done
   2814 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2815 
   2816 else
   2817   ac_file=''
   2818 fi
   2819 if test -z "$ac_file"; then :
   2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2821 $as_echo "no" >&6; }
   2822 $as_echo "$as_me: failed program was:" >&5
   2823 sed 's/^/| /' conftest.$ac_ext >&5
   2824 
   2825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2827 as_fn_error 77 "C compiler cannot create executables
   2828 See \`config.log' for more details" "$LINENO" 5; }
   2829 else
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2831 $as_echo "yes" >&6; }
   2832 fi
   2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2834 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2836 $as_echo "$ac_file" >&6; }
   2837 ac_exeext=$ac_cv_exeext
   2838 
   2839 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2840 ac_clean_files=$ac_clean_files_save
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2842 $as_echo_n "checking for suffix of executables... " >&6; }
   2843 if { { ac_try="$ac_link"
   2844 case "(($ac_try" in
   2845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2846   *) ac_try_echo=$ac_try;;
   2847 esac
   2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2849 $as_echo "$ac_try_echo"; } >&5
   2850   (eval "$ac_link") 2>&5
   2851   ac_status=$?
   2852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2853   test $ac_status = 0; }; then :
   2854   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2855 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2856 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2857 # `rm'.
   2858 for ac_file in conftest.exe conftest conftest.*; do
   2859   test -f "$ac_file" || continue
   2860   case $ac_file in
   2861     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2862     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2863 	  break;;
   2864     * ) break;;
   2865   esac
   2866 done
   2867 else
   2868   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2870 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2871 See \`config.log' for more details" "$LINENO" 5; }
   2872 fi
   2873 rm -f conftest conftest$ac_cv_exeext
   2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2875 $as_echo "$ac_cv_exeext" >&6; }
   2876 
   2877 rm -f conftest.$ac_ext
   2878 EXEEXT=$ac_cv_exeext
   2879 ac_exeext=$EXEEXT
   2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2881 /* end confdefs.h.  */
   2882 #include <stdio.h>
   2883 int
   2884 main ()
   2885 {
   2886 FILE *f = fopen ("conftest.out", "w");
   2887  return ferror (f) || fclose (f) != 0;
   2888 
   2889   ;
   2890   return 0;
   2891 }
   2892 _ACEOF
   2893 ac_clean_files="$ac_clean_files conftest.out"
   2894 # Check that the compiler produces executables we can run.  If not, either
   2895 # the compiler is broken, or we cross compile.
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2897 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2898 if test "$cross_compiling" != yes; then
   2899   { { ac_try="$ac_link"
   2900 case "(($ac_try" in
   2901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2902   *) ac_try_echo=$ac_try;;
   2903 esac
   2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2905 $as_echo "$ac_try_echo"; } >&5
   2906   (eval "$ac_link") 2>&5
   2907   ac_status=$?
   2908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2909   test $ac_status = 0; }
   2910   if { ac_try='./conftest$ac_cv_exeext'
   2911   { { case "(($ac_try" in
   2912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2913   *) ac_try_echo=$ac_try;;
   2914 esac
   2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2916 $as_echo "$ac_try_echo"; } >&5
   2917   (eval "$ac_try") 2>&5
   2918   ac_status=$?
   2919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2920   test $ac_status = 0; }; }; then
   2921     cross_compiling=no
   2922   else
   2923     if test "$cross_compiling" = maybe; then
   2924 	cross_compiling=yes
   2925     else
   2926 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2928 as_fn_error $? "cannot run C compiled programs.
   2929 If you meant to cross compile, use \`--host'.
   2930 See \`config.log' for more details" "$LINENO" 5; }
   2931     fi
   2932   fi
   2933 fi
   2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2935 $as_echo "$cross_compiling" >&6; }
   2936 
   2937 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2938 ac_clean_files=$ac_clean_files_save
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2940 $as_echo_n "checking for suffix of object files... " >&6; }
   2941 if ${ac_cv_objext+:} false; then :
   2942   $as_echo_n "(cached) " >&6
   2943 else
   2944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2945 /* end confdefs.h.  */
   2946 
   2947 int
   2948 main ()
   2949 {
   2950 
   2951   ;
   2952   return 0;
   2953 }
   2954 _ACEOF
   2955 rm -f conftest.o conftest.obj
   2956 if { { ac_try="$ac_compile"
   2957 case "(($ac_try" in
   2958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2959   *) ac_try_echo=$ac_try;;
   2960 esac
   2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2962 $as_echo "$ac_try_echo"; } >&5
   2963   (eval "$ac_compile") 2>&5
   2964   ac_status=$?
   2965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2966   test $ac_status = 0; }; then :
   2967   for ac_file in conftest.o conftest.obj conftest.*; do
   2968   test -f "$ac_file" || continue;
   2969   case $ac_file in
   2970     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2971     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2972        break;;
   2973   esac
   2974 done
   2975 else
   2976   $as_echo "$as_me: failed program was:" >&5
   2977 sed 's/^/| /' conftest.$ac_ext >&5
   2978 
   2979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2981 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2982 See \`config.log' for more details" "$LINENO" 5; }
   2983 fi
   2984 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2985 fi
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2987 $as_echo "$ac_cv_objext" >&6; }
   2988 OBJEXT=$ac_cv_objext
   2989 ac_objext=$OBJEXT
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2991 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2992 if ${ac_cv_c_compiler_gnu+:} false; then :
   2993   $as_echo_n "(cached) " >&6
   2994 else
   2995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2996 /* end confdefs.h.  */
   2997 
   2998 int
   2999 main ()
   3000 {
   3001 #ifndef __GNUC__
   3002        choke me
   3003 #endif
   3004 
   3005   ;
   3006   return 0;
   3007 }
   3008 _ACEOF
   3009 if ac_fn_c_try_compile "$LINENO"; then :
   3010   ac_compiler_gnu=yes
   3011 else
   3012   ac_compiler_gnu=no
   3013 fi
   3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3015 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3016 
   3017 fi
   3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3019 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3020 if test $ac_compiler_gnu = yes; then
   3021   GCC=yes
   3022 else
   3023   GCC=
   3024 fi
   3025 ac_test_CFLAGS=${CFLAGS+set}
   3026 ac_save_CFLAGS=$CFLAGS
   3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3028 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3029 if ${ac_cv_prog_cc_g+:} false; then :
   3030   $as_echo_n "(cached) " >&6
   3031 else
   3032   ac_save_c_werror_flag=$ac_c_werror_flag
   3033    ac_c_werror_flag=yes
   3034    ac_cv_prog_cc_g=no
   3035    CFLAGS="-g"
   3036    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3037 /* end confdefs.h.  */
   3038 
   3039 int
   3040 main ()
   3041 {
   3042 
   3043   ;
   3044   return 0;
   3045 }
   3046 _ACEOF
   3047 if ac_fn_c_try_compile "$LINENO"; then :
   3048   ac_cv_prog_cc_g=yes
   3049 else
   3050   CFLAGS=""
   3051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3052 /* end confdefs.h.  */
   3053 
   3054 int
   3055 main ()
   3056 {
   3057 
   3058   ;
   3059   return 0;
   3060 }
   3061 _ACEOF
   3062 if ac_fn_c_try_compile "$LINENO"; then :
   3063 
   3064 else
   3065   ac_c_werror_flag=$ac_save_c_werror_flag
   3066 	 CFLAGS="-g"
   3067 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3068 /* end confdefs.h.  */
   3069 
   3070 int
   3071 main ()
   3072 {
   3073 
   3074   ;
   3075   return 0;
   3076 }
   3077 _ACEOF
   3078 if ac_fn_c_try_compile "$LINENO"; then :
   3079   ac_cv_prog_cc_g=yes
   3080 fi
   3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3082 fi
   3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3084 fi
   3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3086    ac_c_werror_flag=$ac_save_c_werror_flag
   3087 fi
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3089 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3090 if test "$ac_test_CFLAGS" = set; then
   3091   CFLAGS=$ac_save_CFLAGS
   3092 elif test $ac_cv_prog_cc_g = yes; then
   3093   if test "$GCC" = yes; then
   3094     CFLAGS="-g -O2"
   3095   else
   3096     CFLAGS="-g"
   3097   fi
   3098 else
   3099   if test "$GCC" = yes; then
   3100     CFLAGS="-O2"
   3101   else
   3102     CFLAGS=
   3103   fi
   3104 fi
   3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3106 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3107 if ${ac_cv_prog_cc_c89+:} false; then :
   3108   $as_echo_n "(cached) " >&6
   3109 else
   3110   ac_cv_prog_cc_c89=no
   3111 ac_save_CC=$CC
   3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3113 /* end confdefs.h.  */
   3114 #include <stdarg.h>
   3115 #include <stdio.h>
   3116 struct stat;
   3117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3118 struct buf { int x; };
   3119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3120 static char *e (p, i)
   3121      char **p;
   3122      int i;
   3123 {
   3124   return p[i];
   3125 }
   3126 static char *f (char * (*g) (char **, int), char **p, ...)
   3127 {
   3128   char *s;
   3129   va_list v;
   3130   va_start (v,p);
   3131   s = g (p, va_arg (v,int));
   3132   va_end (v);
   3133   return s;
   3134 }
   3135 
   3136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3137    function prototypes and stuff, but not '\xHH' hex character constants.
   3138    These don't provoke an error unfortunately, instead are silently treated
   3139    as 'x'.  The following induces an error, until -std is added to get
   3140    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3141    array size at least.  It's necessary to write '\x00'==0 to get something
   3142    that's true only with -std.  */
   3143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3144 
   3145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3146    inside strings and character constants.  */
   3147 #define FOO(x) 'x'
   3148 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3149 
   3150 int test (int i, double x);
   3151 struct s1 {int (*f) (int a);};
   3152 struct s2 {int (*f) (double a);};
   3153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3154 int argc;
   3155 char **argv;
   3156 int
   3157 main ()
   3158 {
   3159 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3160   ;
   3161   return 0;
   3162 }
   3163 _ACEOF
   3164 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3165 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3166 do
   3167   CC="$ac_save_CC $ac_arg"
   3168   if ac_fn_c_try_compile "$LINENO"; then :
   3169   ac_cv_prog_cc_c89=$ac_arg
   3170 fi
   3171 rm -f core conftest.err conftest.$ac_objext
   3172   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3173 done
   3174 rm -f conftest.$ac_ext
   3175 CC=$ac_save_CC
   3176 
   3177 fi
   3178 # AC_CACHE_VAL
   3179 case "x$ac_cv_prog_cc_c89" in
   3180   x)
   3181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3182 $as_echo "none needed" >&6; } ;;
   3183   xno)
   3184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3185 $as_echo "unsupported" >&6; } ;;
   3186   *)
   3187     CC="$CC $ac_cv_prog_cc_c89"
   3188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3189 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3190 esac
   3191 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3192 
   3193 fi
   3194 
   3195 ac_ext=c
   3196 ac_cpp='$CPP $CPPFLAGS'
   3197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3200 
   3201 ac_ext=c
   3202 ac_cpp='$CPP $CPPFLAGS'
   3203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3207 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3208 if ${am_cv_prog_cc_c_o+:} false; then :
   3209   $as_echo_n "(cached) " >&6
   3210 else
   3211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3212 /* end confdefs.h.  */
   3213 
   3214 int
   3215 main ()
   3216 {
   3217 
   3218   ;
   3219   return 0;
   3220 }
   3221 _ACEOF
   3222   # Make sure it works both with $CC and with simple cc.
   3223   # Following AC_PROG_CC_C_O, we do the test twice because some
   3224   # compilers refuse to overwrite an existing .o file with -o,
   3225   # though they will create one.
   3226   am_cv_prog_cc_c_o=yes
   3227   for am_i in 1 2; do
   3228     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3229    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3230    ac_status=$?
   3231    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3232    (exit $ac_status); } \
   3233          && test -f conftest2.$ac_objext; then
   3234       : OK
   3235     else
   3236       am_cv_prog_cc_c_o=no
   3237       break
   3238     fi
   3239   done
   3240   rm -f core conftest*
   3241   unset am_i
   3242 fi
   3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3244 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3245 if test "$am_cv_prog_cc_c_o" != yes; then
   3246    # Losing compiler, so override with the script.
   3247    # FIXME: It is wrong to rewrite CC.
   3248    # But if we don't then we get into trouble of one sort or another.
   3249    # A longer-term fix would be to have automake use am__CC in this case,
   3250    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3251    CC="$am_aux_dir/compile $CC"
   3252 fi
   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 
   3259 
   3260 
   3261 ac_ext=c
   3262 ac_cpp='$CPP $CPPFLAGS'
   3263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3267 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3268 # On Suns, sometimes $CPP names a directory.
   3269 if test -n "$CPP" && test -d "$CPP"; then
   3270   CPP=
   3271 fi
   3272 if test -z "$CPP"; then
   3273   if ${ac_cv_prog_CPP+:} false; then :
   3274   $as_echo_n "(cached) " >&6
   3275 else
   3276       # Double quotes because CPP needs to be expanded
   3277     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3278     do
   3279       ac_preproc_ok=false
   3280 for ac_c_preproc_warn_flag in '' yes
   3281 do
   3282   # Use a header file that comes with gcc, so configuring glibc
   3283   # with a fresh cross-compiler works.
   3284   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3285   # <limits.h> exists even on freestanding compilers.
   3286   # On the NeXT, cc -E runs the code through the compiler's parser,
   3287   # not just through cpp. "Syntax error" is here to catch this case.
   3288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3289 /* end confdefs.h.  */
   3290 #ifdef __STDC__
   3291 # include <limits.h>
   3292 #else
   3293 # include <assert.h>
   3294 #endif
   3295 		     Syntax error
   3296 _ACEOF
   3297 if ac_fn_c_try_cpp "$LINENO"; then :
   3298 
   3299 else
   3300   # Broken: fails on valid input.
   3301 continue
   3302 fi
   3303 rm -f conftest.err conftest.i conftest.$ac_ext
   3304 
   3305   # OK, works on sane cases.  Now check whether nonexistent headers
   3306   # can be detected and how.
   3307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3308 /* end confdefs.h.  */
   3309 #include <ac_nonexistent.h>
   3310 _ACEOF
   3311 if ac_fn_c_try_cpp "$LINENO"; then :
   3312   # Broken: success on invalid input.
   3313 continue
   3314 else
   3315   # Passes both tests.
   3316 ac_preproc_ok=:
   3317 break
   3318 fi
   3319 rm -f conftest.err conftest.i conftest.$ac_ext
   3320 
   3321 done
   3322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3323 rm -f conftest.i conftest.err conftest.$ac_ext
   3324 if $ac_preproc_ok; then :
   3325   break
   3326 fi
   3327 
   3328     done
   3329     ac_cv_prog_CPP=$CPP
   3330 
   3331 fi
   3332   CPP=$ac_cv_prog_CPP
   3333 else
   3334   ac_cv_prog_CPP=$CPP
   3335 fi
   3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3337 $as_echo "$CPP" >&6; }
   3338 ac_preproc_ok=false
   3339 for ac_c_preproc_warn_flag in '' yes
   3340 do
   3341   # Use a header file that comes with gcc, so configuring glibc
   3342   # with a fresh cross-compiler works.
   3343   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3344   # <limits.h> exists even on freestanding compilers.
   3345   # On the NeXT, cc -E runs the code through the compiler's parser,
   3346   # not just through cpp. "Syntax error" is here to catch this case.
   3347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3348 /* end confdefs.h.  */
   3349 #ifdef __STDC__
   3350 # include <limits.h>
   3351 #else
   3352 # include <assert.h>
   3353 #endif
   3354 		     Syntax error
   3355 _ACEOF
   3356 if ac_fn_c_try_cpp "$LINENO"; then :
   3357 
   3358 else
   3359   # Broken: fails on valid input.
   3360 continue
   3361 fi
   3362 rm -f conftest.err conftest.i conftest.$ac_ext
   3363 
   3364   # OK, works on sane cases.  Now check whether nonexistent headers
   3365   # can be detected and how.
   3366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3367 /* end confdefs.h.  */
   3368 #include <ac_nonexistent.h>
   3369 _ACEOF
   3370 if ac_fn_c_try_cpp "$LINENO"; then :
   3371   # Broken: success on invalid input.
   3372 continue
   3373 else
   3374   # Passes both tests.
   3375 ac_preproc_ok=:
   3376 break
   3377 fi
   3378 rm -f conftest.err conftest.i conftest.$ac_ext
   3379 
   3380 done
   3381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3382 rm -f conftest.i conftest.err conftest.$ac_ext
   3383 if $ac_preproc_ok; then :
   3384 
   3385 else
   3386   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3388 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3389 See \`config.log' for more details" "$LINENO" 5; }
   3390 fi
   3391 
   3392 ac_ext=c
   3393 ac_cpp='$CPP $CPPFLAGS'
   3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3397 
   3398 
   3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3400 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3401 if ${ac_cv_path_GREP+:} false; then :
   3402   $as_echo_n "(cached) " >&6
   3403 else
   3404   if test -z "$GREP"; then
   3405   ac_path_GREP_found=false
   3406   # Loop through the user's path and test for each of PROGNAME-LIST
   3407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3408 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3409 do
   3410   IFS=$as_save_IFS
   3411   test -z "$as_dir" && as_dir=.
   3412     for ac_prog in grep ggrep; do
   3413     for ac_exec_ext in '' $ac_executable_extensions; do
   3414       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3415       as_fn_executable_p "$ac_path_GREP" || continue
   3416 # Check for GNU ac_path_GREP and select it if it is found.
   3417   # Check for GNU $ac_path_GREP
   3418 case `"$ac_path_GREP" --version 2>&1` in
   3419 *GNU*)
   3420   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3421 *)
   3422   ac_count=0
   3423   $as_echo_n 0123456789 >"conftest.in"
   3424   while :
   3425   do
   3426     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3427     mv "conftest.tmp" "conftest.in"
   3428     cp "conftest.in" "conftest.nl"
   3429     $as_echo 'GREP' >> "conftest.nl"
   3430     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3431     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3432     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3433     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3434       # Best one so far, save it but keep looking for a better one
   3435       ac_cv_path_GREP="$ac_path_GREP"
   3436       ac_path_GREP_max=$ac_count
   3437     fi
   3438     # 10*(2^10) chars as input seems more than enough
   3439     test $ac_count -gt 10 && break
   3440   done
   3441   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3442 esac
   3443 
   3444       $ac_path_GREP_found && break 3
   3445     done
   3446   done
   3447   done
   3448 IFS=$as_save_IFS
   3449   if test -z "$ac_cv_path_GREP"; then
   3450     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3451   fi
   3452 else
   3453   ac_cv_path_GREP=$GREP
   3454 fi
   3455 
   3456 fi
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3458 $as_echo "$ac_cv_path_GREP" >&6; }
   3459  GREP="$ac_cv_path_GREP"
   3460 
   3461 
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3463 $as_echo_n "checking for egrep... " >&6; }
   3464 if ${ac_cv_path_EGREP+:} false; then :
   3465   $as_echo_n "(cached) " >&6
   3466 else
   3467   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3468    then ac_cv_path_EGREP="$GREP -E"
   3469    else
   3470      if test -z "$EGREP"; then
   3471   ac_path_EGREP_found=false
   3472   # Loop through the user's path and test for each of PROGNAME-LIST
   3473   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3474 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3475 do
   3476   IFS=$as_save_IFS
   3477   test -z "$as_dir" && as_dir=.
   3478     for ac_prog in egrep; do
   3479     for ac_exec_ext in '' $ac_executable_extensions; do
   3480       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3481       as_fn_executable_p "$ac_path_EGREP" || continue
   3482 # Check for GNU ac_path_EGREP and select it if it is found.
   3483   # Check for GNU $ac_path_EGREP
   3484 case `"$ac_path_EGREP" --version 2>&1` in
   3485 *GNU*)
   3486   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3487 *)
   3488   ac_count=0
   3489   $as_echo_n 0123456789 >"conftest.in"
   3490   while :
   3491   do
   3492     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3493     mv "conftest.tmp" "conftest.in"
   3494     cp "conftest.in" "conftest.nl"
   3495     $as_echo 'EGREP' >> "conftest.nl"
   3496     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3497     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3498     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3499     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3500       # Best one so far, save it but keep looking for a better one
   3501       ac_cv_path_EGREP="$ac_path_EGREP"
   3502       ac_path_EGREP_max=$ac_count
   3503     fi
   3504     # 10*(2^10) chars as input seems more than enough
   3505     test $ac_count -gt 10 && break
   3506   done
   3507   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3508 esac
   3509 
   3510       $ac_path_EGREP_found && break 3
   3511     done
   3512   done
   3513   done
   3514 IFS=$as_save_IFS
   3515   if test -z "$ac_cv_path_EGREP"; then
   3516     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3517   fi
   3518 else
   3519   ac_cv_path_EGREP=$EGREP
   3520 fi
   3521 
   3522    fi
   3523 fi
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3525 $as_echo "$ac_cv_path_EGREP" >&6; }
   3526  EGREP="$ac_cv_path_EGREP"
   3527 
   3528 
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3530 $as_echo_n "checking for ANSI C header files... " >&6; }
   3531 if ${ac_cv_header_stdc+:} false; then :
   3532   $as_echo_n "(cached) " >&6
   3533 else
   3534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3535 /* end confdefs.h.  */
   3536 #include <stdlib.h>
   3537 #include <stdarg.h>
   3538 #include <string.h>
   3539 #include <float.h>
   3540 
   3541 int
   3542 main ()
   3543 {
   3544 
   3545   ;
   3546   return 0;
   3547 }
   3548 _ACEOF
   3549 if ac_fn_c_try_compile "$LINENO"; then :
   3550   ac_cv_header_stdc=yes
   3551 else
   3552   ac_cv_header_stdc=no
   3553 fi
   3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3555 
   3556 if test $ac_cv_header_stdc = yes; then
   3557   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3559 /* end confdefs.h.  */
   3560 #include <string.h>
   3561 
   3562 _ACEOF
   3563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3564   $EGREP "memchr" >/dev/null 2>&1; then :
   3565 
   3566 else
   3567   ac_cv_header_stdc=no
   3568 fi
   3569 rm -f conftest*
   3570 
   3571 fi
   3572 
   3573 if test $ac_cv_header_stdc = yes; then
   3574   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 #include <stdlib.h>
   3578 
   3579 _ACEOF
   3580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3581   $EGREP "free" >/dev/null 2>&1; then :
   3582 
   3583 else
   3584   ac_cv_header_stdc=no
   3585 fi
   3586 rm -f conftest*
   3587 
   3588 fi
   3589 
   3590 if test $ac_cv_header_stdc = yes; then
   3591   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3592   if test "$cross_compiling" = yes; then :
   3593   :
   3594 else
   3595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 #include <ctype.h>
   3598 #include <stdlib.h>
   3599 #if ((' ' & 0x0FF) == 0x020)
   3600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3602 #else
   3603 # define ISLOWER(c) \
   3604 		   (('a' <= (c) && (c) <= 'i') \
   3605 		     || ('j' <= (c) && (c) <= 'r') \
   3606 		     || ('s' <= (c) && (c) <= 'z'))
   3607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3608 #endif
   3609 
   3610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3611 int
   3612 main ()
   3613 {
   3614   int i;
   3615   for (i = 0; i < 256; i++)
   3616     if (XOR (islower (i), ISLOWER (i))
   3617 	|| toupper (i) != TOUPPER (i))
   3618       return 2;
   3619   return 0;
   3620 }
   3621 _ACEOF
   3622 if ac_fn_c_try_run "$LINENO"; then :
   3623 
   3624 else
   3625   ac_cv_header_stdc=no
   3626 fi
   3627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3628   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3629 fi
   3630 
   3631 fi
   3632 fi
   3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3634 $as_echo "$ac_cv_header_stdc" >&6; }
   3635 if test $ac_cv_header_stdc = yes; then
   3636 
   3637 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3638 
   3639 fi
   3640 
   3641 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3642 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3643 		  inttypes.h stdint.h unistd.h
   3644 do :
   3645   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3646 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3647 "
   3648 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3649   cat >>confdefs.h <<_ACEOF
   3650 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3651 _ACEOF
   3652 
   3653 fi
   3654 
   3655 done
   3656 
   3657 
   3658 
   3659   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3660 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3661   MINIX=yes
   3662 else
   3663   MINIX=
   3664 fi
   3665 
   3666 
   3667   if test "$MINIX" = yes; then
   3668 
   3669 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3670 
   3671 
   3672 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3673 
   3674 
   3675 $as_echo "#define _MINIX 1" >>confdefs.h
   3676 
   3677   fi
   3678 
   3679 
   3680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3681 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3682 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3683   $as_echo_n "(cached) " >&6
   3684 else
   3685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3686 /* end confdefs.h.  */
   3687 
   3688 #         define __EXTENSIONS__ 1
   3689           $ac_includes_default
   3690 int
   3691 main ()
   3692 {
   3693 
   3694   ;
   3695   return 0;
   3696 }
   3697 _ACEOF
   3698 if ac_fn_c_try_compile "$LINENO"; then :
   3699   ac_cv_safe_to_define___extensions__=yes
   3700 else
   3701   ac_cv_safe_to_define___extensions__=no
   3702 fi
   3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3704 fi
   3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3706 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3707   test $ac_cv_safe_to_define___extensions__ = yes &&
   3708     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3709 
   3710   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3711 
   3712   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3713 
   3714   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3715 
   3716   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3717 
   3718 
   3719 # Check whether --enable-largefile was given.
   3720 if test "${enable_largefile+set}" = set; then :
   3721   enableval=$enable_largefile;
   3722 fi
   3723 
   3724 if test "$enable_largefile" != no; then
   3725 
   3726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   3727 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   3728 if ${ac_cv_sys_largefile_CC+:} false; then :
   3729   $as_echo_n "(cached) " >&6
   3730 else
   3731   ac_cv_sys_largefile_CC=no
   3732      if test "$GCC" != yes; then
   3733        ac_save_CC=$CC
   3734        while :; do
   3735 	 # IRIX 6.2 and later do not support large files by default,
   3736 	 # so use the C compiler's -n32 option if that helps.
   3737 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3738 /* end confdefs.h.  */
   3739 #include <sys/types.h>
   3740  /* Check that off_t can represent 2**63 - 1 correctly.
   3741     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3742     since some C++ compilers masquerading as C compilers
   3743     incorrectly reject 9223372036854775807.  */
   3744 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3745   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3746 		       && LARGE_OFF_T % 2147483647 == 1)
   3747 		      ? 1 : -1];
   3748 int
   3749 main ()
   3750 {
   3751 
   3752   ;
   3753   return 0;
   3754 }
   3755 _ACEOF
   3756 	 if ac_fn_c_try_compile "$LINENO"; then :
   3757   break
   3758 fi
   3759 rm -f core conftest.err conftest.$ac_objext
   3760 	 CC="$CC -n32"
   3761 	 if ac_fn_c_try_compile "$LINENO"; then :
   3762   ac_cv_sys_largefile_CC=' -n32'; break
   3763 fi
   3764 rm -f core conftest.err conftest.$ac_objext
   3765 	 break
   3766        done
   3767        CC=$ac_save_CC
   3768        rm -f conftest.$ac_ext
   3769     fi
   3770 fi
   3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   3772 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   3773   if test "$ac_cv_sys_largefile_CC" != no; then
   3774     CC=$CC$ac_cv_sys_largefile_CC
   3775   fi
   3776 
   3777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   3778 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   3779 if ${ac_cv_sys_file_offset_bits+:} false; then :
   3780   $as_echo_n "(cached) " >&6
   3781 else
   3782   while :; do
   3783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3784 /* end confdefs.h.  */
   3785 #include <sys/types.h>
   3786  /* Check that off_t can represent 2**63 - 1 correctly.
   3787     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3788     since some C++ compilers masquerading as C compilers
   3789     incorrectly reject 9223372036854775807.  */
   3790 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3791   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3792 		       && LARGE_OFF_T % 2147483647 == 1)
   3793 		      ? 1 : -1];
   3794 int
   3795 main ()
   3796 {
   3797 
   3798   ;
   3799   return 0;
   3800 }
   3801 _ACEOF
   3802 if ac_fn_c_try_compile "$LINENO"; then :
   3803   ac_cv_sys_file_offset_bits=no; break
   3804 fi
   3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3807 /* end confdefs.h.  */
   3808 #define _FILE_OFFSET_BITS 64
   3809 #include <sys/types.h>
   3810  /* Check that off_t can represent 2**63 - 1 correctly.
   3811     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3812     since some C++ compilers masquerading as C compilers
   3813     incorrectly reject 9223372036854775807.  */
   3814 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3815   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3816 		       && LARGE_OFF_T % 2147483647 == 1)
   3817 		      ? 1 : -1];
   3818 int
   3819 main ()
   3820 {
   3821 
   3822   ;
   3823   return 0;
   3824 }
   3825 _ACEOF
   3826 if ac_fn_c_try_compile "$LINENO"; then :
   3827   ac_cv_sys_file_offset_bits=64; break
   3828 fi
   3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3830   ac_cv_sys_file_offset_bits=unknown
   3831   break
   3832 done
   3833 fi
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   3835 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   3836 case $ac_cv_sys_file_offset_bits in #(
   3837   no | unknown) ;;
   3838   *)
   3839 cat >>confdefs.h <<_ACEOF
   3840 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   3841 _ACEOF
   3842 ;;
   3843 esac
   3844 rm -rf conftest*
   3845   if test $ac_cv_sys_file_offset_bits = unknown; then
   3846     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   3847 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   3848 if ${ac_cv_sys_large_files+:} false; then :
   3849   $as_echo_n "(cached) " >&6
   3850 else
   3851   while :; do
   3852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3853 /* end confdefs.h.  */
   3854 #include <sys/types.h>
   3855  /* Check that off_t can represent 2**63 - 1 correctly.
   3856     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3857     since some C++ compilers masquerading as C compilers
   3858     incorrectly reject 9223372036854775807.  */
   3859 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3860   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3861 		       && LARGE_OFF_T % 2147483647 == 1)
   3862 		      ? 1 : -1];
   3863 int
   3864 main ()
   3865 {
   3866 
   3867   ;
   3868   return 0;
   3869 }
   3870 _ACEOF
   3871 if ac_fn_c_try_compile "$LINENO"; then :
   3872   ac_cv_sys_large_files=no; break
   3873 fi
   3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3876 /* end confdefs.h.  */
   3877 #define _LARGE_FILES 1
   3878 #include <sys/types.h>
   3879  /* Check that off_t can represent 2**63 - 1 correctly.
   3880     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3881     since some C++ compilers masquerading as C compilers
   3882     incorrectly reject 9223372036854775807.  */
   3883 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   3884   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3885 		       && LARGE_OFF_T % 2147483647 == 1)
   3886 		      ? 1 : -1];
   3887 int
   3888 main ()
   3889 {
   3890 
   3891   ;
   3892   return 0;
   3893 }
   3894 _ACEOF
   3895 if ac_fn_c_try_compile "$LINENO"; then :
   3896   ac_cv_sys_large_files=1; break
   3897 fi
   3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3899   ac_cv_sys_large_files=unknown
   3900   break
   3901 done
   3902 fi
   3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   3904 $as_echo "$ac_cv_sys_large_files" >&6; }
   3905 case $ac_cv_sys_large_files in #(
   3906   no | unknown) ;;
   3907   *)
   3908 cat >>confdefs.h <<_ACEOF
   3909 #define _LARGE_FILES $ac_cv_sys_large_files
   3910 _ACEOF
   3911 ;;
   3912 esac
   3913 rm -rf conftest*
   3914   fi
   3915 
   3916 
   3917 fi
   3918 
   3919 
   3920 # Initialize Automake
   3921 am__api_version='1.15'
   3922 
   3923 # Find a good install program.  We prefer a C program (faster),
   3924 # so one script is as good as another.  But avoid the broken or
   3925 # incompatible versions:
   3926 # SysV /etc/install, /usr/sbin/install
   3927 # SunOS /usr/etc/install
   3928 # IRIX /sbin/install
   3929 # AIX /bin/install
   3930 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3931 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3932 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3933 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3934 # OS/2's system install, which has a completely different semantic
   3935 # ./install, which can be erroneously created by make from ./install.sh.
   3936 # Reject install programs that cannot install multiple files.
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3938 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3939 if test -z "$INSTALL"; then
   3940 if ${ac_cv_path_install+:} false; then :
   3941   $as_echo_n "(cached) " >&6
   3942 else
   3943   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3944 for as_dir in $PATH
   3945 do
   3946   IFS=$as_save_IFS
   3947   test -z "$as_dir" && as_dir=.
   3948     # Account for people who put trailing slashes in PATH elements.
   3949 case $as_dir/ in #((
   3950   ./ | .// | /[cC]/* | \
   3951   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3952   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3953   /usr/ucb/* ) ;;
   3954   *)
   3955     # OSF1 and SCO ODT 3.0 have their own names for install.
   3956     # Don't use installbsd from OSF since it installs stuff as root
   3957     # by default.
   3958     for ac_prog in ginstall scoinst install; do
   3959       for ac_exec_ext in '' $ac_executable_extensions; do
   3960 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3961 	  if test $ac_prog = install &&
   3962 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3963 	    # AIX install.  It has an incompatible calling convention.
   3964 	    :
   3965 	  elif test $ac_prog = install &&
   3966 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3967 	    # program-specific install script used by HP pwplus--don't use.
   3968 	    :
   3969 	  else
   3970 	    rm -rf conftest.one conftest.two conftest.dir
   3971 	    echo one > conftest.one
   3972 	    echo two > conftest.two
   3973 	    mkdir conftest.dir
   3974 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3975 	      test -s conftest.one && test -s conftest.two &&
   3976 	      test -s conftest.dir/conftest.one &&
   3977 	      test -s conftest.dir/conftest.two
   3978 	    then
   3979 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3980 	      break 3
   3981 	    fi
   3982 	  fi
   3983 	fi
   3984       done
   3985     done
   3986     ;;
   3987 esac
   3988 
   3989   done
   3990 IFS=$as_save_IFS
   3991 
   3992 rm -rf conftest.one conftest.two conftest.dir
   3993 
   3994 fi
   3995   if test "${ac_cv_path_install+set}" = set; then
   3996     INSTALL=$ac_cv_path_install
   3997   else
   3998     # As a last resort, use the slow shell script.  Don't cache a
   3999     # value for INSTALL within a source directory, because that will
   4000     # break other packages using the cache if that directory is
   4001     # removed, or if the value is a relative name.
   4002     INSTALL=$ac_install_sh
   4003   fi
   4004 fi
   4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4006 $as_echo "$INSTALL" >&6; }
   4007 
   4008 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4009 # It thinks the first close brace ends the variable substitution.
   4010 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4011 
   4012 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4013 
   4014 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4015 
   4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4017 $as_echo_n "checking whether build environment is sane... " >&6; }
   4018 # Reject unsafe characters in $srcdir or the absolute working directory
   4019 # name.  Accept space and tab only in the latter.
   4020 am_lf='
   4021 '
   4022 case `pwd` in
   4023   *[\\\"\#\$\&\'\`$am_lf]*)
   4024     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4025 esac
   4026 case $srcdir in
   4027   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4028     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4029 esac
   4030 
   4031 # Do 'set' in a subshell so we don't clobber the current shell's
   4032 # arguments.  Must try -L first in case configure is actually a
   4033 # symlink; some systems play weird games with the mod time of symlinks
   4034 # (eg FreeBSD returns the mod time of the symlink's containing
   4035 # directory).
   4036 if (
   4037    am_has_slept=no
   4038    for am_try in 1 2; do
   4039      echo "timestamp, slept: $am_has_slept" > conftest.file
   4040      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4041      if test "$*" = "X"; then
   4042 	# -L didn't work.
   4043 	set X `ls -t "$srcdir/configure" conftest.file`
   4044      fi
   4045      if test "$*" != "X $srcdir/configure conftest.file" \
   4046 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4047 
   4048 	# If neither matched, then we have a broken ls.  This can happen
   4049 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4050 	# broken ls alias from the environment.  This has actually
   4051 	# happened.  Such a system could not be considered "sane".
   4052 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4053   alias in your environment" "$LINENO" 5
   4054      fi
   4055      if test "$2" = conftest.file || test $am_try -eq 2; then
   4056        break
   4057      fi
   4058      # Just in case.
   4059      sleep 1
   4060      am_has_slept=yes
   4061    done
   4062    test "$2" = conftest.file
   4063    )
   4064 then
   4065    # Ok.
   4066    :
   4067 else
   4068    as_fn_error $? "newly created file is older than distributed files!
   4069 Check your system clock" "$LINENO" 5
   4070 fi
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4072 $as_echo "yes" >&6; }
   4073 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4074 # generated files are strictly newer.
   4075 am_sleep_pid=
   4076 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4077   ( sleep 1 ) &
   4078   am_sleep_pid=$!
   4079 fi
   4080 
   4081 rm -f conftest.file
   4082 
   4083 test "$program_prefix" != NONE &&
   4084   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4085 # Use a double $ so make ignores it.
   4086 test "$program_suffix" != NONE &&
   4087   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4088 # Double any \ or $.
   4089 # By default was `s,x,x', remove it if useless.
   4090 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4091 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4092 
   4093 if test x"${MISSING+set}" != xset; then
   4094   case $am_aux_dir in
   4095   *\ * | *\	*)
   4096     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4097   *)
   4098     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4099   esac
   4100 fi
   4101 # Use eval to expand $SHELL
   4102 if eval "$MISSING --is-lightweight"; then
   4103   am_missing_run="$MISSING "
   4104 else
   4105   am_missing_run=
   4106   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4107 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4108 fi
   4109 
   4110 if test x"${install_sh+set}" != xset; then
   4111   case $am_aux_dir in
   4112   *\ * | *\	*)
   4113     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4114   *)
   4115     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4116   esac
   4117 fi
   4118 
   4119 # Installed binaries are usually stripped using 'strip' when the user
   4120 # run "make install-strip".  However 'strip' might not be the right
   4121 # tool to use in cross-compilation environments, therefore Automake
   4122 # will honor the 'STRIP' environment variable to overrule this program.
   4123 if test "$cross_compiling" != no; then
   4124   if test -n "$ac_tool_prefix"; then
   4125   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4126 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4128 $as_echo_n "checking for $ac_word... " >&6; }
   4129 if ${ac_cv_prog_STRIP+:} false; then :
   4130   $as_echo_n "(cached) " >&6
   4131 else
   4132   if test -n "$STRIP"; then
   4133   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4134 else
   4135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4136 for as_dir in $PATH
   4137 do
   4138   IFS=$as_save_IFS
   4139   test -z "$as_dir" && as_dir=.
   4140     for ac_exec_ext in '' $ac_executable_extensions; do
   4141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4142     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4144     break 2
   4145   fi
   4146 done
   4147   done
   4148 IFS=$as_save_IFS
   4149 
   4150 fi
   4151 fi
   4152 STRIP=$ac_cv_prog_STRIP
   4153 if test -n "$STRIP"; then
   4154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4155 $as_echo "$STRIP" >&6; }
   4156 else
   4157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4158 $as_echo "no" >&6; }
   4159 fi
   4160 
   4161 
   4162 fi
   4163 if test -z "$ac_cv_prog_STRIP"; then
   4164   ac_ct_STRIP=$STRIP
   4165   # Extract the first word of "strip", so it can be a program name with args.
   4166 set dummy strip; ac_word=$2
   4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4168 $as_echo_n "checking for $ac_word... " >&6; }
   4169 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4170   $as_echo_n "(cached) " >&6
   4171 else
   4172   if test -n "$ac_ct_STRIP"; then
   4173   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4174 else
   4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4176 for as_dir in $PATH
   4177 do
   4178   IFS=$as_save_IFS
   4179   test -z "$as_dir" && as_dir=.
   4180     for ac_exec_ext in '' $ac_executable_extensions; do
   4181   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4182     ac_cv_prog_ac_ct_STRIP="strip"
   4183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4184     break 2
   4185   fi
   4186 done
   4187   done
   4188 IFS=$as_save_IFS
   4189 
   4190 fi
   4191 fi
   4192 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4193 if test -n "$ac_ct_STRIP"; then
   4194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4195 $as_echo "$ac_ct_STRIP" >&6; }
   4196 else
   4197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4198 $as_echo "no" >&6; }
   4199 fi
   4200 
   4201   if test "x$ac_ct_STRIP" = x; then
   4202     STRIP=":"
   4203   else
   4204     case $cross_compiling:$ac_tool_warned in
   4205 yes:)
   4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4208 ac_tool_warned=yes ;;
   4209 esac
   4210     STRIP=$ac_ct_STRIP
   4211   fi
   4212 else
   4213   STRIP="$ac_cv_prog_STRIP"
   4214 fi
   4215 
   4216 fi
   4217 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4218 
   4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4220 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4221 if test -z "$MKDIR_P"; then
   4222   if ${ac_cv_path_mkdir+:} false; then :
   4223   $as_echo_n "(cached) " >&6
   4224 else
   4225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4226 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4227 do
   4228   IFS=$as_save_IFS
   4229   test -z "$as_dir" && as_dir=.
   4230     for ac_prog in mkdir gmkdir; do
   4231 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4232 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4233 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4234 	     'mkdir (GNU coreutils) '* | \
   4235 	     'mkdir (coreutils) '* | \
   4236 	     'mkdir (fileutils) '4.1*)
   4237 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4238 	       break 3;;
   4239 	   esac
   4240 	 done
   4241        done
   4242   done
   4243 IFS=$as_save_IFS
   4244 
   4245 fi
   4246 
   4247   test -d ./--version && rmdir ./--version
   4248   if test "${ac_cv_path_mkdir+set}" = set; then
   4249     MKDIR_P="$ac_cv_path_mkdir -p"
   4250   else
   4251     # As a last resort, use the slow shell script.  Don't cache a
   4252     # value for MKDIR_P within a source directory, because that will
   4253     # break other packages using the cache if that directory is
   4254     # removed, or if the value is a relative name.
   4255     MKDIR_P="$ac_install_sh -d"
   4256   fi
   4257 fi
   4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4259 $as_echo "$MKDIR_P" >&6; }
   4260 
   4261 for ac_prog in gawk mawk nawk awk
   4262 do
   4263   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4264 set dummy $ac_prog; ac_word=$2
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4266 $as_echo_n "checking for $ac_word... " >&6; }
   4267 if ${ac_cv_prog_AWK+:} false; then :
   4268   $as_echo_n "(cached) " >&6
   4269 else
   4270   if test -n "$AWK"; then
   4271   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4272 else
   4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4274 for as_dir in $PATH
   4275 do
   4276   IFS=$as_save_IFS
   4277   test -z "$as_dir" && as_dir=.
   4278     for ac_exec_ext in '' $ac_executable_extensions; do
   4279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4280     ac_cv_prog_AWK="$ac_prog"
   4281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4282     break 2
   4283   fi
   4284 done
   4285   done
   4286 IFS=$as_save_IFS
   4287 
   4288 fi
   4289 fi
   4290 AWK=$ac_cv_prog_AWK
   4291 if test -n "$AWK"; then
   4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4293 $as_echo "$AWK" >&6; }
   4294 else
   4295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4296 $as_echo "no" >&6; }
   4297 fi
   4298 
   4299 
   4300   test -n "$AWK" && break
   4301 done
   4302 
   4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4304 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4305 set x ${MAKE-make}
   4306 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4307 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4308   $as_echo_n "(cached) " >&6
   4309 else
   4310   cat >conftest.make <<\_ACEOF
   4311 SHELL = /bin/sh
   4312 all:
   4313 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4314 _ACEOF
   4315 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4316 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4317   *@@@%%%=?*=@@@%%%*)
   4318     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4319   *)
   4320     eval ac_cv_prog_make_${ac_make}_set=no;;
   4321 esac
   4322 rm -f conftest.make
   4323 fi
   4324 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4326 $as_echo "yes" >&6; }
   4327   SET_MAKE=
   4328 else
   4329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4330 $as_echo "no" >&6; }
   4331   SET_MAKE="MAKE=${MAKE-make}"
   4332 fi
   4333 
   4334 rm -rf .tst 2>/dev/null
   4335 mkdir .tst 2>/dev/null
   4336 if test -d .tst; then
   4337   am__leading_dot=.
   4338 else
   4339   am__leading_dot=_
   4340 fi
   4341 rmdir .tst 2>/dev/null
   4342 
   4343 DEPDIR="${am__leading_dot}deps"
   4344 
   4345 ac_config_commands="$ac_config_commands depfiles"
   4346 
   4347 
   4348 am_make=${MAKE-make}
   4349 cat > confinc << 'END'
   4350 am__doit:
   4351 	@echo this is the am__doit target
   4352 .PHONY: am__doit
   4353 END
   4354 # If we don't find an include directive, just comment out the code.
   4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4356 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4357 am__include="#"
   4358 am__quote=
   4359 _am_result=none
   4360 # First try GNU make style include.
   4361 echo "include confinc" > confmf
   4362 # Ignore all kinds of additional output from 'make'.
   4363 case `$am_make -s -f confmf 2> /dev/null` in #(
   4364 *the\ am__doit\ target*)
   4365   am__include=include
   4366   am__quote=
   4367   _am_result=GNU
   4368   ;;
   4369 esac
   4370 # Now try BSD make style include.
   4371 if test "$am__include" = "#"; then
   4372    echo '.include "confinc"' > confmf
   4373    case `$am_make -s -f confmf 2> /dev/null` in #(
   4374    *the\ am__doit\ target*)
   4375      am__include=.include
   4376      am__quote="\""
   4377      _am_result=BSD
   4378      ;;
   4379    esac
   4380 fi
   4381 
   4382 
   4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4384 $as_echo "$_am_result" >&6; }
   4385 rm -f confinc confmf
   4386 
   4387 # Check whether --enable-dependency-tracking was given.
   4388 if test "${enable_dependency_tracking+set}" = set; then :
   4389   enableval=$enable_dependency_tracking;
   4390 fi
   4391 
   4392 if test "x$enable_dependency_tracking" != xno; then
   4393   am_depcomp="$ac_aux_dir/depcomp"
   4394   AMDEPBACKSLASH='\'
   4395   am__nodep='_no'
   4396 fi
   4397  if test "x$enable_dependency_tracking" != xno; then
   4398   AMDEP_TRUE=
   4399   AMDEP_FALSE='#'
   4400 else
   4401   AMDEP_TRUE='#'
   4402   AMDEP_FALSE=
   4403 fi
   4404 
   4405 
   4406 # Check whether --enable-silent-rules was given.
   4407 if test "${enable_silent_rules+set}" = set; then :
   4408   enableval=$enable_silent_rules;
   4409 fi
   4410 
   4411 case $enable_silent_rules in # (((
   4412   yes) AM_DEFAULT_VERBOSITY=0;;
   4413    no) AM_DEFAULT_VERBOSITY=1;;
   4414     *) AM_DEFAULT_VERBOSITY=1;;
   4415 esac
   4416 am_make=${MAKE-make}
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4418 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4419 if ${am_cv_make_support_nested_variables+:} false; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   if $as_echo 'TRUE=$(BAR$(V))
   4423 BAR0=false
   4424 BAR1=true
   4425 V=1
   4426 am__doit:
   4427 	@$(TRUE)
   4428 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4429   am_cv_make_support_nested_variables=yes
   4430 else
   4431   am_cv_make_support_nested_variables=no
   4432 fi
   4433 fi
   4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4435 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4436 if test $am_cv_make_support_nested_variables = yes; then
   4437     AM_V='$(V)'
   4438   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4439 else
   4440   AM_V=$AM_DEFAULT_VERBOSITY
   4441   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4442 fi
   4443 AM_BACKSLASH='\'
   4444 
   4445 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4446   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4447   # is not polluted with repeated "-I."
   4448   am__isrc=' -I$(srcdir)'
   4449   # test to see if srcdir already configured
   4450   if test -f $srcdir/config.status; then
   4451     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4452   fi
   4453 fi
   4454 
   4455 # test whether we have cygpath
   4456 if test -z "$CYGPATH_W"; then
   4457   if (cygpath --version) >/dev/null 2>/dev/null; then
   4458     CYGPATH_W='cygpath -w'
   4459   else
   4460     CYGPATH_W=echo
   4461   fi
   4462 fi
   4463 
   4464 
   4465 # Define the identity of the package.
   4466  PACKAGE='sessreg'
   4467  VERSION='1.1.2'
   4468 
   4469 
   4470 cat >>confdefs.h <<_ACEOF
   4471 #define PACKAGE "$PACKAGE"
   4472 _ACEOF
   4473 
   4474 
   4475 cat >>confdefs.h <<_ACEOF
   4476 #define VERSION "$VERSION"
   4477 _ACEOF
   4478 
   4479 # Some tools Automake needs.
   4480 
   4481 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4482 
   4483 
   4484 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4485 
   4486 
   4487 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4488 
   4489 
   4490 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4491 
   4492 
   4493 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4494 
   4495 # For better backward compatibility.  To be removed once Automake 1.9.x
   4496 # dies out for good.  For more background, see:
   4497 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4498 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4499 mkdir_p='$(MKDIR_P)'
   4500 
   4501 # We need awk for the "check" target (and possibly the TAP driver).  The
   4502 # system "awk" is bad on some platforms.
   4503 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4504 # in the wild :-(  We should find a proper way to deprecate it ...
   4505 AMTAR='$${TAR-tar}'
   4506 
   4507 
   4508 # We'll loop over all known methods to create a tar archive until one works.
   4509 _am_tools='gnutar  pax cpio none'
   4510 
   4511 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4512 
   4513 
   4514 
   4515 
   4516 
   4517 depcc="$CC"   am_compiler_list=
   4518 
   4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4520 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4521 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4522   $as_echo_n "(cached) " >&6
   4523 else
   4524   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4525   # We make a subdir and do the tests there.  Otherwise we can end up
   4526   # making bogus files that we don't know about and never remove.  For
   4527   # instance it was reported that on HP-UX the gcc test will end up
   4528   # making a dummy file named 'D' -- because '-MD' means "put the output
   4529   # in D".
   4530   rm -rf conftest.dir
   4531   mkdir conftest.dir
   4532   # Copy depcomp to subdir because otherwise we won't find it if we're
   4533   # using a relative directory.
   4534   cp "$am_depcomp" conftest.dir
   4535   cd conftest.dir
   4536   # We will build objects and dependencies in a subdirectory because
   4537   # it helps to detect inapplicable dependency modes.  For instance
   4538   # both Tru64's cc and ICC support -MD to output dependencies as a
   4539   # side effect of compilation, but ICC will put the dependencies in
   4540   # the current directory while Tru64 will put them in the object
   4541   # directory.
   4542   mkdir sub
   4543 
   4544   am_cv_CC_dependencies_compiler_type=none
   4545   if test "$am_compiler_list" = ""; then
   4546      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4547   fi
   4548   am__universal=false
   4549   case " $depcc " in #(
   4550      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4551      esac
   4552 
   4553   for depmode in $am_compiler_list; do
   4554     # Setup a source with many dependencies, because some compilers
   4555     # like to wrap large dependency lists on column 80 (with \), and
   4556     # we should not choose a depcomp mode which is confused by this.
   4557     #
   4558     # We need to recreate these files for each test, as the compiler may
   4559     # overwrite some of them when testing with obscure command lines.
   4560     # This happens at least with the AIX C compiler.
   4561     : > sub/conftest.c
   4562     for i in 1 2 3 4 5 6; do
   4563       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4564       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4565       # Solaris 10 /bin/sh.
   4566       echo '/* dummy */' > sub/conftst$i.h
   4567     done
   4568     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4569 
   4570     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4571     # mode.  It turns out that the SunPro C++ compiler does not properly
   4572     # handle '-M -o', and we need to detect this.  Also, some Intel
   4573     # versions had trouble with output in subdirs.
   4574     am__obj=sub/conftest.${OBJEXT-o}
   4575     am__minus_obj="-o $am__obj"
   4576     case $depmode in
   4577     gcc)
   4578       # This depmode causes a compiler race in universal mode.
   4579       test "$am__universal" = false || continue
   4580       ;;
   4581     nosideeffect)
   4582       # After this tag, mechanisms are not by side-effect, so they'll
   4583       # only be used when explicitly requested.
   4584       if test "x$enable_dependency_tracking" = xyes; then
   4585 	continue
   4586       else
   4587 	break
   4588       fi
   4589       ;;
   4590     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4591       # This compiler won't grok '-c -o', but also, the minuso test has
   4592       # not run yet.  These depmodes are late enough in the game, and
   4593       # so weak that their functioning should not be impacted.
   4594       am__obj=conftest.${OBJEXT-o}
   4595       am__minus_obj=
   4596       ;;
   4597     none) break ;;
   4598     esac
   4599     if depmode=$depmode \
   4600        source=sub/conftest.c object=$am__obj \
   4601        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4602        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4603          >/dev/null 2>conftest.err &&
   4604        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4605        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4606        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4607        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4608       # icc doesn't choke on unknown options, it will just issue warnings
   4609       # or remarks (even with -Werror).  So we grep stderr for any message
   4610       # that says an option was ignored or not supported.
   4611       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4612       #   icc: Command line warning: ignoring option '-M'; no argument required
   4613       # The diagnosis changed in icc 8.0:
   4614       #   icc: Command line remark: option '-MP' not supported
   4615       if (grep 'ignoring option' conftest.err ||
   4616           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4617         am_cv_CC_dependencies_compiler_type=$depmode
   4618         break
   4619       fi
   4620     fi
   4621   done
   4622 
   4623   cd ..
   4624   rm -rf conftest.dir
   4625 else
   4626   am_cv_CC_dependencies_compiler_type=none
   4627 fi
   4628 
   4629 fi
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4631 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4632 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4633 
   4634  if
   4635   test "x$enable_dependency_tracking" != xno \
   4636   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4637   am__fastdepCC_TRUE=
   4638   am__fastdepCC_FALSE='#'
   4639 else
   4640   am__fastdepCC_TRUE='#'
   4641   am__fastdepCC_FALSE=
   4642 fi
   4643 
   4644 
   4645 
   4646 # POSIX will say in a future version that running "rm -f" with no argument
   4647 # is OK; and we want to be able to make that assumption in our Makefile
   4648 # recipes.  So use an aggressive probe to check that the usage we want is
   4649 # actually supported "in the wild" to an acceptable degree.
   4650 # See automake bug#10828.
   4651 # To make any issue more visible, cause the running configure to be aborted
   4652 # by default if the 'rm' program in use doesn't match our expectations; the
   4653 # user can still override this though.
   4654 if rm -f && rm -fr && rm -rf; then : OK; else
   4655   cat >&2 <<'END'
   4656 Oops!
   4657 
   4658 Your 'rm' program seems unable to run without file operands specified
   4659 on the command line, even when the '-f' option is present.  This is contrary
   4660 to the behaviour of most rm programs out there, and not conforming with
   4661 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4662 
   4663 Please tell bug-automake@gnu.org about your system, including the value
   4664 of your $PATH and any error possibly output before this message.  This
   4665 can help us improve future automake versions.
   4666 
   4667 END
   4668   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4669     echo 'Configuration will proceed anyway, since you have set the' >&2
   4670     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4671     echo >&2
   4672   else
   4673     cat >&2 <<'END'
   4674 Aborting the configuration process, to ensure you take notice of the issue.
   4675 
   4676 You can download and install GNU coreutils to get an 'rm' implementation
   4677 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4678 
   4679 If you want to complete the configuration process using your problematic
   4680 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4681 to "yes", and re-run configure.
   4682 
   4683 END
   4684     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4685   fi
   4686 fi
   4687 
   4688 
   4689 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4702 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4703 if ${ac_cv_prog_cc_c99+:} false; then :
   4704   $as_echo_n "(cached) " >&6
   4705 else
   4706   ac_cv_prog_cc_c99=no
   4707 ac_save_CC=$CC
   4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4709 /* end confdefs.h.  */
   4710 #include <stdarg.h>
   4711 #include <stdbool.h>
   4712 #include <stdlib.h>
   4713 #include <wchar.h>
   4714 #include <stdio.h>
   4715 
   4716 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4717 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4718 #define showlist(...) puts (#__VA_ARGS__)
   4719 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4720 static void
   4721 test_varargs_macros (void)
   4722 {
   4723   int x = 1234;
   4724   int y = 5678;
   4725   debug ("Flag");
   4726   debug ("X = %d\n", x);
   4727   showlist (The first, second, and third items.);
   4728   report (x>y, "x is %d but y is %d", x, y);
   4729 }
   4730 
   4731 // Check long long types.
   4732 #define BIG64 18446744073709551615ull
   4733 #define BIG32 4294967295ul
   4734 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4735 #if !BIG_OK
   4736   your preprocessor is broken;
   4737 #endif
   4738 #if BIG_OK
   4739 #else
   4740   your preprocessor is broken;
   4741 #endif
   4742 static long long int bignum = -9223372036854775807LL;
   4743 static unsigned long long int ubignum = BIG64;
   4744 
   4745 struct incomplete_array
   4746 {
   4747   int datasize;
   4748   double data[];
   4749 };
   4750 
   4751 struct named_init {
   4752   int number;
   4753   const wchar_t *name;
   4754   double average;
   4755 };
   4756 
   4757 typedef const char *ccp;
   4758 
   4759 static inline int
   4760 test_restrict (ccp restrict text)
   4761 {
   4762   // See if C++-style comments work.
   4763   // Iterate through items via the restricted pointer.
   4764   // Also check for declarations in for loops.
   4765   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4766     continue;
   4767   return 0;
   4768 }
   4769 
   4770 // Check varargs and va_copy.
   4771 static void
   4772 test_varargs (const char *format, ...)
   4773 {
   4774   va_list args;
   4775   va_start (args, format);
   4776   va_list args_copy;
   4777   va_copy (args_copy, args);
   4778 
   4779   const char *str;
   4780   int number;
   4781   float fnumber;
   4782 
   4783   while (*format)
   4784     {
   4785       switch (*format++)
   4786 	{
   4787 	case 's': // string
   4788 	  str = va_arg (args_copy, const char *);
   4789 	  break;
   4790 	case 'd': // int
   4791 	  number = va_arg (args_copy, int);
   4792 	  break;
   4793 	case 'f': // float
   4794 	  fnumber = va_arg (args_copy, double);
   4795 	  break;
   4796 	default:
   4797 	  break;
   4798 	}
   4799     }
   4800   va_end (args_copy);
   4801   va_end (args);
   4802 }
   4803 
   4804 int
   4805 main ()
   4806 {
   4807 
   4808   // Check bool.
   4809   _Bool success = false;
   4810 
   4811   // Check restrict.
   4812   if (test_restrict ("String literal") == 0)
   4813     success = true;
   4814   char *restrict newvar = "Another string";
   4815 
   4816   // Check varargs.
   4817   test_varargs ("s, d' f .", "string", 65, 34.234);
   4818   test_varargs_macros ();
   4819 
   4820   // Check flexible array members.
   4821   struct incomplete_array *ia =
   4822     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4823   ia->datasize = 10;
   4824   for (int i = 0; i < ia->datasize; ++i)
   4825     ia->data[i] = i * 1.234;
   4826 
   4827   // Check named initializers.
   4828   struct named_init ni = {
   4829     .number = 34,
   4830     .name = L"Test wide string",
   4831     .average = 543.34343,
   4832   };
   4833 
   4834   ni.number = 58;
   4835 
   4836   int dynamic_array[ni.number];
   4837   dynamic_array[ni.number - 1] = 543;
   4838 
   4839   // work around unused variable warnings
   4840   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4841 	  || dynamic_array[ni.number - 1] != 543);
   4842 
   4843   ;
   4844   return 0;
   4845 }
   4846 _ACEOF
   4847 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4848 do
   4849   CC="$ac_save_CC $ac_arg"
   4850   if ac_fn_c_try_compile "$LINENO"; then :
   4851   ac_cv_prog_cc_c99=$ac_arg
   4852 fi
   4853 rm -f core conftest.err conftest.$ac_objext
   4854   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4855 done
   4856 rm -f conftest.$ac_ext
   4857 CC=$ac_save_CC
   4858 
   4859 fi
   4860 # AC_CACHE_VAL
   4861 case "x$ac_cv_prog_cc_c99" in
   4862   x)
   4863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4864 $as_echo "none needed" >&6; } ;;
   4865   xno)
   4866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4867 $as_echo "unsupported" >&6; } ;;
   4868   *)
   4869     CC="$CC $ac_cv_prog_cc_c99"
   4870     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4871 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4872 esac
   4873 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4874 
   4875 fi
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4883 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4884   CLANGCC="yes"
   4885 else
   4886   CLANGCC="no"
   4887 fi
   4888 
   4889 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4890 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4891   INTELCC="yes"
   4892 else
   4893   INTELCC="no"
   4894 fi
   4895 
   4896 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4897 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4898   SUNCC="yes"
   4899 else
   4900   SUNCC="no"
   4901 fi
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4912 	if test -n "$ac_tool_prefix"; then
   4913   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4914 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4916 $as_echo_n "checking for $ac_word... " >&6; }
   4917 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   case $PKG_CONFIG in
   4921   [\\/]* | ?:[\\/]*)
   4922   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4923   ;;
   4924   *)
   4925   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4926 for as_dir in $PATH
   4927 do
   4928   IFS=$as_save_IFS
   4929   test -z "$as_dir" && as_dir=.
   4930     for ac_exec_ext in '' $ac_executable_extensions; do
   4931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4932     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4934     break 2
   4935   fi
   4936 done
   4937   done
   4938 IFS=$as_save_IFS
   4939 
   4940   ;;
   4941 esac
   4942 fi
   4943 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4944 if test -n "$PKG_CONFIG"; then
   4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4946 $as_echo "$PKG_CONFIG" >&6; }
   4947 else
   4948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4949 $as_echo "no" >&6; }
   4950 fi
   4951 
   4952 
   4953 fi
   4954 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4955   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4956   # Extract the first word of "pkg-config", so it can be a program name with args.
   4957 set dummy pkg-config; ac_word=$2
   4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4959 $as_echo_n "checking for $ac_word... " >&6; }
   4960 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963   case $ac_pt_PKG_CONFIG in
   4964   [\\/]* | ?:[\\/]*)
   4965   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4966   ;;
   4967   *)
   4968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4969 for as_dir in $PATH
   4970 do
   4971   IFS=$as_save_IFS
   4972   test -z "$as_dir" && as_dir=.
   4973     for ac_exec_ext in '' $ac_executable_extensions; do
   4974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4975     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4977     break 2
   4978   fi
   4979 done
   4980   done
   4981 IFS=$as_save_IFS
   4982 
   4983   ;;
   4984 esac
   4985 fi
   4986 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4987 if test -n "$ac_pt_PKG_CONFIG"; then
   4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4989 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4990 else
   4991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4992 $as_echo "no" >&6; }
   4993 fi
   4994 
   4995   if test "x$ac_pt_PKG_CONFIG" = x; then
   4996     PKG_CONFIG=""
   4997   else
   4998     case $cross_compiling:$ac_tool_warned in
   4999 yes:)
   5000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5002 ac_tool_warned=yes ;;
   5003 esac
   5004     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5005   fi
   5006 else
   5007   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5008 fi
   5009 
   5010 fi
   5011 if test -n "$PKG_CONFIG"; then
   5012 	_pkg_min_version=0.9.0
   5013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5014 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5015 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5017 $as_echo "yes" >&6; }
   5018 	else
   5019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5020 $as_echo "no" >&6; }
   5021 		PKG_CONFIG=""
   5022 	fi
   5023 fi
   5024 # Make sure we can run config.sub.
   5025 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5026   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5027 
   5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5029 $as_echo_n "checking build system type... " >&6; }
   5030 if ${ac_cv_build+:} false; then :
   5031   $as_echo_n "(cached) " >&6
   5032 else
   5033   ac_build_alias=$build_alias
   5034 test "x$ac_build_alias" = x &&
   5035   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5036 test "x$ac_build_alias" = x &&
   5037   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5038 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5039   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5040 
   5041 fi
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5043 $as_echo "$ac_cv_build" >&6; }
   5044 case $ac_cv_build in
   5045 *-*-*) ;;
   5046 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5047 esac
   5048 build=$ac_cv_build
   5049 ac_save_IFS=$IFS; IFS='-'
   5050 set x $ac_cv_build
   5051 shift
   5052 build_cpu=$1
   5053 build_vendor=$2
   5054 shift; shift
   5055 # Remember, the first character of IFS is used to create $*,
   5056 # except with old shells:
   5057 build_os=$*
   5058 IFS=$ac_save_IFS
   5059 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5060 
   5061 
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5063 $as_echo_n "checking host system type... " >&6; }
   5064 if ${ac_cv_host+:} false; then :
   5065   $as_echo_n "(cached) " >&6
   5066 else
   5067   if test "x$host_alias" = x; then
   5068   ac_cv_host=$ac_cv_build
   5069 else
   5070   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5071     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5072 fi
   5073 
   5074 fi
   5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5076 $as_echo "$ac_cv_host" >&6; }
   5077 case $ac_cv_host in
   5078 *-*-*) ;;
   5079 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5080 esac
   5081 host=$ac_cv_host
   5082 ac_save_IFS=$IFS; IFS='-'
   5083 set x $ac_cv_host
   5084 shift
   5085 host_cpu=$1
   5086 host_vendor=$2
   5087 shift; shift
   5088 # Remember, the first character of IFS is used to create $*,
   5089 # except with old shells:
   5090 host_os=$*
   5091 IFS=$ac_save_IFS
   5092 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5093 
   5094 
   5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5096 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5097 if ${ac_cv_path_SED+:} false; then :
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5101      for ac_i in 1 2 3 4 5 6 7; do
   5102        ac_script="$ac_script$as_nl$ac_script"
   5103      done
   5104      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5105      { ac_script=; unset ac_script;}
   5106      if test -z "$SED"; then
   5107   ac_path_SED_found=false
   5108   # Loop through the user's path and test for each of PROGNAME-LIST
   5109   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5110 for as_dir in $PATH
   5111 do
   5112   IFS=$as_save_IFS
   5113   test -z "$as_dir" && as_dir=.
   5114     for ac_prog in sed gsed; do
   5115     for ac_exec_ext in '' $ac_executable_extensions; do
   5116       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5117       as_fn_executable_p "$ac_path_SED" || continue
   5118 # Check for GNU ac_path_SED and select it if it is found.
   5119   # Check for GNU $ac_path_SED
   5120 case `"$ac_path_SED" --version 2>&1` in
   5121 *GNU*)
   5122   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5123 *)
   5124   ac_count=0
   5125   $as_echo_n 0123456789 >"conftest.in"
   5126   while :
   5127   do
   5128     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5129     mv "conftest.tmp" "conftest.in"
   5130     cp "conftest.in" "conftest.nl"
   5131     $as_echo '' >> "conftest.nl"
   5132     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5133     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5134     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5135     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5136       # Best one so far, save it but keep looking for a better one
   5137       ac_cv_path_SED="$ac_path_SED"
   5138       ac_path_SED_max=$ac_count
   5139     fi
   5140     # 10*(2^10) chars as input seems more than enough
   5141     test $ac_count -gt 10 && break
   5142   done
   5143   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5144 esac
   5145 
   5146       $ac_path_SED_found && break 3
   5147     done
   5148   done
   5149   done
   5150 IFS=$as_save_IFS
   5151   if test -z "$ac_cv_path_SED"; then
   5152     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5153   fi
   5154 else
   5155   ac_cv_path_SED=$SED
   5156 fi
   5157 
   5158 fi
   5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5160 $as_echo "$ac_cv_path_SED" >&6; }
   5161  SED="$ac_cv_path_SED"
   5162   rm -f conftest.sed
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 # Check whether --enable-selective-werror was given.
   5170 if test "${enable_selective_werror+set}" = set; then :
   5171   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5172 else
   5173   SELECTIVE_WERROR=yes
   5174 fi
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5181 if test "x$SUNCC" = "xyes"; then
   5182     BASE_CFLAGS="-v"
   5183 else
   5184     BASE_CFLAGS=""
   5185 fi
   5186 
   5187 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 xorg_testset_save_CFLAGS="$CFLAGS"
   5202 
   5203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5206 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5207 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 int i;
   5213 _ACEOF
   5214 if ac_fn_c_try_compile "$LINENO"; then :
   5215   xorg_cv_cc_flag_unknown_warning_option=yes
   5216 else
   5217   xorg_cv_cc_flag_unknown_warning_option=no
   5218 fi
   5219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5220 fi
   5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5222 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5224 	CFLAGS="$xorg_testset_save_CFLAGS"
   5225 fi
   5226 
   5227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5230 	fi
   5231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5233 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5234 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5235   $as_echo_n "(cached) " >&6
   5236 else
   5237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5238 /* end confdefs.h.  */
   5239 int i;
   5240 _ACEOF
   5241 if ac_fn_c_try_compile "$LINENO"; then :
   5242   xorg_cv_cc_flag_unused_command_line_argument=yes
   5243 else
   5244   xorg_cv_cc_flag_unused_command_line_argument=no
   5245 fi
   5246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5247 fi
   5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5249 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5251 	CFLAGS="$xorg_testset_save_CFLAGS"
   5252 fi
   5253 
   5254 found="no"
   5255 
   5256 	if test $found = "no" ; then
   5257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5259 		fi
   5260 
   5261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5263 		fi
   5264 
   5265 		CFLAGS="$CFLAGS -Wall"
   5266 
   5267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5268 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5269 		cacheid=xorg_cv_cc_flag__Wall
   5270 		if eval \${$cacheid+:} false; then :
   5271   $as_echo_n "(cached) " >&6
   5272 else
   5273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5274 /* end confdefs.h.  */
   5275 int i;
   5276 int
   5277 main ()
   5278 {
   5279 
   5280   ;
   5281   return 0;
   5282 }
   5283 _ACEOF
   5284 if ac_fn_c_try_link "$LINENO"; then :
   5285   eval $cacheid=yes
   5286 else
   5287   eval $cacheid=no
   5288 fi
   5289 rm -f core conftest.err conftest.$ac_objext \
   5290     conftest$ac_exeext conftest.$ac_ext
   5291 fi
   5292 
   5293 
   5294 		CFLAGS="$xorg_testset_save_CFLAGS"
   5295 
   5296 		eval supported=\$$cacheid
   5297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5298 $as_echo "$supported" >&6; }
   5299 		if test "$supported" = "yes" ; then
   5300 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5301 			found="yes"
   5302 		fi
   5303 	fi
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 xorg_testset_save_CFLAGS="$CFLAGS"
   5320 
   5321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5326   $as_echo_n "(cached) " >&6
   5327 else
   5328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5329 /* end confdefs.h.  */
   5330 int i;
   5331 _ACEOF
   5332 if ac_fn_c_try_compile "$LINENO"; then :
   5333   xorg_cv_cc_flag_unknown_warning_option=yes
   5334 else
   5335   xorg_cv_cc_flag_unknown_warning_option=no
   5336 fi
   5337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5338 fi
   5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5342 	CFLAGS="$xorg_testset_save_CFLAGS"
   5343 fi
   5344 
   5345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5348 	fi
   5349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5353   $as_echo_n "(cached) " >&6
   5354 else
   5355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5356 /* end confdefs.h.  */
   5357 int i;
   5358 _ACEOF
   5359 if ac_fn_c_try_compile "$LINENO"; then :
   5360   xorg_cv_cc_flag_unused_command_line_argument=yes
   5361 else
   5362   xorg_cv_cc_flag_unused_command_line_argument=no
   5363 fi
   5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5365 fi
   5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5369 	CFLAGS="$xorg_testset_save_CFLAGS"
   5370 fi
   5371 
   5372 found="no"
   5373 
   5374 	if test $found = "no" ; then
   5375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5377 		fi
   5378 
   5379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5381 		fi
   5382 
   5383 		CFLAGS="$CFLAGS -Wpointer-arith"
   5384 
   5385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5386 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5387 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5388 		if eval \${$cacheid+:} false; then :
   5389   $as_echo_n "(cached) " >&6
   5390 else
   5391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5392 /* end confdefs.h.  */
   5393 int i;
   5394 int
   5395 main ()
   5396 {
   5397 
   5398   ;
   5399   return 0;
   5400 }
   5401 _ACEOF
   5402 if ac_fn_c_try_link "$LINENO"; then :
   5403   eval $cacheid=yes
   5404 else
   5405   eval $cacheid=no
   5406 fi
   5407 rm -f core conftest.err conftest.$ac_objext \
   5408     conftest$ac_exeext conftest.$ac_ext
   5409 fi
   5410 
   5411 
   5412 		CFLAGS="$xorg_testset_save_CFLAGS"
   5413 
   5414 		eval supported=\$$cacheid
   5415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5416 $as_echo "$supported" >&6; }
   5417 		if test "$supported" = "yes" ; then
   5418 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5419 			found="yes"
   5420 		fi
   5421 	fi
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 xorg_testset_save_CFLAGS="$CFLAGS"
   5438 
   5439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5442 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5443 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5444   $as_echo_n "(cached) " >&6
   5445 else
   5446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5447 /* end confdefs.h.  */
   5448 int i;
   5449 _ACEOF
   5450 if ac_fn_c_try_compile "$LINENO"; then :
   5451   xorg_cv_cc_flag_unknown_warning_option=yes
   5452 else
   5453   xorg_cv_cc_flag_unknown_warning_option=no
   5454 fi
   5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5456 fi
   5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5458 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5459 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5460 	CFLAGS="$xorg_testset_save_CFLAGS"
   5461 fi
   5462 
   5463 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5464 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5465 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5466 	fi
   5467 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5469 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5470 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5471   $as_echo_n "(cached) " >&6
   5472 else
   5473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5474 /* end confdefs.h.  */
   5475 int i;
   5476 _ACEOF
   5477 if ac_fn_c_try_compile "$LINENO"; then :
   5478   xorg_cv_cc_flag_unused_command_line_argument=yes
   5479 else
   5480   xorg_cv_cc_flag_unused_command_line_argument=no
   5481 fi
   5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5483 fi
   5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5485 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5487 	CFLAGS="$xorg_testset_save_CFLAGS"
   5488 fi
   5489 
   5490 found="no"
   5491 
   5492 	if test $found = "no" ; then
   5493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5495 		fi
   5496 
   5497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5499 		fi
   5500 
   5501 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5502 
   5503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5504 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5505 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5506 		if eval \${$cacheid+:} false; then :
   5507   $as_echo_n "(cached) " >&6
   5508 else
   5509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5510 /* end confdefs.h.  */
   5511 int i;
   5512 int
   5513 main ()
   5514 {
   5515 
   5516   ;
   5517   return 0;
   5518 }
   5519 _ACEOF
   5520 if ac_fn_c_try_link "$LINENO"; then :
   5521   eval $cacheid=yes
   5522 else
   5523   eval $cacheid=no
   5524 fi
   5525 rm -f core conftest.err conftest.$ac_objext \
   5526     conftest$ac_exeext conftest.$ac_ext
   5527 fi
   5528 
   5529 
   5530 		CFLAGS="$xorg_testset_save_CFLAGS"
   5531 
   5532 		eval supported=\$$cacheid
   5533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5534 $as_echo "$supported" >&6; }
   5535 		if test "$supported" = "yes" ; then
   5536 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5537 			found="yes"
   5538 		fi
   5539 	fi
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 xorg_testset_save_CFLAGS="$CFLAGS"
   5556 
   5557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5562   $as_echo_n "(cached) " >&6
   5563 else
   5564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5565 /* end confdefs.h.  */
   5566 int i;
   5567 _ACEOF
   5568 if ac_fn_c_try_compile "$LINENO"; then :
   5569   xorg_cv_cc_flag_unknown_warning_option=yes
   5570 else
   5571   xorg_cv_cc_flag_unknown_warning_option=no
   5572 fi
   5573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5574 fi
   5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5578 	CFLAGS="$xorg_testset_save_CFLAGS"
   5579 fi
   5580 
   5581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5584 	fi
   5585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5589   $as_echo_n "(cached) " >&6
   5590 else
   5591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5592 /* end confdefs.h.  */
   5593 int i;
   5594 _ACEOF
   5595 if ac_fn_c_try_compile "$LINENO"; then :
   5596   xorg_cv_cc_flag_unused_command_line_argument=yes
   5597 else
   5598   xorg_cv_cc_flag_unused_command_line_argument=no
   5599 fi
   5600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5601 fi
   5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5605 	CFLAGS="$xorg_testset_save_CFLAGS"
   5606 fi
   5607 
   5608 found="no"
   5609 
   5610 	if test $found = "no" ; then
   5611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5613 		fi
   5614 
   5615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5617 		fi
   5618 
   5619 		CFLAGS="$CFLAGS -Wformat=2"
   5620 
   5621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5622 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5623 		cacheid=xorg_cv_cc_flag__Wformat_2
   5624 		if eval \${$cacheid+:} false; then :
   5625   $as_echo_n "(cached) " >&6
   5626 else
   5627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5628 /* end confdefs.h.  */
   5629 int i;
   5630 int
   5631 main ()
   5632 {
   5633 
   5634   ;
   5635   return 0;
   5636 }
   5637 _ACEOF
   5638 if ac_fn_c_try_link "$LINENO"; then :
   5639   eval $cacheid=yes
   5640 else
   5641   eval $cacheid=no
   5642 fi
   5643 rm -f core conftest.err conftest.$ac_objext \
   5644     conftest$ac_exeext conftest.$ac_ext
   5645 fi
   5646 
   5647 
   5648 		CFLAGS="$xorg_testset_save_CFLAGS"
   5649 
   5650 		eval supported=\$$cacheid
   5651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5652 $as_echo "$supported" >&6; }
   5653 		if test "$supported" = "yes" ; then
   5654 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5655 			found="yes"
   5656 		fi
   5657 	fi
   5658 
   5659 	if test $found = "no" ; then
   5660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5662 		fi
   5663 
   5664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5666 		fi
   5667 
   5668 		CFLAGS="$CFLAGS -Wformat"
   5669 
   5670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5671 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5672 		cacheid=xorg_cv_cc_flag__Wformat
   5673 		if eval \${$cacheid+:} false; then :
   5674   $as_echo_n "(cached) " >&6
   5675 else
   5676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5677 /* end confdefs.h.  */
   5678 int i;
   5679 int
   5680 main ()
   5681 {
   5682 
   5683   ;
   5684   return 0;
   5685 }
   5686 _ACEOF
   5687 if ac_fn_c_try_link "$LINENO"; then :
   5688   eval $cacheid=yes
   5689 else
   5690   eval $cacheid=no
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext \
   5693     conftest$ac_exeext conftest.$ac_ext
   5694 fi
   5695 
   5696 
   5697 		CFLAGS="$xorg_testset_save_CFLAGS"
   5698 
   5699 		eval supported=\$$cacheid
   5700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5701 $as_echo "$supported" >&6; }
   5702 		if test "$supported" = "yes" ; then
   5703 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5704 			found="yes"
   5705 		fi
   5706 	fi
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 xorg_testset_save_CFLAGS="$CFLAGS"
   5725 
   5726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5729 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5730 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5731   $as_echo_n "(cached) " >&6
   5732 else
   5733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5734 /* end confdefs.h.  */
   5735 int i;
   5736 _ACEOF
   5737 if ac_fn_c_try_compile "$LINENO"; then :
   5738   xorg_cv_cc_flag_unknown_warning_option=yes
   5739 else
   5740   xorg_cv_cc_flag_unknown_warning_option=no
   5741 fi
   5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5743 fi
   5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5745 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5747 	CFLAGS="$xorg_testset_save_CFLAGS"
   5748 fi
   5749 
   5750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5753 	fi
   5754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5756 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5757 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5761 /* end confdefs.h.  */
   5762 int i;
   5763 _ACEOF
   5764 if ac_fn_c_try_compile "$LINENO"; then :
   5765   xorg_cv_cc_flag_unused_command_line_argument=yes
   5766 else
   5767   xorg_cv_cc_flag_unused_command_line_argument=no
   5768 fi
   5769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5770 fi
   5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5772 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5774 	CFLAGS="$xorg_testset_save_CFLAGS"
   5775 fi
   5776 
   5777 found="no"
   5778 
   5779 	if test $found = "no" ; then
   5780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5782 		fi
   5783 
   5784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5786 		fi
   5787 
   5788 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5789 
   5790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5791 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5792 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5793 		if eval \${$cacheid+:} false; then :
   5794   $as_echo_n "(cached) " >&6
   5795 else
   5796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5797 /* end confdefs.h.  */
   5798 int i;
   5799 int
   5800 main ()
   5801 {
   5802 
   5803   ;
   5804   return 0;
   5805 }
   5806 _ACEOF
   5807 if ac_fn_c_try_link "$LINENO"; then :
   5808   eval $cacheid=yes
   5809 else
   5810   eval $cacheid=no
   5811 fi
   5812 rm -f core conftest.err conftest.$ac_objext \
   5813     conftest$ac_exeext conftest.$ac_ext
   5814 fi
   5815 
   5816 
   5817 		CFLAGS="$xorg_testset_save_CFLAGS"
   5818 
   5819 		eval supported=\$$cacheid
   5820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5821 $as_echo "$supported" >&6; }
   5822 		if test "$supported" = "yes" ; then
   5823 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5824 			found="yes"
   5825 		fi
   5826 	fi
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 xorg_testset_save_CFLAGS="$CFLAGS"
   5843 
   5844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5847 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5848 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5849   $as_echo_n "(cached) " >&6
   5850 else
   5851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5852 /* end confdefs.h.  */
   5853 int i;
   5854 _ACEOF
   5855 if ac_fn_c_try_compile "$LINENO"; then :
   5856   xorg_cv_cc_flag_unknown_warning_option=yes
   5857 else
   5858   xorg_cv_cc_flag_unknown_warning_option=no
   5859 fi
   5860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5861 fi
   5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5863 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5865 	CFLAGS="$xorg_testset_save_CFLAGS"
   5866 fi
   5867 
   5868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5871 	fi
   5872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5874 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5875 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5876   $as_echo_n "(cached) " >&6
   5877 else
   5878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5879 /* end confdefs.h.  */
   5880 int i;
   5881 _ACEOF
   5882 if ac_fn_c_try_compile "$LINENO"; then :
   5883   xorg_cv_cc_flag_unused_command_line_argument=yes
   5884 else
   5885   xorg_cv_cc_flag_unused_command_line_argument=no
   5886 fi
   5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5888 fi
   5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5890 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5892 	CFLAGS="$xorg_testset_save_CFLAGS"
   5893 fi
   5894 
   5895 found="no"
   5896 
   5897 	if test $found = "no" ; then
   5898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 		fi
   5901 
   5902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5904 		fi
   5905 
   5906 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5907 
   5908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5909 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5910 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5911 		if eval \${$cacheid+:} false; then :
   5912   $as_echo_n "(cached) " >&6
   5913 else
   5914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5915 /* end confdefs.h.  */
   5916 int i;
   5917 int
   5918 main ()
   5919 {
   5920 
   5921   ;
   5922   return 0;
   5923 }
   5924 _ACEOF
   5925 if ac_fn_c_try_link "$LINENO"; then :
   5926   eval $cacheid=yes
   5927 else
   5928   eval $cacheid=no
   5929 fi
   5930 rm -f core conftest.err conftest.$ac_objext \
   5931     conftest$ac_exeext conftest.$ac_ext
   5932 fi
   5933 
   5934 
   5935 		CFLAGS="$xorg_testset_save_CFLAGS"
   5936 
   5937 		eval supported=\$$cacheid
   5938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5939 $as_echo "$supported" >&6; }
   5940 		if test "$supported" = "yes" ; then
   5941 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5942 			found="yes"
   5943 		fi
   5944 	fi
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 xorg_testset_save_CFLAGS="$CFLAGS"
   5961 
   5962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5965 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5966 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5967   $as_echo_n "(cached) " >&6
   5968 else
   5969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 int i;
   5972 _ACEOF
   5973 if ac_fn_c_try_compile "$LINENO"; then :
   5974   xorg_cv_cc_flag_unknown_warning_option=yes
   5975 else
   5976   xorg_cv_cc_flag_unknown_warning_option=no
   5977 fi
   5978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5979 fi
   5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5981 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5983 	CFLAGS="$xorg_testset_save_CFLAGS"
   5984 fi
   5985 
   5986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5989 	fi
   5990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5992 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5993 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5994   $as_echo_n "(cached) " >&6
   5995 else
   5996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5997 /* end confdefs.h.  */
   5998 int i;
   5999 _ACEOF
   6000 if ac_fn_c_try_compile "$LINENO"; then :
   6001   xorg_cv_cc_flag_unused_command_line_argument=yes
   6002 else
   6003   xorg_cv_cc_flag_unused_command_line_argument=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6006 fi
   6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6008 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6009 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6010 	CFLAGS="$xorg_testset_save_CFLAGS"
   6011 fi
   6012 
   6013 found="no"
   6014 
   6015 	if test $found = "no" ; then
   6016 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6018 		fi
   6019 
   6020 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6022 		fi
   6023 
   6024 		CFLAGS="$CFLAGS -Wnested-externs"
   6025 
   6026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6027 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   6028 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6029 		if eval \${$cacheid+:} false; then :
   6030   $as_echo_n "(cached) " >&6
   6031 else
   6032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6033 /* end confdefs.h.  */
   6034 int i;
   6035 int
   6036 main ()
   6037 {
   6038 
   6039   ;
   6040   return 0;
   6041 }
   6042 _ACEOF
   6043 if ac_fn_c_try_link "$LINENO"; then :
   6044   eval $cacheid=yes
   6045 else
   6046   eval $cacheid=no
   6047 fi
   6048 rm -f core conftest.err conftest.$ac_objext \
   6049     conftest$ac_exeext conftest.$ac_ext
   6050 fi
   6051 
   6052 
   6053 		CFLAGS="$xorg_testset_save_CFLAGS"
   6054 
   6055 		eval supported=\$$cacheid
   6056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6057 $as_echo "$supported" >&6; }
   6058 		if test "$supported" = "yes" ; then
   6059 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6060 			found="yes"
   6061 		fi
   6062 	fi
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 xorg_testset_save_CFLAGS="$CFLAGS"
   6079 
   6080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6083 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6084 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6085   $as_echo_n "(cached) " >&6
   6086 else
   6087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6088 /* end confdefs.h.  */
   6089 int i;
   6090 _ACEOF
   6091 if ac_fn_c_try_compile "$LINENO"; then :
   6092   xorg_cv_cc_flag_unknown_warning_option=yes
   6093 else
   6094   xorg_cv_cc_flag_unknown_warning_option=no
   6095 fi
   6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6097 fi
   6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6099 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6101 	CFLAGS="$xorg_testset_save_CFLAGS"
   6102 fi
   6103 
   6104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6107 	fi
   6108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6110 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6111 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6112   $as_echo_n "(cached) " >&6
   6113 else
   6114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6115 /* end confdefs.h.  */
   6116 int i;
   6117 _ACEOF
   6118 if ac_fn_c_try_compile "$LINENO"; then :
   6119   xorg_cv_cc_flag_unused_command_line_argument=yes
   6120 else
   6121   xorg_cv_cc_flag_unused_command_line_argument=no
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6124 fi
   6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6126 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6128 	CFLAGS="$xorg_testset_save_CFLAGS"
   6129 fi
   6130 
   6131 found="no"
   6132 
   6133 	if test $found = "no" ; then
   6134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6136 		fi
   6137 
   6138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6140 		fi
   6141 
   6142 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6143 
   6144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6145 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   6146 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6147 		if eval \${$cacheid+:} false; then :
   6148   $as_echo_n "(cached) " >&6
   6149 else
   6150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6151 /* end confdefs.h.  */
   6152 int i;
   6153 int
   6154 main ()
   6155 {
   6156 
   6157   ;
   6158   return 0;
   6159 }
   6160 _ACEOF
   6161 if ac_fn_c_try_link "$LINENO"; then :
   6162   eval $cacheid=yes
   6163 else
   6164   eval $cacheid=no
   6165 fi
   6166 rm -f core conftest.err conftest.$ac_objext \
   6167     conftest$ac_exeext conftest.$ac_ext
   6168 fi
   6169 
   6170 
   6171 		CFLAGS="$xorg_testset_save_CFLAGS"
   6172 
   6173 		eval supported=\$$cacheid
   6174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6175 $as_echo "$supported" >&6; }
   6176 		if test "$supported" = "yes" ; then
   6177 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6178 			found="yes"
   6179 		fi
   6180 	fi
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 xorg_testset_save_CFLAGS="$CFLAGS"
   6197 
   6198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6200 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6201 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6202 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6203   $as_echo_n "(cached) " >&6
   6204 else
   6205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6206 /* end confdefs.h.  */
   6207 int i;
   6208 _ACEOF
   6209 if ac_fn_c_try_compile "$LINENO"; then :
   6210   xorg_cv_cc_flag_unknown_warning_option=yes
   6211 else
   6212   xorg_cv_cc_flag_unknown_warning_option=no
   6213 fi
   6214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6215 fi
   6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6217 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6219 	CFLAGS="$xorg_testset_save_CFLAGS"
   6220 fi
   6221 
   6222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6225 	fi
   6226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6228 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6229 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6230   $as_echo_n "(cached) " >&6
   6231 else
   6232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6233 /* end confdefs.h.  */
   6234 int i;
   6235 _ACEOF
   6236 if ac_fn_c_try_compile "$LINENO"; then :
   6237   xorg_cv_cc_flag_unused_command_line_argument=yes
   6238 else
   6239   xorg_cv_cc_flag_unused_command_line_argument=no
   6240 fi
   6241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6242 fi
   6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6244 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6245 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6246 	CFLAGS="$xorg_testset_save_CFLAGS"
   6247 fi
   6248 
   6249 found="no"
   6250 
   6251 	if test $found = "no" ; then
   6252 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6254 		fi
   6255 
   6256 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6258 		fi
   6259 
   6260 		CFLAGS="$CFLAGS -Wold-style-definition"
   6261 
   6262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6263 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6264 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6265 		if eval \${$cacheid+:} false; then :
   6266   $as_echo_n "(cached) " >&6
   6267 else
   6268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6269 /* end confdefs.h.  */
   6270 int i;
   6271 int
   6272 main ()
   6273 {
   6274 
   6275   ;
   6276   return 0;
   6277 }
   6278 _ACEOF
   6279 if ac_fn_c_try_link "$LINENO"; then :
   6280   eval $cacheid=yes
   6281 else
   6282   eval $cacheid=no
   6283 fi
   6284 rm -f core conftest.err conftest.$ac_objext \
   6285     conftest$ac_exeext conftest.$ac_ext
   6286 fi
   6287 
   6288 
   6289 		CFLAGS="$xorg_testset_save_CFLAGS"
   6290 
   6291 		eval supported=\$$cacheid
   6292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6293 $as_echo "$supported" >&6; }
   6294 		if test "$supported" = "yes" ; then
   6295 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6296 			found="yes"
   6297 		fi
   6298 	fi
   6299 
   6300 	if test $found = "no" ; then
   6301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6303 		fi
   6304 
   6305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6307 		fi
   6308 
   6309 		CFLAGS="$CFLAGS -fd"
   6310 
   6311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6312 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6313 		cacheid=xorg_cv_cc_flag__fd
   6314 		if eval \${$cacheid+:} false; then :
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6318 /* end confdefs.h.  */
   6319 int i;
   6320 int
   6321 main ()
   6322 {
   6323 
   6324   ;
   6325   return 0;
   6326 }
   6327 _ACEOF
   6328 if ac_fn_c_try_link "$LINENO"; then :
   6329   eval $cacheid=yes
   6330 else
   6331   eval $cacheid=no
   6332 fi
   6333 rm -f core conftest.err conftest.$ac_objext \
   6334     conftest$ac_exeext conftest.$ac_ext
   6335 fi
   6336 
   6337 
   6338 		CFLAGS="$xorg_testset_save_CFLAGS"
   6339 
   6340 		eval supported=\$$cacheid
   6341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6342 $as_echo "$supported" >&6; }
   6343 		if test "$supported" = "yes" ; then
   6344 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6345 			found="yes"
   6346 		fi
   6347 	fi
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 xorg_testset_save_CFLAGS="$CFLAGS"
   6364 
   6365 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6366 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6368 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6369 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6370   $as_echo_n "(cached) " >&6
   6371 else
   6372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6373 /* end confdefs.h.  */
   6374 int i;
   6375 _ACEOF
   6376 if ac_fn_c_try_compile "$LINENO"; then :
   6377   xorg_cv_cc_flag_unknown_warning_option=yes
   6378 else
   6379   xorg_cv_cc_flag_unknown_warning_option=no
   6380 fi
   6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6382 fi
   6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6384 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6386 	CFLAGS="$xorg_testset_save_CFLAGS"
   6387 fi
   6388 
   6389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6392 	fi
   6393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6395 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6396 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6400 /* end confdefs.h.  */
   6401 int i;
   6402 _ACEOF
   6403 if ac_fn_c_try_compile "$LINENO"; then :
   6404   xorg_cv_cc_flag_unused_command_line_argument=yes
   6405 else
   6406   xorg_cv_cc_flag_unused_command_line_argument=no
   6407 fi
   6408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6409 fi
   6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6411 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6412 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6413 	CFLAGS="$xorg_testset_save_CFLAGS"
   6414 fi
   6415 
   6416 found="no"
   6417 
   6418 	if test $found = "no" ; then
   6419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6421 		fi
   6422 
   6423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6425 		fi
   6426 
   6427 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6428 
   6429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6430 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6431 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6432 		if eval \${$cacheid+:} false; then :
   6433   $as_echo_n "(cached) " >&6
   6434 else
   6435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6436 /* end confdefs.h.  */
   6437 int i;
   6438 int
   6439 main ()
   6440 {
   6441 
   6442   ;
   6443   return 0;
   6444 }
   6445 _ACEOF
   6446 if ac_fn_c_try_link "$LINENO"; then :
   6447   eval $cacheid=yes
   6448 else
   6449   eval $cacheid=no
   6450 fi
   6451 rm -f core conftest.err conftest.$ac_objext \
   6452     conftest$ac_exeext conftest.$ac_ext
   6453 fi
   6454 
   6455 
   6456 		CFLAGS="$xorg_testset_save_CFLAGS"
   6457 
   6458 		eval supported=\$$cacheid
   6459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6460 $as_echo "$supported" >&6; }
   6461 		if test "$supported" = "yes" ; then
   6462 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6463 			found="yes"
   6464 		fi
   6465 	fi
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 # This chunk adds additional warnings that could catch undesired effects.
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 xorg_testset_save_CFLAGS="$CFLAGS"
   6486 
   6487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6492   $as_echo_n "(cached) " >&6
   6493 else
   6494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6495 /* end confdefs.h.  */
   6496 int i;
   6497 _ACEOF
   6498 if ac_fn_c_try_compile "$LINENO"; then :
   6499   xorg_cv_cc_flag_unknown_warning_option=yes
   6500 else
   6501   xorg_cv_cc_flag_unknown_warning_option=no
   6502 fi
   6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6504 fi
   6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6508 	CFLAGS="$xorg_testset_save_CFLAGS"
   6509 fi
   6510 
   6511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6514 	fi
   6515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6519   $as_echo_n "(cached) " >&6
   6520 else
   6521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6522 /* end confdefs.h.  */
   6523 int i;
   6524 _ACEOF
   6525 if ac_fn_c_try_compile "$LINENO"; then :
   6526   xorg_cv_cc_flag_unused_command_line_argument=yes
   6527 else
   6528   xorg_cv_cc_flag_unused_command_line_argument=no
   6529 fi
   6530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6531 fi
   6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6535 	CFLAGS="$xorg_testset_save_CFLAGS"
   6536 fi
   6537 
   6538 found="no"
   6539 
   6540 	if test $found = "no" ; then
   6541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6543 		fi
   6544 
   6545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6547 		fi
   6548 
   6549 		CFLAGS="$CFLAGS -Wunused"
   6550 
   6551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6552 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6553 		cacheid=xorg_cv_cc_flag__Wunused
   6554 		if eval \${$cacheid+:} false; then :
   6555   $as_echo_n "(cached) " >&6
   6556 else
   6557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6558 /* end confdefs.h.  */
   6559 int i;
   6560 int
   6561 main ()
   6562 {
   6563 
   6564   ;
   6565   return 0;
   6566 }
   6567 _ACEOF
   6568 if ac_fn_c_try_link "$LINENO"; then :
   6569   eval $cacheid=yes
   6570 else
   6571   eval $cacheid=no
   6572 fi
   6573 rm -f core conftest.err conftest.$ac_objext \
   6574     conftest$ac_exeext conftest.$ac_ext
   6575 fi
   6576 
   6577 
   6578 		CFLAGS="$xorg_testset_save_CFLAGS"
   6579 
   6580 		eval supported=\$$cacheid
   6581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6582 $as_echo "$supported" >&6; }
   6583 		if test "$supported" = "yes" ; then
   6584 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6585 			found="yes"
   6586 		fi
   6587 	fi
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 xorg_testset_save_CFLAGS="$CFLAGS"
   6604 
   6605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6610   $as_echo_n "(cached) " >&6
   6611 else
   6612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6613 /* end confdefs.h.  */
   6614 int i;
   6615 _ACEOF
   6616 if ac_fn_c_try_compile "$LINENO"; then :
   6617   xorg_cv_cc_flag_unknown_warning_option=yes
   6618 else
   6619   xorg_cv_cc_flag_unknown_warning_option=no
   6620 fi
   6621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6622 fi
   6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6626 	CFLAGS="$xorg_testset_save_CFLAGS"
   6627 fi
   6628 
   6629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6632 	fi
   6633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6637   $as_echo_n "(cached) " >&6
   6638 else
   6639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6640 /* end confdefs.h.  */
   6641 int i;
   6642 _ACEOF
   6643 if ac_fn_c_try_compile "$LINENO"; then :
   6644   xorg_cv_cc_flag_unused_command_line_argument=yes
   6645 else
   6646   xorg_cv_cc_flag_unused_command_line_argument=no
   6647 fi
   6648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6649 fi
   6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6653 	CFLAGS="$xorg_testset_save_CFLAGS"
   6654 fi
   6655 
   6656 found="no"
   6657 
   6658 	if test $found = "no" ; then
   6659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6661 		fi
   6662 
   6663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6665 		fi
   6666 
   6667 		CFLAGS="$CFLAGS -Wuninitialized"
   6668 
   6669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6670 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6671 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6672 		if eval \${$cacheid+:} false; then :
   6673   $as_echo_n "(cached) " >&6
   6674 else
   6675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6676 /* end confdefs.h.  */
   6677 int i;
   6678 int
   6679 main ()
   6680 {
   6681 
   6682   ;
   6683   return 0;
   6684 }
   6685 _ACEOF
   6686 if ac_fn_c_try_link "$LINENO"; then :
   6687   eval $cacheid=yes
   6688 else
   6689   eval $cacheid=no
   6690 fi
   6691 rm -f core conftest.err conftest.$ac_objext \
   6692     conftest$ac_exeext conftest.$ac_ext
   6693 fi
   6694 
   6695 
   6696 		CFLAGS="$xorg_testset_save_CFLAGS"
   6697 
   6698 		eval supported=\$$cacheid
   6699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6700 $as_echo "$supported" >&6; }
   6701 		if test "$supported" = "yes" ; then
   6702 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6703 			found="yes"
   6704 		fi
   6705 	fi
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 xorg_testset_save_CFLAGS="$CFLAGS"
   6722 
   6723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6728   $as_echo_n "(cached) " >&6
   6729 else
   6730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6731 /* end confdefs.h.  */
   6732 int i;
   6733 _ACEOF
   6734 if ac_fn_c_try_compile "$LINENO"; then :
   6735   xorg_cv_cc_flag_unknown_warning_option=yes
   6736 else
   6737   xorg_cv_cc_flag_unknown_warning_option=no
   6738 fi
   6739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6740 fi
   6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6744 	CFLAGS="$xorg_testset_save_CFLAGS"
   6745 fi
   6746 
   6747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6750 	fi
   6751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6755   $as_echo_n "(cached) " >&6
   6756 else
   6757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6758 /* end confdefs.h.  */
   6759 int i;
   6760 _ACEOF
   6761 if ac_fn_c_try_compile "$LINENO"; then :
   6762   xorg_cv_cc_flag_unused_command_line_argument=yes
   6763 else
   6764   xorg_cv_cc_flag_unused_command_line_argument=no
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6767 fi
   6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6771 	CFLAGS="$xorg_testset_save_CFLAGS"
   6772 fi
   6773 
   6774 found="no"
   6775 
   6776 	if test $found = "no" ; then
   6777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6779 		fi
   6780 
   6781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6783 		fi
   6784 
   6785 		CFLAGS="$CFLAGS -Wshadow"
   6786 
   6787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6788 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6789 		cacheid=xorg_cv_cc_flag__Wshadow
   6790 		if eval \${$cacheid+:} false; then :
   6791   $as_echo_n "(cached) " >&6
   6792 else
   6793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6794 /* end confdefs.h.  */
   6795 int i;
   6796 int
   6797 main ()
   6798 {
   6799 
   6800   ;
   6801   return 0;
   6802 }
   6803 _ACEOF
   6804 if ac_fn_c_try_link "$LINENO"; then :
   6805   eval $cacheid=yes
   6806 else
   6807   eval $cacheid=no
   6808 fi
   6809 rm -f core conftest.err conftest.$ac_objext \
   6810     conftest$ac_exeext conftest.$ac_ext
   6811 fi
   6812 
   6813 
   6814 		CFLAGS="$xorg_testset_save_CFLAGS"
   6815 
   6816 		eval supported=\$$cacheid
   6817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6818 $as_echo "$supported" >&6; }
   6819 		if test "$supported" = "yes" ; then
   6820 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6821 			found="yes"
   6822 		fi
   6823 	fi
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 xorg_testset_save_CFLAGS="$CFLAGS"
   6840 
   6841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6846   $as_echo_n "(cached) " >&6
   6847 else
   6848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6849 /* end confdefs.h.  */
   6850 int i;
   6851 _ACEOF
   6852 if ac_fn_c_try_compile "$LINENO"; then :
   6853   xorg_cv_cc_flag_unknown_warning_option=yes
   6854 else
   6855   xorg_cv_cc_flag_unknown_warning_option=no
   6856 fi
   6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6858 fi
   6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6862 	CFLAGS="$xorg_testset_save_CFLAGS"
   6863 fi
   6864 
   6865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6868 	fi
   6869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6873   $as_echo_n "(cached) " >&6
   6874 else
   6875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6876 /* end confdefs.h.  */
   6877 int i;
   6878 _ACEOF
   6879 if ac_fn_c_try_compile "$LINENO"; then :
   6880   xorg_cv_cc_flag_unused_command_line_argument=yes
   6881 else
   6882   xorg_cv_cc_flag_unused_command_line_argument=no
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6885 fi
   6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6889 	CFLAGS="$xorg_testset_save_CFLAGS"
   6890 fi
   6891 
   6892 found="no"
   6893 
   6894 	if test $found = "no" ; then
   6895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6897 		fi
   6898 
   6899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6901 		fi
   6902 
   6903 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6904 
   6905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6906 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6907 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6908 		if eval \${$cacheid+:} false; then :
   6909   $as_echo_n "(cached) " >&6
   6910 else
   6911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6912 /* end confdefs.h.  */
   6913 int i;
   6914 int
   6915 main ()
   6916 {
   6917 
   6918   ;
   6919   return 0;
   6920 }
   6921 _ACEOF
   6922 if ac_fn_c_try_link "$LINENO"; then :
   6923   eval $cacheid=yes
   6924 else
   6925   eval $cacheid=no
   6926 fi
   6927 rm -f core conftest.err conftest.$ac_objext \
   6928     conftest$ac_exeext conftest.$ac_ext
   6929 fi
   6930 
   6931 
   6932 		CFLAGS="$xorg_testset_save_CFLAGS"
   6933 
   6934 		eval supported=\$$cacheid
   6935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6936 $as_echo "$supported" >&6; }
   6937 		if test "$supported" = "yes" ; then
   6938 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6939 			found="yes"
   6940 		fi
   6941 	fi
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 xorg_testset_save_CFLAGS="$CFLAGS"
   6958 
   6959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6967 /* end confdefs.h.  */
   6968 int i;
   6969 _ACEOF
   6970 if ac_fn_c_try_compile "$LINENO"; then :
   6971   xorg_cv_cc_flag_unknown_warning_option=yes
   6972 else
   6973   xorg_cv_cc_flag_unknown_warning_option=no
   6974 fi
   6975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6976 fi
   6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6980 	CFLAGS="$xorg_testset_save_CFLAGS"
   6981 fi
   6982 
   6983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6986 	fi
   6987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6991   $as_echo_n "(cached) " >&6
   6992 else
   6993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6994 /* end confdefs.h.  */
   6995 int i;
   6996 _ACEOF
   6997 if ac_fn_c_try_compile "$LINENO"; then :
   6998   xorg_cv_cc_flag_unused_command_line_argument=yes
   6999 else
   7000   xorg_cv_cc_flag_unused_command_line_argument=no
   7001 fi
   7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7003 fi
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7007 	CFLAGS="$xorg_testset_save_CFLAGS"
   7008 fi
   7009 
   7010 found="no"
   7011 
   7012 	if test $found = "no" ; then
   7013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7015 		fi
   7016 
   7017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7019 		fi
   7020 
   7021 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7022 
   7023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7024 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7025 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7026 		if eval \${$cacheid+:} false; then :
   7027   $as_echo_n "(cached) " >&6
   7028 else
   7029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7030 /* end confdefs.h.  */
   7031 int i;
   7032 int
   7033 main ()
   7034 {
   7035 
   7036   ;
   7037   return 0;
   7038 }
   7039 _ACEOF
   7040 if ac_fn_c_try_link "$LINENO"; then :
   7041   eval $cacheid=yes
   7042 else
   7043   eval $cacheid=no
   7044 fi
   7045 rm -f core conftest.err conftest.$ac_objext \
   7046     conftest$ac_exeext conftest.$ac_ext
   7047 fi
   7048 
   7049 
   7050 		CFLAGS="$xorg_testset_save_CFLAGS"
   7051 
   7052 		eval supported=\$$cacheid
   7053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7054 $as_echo "$supported" >&6; }
   7055 		if test "$supported" = "yes" ; then
   7056 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7057 			found="yes"
   7058 		fi
   7059 	fi
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 xorg_testset_save_CFLAGS="$CFLAGS"
   7076 
   7077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7080 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7081 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7082   $as_echo_n "(cached) " >&6
   7083 else
   7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 int i;
   7087 _ACEOF
   7088 if ac_fn_c_try_compile "$LINENO"; then :
   7089   xorg_cv_cc_flag_unknown_warning_option=yes
   7090 else
   7091   xorg_cv_cc_flag_unknown_warning_option=no
   7092 fi
   7093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7094 fi
   7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7096 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7098 	CFLAGS="$xorg_testset_save_CFLAGS"
   7099 fi
   7100 
   7101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7104 	fi
   7105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7107 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7108 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7109   $as_echo_n "(cached) " >&6
   7110 else
   7111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7112 /* end confdefs.h.  */
   7113 int i;
   7114 _ACEOF
   7115 if ac_fn_c_try_compile "$LINENO"; then :
   7116   xorg_cv_cc_flag_unused_command_line_argument=yes
   7117 else
   7118   xorg_cv_cc_flag_unused_command_line_argument=no
   7119 fi
   7120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7121 fi
   7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7123 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7125 	CFLAGS="$xorg_testset_save_CFLAGS"
   7126 fi
   7127 
   7128 found="no"
   7129 
   7130 	if test $found = "no" ; then
   7131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7133 		fi
   7134 
   7135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7137 		fi
   7138 
   7139 		CFLAGS="$CFLAGS -Wredundant-decls"
   7140 
   7141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7142 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   7143 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7144 		if eval \${$cacheid+:} false; then :
   7145   $as_echo_n "(cached) " >&6
   7146 else
   7147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7148 /* end confdefs.h.  */
   7149 int i;
   7150 int
   7151 main ()
   7152 {
   7153 
   7154   ;
   7155   return 0;
   7156 }
   7157 _ACEOF
   7158 if ac_fn_c_try_link "$LINENO"; then :
   7159   eval $cacheid=yes
   7160 else
   7161   eval $cacheid=no
   7162 fi
   7163 rm -f core conftest.err conftest.$ac_objext \
   7164     conftest$ac_exeext conftest.$ac_ext
   7165 fi
   7166 
   7167 
   7168 		CFLAGS="$xorg_testset_save_CFLAGS"
   7169 
   7170 		eval supported=\$$cacheid
   7171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7172 $as_echo "$supported" >&6; }
   7173 		if test "$supported" = "yes" ; then
   7174 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7175 			found="yes"
   7176 		fi
   7177 	fi
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 xorg_testset_save_CFLAGS="$CFLAGS"
   7194 
   7195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7198 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7199 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 _ACEOF
   7206 if ac_fn_c_try_compile "$LINENO"; then :
   7207   xorg_cv_cc_flag_unknown_warning_option=yes
   7208 else
   7209   xorg_cv_cc_flag_unknown_warning_option=no
   7210 fi
   7211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7212 fi
   7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7214 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7216 	CFLAGS="$xorg_testset_save_CFLAGS"
   7217 fi
   7218 
   7219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7222 	fi
   7223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7225 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7226 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7227   $as_echo_n "(cached) " >&6
   7228 else
   7229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7230 /* end confdefs.h.  */
   7231 int i;
   7232 _ACEOF
   7233 if ac_fn_c_try_compile "$LINENO"; then :
   7234   xorg_cv_cc_flag_unused_command_line_argument=yes
   7235 else
   7236   xorg_cv_cc_flag_unused_command_line_argument=no
   7237 fi
   7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7239 fi
   7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7241 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7243 	CFLAGS="$xorg_testset_save_CFLAGS"
   7244 fi
   7245 
   7246 found="no"
   7247 
   7248 	if test $found = "no" ; then
   7249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7251 		fi
   7252 
   7253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7255 		fi
   7256 
   7257 		CFLAGS="$CFLAGS -Wlogical-op"
   7258 
   7259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7260 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   7261 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7262 		if eval \${$cacheid+:} false; then :
   7263   $as_echo_n "(cached) " >&6
   7264 else
   7265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7266 /* end confdefs.h.  */
   7267 int i;
   7268 int
   7269 main ()
   7270 {
   7271 
   7272   ;
   7273   return 0;
   7274 }
   7275 _ACEOF
   7276 if ac_fn_c_try_link "$LINENO"; then :
   7277   eval $cacheid=yes
   7278 else
   7279   eval $cacheid=no
   7280 fi
   7281 rm -f core conftest.err conftest.$ac_objext \
   7282     conftest$ac_exeext conftest.$ac_ext
   7283 fi
   7284 
   7285 
   7286 		CFLAGS="$xorg_testset_save_CFLAGS"
   7287 
   7288 		eval supported=\$$cacheid
   7289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7290 $as_echo "$supported" >&6; }
   7291 		if test "$supported" = "yes" ; then
   7292 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7293 			found="yes"
   7294 		fi
   7295 	fi
   7296 
   7297 
   7298 
   7299 # These are currently disabled because they are noisy.  They will be enabled
   7300 # in the future once the codebase is sufficiently modernized to silence
   7301 # them.  For now, I don't want them to drown out the other warnings.
   7302 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7303 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7304 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7305 
   7306 # Turn some warnings into errors, so we don't accidently get successful builds
   7307 # when there are problems that should be fixed.
   7308 
   7309 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 xorg_testset_save_CFLAGS="$CFLAGS"
   7324 
   7325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7328 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7329 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 int i;
   7335 _ACEOF
   7336 if ac_fn_c_try_compile "$LINENO"; then :
   7337   xorg_cv_cc_flag_unknown_warning_option=yes
   7338 else
   7339   xorg_cv_cc_flag_unknown_warning_option=no
   7340 fi
   7341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7342 fi
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7344 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7346 	CFLAGS="$xorg_testset_save_CFLAGS"
   7347 fi
   7348 
   7349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7352 	fi
   7353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7355 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7356 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7357   $as_echo_n "(cached) " >&6
   7358 else
   7359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7360 /* end confdefs.h.  */
   7361 int i;
   7362 _ACEOF
   7363 if ac_fn_c_try_compile "$LINENO"; then :
   7364   xorg_cv_cc_flag_unused_command_line_argument=yes
   7365 else
   7366   xorg_cv_cc_flag_unused_command_line_argument=no
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7369 fi
   7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7371 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7373 	CFLAGS="$xorg_testset_save_CFLAGS"
   7374 fi
   7375 
   7376 found="no"
   7377 
   7378 	if test $found = "no" ; then
   7379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7381 		fi
   7382 
   7383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7385 		fi
   7386 
   7387 		CFLAGS="$CFLAGS -Werror=implicit"
   7388 
   7389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7390 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7391 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7392 		if eval \${$cacheid+:} false; then :
   7393   $as_echo_n "(cached) " >&6
   7394 else
   7395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7396 /* end confdefs.h.  */
   7397 int i;
   7398 int
   7399 main ()
   7400 {
   7401 
   7402   ;
   7403   return 0;
   7404 }
   7405 _ACEOF
   7406 if ac_fn_c_try_link "$LINENO"; then :
   7407   eval $cacheid=yes
   7408 else
   7409   eval $cacheid=no
   7410 fi
   7411 rm -f core conftest.err conftest.$ac_objext \
   7412     conftest$ac_exeext conftest.$ac_ext
   7413 fi
   7414 
   7415 
   7416 		CFLAGS="$xorg_testset_save_CFLAGS"
   7417 
   7418 		eval supported=\$$cacheid
   7419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7420 $as_echo "$supported" >&6; }
   7421 		if test "$supported" = "yes" ; then
   7422 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7423 			found="yes"
   7424 		fi
   7425 	fi
   7426 
   7427 	if test $found = "no" ; then
   7428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7430 		fi
   7431 
   7432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7434 		fi
   7435 
   7436 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7437 
   7438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7439 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7440 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7441 		if eval \${$cacheid+:} false; then :
   7442   $as_echo_n "(cached) " >&6
   7443 else
   7444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7445 /* end confdefs.h.  */
   7446 int i;
   7447 int
   7448 main ()
   7449 {
   7450 
   7451   ;
   7452   return 0;
   7453 }
   7454 _ACEOF
   7455 if ac_fn_c_try_link "$LINENO"; then :
   7456   eval $cacheid=yes
   7457 else
   7458   eval $cacheid=no
   7459 fi
   7460 rm -f core conftest.err conftest.$ac_objext \
   7461     conftest$ac_exeext conftest.$ac_ext
   7462 fi
   7463 
   7464 
   7465 		CFLAGS="$xorg_testset_save_CFLAGS"
   7466 
   7467 		eval supported=\$$cacheid
   7468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7469 $as_echo "$supported" >&6; }
   7470 		if test "$supported" = "yes" ; then
   7471 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7472 			found="yes"
   7473 		fi
   7474 	fi
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 xorg_testset_save_CFLAGS="$CFLAGS"
   7491 
   7492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7495 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7496 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7497   $as_echo_n "(cached) " >&6
   7498 else
   7499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7500 /* end confdefs.h.  */
   7501 int i;
   7502 _ACEOF
   7503 if ac_fn_c_try_compile "$LINENO"; then :
   7504   xorg_cv_cc_flag_unknown_warning_option=yes
   7505 else
   7506   xorg_cv_cc_flag_unknown_warning_option=no
   7507 fi
   7508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7509 fi
   7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7511 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7513 	CFLAGS="$xorg_testset_save_CFLAGS"
   7514 fi
   7515 
   7516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7519 	fi
   7520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7522 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7523 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7524   $as_echo_n "(cached) " >&6
   7525 else
   7526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7527 /* end confdefs.h.  */
   7528 int i;
   7529 _ACEOF
   7530 if ac_fn_c_try_compile "$LINENO"; then :
   7531   xorg_cv_cc_flag_unused_command_line_argument=yes
   7532 else
   7533   xorg_cv_cc_flag_unused_command_line_argument=no
   7534 fi
   7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7536 fi
   7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7538 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7540 	CFLAGS="$xorg_testset_save_CFLAGS"
   7541 fi
   7542 
   7543 found="no"
   7544 
   7545 	if test $found = "no" ; then
   7546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7548 		fi
   7549 
   7550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7552 		fi
   7553 
   7554 		CFLAGS="$CFLAGS -Werror=nonnull"
   7555 
   7556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7557 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7558 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7559 		if eval \${$cacheid+:} false; then :
   7560   $as_echo_n "(cached) " >&6
   7561 else
   7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 int
   7566 main ()
   7567 {
   7568 
   7569   ;
   7570   return 0;
   7571 }
   7572 _ACEOF
   7573 if ac_fn_c_try_link "$LINENO"; then :
   7574   eval $cacheid=yes
   7575 else
   7576   eval $cacheid=no
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext \
   7579     conftest$ac_exeext conftest.$ac_ext
   7580 fi
   7581 
   7582 
   7583 		CFLAGS="$xorg_testset_save_CFLAGS"
   7584 
   7585 		eval supported=\$$cacheid
   7586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7587 $as_echo "$supported" >&6; }
   7588 		if test "$supported" = "yes" ; then
   7589 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7590 			found="yes"
   7591 		fi
   7592 	fi
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 xorg_testset_save_CFLAGS="$CFLAGS"
   7609 
   7610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7613 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7614 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7615   $as_echo_n "(cached) " >&6
   7616 else
   7617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7618 /* end confdefs.h.  */
   7619 int i;
   7620 _ACEOF
   7621 if ac_fn_c_try_compile "$LINENO"; then :
   7622   xorg_cv_cc_flag_unknown_warning_option=yes
   7623 else
   7624   xorg_cv_cc_flag_unknown_warning_option=no
   7625 fi
   7626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7627 fi
   7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7629 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7631 	CFLAGS="$xorg_testset_save_CFLAGS"
   7632 fi
   7633 
   7634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 	fi
   7638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7640 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7641 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7642   $as_echo_n "(cached) " >&6
   7643 else
   7644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7645 /* end confdefs.h.  */
   7646 int i;
   7647 _ACEOF
   7648 if ac_fn_c_try_compile "$LINENO"; then :
   7649   xorg_cv_cc_flag_unused_command_line_argument=yes
   7650 else
   7651   xorg_cv_cc_flag_unused_command_line_argument=no
   7652 fi
   7653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7654 fi
   7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7656 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7658 	CFLAGS="$xorg_testset_save_CFLAGS"
   7659 fi
   7660 
   7661 found="no"
   7662 
   7663 	if test $found = "no" ; then
   7664 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7666 		fi
   7667 
   7668 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7670 		fi
   7671 
   7672 		CFLAGS="$CFLAGS -Werror=init-self"
   7673 
   7674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7675 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7676 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7677 		if eval \${$cacheid+:} false; then :
   7678   $as_echo_n "(cached) " >&6
   7679 else
   7680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7681 /* end confdefs.h.  */
   7682 int i;
   7683 int
   7684 main ()
   7685 {
   7686 
   7687   ;
   7688   return 0;
   7689 }
   7690 _ACEOF
   7691 if ac_fn_c_try_link "$LINENO"; then :
   7692   eval $cacheid=yes
   7693 else
   7694   eval $cacheid=no
   7695 fi
   7696 rm -f core conftest.err conftest.$ac_objext \
   7697     conftest$ac_exeext conftest.$ac_ext
   7698 fi
   7699 
   7700 
   7701 		CFLAGS="$xorg_testset_save_CFLAGS"
   7702 
   7703 		eval supported=\$$cacheid
   7704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7705 $as_echo "$supported" >&6; }
   7706 		if test "$supported" = "yes" ; then
   7707 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7708 			found="yes"
   7709 		fi
   7710 	fi
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 xorg_testset_save_CFLAGS="$CFLAGS"
   7727 
   7728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7733   $as_echo_n "(cached) " >&6
   7734 else
   7735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7736 /* end confdefs.h.  */
   7737 int i;
   7738 _ACEOF
   7739 if ac_fn_c_try_compile "$LINENO"; then :
   7740   xorg_cv_cc_flag_unknown_warning_option=yes
   7741 else
   7742   xorg_cv_cc_flag_unknown_warning_option=no
   7743 fi
   7744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7745 fi
   7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7749 	CFLAGS="$xorg_testset_save_CFLAGS"
   7750 fi
   7751 
   7752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7755 	fi
   7756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7760   $as_echo_n "(cached) " >&6
   7761 else
   7762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7763 /* end confdefs.h.  */
   7764 int i;
   7765 _ACEOF
   7766 if ac_fn_c_try_compile "$LINENO"; then :
   7767   xorg_cv_cc_flag_unused_command_line_argument=yes
   7768 else
   7769   xorg_cv_cc_flag_unused_command_line_argument=no
   7770 fi
   7771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7772 fi
   7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7776 	CFLAGS="$xorg_testset_save_CFLAGS"
   7777 fi
   7778 
   7779 found="no"
   7780 
   7781 	if test $found = "no" ; then
   7782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7784 		fi
   7785 
   7786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7788 		fi
   7789 
   7790 		CFLAGS="$CFLAGS -Werror=main"
   7791 
   7792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7793 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7794 		cacheid=xorg_cv_cc_flag__Werror_main
   7795 		if eval \${$cacheid+:} false; then :
   7796   $as_echo_n "(cached) " >&6
   7797 else
   7798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7799 /* end confdefs.h.  */
   7800 int i;
   7801 int
   7802 main ()
   7803 {
   7804 
   7805   ;
   7806   return 0;
   7807 }
   7808 _ACEOF
   7809 if ac_fn_c_try_link "$LINENO"; then :
   7810   eval $cacheid=yes
   7811 else
   7812   eval $cacheid=no
   7813 fi
   7814 rm -f core conftest.err conftest.$ac_objext \
   7815     conftest$ac_exeext conftest.$ac_ext
   7816 fi
   7817 
   7818 
   7819 		CFLAGS="$xorg_testset_save_CFLAGS"
   7820 
   7821 		eval supported=\$$cacheid
   7822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7823 $as_echo "$supported" >&6; }
   7824 		if test "$supported" = "yes" ; then
   7825 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7826 			found="yes"
   7827 		fi
   7828 	fi
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 xorg_testset_save_CFLAGS="$CFLAGS"
   7845 
   7846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7849 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7850 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7854 /* end confdefs.h.  */
   7855 int i;
   7856 _ACEOF
   7857 if ac_fn_c_try_compile "$LINENO"; then :
   7858   xorg_cv_cc_flag_unknown_warning_option=yes
   7859 else
   7860   xorg_cv_cc_flag_unknown_warning_option=no
   7861 fi
   7862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7863 fi
   7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7865 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7867 	CFLAGS="$xorg_testset_save_CFLAGS"
   7868 fi
   7869 
   7870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7873 	fi
   7874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7876 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7877 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7878   $as_echo_n "(cached) " >&6
   7879 else
   7880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7881 /* end confdefs.h.  */
   7882 int i;
   7883 _ACEOF
   7884 if ac_fn_c_try_compile "$LINENO"; then :
   7885   xorg_cv_cc_flag_unused_command_line_argument=yes
   7886 else
   7887   xorg_cv_cc_flag_unused_command_line_argument=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7890 fi
   7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7892 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 found="no"
   7898 
   7899 	if test $found = "no" ; then
   7900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7902 		fi
   7903 
   7904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7906 		fi
   7907 
   7908 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7909 
   7910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7911 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7912 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7913 		if eval \${$cacheid+:} false; then :
   7914   $as_echo_n "(cached) " >&6
   7915 else
   7916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7917 /* end confdefs.h.  */
   7918 int i;
   7919 int
   7920 main ()
   7921 {
   7922 
   7923   ;
   7924   return 0;
   7925 }
   7926 _ACEOF
   7927 if ac_fn_c_try_link "$LINENO"; then :
   7928   eval $cacheid=yes
   7929 else
   7930   eval $cacheid=no
   7931 fi
   7932 rm -f core conftest.err conftest.$ac_objext \
   7933     conftest$ac_exeext conftest.$ac_ext
   7934 fi
   7935 
   7936 
   7937 		CFLAGS="$xorg_testset_save_CFLAGS"
   7938 
   7939 		eval supported=\$$cacheid
   7940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7941 $as_echo "$supported" >&6; }
   7942 		if test "$supported" = "yes" ; then
   7943 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7944 			found="yes"
   7945 		fi
   7946 	fi
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 xorg_testset_save_CFLAGS="$CFLAGS"
   7963 
   7964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7967 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7968 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7972 /* end confdefs.h.  */
   7973 int i;
   7974 _ACEOF
   7975 if ac_fn_c_try_compile "$LINENO"; then :
   7976   xorg_cv_cc_flag_unknown_warning_option=yes
   7977 else
   7978   xorg_cv_cc_flag_unknown_warning_option=no
   7979 fi
   7980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7981 fi
   7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7983 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7985 	CFLAGS="$xorg_testset_save_CFLAGS"
   7986 fi
   7987 
   7988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7991 	fi
   7992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7994 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7995 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7996   $as_echo_n "(cached) " >&6
   7997 else
   7998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7999 /* end confdefs.h.  */
   8000 int i;
   8001 _ACEOF
   8002 if ac_fn_c_try_compile "$LINENO"; then :
   8003   xorg_cv_cc_flag_unused_command_line_argument=yes
   8004 else
   8005   xorg_cv_cc_flag_unused_command_line_argument=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8008 fi
   8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8010 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8012 	CFLAGS="$xorg_testset_save_CFLAGS"
   8013 fi
   8014 
   8015 found="no"
   8016 
   8017 	if test $found = "no" ; then
   8018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8020 		fi
   8021 
   8022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8024 		fi
   8025 
   8026 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8027 
   8028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8029 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   8030 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8031 		if eval \${$cacheid+:} false; then :
   8032   $as_echo_n "(cached) " >&6
   8033 else
   8034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8035 /* end confdefs.h.  */
   8036 int i;
   8037 int
   8038 main ()
   8039 {
   8040 
   8041   ;
   8042   return 0;
   8043 }
   8044 _ACEOF
   8045 if ac_fn_c_try_link "$LINENO"; then :
   8046   eval $cacheid=yes
   8047 else
   8048   eval $cacheid=no
   8049 fi
   8050 rm -f core conftest.err conftest.$ac_objext \
   8051     conftest$ac_exeext conftest.$ac_ext
   8052 fi
   8053 
   8054 
   8055 		CFLAGS="$xorg_testset_save_CFLAGS"
   8056 
   8057 		eval supported=\$$cacheid
   8058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8059 $as_echo "$supported" >&6; }
   8060 		if test "$supported" = "yes" ; then
   8061 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8062 			found="yes"
   8063 		fi
   8064 	fi
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 xorg_testset_save_CFLAGS="$CFLAGS"
   8081 
   8082 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8083 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8085 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8086 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8087   $as_echo_n "(cached) " >&6
   8088 else
   8089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8090 /* end confdefs.h.  */
   8091 int i;
   8092 _ACEOF
   8093 if ac_fn_c_try_compile "$LINENO"; then :
   8094   xorg_cv_cc_flag_unknown_warning_option=yes
   8095 else
   8096   xorg_cv_cc_flag_unknown_warning_option=no
   8097 fi
   8098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8099 fi
   8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8101 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8103 	CFLAGS="$xorg_testset_save_CFLAGS"
   8104 fi
   8105 
   8106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8109 	fi
   8110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8112 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8113 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8114   $as_echo_n "(cached) " >&6
   8115 else
   8116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8117 /* end confdefs.h.  */
   8118 int i;
   8119 _ACEOF
   8120 if ac_fn_c_try_compile "$LINENO"; then :
   8121   xorg_cv_cc_flag_unused_command_line_argument=yes
   8122 else
   8123   xorg_cv_cc_flag_unused_command_line_argument=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8126 fi
   8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8128 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8130 	CFLAGS="$xorg_testset_save_CFLAGS"
   8131 fi
   8132 
   8133 found="no"
   8134 
   8135 	if test $found = "no" ; then
   8136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8138 		fi
   8139 
   8140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8142 		fi
   8143 
   8144 		CFLAGS="$CFLAGS -Werror=return-type"
   8145 
   8146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8147 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   8148 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8149 		if eval \${$cacheid+:} false; then :
   8150   $as_echo_n "(cached) " >&6
   8151 else
   8152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8153 /* end confdefs.h.  */
   8154 int i;
   8155 int
   8156 main ()
   8157 {
   8158 
   8159   ;
   8160   return 0;
   8161 }
   8162 _ACEOF
   8163 if ac_fn_c_try_link "$LINENO"; then :
   8164   eval $cacheid=yes
   8165 else
   8166   eval $cacheid=no
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext \
   8169     conftest$ac_exeext conftest.$ac_ext
   8170 fi
   8171 
   8172 
   8173 		CFLAGS="$xorg_testset_save_CFLAGS"
   8174 
   8175 		eval supported=\$$cacheid
   8176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8177 $as_echo "$supported" >&6; }
   8178 		if test "$supported" = "yes" ; then
   8179 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8180 			found="yes"
   8181 		fi
   8182 	fi
   8183 
   8184 	if test $found = "no" ; then
   8185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8187 		fi
   8188 
   8189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8191 		fi
   8192 
   8193 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8194 
   8195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8196 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8197 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8198 		if eval \${$cacheid+:} false; then :
   8199   $as_echo_n "(cached) " >&6
   8200 else
   8201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8202 /* end confdefs.h.  */
   8203 int i;
   8204 int
   8205 main ()
   8206 {
   8207 
   8208   ;
   8209   return 0;
   8210 }
   8211 _ACEOF
   8212 if ac_fn_c_try_link "$LINENO"; then :
   8213   eval $cacheid=yes
   8214 else
   8215   eval $cacheid=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext \
   8218     conftest$ac_exeext conftest.$ac_ext
   8219 fi
   8220 
   8221 
   8222 		CFLAGS="$xorg_testset_save_CFLAGS"
   8223 
   8224 		eval supported=\$$cacheid
   8225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8226 $as_echo "$supported" >&6; }
   8227 		if test "$supported" = "yes" ; then
   8228 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8229 			found="yes"
   8230 		fi
   8231 	fi
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 
   8247 xorg_testset_save_CFLAGS="$CFLAGS"
   8248 
   8249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8252 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8253 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8254   $as_echo_n "(cached) " >&6
   8255 else
   8256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8257 /* end confdefs.h.  */
   8258 int i;
   8259 _ACEOF
   8260 if ac_fn_c_try_compile "$LINENO"; then :
   8261   xorg_cv_cc_flag_unknown_warning_option=yes
   8262 else
   8263   xorg_cv_cc_flag_unknown_warning_option=no
   8264 fi
   8265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8266 fi
   8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8268 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8270 	CFLAGS="$xorg_testset_save_CFLAGS"
   8271 fi
   8272 
   8273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8276 	fi
   8277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8279 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8280 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8281   $as_echo_n "(cached) " >&6
   8282 else
   8283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8284 /* end confdefs.h.  */
   8285 int i;
   8286 _ACEOF
   8287 if ac_fn_c_try_compile "$LINENO"; then :
   8288   xorg_cv_cc_flag_unused_command_line_argument=yes
   8289 else
   8290   xorg_cv_cc_flag_unused_command_line_argument=no
   8291 fi
   8292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8293 fi
   8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8295 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8297 	CFLAGS="$xorg_testset_save_CFLAGS"
   8298 fi
   8299 
   8300 found="no"
   8301 
   8302 	if test $found = "no" ; then
   8303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8305 		fi
   8306 
   8307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8309 		fi
   8310 
   8311 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8312 
   8313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8314 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8315 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8316 		if eval \${$cacheid+:} false; then :
   8317   $as_echo_n "(cached) " >&6
   8318 else
   8319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8320 /* end confdefs.h.  */
   8321 int i;
   8322 int
   8323 main ()
   8324 {
   8325 
   8326   ;
   8327   return 0;
   8328 }
   8329 _ACEOF
   8330 if ac_fn_c_try_link "$LINENO"; then :
   8331   eval $cacheid=yes
   8332 else
   8333   eval $cacheid=no
   8334 fi
   8335 rm -f core conftest.err conftest.$ac_objext \
   8336     conftest$ac_exeext conftest.$ac_ext
   8337 fi
   8338 
   8339 
   8340 		CFLAGS="$xorg_testset_save_CFLAGS"
   8341 
   8342 		eval supported=\$$cacheid
   8343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8344 $as_echo "$supported" >&6; }
   8345 		if test "$supported" = "yes" ; then
   8346 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8347 			found="yes"
   8348 		fi
   8349 	fi
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 xorg_testset_save_CFLAGS="$CFLAGS"
   8366 
   8367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8370 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8371 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8372   $as_echo_n "(cached) " >&6
   8373 else
   8374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8375 /* end confdefs.h.  */
   8376 int i;
   8377 _ACEOF
   8378 if ac_fn_c_try_compile "$LINENO"; then :
   8379   xorg_cv_cc_flag_unknown_warning_option=yes
   8380 else
   8381   xorg_cv_cc_flag_unknown_warning_option=no
   8382 fi
   8383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8384 fi
   8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8386 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8387 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8388 	CFLAGS="$xorg_testset_save_CFLAGS"
   8389 fi
   8390 
   8391 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8392 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8393 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8394 	fi
   8395 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8397 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8398 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8399   $as_echo_n "(cached) " >&6
   8400 else
   8401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8402 /* end confdefs.h.  */
   8403 int i;
   8404 _ACEOF
   8405 if ac_fn_c_try_compile "$LINENO"; then :
   8406   xorg_cv_cc_flag_unused_command_line_argument=yes
   8407 else
   8408   xorg_cv_cc_flag_unused_command_line_argument=no
   8409 fi
   8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8411 fi
   8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8413 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8415 	CFLAGS="$xorg_testset_save_CFLAGS"
   8416 fi
   8417 
   8418 found="no"
   8419 
   8420 	if test $found = "no" ; then
   8421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8423 		fi
   8424 
   8425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8427 		fi
   8428 
   8429 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8430 
   8431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8432 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8433 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8434 		if eval \${$cacheid+:} false; then :
   8435   $as_echo_n "(cached) " >&6
   8436 else
   8437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 int
   8441 main ()
   8442 {
   8443 
   8444   ;
   8445   return 0;
   8446 }
   8447 _ACEOF
   8448 if ac_fn_c_try_link "$LINENO"; then :
   8449   eval $cacheid=yes
   8450 else
   8451   eval $cacheid=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext \
   8454     conftest$ac_exeext conftest.$ac_ext
   8455 fi
   8456 
   8457 
   8458 		CFLAGS="$xorg_testset_save_CFLAGS"
   8459 
   8460 		eval supported=\$$cacheid
   8461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8462 $as_echo "$supported" >&6; }
   8463 		if test "$supported" = "yes" ; then
   8464 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8465 			found="yes"
   8466 		fi
   8467 	fi
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 xorg_testset_save_CFLAGS="$CFLAGS"
   8484 
   8485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8488 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8489 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8490   $as_echo_n "(cached) " >&6
   8491 else
   8492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8493 /* end confdefs.h.  */
   8494 int i;
   8495 _ACEOF
   8496 if ac_fn_c_try_compile "$LINENO"; then :
   8497   xorg_cv_cc_flag_unknown_warning_option=yes
   8498 else
   8499   xorg_cv_cc_flag_unknown_warning_option=no
   8500 fi
   8501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8502 fi
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8504 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8506 	CFLAGS="$xorg_testset_save_CFLAGS"
   8507 fi
   8508 
   8509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8512 	fi
   8513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8515 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8516 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8517   $as_echo_n "(cached) " >&6
   8518 else
   8519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8520 /* end confdefs.h.  */
   8521 int i;
   8522 _ACEOF
   8523 if ac_fn_c_try_compile "$LINENO"; then :
   8524   xorg_cv_cc_flag_unused_command_line_argument=yes
   8525 else
   8526   xorg_cv_cc_flag_unused_command_line_argument=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8529 fi
   8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8531 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8533 	CFLAGS="$xorg_testset_save_CFLAGS"
   8534 fi
   8535 
   8536 found="no"
   8537 
   8538 	if test $found = "no" ; then
   8539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8541 		fi
   8542 
   8543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8545 		fi
   8546 
   8547 		CFLAGS="$CFLAGS -Werror=write-strings"
   8548 
   8549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8550 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8551 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8552 		if eval \${$cacheid+:} false; then :
   8553   $as_echo_n "(cached) " >&6
   8554 else
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 int
   8559 main ()
   8560 {
   8561 
   8562   ;
   8563   return 0;
   8564 }
   8565 _ACEOF
   8566 if ac_fn_c_try_link "$LINENO"; then :
   8567   eval $cacheid=yes
   8568 else
   8569   eval $cacheid=no
   8570 fi
   8571 rm -f core conftest.err conftest.$ac_objext \
   8572     conftest$ac_exeext conftest.$ac_ext
   8573 fi
   8574 
   8575 
   8576 		CFLAGS="$xorg_testset_save_CFLAGS"
   8577 
   8578 		eval supported=\$$cacheid
   8579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8580 $as_echo "$supported" >&6; }
   8581 		if test "$supported" = "yes" ; then
   8582 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8583 			found="yes"
   8584 		fi
   8585 	fi
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 xorg_testset_save_CFLAGS="$CFLAGS"
   8602 
   8603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8606 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8607 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8611 /* end confdefs.h.  */
   8612 int i;
   8613 _ACEOF
   8614 if ac_fn_c_try_compile "$LINENO"; then :
   8615   xorg_cv_cc_flag_unknown_warning_option=yes
   8616 else
   8617   xorg_cv_cc_flag_unknown_warning_option=no
   8618 fi
   8619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8620 fi
   8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8622 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8624 	CFLAGS="$xorg_testset_save_CFLAGS"
   8625 fi
   8626 
   8627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8630 	fi
   8631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8633 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8634 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8635   $as_echo_n "(cached) " >&6
   8636 else
   8637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8638 /* end confdefs.h.  */
   8639 int i;
   8640 _ACEOF
   8641 if ac_fn_c_try_compile "$LINENO"; then :
   8642   xorg_cv_cc_flag_unused_command_line_argument=yes
   8643 else
   8644   xorg_cv_cc_flag_unused_command_line_argument=no
   8645 fi
   8646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8647 fi
   8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8649 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8650 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8651 	CFLAGS="$xorg_testset_save_CFLAGS"
   8652 fi
   8653 
   8654 found="no"
   8655 
   8656 	if test $found = "no" ; then
   8657 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8659 		fi
   8660 
   8661 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8663 		fi
   8664 
   8665 		CFLAGS="$CFLAGS -Werror=address"
   8666 
   8667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8668 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8669 		cacheid=xorg_cv_cc_flag__Werror_address
   8670 		if eval \${$cacheid+:} false; then :
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 int
   8677 main ()
   8678 {
   8679 
   8680   ;
   8681   return 0;
   8682 }
   8683 _ACEOF
   8684 if ac_fn_c_try_link "$LINENO"; then :
   8685   eval $cacheid=yes
   8686 else
   8687   eval $cacheid=no
   8688 fi
   8689 rm -f core conftest.err conftest.$ac_objext \
   8690     conftest$ac_exeext conftest.$ac_ext
   8691 fi
   8692 
   8693 
   8694 		CFLAGS="$xorg_testset_save_CFLAGS"
   8695 
   8696 		eval supported=\$$cacheid
   8697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8698 $as_echo "$supported" >&6; }
   8699 		if test "$supported" = "yes" ; then
   8700 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8701 			found="yes"
   8702 		fi
   8703 	fi
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 xorg_testset_save_CFLAGS="$CFLAGS"
   8720 
   8721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8724 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8725 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8726   $as_echo_n "(cached) " >&6
   8727 else
   8728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8729 /* end confdefs.h.  */
   8730 int i;
   8731 _ACEOF
   8732 if ac_fn_c_try_compile "$LINENO"; then :
   8733   xorg_cv_cc_flag_unknown_warning_option=yes
   8734 else
   8735   xorg_cv_cc_flag_unknown_warning_option=no
   8736 fi
   8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8738 fi
   8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8740 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8742 	CFLAGS="$xorg_testset_save_CFLAGS"
   8743 fi
   8744 
   8745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8748 	fi
   8749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8751 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8752 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8756 /* end confdefs.h.  */
   8757 int i;
   8758 _ACEOF
   8759 if ac_fn_c_try_compile "$LINENO"; then :
   8760   xorg_cv_cc_flag_unused_command_line_argument=yes
   8761 else
   8762   xorg_cv_cc_flag_unused_command_line_argument=no
   8763 fi
   8764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8765 fi
   8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8767 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8769 	CFLAGS="$xorg_testset_save_CFLAGS"
   8770 fi
   8771 
   8772 found="no"
   8773 
   8774 	if test $found = "no" ; then
   8775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8777 		fi
   8778 
   8779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8781 		fi
   8782 
   8783 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8784 
   8785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8786 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8787 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8788 		if eval \${$cacheid+:} false; then :
   8789   $as_echo_n "(cached) " >&6
   8790 else
   8791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8792 /* end confdefs.h.  */
   8793 int i;
   8794 int
   8795 main ()
   8796 {
   8797 
   8798   ;
   8799   return 0;
   8800 }
   8801 _ACEOF
   8802 if ac_fn_c_try_link "$LINENO"; then :
   8803   eval $cacheid=yes
   8804 else
   8805   eval $cacheid=no
   8806 fi
   8807 rm -f core conftest.err conftest.$ac_objext \
   8808     conftest$ac_exeext conftest.$ac_ext
   8809 fi
   8810 
   8811 
   8812 		CFLAGS="$xorg_testset_save_CFLAGS"
   8813 
   8814 		eval supported=\$$cacheid
   8815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8816 $as_echo "$supported" >&6; }
   8817 		if test "$supported" = "yes" ; then
   8818 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8819 			found="yes"
   8820 		fi
   8821 	fi
   8822 
   8823 	if test $found = "no" ; then
   8824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 		fi
   8827 
   8828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8830 		fi
   8831 
   8832 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8833 
   8834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8835 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8836 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8837 		if eval \${$cacheid+:} false; then :
   8838   $as_echo_n "(cached) " >&6
   8839 else
   8840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8841 /* end confdefs.h.  */
   8842 int i;
   8843 int
   8844 main ()
   8845 {
   8846 
   8847   ;
   8848   return 0;
   8849 }
   8850 _ACEOF
   8851 if ac_fn_c_try_link "$LINENO"; then :
   8852   eval $cacheid=yes
   8853 else
   8854   eval $cacheid=no
   8855 fi
   8856 rm -f core conftest.err conftest.$ac_objext \
   8857     conftest$ac_exeext conftest.$ac_ext
   8858 fi
   8859 
   8860 
   8861 		CFLAGS="$xorg_testset_save_CFLAGS"
   8862 
   8863 		eval supported=\$$cacheid
   8864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8865 $as_echo "$supported" >&6; }
   8866 		if test "$supported" = "yes" ; then
   8867 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8868 			found="yes"
   8869 		fi
   8870 	fi
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 xorg_testset_save_CFLAGS="$CFLAGS"
   8887 
   8888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8893   $as_echo_n "(cached) " >&6
   8894 else
   8895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8896 /* end confdefs.h.  */
   8897 int i;
   8898 _ACEOF
   8899 if ac_fn_c_try_compile "$LINENO"; then :
   8900   xorg_cv_cc_flag_unknown_warning_option=yes
   8901 else
   8902   xorg_cv_cc_flag_unknown_warning_option=no
   8903 fi
   8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8905 fi
   8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8909 	CFLAGS="$xorg_testset_save_CFLAGS"
   8910 fi
   8911 
   8912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8915 	fi
   8916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8920   $as_echo_n "(cached) " >&6
   8921 else
   8922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8923 /* end confdefs.h.  */
   8924 int i;
   8925 _ACEOF
   8926 if ac_fn_c_try_compile "$LINENO"; then :
   8927   xorg_cv_cc_flag_unused_command_line_argument=yes
   8928 else
   8929   xorg_cv_cc_flag_unused_command_line_argument=no
   8930 fi
   8931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8932 fi
   8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8936 	CFLAGS="$xorg_testset_save_CFLAGS"
   8937 fi
   8938 
   8939 found="no"
   8940 
   8941 	if test $found = "no" ; then
   8942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 		fi
   8945 
   8946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8948 		fi
   8949 
   8950 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8951 
   8952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8953 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8954 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8955 		if eval \${$cacheid+:} false; then :
   8956   $as_echo_n "(cached) " >&6
   8957 else
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 int
   8962 main ()
   8963 {
   8964 
   8965   ;
   8966   return 0;
   8967 }
   8968 _ACEOF
   8969 if ac_fn_c_try_link "$LINENO"; then :
   8970   eval $cacheid=yes
   8971 else
   8972   eval $cacheid=no
   8973 fi
   8974 rm -f core conftest.err conftest.$ac_objext \
   8975     conftest$ac_exeext conftest.$ac_ext
   8976 fi
   8977 
   8978 
   8979 		CFLAGS="$xorg_testset_save_CFLAGS"
   8980 
   8981 		eval supported=\$$cacheid
   8982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8983 $as_echo "$supported" >&6; }
   8984 		if test "$supported" = "yes" ; then
   8985 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8986 			found="yes"
   8987 		fi
   8988 	fi
   8989 
   8990  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8991 else
   8992 { $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
   8993 $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;}
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 xorg_testset_save_CFLAGS="$CFLAGS"
   9008 
   9009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9014   $as_echo_n "(cached) " >&6
   9015 else
   9016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9017 /* end confdefs.h.  */
   9018 int i;
   9019 _ACEOF
   9020 if ac_fn_c_try_compile "$LINENO"; then :
   9021   xorg_cv_cc_flag_unknown_warning_option=yes
   9022 else
   9023   xorg_cv_cc_flag_unknown_warning_option=no
   9024 fi
   9025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9026 fi
   9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9030 	CFLAGS="$xorg_testset_save_CFLAGS"
   9031 fi
   9032 
   9033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9036 	fi
   9037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9041   $as_echo_n "(cached) " >&6
   9042 else
   9043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9044 /* end confdefs.h.  */
   9045 int i;
   9046 _ACEOF
   9047 if ac_fn_c_try_compile "$LINENO"; then :
   9048   xorg_cv_cc_flag_unused_command_line_argument=yes
   9049 else
   9050   xorg_cv_cc_flag_unused_command_line_argument=no
   9051 fi
   9052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9053 fi
   9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9057 	CFLAGS="$xorg_testset_save_CFLAGS"
   9058 fi
   9059 
   9060 found="no"
   9061 
   9062 	if test $found = "no" ; then
   9063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9065 		fi
   9066 
   9067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9069 		fi
   9070 
   9071 		CFLAGS="$CFLAGS -Wimplicit"
   9072 
   9073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9074 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   9075 		cacheid=xorg_cv_cc_flag__Wimplicit
   9076 		if eval \${$cacheid+:} false; then :
   9077   $as_echo_n "(cached) " >&6
   9078 else
   9079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9080 /* end confdefs.h.  */
   9081 int i;
   9082 int
   9083 main ()
   9084 {
   9085 
   9086   ;
   9087   return 0;
   9088 }
   9089 _ACEOF
   9090 if ac_fn_c_try_link "$LINENO"; then :
   9091   eval $cacheid=yes
   9092 else
   9093   eval $cacheid=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext \
   9096     conftest$ac_exeext conftest.$ac_ext
   9097 fi
   9098 
   9099 
   9100 		CFLAGS="$xorg_testset_save_CFLAGS"
   9101 
   9102 		eval supported=\$$cacheid
   9103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9104 $as_echo "$supported" >&6; }
   9105 		if test "$supported" = "yes" ; then
   9106 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9107 			found="yes"
   9108 		fi
   9109 	fi
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 xorg_testset_save_CFLAGS="$CFLAGS"
   9126 
   9127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9132   $as_echo_n "(cached) " >&6
   9133 else
   9134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9135 /* end confdefs.h.  */
   9136 int i;
   9137 _ACEOF
   9138 if ac_fn_c_try_compile "$LINENO"; then :
   9139   xorg_cv_cc_flag_unknown_warning_option=yes
   9140 else
   9141   xorg_cv_cc_flag_unknown_warning_option=no
   9142 fi
   9143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9144 fi
   9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9148 	CFLAGS="$xorg_testset_save_CFLAGS"
   9149 fi
   9150 
   9151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9154 	fi
   9155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9159   $as_echo_n "(cached) " >&6
   9160 else
   9161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9162 /* end confdefs.h.  */
   9163 int i;
   9164 _ACEOF
   9165 if ac_fn_c_try_compile "$LINENO"; then :
   9166   xorg_cv_cc_flag_unused_command_line_argument=yes
   9167 else
   9168   xorg_cv_cc_flag_unused_command_line_argument=no
   9169 fi
   9170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9171 fi
   9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9175 	CFLAGS="$xorg_testset_save_CFLAGS"
   9176 fi
   9177 
   9178 found="no"
   9179 
   9180 	if test $found = "no" ; then
   9181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9183 		fi
   9184 
   9185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9187 		fi
   9188 
   9189 		CFLAGS="$CFLAGS -Wnonnull"
   9190 
   9191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9192 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   9193 		cacheid=xorg_cv_cc_flag__Wnonnull
   9194 		if eval \${$cacheid+:} false; then :
   9195   $as_echo_n "(cached) " >&6
   9196 else
   9197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9198 /* end confdefs.h.  */
   9199 int i;
   9200 int
   9201 main ()
   9202 {
   9203 
   9204   ;
   9205   return 0;
   9206 }
   9207 _ACEOF
   9208 if ac_fn_c_try_link "$LINENO"; then :
   9209   eval $cacheid=yes
   9210 else
   9211   eval $cacheid=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext \
   9214     conftest$ac_exeext conftest.$ac_ext
   9215 fi
   9216 
   9217 
   9218 		CFLAGS="$xorg_testset_save_CFLAGS"
   9219 
   9220 		eval supported=\$$cacheid
   9221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9222 $as_echo "$supported" >&6; }
   9223 		if test "$supported" = "yes" ; then
   9224 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9225 			found="yes"
   9226 		fi
   9227 	fi
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 xorg_testset_save_CFLAGS="$CFLAGS"
   9244 
   9245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9250   $as_echo_n "(cached) " >&6
   9251 else
   9252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9253 /* end confdefs.h.  */
   9254 int i;
   9255 _ACEOF
   9256 if ac_fn_c_try_compile "$LINENO"; then :
   9257   xorg_cv_cc_flag_unknown_warning_option=yes
   9258 else
   9259   xorg_cv_cc_flag_unknown_warning_option=no
   9260 fi
   9261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9262 fi
   9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9266 	CFLAGS="$xorg_testset_save_CFLAGS"
   9267 fi
   9268 
   9269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 	fi
   9273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9277   $as_echo_n "(cached) " >&6
   9278 else
   9279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9280 /* end confdefs.h.  */
   9281 int i;
   9282 _ACEOF
   9283 if ac_fn_c_try_compile "$LINENO"; then :
   9284   xorg_cv_cc_flag_unused_command_line_argument=yes
   9285 else
   9286   xorg_cv_cc_flag_unused_command_line_argument=no
   9287 fi
   9288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9289 fi
   9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9293 	CFLAGS="$xorg_testset_save_CFLAGS"
   9294 fi
   9295 
   9296 found="no"
   9297 
   9298 	if test $found = "no" ; then
   9299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9301 		fi
   9302 
   9303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9305 		fi
   9306 
   9307 		CFLAGS="$CFLAGS -Winit-self"
   9308 
   9309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9310 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9311 		cacheid=xorg_cv_cc_flag__Winit_self
   9312 		if eval \${$cacheid+:} false; then :
   9313   $as_echo_n "(cached) " >&6
   9314 else
   9315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9316 /* end confdefs.h.  */
   9317 int i;
   9318 int
   9319 main ()
   9320 {
   9321 
   9322   ;
   9323   return 0;
   9324 }
   9325 _ACEOF
   9326 if ac_fn_c_try_link "$LINENO"; then :
   9327   eval $cacheid=yes
   9328 else
   9329   eval $cacheid=no
   9330 fi
   9331 rm -f core conftest.err conftest.$ac_objext \
   9332     conftest$ac_exeext conftest.$ac_ext
   9333 fi
   9334 
   9335 
   9336 		CFLAGS="$xorg_testset_save_CFLAGS"
   9337 
   9338 		eval supported=\$$cacheid
   9339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9340 $as_echo "$supported" >&6; }
   9341 		if test "$supported" = "yes" ; then
   9342 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9343 			found="yes"
   9344 		fi
   9345 	fi
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 xorg_testset_save_CFLAGS="$CFLAGS"
   9362 
   9363 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9364 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9366 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9367 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9368   $as_echo_n "(cached) " >&6
   9369 else
   9370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9371 /* end confdefs.h.  */
   9372 int i;
   9373 _ACEOF
   9374 if ac_fn_c_try_compile "$LINENO"; then :
   9375   xorg_cv_cc_flag_unknown_warning_option=yes
   9376 else
   9377   xorg_cv_cc_flag_unknown_warning_option=no
   9378 fi
   9379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9380 fi
   9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9382 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9384 	CFLAGS="$xorg_testset_save_CFLAGS"
   9385 fi
   9386 
   9387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9390 	fi
   9391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9393 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9394 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9395   $as_echo_n "(cached) " >&6
   9396 else
   9397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9398 /* end confdefs.h.  */
   9399 int i;
   9400 _ACEOF
   9401 if ac_fn_c_try_compile "$LINENO"; then :
   9402   xorg_cv_cc_flag_unused_command_line_argument=yes
   9403 else
   9404   xorg_cv_cc_flag_unused_command_line_argument=no
   9405 fi
   9406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9407 fi
   9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9409 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9411 	CFLAGS="$xorg_testset_save_CFLAGS"
   9412 fi
   9413 
   9414 found="no"
   9415 
   9416 	if test $found = "no" ; then
   9417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9419 		fi
   9420 
   9421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9423 		fi
   9424 
   9425 		CFLAGS="$CFLAGS -Wmain"
   9426 
   9427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9428 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9429 		cacheid=xorg_cv_cc_flag__Wmain
   9430 		if eval \${$cacheid+:} false; then :
   9431   $as_echo_n "(cached) " >&6
   9432 else
   9433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9434 /* end confdefs.h.  */
   9435 int i;
   9436 int
   9437 main ()
   9438 {
   9439 
   9440   ;
   9441   return 0;
   9442 }
   9443 _ACEOF
   9444 if ac_fn_c_try_link "$LINENO"; then :
   9445   eval $cacheid=yes
   9446 else
   9447   eval $cacheid=no
   9448 fi
   9449 rm -f core conftest.err conftest.$ac_objext \
   9450     conftest$ac_exeext conftest.$ac_ext
   9451 fi
   9452 
   9453 
   9454 		CFLAGS="$xorg_testset_save_CFLAGS"
   9455 
   9456 		eval supported=\$$cacheid
   9457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9458 $as_echo "$supported" >&6; }
   9459 		if test "$supported" = "yes" ; then
   9460 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9461 			found="yes"
   9462 		fi
   9463 	fi
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 xorg_testset_save_CFLAGS="$CFLAGS"
   9480 
   9481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9486   $as_echo_n "(cached) " >&6
   9487 else
   9488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9489 /* end confdefs.h.  */
   9490 int i;
   9491 _ACEOF
   9492 if ac_fn_c_try_compile "$LINENO"; then :
   9493   xorg_cv_cc_flag_unknown_warning_option=yes
   9494 else
   9495   xorg_cv_cc_flag_unknown_warning_option=no
   9496 fi
   9497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9498 fi
   9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9501 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9502 	CFLAGS="$xorg_testset_save_CFLAGS"
   9503 fi
   9504 
   9505 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9506 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9508 	fi
   9509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9513   $as_echo_n "(cached) " >&6
   9514 else
   9515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9516 /* end confdefs.h.  */
   9517 int i;
   9518 _ACEOF
   9519 if ac_fn_c_try_compile "$LINENO"; then :
   9520   xorg_cv_cc_flag_unused_command_line_argument=yes
   9521 else
   9522   xorg_cv_cc_flag_unused_command_line_argument=no
   9523 fi
   9524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9525 fi
   9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9528 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9529 	CFLAGS="$xorg_testset_save_CFLAGS"
   9530 fi
   9531 
   9532 found="no"
   9533 
   9534 	if test $found = "no" ; then
   9535 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9537 		fi
   9538 
   9539 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9541 		fi
   9542 
   9543 		CFLAGS="$CFLAGS -Wmissing-braces"
   9544 
   9545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9546 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9547 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9548 		if eval \${$cacheid+:} false; then :
   9549   $as_echo_n "(cached) " >&6
   9550 else
   9551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9552 /* end confdefs.h.  */
   9553 int i;
   9554 int
   9555 main ()
   9556 {
   9557 
   9558   ;
   9559   return 0;
   9560 }
   9561 _ACEOF
   9562 if ac_fn_c_try_link "$LINENO"; then :
   9563   eval $cacheid=yes
   9564 else
   9565   eval $cacheid=no
   9566 fi
   9567 rm -f core conftest.err conftest.$ac_objext \
   9568     conftest$ac_exeext conftest.$ac_ext
   9569 fi
   9570 
   9571 
   9572 		CFLAGS="$xorg_testset_save_CFLAGS"
   9573 
   9574 		eval supported=\$$cacheid
   9575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9576 $as_echo "$supported" >&6; }
   9577 		if test "$supported" = "yes" ; then
   9578 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9579 			found="yes"
   9580 		fi
   9581 	fi
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 xorg_testset_save_CFLAGS="$CFLAGS"
   9598 
   9599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9602 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9603 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9604   $as_echo_n "(cached) " >&6
   9605 else
   9606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9607 /* end confdefs.h.  */
   9608 int i;
   9609 _ACEOF
   9610 if ac_fn_c_try_compile "$LINENO"; then :
   9611   xorg_cv_cc_flag_unknown_warning_option=yes
   9612 else
   9613   xorg_cv_cc_flag_unknown_warning_option=no
   9614 fi
   9615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9616 fi
   9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9618 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9620 	CFLAGS="$xorg_testset_save_CFLAGS"
   9621 fi
   9622 
   9623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9626 	fi
   9627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9629 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9630 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9631   $as_echo_n "(cached) " >&6
   9632 else
   9633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9634 /* end confdefs.h.  */
   9635 int i;
   9636 _ACEOF
   9637 if ac_fn_c_try_compile "$LINENO"; then :
   9638   xorg_cv_cc_flag_unused_command_line_argument=yes
   9639 else
   9640   xorg_cv_cc_flag_unused_command_line_argument=no
   9641 fi
   9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9643 fi
   9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9645 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9647 	CFLAGS="$xorg_testset_save_CFLAGS"
   9648 fi
   9649 
   9650 found="no"
   9651 
   9652 	if test $found = "no" ; then
   9653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9655 		fi
   9656 
   9657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9659 		fi
   9660 
   9661 		CFLAGS="$CFLAGS -Wsequence-point"
   9662 
   9663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9664 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9665 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9666 		if eval \${$cacheid+:} false; then :
   9667   $as_echo_n "(cached) " >&6
   9668 else
   9669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9670 /* end confdefs.h.  */
   9671 int i;
   9672 int
   9673 main ()
   9674 {
   9675 
   9676   ;
   9677   return 0;
   9678 }
   9679 _ACEOF
   9680 if ac_fn_c_try_link "$LINENO"; then :
   9681   eval $cacheid=yes
   9682 else
   9683   eval $cacheid=no
   9684 fi
   9685 rm -f core conftest.err conftest.$ac_objext \
   9686     conftest$ac_exeext conftest.$ac_ext
   9687 fi
   9688 
   9689 
   9690 		CFLAGS="$xorg_testset_save_CFLAGS"
   9691 
   9692 		eval supported=\$$cacheid
   9693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9694 $as_echo "$supported" >&6; }
   9695 		if test "$supported" = "yes" ; then
   9696 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9697 			found="yes"
   9698 		fi
   9699 	fi
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 xorg_testset_save_CFLAGS="$CFLAGS"
   9716 
   9717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9721 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9722   $as_echo_n "(cached) " >&6
   9723 else
   9724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9725 /* end confdefs.h.  */
   9726 int i;
   9727 _ACEOF
   9728 if ac_fn_c_try_compile "$LINENO"; then :
   9729   xorg_cv_cc_flag_unknown_warning_option=yes
   9730 else
   9731   xorg_cv_cc_flag_unknown_warning_option=no
   9732 fi
   9733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9734 fi
   9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9736 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9737 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9738 	CFLAGS="$xorg_testset_save_CFLAGS"
   9739 fi
   9740 
   9741 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9742 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9744 	fi
   9745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9748 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9749   $as_echo_n "(cached) " >&6
   9750 else
   9751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9752 /* end confdefs.h.  */
   9753 int i;
   9754 _ACEOF
   9755 if ac_fn_c_try_compile "$LINENO"; then :
   9756   xorg_cv_cc_flag_unused_command_line_argument=yes
   9757 else
   9758   xorg_cv_cc_flag_unused_command_line_argument=no
   9759 fi
   9760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9761 fi
   9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9763 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9764 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9765 	CFLAGS="$xorg_testset_save_CFLAGS"
   9766 fi
   9767 
   9768 found="no"
   9769 
   9770 	if test $found = "no" ; then
   9771 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9772 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9773 		fi
   9774 
   9775 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9776 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9777 		fi
   9778 
   9779 		CFLAGS="$CFLAGS -Wreturn-type"
   9780 
   9781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9782 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9783 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9784 		if eval \${$cacheid+:} false; then :
   9785   $as_echo_n "(cached) " >&6
   9786 else
   9787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9788 /* end confdefs.h.  */
   9789 int i;
   9790 int
   9791 main ()
   9792 {
   9793 
   9794   ;
   9795   return 0;
   9796 }
   9797 _ACEOF
   9798 if ac_fn_c_try_link "$LINENO"; then :
   9799   eval $cacheid=yes
   9800 else
   9801   eval $cacheid=no
   9802 fi
   9803 rm -f core conftest.err conftest.$ac_objext \
   9804     conftest$ac_exeext conftest.$ac_ext
   9805 fi
   9806 
   9807 
   9808 		CFLAGS="$xorg_testset_save_CFLAGS"
   9809 
   9810 		eval supported=\$$cacheid
   9811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9812 $as_echo "$supported" >&6; }
   9813 		if test "$supported" = "yes" ; then
   9814 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9815 			found="yes"
   9816 		fi
   9817 	fi
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 xorg_testset_save_CFLAGS="$CFLAGS"
   9834 
   9835 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9836 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9838 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9839 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9840   $as_echo_n "(cached) " >&6
   9841 else
   9842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9843 /* end confdefs.h.  */
   9844 int i;
   9845 _ACEOF
   9846 if ac_fn_c_try_compile "$LINENO"; then :
   9847   xorg_cv_cc_flag_unknown_warning_option=yes
   9848 else
   9849   xorg_cv_cc_flag_unknown_warning_option=no
   9850 fi
   9851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9852 fi
   9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9854 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9856 	CFLAGS="$xorg_testset_save_CFLAGS"
   9857 fi
   9858 
   9859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9862 	fi
   9863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9865 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9866 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9867   $as_echo_n "(cached) " >&6
   9868 else
   9869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9870 /* end confdefs.h.  */
   9871 int i;
   9872 _ACEOF
   9873 if ac_fn_c_try_compile "$LINENO"; then :
   9874   xorg_cv_cc_flag_unused_command_line_argument=yes
   9875 else
   9876   xorg_cv_cc_flag_unused_command_line_argument=no
   9877 fi
   9878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9879 fi
   9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9881 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9882 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9883 	CFLAGS="$xorg_testset_save_CFLAGS"
   9884 fi
   9885 
   9886 found="no"
   9887 
   9888 	if test $found = "no" ; then
   9889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9891 		fi
   9892 
   9893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9895 		fi
   9896 
   9897 		CFLAGS="$CFLAGS -Wtrigraphs"
   9898 
   9899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9900 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9901 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9902 		if eval \${$cacheid+:} false; then :
   9903   $as_echo_n "(cached) " >&6
   9904 else
   9905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9906 /* end confdefs.h.  */
   9907 int i;
   9908 int
   9909 main ()
   9910 {
   9911 
   9912   ;
   9913   return 0;
   9914 }
   9915 _ACEOF
   9916 if ac_fn_c_try_link "$LINENO"; then :
   9917   eval $cacheid=yes
   9918 else
   9919   eval $cacheid=no
   9920 fi
   9921 rm -f core conftest.err conftest.$ac_objext \
   9922     conftest$ac_exeext conftest.$ac_ext
   9923 fi
   9924 
   9925 
   9926 		CFLAGS="$xorg_testset_save_CFLAGS"
   9927 
   9928 		eval supported=\$$cacheid
   9929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9930 $as_echo "$supported" >&6; }
   9931 		if test "$supported" = "yes" ; then
   9932 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9933 			found="yes"
   9934 		fi
   9935 	fi
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 xorg_testset_save_CFLAGS="$CFLAGS"
   9952 
   9953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9956 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9957 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9958   $as_echo_n "(cached) " >&6
   9959 else
   9960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9961 /* end confdefs.h.  */
   9962 int i;
   9963 _ACEOF
   9964 if ac_fn_c_try_compile "$LINENO"; then :
   9965   xorg_cv_cc_flag_unknown_warning_option=yes
   9966 else
   9967   xorg_cv_cc_flag_unknown_warning_option=no
   9968 fi
   9969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9970 fi
   9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9972 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9974 	CFLAGS="$xorg_testset_save_CFLAGS"
   9975 fi
   9976 
   9977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9980 	fi
   9981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9983 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9984 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9985   $as_echo_n "(cached) " >&6
   9986 else
   9987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9988 /* end confdefs.h.  */
   9989 int i;
   9990 _ACEOF
   9991 if ac_fn_c_try_compile "$LINENO"; then :
   9992   xorg_cv_cc_flag_unused_command_line_argument=yes
   9993 else
   9994   xorg_cv_cc_flag_unused_command_line_argument=no
   9995 fi
   9996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9997 fi
   9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9999 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10001 	CFLAGS="$xorg_testset_save_CFLAGS"
   10002 fi
   10003 
   10004 found="no"
   10005 
   10006 	if test $found = "no" ; then
   10007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10009 		fi
   10010 
   10011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10013 		fi
   10014 
   10015 		CFLAGS="$CFLAGS -Warray-bounds"
   10016 
   10017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10018 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   10019 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10020 		if eval \${$cacheid+:} false; then :
   10021   $as_echo_n "(cached) " >&6
   10022 else
   10023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10024 /* end confdefs.h.  */
   10025 int i;
   10026 int
   10027 main ()
   10028 {
   10029 
   10030   ;
   10031   return 0;
   10032 }
   10033 _ACEOF
   10034 if ac_fn_c_try_link "$LINENO"; then :
   10035   eval $cacheid=yes
   10036 else
   10037   eval $cacheid=no
   10038 fi
   10039 rm -f core conftest.err conftest.$ac_objext \
   10040     conftest$ac_exeext conftest.$ac_ext
   10041 fi
   10042 
   10043 
   10044 		CFLAGS="$xorg_testset_save_CFLAGS"
   10045 
   10046 		eval supported=\$$cacheid
   10047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10048 $as_echo "$supported" >&6; }
   10049 		if test "$supported" = "yes" ; then
   10050 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10051 			found="yes"
   10052 		fi
   10053 	fi
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 xorg_testset_save_CFLAGS="$CFLAGS"
   10070 
   10071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10076   $as_echo_n "(cached) " >&6
   10077 else
   10078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10079 /* end confdefs.h.  */
   10080 int i;
   10081 _ACEOF
   10082 if ac_fn_c_try_compile "$LINENO"; then :
   10083   xorg_cv_cc_flag_unknown_warning_option=yes
   10084 else
   10085   xorg_cv_cc_flag_unknown_warning_option=no
   10086 fi
   10087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10088 fi
   10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10092 	CFLAGS="$xorg_testset_save_CFLAGS"
   10093 fi
   10094 
   10095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10098 	fi
   10099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10103   $as_echo_n "(cached) " >&6
   10104 else
   10105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10106 /* end confdefs.h.  */
   10107 int i;
   10108 _ACEOF
   10109 if ac_fn_c_try_compile "$LINENO"; then :
   10110   xorg_cv_cc_flag_unused_command_line_argument=yes
   10111 else
   10112   xorg_cv_cc_flag_unused_command_line_argument=no
   10113 fi
   10114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10115 fi
   10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10119 	CFLAGS="$xorg_testset_save_CFLAGS"
   10120 fi
   10121 
   10122 found="no"
   10123 
   10124 	if test $found = "no" ; then
   10125 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10127 		fi
   10128 
   10129 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10131 		fi
   10132 
   10133 		CFLAGS="$CFLAGS -Wwrite-strings"
   10134 
   10135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10136 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   10137 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10138 		if eval \${$cacheid+:} false; then :
   10139   $as_echo_n "(cached) " >&6
   10140 else
   10141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10142 /* end confdefs.h.  */
   10143 int i;
   10144 int
   10145 main ()
   10146 {
   10147 
   10148   ;
   10149   return 0;
   10150 }
   10151 _ACEOF
   10152 if ac_fn_c_try_link "$LINENO"; then :
   10153   eval $cacheid=yes
   10154 else
   10155   eval $cacheid=no
   10156 fi
   10157 rm -f core conftest.err conftest.$ac_objext \
   10158     conftest$ac_exeext conftest.$ac_ext
   10159 fi
   10160 
   10161 
   10162 		CFLAGS="$xorg_testset_save_CFLAGS"
   10163 
   10164 		eval supported=\$$cacheid
   10165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10166 $as_echo "$supported" >&6; }
   10167 		if test "$supported" = "yes" ; then
   10168 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10169 			found="yes"
   10170 		fi
   10171 	fi
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 xorg_testset_save_CFLAGS="$CFLAGS"
   10188 
   10189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10194   $as_echo_n "(cached) " >&6
   10195 else
   10196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10197 /* end confdefs.h.  */
   10198 int i;
   10199 _ACEOF
   10200 if ac_fn_c_try_compile "$LINENO"; then :
   10201   xorg_cv_cc_flag_unknown_warning_option=yes
   10202 else
   10203   xorg_cv_cc_flag_unknown_warning_option=no
   10204 fi
   10205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10206 fi
   10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10210 	CFLAGS="$xorg_testset_save_CFLAGS"
   10211 fi
   10212 
   10213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10216 	fi
   10217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10221   $as_echo_n "(cached) " >&6
   10222 else
   10223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10224 /* end confdefs.h.  */
   10225 int i;
   10226 _ACEOF
   10227 if ac_fn_c_try_compile "$LINENO"; then :
   10228   xorg_cv_cc_flag_unused_command_line_argument=yes
   10229 else
   10230   xorg_cv_cc_flag_unused_command_line_argument=no
   10231 fi
   10232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10233 fi
   10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10237 	CFLAGS="$xorg_testset_save_CFLAGS"
   10238 fi
   10239 
   10240 found="no"
   10241 
   10242 	if test $found = "no" ; then
   10243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10245 		fi
   10246 
   10247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10249 		fi
   10250 
   10251 		CFLAGS="$CFLAGS -Waddress"
   10252 
   10253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10254 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   10255 		cacheid=xorg_cv_cc_flag__Waddress
   10256 		if eval \${$cacheid+:} false; then :
   10257   $as_echo_n "(cached) " >&6
   10258 else
   10259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10260 /* end confdefs.h.  */
   10261 int i;
   10262 int
   10263 main ()
   10264 {
   10265 
   10266   ;
   10267   return 0;
   10268 }
   10269 _ACEOF
   10270 if ac_fn_c_try_link "$LINENO"; then :
   10271   eval $cacheid=yes
   10272 else
   10273   eval $cacheid=no
   10274 fi
   10275 rm -f core conftest.err conftest.$ac_objext \
   10276     conftest$ac_exeext conftest.$ac_ext
   10277 fi
   10278 
   10279 
   10280 		CFLAGS="$xorg_testset_save_CFLAGS"
   10281 
   10282 		eval supported=\$$cacheid
   10283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10284 $as_echo "$supported" >&6; }
   10285 		if test "$supported" = "yes" ; then
   10286 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10287 			found="yes"
   10288 		fi
   10289 	fi
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 xorg_testset_save_CFLAGS="$CFLAGS"
   10306 
   10307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10312   $as_echo_n "(cached) " >&6
   10313 else
   10314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10315 /* end confdefs.h.  */
   10316 int i;
   10317 _ACEOF
   10318 if ac_fn_c_try_compile "$LINENO"; then :
   10319   xorg_cv_cc_flag_unknown_warning_option=yes
   10320 else
   10321   xorg_cv_cc_flag_unknown_warning_option=no
   10322 fi
   10323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10324 fi
   10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10328 	CFLAGS="$xorg_testset_save_CFLAGS"
   10329 fi
   10330 
   10331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10334 	fi
   10335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10339   $as_echo_n "(cached) " >&6
   10340 else
   10341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10342 /* end confdefs.h.  */
   10343 int i;
   10344 _ACEOF
   10345 if ac_fn_c_try_compile "$LINENO"; then :
   10346   xorg_cv_cc_flag_unused_command_line_argument=yes
   10347 else
   10348   xorg_cv_cc_flag_unused_command_line_argument=no
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10351 fi
   10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10355 	CFLAGS="$xorg_testset_save_CFLAGS"
   10356 fi
   10357 
   10358 found="no"
   10359 
   10360 	if test $found = "no" ; then
   10361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10363 		fi
   10364 
   10365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10367 		fi
   10368 
   10369 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10370 
   10371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10372 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10373 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10374 		if eval \${$cacheid+:} false; then :
   10375   $as_echo_n "(cached) " >&6
   10376 else
   10377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10378 /* end confdefs.h.  */
   10379 int i;
   10380 int
   10381 main ()
   10382 {
   10383 
   10384   ;
   10385   return 0;
   10386 }
   10387 _ACEOF
   10388 if ac_fn_c_try_link "$LINENO"; then :
   10389   eval $cacheid=yes
   10390 else
   10391   eval $cacheid=no
   10392 fi
   10393 rm -f core conftest.err conftest.$ac_objext \
   10394     conftest$ac_exeext conftest.$ac_ext
   10395 fi
   10396 
   10397 
   10398 		CFLAGS="$xorg_testset_save_CFLAGS"
   10399 
   10400 		eval supported=\$$cacheid
   10401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10402 $as_echo "$supported" >&6; }
   10403 		if test "$supported" = "yes" ; then
   10404 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10405 			found="yes"
   10406 		fi
   10407 	fi
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 xorg_testset_save_CFLAGS="$CFLAGS"
   10424 
   10425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10430   $as_echo_n "(cached) " >&6
   10431 else
   10432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10433 /* end confdefs.h.  */
   10434 int i;
   10435 _ACEOF
   10436 if ac_fn_c_try_compile "$LINENO"; then :
   10437   xorg_cv_cc_flag_unknown_warning_option=yes
   10438 else
   10439   xorg_cv_cc_flag_unknown_warning_option=no
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10442 fi
   10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10446 	CFLAGS="$xorg_testset_save_CFLAGS"
   10447 fi
   10448 
   10449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10452 	fi
   10453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10457   $as_echo_n "(cached) " >&6
   10458 else
   10459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10460 /* end confdefs.h.  */
   10461 int i;
   10462 _ACEOF
   10463 if ac_fn_c_try_compile "$LINENO"; then :
   10464   xorg_cv_cc_flag_unused_command_line_argument=yes
   10465 else
   10466   xorg_cv_cc_flag_unused_command_line_argument=no
   10467 fi
   10468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10469 fi
   10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10473 	CFLAGS="$xorg_testset_save_CFLAGS"
   10474 fi
   10475 
   10476 found="no"
   10477 
   10478 	if test $found = "no" ; then
   10479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10481 		fi
   10482 
   10483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10485 		fi
   10486 
   10487 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10488 
   10489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10490 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10491 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10492 		if eval \${$cacheid+:} false; then :
   10493   $as_echo_n "(cached) " >&6
   10494 else
   10495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10496 /* end confdefs.h.  */
   10497 int i;
   10498 int
   10499 main ()
   10500 {
   10501 
   10502   ;
   10503   return 0;
   10504 }
   10505 _ACEOF
   10506 if ac_fn_c_try_link "$LINENO"; then :
   10507   eval $cacheid=yes
   10508 else
   10509   eval $cacheid=no
   10510 fi
   10511 rm -f core conftest.err conftest.$ac_objext \
   10512     conftest$ac_exeext conftest.$ac_ext
   10513 fi
   10514 
   10515 
   10516 		CFLAGS="$xorg_testset_save_CFLAGS"
   10517 
   10518 		eval supported=\$$cacheid
   10519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10520 $as_echo "$supported" >&6; }
   10521 		if test "$supported" = "yes" ; then
   10522 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10523 			found="yes"
   10524 		fi
   10525 	fi
   10526 
   10527 
   10528 fi
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 		CWARNFLAGS="$BASE_CFLAGS"
   10537 		if  test "x$GCC" = xyes ; then
   10538 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10539 		fi
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 # Check whether --enable-strict-compilation was given.
   10549 if test "${enable_strict_compilation+set}" = set; then :
   10550   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10551 else
   10552   STRICT_COMPILE=no
   10553 fi
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 STRICT_CFLAGS=""
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 xorg_testset_save_CFLAGS="$CFLAGS"
   10575 
   10576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10581   $as_echo_n "(cached) " >&6
   10582 else
   10583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10584 /* end confdefs.h.  */
   10585 int i;
   10586 _ACEOF
   10587 if ac_fn_c_try_compile "$LINENO"; then :
   10588   xorg_cv_cc_flag_unknown_warning_option=yes
   10589 else
   10590   xorg_cv_cc_flag_unknown_warning_option=no
   10591 fi
   10592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10593 fi
   10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10597 	CFLAGS="$xorg_testset_save_CFLAGS"
   10598 fi
   10599 
   10600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10603 	fi
   10604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10608   $as_echo_n "(cached) " >&6
   10609 else
   10610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10611 /* end confdefs.h.  */
   10612 int i;
   10613 _ACEOF
   10614 if ac_fn_c_try_compile "$LINENO"; then :
   10615   xorg_cv_cc_flag_unused_command_line_argument=yes
   10616 else
   10617   xorg_cv_cc_flag_unused_command_line_argument=no
   10618 fi
   10619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10620 fi
   10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10624 	CFLAGS="$xorg_testset_save_CFLAGS"
   10625 fi
   10626 
   10627 found="no"
   10628 
   10629 	if test $found = "no" ; then
   10630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10632 		fi
   10633 
   10634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10636 		fi
   10637 
   10638 		CFLAGS="$CFLAGS -pedantic"
   10639 
   10640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10641 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10642 		cacheid=xorg_cv_cc_flag__pedantic
   10643 		if eval \${$cacheid+:} false; then :
   10644   $as_echo_n "(cached) " >&6
   10645 else
   10646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10647 /* end confdefs.h.  */
   10648 int i;
   10649 int
   10650 main ()
   10651 {
   10652 
   10653   ;
   10654   return 0;
   10655 }
   10656 _ACEOF
   10657 if ac_fn_c_try_link "$LINENO"; then :
   10658   eval $cacheid=yes
   10659 else
   10660   eval $cacheid=no
   10661 fi
   10662 rm -f core conftest.err conftest.$ac_objext \
   10663     conftest$ac_exeext conftest.$ac_ext
   10664 fi
   10665 
   10666 
   10667 		CFLAGS="$xorg_testset_save_CFLAGS"
   10668 
   10669 		eval supported=\$$cacheid
   10670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10671 $as_echo "$supported" >&6; }
   10672 		if test "$supported" = "yes" ; then
   10673 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10674 			found="yes"
   10675 		fi
   10676 	fi
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 xorg_testset_save_CFLAGS="$CFLAGS"
   10693 
   10694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10699   $as_echo_n "(cached) " >&6
   10700 else
   10701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10702 /* end confdefs.h.  */
   10703 int i;
   10704 _ACEOF
   10705 if ac_fn_c_try_compile "$LINENO"; then :
   10706   xorg_cv_cc_flag_unknown_warning_option=yes
   10707 else
   10708   xorg_cv_cc_flag_unknown_warning_option=no
   10709 fi
   10710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10711 fi
   10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10715 	CFLAGS="$xorg_testset_save_CFLAGS"
   10716 fi
   10717 
   10718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10721 	fi
   10722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10726   $as_echo_n "(cached) " >&6
   10727 else
   10728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10729 /* end confdefs.h.  */
   10730 int i;
   10731 _ACEOF
   10732 if ac_fn_c_try_compile "$LINENO"; then :
   10733   xorg_cv_cc_flag_unused_command_line_argument=yes
   10734 else
   10735   xorg_cv_cc_flag_unused_command_line_argument=no
   10736 fi
   10737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10738 fi
   10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10742 	CFLAGS="$xorg_testset_save_CFLAGS"
   10743 fi
   10744 
   10745 found="no"
   10746 
   10747 	if test $found = "no" ; then
   10748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10750 		fi
   10751 
   10752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10754 		fi
   10755 
   10756 		CFLAGS="$CFLAGS -Werror"
   10757 
   10758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10759 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10760 		cacheid=xorg_cv_cc_flag__Werror
   10761 		if eval \${$cacheid+:} false; then :
   10762   $as_echo_n "(cached) " >&6
   10763 else
   10764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10765 /* end confdefs.h.  */
   10766 int i;
   10767 int
   10768 main ()
   10769 {
   10770 
   10771   ;
   10772   return 0;
   10773 }
   10774 _ACEOF
   10775 if ac_fn_c_try_link "$LINENO"; then :
   10776   eval $cacheid=yes
   10777 else
   10778   eval $cacheid=no
   10779 fi
   10780 rm -f core conftest.err conftest.$ac_objext \
   10781     conftest$ac_exeext conftest.$ac_ext
   10782 fi
   10783 
   10784 
   10785 		CFLAGS="$xorg_testset_save_CFLAGS"
   10786 
   10787 		eval supported=\$$cacheid
   10788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10789 $as_echo "$supported" >&6; }
   10790 		if test "$supported" = "yes" ; then
   10791 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10792 			found="yes"
   10793 		fi
   10794 	fi
   10795 
   10796 	if test $found = "no" ; then
   10797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10799 		fi
   10800 
   10801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10803 		fi
   10804 
   10805 		CFLAGS="$CFLAGS -errwarn"
   10806 
   10807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10808 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10809 		cacheid=xorg_cv_cc_flag__errwarn
   10810 		if eval \${$cacheid+:} false; then :
   10811   $as_echo_n "(cached) " >&6
   10812 else
   10813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10814 /* end confdefs.h.  */
   10815 int i;
   10816 int
   10817 main ()
   10818 {
   10819 
   10820   ;
   10821   return 0;
   10822 }
   10823 _ACEOF
   10824 if ac_fn_c_try_link "$LINENO"; then :
   10825   eval $cacheid=yes
   10826 else
   10827   eval $cacheid=no
   10828 fi
   10829 rm -f core conftest.err conftest.$ac_objext \
   10830     conftest$ac_exeext conftest.$ac_ext
   10831 fi
   10832 
   10833 
   10834 		CFLAGS="$xorg_testset_save_CFLAGS"
   10835 
   10836 		eval supported=\$$cacheid
   10837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10838 $as_echo "$supported" >&6; }
   10839 		if test "$supported" = "yes" ; then
   10840 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10841 			found="yes"
   10842 		fi
   10843 	fi
   10844 
   10845 
   10846 
   10847 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10848 # activate it with -Werror, so we add it here explicitly.
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 xorg_testset_save_CFLAGS="$CFLAGS"
   10863 
   10864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10867 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10868 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10869   $as_echo_n "(cached) " >&6
   10870 else
   10871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10872 /* end confdefs.h.  */
   10873 int i;
   10874 _ACEOF
   10875 if ac_fn_c_try_compile "$LINENO"; then :
   10876   xorg_cv_cc_flag_unknown_warning_option=yes
   10877 else
   10878   xorg_cv_cc_flag_unknown_warning_option=no
   10879 fi
   10880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10881 fi
   10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10883 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10885 	CFLAGS="$xorg_testset_save_CFLAGS"
   10886 fi
   10887 
   10888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10891 	fi
   10892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10894 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10895 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10896   $as_echo_n "(cached) " >&6
   10897 else
   10898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10899 /* end confdefs.h.  */
   10900 int i;
   10901 _ACEOF
   10902 if ac_fn_c_try_compile "$LINENO"; then :
   10903   xorg_cv_cc_flag_unused_command_line_argument=yes
   10904 else
   10905   xorg_cv_cc_flag_unused_command_line_argument=no
   10906 fi
   10907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10908 fi
   10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10910 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10912 	CFLAGS="$xorg_testset_save_CFLAGS"
   10913 fi
   10914 
   10915 found="no"
   10916 
   10917 	if test $found = "no" ; then
   10918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10920 		fi
   10921 
   10922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10924 		fi
   10925 
   10926 		CFLAGS="$CFLAGS -Werror=attributes"
   10927 
   10928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10929 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10930 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10931 		if eval \${$cacheid+:} false; then :
   10932   $as_echo_n "(cached) " >&6
   10933 else
   10934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10935 /* end confdefs.h.  */
   10936 int i;
   10937 int
   10938 main ()
   10939 {
   10940 
   10941   ;
   10942   return 0;
   10943 }
   10944 _ACEOF
   10945 if ac_fn_c_try_link "$LINENO"; then :
   10946   eval $cacheid=yes
   10947 else
   10948   eval $cacheid=no
   10949 fi
   10950 rm -f core conftest.err conftest.$ac_objext \
   10951     conftest$ac_exeext conftest.$ac_ext
   10952 fi
   10953 
   10954 
   10955 		CFLAGS="$xorg_testset_save_CFLAGS"
   10956 
   10957 		eval supported=\$$cacheid
   10958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10959 $as_echo "$supported" >&6; }
   10960 		if test "$supported" = "yes" ; then
   10961 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10962 			found="yes"
   10963 		fi
   10964 	fi
   10965 
   10966 
   10967 
   10968 if test "x$STRICT_COMPILE" = "xyes"; then
   10969     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10970     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10971 fi
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 cat >>confdefs.h <<_ACEOF
   10979 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10980 _ACEOF
   10981 
   10982 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10983 	if test "x$PVM" = "x"; then
   10984 		PVM="0"
   10985 	fi
   10986 
   10987 cat >>confdefs.h <<_ACEOF
   10988 #define PACKAGE_VERSION_MINOR $PVM
   10989 _ACEOF
   10990 
   10991 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10992 	if test "x$PVP" = "x"; then
   10993 		PVP="0"
   10994 	fi
   10995 
   10996 cat >>confdefs.h <<_ACEOF
   10997 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10998 _ACEOF
   10999 
   11000 
   11001 
   11002 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   11003 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11004 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   11005 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11006 
   11007 
   11008 
   11009 
   11010 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11011 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11012 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11013 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   11014 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 if test x$APP_MAN_SUFFIX = x    ; then
   11022     APP_MAN_SUFFIX=1
   11023 fi
   11024 if test x$APP_MAN_DIR = x    ; then
   11025     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11026 fi
   11027 
   11028 if test x$LIB_MAN_SUFFIX = x    ; then
   11029     LIB_MAN_SUFFIX=3
   11030 fi
   11031 if test x$LIB_MAN_DIR = x    ; then
   11032     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11033 fi
   11034 
   11035 if test x$FILE_MAN_SUFFIX = x    ; then
   11036     case $host_os in
   11037 	# Solaris 2.0 - 11 use SysV man page sections
   11038 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   11039 	*)				FILE_MAN_SUFFIX=5  ;;
   11040     esac
   11041 fi
   11042 if test x$FILE_MAN_DIR = x    ; then
   11043     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11044 fi
   11045 
   11046 if test x$MISC_MAN_SUFFIX = x    ; then
   11047     case $host_os in
   11048 	# Solaris 2.0 - 11 use SysV man page sections
   11049 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   11050 	*)				MISC_MAN_SUFFIX=7  ;;
   11051     esac
   11052 fi
   11053 if test x$MISC_MAN_DIR = x    ; then
   11054     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11055 fi
   11056 
   11057 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11058     case $host_os in
   11059 	# Solaris 2.0 - 11 use SysV man page sections
   11060 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   11061 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11062     esac
   11063 fi
   11064 if test x$DRIVER_MAN_DIR = x    ; then
   11065     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11066 fi
   11067 
   11068 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11069     case $host_os in
   11070 	# Solaris 2.0 - 11 use SysV man page sections
   11071 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   11072 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11073     esac
   11074 fi
   11075 if test x$ADMIN_MAN_DIR = x    ; then
   11076     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11077 fi
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 XORG_MAN_PAGE="X Version 11"
   11094 
   11095 MAN_SUBSTS="\
   11096 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11097 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11098 	-e 's|__xservername__|Xorg|g' \
   11099 	-e 's|__xconfigfile__|xorg.conf|g' \
   11100 	-e 's|__projectroot__|\$(prefix)|g' \
   11101 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11102 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11103 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11104 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11105 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11106 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11107 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11108 
   11109 
   11110 
   11111 # Check whether --enable-silent-rules was given.
   11112 if test "${enable_silent_rules+set}" = set; then :
   11113   enableval=$enable_silent_rules;
   11114 fi
   11115 
   11116 case $enable_silent_rules in # (((
   11117   yes) AM_DEFAULT_VERBOSITY=0;;
   11118    no) AM_DEFAULT_VERBOSITY=1;;
   11119     *) AM_DEFAULT_VERBOSITY=0;;
   11120 esac
   11121 am_make=${MAKE-make}
   11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11123 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   11124 if ${am_cv_make_support_nested_variables+:} false; then :
   11125   $as_echo_n "(cached) " >&6
   11126 else
   11127   if $as_echo 'TRUE=$(BAR$(V))
   11128 BAR0=false
   11129 BAR1=true
   11130 V=1
   11131 am__doit:
   11132 	@$(TRUE)
   11133 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11134   am_cv_make_support_nested_variables=yes
   11135 else
   11136   am_cv_make_support_nested_variables=no
   11137 fi
   11138 fi
   11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11140 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   11141 if test $am_cv_make_support_nested_variables = yes; then
   11142     AM_V='$(V)'
   11143   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11144 else
   11145   AM_V=$AM_DEFAULT_VERBOSITY
   11146   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11147 fi
   11148 AM_BACKSLASH='\'
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 # Check whether --with-lint was given.
   11157 if test "${with_lint+set}" = set; then :
   11158   withval=$with_lint; use_lint=$withval
   11159 else
   11160   use_lint=no
   11161 fi
   11162 
   11163 
   11164 # Obtain platform specific info like program name and options
   11165 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11166 case $host_os in
   11167   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11168 	lint_name=splint
   11169 	lint_options="-badflag"
   11170 	;;
   11171   *freebsd* | *netbsd*)
   11172 	lint_name=lint
   11173 	lint_options="-u -b"
   11174 	;;
   11175   *solaris*)
   11176 	lint_name=lint
   11177 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11178 	;;
   11179 esac
   11180 
   11181 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11182 if test "x$use_lint" = x"yes" ; then
   11183    # Extract the first word of "$lint_name", so it can be a program name with args.
   11184 set dummy $lint_name; ac_word=$2
   11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11186 $as_echo_n "checking for $ac_word... " >&6; }
   11187 if ${ac_cv_path_LINT+:} false; then :
   11188   $as_echo_n "(cached) " >&6
   11189 else
   11190   case $LINT in
   11191   [\\/]* | ?:[\\/]*)
   11192   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11193   ;;
   11194   *)
   11195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11196 for as_dir in $PATH
   11197 do
   11198   IFS=$as_save_IFS
   11199   test -z "$as_dir" && as_dir=.
   11200     for ac_exec_ext in '' $ac_executable_extensions; do
   11201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11202     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11204     break 2
   11205   fi
   11206 done
   11207   done
   11208 IFS=$as_save_IFS
   11209 
   11210   ;;
   11211 esac
   11212 fi
   11213 LINT=$ac_cv_path_LINT
   11214 if test -n "$LINT"; then
   11215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11216 $as_echo "$LINT" >&6; }
   11217 else
   11218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11219 $as_echo "no" >&6; }
   11220 fi
   11221 
   11222 
   11223    if test "x$LINT" = "x"; then
   11224         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11225    fi
   11226 elif test "x$use_lint" = x"no" ; then
   11227    if test "x$LINT" != "x"; then
   11228       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11229 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11230    fi
   11231 else
   11232    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11233 fi
   11234 
   11235 # User supplied flags override default flags
   11236 if test "x$LINT_FLAGS" != "x"; then
   11237    lint_options=$LINT_FLAGS
   11238 fi
   11239 
   11240 LINT_FLAGS=$lint_options
   11241 
   11242  if test "x$LINT" != x; then
   11243   LINT_TRUE=
   11244   LINT_FALSE='#'
   11245 else
   11246   LINT_TRUE='#'
   11247   LINT_FALSE=
   11248 fi
   11249 
   11250 
   11251 
   11252 
   11253 # Checks for header files.
   11254 for ac_header in lastlog.h pwd.h utmp.h utmpx.h sys/param.h
   11255 do :
   11256   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11257 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11258 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11259   cat >>confdefs.h <<_ACEOF
   11260 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11261 _ACEOF
   11262 
   11263 fi
   11264 
   11265 done
   11266 
   11267 
   11268 # Checks for typedefs, structures, and compiler characteristics.
   11269 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
   11270 	#include <sys/types.h>
   11271 	#include <utmp.h>
   11272 
   11273 "
   11274 if test "x$ac_cv_member_struct_utmp_ut_host" = xyes; then :
   11275 
   11276 cat >>confdefs.h <<_ACEOF
   11277 #define HAVE_STRUCT_UTMP_UT_HOST 1
   11278 _ACEOF
   11279 
   11280 
   11281 fi
   11282 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_id" "ac_cv_member_struct_utmp_ut_id" "
   11283 	#include <sys/types.h>
   11284 	#include <utmp.h>
   11285 
   11286 "
   11287 if test "x$ac_cv_member_struct_utmp_ut_id" = xyes; then :
   11288 
   11289 cat >>confdefs.h <<_ACEOF
   11290 #define HAVE_STRUCT_UTMP_UT_ID 1
   11291 _ACEOF
   11292 
   11293 
   11294 fi
   11295 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_pid" "ac_cv_member_struct_utmp_ut_pid" "
   11296 	#include <sys/types.h>
   11297 	#include <utmp.h>
   11298 
   11299 "
   11300 if test "x$ac_cv_member_struct_utmp_ut_pid" = xyes; then :
   11301 
   11302 cat >>confdefs.h <<_ACEOF
   11303 #define HAVE_STRUCT_UTMP_UT_PID 1
   11304 _ACEOF
   11305 
   11306 
   11307 fi
   11308 ac_fn_c_check_member "$LINENO" "struct utmp" "ut_type" "ac_cv_member_struct_utmp_ut_type" "
   11309 	#include <sys/types.h>
   11310 	#include <utmp.h>
   11311 
   11312 "
   11313 if test "x$ac_cv_member_struct_utmp_ut_type" = xyes; then :
   11314 
   11315 cat >>confdefs.h <<_ACEOF
   11316 #define HAVE_STRUCT_UTMP_UT_TYPE 1
   11317 _ACEOF
   11318 
   11319 
   11320 fi
   11321 
   11322 ac_fn_c_check_member "$LINENO" "struct utmpx" "ut_syslen" "ac_cv_member_struct_utmpx_ut_syslen" "#include <utmpx.h>
   11323 "
   11324 if test "x$ac_cv_member_struct_utmpx_ut_syslen" = xyes; then :
   11325 
   11326 cat >>confdefs.h <<_ACEOF
   11327 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
   11328 _ACEOF
   11329 
   11330 
   11331 fi
   11332 
   11333 ac_fn_c_check_type "$LINENO" "struct lastlog" "ac_cv_type_struct_lastlog" "
   11334 	#include <sys/types.h>
   11335 	#ifdef HAVE_UTMP_H
   11336 	#include <utmp.h>
   11337 	#endif
   11338 	#ifdef HAVE_LASTLOG_H
   11339 	#include <lastlog.h>
   11340 	#endif
   11341 
   11342 "
   11343 if test "x$ac_cv_type_struct_lastlog" = xyes; then :
   11344 
   11345 cat >>confdefs.h <<_ACEOF
   11346 #define HAVE_STRUCT_LASTLOG 1
   11347 _ACEOF
   11348 
   11349 
   11350 fi
   11351 
   11352 
   11353 # Checks for library functions.
   11354 for ac_func in pututline updwtmpx utmpxname
   11355 do :
   11356   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   11358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   11359   cat >>confdefs.h <<_ACEOF
   11360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11361 _ACEOF
   11362 
   11363 fi
   11364 done
   11365 
   11366 
   11367 # Obtain compiler/linker options for depedencies
   11368 
   11369 pkg_failed=no
   11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSREG" >&5
   11371 $as_echo_n "checking for SESSREG... " >&6; }
   11372 
   11373 if test -n "$SESSREG_CFLAGS"; then
   11374     pkg_cv_SESSREG_CFLAGS="$SESSREG_CFLAGS"
   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_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   11383 		      test "x$?" != "x0" && pkg_failed=yes
   11384 else
   11385   pkg_failed=yes
   11386 fi
   11387  else
   11388     pkg_failed=untried
   11389 fi
   11390 if test -n "$SESSREG_LIBS"; then
   11391     pkg_cv_SESSREG_LIBS="$SESSREG_LIBS"
   11392  elif test -n "$PKG_CONFIG"; then
   11393     if test -n "$PKG_CONFIG" && \
   11394     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   11395   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   11396   ac_status=$?
   11397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11398   test $ac_status = 0; }; then
   11399   pkg_cv_SESSREG_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/null`
   11400 		      test "x$?" != "x0" && pkg_failed=yes
   11401 else
   11402   pkg_failed=yes
   11403 fi
   11404  else
   11405     pkg_failed=untried
   11406 fi
   11407 
   11408 
   11409 
   11410 if test $pkg_failed = yes; then
   11411    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11412 $as_echo "no" >&6; }
   11413 
   11414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11415         _pkg_short_errors_supported=yes
   11416 else
   11417         _pkg_short_errors_supported=no
   11418 fi
   11419         if test $_pkg_short_errors_supported = yes; then
   11420 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   11421         else
   11422 	        SESSREG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25" 2>&1`
   11423         fi
   11424 	# Put the nasty error message in config.log where it belongs
   11425 	echo "$SESSREG_PKG_ERRORS" >&5
   11426 
   11427 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   11428 
   11429 $SESSREG_PKG_ERRORS
   11430 
   11431 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11432 installed software in a non-standard prefix.
   11433 
   11434 Alternatively, you may set the environment variables SESSREG_CFLAGS
   11435 and SESSREG_LIBS to avoid the need to call pkg-config.
   11436 See the pkg-config man page for more details." "$LINENO" 5
   11437 elif test $pkg_failed = untried; then
   11438      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11439 $as_echo "no" >&6; }
   11440 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11442 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11443 is in your PATH or set the PKG_CONFIG environment variable to the full
   11444 path to pkg-config.
   11445 
   11446 Alternatively, you may set the environment variables SESSREG_CFLAGS
   11447 and SESSREG_LIBS to avoid the need to call pkg-config.
   11448 See the pkg-config man page for more details.
   11449 
   11450 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11451 See \`config.log' for more details" "$LINENO" 5; }
   11452 else
   11453 	SESSREG_CFLAGS=$pkg_cv_SESSREG_CFLAGS
   11454 	SESSREG_LIBS=$pkg_cv_SESSREG_LIBS
   11455         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11456 $as_echo "yes" >&6; }
   11457 
   11458 fi
   11459 
   11460 ac_config_files="$ac_config_files Makefile man/Makefile"
   11461 
   11462 cat >confcache <<\_ACEOF
   11463 # This file is a shell script that caches the results of configure
   11464 # tests run on this system so they can be shared between configure
   11465 # scripts and configure runs, see configure's option --config-cache.
   11466 # It is not useful on other systems.  If it contains results you don't
   11467 # want to keep, you may remove or edit it.
   11468 #
   11469 # config.status only pays attention to the cache file if you give it
   11470 # the --recheck option to rerun configure.
   11471 #
   11472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11474 # following values.
   11475 
   11476 _ACEOF
   11477 
   11478 # The following way of writing the cache mishandles newlines in values,
   11479 # but we know of no workaround that is simple, portable, and efficient.
   11480 # So, we kill variables containing newlines.
   11481 # Ultrix sh set writes to stderr and can't be redirected directly,
   11482 # and sets the high bit in the cache file unless we assign to the vars.
   11483 (
   11484   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11485     eval ac_val=\$$ac_var
   11486     case $ac_val in #(
   11487     *${as_nl}*)
   11488       case $ac_var in #(
   11489       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11490 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11491       esac
   11492       case $ac_var in #(
   11493       _ | IFS | as_nl) ;; #(
   11494       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11495       *) { eval $ac_var=; unset $ac_var;} ;;
   11496       esac ;;
   11497     esac
   11498   done
   11499 
   11500   (set) 2>&1 |
   11501     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11502     *${as_nl}ac_space=\ *)
   11503       # `set' does not quote correctly, so add quotes: double-quote
   11504       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11505       sed -n \
   11506 	"s/'/'\\\\''/g;
   11507 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11508       ;; #(
   11509     *)
   11510       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11511       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11512       ;;
   11513     esac |
   11514     sort
   11515 ) |
   11516   sed '
   11517      /^ac_cv_env_/b end
   11518      t clear
   11519      :clear
   11520      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11521      t end
   11522      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11523      :end' >>confcache
   11524 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11525   if test -w "$cache_file"; then
   11526     if test "x$cache_file" != "x/dev/null"; then
   11527       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11528 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11529       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11530 	cat confcache >"$cache_file"
   11531       else
   11532         case $cache_file in #(
   11533         */* | ?:*)
   11534 	  mv -f confcache "$cache_file"$$ &&
   11535 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11536         *)
   11537 	  mv -f confcache "$cache_file" ;;
   11538 	esac
   11539       fi
   11540     fi
   11541   else
   11542     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11543 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11544   fi
   11545 fi
   11546 rm -f confcache
   11547 
   11548 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11549 # Let make expand exec_prefix.
   11550 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11551 
   11552 DEFS=-DHAVE_CONFIG_H
   11553 
   11554 ac_libobjs=
   11555 ac_ltlibobjs=
   11556 U=
   11557 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11558   # 1. Remove the extension, and $U if already installed.
   11559   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11560   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11561   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11562   #    will be set to the directory where LIBOBJS objects are built.
   11563   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11564   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11565 done
   11566 LIBOBJS=$ac_libobjs
   11567 
   11568 LTLIBOBJS=$ac_ltlibobjs
   11569 
   11570 
   11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11572 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11573    if test -n "$am_sleep_pid"; then
   11574      # Hide warnings about reused PIDs.
   11575      wait $am_sleep_pid 2>/dev/null
   11576    fi
   11577    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11578 $as_echo "done" >&6; }
   11579 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11580   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11582 fi
   11583 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11584   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11586 fi
   11587  if test -n "$EXEEXT"; then
   11588   am__EXEEXT_TRUE=
   11589   am__EXEEXT_FALSE='#'
   11590 else
   11591   am__EXEEXT_TRUE='#'
   11592   am__EXEEXT_FALSE=
   11593 fi
   11594 
   11595 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11596   as_fn_error $? "conditional \"LINT\" was never defined.
   11597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11598 fi
   11599 
   11600 : "${CONFIG_STATUS=./config.status}"
   11601 ac_write_fail=0
   11602 ac_clean_files_save=$ac_clean_files
   11603 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11605 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11606 as_write_fail=0
   11607 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11608 #! $SHELL
   11609 # Generated by $as_me.
   11610 # Run this file to recreate the current configuration.
   11611 # Compiler output produced by configure, useful for debugging
   11612 # configure, is in config.log if it exists.
   11613 
   11614 debug=false
   11615 ac_cs_recheck=false
   11616 ac_cs_silent=false
   11617 
   11618 SHELL=\${CONFIG_SHELL-$SHELL}
   11619 export SHELL
   11620 _ASEOF
   11621 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11622 ## -------------------- ##
   11623 ## M4sh Initialization. ##
   11624 ## -------------------- ##
   11625 
   11626 # Be more Bourne compatible
   11627 DUALCASE=1; export DUALCASE # for MKS sh
   11628 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11629   emulate sh
   11630   NULLCMD=:
   11631   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11632   # is contrary to our usage.  Disable this feature.
   11633   alias -g '${1+"$@"}'='"$@"'
   11634   setopt NO_GLOB_SUBST
   11635 else
   11636   case `(set -o) 2>/dev/null` in #(
   11637   *posix*) :
   11638     set -o posix ;; #(
   11639   *) :
   11640      ;;
   11641 esac
   11642 fi
   11643 
   11644 
   11645 as_nl='
   11646 '
   11647 export as_nl
   11648 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11649 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11650 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11652 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11653 # but without wasting forks for bash or zsh.
   11654 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11655     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11656   as_echo='print -r --'
   11657   as_echo_n='print -rn --'
   11658 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11659   as_echo='printf %s\n'
   11660   as_echo_n='printf %s'
   11661 else
   11662   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11663     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11664     as_echo_n='/usr/ucb/echo -n'
   11665   else
   11666     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11667     as_echo_n_body='eval
   11668       arg=$1;
   11669       case $arg in #(
   11670       *"$as_nl"*)
   11671 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11672 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11673       esac;
   11674       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11675     '
   11676     export as_echo_n_body
   11677     as_echo_n='sh -c $as_echo_n_body as_echo'
   11678   fi
   11679   export as_echo_body
   11680   as_echo='sh -c $as_echo_body as_echo'
   11681 fi
   11682 
   11683 # The user is always right.
   11684 if test "${PATH_SEPARATOR+set}" != set; then
   11685   PATH_SEPARATOR=:
   11686   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11687     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11688       PATH_SEPARATOR=';'
   11689   }
   11690 fi
   11691 
   11692 
   11693 # IFS
   11694 # We need space, tab and new line, in precisely that order.  Quoting is
   11695 # there to prevent editors from complaining about space-tab.
   11696 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11697 # splitting by setting IFS to empty value.)
   11698 IFS=" ""	$as_nl"
   11699 
   11700 # Find who we are.  Look in the path if we contain no directory separator.
   11701 as_myself=
   11702 case $0 in #((
   11703   *[\\/]* ) as_myself=$0 ;;
   11704   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11705 for as_dir in $PATH
   11706 do
   11707   IFS=$as_save_IFS
   11708   test -z "$as_dir" && as_dir=.
   11709     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11710   done
   11711 IFS=$as_save_IFS
   11712 
   11713      ;;
   11714 esac
   11715 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11716 # in which case we are not to be found in the path.
   11717 if test "x$as_myself" = x; then
   11718   as_myself=$0
   11719 fi
   11720 if test ! -f "$as_myself"; then
   11721   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11722   exit 1
   11723 fi
   11724 
   11725 # Unset variables that we do not need and which cause bugs (e.g. in
   11726 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11727 # suppresses any "Segmentation fault" message there.  '((' could
   11728 # trigger a bug in pdksh 5.2.14.
   11729 for as_var in BASH_ENV ENV MAIL MAILPATH
   11730 do eval test x\${$as_var+set} = xset \
   11731   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11732 done
   11733 PS1='$ '
   11734 PS2='> '
   11735 PS4='+ '
   11736 
   11737 # NLS nuisances.
   11738 LC_ALL=C
   11739 export LC_ALL
   11740 LANGUAGE=C
   11741 export LANGUAGE
   11742 
   11743 # CDPATH.
   11744 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11745 
   11746 
   11747 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11748 # ----------------------------------------
   11749 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11750 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11751 # script with STATUS, using 1 if that was 0.
   11752 as_fn_error ()
   11753 {
   11754   as_status=$1; test $as_status -eq 0 && as_status=1
   11755   if test "$4"; then
   11756     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11757     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11758   fi
   11759   $as_echo "$as_me: error: $2" >&2
   11760   as_fn_exit $as_status
   11761 } # as_fn_error
   11762 
   11763 
   11764 # as_fn_set_status STATUS
   11765 # -----------------------
   11766 # Set $? to STATUS, without forking.
   11767 as_fn_set_status ()
   11768 {
   11769   return $1
   11770 } # as_fn_set_status
   11771 
   11772 # as_fn_exit STATUS
   11773 # -----------------
   11774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11775 as_fn_exit ()
   11776 {
   11777   set +e
   11778   as_fn_set_status $1
   11779   exit $1
   11780 } # as_fn_exit
   11781 
   11782 # as_fn_unset VAR
   11783 # ---------------
   11784 # Portably unset VAR.
   11785 as_fn_unset ()
   11786 {
   11787   { eval $1=; unset $1;}
   11788 }
   11789 as_unset=as_fn_unset
   11790 # as_fn_append VAR VALUE
   11791 # ----------------------
   11792 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11793 # advantage of any shell optimizations that allow amortized linear growth over
   11794 # repeated appends, instead of the typical quadratic growth present in naive
   11795 # implementations.
   11796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11797   eval 'as_fn_append ()
   11798   {
   11799     eval $1+=\$2
   11800   }'
   11801 else
   11802   as_fn_append ()
   11803   {
   11804     eval $1=\$$1\$2
   11805   }
   11806 fi # as_fn_append
   11807 
   11808 # as_fn_arith ARG...
   11809 # ------------------
   11810 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11811 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11812 # must be portable across $(()) and expr.
   11813 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11814   eval 'as_fn_arith ()
   11815   {
   11816     as_val=$(( $* ))
   11817   }'
   11818 else
   11819   as_fn_arith ()
   11820   {
   11821     as_val=`expr "$@" || test $? -eq 1`
   11822   }
   11823 fi # as_fn_arith
   11824 
   11825 
   11826 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11827    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11828   as_expr=expr
   11829 else
   11830   as_expr=false
   11831 fi
   11832 
   11833 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11834   as_basename=basename
   11835 else
   11836   as_basename=false
   11837 fi
   11838 
   11839 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11840   as_dirname=dirname
   11841 else
   11842   as_dirname=false
   11843 fi
   11844 
   11845 as_me=`$as_basename -- "$0" ||
   11846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11847 	 X"$0" : 'X\(//\)$' \| \
   11848 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11849 $as_echo X/"$0" |
   11850     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11851 	    s//\1/
   11852 	    q
   11853 	  }
   11854 	  /^X\/\(\/\/\)$/{
   11855 	    s//\1/
   11856 	    q
   11857 	  }
   11858 	  /^X\/\(\/\).*/{
   11859 	    s//\1/
   11860 	    q
   11861 	  }
   11862 	  s/.*/./; q'`
   11863 
   11864 # Avoid depending upon Character Ranges.
   11865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11868 as_cr_digits='0123456789'
   11869 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11870 
   11871 ECHO_C= ECHO_N= ECHO_T=
   11872 case `echo -n x` in #(((((
   11873 -n*)
   11874   case `echo 'xy\c'` in
   11875   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11876   xy)  ECHO_C='\c';;
   11877   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11878        ECHO_T='	';;
   11879   esac;;
   11880 *)
   11881   ECHO_N='-n';;
   11882 esac
   11883 
   11884 rm -f conf$$ conf$$.exe conf$$.file
   11885 if test -d conf$$.dir; then
   11886   rm -f conf$$.dir/conf$$.file
   11887 else
   11888   rm -f conf$$.dir
   11889   mkdir conf$$.dir 2>/dev/null
   11890 fi
   11891 if (echo >conf$$.file) 2>/dev/null; then
   11892   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11893     as_ln_s='ln -s'
   11894     # ... but there are two gotchas:
   11895     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11896     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11897     # In both cases, we have to default to `cp -pR'.
   11898     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11899       as_ln_s='cp -pR'
   11900   elif ln conf$$.file conf$$ 2>/dev/null; then
   11901     as_ln_s=ln
   11902   else
   11903     as_ln_s='cp -pR'
   11904   fi
   11905 else
   11906   as_ln_s='cp -pR'
   11907 fi
   11908 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11909 rmdir conf$$.dir 2>/dev/null
   11910 
   11911 
   11912 # as_fn_mkdir_p
   11913 # -------------
   11914 # Create "$as_dir" as a directory, including parents if necessary.
   11915 as_fn_mkdir_p ()
   11916 {
   11917 
   11918   case $as_dir in #(
   11919   -*) as_dir=./$as_dir;;
   11920   esac
   11921   test -d "$as_dir" || eval $as_mkdir_p || {
   11922     as_dirs=
   11923     while :; do
   11924       case $as_dir in #(
   11925       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11926       *) as_qdir=$as_dir;;
   11927       esac
   11928       as_dirs="'$as_qdir' $as_dirs"
   11929       as_dir=`$as_dirname -- "$as_dir" ||
   11930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11931 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11932 	 X"$as_dir" : 'X\(//\)$' \| \
   11933 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11934 $as_echo X"$as_dir" |
   11935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11936 	    s//\1/
   11937 	    q
   11938 	  }
   11939 	  /^X\(\/\/\)[^/].*/{
   11940 	    s//\1/
   11941 	    q
   11942 	  }
   11943 	  /^X\(\/\/\)$/{
   11944 	    s//\1/
   11945 	    q
   11946 	  }
   11947 	  /^X\(\/\).*/{
   11948 	    s//\1/
   11949 	    q
   11950 	  }
   11951 	  s/.*/./; q'`
   11952       test -d "$as_dir" && break
   11953     done
   11954     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11955   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11956 
   11957 
   11958 } # as_fn_mkdir_p
   11959 if mkdir -p . 2>/dev/null; then
   11960   as_mkdir_p='mkdir -p "$as_dir"'
   11961 else
   11962   test -d ./-p && rmdir ./-p
   11963   as_mkdir_p=false
   11964 fi
   11965 
   11966 
   11967 # as_fn_executable_p FILE
   11968 # -----------------------
   11969 # Test if FILE is an executable regular file.
   11970 as_fn_executable_p ()
   11971 {
   11972   test -f "$1" && test -x "$1"
   11973 } # as_fn_executable_p
   11974 as_test_x='test -x'
   11975 as_executable_p=as_fn_executable_p
   11976 
   11977 # Sed expression to map a string onto a valid CPP name.
   11978 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11979 
   11980 # Sed expression to map a string onto a valid variable name.
   11981 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11982 
   11983 
   11984 exec 6>&1
   11985 ## ----------------------------------- ##
   11986 ## Main body of $CONFIG_STATUS script. ##
   11987 ## ----------------------------------- ##
   11988 _ASEOF
   11989 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11990 
   11991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11992 # Save the log message, to keep $0 and so on meaningful, and to
   11993 # report actual input values of CONFIG_FILES etc. instead of their
   11994 # values after options handling.
   11995 ac_log="
   11996 This file was extended by sessreg $as_me 1.1.2, which was
   11997 generated by GNU Autoconf 2.69.  Invocation command line was
   11998 
   11999   CONFIG_FILES    = $CONFIG_FILES
   12000   CONFIG_HEADERS  = $CONFIG_HEADERS
   12001   CONFIG_LINKS    = $CONFIG_LINKS
   12002   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12003   $ $0 $@
   12004 
   12005 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12006 "
   12007 
   12008 _ACEOF
   12009 
   12010 case $ac_config_files in *"
   12011 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12012 esac
   12013 
   12014 case $ac_config_headers in *"
   12015 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12016 esac
   12017 
   12018 
   12019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12020 # Files that config.status was made for.
   12021 config_files="$ac_config_files"
   12022 config_headers="$ac_config_headers"
   12023 config_commands="$ac_config_commands"
   12024 
   12025 _ACEOF
   12026 
   12027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12028 ac_cs_usage="\
   12029 \`$as_me' instantiates files and other configuration actions
   12030 from templates according to the current configuration.  Unless the files
   12031 and actions are specified as TAGs, all are instantiated by default.
   12032 
   12033 Usage: $0 [OPTION]... [TAG]...
   12034 
   12035   -h, --help       print this help, then exit
   12036   -V, --version    print version number and configuration settings, then exit
   12037       --config     print configuration, then exit
   12038   -q, --quiet, --silent
   12039                    do not print progress messages
   12040   -d, --debug      don't remove temporary files
   12041       --recheck    update $as_me by reconfiguring in the same conditions
   12042       --file=FILE[:TEMPLATE]
   12043                    instantiate the configuration file FILE
   12044       --header=FILE[:TEMPLATE]
   12045                    instantiate the configuration header FILE
   12046 
   12047 Configuration files:
   12048 $config_files
   12049 
   12050 Configuration headers:
   12051 $config_headers
   12052 
   12053 Configuration commands:
   12054 $config_commands
   12055 
   12056 Report bugs to <https://gitlab.freedesktop.org/xorg/app/sessreg/issues>."
   12057 
   12058 _ACEOF
   12059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12060 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12061 ac_cs_version="\\
   12062 sessreg config.status 1.1.2
   12063 configured by $0, generated by GNU Autoconf 2.69,
   12064   with options \\"\$ac_cs_config\\"
   12065 
   12066 Copyright (C) 2012 Free Software Foundation, Inc.
   12067 This config.status script is free software; the Free Software Foundation
   12068 gives unlimited permission to copy, distribute and modify it."
   12069 
   12070 ac_pwd='$ac_pwd'
   12071 srcdir='$srcdir'
   12072 INSTALL='$INSTALL'
   12073 MKDIR_P='$MKDIR_P'
   12074 AWK='$AWK'
   12075 test -n "\$AWK" || AWK=awk
   12076 _ACEOF
   12077 
   12078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12079 # The default lists apply if the user does not specify any file.
   12080 ac_need_defaults=:
   12081 while test $# != 0
   12082 do
   12083   case $1 in
   12084   --*=?*)
   12085     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12086     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12087     ac_shift=:
   12088     ;;
   12089   --*=)
   12090     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12091     ac_optarg=
   12092     ac_shift=:
   12093     ;;
   12094   *)
   12095     ac_option=$1
   12096     ac_optarg=$2
   12097     ac_shift=shift
   12098     ;;
   12099   esac
   12100 
   12101   case $ac_option in
   12102   # Handling of the options.
   12103   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12104     ac_cs_recheck=: ;;
   12105   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12106     $as_echo "$ac_cs_version"; exit ;;
   12107   --config | --confi | --conf | --con | --co | --c )
   12108     $as_echo "$ac_cs_config"; exit ;;
   12109   --debug | --debu | --deb | --de | --d | -d )
   12110     debug=: ;;
   12111   --file | --fil | --fi | --f )
   12112     $ac_shift
   12113     case $ac_optarg in
   12114     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12115     '') as_fn_error $? "missing file argument" ;;
   12116     esac
   12117     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12118     ac_need_defaults=false;;
   12119   --header | --heade | --head | --hea )
   12120     $ac_shift
   12121     case $ac_optarg in
   12122     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12123     esac
   12124     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12125     ac_need_defaults=false;;
   12126   --he | --h)
   12127     # Conflict between --help and --header
   12128     as_fn_error $? "ambiguous option: \`$1'
   12129 Try \`$0 --help' for more information.";;
   12130   --help | --hel | -h )
   12131     $as_echo "$ac_cs_usage"; exit ;;
   12132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12133   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12134     ac_cs_silent=: ;;
   12135 
   12136   # This is an error.
   12137   -*) as_fn_error $? "unrecognized option: \`$1'
   12138 Try \`$0 --help' for more information." ;;
   12139 
   12140   *) as_fn_append ac_config_targets " $1"
   12141      ac_need_defaults=false ;;
   12142 
   12143   esac
   12144   shift
   12145 done
   12146 
   12147 ac_configure_extra_args=
   12148 
   12149 if $ac_cs_silent; then
   12150   exec 6>/dev/null
   12151   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12152 fi
   12153 
   12154 _ACEOF
   12155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12156 if \$ac_cs_recheck; then
   12157   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12158   shift
   12159   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12160   CONFIG_SHELL='$SHELL'
   12161   export CONFIG_SHELL
   12162   exec "\$@"
   12163 fi
   12164 
   12165 _ACEOF
   12166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12167 exec 5>>config.log
   12168 {
   12169   echo
   12170   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12171 ## Running $as_me. ##
   12172 _ASBOX
   12173   $as_echo "$ac_log"
   12174 } >&5
   12175 
   12176 _ACEOF
   12177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12178 #
   12179 # INIT-COMMANDS
   12180 #
   12181 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12182 
   12183 _ACEOF
   12184 
   12185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12186 
   12187 # Handling of arguments.
   12188 for ac_config_target in $ac_config_targets
   12189 do
   12190   case $ac_config_target in
   12191     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12192     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12193     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12194     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12195 
   12196   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12197   esac
   12198 done
   12199 
   12200 
   12201 # If the user did not use the arguments to specify the items to instantiate,
   12202 # then the envvar interface is used.  Set only those that are not.
   12203 # We use the long form for the default assignment because of an extremely
   12204 # bizarre bug on SunOS 4.1.3.
   12205 if $ac_need_defaults; then
   12206   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12207   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12208   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12209 fi
   12210 
   12211 # Have a temporary directory for convenience.  Make it in the build tree
   12212 # simply because there is no reason against having it here, and in addition,
   12213 # creating and moving files from /tmp can sometimes cause problems.
   12214 # Hook for its removal unless debugging.
   12215 # Note that there is a small window in which the directory will not be cleaned:
   12216 # after its creation but before its name has been assigned to `$tmp'.
   12217 $debug ||
   12218 {
   12219   tmp= ac_tmp=
   12220   trap 'exit_status=$?
   12221   : "${ac_tmp:=$tmp}"
   12222   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12223 ' 0
   12224   trap 'as_fn_exit 1' 1 2 13 15
   12225 }
   12226 # Create a (secure) tmp directory for tmp files.
   12227 
   12228 {
   12229   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12230   test -d "$tmp"
   12231 }  ||
   12232 {
   12233   tmp=./conf$$-$RANDOM
   12234   (umask 077 && mkdir "$tmp")
   12235 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12236 ac_tmp=$tmp
   12237 
   12238 # Set up the scripts for CONFIG_FILES section.
   12239 # No need to generate them if there are no CONFIG_FILES.
   12240 # This happens for instance with `./config.status config.h'.
   12241 if test -n "$CONFIG_FILES"; then
   12242 
   12243 
   12244 ac_cr=`echo X | tr X '\015'`
   12245 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12246 # But we know of no other shell where ac_cr would be empty at this
   12247 # point, so we can use a bashism as a fallback.
   12248 if test "x$ac_cr" = x; then
   12249   eval ac_cr=\$\'\\r\'
   12250 fi
   12251 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12252 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12253   ac_cs_awk_cr='\\r'
   12254 else
   12255   ac_cs_awk_cr=$ac_cr
   12256 fi
   12257 
   12258 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12259 _ACEOF
   12260 
   12261 
   12262 {
   12263   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12264   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12265   echo "_ACEOF"
   12266 } >conf$$subs.sh ||
   12267   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12269 ac_delim='%!_!# '
   12270 for ac_last_try in false false false false false :; do
   12271   . ./conf$$subs.sh ||
   12272     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12273 
   12274   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12275   if test $ac_delim_n = $ac_delim_num; then
   12276     break
   12277   elif $ac_last_try; then
   12278     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12279   else
   12280     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12281   fi
   12282 done
   12283 rm -f conf$$subs.sh
   12284 
   12285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12286 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12287 _ACEOF
   12288 sed -n '
   12289 h
   12290 s/^/S["/; s/!.*/"]=/
   12291 p
   12292 g
   12293 s/^[^!]*!//
   12294 :repl
   12295 t repl
   12296 s/'"$ac_delim"'$//
   12297 t delim
   12298 :nl
   12299 h
   12300 s/\(.\{148\}\)..*/\1/
   12301 t more1
   12302 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12303 p
   12304 n
   12305 b repl
   12306 :more1
   12307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12308 p
   12309 g
   12310 s/.\{148\}//
   12311 t nl
   12312 :delim
   12313 h
   12314 s/\(.\{148\}\)..*/\1/
   12315 t more2
   12316 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12317 p
   12318 b
   12319 :more2
   12320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12321 p
   12322 g
   12323 s/.\{148\}//
   12324 t delim
   12325 ' <conf$$subs.awk | sed '
   12326 /^[^""]/{
   12327   N
   12328   s/\n//
   12329 }
   12330 ' >>$CONFIG_STATUS || ac_write_fail=1
   12331 rm -f conf$$subs.awk
   12332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12333 _ACAWK
   12334 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12335   for (key in S) S_is_set[key] = 1
   12336   FS = ""
   12337 
   12338 }
   12339 {
   12340   line = $ 0
   12341   nfields = split(line, field, "@")
   12342   substed = 0
   12343   len = length(field[1])
   12344   for (i = 2; i < nfields; i++) {
   12345     key = field[i]
   12346     keylen = length(key)
   12347     if (S_is_set[key]) {
   12348       value = S[key]
   12349       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12350       len += length(value) + length(field[++i])
   12351       substed = 1
   12352     } else
   12353       len += 1 + keylen
   12354   }
   12355 
   12356   print line
   12357 }
   12358 
   12359 _ACAWK
   12360 _ACEOF
   12361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12362 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12363   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12364 else
   12365   cat
   12366 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12367   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12368 _ACEOF
   12369 
   12370 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12371 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12372 # trailing colons and then remove the whole line if VPATH becomes empty
   12373 # (actually we leave an empty line to preserve line numbers).
   12374 if test "x$srcdir" = x.; then
   12375   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12376 h
   12377 s///
   12378 s/^/:/
   12379 s/[	 ]*$/:/
   12380 s/:\$(srcdir):/:/g
   12381 s/:\${srcdir}:/:/g
   12382 s/:@srcdir@:/:/g
   12383 s/^:*//
   12384 s/:*$//
   12385 x
   12386 s/\(=[	 ]*\).*/\1/
   12387 G
   12388 s/\n//
   12389 s/^[^=]*=[	 ]*$//
   12390 }'
   12391 fi
   12392 
   12393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12394 fi # test -n "$CONFIG_FILES"
   12395 
   12396 # Set up the scripts for CONFIG_HEADERS section.
   12397 # No need to generate them if there are no CONFIG_HEADERS.
   12398 # This happens for instance with `./config.status Makefile'.
   12399 if test -n "$CONFIG_HEADERS"; then
   12400 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12401 BEGIN {
   12402 _ACEOF
   12403 
   12404 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12405 # here-document in config.status, that substitutes the proper values into
   12406 # config.h.in to produce config.h.
   12407 
   12408 # Create a delimiter string that does not exist in confdefs.h, to ease
   12409 # handling of long lines.
   12410 ac_delim='%!_!# '
   12411 for ac_last_try in false false :; do
   12412   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12413   if test -z "$ac_tt"; then
   12414     break
   12415   elif $ac_last_try; then
   12416     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12417   else
   12418     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12419   fi
   12420 done
   12421 
   12422 # For the awk script, D is an array of macro values keyed by name,
   12423 # likewise P contains macro parameters if any.  Preserve backslash
   12424 # newline sequences.
   12425 
   12426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12427 sed -n '
   12428 s/.\{148\}/&'"$ac_delim"'/g
   12429 t rset
   12430 :rset
   12431 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12432 t def
   12433 d
   12434 :def
   12435 s/\\$//
   12436 t bsnl
   12437 s/["\\]/\\&/g
   12438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12439 D["\1"]=" \3"/p
   12440 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12441 d
   12442 :bsnl
   12443 s/["\\]/\\&/g
   12444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12445 D["\1"]=" \3\\\\\\n"\\/p
   12446 t cont
   12447 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12448 t cont
   12449 d
   12450 :cont
   12451 n
   12452 s/.\{148\}/&'"$ac_delim"'/g
   12453 t clear
   12454 :clear
   12455 s/\\$//
   12456 t bsnlc
   12457 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12458 d
   12459 :bsnlc
   12460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12461 b cont
   12462 ' <confdefs.h | sed '
   12463 s/'"$ac_delim"'/"\\\
   12464 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12465 
   12466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12467   for (key in D) D_is_set[key] = 1
   12468   FS = ""
   12469 }
   12470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12471   line = \$ 0
   12472   split(line, arg, " ")
   12473   if (arg[1] == "#") {
   12474     defundef = arg[2]
   12475     mac1 = arg[3]
   12476   } else {
   12477     defundef = substr(arg[1], 2)
   12478     mac1 = arg[2]
   12479   }
   12480   split(mac1, mac2, "(") #)
   12481   macro = mac2[1]
   12482   prefix = substr(line, 1, index(line, defundef) - 1)
   12483   if (D_is_set[macro]) {
   12484     # Preserve the white space surrounding the "#".
   12485     print prefix "define", macro P[macro] D[macro]
   12486     next
   12487   } else {
   12488     # Replace #undef with comments.  This is necessary, for example,
   12489     # in the case of _POSIX_SOURCE, which is predefined and required
   12490     # on some systems where configure will not decide to define it.
   12491     if (defundef == "undef") {
   12492       print "/*", prefix defundef, macro, "*/"
   12493       next
   12494     }
   12495   }
   12496 }
   12497 { print }
   12498 _ACAWK
   12499 _ACEOF
   12500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12501   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12502 fi # test -n "$CONFIG_HEADERS"
   12503 
   12504 
   12505 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12506 shift
   12507 for ac_tag
   12508 do
   12509   case $ac_tag in
   12510   :[FHLC]) ac_mode=$ac_tag; continue;;
   12511   esac
   12512   case $ac_mode$ac_tag in
   12513   :[FHL]*:*);;
   12514   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12515   :[FH]-) ac_tag=-:-;;
   12516   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12517   esac
   12518   ac_save_IFS=$IFS
   12519   IFS=:
   12520   set x $ac_tag
   12521   IFS=$ac_save_IFS
   12522   shift
   12523   ac_file=$1
   12524   shift
   12525 
   12526   case $ac_mode in
   12527   :L) ac_source=$1;;
   12528   :[FH])
   12529     ac_file_inputs=
   12530     for ac_f
   12531     do
   12532       case $ac_f in
   12533       -) ac_f="$ac_tmp/stdin";;
   12534       *) # Look for the file first in the build tree, then in the source tree
   12535 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12536 	 # because $ac_f cannot contain `:'.
   12537 	 test -f "$ac_f" ||
   12538 	   case $ac_f in
   12539 	   [\\/$]*) false;;
   12540 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12541 	   esac ||
   12542 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12543       esac
   12544       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12545       as_fn_append ac_file_inputs " '$ac_f'"
   12546     done
   12547 
   12548     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12549     # use $as_me), people would be surprised to read:
   12550     #    /* config.h.  Generated by config.status.  */
   12551     configure_input='Generated from '`
   12552 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12553 	`' by configure.'
   12554     if test x"$ac_file" != x-; then
   12555       configure_input="$ac_file.  $configure_input"
   12556       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12557 $as_echo "$as_me: creating $ac_file" >&6;}
   12558     fi
   12559     # Neutralize special characters interpreted by sed in replacement strings.
   12560     case $configure_input in #(
   12561     *\&* | *\|* | *\\* )
   12562        ac_sed_conf_input=`$as_echo "$configure_input" |
   12563        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12564     *) ac_sed_conf_input=$configure_input;;
   12565     esac
   12566 
   12567     case $ac_tag in
   12568     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12569       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12570     esac
   12571     ;;
   12572   esac
   12573 
   12574   ac_dir=`$as_dirname -- "$ac_file" ||
   12575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12576 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12577 	 X"$ac_file" : 'X\(//\)$' \| \
   12578 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12579 $as_echo X"$ac_file" |
   12580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12581 	    s//\1/
   12582 	    q
   12583 	  }
   12584 	  /^X\(\/\/\)[^/].*/{
   12585 	    s//\1/
   12586 	    q
   12587 	  }
   12588 	  /^X\(\/\/\)$/{
   12589 	    s//\1/
   12590 	    q
   12591 	  }
   12592 	  /^X\(\/\).*/{
   12593 	    s//\1/
   12594 	    q
   12595 	  }
   12596 	  s/.*/./; q'`
   12597   as_dir="$ac_dir"; as_fn_mkdir_p
   12598   ac_builddir=.
   12599 
   12600 case "$ac_dir" in
   12601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12602 *)
   12603   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12604   # A ".." for each directory in $ac_dir_suffix.
   12605   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12606   case $ac_top_builddir_sub in
   12607   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12608   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12609   esac ;;
   12610 esac
   12611 ac_abs_top_builddir=$ac_pwd
   12612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12613 # for backward compatibility:
   12614 ac_top_builddir=$ac_top_build_prefix
   12615 
   12616 case $srcdir in
   12617   .)  # We are building in place.
   12618     ac_srcdir=.
   12619     ac_top_srcdir=$ac_top_builddir_sub
   12620     ac_abs_top_srcdir=$ac_pwd ;;
   12621   [\\/]* | ?:[\\/]* )  # Absolute name.
   12622     ac_srcdir=$srcdir$ac_dir_suffix;
   12623     ac_top_srcdir=$srcdir
   12624     ac_abs_top_srcdir=$srcdir ;;
   12625   *) # Relative name.
   12626     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12627     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12628     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12629 esac
   12630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12631 
   12632 
   12633   case $ac_mode in
   12634   :F)
   12635   #
   12636   # CONFIG_FILE
   12637   #
   12638 
   12639   case $INSTALL in
   12640   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12641   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12642   esac
   12643   ac_MKDIR_P=$MKDIR_P
   12644   case $MKDIR_P in
   12645   [\\/$]* | ?:[\\/]* ) ;;
   12646   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12647   esac
   12648 _ACEOF
   12649 
   12650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12651 # If the template does not know about datarootdir, expand it.
   12652 # FIXME: This hack should be removed a few years after 2.60.
   12653 ac_datarootdir_hack=; ac_datarootdir_seen=
   12654 ac_sed_dataroot='
   12655 /datarootdir/ {
   12656   p
   12657   q
   12658 }
   12659 /@datadir@/p
   12660 /@docdir@/p
   12661 /@infodir@/p
   12662 /@localedir@/p
   12663 /@mandir@/p'
   12664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12665 *datarootdir*) ac_datarootdir_seen=yes;;
   12666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12667   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12669 _ACEOF
   12670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12671   ac_datarootdir_hack='
   12672   s&@datadir@&$datadir&g
   12673   s&@docdir@&$docdir&g
   12674   s&@infodir@&$infodir&g
   12675   s&@localedir@&$localedir&g
   12676   s&@mandir@&$mandir&g
   12677   s&\\\${datarootdir}&$datarootdir&g' ;;
   12678 esac
   12679 _ACEOF
   12680 
   12681 # Neutralize VPATH when `$srcdir' = `.'.
   12682 # Shell code in configure.ac might set extrasub.
   12683 # FIXME: do we really want to maintain this feature?
   12684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12685 ac_sed_extra="$ac_vpsub
   12686 $extrasub
   12687 _ACEOF
   12688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12689 :t
   12690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12691 s|@configure_input@|$ac_sed_conf_input|;t t
   12692 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12694 s&@srcdir@&$ac_srcdir&;t t
   12695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12696 s&@top_srcdir@&$ac_top_srcdir&;t t
   12697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12698 s&@builddir@&$ac_builddir&;t t
   12699 s&@abs_builddir@&$ac_abs_builddir&;t t
   12700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12701 s&@INSTALL@&$ac_INSTALL&;t t
   12702 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12703 $ac_datarootdir_hack
   12704 "
   12705 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12706   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12707 
   12708 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12709   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12710   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12711       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12712   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12713 which seems to be undefined.  Please make sure it is defined" >&5
   12714 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12715 which seems to be undefined.  Please make sure it is defined" >&2;}
   12716 
   12717   rm -f "$ac_tmp/stdin"
   12718   case $ac_file in
   12719   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12720   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12721   esac \
   12722   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12723  ;;
   12724   :H)
   12725   #
   12726   # CONFIG_HEADER
   12727   #
   12728   if test x"$ac_file" != x-; then
   12729     {
   12730       $as_echo "/* $configure_input  */" \
   12731       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12732     } >"$ac_tmp/config.h" \
   12733       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12734     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12735       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12736 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12737     else
   12738       rm -f "$ac_file"
   12739       mv "$ac_tmp/config.h" "$ac_file" \
   12740 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12741     fi
   12742   else
   12743     $as_echo "/* $configure_input  */" \
   12744       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12745       || as_fn_error $? "could not create -" "$LINENO" 5
   12746   fi
   12747 # Compute "$ac_file"'s index in $config_headers.
   12748 _am_arg="$ac_file"
   12749 _am_stamp_count=1
   12750 for _am_header in $config_headers :; do
   12751   case $_am_header in
   12752     $_am_arg | $_am_arg:* )
   12753       break ;;
   12754     * )
   12755       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12756   esac
   12757 done
   12758 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12759 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12760 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12761 	 X"$_am_arg" : 'X\(//\)$' \| \
   12762 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12763 $as_echo X"$_am_arg" |
   12764     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12765 	    s//\1/
   12766 	    q
   12767 	  }
   12768 	  /^X\(\/\/\)[^/].*/{
   12769 	    s//\1/
   12770 	    q
   12771 	  }
   12772 	  /^X\(\/\/\)$/{
   12773 	    s//\1/
   12774 	    q
   12775 	  }
   12776 	  /^X\(\/\).*/{
   12777 	    s//\1/
   12778 	    q
   12779 	  }
   12780 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12781  ;;
   12782 
   12783   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12784 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12785  ;;
   12786   esac
   12787 
   12788 
   12789   case $ac_file$ac_mode in
   12790     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12791   # Older Autoconf quotes --file arguments for eval, but not when files
   12792   # are listed without --file.  Let's play safe and only enable the eval
   12793   # if we detect the quoting.
   12794   case $CONFIG_FILES in
   12795   *\'*) eval set x "$CONFIG_FILES" ;;
   12796   *)   set x $CONFIG_FILES ;;
   12797   esac
   12798   shift
   12799   for mf
   12800   do
   12801     # Strip MF so we end up with the name of the file.
   12802     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12803     # Check whether this is an Automake generated Makefile or not.
   12804     # We used to match only the files named 'Makefile.in', but
   12805     # some people rename them; so instead we look at the file content.
   12806     # Grep'ing the first line is not enough: some people post-process
   12807     # each Makefile.in and add a new line on top of each file to say so.
   12808     # Grep'ing the whole file is not good either: AIX grep has a line
   12809     # limit of 2048, but all sed's we know have understand at least 4000.
   12810     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12811       dirpart=`$as_dirname -- "$mf" ||
   12812 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12813 	 X"$mf" : 'X\(//\)[^/]' \| \
   12814 	 X"$mf" : 'X\(//\)$' \| \
   12815 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12816 $as_echo X"$mf" |
   12817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12818 	    s//\1/
   12819 	    q
   12820 	  }
   12821 	  /^X\(\/\/\)[^/].*/{
   12822 	    s//\1/
   12823 	    q
   12824 	  }
   12825 	  /^X\(\/\/\)$/{
   12826 	    s//\1/
   12827 	    q
   12828 	  }
   12829 	  /^X\(\/\).*/{
   12830 	    s//\1/
   12831 	    q
   12832 	  }
   12833 	  s/.*/./; q'`
   12834     else
   12835       continue
   12836     fi
   12837     # Extract the definition of DEPDIR, am__include, and am__quote
   12838     # from the Makefile without running 'make'.
   12839     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12840     test -z "$DEPDIR" && continue
   12841     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12842     test -z "$am__include" && continue
   12843     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12844     # Find all dependency output files, they are included files with
   12845     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12846     # simplest approach to changing $(DEPDIR) to its actual value in the
   12847     # expansion.
   12848     for file in `sed -n "
   12849       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12850 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12851       # Make sure the directory exists.
   12852       test -f "$dirpart/$file" && continue
   12853       fdir=`$as_dirname -- "$file" ||
   12854 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12855 	 X"$file" : 'X\(//\)[^/]' \| \
   12856 	 X"$file" : 'X\(//\)$' \| \
   12857 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12858 $as_echo X"$file" |
   12859     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12860 	    s//\1/
   12861 	    q
   12862 	  }
   12863 	  /^X\(\/\/\)[^/].*/{
   12864 	    s//\1/
   12865 	    q
   12866 	  }
   12867 	  /^X\(\/\/\)$/{
   12868 	    s//\1/
   12869 	    q
   12870 	  }
   12871 	  /^X\(\/\).*/{
   12872 	    s//\1/
   12873 	    q
   12874 	  }
   12875 	  s/.*/./; q'`
   12876       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12877       # echo "creating $dirpart/$file"
   12878       echo '# dummy' > "$dirpart/$file"
   12879     done
   12880   done
   12881 }
   12882  ;;
   12883 
   12884   esac
   12885 done # for ac_tag
   12886 
   12887 
   12888 as_fn_exit 0
   12889 _ACEOF
   12890 ac_clean_files=$ac_clean_files_save
   12891 
   12892 test $ac_write_fail = 0 ||
   12893   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12894 
   12895 
   12896 # configure is writing to config.log, and then calls config.status.
   12897 # config.status does its own redirection, appending to config.log.
   12898 # Unfortunately, on DOS this fails, as config.log is still kept open
   12899 # by configure, so config.status won't be able to write to it; its
   12900 # output is simply discarded.  So we exec the FD to /dev/null,
   12901 # effectively closing config.log, so it can be properly (re)opened and
   12902 # appended to by config.status.  When coming back to configure, we
   12903 # need to make the FD available again.
   12904 if test "$no_create" != yes; then
   12905   ac_cs_success=:
   12906   ac_config_status_args=
   12907   test "$silent" = yes &&
   12908     ac_config_status_args="$ac_config_status_args --quiet"
   12909   exec 5>/dev/null
   12910   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12911   exec 5>>config.log
   12912   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12913   # would make configure fail if this is the last instruction.
   12914   $ac_cs_success || as_fn_exit 1
   12915 fi
   12916 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12917   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12918 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12919 fi
   12920 
   12921