Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xclock 1.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/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/xclock/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='xclock'
    583 PACKAGE_TARNAME='xclock'
    584 PACKAGE_VERSION='1.0.8'
    585 PACKAGE_STRING='xclock 1.0.8'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xclock/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 appdefaultdir
    631 APPDEFS_LIBS
    632 APPDEFS_CFLAGS
    633 XKB_LIBS
    634 XKB_CFLAGS
    635 XFT_LIBS
    636 XFT_CFLAGS
    637 XCLOCK_LIBS
    638 XCLOCK_CFLAGS
    639 LTLIBICONV
    640 LIBICONV
    641 MAN_SUBSTS
    642 XORG_MAN_PAGE
    643 ADMIN_MAN_DIR
    644 DRIVER_MAN_DIR
    645 MISC_MAN_DIR
    646 FILE_MAN_DIR
    647 LIB_MAN_DIR
    648 APP_MAN_DIR
    649 ADMIN_MAN_SUFFIX
    650 DRIVER_MAN_SUFFIX
    651 MISC_MAN_SUFFIX
    652 FILE_MAN_SUFFIX
    653 LIB_MAN_SUFFIX
    654 APP_MAN_SUFFIX
    655 SED
    656 host_os
    657 host_vendor
    658 host_cpu
    659 host
    660 build_os
    661 build_vendor
    662 build_cpu
    663 build
    664 INSTALL_CMD
    665 PKG_CONFIG_LIBDIR
    666 PKG_CONFIG_PATH
    667 PKG_CONFIG
    668 CHANGELOG_CMD
    669 STRICT_CFLAGS
    670 CWARNFLAGS
    671 BASE_CFLAGS
    672 EGREP
    673 GREP
    674 CPP
    675 am__fastdepCC_FALSE
    676 am__fastdepCC_TRUE
    677 CCDEPMODE
    678 am__nodep
    679 AMDEPBACKSLASH
    680 AMDEP_FALSE
    681 AMDEP_TRUE
    682 am__quote
    683 am__include
    684 DEPDIR
    685 OBJEXT
    686 EXEEXT
    687 ac_ct_CC
    688 CPPFLAGS
    689 LDFLAGS
    690 CFLAGS
    691 CC
    692 AM_BACKSLASH
    693 AM_DEFAULT_VERBOSITY
    694 AM_DEFAULT_V
    695 AM_V
    696 am__untar
    697 am__tar
    698 AMTAR
    699 am__leading_dot
    700 SET_MAKE
    701 AWK
    702 mkdir_p
    703 MKDIR_P
    704 INSTALL_STRIP_PROGRAM
    705 STRIP
    706 install_sh
    707 MAKEINFO
    708 AUTOHEADER
    709 AUTOMAKE
    710 AUTOCONF
    711 ACLOCAL
    712 VERSION
    713 PACKAGE
    714 CYGPATH_W
    715 am__isrc
    716 INSTALL_DATA
    717 INSTALL_SCRIPT
    718 INSTALL_PROGRAM
    719 target_alias
    720 host_alias
    721 build_alias
    722 LIBS
    723 ECHO_T
    724 ECHO_N
    725 ECHO_C
    726 DEFS
    727 mandir
    728 localedir
    729 libdir
    730 psdir
    731 pdfdir
    732 dvidir
    733 htmldir
    734 infodir
    735 docdir
    736 oldincludedir
    737 includedir
    738 localstatedir
    739 sharedstatedir
    740 sysconfdir
    741 datadir
    742 datarootdir
    743 libexecdir
    744 sbindir
    745 bindir
    746 program_transform_name
    747 prefix
    748 exec_prefix
    749 PACKAGE_URL
    750 PACKAGE_BUGREPORT
    751 PACKAGE_STRING
    752 PACKAGE_VERSION
    753 PACKAGE_TARNAME
    754 PACKAGE_NAME
    755 PATH_SEPARATOR
    756 SHELL'
    757 ac_subst_files=''
    758 ac_user_opts='
    759 enable_option_checking
    760 enable_silent_rules
    761 enable_dependency_tracking
    762 enable_selective_werror
    763 enable_strict_compilation
    764 with_gnu_ld
    765 enable_rpath
    766 with_libiconv_prefix
    767 with_xft
    768 with_xkb
    769 with_appdefaultdir
    770 '
    771       ac_precious_vars='build_alias
    772 host_alias
    773 target_alias
    774 CC
    775 CFLAGS
    776 LDFLAGS
    777 LIBS
    778 CPPFLAGS
    779 CPP
    780 PKG_CONFIG
    781 PKG_CONFIG_PATH
    782 PKG_CONFIG_LIBDIR
    783 XCLOCK_CFLAGS
    784 XCLOCK_LIBS
    785 XFT_CFLAGS
    786 XFT_LIBS
    787 XKB_CFLAGS
    788 XKB_LIBS
    789 APPDEFS_CFLAGS
    790 APPDEFS_LIBS'
    791 
    792 
    793 # Initialize some variables set by options.
    794 ac_init_help=
    795 ac_init_version=false
    796 ac_unrecognized_opts=
    797 ac_unrecognized_sep=
    798 # The variables have the same names as the options, with
    799 # dashes changed to underlines.
    800 cache_file=/dev/null
    801 exec_prefix=NONE
    802 no_create=
    803 no_recursion=
    804 prefix=NONE
    805 program_prefix=NONE
    806 program_suffix=NONE
    807 program_transform_name=s,x,x,
    808 silent=
    809 site=
    810 srcdir=
    811 verbose=
    812 x_includes=NONE
    813 x_libraries=NONE
    814 
    815 # Installation directory options.
    816 # These are left unexpanded so users can "make install exec_prefix=/foo"
    817 # and all the variables that are supposed to be based on exec_prefix
    818 # by default will actually change.
    819 # Use braces instead of parens because sh, perl, etc. also accept them.
    820 # (The list follows the same order as the GNU Coding Standards.)
    821 bindir='${exec_prefix}/bin'
    822 sbindir='${exec_prefix}/sbin'
    823 libexecdir='${exec_prefix}/libexec'
    824 datarootdir='${prefix}/share'
    825 datadir='${datarootdir}'
    826 sysconfdir='${prefix}/etc'
    827 sharedstatedir='${prefix}/com'
    828 localstatedir='${prefix}/var'
    829 includedir='${prefix}/include'
    830 oldincludedir='/usr/include'
    831 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    832 infodir='${datarootdir}/info'
    833 htmldir='${docdir}'
    834 dvidir='${docdir}'
    835 pdfdir='${docdir}'
    836 psdir='${docdir}'
    837 libdir='${exec_prefix}/lib'
    838 localedir='${datarootdir}/locale'
    839 mandir='${datarootdir}/man'
    840 
    841 ac_prev=
    842 ac_dashdash=
    843 for ac_option
    844 do
    845   # If the previous option needs an argument, assign it.
    846   if test -n "$ac_prev"; then
    847     eval $ac_prev=\$ac_option
    848     ac_prev=
    849     continue
    850   fi
    851 
    852   case $ac_option in
    853   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    854   *=)   ac_optarg= ;;
    855   *)    ac_optarg=yes ;;
    856   esac
    857 
    858   # Accept the important Cygnus configure options, so we can diagnose typos.
    859 
    860   case $ac_dashdash$ac_option in
    861   --)
    862     ac_dashdash=yes ;;
    863 
    864   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    865     ac_prev=bindir ;;
    866   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    867     bindir=$ac_optarg ;;
    868 
    869   -build | --build | --buil | --bui | --bu)
    870     ac_prev=build_alias ;;
    871   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    872     build_alias=$ac_optarg ;;
    873 
    874   -cache-file | --cache-file | --cache-fil | --cache-fi \
    875   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    876     ac_prev=cache_file ;;
    877   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    878   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    879     cache_file=$ac_optarg ;;
    880 
    881   --config-cache | -C)
    882     cache_file=config.cache ;;
    883 
    884   -datadir | --datadir | --datadi | --datad)
    885     ac_prev=datadir ;;
    886   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    887     datadir=$ac_optarg ;;
    888 
    889   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    890   | --dataroo | --dataro | --datar)
    891     ac_prev=datarootdir ;;
    892   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    893   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    894     datarootdir=$ac_optarg ;;
    895 
    896   -disable-* | --disable-*)
    897     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    898     # Reject names that are not valid shell variable names.
    899     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    900       as_fn_error $? "invalid feature name: $ac_useropt"
    901     ac_useropt_orig=$ac_useropt
    902     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    903     case $ac_user_opts in
    904       *"
    905 "enable_$ac_useropt"
    906 "*) ;;
    907       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    908 	 ac_unrecognized_sep=', ';;
    909     esac
    910     eval enable_$ac_useropt=no ;;
    911 
    912   -docdir | --docdir | --docdi | --doc | --do)
    913     ac_prev=docdir ;;
    914   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    915     docdir=$ac_optarg ;;
    916 
    917   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    918     ac_prev=dvidir ;;
    919   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    920     dvidir=$ac_optarg ;;
    921 
    922   -enable-* | --enable-*)
    923     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    924     # Reject names that are not valid shell variable names.
    925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    926       as_fn_error $? "invalid feature name: $ac_useropt"
    927     ac_useropt_orig=$ac_useropt
    928     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    929     case $ac_user_opts in
    930       *"
    931 "enable_$ac_useropt"
    932 "*) ;;
    933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    934 	 ac_unrecognized_sep=', ';;
    935     esac
    936     eval enable_$ac_useropt=\$ac_optarg ;;
    937 
    938   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    939   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    940   | --exec | --exe | --ex)
    941     ac_prev=exec_prefix ;;
    942   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    943   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    944   | --exec=* | --exe=* | --ex=*)
    945     exec_prefix=$ac_optarg ;;
    946 
    947   -gas | --gas | --ga | --g)
    948     # Obsolete; use --with-gas.
    949     with_gas=yes ;;
    950 
    951   -help | --help | --hel | --he | -h)
    952     ac_init_help=long ;;
    953   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    954     ac_init_help=recursive ;;
    955   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    956     ac_init_help=short ;;
    957 
    958   -host | --host | --hos | --ho)
    959     ac_prev=host_alias ;;
    960   -host=* | --host=* | --hos=* | --ho=*)
    961     host_alias=$ac_optarg ;;
    962 
    963   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    964     ac_prev=htmldir ;;
    965   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    966   | --ht=*)
    967     htmldir=$ac_optarg ;;
    968 
    969   -includedir | --includedir | --includedi | --included | --include \
    970   | --includ | --inclu | --incl | --inc)
    971     ac_prev=includedir ;;
    972   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    973   | --includ=* | --inclu=* | --incl=* | --inc=*)
    974     includedir=$ac_optarg ;;
    975 
    976   -infodir | --infodir | --infodi | --infod | --info | --inf)
    977     ac_prev=infodir ;;
    978   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    979     infodir=$ac_optarg ;;
    980 
    981   -libdir | --libdir | --libdi | --libd)
    982     ac_prev=libdir ;;
    983   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    984     libdir=$ac_optarg ;;
    985 
    986   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    987   | --libexe | --libex | --libe)
    988     ac_prev=libexecdir ;;
    989   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    990   | --libexe=* | --libex=* | --libe=*)
    991     libexecdir=$ac_optarg ;;
    992 
    993   -localedir | --localedir | --localedi | --localed | --locale)
    994     ac_prev=localedir ;;
    995   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    996     localedir=$ac_optarg ;;
    997 
    998   -localstatedir | --localstatedir | --localstatedi | --localstated \
    999   | --localstate | --localstat | --localsta | --localst | --locals)
   1000     ac_prev=localstatedir ;;
   1001   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1002   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1003     localstatedir=$ac_optarg ;;
   1004 
   1005   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1006     ac_prev=mandir ;;
   1007   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1008     mandir=$ac_optarg ;;
   1009 
   1010   -nfp | --nfp | --nf)
   1011     # Obsolete; use --without-fp.
   1012     with_fp=no ;;
   1013 
   1014   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1015   | --no-cr | --no-c | -n)
   1016     no_create=yes ;;
   1017 
   1018   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1019   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1020     no_recursion=yes ;;
   1021 
   1022   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1023   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1024   | --oldin | --oldi | --old | --ol | --o)
   1025     ac_prev=oldincludedir ;;
   1026   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1027   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1028   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1029     oldincludedir=$ac_optarg ;;
   1030 
   1031   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1032     ac_prev=prefix ;;
   1033   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1034     prefix=$ac_optarg ;;
   1035 
   1036   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1037   | --program-pre | --program-pr | --program-p)
   1038     ac_prev=program_prefix ;;
   1039   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1040   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1041     program_prefix=$ac_optarg ;;
   1042 
   1043   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1044   | --program-suf | --program-su | --program-s)
   1045     ac_prev=program_suffix ;;
   1046   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1047   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1048     program_suffix=$ac_optarg ;;
   1049 
   1050   -program-transform-name | --program-transform-name \
   1051   | --program-transform-nam | --program-transform-na \
   1052   | --program-transform-n | --program-transform- \
   1053   | --program-transform | --program-transfor \
   1054   | --program-transfo | --program-transf \
   1055   | --program-trans | --program-tran \
   1056   | --progr-tra | --program-tr | --program-t)
   1057     ac_prev=program_transform_name ;;
   1058   -program-transform-name=* | --program-transform-name=* \
   1059   | --program-transform-nam=* | --program-transform-na=* \
   1060   | --program-transform-n=* | --program-transform-=* \
   1061   | --program-transform=* | --program-transfor=* \
   1062   | --program-transfo=* | --program-transf=* \
   1063   | --program-trans=* | --program-tran=* \
   1064   | --progr-tra=* | --program-tr=* | --program-t=*)
   1065     program_transform_name=$ac_optarg ;;
   1066 
   1067   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1068     ac_prev=pdfdir ;;
   1069   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1070     pdfdir=$ac_optarg ;;
   1071 
   1072   -psdir | --psdir | --psdi | --psd | --ps)
   1073     ac_prev=psdir ;;
   1074   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1075     psdir=$ac_optarg ;;
   1076 
   1077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1078   | -silent | --silent | --silen | --sile | --sil)
   1079     silent=yes ;;
   1080 
   1081   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1082     ac_prev=sbindir ;;
   1083   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1084   | --sbi=* | --sb=*)
   1085     sbindir=$ac_optarg ;;
   1086 
   1087   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1088   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1089   | --sharedst | --shareds | --shared | --share | --shar \
   1090   | --sha | --sh)
   1091     ac_prev=sharedstatedir ;;
   1092   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1093   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1094   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1095   | --sha=* | --sh=*)
   1096     sharedstatedir=$ac_optarg ;;
   1097 
   1098   -site | --site | --sit)
   1099     ac_prev=site ;;
   1100   -site=* | --site=* | --sit=*)
   1101     site=$ac_optarg ;;
   1102 
   1103   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1104     ac_prev=srcdir ;;
   1105   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1106     srcdir=$ac_optarg ;;
   1107 
   1108   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1109   | --syscon | --sysco | --sysc | --sys | --sy)
   1110     ac_prev=sysconfdir ;;
   1111   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1112   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1113     sysconfdir=$ac_optarg ;;
   1114 
   1115   -target | --target | --targe | --targ | --tar | --ta | --t)
   1116     ac_prev=target_alias ;;
   1117   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1118     target_alias=$ac_optarg ;;
   1119 
   1120   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1121     verbose=yes ;;
   1122 
   1123   -version | --version | --versio | --versi | --vers | -V)
   1124     ac_init_version=: ;;
   1125 
   1126   -with-* | --with-*)
   1127     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1128     # Reject names that are not valid shell variable names.
   1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1130       as_fn_error $? "invalid package name: $ac_useropt"
   1131     ac_useropt_orig=$ac_useropt
   1132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1133     case $ac_user_opts in
   1134       *"
   1135 "with_$ac_useropt"
   1136 "*) ;;
   1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1138 	 ac_unrecognized_sep=', ';;
   1139     esac
   1140     eval with_$ac_useropt=\$ac_optarg ;;
   1141 
   1142   -without-* | --without-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: $ac_useropt"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=no ;;
   1157 
   1158   --x)
   1159     # Obsolete; use --with-x.
   1160     with_x=yes ;;
   1161 
   1162   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1163   | --x-incl | --x-inc | --x-in | --x-i)
   1164     ac_prev=x_includes ;;
   1165   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1166   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1167     x_includes=$ac_optarg ;;
   1168 
   1169   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1170   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1171     ac_prev=x_libraries ;;
   1172   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1173   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1174     x_libraries=$ac_optarg ;;
   1175 
   1176   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1177 Try \`$0 --help' for more information"
   1178     ;;
   1179 
   1180   *=*)
   1181     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1182     # Reject names that are not valid shell variable names.
   1183     case $ac_envvar in #(
   1184       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1185       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1186     esac
   1187     eval $ac_envvar=\$ac_optarg
   1188     export $ac_envvar ;;
   1189 
   1190   *)
   1191     # FIXME: should be removed in autoconf 3.0.
   1192     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1193     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1194       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1195     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1196     ;;
   1197 
   1198   esac
   1199 done
   1200 
   1201 if test -n "$ac_prev"; then
   1202   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1203   as_fn_error $? "missing argument to $ac_option"
   1204 fi
   1205 
   1206 if test -n "$ac_unrecognized_opts"; then
   1207   case $enable_option_checking in
   1208     no) ;;
   1209     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1210     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1211   esac
   1212 fi
   1213 
   1214 # Check all directory arguments for consistency.
   1215 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1216 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1217 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1218 		libdir localedir mandir
   1219 do
   1220   eval ac_val=\$$ac_var
   1221   # Remove trailing slashes.
   1222   case $ac_val in
   1223     */ )
   1224       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1225       eval $ac_var=\$ac_val;;
   1226   esac
   1227   # Be sure to have absolute directory names.
   1228   case $ac_val in
   1229     [\\/$]* | ?:[\\/]* )  continue;;
   1230     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1231   esac
   1232   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1233 done
   1234 
   1235 # There might be people who depend on the old broken behavior: `$host'
   1236 # used to hold the argument of --host etc.
   1237 # FIXME: To remove some day.
   1238 build=$build_alias
   1239 host=$host_alias
   1240 target=$target_alias
   1241 
   1242 # FIXME: To remove some day.
   1243 if test "x$host_alias" != x; then
   1244   if test "x$build_alias" = x; then
   1245     cross_compiling=maybe
   1246   elif test "x$build_alias" != "x$host_alias"; then
   1247     cross_compiling=yes
   1248   fi
   1249 fi
   1250 
   1251 ac_tool_prefix=
   1252 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1253 
   1254 test "$silent" = yes && exec 6>/dev/null
   1255 
   1256 
   1257 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1258 ac_ls_di=`ls -di .` &&
   1259 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1260   as_fn_error $? "working directory cannot be determined"
   1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1262   as_fn_error $? "pwd does not report name of working directory"
   1263 
   1264 
   1265 # Find the source files, if location was not specified.
   1266 if test -z "$srcdir"; then
   1267   ac_srcdir_defaulted=yes
   1268   # Try the directory containing this script, then the parent directory.
   1269   ac_confdir=`$as_dirname -- "$as_myself" ||
   1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1271 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1272 	 X"$as_myself" : 'X\(//\)$' \| \
   1273 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1274 $as_echo X"$as_myself" |
   1275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\/\)[^/].*/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)$/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\).*/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  s/.*/./; q'`
   1292   srcdir=$ac_confdir
   1293   if test ! -r "$srcdir/$ac_unique_file"; then
   1294     srcdir=..
   1295   fi
   1296 else
   1297   ac_srcdir_defaulted=no
   1298 fi
   1299 if test ! -r "$srcdir/$ac_unique_file"; then
   1300   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1301   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1302 fi
   1303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1304 ac_abs_confdir=`(
   1305 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1306 	pwd)`
   1307 # When building in place, set srcdir=.
   1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1309   srcdir=.
   1310 fi
   1311 # Remove unnecessary trailing slashes from srcdir.
   1312 # Double slashes in file names in object file debugging info
   1313 # mess up M-x gdb in Emacs.
   1314 case $srcdir in
   1315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1316 esac
   1317 for ac_var in $ac_precious_vars; do
   1318   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1319   eval ac_env_${ac_var}_value=\$${ac_var}
   1320   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1321   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1322 done
   1323 
   1324 #
   1325 # Report the --help message.
   1326 #
   1327 if test "$ac_init_help" = "long"; then
   1328   # Omit some internal or obsolete options to make the list less imposing.
   1329   # This message is too long to be a string in the A/UX 3.1 sh.
   1330   cat <<_ACEOF
   1331 \`configure' configures xclock 1.0.8 to adapt to many kinds of systems.
   1332 
   1333 Usage: $0 [OPTION]... [VAR=VALUE]...
   1334 
   1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1336 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1337 
   1338 Defaults for the options are specified in brackets.
   1339 
   1340 Configuration:
   1341   -h, --help              display this help and exit
   1342       --help=short        display options specific to this package
   1343       --help=recursive    display the short help of all the included packages
   1344   -V, --version           display version information and exit
   1345   -q, --quiet, --silent   do not print \`checking ...' messages
   1346       --cache-file=FILE   cache test results in FILE [disabled]
   1347   -C, --config-cache      alias for \`--cache-file=config.cache'
   1348   -n, --no-create         do not create output files
   1349       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1350 
   1351 Installation directories:
   1352   --prefix=PREFIX         install architecture-independent files in PREFIX
   1353                           [$ac_default_prefix]
   1354   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1355                           [PREFIX]
   1356 
   1357 By default, \`make install' will install all the files in
   1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1360 for instance \`--prefix=\$HOME'.
   1361 
   1362 For better control, use the options below.
   1363 
   1364 Fine tuning of the installation directories:
   1365   --bindir=DIR            user executables [EPREFIX/bin]
   1366   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1367   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1368   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1369   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1370   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1371   --libdir=DIR            object code libraries [EPREFIX/lib]
   1372   --includedir=DIR        C header files [PREFIX/include]
   1373   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1374   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1375   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1376   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1377   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1378   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1379   --docdir=DIR            documentation root [DATAROOTDIR/doc/xclock]
   1380   --htmldir=DIR           html documentation [DOCDIR]
   1381   --dvidir=DIR            dvi documentation [DOCDIR]
   1382   --pdfdir=DIR            pdf documentation [DOCDIR]
   1383   --psdir=DIR             ps documentation [DOCDIR]
   1384 _ACEOF
   1385 
   1386   cat <<\_ACEOF
   1387 
   1388 Program names:
   1389   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1390   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1391   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1392 
   1393 System types:
   1394   --build=BUILD     configure for building on BUILD [guessed]
   1395   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1396 _ACEOF
   1397 fi
   1398 
   1399 if test -n "$ac_init_help"; then
   1400   case $ac_init_help in
   1401      short | recursive ) echo "Configuration of xclock 1.0.8:";;
   1402    esac
   1403   cat <<\_ACEOF
   1404 
   1405 Optional Features:
   1406   --disable-option-checking  ignore unrecognized --enable/--with options
   1407   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1408   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1409   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1410   --disable-silent-rules  verbose build output (undo: "make V=0")
   1411   --enable-dependency-tracking
   1412                           do not reject slow dependency extractors
   1413   --disable-dependency-tracking
   1414                           speeds up one-time build
   1415   --disable-selective-werror
   1416                           Turn off selective compiler errors. (default:
   1417                           enabled)
   1418   --enable-strict-compilation
   1419                           Enable all warnings from compiler and make them
   1420                           errors (default: disabled)
   1421   --disable-rpath         do not hardcode runtime library paths
   1422 
   1423 Optional Packages:
   1424   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1425   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1426   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1427   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1428   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1429   --with-xft              Use Xft2 and Xrender for rendering (Default is YES)
   1430   --with-xkb              Use XKB to sound bells (Default is YES)
   1431   --with-appdefaultdir=<pathname>
   1432                           specify directory for app-defaults files (default is
   1433                           autodetected)
   1434 
   1435 Some influential environment variables:
   1436   CC          C compiler command
   1437   CFLAGS      C compiler flags
   1438   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1439               nonstandard directory <lib dir>
   1440   LIBS        libraries to pass to the linker, e.g. -l<library>
   1441   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1442               you have headers in a nonstandard directory <include dir>
   1443   CPP         C preprocessor
   1444   PKG_CONFIG  path to pkg-config utility
   1445   PKG_CONFIG_PATH
   1446               directories to add to pkg-config's search path
   1447   PKG_CONFIG_LIBDIR
   1448               path overriding pkg-config's built-in search path
   1449   XCLOCK_CFLAGS
   1450               C compiler flags for XCLOCK, overriding pkg-config
   1451   XCLOCK_LIBS linker flags for XCLOCK, overriding pkg-config
   1452   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
   1453   XFT_LIBS    linker flags for XFT, overriding pkg-config
   1454   XKB_CFLAGS  C compiler flags for XKB, overriding pkg-config
   1455   XKB_LIBS    linker flags for XKB, overriding pkg-config
   1456   APPDEFS_CFLAGS
   1457               C compiler flags for APPDEFS, overriding pkg-config
   1458   APPDEFS_LIBS
   1459               linker flags for APPDEFS, overriding pkg-config
   1460 
   1461 Use these variables to override the choices made by `configure' or to help
   1462 it to find libraries and programs with nonstandard names/locations.
   1463 
   1464 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/issues>.
   1465 _ACEOF
   1466 ac_status=$?
   1467 fi
   1468 
   1469 if test "$ac_init_help" = "recursive"; then
   1470   # If there are subdirs, report their specific --help.
   1471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1472     test -d "$ac_dir" ||
   1473       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1474       continue
   1475     ac_builddir=.
   1476 
   1477 case "$ac_dir" in
   1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479 *)
   1480   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1481   # A ".." for each directory in $ac_dir_suffix.
   1482   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1483   case $ac_top_builddir_sub in
   1484   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1485   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1486   esac ;;
   1487 esac
   1488 ac_abs_top_builddir=$ac_pwd
   1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1490 # for backward compatibility:
   1491 ac_top_builddir=$ac_top_build_prefix
   1492 
   1493 case $srcdir in
   1494   .)  # We are building in place.
   1495     ac_srcdir=.
   1496     ac_top_srcdir=$ac_top_builddir_sub
   1497     ac_abs_top_srcdir=$ac_pwd ;;
   1498   [\\/]* | ?:[\\/]* )  # Absolute name.
   1499     ac_srcdir=$srcdir$ac_dir_suffix;
   1500     ac_top_srcdir=$srcdir
   1501     ac_abs_top_srcdir=$srcdir ;;
   1502   *) # Relative name.
   1503     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1504     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1505     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1506 esac
   1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1508 
   1509     cd "$ac_dir" || { ac_status=$?; continue; }
   1510     # Check for guested configure.
   1511     if test -f "$ac_srcdir/configure.gnu"; then
   1512       echo &&
   1513       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1514     elif test -f "$ac_srcdir/configure"; then
   1515       echo &&
   1516       $SHELL "$ac_srcdir/configure" --help=recursive
   1517     else
   1518       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1519     fi || ac_status=$?
   1520     cd "$ac_pwd" || { ac_status=$?; break; }
   1521   done
   1522 fi
   1523 
   1524 test -n "$ac_init_help" && exit $ac_status
   1525 if $ac_init_version; then
   1526   cat <<\_ACEOF
   1527 xclock configure 1.0.8
   1528 generated by GNU Autoconf 2.69
   1529 
   1530 Copyright (C) 2012 Free Software Foundation, Inc.
   1531 This configure script is free software; the Free Software Foundation
   1532 gives unlimited permission to copy, distribute and modify it.
   1533 _ACEOF
   1534   exit
   1535 fi
   1536 
   1537 ## ------------------------ ##
   1538 ## Autoconf initialization. ##
   1539 ## ------------------------ ##
   1540 
   1541 # ac_fn_c_try_compile LINENO
   1542 # --------------------------
   1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1544 ac_fn_c_try_compile ()
   1545 {
   1546   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1547   rm -f conftest.$ac_objext
   1548   if { { ac_try="$ac_compile"
   1549 case "(($ac_try" in
   1550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1551   *) ac_try_echo=$ac_try;;
   1552 esac
   1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1554 $as_echo "$ac_try_echo"; } >&5
   1555   (eval "$ac_compile") 2>conftest.err
   1556   ac_status=$?
   1557   if test -s conftest.err; then
   1558     grep -v '^ *+' conftest.err >conftest.er1
   1559     cat conftest.er1 >&5
   1560     mv -f conftest.er1 conftest.err
   1561   fi
   1562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1563   test $ac_status = 0; } && {
   1564 	 test -z "$ac_c_werror_flag" ||
   1565 	 test ! -s conftest.err
   1566        } && test -s conftest.$ac_objext; then :
   1567   ac_retval=0
   1568 else
   1569   $as_echo "$as_me: failed program was:" >&5
   1570 sed 's/^/| /' conftest.$ac_ext >&5
   1571 
   1572 	ac_retval=1
   1573 fi
   1574   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1575   as_fn_set_status $ac_retval
   1576 
   1577 } # ac_fn_c_try_compile
   1578 
   1579 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1580 # ---------------------------------------------
   1581 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1582 # accordingly.
   1583 ac_fn_c_check_decl ()
   1584 {
   1585   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1586   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1587   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1589 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1590 if eval \${$3+:} false; then :
   1591   $as_echo_n "(cached) " >&6
   1592 else
   1593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1594 /* end confdefs.h.  */
   1595 $4
   1596 int
   1597 main ()
   1598 {
   1599 #ifndef $as_decl_name
   1600 #ifdef __cplusplus
   1601   (void) $as_decl_use;
   1602 #else
   1603   (void) $as_decl_name;
   1604 #endif
   1605 #endif
   1606 
   1607   ;
   1608   return 0;
   1609 }
   1610 _ACEOF
   1611 if ac_fn_c_try_compile "$LINENO"; then :
   1612   eval "$3=yes"
   1613 else
   1614   eval "$3=no"
   1615 fi
   1616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1617 fi
   1618 eval ac_res=\$$3
   1619 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1620 $as_echo "$ac_res" >&6; }
   1621   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1622 
   1623 } # ac_fn_c_check_decl
   1624 
   1625 # ac_fn_c_try_cpp LINENO
   1626 # ----------------------
   1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1628 ac_fn_c_try_cpp ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1632 case "(($ac_try" in
   1633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1634   *) ac_try_echo=$ac_try;;
   1635 esac
   1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1637 $as_echo "$ac_try_echo"; } >&5
   1638   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1639   ac_status=$?
   1640   if test -s conftest.err; then
   1641     grep -v '^ *+' conftest.err >conftest.er1
   1642     cat conftest.er1 >&5
   1643     mv -f conftest.er1 conftest.err
   1644   fi
   1645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1646   test $ac_status = 0; } > conftest.i && {
   1647 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1648 	 test ! -s conftest.err
   1649        }; then :
   1650   ac_retval=0
   1651 else
   1652   $as_echo "$as_me: failed program was:" >&5
   1653 sed 's/^/| /' conftest.$ac_ext >&5
   1654 
   1655     ac_retval=1
   1656 fi
   1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1658   as_fn_set_status $ac_retval
   1659 
   1660 } # ac_fn_c_try_cpp
   1661 
   1662 # ac_fn_c_try_run LINENO
   1663 # ----------------------
   1664 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1665 # that executables *can* be run.
   1666 ac_fn_c_try_run ()
   1667 {
   1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1669   if { { ac_try="$ac_link"
   1670 case "(($ac_try" in
   1671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1672   *) ac_try_echo=$ac_try;;
   1673 esac
   1674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1675 $as_echo "$ac_try_echo"; } >&5
   1676   (eval "$ac_link") 2>&5
   1677   ac_status=$?
   1678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1679   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1680   { { case "(($ac_try" in
   1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1682   *) ac_try_echo=$ac_try;;
   1683 esac
   1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1685 $as_echo "$ac_try_echo"; } >&5
   1686   (eval "$ac_try") 2>&5
   1687   ac_status=$?
   1688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1689   test $ac_status = 0; }; }; then :
   1690   ac_retval=0
   1691 else
   1692   $as_echo "$as_me: program exited with status $ac_status" >&5
   1693        $as_echo "$as_me: failed program was:" >&5
   1694 sed 's/^/| /' conftest.$ac_ext >&5
   1695 
   1696        ac_retval=$ac_status
   1697 fi
   1698   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1700   as_fn_set_status $ac_retval
   1701 
   1702 } # ac_fn_c_try_run
   1703 
   1704 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1705 # -------------------------------------------------------
   1706 # Tests whether HEADER exists and can be compiled using the include files in
   1707 # INCLUDES, setting the cache variable VAR accordingly.
   1708 ac_fn_c_check_header_compile ()
   1709 {
   1710   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1712 $as_echo_n "checking for $2... " >&6; }
   1713 if eval \${$3+:} false; then :
   1714   $as_echo_n "(cached) " >&6
   1715 else
   1716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1717 /* end confdefs.h.  */
   1718 $4
   1719 #include <$2>
   1720 _ACEOF
   1721 if ac_fn_c_try_compile "$LINENO"; then :
   1722   eval "$3=yes"
   1723 else
   1724   eval "$3=no"
   1725 fi
   1726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1727 fi
   1728 eval ac_res=\$$3
   1729 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1730 $as_echo "$ac_res" >&6; }
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732 
   1733 } # ac_fn_c_check_header_compile
   1734 
   1735 # ac_fn_c_try_link LINENO
   1736 # -----------------------
   1737 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1738 ac_fn_c_try_link ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   rm -f conftest.$ac_objext conftest$ac_exeext
   1742   if { { ac_try="$ac_link"
   1743 case "(($ac_try" in
   1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1745   *) ac_try_echo=$ac_try;;
   1746 esac
   1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1748 $as_echo "$ac_try_echo"; } >&5
   1749   (eval "$ac_link") 2>conftest.err
   1750   ac_status=$?
   1751   if test -s conftest.err; then
   1752     grep -v '^ *+' conftest.err >conftest.er1
   1753     cat conftest.er1 >&5
   1754     mv -f conftest.er1 conftest.err
   1755   fi
   1756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1757   test $ac_status = 0; } && {
   1758 	 test -z "$ac_c_werror_flag" ||
   1759 	 test ! -s conftest.err
   1760        } && test -s conftest$ac_exeext && {
   1761 	 test "$cross_compiling" = yes ||
   1762 	 test -x conftest$ac_exeext
   1763        }; then :
   1764   ac_retval=0
   1765 else
   1766   $as_echo "$as_me: failed program was:" >&5
   1767 sed 's/^/| /' conftest.$ac_ext >&5
   1768 
   1769 	ac_retval=1
   1770 fi
   1771   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1772   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1773   # interfere with the next link command; also delete a directory that is
   1774   # left behind by Apple's compiler.  We do this before executing the actions.
   1775   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1777   as_fn_set_status $ac_retval
   1778 
   1779 } # ac_fn_c_try_link
   1780 
   1781 # ac_fn_c_check_func LINENO FUNC VAR
   1782 # ----------------------------------
   1783 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1784 ac_fn_c_check_func ()
   1785 {
   1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1788 $as_echo_n "checking for $2... " >&6; }
   1789 if eval \${$3+:} false; then :
   1790   $as_echo_n "(cached) " >&6
   1791 else
   1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1793 /* end confdefs.h.  */
   1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1796 #define $2 innocuous_$2
   1797 
   1798 /* System header to define __stub macros and hopefully few prototypes,
   1799     which can conflict with char $2 (); below.
   1800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1801     <limits.h> exists even on freestanding compilers.  */
   1802 
   1803 #ifdef __STDC__
   1804 # include <limits.h>
   1805 #else
   1806 # include <assert.h>
   1807 #endif
   1808 
   1809 #undef $2
   1810 
   1811 /* Override any GCC internal prototype to avoid an error.
   1812    Use char because int might match the return type of a GCC
   1813    builtin and then its argument prototype would still apply.  */
   1814 #ifdef __cplusplus
   1815 extern "C"
   1816 #endif
   1817 char $2 ();
   1818 /* The GNU C library defines this for functions which it implements
   1819     to always fail with ENOSYS.  Some functions are actually named
   1820     something starting with __ and the normal name is an alias.  */
   1821 #if defined __stub_$2 || defined __stub___$2
   1822 choke me
   1823 #endif
   1824 
   1825 int
   1826 main ()
   1827 {
   1828 return $2 ();
   1829   ;
   1830   return 0;
   1831 }
   1832 _ACEOF
   1833 if ac_fn_c_try_link "$LINENO"; then :
   1834   eval "$3=yes"
   1835 else
   1836   eval "$3=no"
   1837 fi
   1838 rm -f core conftest.err conftest.$ac_objext \
   1839     conftest$ac_exeext conftest.$ac_ext
   1840 fi
   1841 eval ac_res=\$$3
   1842 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1843 $as_echo "$ac_res" >&6; }
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845 
   1846 } # ac_fn_c_check_func
   1847 cat >config.log <<_ACEOF
   1848 This file contains any messages produced by compilers while
   1849 running configure, to aid debugging if configure makes a mistake.
   1850 
   1851 It was created by xclock $as_me 1.0.8, which was
   1852 generated by GNU Autoconf 2.69.  Invocation command line was
   1853 
   1854   $ $0 $@
   1855 
   1856 _ACEOF
   1857 exec 5>>config.log
   1858 {
   1859 cat <<_ASUNAME
   1860 ## --------- ##
   1861 ## Platform. ##
   1862 ## --------- ##
   1863 
   1864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1869 
   1870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1871 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1872 
   1873 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1874 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1876 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1877 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1878 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1879 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1880 
   1881 _ASUNAME
   1882 
   1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1884 for as_dir in $PATH
   1885 do
   1886   IFS=$as_save_IFS
   1887   test -z "$as_dir" && as_dir=.
   1888     $as_echo "PATH: $as_dir"
   1889   done
   1890 IFS=$as_save_IFS
   1891 
   1892 } >&5
   1893 
   1894 cat >&5 <<_ACEOF
   1895 
   1896 
   1897 ## ----------- ##
   1898 ## Core tests. ##
   1899 ## ----------- ##
   1900 
   1901 _ACEOF
   1902 
   1903 
   1904 # Keep a trace of the command line.
   1905 # Strip out --no-create and --no-recursion so they do not pile up.
   1906 # Strip out --silent because we don't want to record it for future runs.
   1907 # Also quote any args containing shell meta-characters.
   1908 # Make two passes to allow for proper duplicate-argument suppression.
   1909 ac_configure_args=
   1910 ac_configure_args0=
   1911 ac_configure_args1=
   1912 ac_must_keep_next=false
   1913 for ac_pass in 1 2
   1914 do
   1915   for ac_arg
   1916   do
   1917     case $ac_arg in
   1918     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1919     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1920     | -silent | --silent | --silen | --sile | --sil)
   1921       continue ;;
   1922     *\'*)
   1923       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1924     esac
   1925     case $ac_pass in
   1926     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1927     2)
   1928       as_fn_append ac_configure_args1 " '$ac_arg'"
   1929       if test $ac_must_keep_next = true; then
   1930 	ac_must_keep_next=false # Got value, back to normal.
   1931       else
   1932 	case $ac_arg in
   1933 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1934 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1935 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1936 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1937 	    case "$ac_configure_args0 " in
   1938 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1939 	    esac
   1940 	    ;;
   1941 	  -* ) ac_must_keep_next=true ;;
   1942 	esac
   1943       fi
   1944       as_fn_append ac_configure_args " '$ac_arg'"
   1945       ;;
   1946     esac
   1947   done
   1948 done
   1949 { ac_configure_args0=; unset ac_configure_args0;}
   1950 { ac_configure_args1=; unset ac_configure_args1;}
   1951 
   1952 # When interrupted or exit'd, cleanup temporary files, and complete
   1953 # config.log.  We remove comments because anyway the quotes in there
   1954 # would cause problems or look ugly.
   1955 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1956 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1957 trap 'exit_status=$?
   1958   # Save into config.log some information that might help in debugging.
   1959   {
   1960     echo
   1961 
   1962     $as_echo "## ---------------- ##
   1963 ## Cache variables. ##
   1964 ## ---------------- ##"
   1965     echo
   1966     # The following way of writing the cache mishandles newlines in values,
   1967 (
   1968   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1969     eval ac_val=\$$ac_var
   1970     case $ac_val in #(
   1971     *${as_nl}*)
   1972       case $ac_var in #(
   1973       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1974 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1975       esac
   1976       case $ac_var in #(
   1977       _ | IFS | as_nl) ;; #(
   1978       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1979       *) { eval $ac_var=; unset $ac_var;} ;;
   1980       esac ;;
   1981     esac
   1982   done
   1983   (set) 2>&1 |
   1984     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1985     *${as_nl}ac_space=\ *)
   1986       sed -n \
   1987 	"s/'\''/'\''\\\\'\'''\''/g;
   1988 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1989       ;; #(
   1990     *)
   1991       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1992       ;;
   1993     esac |
   1994     sort
   1995 )
   1996     echo
   1997 
   1998     $as_echo "## ----------------- ##
   1999 ## Output variables. ##
   2000 ## ----------------- ##"
   2001     echo
   2002     for ac_var in $ac_subst_vars
   2003     do
   2004       eval ac_val=\$$ac_var
   2005       case $ac_val in
   2006       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2007       esac
   2008       $as_echo "$ac_var='\''$ac_val'\''"
   2009     done | sort
   2010     echo
   2011 
   2012     if test -n "$ac_subst_files"; then
   2013       $as_echo "## ------------------- ##
   2014 ## File substitutions. ##
   2015 ## ------------------- ##"
   2016       echo
   2017       for ac_var in $ac_subst_files
   2018       do
   2019 	eval ac_val=\$$ac_var
   2020 	case $ac_val in
   2021 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2022 	esac
   2023 	$as_echo "$ac_var='\''$ac_val'\''"
   2024       done | sort
   2025       echo
   2026     fi
   2027 
   2028     if test -s confdefs.h; then
   2029       $as_echo "## ----------- ##
   2030 ## confdefs.h. ##
   2031 ## ----------- ##"
   2032       echo
   2033       cat confdefs.h
   2034       echo
   2035     fi
   2036     test "$ac_signal" != 0 &&
   2037       $as_echo "$as_me: caught signal $ac_signal"
   2038     $as_echo "$as_me: exit $exit_status"
   2039   } >&5
   2040   rm -f core *.core core.conftest.* &&
   2041     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2042     exit $exit_status
   2043 ' 0
   2044 for ac_signal in 1 2 13 15; do
   2045   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2046 done
   2047 ac_signal=0
   2048 
   2049 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2050 rm -f -r conftest* confdefs.h
   2051 
   2052 $as_echo "/* confdefs.h */" > confdefs.h
   2053 
   2054 # Predefined preprocessor variables.
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_NAME "$PACKAGE_NAME"
   2058 _ACEOF
   2059 
   2060 cat >>confdefs.h <<_ACEOF
   2061 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2062 _ACEOF
   2063 
   2064 cat >>confdefs.h <<_ACEOF
   2065 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2066 _ACEOF
   2067 
   2068 cat >>confdefs.h <<_ACEOF
   2069 #define PACKAGE_STRING "$PACKAGE_STRING"
   2070 _ACEOF
   2071 
   2072 cat >>confdefs.h <<_ACEOF
   2073 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2074 _ACEOF
   2075 
   2076 cat >>confdefs.h <<_ACEOF
   2077 #define PACKAGE_URL "$PACKAGE_URL"
   2078 _ACEOF
   2079 
   2080 
   2081 # Let the site file select an alternate cache file if it wants to.
   2082 # Prefer an explicitly selected file to automatically selected ones.
   2083 ac_site_file1=NONE
   2084 ac_site_file2=NONE
   2085 if test -n "$CONFIG_SITE"; then
   2086   # We do not want a PATH search for config.site.
   2087   case $CONFIG_SITE in #((
   2088     -*)  ac_site_file1=./$CONFIG_SITE;;
   2089     */*) ac_site_file1=$CONFIG_SITE;;
   2090     *)   ac_site_file1=./$CONFIG_SITE;;
   2091   esac
   2092 elif test "x$prefix" != xNONE; then
   2093   ac_site_file1=$prefix/share/config.site
   2094   ac_site_file2=$prefix/etc/config.site
   2095 else
   2096   ac_site_file1=$ac_default_prefix/share/config.site
   2097   ac_site_file2=$ac_default_prefix/etc/config.site
   2098 fi
   2099 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2100 do
   2101   test "x$ac_site_file" = xNONE && continue
   2102   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2103     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2104 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2105     sed 's/^/| /' "$ac_site_file" >&5
   2106     . "$ac_site_file" \
   2107       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2109 as_fn_error $? "failed to load site script $ac_site_file
   2110 See \`config.log' for more details" "$LINENO" 5; }
   2111   fi
   2112 done
   2113 
   2114 if test -r "$cache_file"; then
   2115   # Some versions of bash will fail to source /dev/null (special files
   2116   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2117   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2118     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2119 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2120     case $cache_file in
   2121       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2122       *)                      . "./$cache_file";;
   2123     esac
   2124   fi
   2125 else
   2126   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2127 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2128   >$cache_file
   2129 fi
   2130 
   2131 # Check that the precious variables saved in the cache have kept the same
   2132 # value.
   2133 ac_cache_corrupted=false
   2134 for ac_var in $ac_precious_vars; do
   2135   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2136   eval ac_new_set=\$ac_env_${ac_var}_set
   2137   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2138   eval ac_new_val=\$ac_env_${ac_var}_value
   2139   case $ac_old_set,$ac_new_set in
   2140     set,)
   2141       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2142 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2143       ac_cache_corrupted=: ;;
   2144     ,set)
   2145       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2146 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2147       ac_cache_corrupted=: ;;
   2148     ,);;
   2149     *)
   2150       if test "x$ac_old_val" != "x$ac_new_val"; then
   2151 	# differences in whitespace do not lead to failure.
   2152 	ac_old_val_w=`echo x $ac_old_val`
   2153 	ac_new_val_w=`echo x $ac_new_val`
   2154 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2155 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2156 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2157 	  ac_cache_corrupted=:
   2158 	else
   2159 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2160 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2161 	  eval $ac_var=\$ac_old_val
   2162 	fi
   2163 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2164 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2165 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2166 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2167       fi;;
   2168   esac
   2169   # Pass precious variables to config.status.
   2170   if test "$ac_new_set" = set; then
   2171     case $ac_new_val in
   2172     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2173     *) ac_arg=$ac_var=$ac_new_val ;;
   2174     esac
   2175     case " $ac_configure_args " in
   2176       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2177       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2178     esac
   2179   fi
   2180 done
   2181 if $ac_cache_corrupted; then
   2182   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2184   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2185 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2186   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2187 fi
   2188 ## -------------------- ##
   2189 ## Main body of script. ##
   2190 ## -------------------- ##
   2191 
   2192 ac_ext=c
   2193 ac_cpp='$CPP $CPPFLAGS'
   2194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2197 
   2198 
   2199 
   2200 ac_config_headers="$ac_config_headers config.h"
   2201 
   2202 
   2203 # Initialize Automake
   2204 am__api_version='1.15'
   2205 
   2206 ac_aux_dir=
   2207 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2208   if test -f "$ac_dir/install-sh"; then
   2209     ac_aux_dir=$ac_dir
   2210     ac_install_sh="$ac_aux_dir/install-sh -c"
   2211     break
   2212   elif test -f "$ac_dir/install.sh"; then
   2213     ac_aux_dir=$ac_dir
   2214     ac_install_sh="$ac_aux_dir/install.sh -c"
   2215     break
   2216   elif test -f "$ac_dir/shtool"; then
   2217     ac_aux_dir=$ac_dir
   2218     ac_install_sh="$ac_aux_dir/shtool install -c"
   2219     break
   2220   fi
   2221 done
   2222 if test -z "$ac_aux_dir"; then
   2223   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2224 fi
   2225 
   2226 # These three variables are undocumented and unsupported,
   2227 # and are intended to be withdrawn in a future Autoconf release.
   2228 # They can cause serious problems if a builder's source tree is in a directory
   2229 # whose full name contains unusual characters.
   2230 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2231 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2232 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2233 
   2234 
   2235 # Find a good install program.  We prefer a C program (faster),
   2236 # so one script is as good as another.  But avoid the broken or
   2237 # incompatible versions:
   2238 # SysV /etc/install, /usr/sbin/install
   2239 # SunOS /usr/etc/install
   2240 # IRIX /sbin/install
   2241 # AIX /bin/install
   2242 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2243 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2244 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2245 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2246 # OS/2's system install, which has a completely different semantic
   2247 # ./install, which can be erroneously created by make from ./install.sh.
   2248 # Reject install programs that cannot install multiple files.
   2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2250 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2251 if test -z "$INSTALL"; then
   2252 if ${ac_cv_path_install+:} false; then :
   2253   $as_echo_n "(cached) " >&6
   2254 else
   2255   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2256 for as_dir in $PATH
   2257 do
   2258   IFS=$as_save_IFS
   2259   test -z "$as_dir" && as_dir=.
   2260     # Account for people who put trailing slashes in PATH elements.
   2261 case $as_dir/ in #((
   2262   ./ | .// | /[cC]/* | \
   2263   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2264   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2265   /usr/ucb/* ) ;;
   2266   *)
   2267     # OSF1 and SCO ODT 3.0 have their own names for install.
   2268     # Don't use installbsd from OSF since it installs stuff as root
   2269     # by default.
   2270     for ac_prog in ginstall scoinst install; do
   2271       for ac_exec_ext in '' $ac_executable_extensions; do
   2272 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2273 	  if test $ac_prog = install &&
   2274 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2275 	    # AIX install.  It has an incompatible calling convention.
   2276 	    :
   2277 	  elif test $ac_prog = install &&
   2278 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2279 	    # program-specific install script used by HP pwplus--don't use.
   2280 	    :
   2281 	  else
   2282 	    rm -rf conftest.one conftest.two conftest.dir
   2283 	    echo one > conftest.one
   2284 	    echo two > conftest.two
   2285 	    mkdir conftest.dir
   2286 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2287 	      test -s conftest.one && test -s conftest.two &&
   2288 	      test -s conftest.dir/conftest.one &&
   2289 	      test -s conftest.dir/conftest.two
   2290 	    then
   2291 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2292 	      break 3
   2293 	    fi
   2294 	  fi
   2295 	fi
   2296       done
   2297     done
   2298     ;;
   2299 esac
   2300 
   2301   done
   2302 IFS=$as_save_IFS
   2303 
   2304 rm -rf conftest.one conftest.two conftest.dir
   2305 
   2306 fi
   2307   if test "${ac_cv_path_install+set}" = set; then
   2308     INSTALL=$ac_cv_path_install
   2309   else
   2310     # As a last resort, use the slow shell script.  Don't cache a
   2311     # value for INSTALL within a source directory, because that will
   2312     # break other packages using the cache if that directory is
   2313     # removed, or if the value is a relative name.
   2314     INSTALL=$ac_install_sh
   2315   fi
   2316 fi
   2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2318 $as_echo "$INSTALL" >&6; }
   2319 
   2320 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2321 # It thinks the first close brace ends the variable substitution.
   2322 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2323 
   2324 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2325 
   2326 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2327 
   2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2329 $as_echo_n "checking whether build environment is sane... " >&6; }
   2330 # Reject unsafe characters in $srcdir or the absolute working directory
   2331 # name.  Accept space and tab only in the latter.
   2332 am_lf='
   2333 '
   2334 case `pwd` in
   2335   *[\\\"\#\$\&\'\`$am_lf]*)
   2336     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2337 esac
   2338 case $srcdir in
   2339   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2340     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2341 esac
   2342 
   2343 # Do 'set' in a subshell so we don't clobber the current shell's
   2344 # arguments.  Must try -L first in case configure is actually a
   2345 # symlink; some systems play weird games with the mod time of symlinks
   2346 # (eg FreeBSD returns the mod time of the symlink's containing
   2347 # directory).
   2348 if (
   2349    am_has_slept=no
   2350    for am_try in 1 2; do
   2351      echo "timestamp, slept: $am_has_slept" > conftest.file
   2352      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2353      if test "$*" = "X"; then
   2354 	# -L didn't work.
   2355 	set X `ls -t "$srcdir/configure" conftest.file`
   2356      fi
   2357      if test "$*" != "X $srcdir/configure conftest.file" \
   2358 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2359 
   2360 	# If neither matched, then we have a broken ls.  This can happen
   2361 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2362 	# broken ls alias from the environment.  This has actually
   2363 	# happened.  Such a system could not be considered "sane".
   2364 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2365   alias in your environment" "$LINENO" 5
   2366      fi
   2367      if test "$2" = conftest.file || test $am_try -eq 2; then
   2368        break
   2369      fi
   2370      # Just in case.
   2371      sleep 1
   2372      am_has_slept=yes
   2373    done
   2374    test "$2" = conftest.file
   2375    )
   2376 then
   2377    # Ok.
   2378    :
   2379 else
   2380    as_fn_error $? "newly created file is older than distributed files!
   2381 Check your system clock" "$LINENO" 5
   2382 fi
   2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2384 $as_echo "yes" >&6; }
   2385 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2386 # generated files are strictly newer.
   2387 am_sleep_pid=
   2388 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2389   ( sleep 1 ) &
   2390   am_sleep_pid=$!
   2391 fi
   2392 
   2393 rm -f conftest.file
   2394 
   2395 test "$program_prefix" != NONE &&
   2396   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2397 # Use a double $ so make ignores it.
   2398 test "$program_suffix" != NONE &&
   2399   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2400 # Double any \ or $.
   2401 # By default was `s,x,x', remove it if useless.
   2402 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2403 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2404 
   2405 # Expand $ac_aux_dir to an absolute path.
   2406 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2407 
   2408 if test x"${MISSING+set}" != xset; then
   2409   case $am_aux_dir in
   2410   *\ * | *\	*)
   2411     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2412   *)
   2413     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2414   esac
   2415 fi
   2416 # Use eval to expand $SHELL
   2417 if eval "$MISSING --is-lightweight"; then
   2418   am_missing_run="$MISSING "
   2419 else
   2420   am_missing_run=
   2421   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2422 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2423 fi
   2424 
   2425 if test x"${install_sh+set}" != xset; then
   2426   case $am_aux_dir in
   2427   *\ * | *\	*)
   2428     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2429   *)
   2430     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2431   esac
   2432 fi
   2433 
   2434 # Installed binaries are usually stripped using 'strip' when the user
   2435 # run "make install-strip".  However 'strip' might not be the right
   2436 # tool to use in cross-compilation environments, therefore Automake
   2437 # will honor the 'STRIP' environment variable to overrule this program.
   2438 if test "$cross_compiling" != no; then
   2439   if test -n "$ac_tool_prefix"; then
   2440   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2441 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2443 $as_echo_n "checking for $ac_word... " >&6; }
   2444 if ${ac_cv_prog_STRIP+:} false; then :
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   if test -n "$STRIP"; then
   2448   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2449 else
   2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2451 for as_dir in $PATH
   2452 do
   2453   IFS=$as_save_IFS
   2454   test -z "$as_dir" && as_dir=.
   2455     for ac_exec_ext in '' $ac_executable_extensions; do
   2456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2457     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2459     break 2
   2460   fi
   2461 done
   2462   done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 fi
   2467 STRIP=$ac_cv_prog_STRIP
   2468 if test -n "$STRIP"; then
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2470 $as_echo "$STRIP" >&6; }
   2471 else
   2472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2473 $as_echo "no" >&6; }
   2474 fi
   2475 
   2476 
   2477 fi
   2478 if test -z "$ac_cv_prog_STRIP"; then
   2479   ac_ct_STRIP=$STRIP
   2480   # Extract the first word of "strip", so it can be a program name with args.
   2481 set dummy strip; ac_word=$2
   2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2483 $as_echo_n "checking for $ac_word... " >&6; }
   2484 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2485   $as_echo_n "(cached) " >&6
   2486 else
   2487   if test -n "$ac_ct_STRIP"; then
   2488   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2489 else
   2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2491 for as_dir in $PATH
   2492 do
   2493   IFS=$as_save_IFS
   2494   test -z "$as_dir" && as_dir=.
   2495     for ac_exec_ext in '' $ac_executable_extensions; do
   2496   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2497     ac_cv_prog_ac_ct_STRIP="strip"
   2498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2499     break 2
   2500   fi
   2501 done
   2502   done
   2503 IFS=$as_save_IFS
   2504 
   2505 fi
   2506 fi
   2507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2508 if test -n "$ac_ct_STRIP"; then
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2510 $as_echo "$ac_ct_STRIP" >&6; }
   2511 else
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2513 $as_echo "no" >&6; }
   2514 fi
   2515 
   2516   if test "x$ac_ct_STRIP" = x; then
   2517     STRIP=":"
   2518   else
   2519     case $cross_compiling:$ac_tool_warned in
   2520 yes:)
   2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2523 ac_tool_warned=yes ;;
   2524 esac
   2525     STRIP=$ac_ct_STRIP
   2526   fi
   2527 else
   2528   STRIP="$ac_cv_prog_STRIP"
   2529 fi
   2530 
   2531 fi
   2532 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2533 
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2535 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2536 if test -z "$MKDIR_P"; then
   2537   if ${ac_cv_path_mkdir+:} false; then :
   2538   $as_echo_n "(cached) " >&6
   2539 else
   2540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2541 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2542 do
   2543   IFS=$as_save_IFS
   2544   test -z "$as_dir" && as_dir=.
   2545     for ac_prog in mkdir gmkdir; do
   2546 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2547 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2548 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2549 	     'mkdir (GNU coreutils) '* | \
   2550 	     'mkdir (coreutils) '* | \
   2551 	     'mkdir (fileutils) '4.1*)
   2552 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2553 	       break 3;;
   2554 	   esac
   2555 	 done
   2556        done
   2557   done
   2558 IFS=$as_save_IFS
   2559 
   2560 fi
   2561 
   2562   test -d ./--version && rmdir ./--version
   2563   if test "${ac_cv_path_mkdir+set}" = set; then
   2564     MKDIR_P="$ac_cv_path_mkdir -p"
   2565   else
   2566     # As a last resort, use the slow shell script.  Don't cache a
   2567     # value for MKDIR_P within a source directory, because that will
   2568     # break other packages using the cache if that directory is
   2569     # removed, or if the value is a relative name.
   2570     MKDIR_P="$ac_install_sh -d"
   2571   fi
   2572 fi
   2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2574 $as_echo "$MKDIR_P" >&6; }
   2575 
   2576 for ac_prog in gawk mawk nawk awk
   2577 do
   2578   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2579 set dummy $ac_prog; ac_word=$2
   2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2581 $as_echo_n "checking for $ac_word... " >&6; }
   2582 if ${ac_cv_prog_AWK+:} false; then :
   2583   $as_echo_n "(cached) " >&6
   2584 else
   2585   if test -n "$AWK"; then
   2586   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2587 else
   2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2589 for as_dir in $PATH
   2590 do
   2591   IFS=$as_save_IFS
   2592   test -z "$as_dir" && as_dir=.
   2593     for ac_exec_ext in '' $ac_executable_extensions; do
   2594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2595     ac_cv_prog_AWK="$ac_prog"
   2596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2597     break 2
   2598   fi
   2599 done
   2600   done
   2601 IFS=$as_save_IFS
   2602 
   2603 fi
   2604 fi
   2605 AWK=$ac_cv_prog_AWK
   2606 if test -n "$AWK"; then
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2608 $as_echo "$AWK" >&6; }
   2609 else
   2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2611 $as_echo "no" >&6; }
   2612 fi
   2613 
   2614 
   2615   test -n "$AWK" && break
   2616 done
   2617 
   2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2619 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2620 set x ${MAKE-make}
   2621 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2622 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2623   $as_echo_n "(cached) " >&6
   2624 else
   2625   cat >conftest.make <<\_ACEOF
   2626 SHELL = /bin/sh
   2627 all:
   2628 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2629 _ACEOF
   2630 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2631 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2632   *@@@%%%=?*=@@@%%%*)
   2633     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2634   *)
   2635     eval ac_cv_prog_make_${ac_make}_set=no;;
   2636 esac
   2637 rm -f conftest.make
   2638 fi
   2639 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2641 $as_echo "yes" >&6; }
   2642   SET_MAKE=
   2643 else
   2644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2645 $as_echo "no" >&6; }
   2646   SET_MAKE="MAKE=${MAKE-make}"
   2647 fi
   2648 
   2649 rm -rf .tst 2>/dev/null
   2650 mkdir .tst 2>/dev/null
   2651 if test -d .tst; then
   2652   am__leading_dot=.
   2653 else
   2654   am__leading_dot=_
   2655 fi
   2656 rmdir .tst 2>/dev/null
   2657 
   2658 # Check whether --enable-silent-rules was given.
   2659 if test "${enable_silent_rules+set}" = set; then :
   2660   enableval=$enable_silent_rules;
   2661 fi
   2662 
   2663 case $enable_silent_rules in # (((
   2664   yes) AM_DEFAULT_VERBOSITY=0;;
   2665    no) AM_DEFAULT_VERBOSITY=1;;
   2666     *) AM_DEFAULT_VERBOSITY=1;;
   2667 esac
   2668 am_make=${MAKE-make}
   2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2670 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2671 if ${am_cv_make_support_nested_variables+:} false; then :
   2672   $as_echo_n "(cached) " >&6
   2673 else
   2674   if $as_echo 'TRUE=$(BAR$(V))
   2675 BAR0=false
   2676 BAR1=true
   2677 V=1
   2678 am__doit:
   2679 	@$(TRUE)
   2680 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2681   am_cv_make_support_nested_variables=yes
   2682 else
   2683   am_cv_make_support_nested_variables=no
   2684 fi
   2685 fi
   2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2687 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2688 if test $am_cv_make_support_nested_variables = yes; then
   2689     AM_V='$(V)'
   2690   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2691 else
   2692   AM_V=$AM_DEFAULT_VERBOSITY
   2693   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2694 fi
   2695 AM_BACKSLASH='\'
   2696 
   2697 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2698   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2699   # is not polluted with repeated "-I."
   2700   am__isrc=' -I$(srcdir)'
   2701   # test to see if srcdir already configured
   2702   if test -f $srcdir/config.status; then
   2703     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2704   fi
   2705 fi
   2706 
   2707 # test whether we have cygpath
   2708 if test -z "$CYGPATH_W"; then
   2709   if (cygpath --version) >/dev/null 2>/dev/null; then
   2710     CYGPATH_W='cygpath -w'
   2711   else
   2712     CYGPATH_W=echo
   2713   fi
   2714 fi
   2715 
   2716 
   2717 # Define the identity of the package.
   2718  PACKAGE='xclock'
   2719  VERSION='1.0.8'
   2720 
   2721 
   2722 cat >>confdefs.h <<_ACEOF
   2723 #define PACKAGE "$PACKAGE"
   2724 _ACEOF
   2725 
   2726 
   2727 cat >>confdefs.h <<_ACEOF
   2728 #define VERSION "$VERSION"
   2729 _ACEOF
   2730 
   2731 # Some tools Automake needs.
   2732 
   2733 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2734 
   2735 
   2736 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2737 
   2738 
   2739 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2740 
   2741 
   2742 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2743 
   2744 
   2745 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2746 
   2747 # For better backward compatibility.  To be removed once Automake 1.9.x
   2748 # dies out for good.  For more background, see:
   2749 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2750 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2751 mkdir_p='$(MKDIR_P)'
   2752 
   2753 # We need awk for the "check" target (and possibly the TAP driver).  The
   2754 # system "awk" is bad on some platforms.
   2755 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2756 # in the wild :-(  We should find a proper way to deprecate it ...
   2757 AMTAR='$${TAR-tar}'
   2758 
   2759 
   2760 # We'll loop over all known methods to create a tar archive until one works.
   2761 _am_tools='gnutar  pax cpio none'
   2762 
   2763 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2764 
   2765 
   2766 
   2767 
   2768 
   2769 
   2770 # POSIX will say in a future version that running "rm -f" with no argument
   2771 # is OK; and we want to be able to make that assumption in our Makefile
   2772 # recipes.  So use an aggressive probe to check that the usage we want is
   2773 # actually supported "in the wild" to an acceptable degree.
   2774 # See automake bug#10828.
   2775 # To make any issue more visible, cause the running configure to be aborted
   2776 # by default if the 'rm' program in use doesn't match our expectations; the
   2777 # user can still override this though.
   2778 if rm -f && rm -fr && rm -rf; then : OK; else
   2779   cat >&2 <<'END'
   2780 Oops!
   2781 
   2782 Your 'rm' program seems unable to run without file operands specified
   2783 on the command line, even when the '-f' option is present.  This is contrary
   2784 to the behaviour of most rm programs out there, and not conforming with
   2785 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2786 
   2787 Please tell bug-automake@gnu.org about your system, including the value
   2788 of your $PATH and any error possibly output before this message.  This
   2789 can help us improve future automake versions.
   2790 
   2791 END
   2792   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2793     echo 'Configuration will proceed anyway, since you have set the' >&2
   2794     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2795     echo >&2
   2796   else
   2797     cat >&2 <<'END'
   2798 Aborting the configuration process, to ensure you take notice of the issue.
   2799 
   2800 You can download and install GNU coreutils to get an 'rm' implementation
   2801 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2802 
   2803 If you want to complete the configuration process using your problematic
   2804 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2805 to "yes", and re-run configure.
   2806 
   2807 END
   2808     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2809   fi
   2810 fi
   2811 
   2812 
   2813 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 
   2825 DEPDIR="${am__leading_dot}deps"
   2826 
   2827 ac_config_commands="$ac_config_commands depfiles"
   2828 
   2829 
   2830 am_make=${MAKE-make}
   2831 cat > confinc << 'END'
   2832 am__doit:
   2833 	@echo this is the am__doit target
   2834 .PHONY: am__doit
   2835 END
   2836 # If we don't find an include directive, just comment out the code.
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2838 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2839 am__include="#"
   2840 am__quote=
   2841 _am_result=none
   2842 # First try GNU make style include.
   2843 echo "include confinc" > confmf
   2844 # Ignore all kinds of additional output from 'make'.
   2845 case `$am_make -s -f confmf 2> /dev/null` in #(
   2846 *the\ am__doit\ target*)
   2847   am__include=include
   2848   am__quote=
   2849   _am_result=GNU
   2850   ;;
   2851 esac
   2852 # Now try BSD make style include.
   2853 if test "$am__include" = "#"; then
   2854    echo '.include "confinc"' > confmf
   2855    case `$am_make -s -f confmf 2> /dev/null` in #(
   2856    *the\ am__doit\ target*)
   2857      am__include=.include
   2858      am__quote="\""
   2859      _am_result=BSD
   2860      ;;
   2861    esac
   2862 fi
   2863 
   2864 
   2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2866 $as_echo "$_am_result" >&6; }
   2867 rm -f confinc confmf
   2868 
   2869 # Check whether --enable-dependency-tracking was given.
   2870 if test "${enable_dependency_tracking+set}" = set; then :
   2871   enableval=$enable_dependency_tracking;
   2872 fi
   2873 
   2874 if test "x$enable_dependency_tracking" != xno; then
   2875   am_depcomp="$ac_aux_dir/depcomp"
   2876   AMDEPBACKSLASH='\'
   2877   am__nodep='_no'
   2878 fi
   2879  if test "x$enable_dependency_tracking" != xno; then
   2880   AMDEP_TRUE=
   2881   AMDEP_FALSE='#'
   2882 else
   2883   AMDEP_TRUE='#'
   2884   AMDEP_FALSE=
   2885 fi
   2886 
   2887 
   2888 ac_ext=c
   2889 ac_cpp='$CPP $CPPFLAGS'
   2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2893 if test -n "$ac_tool_prefix"; then
   2894   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2895 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 $as_echo_n "checking for $ac_word... " >&6; }
   2898 if ${ac_cv_prog_CC+:} false; then :
   2899   $as_echo_n "(cached) " >&6
   2900 else
   2901   if test -n "$CC"; then
   2902   ac_cv_prog_CC="$CC" # Let the user override the test.
   2903 else
   2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 for as_dir in $PATH
   2906 do
   2907   IFS=$as_save_IFS
   2908   test -z "$as_dir" && as_dir=.
   2909     for ac_exec_ext in '' $ac_executable_extensions; do
   2910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2911     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2913     break 2
   2914   fi
   2915 done
   2916   done
   2917 IFS=$as_save_IFS
   2918 
   2919 fi
   2920 fi
   2921 CC=$ac_cv_prog_CC
   2922 if test -n "$CC"; then
   2923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2924 $as_echo "$CC" >&6; }
   2925 else
   2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2927 $as_echo "no" >&6; }
   2928 fi
   2929 
   2930 
   2931 fi
   2932 if test -z "$ac_cv_prog_CC"; then
   2933   ac_ct_CC=$CC
   2934   # Extract the first word of "gcc", so it can be a program name with args.
   2935 set dummy gcc; ac_word=$2
   2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2937 $as_echo_n "checking for $ac_word... " >&6; }
   2938 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2939   $as_echo_n "(cached) " >&6
   2940 else
   2941   if test -n "$ac_ct_CC"; then
   2942   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2943 else
   2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2945 for as_dir in $PATH
   2946 do
   2947   IFS=$as_save_IFS
   2948   test -z "$as_dir" && as_dir=.
   2949     for ac_exec_ext in '' $ac_executable_extensions; do
   2950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2951     ac_cv_prog_ac_ct_CC="gcc"
   2952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2953     break 2
   2954   fi
   2955 done
   2956   done
   2957 IFS=$as_save_IFS
   2958 
   2959 fi
   2960 fi
   2961 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2962 if test -n "$ac_ct_CC"; then
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2964 $as_echo "$ac_ct_CC" >&6; }
   2965 else
   2966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2967 $as_echo "no" >&6; }
   2968 fi
   2969 
   2970   if test "x$ac_ct_CC" = x; then
   2971     CC=""
   2972   else
   2973     case $cross_compiling:$ac_tool_warned in
   2974 yes:)
   2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2977 ac_tool_warned=yes ;;
   2978 esac
   2979     CC=$ac_ct_CC
   2980   fi
   2981 else
   2982   CC="$ac_cv_prog_CC"
   2983 fi
   2984 
   2985 if test -z "$CC"; then
   2986           if test -n "$ac_tool_prefix"; then
   2987     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2988 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2990 $as_echo_n "checking for $ac_word... " >&6; }
   2991 if ${ac_cv_prog_CC+:} false; then :
   2992   $as_echo_n "(cached) " >&6
   2993 else
   2994   if test -n "$CC"; then
   2995   ac_cv_prog_CC="$CC" # Let the user override the test.
   2996 else
   2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2998 for as_dir in $PATH
   2999 do
   3000   IFS=$as_save_IFS
   3001   test -z "$as_dir" && as_dir=.
   3002     for ac_exec_ext in '' $ac_executable_extensions; do
   3003   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3004     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3006     break 2
   3007   fi
   3008 done
   3009   done
   3010 IFS=$as_save_IFS
   3011 
   3012 fi
   3013 fi
   3014 CC=$ac_cv_prog_CC
   3015 if test -n "$CC"; then
   3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3017 $as_echo "$CC" >&6; }
   3018 else
   3019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3020 $as_echo "no" >&6; }
   3021 fi
   3022 
   3023 
   3024   fi
   3025 fi
   3026 if test -z "$CC"; then
   3027   # Extract the first word of "cc", so it can be a program name with args.
   3028 set dummy cc; ac_word=$2
   3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3030 $as_echo_n "checking for $ac_word... " >&6; }
   3031 if ${ac_cv_prog_CC+:} false; then :
   3032   $as_echo_n "(cached) " >&6
   3033 else
   3034   if test -n "$CC"; then
   3035   ac_cv_prog_CC="$CC" # Let the user override the test.
   3036 else
   3037   ac_prog_rejected=no
   3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3039 for as_dir in $PATH
   3040 do
   3041   IFS=$as_save_IFS
   3042   test -z "$as_dir" && as_dir=.
   3043     for ac_exec_ext in '' $ac_executable_extensions; do
   3044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3045     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3046        ac_prog_rejected=yes
   3047        continue
   3048      fi
   3049     ac_cv_prog_CC="cc"
   3050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3051     break 2
   3052   fi
   3053 done
   3054   done
   3055 IFS=$as_save_IFS
   3056 
   3057 if test $ac_prog_rejected = yes; then
   3058   # We found a bogon in the path, so make sure we never use it.
   3059   set dummy $ac_cv_prog_CC
   3060   shift
   3061   if test $# != 0; then
   3062     # We chose a different compiler from the bogus one.
   3063     # However, it has the same basename, so the bogon will be chosen
   3064     # first if we set CC to just the basename; use the full file name.
   3065     shift
   3066     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3067   fi
   3068 fi
   3069 fi
   3070 fi
   3071 CC=$ac_cv_prog_CC
   3072 if test -n "$CC"; then
   3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3074 $as_echo "$CC" >&6; }
   3075 else
   3076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3077 $as_echo "no" >&6; }
   3078 fi
   3079 
   3080 
   3081 fi
   3082 if test -z "$CC"; then
   3083   if test -n "$ac_tool_prefix"; then
   3084   for ac_prog in cl.exe
   3085   do
   3086     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3087 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3089 $as_echo_n "checking for $ac_word... " >&6; }
   3090 if ${ac_cv_prog_CC+:} false; then :
   3091   $as_echo_n "(cached) " >&6
   3092 else
   3093   if test -n "$CC"; then
   3094   ac_cv_prog_CC="$CC" # Let the user override the test.
   3095 else
   3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3097 for as_dir in $PATH
   3098 do
   3099   IFS=$as_save_IFS
   3100   test -z "$as_dir" && as_dir=.
   3101     for ac_exec_ext in '' $ac_executable_extensions; do
   3102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3103     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3105     break 2
   3106   fi
   3107 done
   3108   done
   3109 IFS=$as_save_IFS
   3110 
   3111 fi
   3112 fi
   3113 CC=$ac_cv_prog_CC
   3114 if test -n "$CC"; then
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3116 $as_echo "$CC" >&6; }
   3117 else
   3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3119 $as_echo "no" >&6; }
   3120 fi
   3121 
   3122 
   3123     test -n "$CC" && break
   3124   done
   3125 fi
   3126 if test -z "$CC"; then
   3127   ac_ct_CC=$CC
   3128   for ac_prog in cl.exe
   3129 do
   3130   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3131 set dummy $ac_prog; ac_word=$2
   3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3133 $as_echo_n "checking for $ac_word... " >&6; }
   3134 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3135   $as_echo_n "(cached) " >&6
   3136 else
   3137   if test -n "$ac_ct_CC"; then
   3138   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3139 else
   3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3141 for as_dir in $PATH
   3142 do
   3143   IFS=$as_save_IFS
   3144   test -z "$as_dir" && as_dir=.
   3145     for ac_exec_ext in '' $ac_executable_extensions; do
   3146   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3147     ac_cv_prog_ac_ct_CC="$ac_prog"
   3148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3149     break 2
   3150   fi
   3151 done
   3152   done
   3153 IFS=$as_save_IFS
   3154 
   3155 fi
   3156 fi
   3157 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3158 if test -n "$ac_ct_CC"; then
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3160 $as_echo "$ac_ct_CC" >&6; }
   3161 else
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3163 $as_echo "no" >&6; }
   3164 fi
   3165 
   3166 
   3167   test -n "$ac_ct_CC" && break
   3168 done
   3169 
   3170   if test "x$ac_ct_CC" = x; then
   3171     CC=""
   3172   else
   3173     case $cross_compiling:$ac_tool_warned in
   3174 yes:)
   3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3177 ac_tool_warned=yes ;;
   3178 esac
   3179     CC=$ac_ct_CC
   3180   fi
   3181 fi
   3182 
   3183 fi
   3184 
   3185 
   3186 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3188 as_fn_error $? "no acceptable C compiler found in \$PATH
   3189 See \`config.log' for more details" "$LINENO" 5; }
   3190 
   3191 # Provide some information about the compiler.
   3192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3193 set X $ac_compile
   3194 ac_compiler=$2
   3195 for ac_option in --version -v -V -qversion; do
   3196   { { ac_try="$ac_compiler $ac_option >&5"
   3197 case "(($ac_try" in
   3198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3199   *) ac_try_echo=$ac_try;;
   3200 esac
   3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3202 $as_echo "$ac_try_echo"; } >&5
   3203   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3204   ac_status=$?
   3205   if test -s conftest.err; then
   3206     sed '10a\
   3207 ... rest of stderr output deleted ...
   3208          10q' conftest.err >conftest.er1
   3209     cat conftest.er1 >&5
   3210   fi
   3211   rm -f conftest.er1 conftest.err
   3212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3213   test $ac_status = 0; }
   3214 done
   3215 
   3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3217 /* end confdefs.h.  */
   3218 
   3219 int
   3220 main ()
   3221 {
   3222 
   3223   ;
   3224   return 0;
   3225 }
   3226 _ACEOF
   3227 ac_clean_files_save=$ac_clean_files
   3228 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3229 # Try to create an executable without -o first, disregard a.out.
   3230 # It will help us diagnose broken compilers, and finding out an intuition
   3231 # of exeext.
   3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3233 $as_echo_n "checking whether the C compiler works... " >&6; }
   3234 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3235 
   3236 # The possible output files:
   3237 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3238 
   3239 ac_rmfiles=
   3240 for ac_file in $ac_files
   3241 do
   3242   case $ac_file in
   3243     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3244     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3245   esac
   3246 done
   3247 rm -f $ac_rmfiles
   3248 
   3249 if { { ac_try="$ac_link_default"
   3250 case "(($ac_try" in
   3251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3252   *) ac_try_echo=$ac_try;;
   3253 esac
   3254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3255 $as_echo "$ac_try_echo"; } >&5
   3256   (eval "$ac_link_default") 2>&5
   3257   ac_status=$?
   3258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3259   test $ac_status = 0; }; then :
   3260   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3261 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3262 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3263 # so that the user can short-circuit this test for compilers unknown to
   3264 # Autoconf.
   3265 for ac_file in $ac_files ''
   3266 do
   3267   test -f "$ac_file" || continue
   3268   case $ac_file in
   3269     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3270 	;;
   3271     [ab].out )
   3272 	# We found the default executable, but exeext='' is most
   3273 	# certainly right.
   3274 	break;;
   3275     *.* )
   3276 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3277 	then :; else
   3278 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3279 	fi
   3280 	# We set ac_cv_exeext here because the later test for it is not
   3281 	# safe: cross compilers may not add the suffix if given an `-o'
   3282 	# argument, so we may need to know it at that point already.
   3283 	# Even if this section looks crufty: it has the advantage of
   3284 	# actually working.
   3285 	break;;
   3286     * )
   3287 	break;;
   3288   esac
   3289 done
   3290 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3291 
   3292 else
   3293   ac_file=''
   3294 fi
   3295 if test -z "$ac_file"; then :
   3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3297 $as_echo "no" >&6; }
   3298 $as_echo "$as_me: failed program was:" >&5
   3299 sed 's/^/| /' conftest.$ac_ext >&5
   3300 
   3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3303 as_fn_error 77 "C compiler cannot create executables
   3304 See \`config.log' for more details" "$LINENO" 5; }
   3305 else
   3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3307 $as_echo "yes" >&6; }
   3308 fi
   3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3310 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3312 $as_echo "$ac_file" >&6; }
   3313 ac_exeext=$ac_cv_exeext
   3314 
   3315 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3316 ac_clean_files=$ac_clean_files_save
   3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3318 $as_echo_n "checking for suffix of executables... " >&6; }
   3319 if { { ac_try="$ac_link"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3325 $as_echo "$ac_try_echo"; } >&5
   3326   (eval "$ac_link") 2>&5
   3327   ac_status=$?
   3328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3329   test $ac_status = 0; }; then :
   3330   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3331 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3332 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3333 # `rm'.
   3334 for ac_file in conftest.exe conftest conftest.*; do
   3335   test -f "$ac_file" || continue
   3336   case $ac_file in
   3337     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3338     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3339 	  break;;
   3340     * ) break;;
   3341   esac
   3342 done
   3343 else
   3344   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3346 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3347 See \`config.log' for more details" "$LINENO" 5; }
   3348 fi
   3349 rm -f conftest conftest$ac_cv_exeext
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3351 $as_echo "$ac_cv_exeext" >&6; }
   3352 
   3353 rm -f conftest.$ac_ext
   3354 EXEEXT=$ac_cv_exeext
   3355 ac_exeext=$EXEEXT
   3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3357 /* end confdefs.h.  */
   3358 #include <stdio.h>
   3359 int
   3360 main ()
   3361 {
   3362 FILE *f = fopen ("conftest.out", "w");
   3363  return ferror (f) || fclose (f) != 0;
   3364 
   3365   ;
   3366   return 0;
   3367 }
   3368 _ACEOF
   3369 ac_clean_files="$ac_clean_files conftest.out"
   3370 # Check that the compiler produces executables we can run.  If not, either
   3371 # the compiler is broken, or we cross compile.
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3373 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3374 if test "$cross_compiling" != yes; then
   3375   { { ac_try="$ac_link"
   3376 case "(($ac_try" in
   3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3378   *) ac_try_echo=$ac_try;;
   3379 esac
   3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3381 $as_echo "$ac_try_echo"; } >&5
   3382   (eval "$ac_link") 2>&5
   3383   ac_status=$?
   3384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3385   test $ac_status = 0; }
   3386   if { ac_try='./conftest$ac_cv_exeext'
   3387   { { case "(($ac_try" in
   3388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3389   *) ac_try_echo=$ac_try;;
   3390 esac
   3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3392 $as_echo "$ac_try_echo"; } >&5
   3393   (eval "$ac_try") 2>&5
   3394   ac_status=$?
   3395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3396   test $ac_status = 0; }; }; then
   3397     cross_compiling=no
   3398   else
   3399     if test "$cross_compiling" = maybe; then
   3400 	cross_compiling=yes
   3401     else
   3402 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3404 as_fn_error $? "cannot run C compiled programs.
   3405 If you meant to cross compile, use \`--host'.
   3406 See \`config.log' for more details" "$LINENO" 5; }
   3407     fi
   3408   fi
   3409 fi
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3411 $as_echo "$cross_compiling" >&6; }
   3412 
   3413 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3414 ac_clean_files=$ac_clean_files_save
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3416 $as_echo_n "checking for suffix of object files... " >&6; }
   3417 if ${ac_cv_objext+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3421 /* end confdefs.h.  */
   3422 
   3423 int
   3424 main ()
   3425 {
   3426 
   3427   ;
   3428   return 0;
   3429 }
   3430 _ACEOF
   3431 rm -f conftest.o conftest.obj
   3432 if { { ac_try="$ac_compile"
   3433 case "(($ac_try" in
   3434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3435   *) ac_try_echo=$ac_try;;
   3436 esac
   3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3438 $as_echo "$ac_try_echo"; } >&5
   3439   (eval "$ac_compile") 2>&5
   3440   ac_status=$?
   3441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3442   test $ac_status = 0; }; then :
   3443   for ac_file in conftest.o conftest.obj conftest.*; do
   3444   test -f "$ac_file" || continue;
   3445   case $ac_file in
   3446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3447     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3448        break;;
   3449   esac
   3450 done
   3451 else
   3452   $as_echo "$as_me: failed program was:" >&5
   3453 sed 's/^/| /' conftest.$ac_ext >&5
   3454 
   3455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3457 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3458 See \`config.log' for more details" "$LINENO" 5; }
   3459 fi
   3460 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3461 fi
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3463 $as_echo "$ac_cv_objext" >&6; }
   3464 OBJEXT=$ac_cv_objext
   3465 ac_objext=$OBJEXT
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3467 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3468 if ${ac_cv_c_compiler_gnu+:} false; then :
   3469   $as_echo_n "(cached) " >&6
   3470 else
   3471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3472 /* end confdefs.h.  */
   3473 
   3474 int
   3475 main ()
   3476 {
   3477 #ifndef __GNUC__
   3478        choke me
   3479 #endif
   3480 
   3481   ;
   3482   return 0;
   3483 }
   3484 _ACEOF
   3485 if ac_fn_c_try_compile "$LINENO"; then :
   3486   ac_compiler_gnu=yes
   3487 else
   3488   ac_compiler_gnu=no
   3489 fi
   3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3491 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3492 
   3493 fi
   3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3495 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3496 if test $ac_compiler_gnu = yes; then
   3497   GCC=yes
   3498 else
   3499   GCC=
   3500 fi
   3501 ac_test_CFLAGS=${CFLAGS+set}
   3502 ac_save_CFLAGS=$CFLAGS
   3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3504 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3505 if ${ac_cv_prog_cc_g+:} false; then :
   3506   $as_echo_n "(cached) " >&6
   3507 else
   3508   ac_save_c_werror_flag=$ac_c_werror_flag
   3509    ac_c_werror_flag=yes
   3510    ac_cv_prog_cc_g=no
   3511    CFLAGS="-g"
   3512    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3513 /* end confdefs.h.  */
   3514 
   3515 int
   3516 main ()
   3517 {
   3518 
   3519   ;
   3520   return 0;
   3521 }
   3522 _ACEOF
   3523 if ac_fn_c_try_compile "$LINENO"; then :
   3524   ac_cv_prog_cc_g=yes
   3525 else
   3526   CFLAGS=""
   3527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3528 /* end confdefs.h.  */
   3529 
   3530 int
   3531 main ()
   3532 {
   3533 
   3534   ;
   3535   return 0;
   3536 }
   3537 _ACEOF
   3538 if ac_fn_c_try_compile "$LINENO"; then :
   3539 
   3540 else
   3541   ac_c_werror_flag=$ac_save_c_werror_flag
   3542 	 CFLAGS="-g"
   3543 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3544 /* end confdefs.h.  */
   3545 
   3546 int
   3547 main ()
   3548 {
   3549 
   3550   ;
   3551   return 0;
   3552 }
   3553 _ACEOF
   3554 if ac_fn_c_try_compile "$LINENO"; then :
   3555   ac_cv_prog_cc_g=yes
   3556 fi
   3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3558 fi
   3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3560 fi
   3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3562    ac_c_werror_flag=$ac_save_c_werror_flag
   3563 fi
   3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3565 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3566 if test "$ac_test_CFLAGS" = set; then
   3567   CFLAGS=$ac_save_CFLAGS
   3568 elif test $ac_cv_prog_cc_g = yes; then
   3569   if test "$GCC" = yes; then
   3570     CFLAGS="-g -O2"
   3571   else
   3572     CFLAGS="-g"
   3573   fi
   3574 else
   3575   if test "$GCC" = yes; then
   3576     CFLAGS="-O2"
   3577   else
   3578     CFLAGS=
   3579   fi
   3580 fi
   3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3582 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3583 if ${ac_cv_prog_cc_c89+:} false; then :
   3584   $as_echo_n "(cached) " >&6
   3585 else
   3586   ac_cv_prog_cc_c89=no
   3587 ac_save_CC=$CC
   3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3589 /* end confdefs.h.  */
   3590 #include <stdarg.h>
   3591 #include <stdio.h>
   3592 struct stat;
   3593 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3594 struct buf { int x; };
   3595 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3596 static char *e (p, i)
   3597      char **p;
   3598      int i;
   3599 {
   3600   return p[i];
   3601 }
   3602 static char *f (char * (*g) (char **, int), char **p, ...)
   3603 {
   3604   char *s;
   3605   va_list v;
   3606   va_start (v,p);
   3607   s = g (p, va_arg (v,int));
   3608   va_end (v);
   3609   return s;
   3610 }
   3611 
   3612 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3613    function prototypes and stuff, but not '\xHH' hex character constants.
   3614    These don't provoke an error unfortunately, instead are silently treated
   3615    as 'x'.  The following induces an error, until -std is added to get
   3616    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3617    array size at least.  It's necessary to write '\x00'==0 to get something
   3618    that's true only with -std.  */
   3619 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3620 
   3621 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3622    inside strings and character constants.  */
   3623 #define FOO(x) 'x'
   3624 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3625 
   3626 int test (int i, double x);
   3627 struct s1 {int (*f) (int a);};
   3628 struct s2 {int (*f) (double a);};
   3629 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3630 int argc;
   3631 char **argv;
   3632 int
   3633 main ()
   3634 {
   3635 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3636   ;
   3637   return 0;
   3638 }
   3639 _ACEOF
   3640 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3641 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3642 do
   3643   CC="$ac_save_CC $ac_arg"
   3644   if ac_fn_c_try_compile "$LINENO"; then :
   3645   ac_cv_prog_cc_c89=$ac_arg
   3646 fi
   3647 rm -f core conftest.err conftest.$ac_objext
   3648   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3649 done
   3650 rm -f conftest.$ac_ext
   3651 CC=$ac_save_CC
   3652 
   3653 fi
   3654 # AC_CACHE_VAL
   3655 case "x$ac_cv_prog_cc_c89" in
   3656   x)
   3657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3658 $as_echo "none needed" >&6; } ;;
   3659   xno)
   3660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3661 $as_echo "unsupported" >&6; } ;;
   3662   *)
   3663     CC="$CC $ac_cv_prog_cc_c89"
   3664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3665 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3666 esac
   3667 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3668 
   3669 fi
   3670 
   3671 ac_ext=c
   3672 ac_cpp='$CPP $CPPFLAGS'
   3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3676 
   3677 ac_ext=c
   3678 ac_cpp='$CPP $CPPFLAGS'
   3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3683 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3684 if ${am_cv_prog_cc_c_o+:} false; then :
   3685   $as_echo_n "(cached) " >&6
   3686 else
   3687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3688 /* end confdefs.h.  */
   3689 
   3690 int
   3691 main ()
   3692 {
   3693 
   3694   ;
   3695   return 0;
   3696 }
   3697 _ACEOF
   3698   # Make sure it works both with $CC and with simple cc.
   3699   # Following AC_PROG_CC_C_O, we do the test twice because some
   3700   # compilers refuse to overwrite an existing .o file with -o,
   3701   # though they will create one.
   3702   am_cv_prog_cc_c_o=yes
   3703   for am_i in 1 2; do
   3704     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3705    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3706    ac_status=$?
   3707    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3708    (exit $ac_status); } \
   3709          && test -f conftest2.$ac_objext; then
   3710       : OK
   3711     else
   3712       am_cv_prog_cc_c_o=no
   3713       break
   3714     fi
   3715   done
   3716   rm -f core conftest*
   3717   unset am_i
   3718 fi
   3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3720 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3721 if test "$am_cv_prog_cc_c_o" != yes; then
   3722    # Losing compiler, so override with the script.
   3723    # FIXME: It is wrong to rewrite CC.
   3724    # But if we don't then we get into trouble of one sort or another.
   3725    # A longer-term fix would be to have automake use am__CC in this case,
   3726    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3727    CC="$am_aux_dir/compile $CC"
   3728 fi
   3729 ac_ext=c
   3730 ac_cpp='$CPP $CPPFLAGS'
   3731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3734 
   3735 
   3736 depcc="$CC"   am_compiler_list=
   3737 
   3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3739 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3740 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3741   $as_echo_n "(cached) " >&6
   3742 else
   3743   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3744   # We make a subdir and do the tests there.  Otherwise we can end up
   3745   # making bogus files that we don't know about and never remove.  For
   3746   # instance it was reported that on HP-UX the gcc test will end up
   3747   # making a dummy file named 'D' -- because '-MD' means "put the output
   3748   # in D".
   3749   rm -rf conftest.dir
   3750   mkdir conftest.dir
   3751   # Copy depcomp to subdir because otherwise we won't find it if we're
   3752   # using a relative directory.
   3753   cp "$am_depcomp" conftest.dir
   3754   cd conftest.dir
   3755   # We will build objects and dependencies in a subdirectory because
   3756   # it helps to detect inapplicable dependency modes.  For instance
   3757   # both Tru64's cc and ICC support -MD to output dependencies as a
   3758   # side effect of compilation, but ICC will put the dependencies in
   3759   # the current directory while Tru64 will put them in the object
   3760   # directory.
   3761   mkdir sub
   3762 
   3763   am_cv_CC_dependencies_compiler_type=none
   3764   if test "$am_compiler_list" = ""; then
   3765      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3766   fi
   3767   am__universal=false
   3768   case " $depcc " in #(
   3769      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3770      esac
   3771 
   3772   for depmode in $am_compiler_list; do
   3773     # Setup a source with many dependencies, because some compilers
   3774     # like to wrap large dependency lists on column 80 (with \), and
   3775     # we should not choose a depcomp mode which is confused by this.
   3776     #
   3777     # We need to recreate these files for each test, as the compiler may
   3778     # overwrite some of them when testing with obscure command lines.
   3779     # This happens at least with the AIX C compiler.
   3780     : > sub/conftest.c
   3781     for i in 1 2 3 4 5 6; do
   3782       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3783       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3784       # Solaris 10 /bin/sh.
   3785       echo '/* dummy */' > sub/conftst$i.h
   3786     done
   3787     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3788 
   3789     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3790     # mode.  It turns out that the SunPro C++ compiler does not properly
   3791     # handle '-M -o', and we need to detect this.  Also, some Intel
   3792     # versions had trouble with output in subdirs.
   3793     am__obj=sub/conftest.${OBJEXT-o}
   3794     am__minus_obj="-o $am__obj"
   3795     case $depmode in
   3796     gcc)
   3797       # This depmode causes a compiler race in universal mode.
   3798       test "$am__universal" = false || continue
   3799       ;;
   3800     nosideeffect)
   3801       # After this tag, mechanisms are not by side-effect, so they'll
   3802       # only be used when explicitly requested.
   3803       if test "x$enable_dependency_tracking" = xyes; then
   3804 	continue
   3805       else
   3806 	break
   3807       fi
   3808       ;;
   3809     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3810       # This compiler won't grok '-c -o', but also, the minuso test has
   3811       # not run yet.  These depmodes are late enough in the game, and
   3812       # so weak that their functioning should not be impacted.
   3813       am__obj=conftest.${OBJEXT-o}
   3814       am__minus_obj=
   3815       ;;
   3816     none) break ;;
   3817     esac
   3818     if depmode=$depmode \
   3819        source=sub/conftest.c object=$am__obj \
   3820        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3821        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3822          >/dev/null 2>conftest.err &&
   3823        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3824        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3825        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3826        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3827       # icc doesn't choke on unknown options, it will just issue warnings
   3828       # or remarks (even with -Werror).  So we grep stderr for any message
   3829       # that says an option was ignored or not supported.
   3830       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3831       #   icc: Command line warning: ignoring option '-M'; no argument required
   3832       # The diagnosis changed in icc 8.0:
   3833       #   icc: Command line remark: option '-MP' not supported
   3834       if (grep 'ignoring option' conftest.err ||
   3835           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3836         am_cv_CC_dependencies_compiler_type=$depmode
   3837         break
   3838       fi
   3839     fi
   3840   done
   3841 
   3842   cd ..
   3843   rm -rf conftest.dir
   3844 else
   3845   am_cv_CC_dependencies_compiler_type=none
   3846 fi
   3847 
   3848 fi
   3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3850 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3851 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3852 
   3853  if
   3854   test "x$enable_dependency_tracking" != xno \
   3855   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3856   am__fastdepCC_TRUE=
   3857   am__fastdepCC_FALSE='#'
   3858 else
   3859   am__fastdepCC_TRUE='#'
   3860   am__fastdepCC_FALSE=
   3861 fi
   3862 
   3863 
   3864    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3865 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3866 if ${ac_cv_prog_cc_c99+:} false; then :
   3867   $as_echo_n "(cached) " >&6
   3868 else
   3869   ac_cv_prog_cc_c99=no
   3870 ac_save_CC=$CC
   3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3872 /* end confdefs.h.  */
   3873 #include <stdarg.h>
   3874 #include <stdbool.h>
   3875 #include <stdlib.h>
   3876 #include <wchar.h>
   3877 #include <stdio.h>
   3878 
   3879 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3880 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3881 #define showlist(...) puts (#__VA_ARGS__)
   3882 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3883 static void
   3884 test_varargs_macros (void)
   3885 {
   3886   int x = 1234;
   3887   int y = 5678;
   3888   debug ("Flag");
   3889   debug ("X = %d\n", x);
   3890   showlist (The first, second, and third items.);
   3891   report (x>y, "x is %d but y is %d", x, y);
   3892 }
   3893 
   3894 // Check long long types.
   3895 #define BIG64 18446744073709551615ull
   3896 #define BIG32 4294967295ul
   3897 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3898 #if !BIG_OK
   3899   your preprocessor is broken;
   3900 #endif
   3901 #if BIG_OK
   3902 #else
   3903   your preprocessor is broken;
   3904 #endif
   3905 static long long int bignum = -9223372036854775807LL;
   3906 static unsigned long long int ubignum = BIG64;
   3907 
   3908 struct incomplete_array
   3909 {
   3910   int datasize;
   3911   double data[];
   3912 };
   3913 
   3914 struct named_init {
   3915   int number;
   3916   const wchar_t *name;
   3917   double average;
   3918 };
   3919 
   3920 typedef const char *ccp;
   3921 
   3922 static inline int
   3923 test_restrict (ccp restrict text)
   3924 {
   3925   // See if C++-style comments work.
   3926   // Iterate through items via the restricted pointer.
   3927   // Also check for declarations in for loops.
   3928   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3929     continue;
   3930   return 0;
   3931 }
   3932 
   3933 // Check varargs and va_copy.
   3934 static void
   3935 test_varargs (const char *format, ...)
   3936 {
   3937   va_list args;
   3938   va_start (args, format);
   3939   va_list args_copy;
   3940   va_copy (args_copy, args);
   3941 
   3942   const char *str;
   3943   int number;
   3944   float fnumber;
   3945 
   3946   while (*format)
   3947     {
   3948       switch (*format++)
   3949 	{
   3950 	case 's': // string
   3951 	  str = va_arg (args_copy, const char *);
   3952 	  break;
   3953 	case 'd': // int
   3954 	  number = va_arg (args_copy, int);
   3955 	  break;
   3956 	case 'f': // float
   3957 	  fnumber = va_arg (args_copy, double);
   3958 	  break;
   3959 	default:
   3960 	  break;
   3961 	}
   3962     }
   3963   va_end (args_copy);
   3964   va_end (args);
   3965 }
   3966 
   3967 int
   3968 main ()
   3969 {
   3970 
   3971   // Check bool.
   3972   _Bool success = false;
   3973 
   3974   // Check restrict.
   3975   if (test_restrict ("String literal") == 0)
   3976     success = true;
   3977   char *restrict newvar = "Another string";
   3978 
   3979   // Check varargs.
   3980   test_varargs ("s, d' f .", "string", 65, 34.234);
   3981   test_varargs_macros ();
   3982 
   3983   // Check flexible array members.
   3984   struct incomplete_array *ia =
   3985     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3986   ia->datasize = 10;
   3987   for (int i = 0; i < ia->datasize; ++i)
   3988     ia->data[i] = i * 1.234;
   3989 
   3990   // Check named initializers.
   3991   struct named_init ni = {
   3992     .number = 34,
   3993     .name = L"Test wide string",
   3994     .average = 543.34343,
   3995   };
   3996 
   3997   ni.number = 58;
   3998 
   3999   int dynamic_array[ni.number];
   4000   dynamic_array[ni.number - 1] = 543;
   4001 
   4002   // work around unused variable warnings
   4003   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4004 	  || dynamic_array[ni.number - 1] != 543);
   4005 
   4006   ;
   4007   return 0;
   4008 }
   4009 _ACEOF
   4010 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4011 do
   4012   CC="$ac_save_CC $ac_arg"
   4013   if ac_fn_c_try_compile "$LINENO"; then :
   4014   ac_cv_prog_cc_c99=$ac_arg
   4015 fi
   4016 rm -f core conftest.err conftest.$ac_objext
   4017   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4018 done
   4019 rm -f conftest.$ac_ext
   4020 CC=$ac_save_CC
   4021 
   4022 fi
   4023 # AC_CACHE_VAL
   4024 case "x$ac_cv_prog_cc_c99" in
   4025   x)
   4026     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4027 $as_echo "none needed" >&6; } ;;
   4028   xno)
   4029     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4030 $as_echo "unsupported" >&6; } ;;
   4031   *)
   4032     CC="$CC $ac_cv_prog_cc_c99"
   4033     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4034 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4035 esac
   4036 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4037 
   4038 fi
   4039 
   4040 
   4041 
   4042 ac_ext=c
   4043 ac_cpp='$CPP $CPPFLAGS'
   4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4048 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4049 # On Suns, sometimes $CPP names a directory.
   4050 if test -n "$CPP" && test -d "$CPP"; then
   4051   CPP=
   4052 fi
   4053 if test -z "$CPP"; then
   4054   if ${ac_cv_prog_CPP+:} false; then :
   4055   $as_echo_n "(cached) " >&6
   4056 else
   4057       # Double quotes because CPP needs to be expanded
   4058     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4059     do
   4060       ac_preproc_ok=false
   4061 for ac_c_preproc_warn_flag in '' yes
   4062 do
   4063   # Use a header file that comes with gcc, so configuring glibc
   4064   # with a fresh cross-compiler works.
   4065   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4066   # <limits.h> exists even on freestanding compilers.
   4067   # On the NeXT, cc -E runs the code through the compiler's parser,
   4068   # not just through cpp. "Syntax error" is here to catch this case.
   4069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4070 /* end confdefs.h.  */
   4071 #ifdef __STDC__
   4072 # include <limits.h>
   4073 #else
   4074 # include <assert.h>
   4075 #endif
   4076 		     Syntax error
   4077 _ACEOF
   4078 if ac_fn_c_try_cpp "$LINENO"; then :
   4079 
   4080 else
   4081   # Broken: fails on valid input.
   4082 continue
   4083 fi
   4084 rm -f conftest.err conftest.i conftest.$ac_ext
   4085 
   4086   # OK, works on sane cases.  Now check whether nonexistent headers
   4087   # can be detected and how.
   4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 #include <ac_nonexistent.h>
   4091 _ACEOF
   4092 if ac_fn_c_try_cpp "$LINENO"; then :
   4093   # Broken: success on invalid input.
   4094 continue
   4095 else
   4096   # Passes both tests.
   4097 ac_preproc_ok=:
   4098 break
   4099 fi
   4100 rm -f conftest.err conftest.i conftest.$ac_ext
   4101 
   4102 done
   4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4104 rm -f conftest.i conftest.err conftest.$ac_ext
   4105 if $ac_preproc_ok; then :
   4106   break
   4107 fi
   4108 
   4109     done
   4110     ac_cv_prog_CPP=$CPP
   4111 
   4112 fi
   4113   CPP=$ac_cv_prog_CPP
   4114 else
   4115   ac_cv_prog_CPP=$CPP
   4116 fi
   4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4118 $as_echo "$CPP" >&6; }
   4119 ac_preproc_ok=false
   4120 for ac_c_preproc_warn_flag in '' yes
   4121 do
   4122   # Use a header file that comes with gcc, so configuring glibc
   4123   # with a fresh cross-compiler works.
   4124   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4125   # <limits.h> exists even on freestanding compilers.
   4126   # On the NeXT, cc -E runs the code through the compiler's parser,
   4127   # not just through cpp. "Syntax error" is here to catch this case.
   4128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4129 /* end confdefs.h.  */
   4130 #ifdef __STDC__
   4131 # include <limits.h>
   4132 #else
   4133 # include <assert.h>
   4134 #endif
   4135 		     Syntax error
   4136 _ACEOF
   4137 if ac_fn_c_try_cpp "$LINENO"; then :
   4138 
   4139 else
   4140   # Broken: fails on valid input.
   4141 continue
   4142 fi
   4143 rm -f conftest.err conftest.i conftest.$ac_ext
   4144 
   4145   # OK, works on sane cases.  Now check whether nonexistent headers
   4146   # can be detected and how.
   4147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4148 /* end confdefs.h.  */
   4149 #include <ac_nonexistent.h>
   4150 _ACEOF
   4151 if ac_fn_c_try_cpp "$LINENO"; then :
   4152   # Broken: success on invalid input.
   4153 continue
   4154 else
   4155   # Passes both tests.
   4156 ac_preproc_ok=:
   4157 break
   4158 fi
   4159 rm -f conftest.err conftest.i conftest.$ac_ext
   4160 
   4161 done
   4162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4163 rm -f conftest.i conftest.err conftest.$ac_ext
   4164 if $ac_preproc_ok; then :
   4165 
   4166 else
   4167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4169 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4170 See \`config.log' for more details" "$LINENO" 5; }
   4171 fi
   4172 
   4173 ac_ext=c
   4174 ac_cpp='$CPP $CPPFLAGS'
   4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4178 
   4179 
   4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4181 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4182 if ${ac_cv_path_GREP+:} false; then :
   4183   $as_echo_n "(cached) " >&6
   4184 else
   4185   if test -z "$GREP"; then
   4186   ac_path_GREP_found=false
   4187   # Loop through the user's path and test for each of PROGNAME-LIST
   4188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4189 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4190 do
   4191   IFS=$as_save_IFS
   4192   test -z "$as_dir" && as_dir=.
   4193     for ac_prog in grep ggrep; do
   4194     for ac_exec_ext in '' $ac_executable_extensions; do
   4195       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4196       as_fn_executable_p "$ac_path_GREP" || continue
   4197 # Check for GNU ac_path_GREP and select it if it is found.
   4198   # Check for GNU $ac_path_GREP
   4199 case `"$ac_path_GREP" --version 2>&1` in
   4200 *GNU*)
   4201   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4202 *)
   4203   ac_count=0
   4204   $as_echo_n 0123456789 >"conftest.in"
   4205   while :
   4206   do
   4207     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4208     mv "conftest.tmp" "conftest.in"
   4209     cp "conftest.in" "conftest.nl"
   4210     $as_echo 'GREP' >> "conftest.nl"
   4211     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4212     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4213     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4214     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4215       # Best one so far, save it but keep looking for a better one
   4216       ac_cv_path_GREP="$ac_path_GREP"
   4217       ac_path_GREP_max=$ac_count
   4218     fi
   4219     # 10*(2^10) chars as input seems more than enough
   4220     test $ac_count -gt 10 && break
   4221   done
   4222   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4223 esac
   4224 
   4225       $ac_path_GREP_found && break 3
   4226     done
   4227   done
   4228   done
   4229 IFS=$as_save_IFS
   4230   if test -z "$ac_cv_path_GREP"; then
   4231     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4232   fi
   4233 else
   4234   ac_cv_path_GREP=$GREP
   4235 fi
   4236 
   4237 fi
   4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4239 $as_echo "$ac_cv_path_GREP" >&6; }
   4240  GREP="$ac_cv_path_GREP"
   4241 
   4242 
   4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4244 $as_echo_n "checking for egrep... " >&6; }
   4245 if ${ac_cv_path_EGREP+:} false; then :
   4246   $as_echo_n "(cached) " >&6
   4247 else
   4248   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4249    then ac_cv_path_EGREP="$GREP -E"
   4250    else
   4251      if test -z "$EGREP"; then
   4252   ac_path_EGREP_found=false
   4253   # Loop through the user's path and test for each of PROGNAME-LIST
   4254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4256 do
   4257   IFS=$as_save_IFS
   4258   test -z "$as_dir" && as_dir=.
   4259     for ac_prog in egrep; do
   4260     for ac_exec_ext in '' $ac_executable_extensions; do
   4261       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4262       as_fn_executable_p "$ac_path_EGREP" || continue
   4263 # Check for GNU ac_path_EGREP and select it if it is found.
   4264   # Check for GNU $ac_path_EGREP
   4265 case `"$ac_path_EGREP" --version 2>&1` in
   4266 *GNU*)
   4267   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4268 *)
   4269   ac_count=0
   4270   $as_echo_n 0123456789 >"conftest.in"
   4271   while :
   4272   do
   4273     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4274     mv "conftest.tmp" "conftest.in"
   4275     cp "conftest.in" "conftest.nl"
   4276     $as_echo 'EGREP' >> "conftest.nl"
   4277     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4278     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4279     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4280     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4281       # Best one so far, save it but keep looking for a better one
   4282       ac_cv_path_EGREP="$ac_path_EGREP"
   4283       ac_path_EGREP_max=$ac_count
   4284     fi
   4285     # 10*(2^10) chars as input seems more than enough
   4286     test $ac_count -gt 10 && break
   4287   done
   4288   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4289 esac
   4290 
   4291       $ac_path_EGREP_found && break 3
   4292     done
   4293   done
   4294   done
   4295 IFS=$as_save_IFS
   4296   if test -z "$ac_cv_path_EGREP"; then
   4297     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4298   fi
   4299 else
   4300   ac_cv_path_EGREP=$EGREP
   4301 fi
   4302 
   4303    fi
   4304 fi
   4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4306 $as_echo "$ac_cv_path_EGREP" >&6; }
   4307  EGREP="$ac_cv_path_EGREP"
   4308 
   4309 
   4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4311 $as_echo_n "checking for ANSI C header files... " >&6; }
   4312 if ${ac_cv_header_stdc+:} false; then :
   4313   $as_echo_n "(cached) " >&6
   4314 else
   4315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4316 /* end confdefs.h.  */
   4317 #include <stdlib.h>
   4318 #include <stdarg.h>
   4319 #include <string.h>
   4320 #include <float.h>
   4321 
   4322 int
   4323 main ()
   4324 {
   4325 
   4326   ;
   4327   return 0;
   4328 }
   4329 _ACEOF
   4330 if ac_fn_c_try_compile "$LINENO"; then :
   4331   ac_cv_header_stdc=yes
   4332 else
   4333   ac_cv_header_stdc=no
   4334 fi
   4335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4336 
   4337 if test $ac_cv_header_stdc = yes; then
   4338   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4340 /* end confdefs.h.  */
   4341 #include <string.h>
   4342 
   4343 _ACEOF
   4344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4345   $EGREP "memchr" >/dev/null 2>&1; then :
   4346 
   4347 else
   4348   ac_cv_header_stdc=no
   4349 fi
   4350 rm -f conftest*
   4351 
   4352 fi
   4353 
   4354 if test $ac_cv_header_stdc = yes; then
   4355   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4357 /* end confdefs.h.  */
   4358 #include <stdlib.h>
   4359 
   4360 _ACEOF
   4361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4362   $EGREP "free" >/dev/null 2>&1; then :
   4363 
   4364 else
   4365   ac_cv_header_stdc=no
   4366 fi
   4367 rm -f conftest*
   4368 
   4369 fi
   4370 
   4371 if test $ac_cv_header_stdc = yes; then
   4372   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4373   if test "$cross_compiling" = yes; then :
   4374   :
   4375 else
   4376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4377 /* end confdefs.h.  */
   4378 #include <ctype.h>
   4379 #include <stdlib.h>
   4380 #if ((' ' & 0x0FF) == 0x020)
   4381 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4382 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4383 #else
   4384 # define ISLOWER(c) \
   4385 		   (('a' <= (c) && (c) <= 'i') \
   4386 		     || ('j' <= (c) && (c) <= 'r') \
   4387 		     || ('s' <= (c) && (c) <= 'z'))
   4388 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4389 #endif
   4390 
   4391 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4392 int
   4393 main ()
   4394 {
   4395   int i;
   4396   for (i = 0; i < 256; i++)
   4397     if (XOR (islower (i), ISLOWER (i))
   4398 	|| toupper (i) != TOUPPER (i))
   4399       return 2;
   4400   return 0;
   4401 }
   4402 _ACEOF
   4403 if ac_fn_c_try_run "$LINENO"; then :
   4404 
   4405 else
   4406   ac_cv_header_stdc=no
   4407 fi
   4408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4409   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4410 fi
   4411 
   4412 fi
   4413 fi
   4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4415 $as_echo "$ac_cv_header_stdc" >&6; }
   4416 if test $ac_cv_header_stdc = yes; then
   4417 
   4418 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4419 
   4420 fi
   4421 
   4422 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4423 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4424 		  inttypes.h stdint.h unistd.h
   4425 do :
   4426   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4427 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4428 "
   4429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4430   cat >>confdefs.h <<_ACEOF
   4431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4432 _ACEOF
   4433 
   4434 fi
   4435 
   4436 done
   4437 
   4438 
   4439 
   4440 
   4441 
   4442 
   4443 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4444 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4445   CLANGCC="yes"
   4446 else
   4447   CLANGCC="no"
   4448 fi
   4449 
   4450 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4451 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4452   INTELCC="yes"
   4453 else
   4454   INTELCC="no"
   4455 fi
   4456 
   4457 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4458 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4459   SUNCC="yes"
   4460 else
   4461   SUNCC="no"
   4462 fi
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4473 	if test -n "$ac_tool_prefix"; then
   4474   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4475 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4477 $as_echo_n "checking for $ac_word... " >&6; }
   4478 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4479   $as_echo_n "(cached) " >&6
   4480 else
   4481   case $PKG_CONFIG in
   4482   [\\/]* | ?:[\\/]*)
   4483   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4484   ;;
   4485   *)
   4486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4487 for as_dir in $PATH
   4488 do
   4489   IFS=$as_save_IFS
   4490   test -z "$as_dir" && as_dir=.
   4491     for ac_exec_ext in '' $ac_executable_extensions; do
   4492   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4493     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4495     break 2
   4496   fi
   4497 done
   4498   done
   4499 IFS=$as_save_IFS
   4500 
   4501   ;;
   4502 esac
   4503 fi
   4504 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4505 if test -n "$PKG_CONFIG"; then
   4506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4507 $as_echo "$PKG_CONFIG" >&6; }
   4508 else
   4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4510 $as_echo "no" >&6; }
   4511 fi
   4512 
   4513 
   4514 fi
   4515 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4516   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4517   # Extract the first word of "pkg-config", so it can be a program name with args.
   4518 set dummy pkg-config; ac_word=$2
   4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4520 $as_echo_n "checking for $ac_word... " >&6; }
   4521 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4522   $as_echo_n "(cached) " >&6
   4523 else
   4524   case $ac_pt_PKG_CONFIG in
   4525   [\\/]* | ?:[\\/]*)
   4526   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4527   ;;
   4528   *)
   4529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4530 for as_dir in $PATH
   4531 do
   4532   IFS=$as_save_IFS
   4533   test -z "$as_dir" && as_dir=.
   4534     for ac_exec_ext in '' $ac_executable_extensions; do
   4535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4536     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4538     break 2
   4539   fi
   4540 done
   4541   done
   4542 IFS=$as_save_IFS
   4543 
   4544   ;;
   4545 esac
   4546 fi
   4547 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4548 if test -n "$ac_pt_PKG_CONFIG"; then
   4549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4550 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4551 else
   4552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4553 $as_echo "no" >&6; }
   4554 fi
   4555 
   4556   if test "x$ac_pt_PKG_CONFIG" = x; then
   4557     PKG_CONFIG=""
   4558   else
   4559     case $cross_compiling:$ac_tool_warned in
   4560 yes:)
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4563 ac_tool_warned=yes ;;
   4564 esac
   4565     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4566   fi
   4567 else
   4568   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4569 fi
   4570 
   4571 fi
   4572 if test -n "$PKG_CONFIG"; then
   4573 	_pkg_min_version=0.9.0
   4574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4575 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4576 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4578 $as_echo "yes" >&6; }
   4579 	else
   4580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4581 $as_echo "no" >&6; }
   4582 		PKG_CONFIG=""
   4583 	fi
   4584 fi
   4585 # Make sure we can run config.sub.
   4586 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4587   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4588 
   4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4590 $as_echo_n "checking build system type... " >&6; }
   4591 if ${ac_cv_build+:} false; then :
   4592   $as_echo_n "(cached) " >&6
   4593 else
   4594   ac_build_alias=$build_alias
   4595 test "x$ac_build_alias" = x &&
   4596   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4597 test "x$ac_build_alias" = x &&
   4598   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4599 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4600   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4601 
   4602 fi
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4604 $as_echo "$ac_cv_build" >&6; }
   4605 case $ac_cv_build in
   4606 *-*-*) ;;
   4607 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4608 esac
   4609 build=$ac_cv_build
   4610 ac_save_IFS=$IFS; IFS='-'
   4611 set x $ac_cv_build
   4612 shift
   4613 build_cpu=$1
   4614 build_vendor=$2
   4615 shift; shift
   4616 # Remember, the first character of IFS is used to create $*,
   4617 # except with old shells:
   4618 build_os=$*
   4619 IFS=$ac_save_IFS
   4620 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4621 
   4622 
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4624 $as_echo_n "checking host system type... " >&6; }
   4625 if ${ac_cv_host+:} false; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   if test "x$host_alias" = x; then
   4629   ac_cv_host=$ac_cv_build
   4630 else
   4631   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4632     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4633 fi
   4634 
   4635 fi
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4637 $as_echo "$ac_cv_host" >&6; }
   4638 case $ac_cv_host in
   4639 *-*-*) ;;
   4640 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4641 esac
   4642 host=$ac_cv_host
   4643 ac_save_IFS=$IFS; IFS='-'
   4644 set x $ac_cv_host
   4645 shift
   4646 host_cpu=$1
   4647 host_vendor=$2
   4648 shift; shift
   4649 # Remember, the first character of IFS is used to create $*,
   4650 # except with old shells:
   4651 host_os=$*
   4652 IFS=$ac_save_IFS
   4653 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4654 
   4655 
   4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4657 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4658 if ${ac_cv_path_SED+:} false; then :
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4662      for ac_i in 1 2 3 4 5 6 7; do
   4663        ac_script="$ac_script$as_nl$ac_script"
   4664      done
   4665      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4666      { ac_script=; unset ac_script;}
   4667      if test -z "$SED"; then
   4668   ac_path_SED_found=false
   4669   # Loop through the user's path and test for each of PROGNAME-LIST
   4670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4671 for as_dir in $PATH
   4672 do
   4673   IFS=$as_save_IFS
   4674   test -z "$as_dir" && as_dir=.
   4675     for ac_prog in sed gsed; do
   4676     for ac_exec_ext in '' $ac_executable_extensions; do
   4677       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4678       as_fn_executable_p "$ac_path_SED" || continue
   4679 # Check for GNU ac_path_SED and select it if it is found.
   4680   # Check for GNU $ac_path_SED
   4681 case `"$ac_path_SED" --version 2>&1` in
   4682 *GNU*)
   4683   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4684 *)
   4685   ac_count=0
   4686   $as_echo_n 0123456789 >"conftest.in"
   4687   while :
   4688   do
   4689     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4690     mv "conftest.tmp" "conftest.in"
   4691     cp "conftest.in" "conftest.nl"
   4692     $as_echo '' >> "conftest.nl"
   4693     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4694     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4695     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4696     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4697       # Best one so far, save it but keep looking for a better one
   4698       ac_cv_path_SED="$ac_path_SED"
   4699       ac_path_SED_max=$ac_count
   4700     fi
   4701     # 10*(2^10) chars as input seems more than enough
   4702     test $ac_count -gt 10 && break
   4703   done
   4704   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4705 esac
   4706 
   4707       $ac_path_SED_found && break 3
   4708     done
   4709   done
   4710   done
   4711 IFS=$as_save_IFS
   4712   if test -z "$ac_cv_path_SED"; then
   4713     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4714   fi
   4715 else
   4716   ac_cv_path_SED=$SED
   4717 fi
   4718 
   4719 fi
   4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4721 $as_echo "$ac_cv_path_SED" >&6; }
   4722  SED="$ac_cv_path_SED"
   4723   rm -f conftest.sed
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 # Check whether --enable-selective-werror was given.
   4731 if test "${enable_selective_werror+set}" = set; then :
   4732   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4733 else
   4734   SELECTIVE_WERROR=yes
   4735 fi
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4742 if test "x$SUNCC" = "xyes"; then
   4743     BASE_CFLAGS="-v"
   4744 else
   4745     BASE_CFLAGS=""
   4746 fi
   4747 
   4748 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 xorg_testset_save_CFLAGS="$CFLAGS"
   4763 
   4764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4769   $as_echo_n "(cached) " >&6
   4770 else
   4771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4772 /* end confdefs.h.  */
   4773 int i;
   4774 _ACEOF
   4775 if ac_fn_c_try_compile "$LINENO"; then :
   4776   xorg_cv_cc_flag_unknown_warning_option=yes
   4777 else
   4778   xorg_cv_cc_flag_unknown_warning_option=no
   4779 fi
   4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4781 fi
   4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4785 	CFLAGS="$xorg_testset_save_CFLAGS"
   4786 fi
   4787 
   4788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4791 	fi
   4792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4796   $as_echo_n "(cached) " >&6
   4797 else
   4798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4799 /* end confdefs.h.  */
   4800 int i;
   4801 _ACEOF
   4802 if ac_fn_c_try_compile "$LINENO"; then :
   4803   xorg_cv_cc_flag_unused_command_line_argument=yes
   4804 else
   4805   xorg_cv_cc_flag_unused_command_line_argument=no
   4806 fi
   4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4808 fi
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4812 	CFLAGS="$xorg_testset_save_CFLAGS"
   4813 fi
   4814 
   4815 found="no"
   4816 
   4817 	if test $found = "no" ; then
   4818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4820 		fi
   4821 
   4822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4824 		fi
   4825 
   4826 		CFLAGS="$CFLAGS -Wall"
   4827 
   4828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4829 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4830 		cacheid=xorg_cv_cc_flag__Wall
   4831 		if eval \${$cacheid+:} false; then :
   4832   $as_echo_n "(cached) " >&6
   4833 else
   4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4835 /* end confdefs.h.  */
   4836 int i;
   4837 int
   4838 main ()
   4839 {
   4840 
   4841   ;
   4842   return 0;
   4843 }
   4844 _ACEOF
   4845 if ac_fn_c_try_link "$LINENO"; then :
   4846   eval $cacheid=yes
   4847 else
   4848   eval $cacheid=no
   4849 fi
   4850 rm -f core conftest.err conftest.$ac_objext \
   4851     conftest$ac_exeext conftest.$ac_ext
   4852 fi
   4853 
   4854 
   4855 		CFLAGS="$xorg_testset_save_CFLAGS"
   4856 
   4857 		eval supported=\$$cacheid
   4858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4859 $as_echo "$supported" >&6; }
   4860 		if test "$supported" = "yes" ; then
   4861 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4862 			found="yes"
   4863 		fi
   4864 	fi
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 xorg_testset_save_CFLAGS="$CFLAGS"
   4881 
   4882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4885 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4886 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4887   $as_echo_n "(cached) " >&6
   4888 else
   4889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4890 /* end confdefs.h.  */
   4891 int i;
   4892 _ACEOF
   4893 if ac_fn_c_try_compile "$LINENO"; then :
   4894   xorg_cv_cc_flag_unknown_warning_option=yes
   4895 else
   4896   xorg_cv_cc_flag_unknown_warning_option=no
   4897 fi
   4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4899 fi
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4901 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4903 	CFLAGS="$xorg_testset_save_CFLAGS"
   4904 fi
   4905 
   4906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4909 	fi
   4910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4912 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4913 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4914   $as_echo_n "(cached) " >&6
   4915 else
   4916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4917 /* end confdefs.h.  */
   4918 int i;
   4919 _ACEOF
   4920 if ac_fn_c_try_compile "$LINENO"; then :
   4921   xorg_cv_cc_flag_unused_command_line_argument=yes
   4922 else
   4923   xorg_cv_cc_flag_unused_command_line_argument=no
   4924 fi
   4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4926 fi
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4928 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4930 	CFLAGS="$xorg_testset_save_CFLAGS"
   4931 fi
   4932 
   4933 found="no"
   4934 
   4935 	if test $found = "no" ; then
   4936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4938 		fi
   4939 
   4940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4942 		fi
   4943 
   4944 		CFLAGS="$CFLAGS -Wpointer-arith"
   4945 
   4946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4947 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4948 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4949 		if eval \${$cacheid+:} false; then :
   4950   $as_echo_n "(cached) " >&6
   4951 else
   4952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4953 /* end confdefs.h.  */
   4954 int i;
   4955 int
   4956 main ()
   4957 {
   4958 
   4959   ;
   4960   return 0;
   4961 }
   4962 _ACEOF
   4963 if ac_fn_c_try_link "$LINENO"; then :
   4964   eval $cacheid=yes
   4965 else
   4966   eval $cacheid=no
   4967 fi
   4968 rm -f core conftest.err conftest.$ac_objext \
   4969     conftest$ac_exeext conftest.$ac_ext
   4970 fi
   4971 
   4972 
   4973 		CFLAGS="$xorg_testset_save_CFLAGS"
   4974 
   4975 		eval supported=\$$cacheid
   4976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4977 $as_echo "$supported" >&6; }
   4978 		if test "$supported" = "yes" ; then
   4979 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4980 			found="yes"
   4981 		fi
   4982 	fi
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 xorg_testset_save_CFLAGS="$CFLAGS"
   4999 
   5000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5003 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5004 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5008 /* end confdefs.h.  */
   5009 int i;
   5010 _ACEOF
   5011 if ac_fn_c_try_compile "$LINENO"; then :
   5012   xorg_cv_cc_flag_unknown_warning_option=yes
   5013 else
   5014   xorg_cv_cc_flag_unknown_warning_option=no
   5015 fi
   5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5017 fi
   5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5019 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5021 	CFLAGS="$xorg_testset_save_CFLAGS"
   5022 fi
   5023 
   5024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5027 	fi
   5028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5030 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5031 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5032   $as_echo_n "(cached) " >&6
   5033 else
   5034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5035 /* end confdefs.h.  */
   5036 int i;
   5037 _ACEOF
   5038 if ac_fn_c_try_compile "$LINENO"; then :
   5039   xorg_cv_cc_flag_unused_command_line_argument=yes
   5040 else
   5041   xorg_cv_cc_flag_unused_command_line_argument=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5044 fi
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5046 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5048 	CFLAGS="$xorg_testset_save_CFLAGS"
   5049 fi
   5050 
   5051 found="no"
   5052 
   5053 	if test $found = "no" ; then
   5054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5056 		fi
   5057 
   5058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5060 		fi
   5061 
   5062 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5063 
   5064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5065 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5066 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5067 		if eval \${$cacheid+:} false; then :
   5068   $as_echo_n "(cached) " >&6
   5069 else
   5070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5071 /* end confdefs.h.  */
   5072 int i;
   5073 int
   5074 main ()
   5075 {
   5076 
   5077   ;
   5078   return 0;
   5079 }
   5080 _ACEOF
   5081 if ac_fn_c_try_link "$LINENO"; then :
   5082   eval $cacheid=yes
   5083 else
   5084   eval $cacheid=no
   5085 fi
   5086 rm -f core conftest.err conftest.$ac_objext \
   5087     conftest$ac_exeext conftest.$ac_ext
   5088 fi
   5089 
   5090 
   5091 		CFLAGS="$xorg_testset_save_CFLAGS"
   5092 
   5093 		eval supported=\$$cacheid
   5094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5095 $as_echo "$supported" >&6; }
   5096 		if test "$supported" = "yes" ; then
   5097 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5098 			found="yes"
   5099 		fi
   5100 	fi
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 xorg_testset_save_CFLAGS="$CFLAGS"
   5117 
   5118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5121 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5122 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5126 /* end confdefs.h.  */
   5127 int i;
   5128 _ACEOF
   5129 if ac_fn_c_try_compile "$LINENO"; then :
   5130   xorg_cv_cc_flag_unknown_warning_option=yes
   5131 else
   5132   xorg_cv_cc_flag_unknown_warning_option=no
   5133 fi
   5134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5135 fi
   5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5137 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5139 	CFLAGS="$xorg_testset_save_CFLAGS"
   5140 fi
   5141 
   5142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5145 	fi
   5146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5148 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5149 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5150   $as_echo_n "(cached) " >&6
   5151 else
   5152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5153 /* end confdefs.h.  */
   5154 int i;
   5155 _ACEOF
   5156 if ac_fn_c_try_compile "$LINENO"; then :
   5157   xorg_cv_cc_flag_unused_command_line_argument=yes
   5158 else
   5159   xorg_cv_cc_flag_unused_command_line_argument=no
   5160 fi
   5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5162 fi
   5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5164 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5166 	CFLAGS="$xorg_testset_save_CFLAGS"
   5167 fi
   5168 
   5169 found="no"
   5170 
   5171 	if test $found = "no" ; then
   5172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5174 		fi
   5175 
   5176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5178 		fi
   5179 
   5180 		CFLAGS="$CFLAGS -Wformat=2"
   5181 
   5182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5183 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5184 		cacheid=xorg_cv_cc_flag__Wformat_2
   5185 		if eval \${$cacheid+:} false; then :
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5189 /* end confdefs.h.  */
   5190 int i;
   5191 int
   5192 main ()
   5193 {
   5194 
   5195   ;
   5196   return 0;
   5197 }
   5198 _ACEOF
   5199 if ac_fn_c_try_link "$LINENO"; then :
   5200   eval $cacheid=yes
   5201 else
   5202   eval $cacheid=no
   5203 fi
   5204 rm -f core conftest.err conftest.$ac_objext \
   5205     conftest$ac_exeext conftest.$ac_ext
   5206 fi
   5207 
   5208 
   5209 		CFLAGS="$xorg_testset_save_CFLAGS"
   5210 
   5211 		eval supported=\$$cacheid
   5212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5213 $as_echo "$supported" >&6; }
   5214 		if test "$supported" = "yes" ; then
   5215 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5216 			found="yes"
   5217 		fi
   5218 	fi
   5219 
   5220 	if test $found = "no" ; then
   5221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5223 		fi
   5224 
   5225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5227 		fi
   5228 
   5229 		CFLAGS="$CFLAGS -Wformat"
   5230 
   5231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5232 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5233 		cacheid=xorg_cv_cc_flag__Wformat
   5234 		if eval \${$cacheid+:} 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 int
   5241 main ()
   5242 {
   5243 
   5244   ;
   5245   return 0;
   5246 }
   5247 _ACEOF
   5248 if ac_fn_c_try_link "$LINENO"; then :
   5249   eval $cacheid=yes
   5250 else
   5251   eval $cacheid=no
   5252 fi
   5253 rm -f core conftest.err conftest.$ac_objext \
   5254     conftest$ac_exeext conftest.$ac_ext
   5255 fi
   5256 
   5257 
   5258 		CFLAGS="$xorg_testset_save_CFLAGS"
   5259 
   5260 		eval supported=\$$cacheid
   5261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5262 $as_echo "$supported" >&6; }
   5263 		if test "$supported" = "yes" ; then
   5264 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5265 			found="yes"
   5266 		fi
   5267 	fi
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 xorg_testset_save_CFLAGS="$CFLAGS"
   5286 
   5287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5290 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5291 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5295 /* end confdefs.h.  */
   5296 int i;
   5297 _ACEOF
   5298 if ac_fn_c_try_compile "$LINENO"; then :
   5299   xorg_cv_cc_flag_unknown_warning_option=yes
   5300 else
   5301   xorg_cv_cc_flag_unknown_warning_option=no
   5302 fi
   5303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5304 fi
   5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5306 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5307 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5308 	CFLAGS="$xorg_testset_save_CFLAGS"
   5309 fi
   5310 
   5311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5312 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5313 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5314 	fi
   5315 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5317 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5318 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5319   $as_echo_n "(cached) " >&6
   5320 else
   5321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5322 /* end confdefs.h.  */
   5323 int i;
   5324 _ACEOF
   5325 if ac_fn_c_try_compile "$LINENO"; then :
   5326   xorg_cv_cc_flag_unused_command_line_argument=yes
   5327 else
   5328   xorg_cv_cc_flag_unused_command_line_argument=no
   5329 fi
   5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5331 fi
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5333 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5335 	CFLAGS="$xorg_testset_save_CFLAGS"
   5336 fi
   5337 
   5338 found="no"
   5339 
   5340 	if test $found = "no" ; then
   5341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5343 		fi
   5344 
   5345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5347 		fi
   5348 
   5349 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5350 
   5351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5352 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5353 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5354 		if eval \${$cacheid+:} false; then :
   5355   $as_echo_n "(cached) " >&6
   5356 else
   5357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5358 /* end confdefs.h.  */
   5359 int i;
   5360 int
   5361 main ()
   5362 {
   5363 
   5364   ;
   5365   return 0;
   5366 }
   5367 _ACEOF
   5368 if ac_fn_c_try_link "$LINENO"; then :
   5369   eval $cacheid=yes
   5370 else
   5371   eval $cacheid=no
   5372 fi
   5373 rm -f core conftest.err conftest.$ac_objext \
   5374     conftest$ac_exeext conftest.$ac_ext
   5375 fi
   5376 
   5377 
   5378 		CFLAGS="$xorg_testset_save_CFLAGS"
   5379 
   5380 		eval supported=\$$cacheid
   5381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5382 $as_echo "$supported" >&6; }
   5383 		if test "$supported" = "yes" ; then
   5384 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5385 			found="yes"
   5386 		fi
   5387 	fi
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 xorg_testset_save_CFLAGS="$CFLAGS"
   5404 
   5405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5408 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5409 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 int i;
   5415 _ACEOF
   5416 if ac_fn_c_try_compile "$LINENO"; then :
   5417   xorg_cv_cc_flag_unknown_warning_option=yes
   5418 else
   5419   xorg_cv_cc_flag_unknown_warning_option=no
   5420 fi
   5421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5422 fi
   5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5424 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5426 	CFLAGS="$xorg_testset_save_CFLAGS"
   5427 fi
   5428 
   5429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5432 	fi
   5433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5435 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5436 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5440 /* end confdefs.h.  */
   5441 int i;
   5442 _ACEOF
   5443 if ac_fn_c_try_compile "$LINENO"; then :
   5444   xorg_cv_cc_flag_unused_command_line_argument=yes
   5445 else
   5446   xorg_cv_cc_flag_unused_command_line_argument=no
   5447 fi
   5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5449 fi
   5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5451 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5453 	CFLAGS="$xorg_testset_save_CFLAGS"
   5454 fi
   5455 
   5456 found="no"
   5457 
   5458 	if test $found = "no" ; then
   5459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5461 		fi
   5462 
   5463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5465 		fi
   5466 
   5467 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5468 
   5469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5470 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5471 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5472 		if eval \${$cacheid+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5476 /* end confdefs.h.  */
   5477 int i;
   5478 int
   5479 main ()
   5480 {
   5481 
   5482   ;
   5483   return 0;
   5484 }
   5485 _ACEOF
   5486 if ac_fn_c_try_link "$LINENO"; then :
   5487   eval $cacheid=yes
   5488 else
   5489   eval $cacheid=no
   5490 fi
   5491 rm -f core conftest.err conftest.$ac_objext \
   5492     conftest$ac_exeext conftest.$ac_ext
   5493 fi
   5494 
   5495 
   5496 		CFLAGS="$xorg_testset_save_CFLAGS"
   5497 
   5498 		eval supported=\$$cacheid
   5499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5500 $as_echo "$supported" >&6; }
   5501 		if test "$supported" = "yes" ; then
   5502 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5503 			found="yes"
   5504 		fi
   5505 	fi
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 xorg_testset_save_CFLAGS="$CFLAGS"
   5522 
   5523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5526 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5527 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5531 /* end confdefs.h.  */
   5532 int i;
   5533 _ACEOF
   5534 if ac_fn_c_try_compile "$LINENO"; then :
   5535   xorg_cv_cc_flag_unknown_warning_option=yes
   5536 else
   5537   xorg_cv_cc_flag_unknown_warning_option=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5540 fi
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5542 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5544 	CFLAGS="$xorg_testset_save_CFLAGS"
   5545 fi
   5546 
   5547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5550 	fi
   5551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5553 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5554 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5555   $as_echo_n "(cached) " >&6
   5556 else
   5557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5558 /* end confdefs.h.  */
   5559 int i;
   5560 _ACEOF
   5561 if ac_fn_c_try_compile "$LINENO"; then :
   5562   xorg_cv_cc_flag_unused_command_line_argument=yes
   5563 else
   5564   xorg_cv_cc_flag_unused_command_line_argument=no
   5565 fi
   5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5567 fi
   5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5569 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5571 	CFLAGS="$xorg_testset_save_CFLAGS"
   5572 fi
   5573 
   5574 found="no"
   5575 
   5576 	if test $found = "no" ; then
   5577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5579 		fi
   5580 
   5581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5583 		fi
   5584 
   5585 		CFLAGS="$CFLAGS -Wnested-externs"
   5586 
   5587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5588 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5589 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5590 		if eval \${$cacheid+:} false; then :
   5591   $as_echo_n "(cached) " >&6
   5592 else
   5593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5594 /* end confdefs.h.  */
   5595 int i;
   5596 int
   5597 main ()
   5598 {
   5599 
   5600   ;
   5601   return 0;
   5602 }
   5603 _ACEOF
   5604 if ac_fn_c_try_link "$LINENO"; then :
   5605   eval $cacheid=yes
   5606 else
   5607   eval $cacheid=no
   5608 fi
   5609 rm -f core conftest.err conftest.$ac_objext \
   5610     conftest$ac_exeext conftest.$ac_ext
   5611 fi
   5612 
   5613 
   5614 		CFLAGS="$xorg_testset_save_CFLAGS"
   5615 
   5616 		eval supported=\$$cacheid
   5617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5618 $as_echo "$supported" >&6; }
   5619 		if test "$supported" = "yes" ; then
   5620 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5621 			found="yes"
   5622 		fi
   5623 	fi
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 xorg_testset_save_CFLAGS="$CFLAGS"
   5640 
   5641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5644 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5645 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5646   $as_echo_n "(cached) " >&6
   5647 else
   5648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5649 /* end confdefs.h.  */
   5650 int i;
   5651 _ACEOF
   5652 if ac_fn_c_try_compile "$LINENO"; then :
   5653   xorg_cv_cc_flag_unknown_warning_option=yes
   5654 else
   5655   xorg_cv_cc_flag_unknown_warning_option=no
   5656 fi
   5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5658 fi
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5660 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5662 	CFLAGS="$xorg_testset_save_CFLAGS"
   5663 fi
   5664 
   5665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5668 	fi
   5669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5671 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5672 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5673   $as_echo_n "(cached) " >&6
   5674 else
   5675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5676 /* end confdefs.h.  */
   5677 int i;
   5678 _ACEOF
   5679 if ac_fn_c_try_compile "$LINENO"; then :
   5680   xorg_cv_cc_flag_unused_command_line_argument=yes
   5681 else
   5682   xorg_cv_cc_flag_unused_command_line_argument=no
   5683 fi
   5684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5685 fi
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5687 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5689 	CFLAGS="$xorg_testset_save_CFLAGS"
   5690 fi
   5691 
   5692 found="no"
   5693 
   5694 	if test $found = "no" ; then
   5695 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5697 		fi
   5698 
   5699 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5701 		fi
   5702 
   5703 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5704 
   5705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5706 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5707 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5708 		if eval \${$cacheid+:} false; then :
   5709   $as_echo_n "(cached) " >&6
   5710 else
   5711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 int i;
   5714 int
   5715 main ()
   5716 {
   5717 
   5718   ;
   5719   return 0;
   5720 }
   5721 _ACEOF
   5722 if ac_fn_c_try_link "$LINENO"; then :
   5723   eval $cacheid=yes
   5724 else
   5725   eval $cacheid=no
   5726 fi
   5727 rm -f core conftest.err conftest.$ac_objext \
   5728     conftest$ac_exeext conftest.$ac_ext
   5729 fi
   5730 
   5731 
   5732 		CFLAGS="$xorg_testset_save_CFLAGS"
   5733 
   5734 		eval supported=\$$cacheid
   5735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5736 $as_echo "$supported" >&6; }
   5737 		if test "$supported" = "yes" ; then
   5738 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5739 			found="yes"
   5740 		fi
   5741 	fi
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 xorg_testset_save_CFLAGS="$CFLAGS"
   5758 
   5759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5762 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5763 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5764   $as_echo_n "(cached) " >&6
   5765 else
   5766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5767 /* end confdefs.h.  */
   5768 int i;
   5769 _ACEOF
   5770 if ac_fn_c_try_compile "$LINENO"; then :
   5771   xorg_cv_cc_flag_unknown_warning_option=yes
   5772 else
   5773   xorg_cv_cc_flag_unknown_warning_option=no
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5776 fi
   5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5778 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5780 	CFLAGS="$xorg_testset_save_CFLAGS"
   5781 fi
   5782 
   5783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5786 	fi
   5787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5789 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5790 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5791   $as_echo_n "(cached) " >&6
   5792 else
   5793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5794 /* end confdefs.h.  */
   5795 int i;
   5796 _ACEOF
   5797 if ac_fn_c_try_compile "$LINENO"; then :
   5798   xorg_cv_cc_flag_unused_command_line_argument=yes
   5799 else
   5800   xorg_cv_cc_flag_unused_command_line_argument=no
   5801 fi
   5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5803 fi
   5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5805 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5807 	CFLAGS="$xorg_testset_save_CFLAGS"
   5808 fi
   5809 
   5810 found="no"
   5811 
   5812 	if test $found = "no" ; then
   5813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5815 		fi
   5816 
   5817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5819 		fi
   5820 
   5821 		CFLAGS="$CFLAGS -Wold-style-definition"
   5822 
   5823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5824 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5825 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5826 		if eval \${$cacheid+:} false; then :
   5827   $as_echo_n "(cached) " >&6
   5828 else
   5829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5830 /* end confdefs.h.  */
   5831 int i;
   5832 int
   5833 main ()
   5834 {
   5835 
   5836   ;
   5837   return 0;
   5838 }
   5839 _ACEOF
   5840 if ac_fn_c_try_link "$LINENO"; then :
   5841   eval $cacheid=yes
   5842 else
   5843   eval $cacheid=no
   5844 fi
   5845 rm -f core conftest.err conftest.$ac_objext \
   5846     conftest$ac_exeext conftest.$ac_ext
   5847 fi
   5848 
   5849 
   5850 		CFLAGS="$xorg_testset_save_CFLAGS"
   5851 
   5852 		eval supported=\$$cacheid
   5853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5854 $as_echo "$supported" >&6; }
   5855 		if test "$supported" = "yes" ; then
   5856 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5857 			found="yes"
   5858 		fi
   5859 	fi
   5860 
   5861 	if test $found = "no" ; then
   5862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5864 		fi
   5865 
   5866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5868 		fi
   5869 
   5870 		CFLAGS="$CFLAGS -fd"
   5871 
   5872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5873 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5874 		cacheid=xorg_cv_cc_flag__fd
   5875 		if eval \${$cacheid+:} 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 int
   5882 main ()
   5883 {
   5884 
   5885   ;
   5886   return 0;
   5887 }
   5888 _ACEOF
   5889 if ac_fn_c_try_link "$LINENO"; then :
   5890   eval $cacheid=yes
   5891 else
   5892   eval $cacheid=no
   5893 fi
   5894 rm -f core conftest.err conftest.$ac_objext \
   5895     conftest$ac_exeext conftest.$ac_ext
   5896 fi
   5897 
   5898 
   5899 		CFLAGS="$xorg_testset_save_CFLAGS"
   5900 
   5901 		eval supported=\$$cacheid
   5902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5903 $as_echo "$supported" >&6; }
   5904 		if test "$supported" = "yes" ; then
   5905 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5906 			found="yes"
   5907 		fi
   5908 	fi
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 xorg_testset_save_CFLAGS="$CFLAGS"
   5925 
   5926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5929 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5930 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5931   $as_echo_n "(cached) " >&6
   5932 else
   5933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5934 /* end confdefs.h.  */
   5935 int i;
   5936 _ACEOF
   5937 if ac_fn_c_try_compile "$LINENO"; then :
   5938   xorg_cv_cc_flag_unknown_warning_option=yes
   5939 else
   5940   xorg_cv_cc_flag_unknown_warning_option=no
   5941 fi
   5942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5943 fi
   5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5945 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5947 	CFLAGS="$xorg_testset_save_CFLAGS"
   5948 fi
   5949 
   5950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5953 	fi
   5954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5956 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5957 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 _ACEOF
   5964 if ac_fn_c_try_compile "$LINENO"; then :
   5965   xorg_cv_cc_flag_unused_command_line_argument=yes
   5966 else
   5967   xorg_cv_cc_flag_unused_command_line_argument=no
   5968 fi
   5969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5970 fi
   5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5972 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5974 	CFLAGS="$xorg_testset_save_CFLAGS"
   5975 fi
   5976 
   5977 found="no"
   5978 
   5979 	if test $found = "no" ; then
   5980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5982 		fi
   5983 
   5984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5986 		fi
   5987 
   5988 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5989 
   5990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5991 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5992 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5993 		if eval \${$cacheid+:} 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 int
   6000 main ()
   6001 {
   6002 
   6003   ;
   6004   return 0;
   6005 }
   6006 _ACEOF
   6007 if ac_fn_c_try_link "$LINENO"; then :
   6008   eval $cacheid=yes
   6009 else
   6010   eval $cacheid=no
   6011 fi
   6012 rm -f core conftest.err conftest.$ac_objext \
   6013     conftest$ac_exeext conftest.$ac_ext
   6014 fi
   6015 
   6016 
   6017 		CFLAGS="$xorg_testset_save_CFLAGS"
   6018 
   6019 		eval supported=\$$cacheid
   6020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6021 $as_echo "$supported" >&6; }
   6022 		if test "$supported" = "yes" ; then
   6023 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6024 			found="yes"
   6025 		fi
   6026 	fi
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 # This chunk adds additional warnings that could catch undesired effects.
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 xorg_testset_save_CFLAGS="$CFLAGS"
   6047 
   6048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6056 /* end confdefs.h.  */
   6057 int i;
   6058 _ACEOF
   6059 if ac_fn_c_try_compile "$LINENO"; then :
   6060   xorg_cv_cc_flag_unknown_warning_option=yes
   6061 else
   6062   xorg_cv_cc_flag_unknown_warning_option=no
   6063 fi
   6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6065 fi
   6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6069 	CFLAGS="$xorg_testset_save_CFLAGS"
   6070 fi
   6071 
   6072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6075 	fi
   6076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6080   $as_echo_n "(cached) " >&6
   6081 else
   6082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6083 /* end confdefs.h.  */
   6084 int i;
   6085 _ACEOF
   6086 if ac_fn_c_try_compile "$LINENO"; then :
   6087   xorg_cv_cc_flag_unused_command_line_argument=yes
   6088 else
   6089   xorg_cv_cc_flag_unused_command_line_argument=no
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6092 fi
   6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6096 	CFLAGS="$xorg_testset_save_CFLAGS"
   6097 fi
   6098 
   6099 found="no"
   6100 
   6101 	if test $found = "no" ; then
   6102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6104 		fi
   6105 
   6106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6108 		fi
   6109 
   6110 		CFLAGS="$CFLAGS -Wunused"
   6111 
   6112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6113 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6114 		cacheid=xorg_cv_cc_flag__Wunused
   6115 		if eval \${$cacheid+:} false; then :
   6116   $as_echo_n "(cached) " >&6
   6117 else
   6118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 int i;
   6121 int
   6122 main ()
   6123 {
   6124 
   6125   ;
   6126   return 0;
   6127 }
   6128 _ACEOF
   6129 if ac_fn_c_try_link "$LINENO"; then :
   6130   eval $cacheid=yes
   6131 else
   6132   eval $cacheid=no
   6133 fi
   6134 rm -f core conftest.err conftest.$ac_objext \
   6135     conftest$ac_exeext conftest.$ac_ext
   6136 fi
   6137 
   6138 
   6139 		CFLAGS="$xorg_testset_save_CFLAGS"
   6140 
   6141 		eval supported=\$$cacheid
   6142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6143 $as_echo "$supported" >&6; }
   6144 		if test "$supported" = "yes" ; then
   6145 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6146 			found="yes"
   6147 		fi
   6148 	fi
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 xorg_testset_save_CFLAGS="$CFLAGS"
   6165 
   6166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6171   $as_echo_n "(cached) " >&6
   6172 else
   6173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6174 /* end confdefs.h.  */
   6175 int i;
   6176 _ACEOF
   6177 if ac_fn_c_try_compile "$LINENO"; then :
   6178   xorg_cv_cc_flag_unknown_warning_option=yes
   6179 else
   6180   xorg_cv_cc_flag_unknown_warning_option=no
   6181 fi
   6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6183 fi
   6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6187 	CFLAGS="$xorg_testset_save_CFLAGS"
   6188 fi
   6189 
   6190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6193 	fi
   6194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6198   $as_echo_n "(cached) " >&6
   6199 else
   6200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6201 /* end confdefs.h.  */
   6202 int i;
   6203 _ACEOF
   6204 if ac_fn_c_try_compile "$LINENO"; then :
   6205   xorg_cv_cc_flag_unused_command_line_argument=yes
   6206 else
   6207   xorg_cv_cc_flag_unused_command_line_argument=no
   6208 fi
   6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6210 fi
   6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6214 	CFLAGS="$xorg_testset_save_CFLAGS"
   6215 fi
   6216 
   6217 found="no"
   6218 
   6219 	if test $found = "no" ; then
   6220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6222 		fi
   6223 
   6224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6226 		fi
   6227 
   6228 		CFLAGS="$CFLAGS -Wuninitialized"
   6229 
   6230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6231 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6232 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6233 		if eval \${$cacheid+:} false; then :
   6234   $as_echo_n "(cached) " >&6
   6235 else
   6236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6237 /* end confdefs.h.  */
   6238 int i;
   6239 int
   6240 main ()
   6241 {
   6242 
   6243   ;
   6244   return 0;
   6245 }
   6246 _ACEOF
   6247 if ac_fn_c_try_link "$LINENO"; then :
   6248   eval $cacheid=yes
   6249 else
   6250   eval $cacheid=no
   6251 fi
   6252 rm -f core conftest.err conftest.$ac_objext \
   6253     conftest$ac_exeext conftest.$ac_ext
   6254 fi
   6255 
   6256 
   6257 		CFLAGS="$xorg_testset_save_CFLAGS"
   6258 
   6259 		eval supported=\$$cacheid
   6260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6261 $as_echo "$supported" >&6; }
   6262 		if test "$supported" = "yes" ; then
   6263 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6264 			found="yes"
   6265 		fi
   6266 	fi
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 xorg_testset_save_CFLAGS="$CFLAGS"
   6283 
   6284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6289   $as_echo_n "(cached) " >&6
   6290 else
   6291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6292 /* end confdefs.h.  */
   6293 int i;
   6294 _ACEOF
   6295 if ac_fn_c_try_compile "$LINENO"; then :
   6296   xorg_cv_cc_flag_unknown_warning_option=yes
   6297 else
   6298   xorg_cv_cc_flag_unknown_warning_option=no
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6301 fi
   6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6305 	CFLAGS="$xorg_testset_save_CFLAGS"
   6306 fi
   6307 
   6308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6311 	fi
   6312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6316   $as_echo_n "(cached) " >&6
   6317 else
   6318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6319 /* end confdefs.h.  */
   6320 int i;
   6321 _ACEOF
   6322 if ac_fn_c_try_compile "$LINENO"; then :
   6323   xorg_cv_cc_flag_unused_command_line_argument=yes
   6324 else
   6325   xorg_cv_cc_flag_unused_command_line_argument=no
   6326 fi
   6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6328 fi
   6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6332 	CFLAGS="$xorg_testset_save_CFLAGS"
   6333 fi
   6334 
   6335 found="no"
   6336 
   6337 	if test $found = "no" ; then
   6338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6340 		fi
   6341 
   6342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6344 		fi
   6345 
   6346 		CFLAGS="$CFLAGS -Wshadow"
   6347 
   6348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6349 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6350 		cacheid=xorg_cv_cc_flag__Wshadow
   6351 		if eval \${$cacheid+:} false; then :
   6352   $as_echo_n "(cached) " >&6
   6353 else
   6354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6355 /* end confdefs.h.  */
   6356 int i;
   6357 int
   6358 main ()
   6359 {
   6360 
   6361   ;
   6362   return 0;
   6363 }
   6364 _ACEOF
   6365 if ac_fn_c_try_link "$LINENO"; then :
   6366   eval $cacheid=yes
   6367 else
   6368   eval $cacheid=no
   6369 fi
   6370 rm -f core conftest.err conftest.$ac_objext \
   6371     conftest$ac_exeext conftest.$ac_ext
   6372 fi
   6373 
   6374 
   6375 		CFLAGS="$xorg_testset_save_CFLAGS"
   6376 
   6377 		eval supported=\$$cacheid
   6378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6379 $as_echo "$supported" >&6; }
   6380 		if test "$supported" = "yes" ; then
   6381 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6382 			found="yes"
   6383 		fi
   6384 	fi
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 xorg_testset_save_CFLAGS="$CFLAGS"
   6401 
   6402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6407   $as_echo_n "(cached) " >&6
   6408 else
   6409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6410 /* end confdefs.h.  */
   6411 int i;
   6412 _ACEOF
   6413 if ac_fn_c_try_compile "$LINENO"; then :
   6414   xorg_cv_cc_flag_unknown_warning_option=yes
   6415 else
   6416   xorg_cv_cc_flag_unknown_warning_option=no
   6417 fi
   6418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6419 fi
   6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6423 	CFLAGS="$xorg_testset_save_CFLAGS"
   6424 fi
   6425 
   6426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6429 	fi
   6430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6434   $as_echo_n "(cached) " >&6
   6435 else
   6436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6437 /* end confdefs.h.  */
   6438 int i;
   6439 _ACEOF
   6440 if ac_fn_c_try_compile "$LINENO"; then :
   6441   xorg_cv_cc_flag_unused_command_line_argument=yes
   6442 else
   6443   xorg_cv_cc_flag_unused_command_line_argument=no
   6444 fi
   6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6446 fi
   6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6450 	CFLAGS="$xorg_testset_save_CFLAGS"
   6451 fi
   6452 
   6453 found="no"
   6454 
   6455 	if test $found = "no" ; then
   6456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6458 		fi
   6459 
   6460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6462 		fi
   6463 
   6464 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6465 
   6466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6467 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6468 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6469 		if eval \${$cacheid+:} false; then :
   6470   $as_echo_n "(cached) " >&6
   6471 else
   6472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6473 /* end confdefs.h.  */
   6474 int i;
   6475 int
   6476 main ()
   6477 {
   6478 
   6479   ;
   6480   return 0;
   6481 }
   6482 _ACEOF
   6483 if ac_fn_c_try_link "$LINENO"; then :
   6484   eval $cacheid=yes
   6485 else
   6486   eval $cacheid=no
   6487 fi
   6488 rm -f core conftest.err conftest.$ac_objext \
   6489     conftest$ac_exeext conftest.$ac_ext
   6490 fi
   6491 
   6492 
   6493 		CFLAGS="$xorg_testset_save_CFLAGS"
   6494 
   6495 		eval supported=\$$cacheid
   6496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6497 $as_echo "$supported" >&6; }
   6498 		if test "$supported" = "yes" ; then
   6499 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6500 			found="yes"
   6501 		fi
   6502 	fi
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 xorg_testset_save_CFLAGS="$CFLAGS"
   6519 
   6520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6528 /* end confdefs.h.  */
   6529 int i;
   6530 _ACEOF
   6531 if ac_fn_c_try_compile "$LINENO"; then :
   6532   xorg_cv_cc_flag_unknown_warning_option=yes
   6533 else
   6534   xorg_cv_cc_flag_unknown_warning_option=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6537 fi
   6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6541 	CFLAGS="$xorg_testset_save_CFLAGS"
   6542 fi
   6543 
   6544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6547 	fi
   6548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 _ACEOF
   6558 if ac_fn_c_try_compile "$LINENO"; then :
   6559   xorg_cv_cc_flag_unused_command_line_argument=yes
   6560 else
   6561   xorg_cv_cc_flag_unused_command_line_argument=no
   6562 fi
   6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6564 fi
   6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6568 	CFLAGS="$xorg_testset_save_CFLAGS"
   6569 fi
   6570 
   6571 found="no"
   6572 
   6573 	if test $found = "no" ; then
   6574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 		fi
   6577 
   6578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6580 		fi
   6581 
   6582 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6583 
   6584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6585 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6586 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6587 		if eval \${$cacheid+:} false; then :
   6588   $as_echo_n "(cached) " >&6
   6589 else
   6590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6591 /* end confdefs.h.  */
   6592 int i;
   6593 int
   6594 main ()
   6595 {
   6596 
   6597   ;
   6598   return 0;
   6599 }
   6600 _ACEOF
   6601 if ac_fn_c_try_link "$LINENO"; then :
   6602   eval $cacheid=yes
   6603 else
   6604   eval $cacheid=no
   6605 fi
   6606 rm -f core conftest.err conftest.$ac_objext \
   6607     conftest$ac_exeext conftest.$ac_ext
   6608 fi
   6609 
   6610 
   6611 		CFLAGS="$xorg_testset_save_CFLAGS"
   6612 
   6613 		eval supported=\$$cacheid
   6614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6615 $as_echo "$supported" >&6; }
   6616 		if test "$supported" = "yes" ; then
   6617 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6618 			found="yes"
   6619 		fi
   6620 	fi
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 xorg_testset_save_CFLAGS="$CFLAGS"
   6637 
   6638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6643   $as_echo_n "(cached) " >&6
   6644 else
   6645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6646 /* end confdefs.h.  */
   6647 int i;
   6648 _ACEOF
   6649 if ac_fn_c_try_compile "$LINENO"; then :
   6650   xorg_cv_cc_flag_unknown_warning_option=yes
   6651 else
   6652   xorg_cv_cc_flag_unknown_warning_option=no
   6653 fi
   6654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6655 fi
   6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6659 	CFLAGS="$xorg_testset_save_CFLAGS"
   6660 fi
   6661 
   6662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6665 	fi
   6666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6670   $as_echo_n "(cached) " >&6
   6671 else
   6672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6673 /* end confdefs.h.  */
   6674 int i;
   6675 _ACEOF
   6676 if ac_fn_c_try_compile "$LINENO"; then :
   6677   xorg_cv_cc_flag_unused_command_line_argument=yes
   6678 else
   6679   xorg_cv_cc_flag_unused_command_line_argument=no
   6680 fi
   6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6682 fi
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6686 	CFLAGS="$xorg_testset_save_CFLAGS"
   6687 fi
   6688 
   6689 found="no"
   6690 
   6691 	if test $found = "no" ; then
   6692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6694 		fi
   6695 
   6696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6698 		fi
   6699 
   6700 		CFLAGS="$CFLAGS -Wredundant-decls"
   6701 
   6702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6703 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6704 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6705 		if eval \${$cacheid+:} false; then :
   6706   $as_echo_n "(cached) " >&6
   6707 else
   6708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6709 /* end confdefs.h.  */
   6710 int i;
   6711 int
   6712 main ()
   6713 {
   6714 
   6715   ;
   6716   return 0;
   6717 }
   6718 _ACEOF
   6719 if ac_fn_c_try_link "$LINENO"; then :
   6720   eval $cacheid=yes
   6721 else
   6722   eval $cacheid=no
   6723 fi
   6724 rm -f core conftest.err conftest.$ac_objext \
   6725     conftest$ac_exeext conftest.$ac_ext
   6726 fi
   6727 
   6728 
   6729 		CFLAGS="$xorg_testset_save_CFLAGS"
   6730 
   6731 		eval supported=\$$cacheid
   6732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6733 $as_echo "$supported" >&6; }
   6734 		if test "$supported" = "yes" ; then
   6735 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6736 			found="yes"
   6737 		fi
   6738 	fi
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 xorg_testset_save_CFLAGS="$CFLAGS"
   6755 
   6756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6761   $as_echo_n "(cached) " >&6
   6762 else
   6763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6764 /* end confdefs.h.  */
   6765 int i;
   6766 _ACEOF
   6767 if ac_fn_c_try_compile "$LINENO"; then :
   6768   xorg_cv_cc_flag_unknown_warning_option=yes
   6769 else
   6770   xorg_cv_cc_flag_unknown_warning_option=no
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6773 fi
   6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6777 	CFLAGS="$xorg_testset_save_CFLAGS"
   6778 fi
   6779 
   6780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6783 	fi
   6784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 _ACEOF
   6794 if ac_fn_c_try_compile "$LINENO"; then :
   6795   xorg_cv_cc_flag_unused_command_line_argument=yes
   6796 else
   6797   xorg_cv_cc_flag_unused_command_line_argument=no
   6798 fi
   6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6800 fi
   6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6804 	CFLAGS="$xorg_testset_save_CFLAGS"
   6805 fi
   6806 
   6807 found="no"
   6808 
   6809 	if test $found = "no" ; then
   6810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6812 		fi
   6813 
   6814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6816 		fi
   6817 
   6818 		CFLAGS="$CFLAGS -Wlogical-op"
   6819 
   6820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6821 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6822 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6823 		if eval \${$cacheid+:} false; then :
   6824   $as_echo_n "(cached) " >&6
   6825 else
   6826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6827 /* end confdefs.h.  */
   6828 int i;
   6829 int
   6830 main ()
   6831 {
   6832 
   6833   ;
   6834   return 0;
   6835 }
   6836 _ACEOF
   6837 if ac_fn_c_try_link "$LINENO"; then :
   6838   eval $cacheid=yes
   6839 else
   6840   eval $cacheid=no
   6841 fi
   6842 rm -f core conftest.err conftest.$ac_objext \
   6843     conftest$ac_exeext conftest.$ac_ext
   6844 fi
   6845 
   6846 
   6847 		CFLAGS="$xorg_testset_save_CFLAGS"
   6848 
   6849 		eval supported=\$$cacheid
   6850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6851 $as_echo "$supported" >&6; }
   6852 		if test "$supported" = "yes" ; then
   6853 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6854 			found="yes"
   6855 		fi
   6856 	fi
   6857 
   6858 
   6859 
   6860 # These are currently disabled because they are noisy.  They will be enabled
   6861 # in the future once the codebase is sufficiently modernized to silence
   6862 # them.  For now, I don't want them to drown out the other warnings.
   6863 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6864 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6865 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6866 
   6867 # Turn some warnings into errors, so we don't accidently get successful builds
   6868 # when there are problems that should be fixed.
   6869 
   6870 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 xorg_testset_save_CFLAGS="$CFLAGS"
   6885 
   6886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6891   $as_echo_n "(cached) " >&6
   6892 else
   6893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6894 /* end confdefs.h.  */
   6895 int i;
   6896 _ACEOF
   6897 if ac_fn_c_try_compile "$LINENO"; then :
   6898   xorg_cv_cc_flag_unknown_warning_option=yes
   6899 else
   6900   xorg_cv_cc_flag_unknown_warning_option=no
   6901 fi
   6902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6903 fi
   6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6907 	CFLAGS="$xorg_testset_save_CFLAGS"
   6908 fi
   6909 
   6910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6913 	fi
   6914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 _ACEOF
   6924 if ac_fn_c_try_compile "$LINENO"; then :
   6925   xorg_cv_cc_flag_unused_command_line_argument=yes
   6926 else
   6927   xorg_cv_cc_flag_unused_command_line_argument=no
   6928 fi
   6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6930 fi
   6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6934 	CFLAGS="$xorg_testset_save_CFLAGS"
   6935 fi
   6936 
   6937 found="no"
   6938 
   6939 	if test $found = "no" ; then
   6940 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 		fi
   6943 
   6944 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6946 		fi
   6947 
   6948 		CFLAGS="$CFLAGS -Werror=implicit"
   6949 
   6950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6951 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6952 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6953 		if eval \${$cacheid+:} false; then :
   6954   $as_echo_n "(cached) " >&6
   6955 else
   6956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 int i;
   6959 int
   6960 main ()
   6961 {
   6962 
   6963   ;
   6964   return 0;
   6965 }
   6966 _ACEOF
   6967 if ac_fn_c_try_link "$LINENO"; then :
   6968   eval $cacheid=yes
   6969 else
   6970   eval $cacheid=no
   6971 fi
   6972 rm -f core conftest.err conftest.$ac_objext \
   6973     conftest$ac_exeext conftest.$ac_ext
   6974 fi
   6975 
   6976 
   6977 		CFLAGS="$xorg_testset_save_CFLAGS"
   6978 
   6979 		eval supported=\$$cacheid
   6980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6981 $as_echo "$supported" >&6; }
   6982 		if test "$supported" = "yes" ; then
   6983 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6984 			found="yes"
   6985 		fi
   6986 	fi
   6987 
   6988 	if test $found = "no" ; then
   6989 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6991 		fi
   6992 
   6993 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6995 		fi
   6996 
   6997 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6998 
   6999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7000 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7001 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7002 		if eval \${$cacheid+:} false; then :
   7003   $as_echo_n "(cached) " >&6
   7004 else
   7005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7006 /* end confdefs.h.  */
   7007 int i;
   7008 int
   7009 main ()
   7010 {
   7011 
   7012   ;
   7013   return 0;
   7014 }
   7015 _ACEOF
   7016 if ac_fn_c_try_link "$LINENO"; then :
   7017   eval $cacheid=yes
   7018 else
   7019   eval $cacheid=no
   7020 fi
   7021 rm -f core conftest.err conftest.$ac_objext \
   7022     conftest$ac_exeext conftest.$ac_ext
   7023 fi
   7024 
   7025 
   7026 		CFLAGS="$xorg_testset_save_CFLAGS"
   7027 
   7028 		eval supported=\$$cacheid
   7029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7030 $as_echo "$supported" >&6; }
   7031 		if test "$supported" = "yes" ; then
   7032 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7033 			found="yes"
   7034 		fi
   7035 	fi
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 xorg_testset_save_CFLAGS="$CFLAGS"
   7052 
   7053 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7056 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7057 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7058   $as_echo_n "(cached) " >&6
   7059 else
   7060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"; then :
   7065   xorg_cv_cc_flag_unknown_warning_option=yes
   7066 else
   7067   xorg_cv_cc_flag_unknown_warning_option=no
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7070 fi
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7072 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7074 	CFLAGS="$xorg_testset_save_CFLAGS"
   7075 fi
   7076 
   7077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7080 	fi
   7081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7083 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7084 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7085   $as_echo_n "(cached) " >&6
   7086 else
   7087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7088 /* end confdefs.h.  */
   7089 int i;
   7090 _ACEOF
   7091 if ac_fn_c_try_compile "$LINENO"; then :
   7092   xorg_cv_cc_flag_unused_command_line_argument=yes
   7093 else
   7094   xorg_cv_cc_flag_unused_command_line_argument=no
   7095 fi
   7096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7097 fi
   7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7099 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7101 	CFLAGS="$xorg_testset_save_CFLAGS"
   7102 fi
   7103 
   7104 found="no"
   7105 
   7106 	if test $found = "no" ; then
   7107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7109 		fi
   7110 
   7111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7113 		fi
   7114 
   7115 		CFLAGS="$CFLAGS -Werror=nonnull"
   7116 
   7117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7118 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7119 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7120 		if eval \${$cacheid+:} false; then :
   7121   $as_echo_n "(cached) " >&6
   7122 else
   7123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7124 /* end confdefs.h.  */
   7125 int i;
   7126 int
   7127 main ()
   7128 {
   7129 
   7130   ;
   7131   return 0;
   7132 }
   7133 _ACEOF
   7134 if ac_fn_c_try_link "$LINENO"; then :
   7135   eval $cacheid=yes
   7136 else
   7137   eval $cacheid=no
   7138 fi
   7139 rm -f core conftest.err conftest.$ac_objext \
   7140     conftest$ac_exeext conftest.$ac_ext
   7141 fi
   7142 
   7143 
   7144 		CFLAGS="$xorg_testset_save_CFLAGS"
   7145 
   7146 		eval supported=\$$cacheid
   7147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7148 $as_echo "$supported" >&6; }
   7149 		if test "$supported" = "yes" ; then
   7150 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7151 			found="yes"
   7152 		fi
   7153 	fi
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 xorg_testset_save_CFLAGS="$CFLAGS"
   7170 
   7171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7174 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7175 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7176   $as_echo_n "(cached) " >&6
   7177 else
   7178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7179 /* end confdefs.h.  */
   7180 int i;
   7181 _ACEOF
   7182 if ac_fn_c_try_compile "$LINENO"; then :
   7183   xorg_cv_cc_flag_unknown_warning_option=yes
   7184 else
   7185   xorg_cv_cc_flag_unknown_warning_option=no
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7188 fi
   7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7190 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7191 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7192 	CFLAGS="$xorg_testset_save_CFLAGS"
   7193 fi
   7194 
   7195 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7196 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7197 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7198 	fi
   7199 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7200 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7201 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7202 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7203   $as_echo_n "(cached) " >&6
   7204 else
   7205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 int i;
   7208 _ACEOF
   7209 if ac_fn_c_try_compile "$LINENO"; then :
   7210   xorg_cv_cc_flag_unused_command_line_argument=yes
   7211 else
   7212   xorg_cv_cc_flag_unused_command_line_argument=no
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7215 fi
   7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7217 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7219 	CFLAGS="$xorg_testset_save_CFLAGS"
   7220 fi
   7221 
   7222 found="no"
   7223 
   7224 	if test $found = "no" ; then
   7225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7227 		fi
   7228 
   7229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7231 		fi
   7232 
   7233 		CFLAGS="$CFLAGS -Werror=init-self"
   7234 
   7235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7236 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7237 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7238 		if eval \${$cacheid+:} false; then :
   7239   $as_echo_n "(cached) " >&6
   7240 else
   7241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7242 /* end confdefs.h.  */
   7243 int i;
   7244 int
   7245 main ()
   7246 {
   7247 
   7248   ;
   7249   return 0;
   7250 }
   7251 _ACEOF
   7252 if ac_fn_c_try_link "$LINENO"; then :
   7253   eval $cacheid=yes
   7254 else
   7255   eval $cacheid=no
   7256 fi
   7257 rm -f core conftest.err conftest.$ac_objext \
   7258     conftest$ac_exeext conftest.$ac_ext
   7259 fi
   7260 
   7261 
   7262 		CFLAGS="$xorg_testset_save_CFLAGS"
   7263 
   7264 		eval supported=\$$cacheid
   7265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7266 $as_echo "$supported" >&6; }
   7267 		if test "$supported" = "yes" ; then
   7268 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7269 			found="yes"
   7270 		fi
   7271 	fi
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 xorg_testset_save_CFLAGS="$CFLAGS"
   7288 
   7289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7292 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7293 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7294   $as_echo_n "(cached) " >&6
   7295 else
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 int i;
   7299 _ACEOF
   7300 if ac_fn_c_try_compile "$LINENO"; then :
   7301   xorg_cv_cc_flag_unknown_warning_option=yes
   7302 else
   7303   xorg_cv_cc_flag_unknown_warning_option=no
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7306 fi
   7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7308 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7310 	CFLAGS="$xorg_testset_save_CFLAGS"
   7311 fi
   7312 
   7313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7316 	fi
   7317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7319 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7320 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7321   $as_echo_n "(cached) " >&6
   7322 else
   7323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7324 /* end confdefs.h.  */
   7325 int i;
   7326 _ACEOF
   7327 if ac_fn_c_try_compile "$LINENO"; then :
   7328   xorg_cv_cc_flag_unused_command_line_argument=yes
   7329 else
   7330   xorg_cv_cc_flag_unused_command_line_argument=no
   7331 fi
   7332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7333 fi
   7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7335 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7337 	CFLAGS="$xorg_testset_save_CFLAGS"
   7338 fi
   7339 
   7340 found="no"
   7341 
   7342 	if test $found = "no" ; then
   7343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7345 		fi
   7346 
   7347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7349 		fi
   7350 
   7351 		CFLAGS="$CFLAGS -Werror=main"
   7352 
   7353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7354 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7355 		cacheid=xorg_cv_cc_flag__Werror_main
   7356 		if eval \${$cacheid+:} 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 int
   7363 main ()
   7364 {
   7365 
   7366   ;
   7367   return 0;
   7368 }
   7369 _ACEOF
   7370 if ac_fn_c_try_link "$LINENO"; then :
   7371   eval $cacheid=yes
   7372 else
   7373   eval $cacheid=no
   7374 fi
   7375 rm -f core conftest.err conftest.$ac_objext \
   7376     conftest$ac_exeext conftest.$ac_ext
   7377 fi
   7378 
   7379 
   7380 		CFLAGS="$xorg_testset_save_CFLAGS"
   7381 
   7382 		eval supported=\$$cacheid
   7383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7384 $as_echo "$supported" >&6; }
   7385 		if test "$supported" = "yes" ; then
   7386 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7387 			found="yes"
   7388 		fi
   7389 	fi
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 xorg_testset_save_CFLAGS="$CFLAGS"
   7406 
   7407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7410 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7411 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7412   $as_echo_n "(cached) " >&6
   7413 else
   7414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7415 /* end confdefs.h.  */
   7416 int i;
   7417 _ACEOF
   7418 if ac_fn_c_try_compile "$LINENO"; then :
   7419   xorg_cv_cc_flag_unknown_warning_option=yes
   7420 else
   7421   xorg_cv_cc_flag_unknown_warning_option=no
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7424 fi
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7426 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7428 	CFLAGS="$xorg_testset_save_CFLAGS"
   7429 fi
   7430 
   7431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7434 	fi
   7435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7437 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7438 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7439   $as_echo_n "(cached) " >&6
   7440 else
   7441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7442 /* end confdefs.h.  */
   7443 int i;
   7444 _ACEOF
   7445 if ac_fn_c_try_compile "$LINENO"; then :
   7446   xorg_cv_cc_flag_unused_command_line_argument=yes
   7447 else
   7448   xorg_cv_cc_flag_unused_command_line_argument=no
   7449 fi
   7450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7451 fi
   7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7453 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7455 	CFLAGS="$xorg_testset_save_CFLAGS"
   7456 fi
   7457 
   7458 found="no"
   7459 
   7460 	if test $found = "no" ; then
   7461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7463 		fi
   7464 
   7465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7467 		fi
   7468 
   7469 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7470 
   7471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7472 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7473 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7474 		if eval \${$cacheid+:} false; then :
   7475   $as_echo_n "(cached) " >&6
   7476 else
   7477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7478 /* end confdefs.h.  */
   7479 int i;
   7480 int
   7481 main ()
   7482 {
   7483 
   7484   ;
   7485   return 0;
   7486 }
   7487 _ACEOF
   7488 if ac_fn_c_try_link "$LINENO"; then :
   7489   eval $cacheid=yes
   7490 else
   7491   eval $cacheid=no
   7492 fi
   7493 rm -f core conftest.err conftest.$ac_objext \
   7494     conftest$ac_exeext conftest.$ac_ext
   7495 fi
   7496 
   7497 
   7498 		CFLAGS="$xorg_testset_save_CFLAGS"
   7499 
   7500 		eval supported=\$$cacheid
   7501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7502 $as_echo "$supported" >&6; }
   7503 		if test "$supported" = "yes" ; then
   7504 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7505 			found="yes"
   7506 		fi
   7507 	fi
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 xorg_testset_save_CFLAGS="$CFLAGS"
   7524 
   7525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7528 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7529 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7530   $as_echo_n "(cached) " >&6
   7531 else
   7532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7533 /* end confdefs.h.  */
   7534 int i;
   7535 _ACEOF
   7536 if ac_fn_c_try_compile "$LINENO"; then :
   7537   xorg_cv_cc_flag_unknown_warning_option=yes
   7538 else
   7539   xorg_cv_cc_flag_unknown_warning_option=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7542 fi
   7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7544 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7546 	CFLAGS="$xorg_testset_save_CFLAGS"
   7547 fi
   7548 
   7549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7552 	fi
   7553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7555 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7556 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7557   $as_echo_n "(cached) " >&6
   7558 else
   7559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7560 /* end confdefs.h.  */
   7561 int i;
   7562 _ACEOF
   7563 if ac_fn_c_try_compile "$LINENO"; then :
   7564   xorg_cv_cc_flag_unused_command_line_argument=yes
   7565 else
   7566   xorg_cv_cc_flag_unused_command_line_argument=no
   7567 fi
   7568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7569 fi
   7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7571 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7573 	CFLAGS="$xorg_testset_save_CFLAGS"
   7574 fi
   7575 
   7576 found="no"
   7577 
   7578 	if test $found = "no" ; then
   7579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 		fi
   7582 
   7583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7585 		fi
   7586 
   7587 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7588 
   7589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7590 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7591 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7592 		if eval \${$cacheid+:} false; then :
   7593   $as_echo_n "(cached) " >&6
   7594 else
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 int i;
   7598 int
   7599 main ()
   7600 {
   7601 
   7602   ;
   7603   return 0;
   7604 }
   7605 _ACEOF
   7606 if ac_fn_c_try_link "$LINENO"; then :
   7607   eval $cacheid=yes
   7608 else
   7609   eval $cacheid=no
   7610 fi
   7611 rm -f core conftest.err conftest.$ac_objext \
   7612     conftest$ac_exeext conftest.$ac_ext
   7613 fi
   7614 
   7615 
   7616 		CFLAGS="$xorg_testset_save_CFLAGS"
   7617 
   7618 		eval supported=\$$cacheid
   7619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7620 $as_echo "$supported" >&6; }
   7621 		if test "$supported" = "yes" ; then
   7622 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7623 			found="yes"
   7624 		fi
   7625 	fi
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 xorg_testset_save_CFLAGS="$CFLAGS"
   7642 
   7643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7646 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7647 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7648   $as_echo_n "(cached) " >&6
   7649 else
   7650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7651 /* end confdefs.h.  */
   7652 int i;
   7653 _ACEOF
   7654 if ac_fn_c_try_compile "$LINENO"; then :
   7655   xorg_cv_cc_flag_unknown_warning_option=yes
   7656 else
   7657   xorg_cv_cc_flag_unknown_warning_option=no
   7658 fi
   7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7660 fi
   7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7662 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7664 	CFLAGS="$xorg_testset_save_CFLAGS"
   7665 fi
   7666 
   7667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7670 	fi
   7671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7673 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7674 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7675   $as_echo_n "(cached) " >&6
   7676 else
   7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 _ACEOF
   7681 if ac_fn_c_try_compile "$LINENO"; then :
   7682   xorg_cv_cc_flag_unused_command_line_argument=yes
   7683 else
   7684   xorg_cv_cc_flag_unused_command_line_argument=no
   7685 fi
   7686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7687 fi
   7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7689 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7691 	CFLAGS="$xorg_testset_save_CFLAGS"
   7692 fi
   7693 
   7694 found="no"
   7695 
   7696 	if test $found = "no" ; then
   7697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7699 		fi
   7700 
   7701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7703 		fi
   7704 
   7705 		CFLAGS="$CFLAGS -Werror=return-type"
   7706 
   7707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7708 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7709 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7710 		if eval \${$cacheid+:} false; then :
   7711   $as_echo_n "(cached) " >&6
   7712 else
   7713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7714 /* end confdefs.h.  */
   7715 int i;
   7716 int
   7717 main ()
   7718 {
   7719 
   7720   ;
   7721   return 0;
   7722 }
   7723 _ACEOF
   7724 if ac_fn_c_try_link "$LINENO"; then :
   7725   eval $cacheid=yes
   7726 else
   7727   eval $cacheid=no
   7728 fi
   7729 rm -f core conftest.err conftest.$ac_objext \
   7730     conftest$ac_exeext conftest.$ac_ext
   7731 fi
   7732 
   7733 
   7734 		CFLAGS="$xorg_testset_save_CFLAGS"
   7735 
   7736 		eval supported=\$$cacheid
   7737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7738 $as_echo "$supported" >&6; }
   7739 		if test "$supported" = "yes" ; then
   7740 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7741 			found="yes"
   7742 		fi
   7743 	fi
   7744 
   7745 	if test $found = "no" ; then
   7746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7748 		fi
   7749 
   7750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7752 		fi
   7753 
   7754 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7755 
   7756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7757 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7758 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7759 		if eval \${$cacheid+:} 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 int
   7766 main ()
   7767 {
   7768 
   7769   ;
   7770   return 0;
   7771 }
   7772 _ACEOF
   7773 if ac_fn_c_try_link "$LINENO"; then :
   7774   eval $cacheid=yes
   7775 else
   7776   eval $cacheid=no
   7777 fi
   7778 rm -f core conftest.err conftest.$ac_objext \
   7779     conftest$ac_exeext conftest.$ac_ext
   7780 fi
   7781 
   7782 
   7783 		CFLAGS="$xorg_testset_save_CFLAGS"
   7784 
   7785 		eval supported=\$$cacheid
   7786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7787 $as_echo "$supported" >&6; }
   7788 		if test "$supported" = "yes" ; then
   7789 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7790 			found="yes"
   7791 		fi
   7792 	fi
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 xorg_testset_save_CFLAGS="$CFLAGS"
   7809 
   7810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7815   $as_echo_n "(cached) " >&6
   7816 else
   7817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7818 /* end confdefs.h.  */
   7819 int i;
   7820 _ACEOF
   7821 if ac_fn_c_try_compile "$LINENO"; then :
   7822   xorg_cv_cc_flag_unknown_warning_option=yes
   7823 else
   7824   xorg_cv_cc_flag_unknown_warning_option=no
   7825 fi
   7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7827 fi
   7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7831 	CFLAGS="$xorg_testset_save_CFLAGS"
   7832 fi
   7833 
   7834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7837 	fi
   7838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7842   $as_echo_n "(cached) " >&6
   7843 else
   7844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7845 /* end confdefs.h.  */
   7846 int i;
   7847 _ACEOF
   7848 if ac_fn_c_try_compile "$LINENO"; then :
   7849   xorg_cv_cc_flag_unused_command_line_argument=yes
   7850 else
   7851   xorg_cv_cc_flag_unused_command_line_argument=no
   7852 fi
   7853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7854 fi
   7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7858 	CFLAGS="$xorg_testset_save_CFLAGS"
   7859 fi
   7860 
   7861 found="no"
   7862 
   7863 	if test $found = "no" ; then
   7864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7866 		fi
   7867 
   7868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7870 		fi
   7871 
   7872 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7873 
   7874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7875 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7876 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7877 		if eval \${$cacheid+:} 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 int
   7884 main ()
   7885 {
   7886 
   7887   ;
   7888   return 0;
   7889 }
   7890 _ACEOF
   7891 if ac_fn_c_try_link "$LINENO"; then :
   7892   eval $cacheid=yes
   7893 else
   7894   eval $cacheid=no
   7895 fi
   7896 rm -f core conftest.err conftest.$ac_objext \
   7897     conftest$ac_exeext conftest.$ac_ext
   7898 fi
   7899 
   7900 
   7901 		CFLAGS="$xorg_testset_save_CFLAGS"
   7902 
   7903 		eval supported=\$$cacheid
   7904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7905 $as_echo "$supported" >&6; }
   7906 		if test "$supported" = "yes" ; then
   7907 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7908 			found="yes"
   7909 		fi
   7910 	fi
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 xorg_testset_save_CFLAGS="$CFLAGS"
   7927 
   7928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7932 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7933   $as_echo_n "(cached) " >&6
   7934 else
   7935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7936 /* end confdefs.h.  */
   7937 int i;
   7938 _ACEOF
   7939 if ac_fn_c_try_compile "$LINENO"; then :
   7940   xorg_cv_cc_flag_unknown_warning_option=yes
   7941 else
   7942   xorg_cv_cc_flag_unknown_warning_option=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7945 fi
   7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7947 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7949 	CFLAGS="$xorg_testset_save_CFLAGS"
   7950 fi
   7951 
   7952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7955 	fi
   7956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7958 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7959 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7960   $as_echo_n "(cached) " >&6
   7961 else
   7962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 _ACEOF
   7966 if ac_fn_c_try_compile "$LINENO"; then :
   7967   xorg_cv_cc_flag_unused_command_line_argument=yes
   7968 else
   7969   xorg_cv_cc_flag_unused_command_line_argument=no
   7970 fi
   7971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7972 fi
   7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7974 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7976 	CFLAGS="$xorg_testset_save_CFLAGS"
   7977 fi
   7978 
   7979 found="no"
   7980 
   7981 	if test $found = "no" ; then
   7982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7984 		fi
   7985 
   7986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7988 		fi
   7989 
   7990 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7991 
   7992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7993 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7994 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7995 		if eval \${$cacheid+:} 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 int
   8002 main ()
   8003 {
   8004 
   8005   ;
   8006   return 0;
   8007 }
   8008 _ACEOF
   8009 if ac_fn_c_try_link "$LINENO"; then :
   8010   eval $cacheid=yes
   8011 else
   8012   eval $cacheid=no
   8013 fi
   8014 rm -f core conftest.err conftest.$ac_objext \
   8015     conftest$ac_exeext conftest.$ac_ext
   8016 fi
   8017 
   8018 
   8019 		CFLAGS="$xorg_testset_save_CFLAGS"
   8020 
   8021 		eval supported=\$$cacheid
   8022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8023 $as_echo "$supported" >&6; }
   8024 		if test "$supported" = "yes" ; then
   8025 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8026 			found="yes"
   8027 		fi
   8028 	fi
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 xorg_testset_save_CFLAGS="$CFLAGS"
   8045 
   8046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8051   $as_echo_n "(cached) " >&6
   8052 else
   8053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8054 /* end confdefs.h.  */
   8055 int i;
   8056 _ACEOF
   8057 if ac_fn_c_try_compile "$LINENO"; then :
   8058   xorg_cv_cc_flag_unknown_warning_option=yes
   8059 else
   8060   xorg_cv_cc_flag_unknown_warning_option=no
   8061 fi
   8062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8063 fi
   8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8067 	CFLAGS="$xorg_testset_save_CFLAGS"
   8068 fi
   8069 
   8070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8073 	fi
   8074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8078   $as_echo_n "(cached) " >&6
   8079 else
   8080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8081 /* end confdefs.h.  */
   8082 int i;
   8083 _ACEOF
   8084 if ac_fn_c_try_compile "$LINENO"; then :
   8085   xorg_cv_cc_flag_unused_command_line_argument=yes
   8086 else
   8087   xorg_cv_cc_flag_unused_command_line_argument=no
   8088 fi
   8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8090 fi
   8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8094 	CFLAGS="$xorg_testset_save_CFLAGS"
   8095 fi
   8096 
   8097 found="no"
   8098 
   8099 	if test $found = "no" ; then
   8100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 		fi
   8103 
   8104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8106 		fi
   8107 
   8108 		CFLAGS="$CFLAGS -Werror=write-strings"
   8109 
   8110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8111 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8112 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8113 		if eval \${$cacheid+:} 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 int
   8120 main ()
   8121 {
   8122 
   8123   ;
   8124   return 0;
   8125 }
   8126 _ACEOF
   8127 if ac_fn_c_try_link "$LINENO"; then :
   8128   eval $cacheid=yes
   8129 else
   8130   eval $cacheid=no
   8131 fi
   8132 rm -f core conftest.err conftest.$ac_objext \
   8133     conftest$ac_exeext conftest.$ac_ext
   8134 fi
   8135 
   8136 
   8137 		CFLAGS="$xorg_testset_save_CFLAGS"
   8138 
   8139 		eval supported=\$$cacheid
   8140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8141 $as_echo "$supported" >&6; }
   8142 		if test "$supported" = "yes" ; then
   8143 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8144 			found="yes"
   8145 		fi
   8146 	fi
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 xorg_testset_save_CFLAGS="$CFLAGS"
   8163 
   8164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8169   $as_echo_n "(cached) " >&6
   8170 else
   8171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8172 /* end confdefs.h.  */
   8173 int i;
   8174 _ACEOF
   8175 if ac_fn_c_try_compile "$LINENO"; then :
   8176   xorg_cv_cc_flag_unknown_warning_option=yes
   8177 else
   8178   xorg_cv_cc_flag_unknown_warning_option=no
   8179 fi
   8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8181 fi
   8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8185 	CFLAGS="$xorg_testset_save_CFLAGS"
   8186 fi
   8187 
   8188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8191 	fi
   8192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8196   $as_echo_n "(cached) " >&6
   8197 else
   8198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8199 /* end confdefs.h.  */
   8200 int i;
   8201 _ACEOF
   8202 if ac_fn_c_try_compile "$LINENO"; then :
   8203   xorg_cv_cc_flag_unused_command_line_argument=yes
   8204 else
   8205   xorg_cv_cc_flag_unused_command_line_argument=no
   8206 fi
   8207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8208 fi
   8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8212 	CFLAGS="$xorg_testset_save_CFLAGS"
   8213 fi
   8214 
   8215 found="no"
   8216 
   8217 	if test $found = "no" ; then
   8218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8220 		fi
   8221 
   8222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8224 		fi
   8225 
   8226 		CFLAGS="$CFLAGS -Werror=address"
   8227 
   8228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8229 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8230 		cacheid=xorg_cv_cc_flag__Werror_address
   8231 		if eval \${$cacheid+:} false; then :
   8232   $as_echo_n "(cached) " >&6
   8233 else
   8234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8235 /* end confdefs.h.  */
   8236 int i;
   8237 int
   8238 main ()
   8239 {
   8240 
   8241   ;
   8242   return 0;
   8243 }
   8244 _ACEOF
   8245 if ac_fn_c_try_link "$LINENO"; then :
   8246   eval $cacheid=yes
   8247 else
   8248   eval $cacheid=no
   8249 fi
   8250 rm -f core conftest.err conftest.$ac_objext \
   8251     conftest$ac_exeext conftest.$ac_ext
   8252 fi
   8253 
   8254 
   8255 		CFLAGS="$xorg_testset_save_CFLAGS"
   8256 
   8257 		eval supported=\$$cacheid
   8258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8259 $as_echo "$supported" >&6; }
   8260 		if test "$supported" = "yes" ; then
   8261 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8262 			found="yes"
   8263 		fi
   8264 	fi
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 xorg_testset_save_CFLAGS="$CFLAGS"
   8281 
   8282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8290 /* end confdefs.h.  */
   8291 int i;
   8292 _ACEOF
   8293 if ac_fn_c_try_compile "$LINENO"; then :
   8294   xorg_cv_cc_flag_unknown_warning_option=yes
   8295 else
   8296   xorg_cv_cc_flag_unknown_warning_option=no
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8299 fi
   8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8303 	CFLAGS="$xorg_testset_save_CFLAGS"
   8304 fi
   8305 
   8306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8309 	fi
   8310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8314   $as_echo_n "(cached) " >&6
   8315 else
   8316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8317 /* end confdefs.h.  */
   8318 int i;
   8319 _ACEOF
   8320 if ac_fn_c_try_compile "$LINENO"; then :
   8321   xorg_cv_cc_flag_unused_command_line_argument=yes
   8322 else
   8323   xorg_cv_cc_flag_unused_command_line_argument=no
   8324 fi
   8325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8326 fi
   8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8330 	CFLAGS="$xorg_testset_save_CFLAGS"
   8331 fi
   8332 
   8333 found="no"
   8334 
   8335 	if test $found = "no" ; then
   8336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8338 		fi
   8339 
   8340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8342 		fi
   8343 
   8344 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8345 
   8346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8347 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8348 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8349 		if eval \${$cacheid+:} false; then :
   8350   $as_echo_n "(cached) " >&6
   8351 else
   8352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8353 /* end confdefs.h.  */
   8354 int i;
   8355 int
   8356 main ()
   8357 {
   8358 
   8359   ;
   8360   return 0;
   8361 }
   8362 _ACEOF
   8363 if ac_fn_c_try_link "$LINENO"; then :
   8364   eval $cacheid=yes
   8365 else
   8366   eval $cacheid=no
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext \
   8369     conftest$ac_exeext conftest.$ac_ext
   8370 fi
   8371 
   8372 
   8373 		CFLAGS="$xorg_testset_save_CFLAGS"
   8374 
   8375 		eval supported=\$$cacheid
   8376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8377 $as_echo "$supported" >&6; }
   8378 		if test "$supported" = "yes" ; then
   8379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8380 			found="yes"
   8381 		fi
   8382 	fi
   8383 
   8384 	if test $found = "no" ; then
   8385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8387 		fi
   8388 
   8389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8391 		fi
   8392 
   8393 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8394 
   8395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8396 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8397 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8398 		if eval \${$cacheid+:} 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 int
   8405 main ()
   8406 {
   8407 
   8408   ;
   8409   return 0;
   8410 }
   8411 _ACEOF
   8412 if ac_fn_c_try_link "$LINENO"; then :
   8413   eval $cacheid=yes
   8414 else
   8415   eval $cacheid=no
   8416 fi
   8417 rm -f core conftest.err conftest.$ac_objext \
   8418     conftest$ac_exeext conftest.$ac_ext
   8419 fi
   8420 
   8421 
   8422 		CFLAGS="$xorg_testset_save_CFLAGS"
   8423 
   8424 		eval supported=\$$cacheid
   8425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8426 $as_echo "$supported" >&6; }
   8427 		if test "$supported" = "yes" ; then
   8428 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8429 			found="yes"
   8430 		fi
   8431 	fi
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 xorg_testset_save_CFLAGS="$CFLAGS"
   8448 
   8449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8454   $as_echo_n "(cached) " >&6
   8455 else
   8456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8457 /* end confdefs.h.  */
   8458 int i;
   8459 _ACEOF
   8460 if ac_fn_c_try_compile "$LINENO"; then :
   8461   xorg_cv_cc_flag_unknown_warning_option=yes
   8462 else
   8463   xorg_cv_cc_flag_unknown_warning_option=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8466 fi
   8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8470 	CFLAGS="$xorg_testset_save_CFLAGS"
   8471 fi
   8472 
   8473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8476 	fi
   8477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8481   $as_echo_n "(cached) " >&6
   8482 else
   8483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8484 /* end confdefs.h.  */
   8485 int i;
   8486 _ACEOF
   8487 if ac_fn_c_try_compile "$LINENO"; then :
   8488   xorg_cv_cc_flag_unused_command_line_argument=yes
   8489 else
   8490   xorg_cv_cc_flag_unused_command_line_argument=no
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8493 fi
   8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8497 	CFLAGS="$xorg_testset_save_CFLAGS"
   8498 fi
   8499 
   8500 found="no"
   8501 
   8502 	if test $found = "no" ; then
   8503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8505 		fi
   8506 
   8507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8509 		fi
   8510 
   8511 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8512 
   8513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8514 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8515 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8516 		if eval \${$cacheid+:} 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 int
   8523 main ()
   8524 {
   8525 
   8526   ;
   8527   return 0;
   8528 }
   8529 _ACEOF
   8530 if ac_fn_c_try_link "$LINENO"; then :
   8531   eval $cacheid=yes
   8532 else
   8533   eval $cacheid=no
   8534 fi
   8535 rm -f core conftest.err conftest.$ac_objext \
   8536     conftest$ac_exeext conftest.$ac_ext
   8537 fi
   8538 
   8539 
   8540 		CFLAGS="$xorg_testset_save_CFLAGS"
   8541 
   8542 		eval supported=\$$cacheid
   8543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8544 $as_echo "$supported" >&6; }
   8545 		if test "$supported" = "yes" ; then
   8546 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8547 			found="yes"
   8548 		fi
   8549 	fi
   8550 
   8551  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8552 else
   8553 { $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
   8554 $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;}
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 xorg_testset_save_CFLAGS="$CFLAGS"
   8569 
   8570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8573 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8574 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8575   $as_echo_n "(cached) " >&6
   8576 else
   8577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8578 /* end confdefs.h.  */
   8579 int i;
   8580 _ACEOF
   8581 if ac_fn_c_try_compile "$LINENO"; then :
   8582   xorg_cv_cc_flag_unknown_warning_option=yes
   8583 else
   8584   xorg_cv_cc_flag_unknown_warning_option=no
   8585 fi
   8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8587 fi
   8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8589 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8591 	CFLAGS="$xorg_testset_save_CFLAGS"
   8592 fi
   8593 
   8594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8597 	fi
   8598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8600 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8601 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8602   $as_echo_n "(cached) " >&6
   8603 else
   8604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8605 /* end confdefs.h.  */
   8606 int i;
   8607 _ACEOF
   8608 if ac_fn_c_try_compile "$LINENO"; then :
   8609   xorg_cv_cc_flag_unused_command_line_argument=yes
   8610 else
   8611   xorg_cv_cc_flag_unused_command_line_argument=no
   8612 fi
   8613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8614 fi
   8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8616 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8618 	CFLAGS="$xorg_testset_save_CFLAGS"
   8619 fi
   8620 
   8621 found="no"
   8622 
   8623 	if test $found = "no" ; then
   8624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8626 		fi
   8627 
   8628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8630 		fi
   8631 
   8632 		CFLAGS="$CFLAGS -Wimplicit"
   8633 
   8634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8635 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8636 		cacheid=xorg_cv_cc_flag__Wimplicit
   8637 		if eval \${$cacheid+:} false; then :
   8638   $as_echo_n "(cached) " >&6
   8639 else
   8640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8641 /* end confdefs.h.  */
   8642 int i;
   8643 int
   8644 main ()
   8645 {
   8646 
   8647   ;
   8648   return 0;
   8649 }
   8650 _ACEOF
   8651 if ac_fn_c_try_link "$LINENO"; then :
   8652   eval $cacheid=yes
   8653 else
   8654   eval $cacheid=no
   8655 fi
   8656 rm -f core conftest.err conftest.$ac_objext \
   8657     conftest$ac_exeext conftest.$ac_ext
   8658 fi
   8659 
   8660 
   8661 		CFLAGS="$xorg_testset_save_CFLAGS"
   8662 
   8663 		eval supported=\$$cacheid
   8664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8665 $as_echo "$supported" >&6; }
   8666 		if test "$supported" = "yes" ; then
   8667 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8668 			found="yes"
   8669 		fi
   8670 	fi
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 xorg_testset_save_CFLAGS="$CFLAGS"
   8687 
   8688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8691 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8692 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8693   $as_echo_n "(cached) " >&6
   8694 else
   8695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8696 /* end confdefs.h.  */
   8697 int i;
   8698 _ACEOF
   8699 if ac_fn_c_try_compile "$LINENO"; then :
   8700   xorg_cv_cc_flag_unknown_warning_option=yes
   8701 else
   8702   xorg_cv_cc_flag_unknown_warning_option=no
   8703 fi
   8704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8705 fi
   8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8707 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8709 	CFLAGS="$xorg_testset_save_CFLAGS"
   8710 fi
   8711 
   8712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8715 	fi
   8716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8718 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8719 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8720   $as_echo_n "(cached) " >&6
   8721 else
   8722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8723 /* end confdefs.h.  */
   8724 int i;
   8725 _ACEOF
   8726 if ac_fn_c_try_compile "$LINENO"; then :
   8727   xorg_cv_cc_flag_unused_command_line_argument=yes
   8728 else
   8729   xorg_cv_cc_flag_unused_command_line_argument=no
   8730 fi
   8731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8732 fi
   8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8734 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8736 	CFLAGS="$xorg_testset_save_CFLAGS"
   8737 fi
   8738 
   8739 found="no"
   8740 
   8741 	if test $found = "no" ; then
   8742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8744 		fi
   8745 
   8746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8748 		fi
   8749 
   8750 		CFLAGS="$CFLAGS -Wnonnull"
   8751 
   8752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8753 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8754 		cacheid=xorg_cv_cc_flag__Wnonnull
   8755 		if eval \${$cacheid+:} false; then :
   8756   $as_echo_n "(cached) " >&6
   8757 else
   8758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8759 /* end confdefs.h.  */
   8760 int i;
   8761 int
   8762 main ()
   8763 {
   8764 
   8765   ;
   8766   return 0;
   8767 }
   8768 _ACEOF
   8769 if ac_fn_c_try_link "$LINENO"; then :
   8770   eval $cacheid=yes
   8771 else
   8772   eval $cacheid=no
   8773 fi
   8774 rm -f core conftest.err conftest.$ac_objext \
   8775     conftest$ac_exeext conftest.$ac_ext
   8776 fi
   8777 
   8778 
   8779 		CFLAGS="$xorg_testset_save_CFLAGS"
   8780 
   8781 		eval supported=\$$cacheid
   8782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8783 $as_echo "$supported" >&6; }
   8784 		if test "$supported" = "yes" ; then
   8785 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8786 			found="yes"
   8787 		fi
   8788 	fi
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 xorg_testset_save_CFLAGS="$CFLAGS"
   8805 
   8806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8809 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8810 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8811   $as_echo_n "(cached) " >&6
   8812 else
   8813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8814 /* end confdefs.h.  */
   8815 int i;
   8816 _ACEOF
   8817 if ac_fn_c_try_compile "$LINENO"; then :
   8818   xorg_cv_cc_flag_unknown_warning_option=yes
   8819 else
   8820   xorg_cv_cc_flag_unknown_warning_option=no
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8823 fi
   8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8825 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8827 	CFLAGS="$xorg_testset_save_CFLAGS"
   8828 fi
   8829 
   8830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8833 	fi
   8834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8836 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8837 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8844 if ac_fn_c_try_compile "$LINENO"; then :
   8845   xorg_cv_cc_flag_unused_command_line_argument=yes
   8846 else
   8847   xorg_cv_cc_flag_unused_command_line_argument=no
   8848 fi
   8849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8850 fi
   8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8852 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8854 	CFLAGS="$xorg_testset_save_CFLAGS"
   8855 fi
   8856 
   8857 found="no"
   8858 
   8859 	if test $found = "no" ; then
   8860 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8862 		fi
   8863 
   8864 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8866 		fi
   8867 
   8868 		CFLAGS="$CFLAGS -Winit-self"
   8869 
   8870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8871 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8872 		cacheid=xorg_cv_cc_flag__Winit_self
   8873 		if eval \${$cacheid+:} false; then :
   8874   $as_echo_n "(cached) " >&6
   8875 else
   8876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8877 /* end confdefs.h.  */
   8878 int i;
   8879 int
   8880 main ()
   8881 {
   8882 
   8883   ;
   8884   return 0;
   8885 }
   8886 _ACEOF
   8887 if ac_fn_c_try_link "$LINENO"; then :
   8888   eval $cacheid=yes
   8889 else
   8890   eval $cacheid=no
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext \
   8893     conftest$ac_exeext conftest.$ac_ext
   8894 fi
   8895 
   8896 
   8897 		CFLAGS="$xorg_testset_save_CFLAGS"
   8898 
   8899 		eval supported=\$$cacheid
   8900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8901 $as_echo "$supported" >&6; }
   8902 		if test "$supported" = "yes" ; then
   8903 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8904 			found="yes"
   8905 		fi
   8906 	fi
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 xorg_testset_save_CFLAGS="$CFLAGS"
   8923 
   8924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8927 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8928 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8929   $as_echo_n "(cached) " >&6
   8930 else
   8931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8932 /* end confdefs.h.  */
   8933 int i;
   8934 _ACEOF
   8935 if ac_fn_c_try_compile "$LINENO"; then :
   8936   xorg_cv_cc_flag_unknown_warning_option=yes
   8937 else
   8938   xorg_cv_cc_flag_unknown_warning_option=no
   8939 fi
   8940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8941 fi
   8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8943 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8945 	CFLAGS="$xorg_testset_save_CFLAGS"
   8946 fi
   8947 
   8948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8951 	fi
   8952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8954 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8955 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8956   $as_echo_n "(cached) " >&6
   8957 else
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 _ACEOF
   8962 if ac_fn_c_try_compile "$LINENO"; then :
   8963   xorg_cv_cc_flag_unused_command_line_argument=yes
   8964 else
   8965   xorg_cv_cc_flag_unused_command_line_argument=no
   8966 fi
   8967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8968 fi
   8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8970 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8972 	CFLAGS="$xorg_testset_save_CFLAGS"
   8973 fi
   8974 
   8975 found="no"
   8976 
   8977 	if test $found = "no" ; then
   8978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8980 		fi
   8981 
   8982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8984 		fi
   8985 
   8986 		CFLAGS="$CFLAGS -Wmain"
   8987 
   8988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8989 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8990 		cacheid=xorg_cv_cc_flag__Wmain
   8991 		if eval \${$cacheid+:} false; then :
   8992   $as_echo_n "(cached) " >&6
   8993 else
   8994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8995 /* end confdefs.h.  */
   8996 int i;
   8997 int
   8998 main ()
   8999 {
   9000 
   9001   ;
   9002   return 0;
   9003 }
   9004 _ACEOF
   9005 if ac_fn_c_try_link "$LINENO"; then :
   9006   eval $cacheid=yes
   9007 else
   9008   eval $cacheid=no
   9009 fi
   9010 rm -f core conftest.err conftest.$ac_objext \
   9011     conftest$ac_exeext conftest.$ac_ext
   9012 fi
   9013 
   9014 
   9015 		CFLAGS="$xorg_testset_save_CFLAGS"
   9016 
   9017 		eval supported=\$$cacheid
   9018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9019 $as_echo "$supported" >&6; }
   9020 		if test "$supported" = "yes" ; then
   9021 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9022 			found="yes"
   9023 		fi
   9024 	fi
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 xorg_testset_save_CFLAGS="$CFLAGS"
   9041 
   9042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9047   $as_echo_n "(cached) " >&6
   9048 else
   9049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9050 /* end confdefs.h.  */
   9051 int i;
   9052 _ACEOF
   9053 if ac_fn_c_try_compile "$LINENO"; then :
   9054   xorg_cv_cc_flag_unknown_warning_option=yes
   9055 else
   9056   xorg_cv_cc_flag_unknown_warning_option=no
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9059 fi
   9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9063 	CFLAGS="$xorg_testset_save_CFLAGS"
   9064 fi
   9065 
   9066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9069 	fi
   9070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9074   $as_echo_n "(cached) " >&6
   9075 else
   9076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9077 /* end confdefs.h.  */
   9078 int i;
   9079 _ACEOF
   9080 if ac_fn_c_try_compile "$LINENO"; then :
   9081   xorg_cv_cc_flag_unused_command_line_argument=yes
   9082 else
   9083   xorg_cv_cc_flag_unused_command_line_argument=no
   9084 fi
   9085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9086 fi
   9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9090 	CFLAGS="$xorg_testset_save_CFLAGS"
   9091 fi
   9092 
   9093 found="no"
   9094 
   9095 	if test $found = "no" ; then
   9096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9098 		fi
   9099 
   9100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9102 		fi
   9103 
   9104 		CFLAGS="$CFLAGS -Wmissing-braces"
   9105 
   9106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9107 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9108 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9109 		if eval \${$cacheid+:} false; then :
   9110   $as_echo_n "(cached) " >&6
   9111 else
   9112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9113 /* end confdefs.h.  */
   9114 int i;
   9115 int
   9116 main ()
   9117 {
   9118 
   9119   ;
   9120   return 0;
   9121 }
   9122 _ACEOF
   9123 if ac_fn_c_try_link "$LINENO"; then :
   9124   eval $cacheid=yes
   9125 else
   9126   eval $cacheid=no
   9127 fi
   9128 rm -f core conftest.err conftest.$ac_objext \
   9129     conftest$ac_exeext conftest.$ac_ext
   9130 fi
   9131 
   9132 
   9133 		CFLAGS="$xorg_testset_save_CFLAGS"
   9134 
   9135 		eval supported=\$$cacheid
   9136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9137 $as_echo "$supported" >&6; }
   9138 		if test "$supported" = "yes" ; then
   9139 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9140 			found="yes"
   9141 		fi
   9142 	fi
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 xorg_testset_save_CFLAGS="$CFLAGS"
   9159 
   9160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9165   $as_echo_n "(cached) " >&6
   9166 else
   9167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9168 /* end confdefs.h.  */
   9169 int i;
   9170 _ACEOF
   9171 if ac_fn_c_try_compile "$LINENO"; then :
   9172   xorg_cv_cc_flag_unknown_warning_option=yes
   9173 else
   9174   xorg_cv_cc_flag_unknown_warning_option=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9177 fi
   9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9181 	CFLAGS="$xorg_testset_save_CFLAGS"
   9182 fi
   9183 
   9184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9187 	fi
   9188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9192   $as_echo_n "(cached) " >&6
   9193 else
   9194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9195 /* end confdefs.h.  */
   9196 int i;
   9197 _ACEOF
   9198 if ac_fn_c_try_compile "$LINENO"; then :
   9199   xorg_cv_cc_flag_unused_command_line_argument=yes
   9200 else
   9201   xorg_cv_cc_flag_unused_command_line_argument=no
   9202 fi
   9203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9204 fi
   9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9208 	CFLAGS="$xorg_testset_save_CFLAGS"
   9209 fi
   9210 
   9211 found="no"
   9212 
   9213 	if test $found = "no" ; then
   9214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9216 		fi
   9217 
   9218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9220 		fi
   9221 
   9222 		CFLAGS="$CFLAGS -Wsequence-point"
   9223 
   9224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9225 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9226 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9227 		if eval \${$cacheid+:} false; then :
   9228   $as_echo_n "(cached) " >&6
   9229 else
   9230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9231 /* end confdefs.h.  */
   9232 int i;
   9233 int
   9234 main ()
   9235 {
   9236 
   9237   ;
   9238   return 0;
   9239 }
   9240 _ACEOF
   9241 if ac_fn_c_try_link "$LINENO"; then :
   9242   eval $cacheid=yes
   9243 else
   9244   eval $cacheid=no
   9245 fi
   9246 rm -f core conftest.err conftest.$ac_objext \
   9247     conftest$ac_exeext conftest.$ac_ext
   9248 fi
   9249 
   9250 
   9251 		CFLAGS="$xorg_testset_save_CFLAGS"
   9252 
   9253 		eval supported=\$$cacheid
   9254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9255 $as_echo "$supported" >&6; }
   9256 		if test "$supported" = "yes" ; then
   9257 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9258 			found="yes"
   9259 		fi
   9260 	fi
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 xorg_testset_save_CFLAGS="$CFLAGS"
   9277 
   9278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9281 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9282 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9283   $as_echo_n "(cached) " >&6
   9284 else
   9285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9286 /* end confdefs.h.  */
   9287 int i;
   9288 _ACEOF
   9289 if ac_fn_c_try_compile "$LINENO"; then :
   9290   xorg_cv_cc_flag_unknown_warning_option=yes
   9291 else
   9292   xorg_cv_cc_flag_unknown_warning_option=no
   9293 fi
   9294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9295 fi
   9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9297 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9299 	CFLAGS="$xorg_testset_save_CFLAGS"
   9300 fi
   9301 
   9302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9305 	fi
   9306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9308 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9309 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9310   $as_echo_n "(cached) " >&6
   9311 else
   9312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 _ACEOF
   9316 if ac_fn_c_try_compile "$LINENO"; then :
   9317   xorg_cv_cc_flag_unused_command_line_argument=yes
   9318 else
   9319   xorg_cv_cc_flag_unused_command_line_argument=no
   9320 fi
   9321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9322 fi
   9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9324 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9326 	CFLAGS="$xorg_testset_save_CFLAGS"
   9327 fi
   9328 
   9329 found="no"
   9330 
   9331 	if test $found = "no" ; then
   9332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9334 		fi
   9335 
   9336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9338 		fi
   9339 
   9340 		CFLAGS="$CFLAGS -Wreturn-type"
   9341 
   9342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9343 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9344 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9345 		if eval \${$cacheid+:} false; then :
   9346   $as_echo_n "(cached) " >&6
   9347 else
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 int
   9352 main ()
   9353 {
   9354 
   9355   ;
   9356   return 0;
   9357 }
   9358 _ACEOF
   9359 if ac_fn_c_try_link "$LINENO"; then :
   9360   eval $cacheid=yes
   9361 else
   9362   eval $cacheid=no
   9363 fi
   9364 rm -f core conftest.err conftest.$ac_objext \
   9365     conftest$ac_exeext conftest.$ac_ext
   9366 fi
   9367 
   9368 
   9369 		CFLAGS="$xorg_testset_save_CFLAGS"
   9370 
   9371 		eval supported=\$$cacheid
   9372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9373 $as_echo "$supported" >&6; }
   9374 		if test "$supported" = "yes" ; then
   9375 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9376 			found="yes"
   9377 		fi
   9378 	fi
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 xorg_testset_save_CFLAGS="$CFLAGS"
   9395 
   9396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9399 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9400 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9401   $as_echo_n "(cached) " >&6
   9402 else
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 _ACEOF
   9407 if ac_fn_c_try_compile "$LINENO"; then :
   9408   xorg_cv_cc_flag_unknown_warning_option=yes
   9409 else
   9410   xorg_cv_cc_flag_unknown_warning_option=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9413 fi
   9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9415 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9417 	CFLAGS="$xorg_testset_save_CFLAGS"
   9418 fi
   9419 
   9420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9423 	fi
   9424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9426 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9427 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9428   $as_echo_n "(cached) " >&6
   9429 else
   9430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9431 /* end confdefs.h.  */
   9432 int i;
   9433 _ACEOF
   9434 if ac_fn_c_try_compile "$LINENO"; then :
   9435   xorg_cv_cc_flag_unused_command_line_argument=yes
   9436 else
   9437   xorg_cv_cc_flag_unused_command_line_argument=no
   9438 fi
   9439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9440 fi
   9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9442 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9444 	CFLAGS="$xorg_testset_save_CFLAGS"
   9445 fi
   9446 
   9447 found="no"
   9448 
   9449 	if test $found = "no" ; then
   9450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9452 		fi
   9453 
   9454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9456 		fi
   9457 
   9458 		CFLAGS="$CFLAGS -Wtrigraphs"
   9459 
   9460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9461 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9462 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9463 		if eval \${$cacheid+:} false; then :
   9464   $as_echo_n "(cached) " >&6
   9465 else
   9466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9467 /* end confdefs.h.  */
   9468 int i;
   9469 int
   9470 main ()
   9471 {
   9472 
   9473   ;
   9474   return 0;
   9475 }
   9476 _ACEOF
   9477 if ac_fn_c_try_link "$LINENO"; then :
   9478   eval $cacheid=yes
   9479 else
   9480   eval $cacheid=no
   9481 fi
   9482 rm -f core conftest.err conftest.$ac_objext \
   9483     conftest$ac_exeext conftest.$ac_ext
   9484 fi
   9485 
   9486 
   9487 		CFLAGS="$xorg_testset_save_CFLAGS"
   9488 
   9489 		eval supported=\$$cacheid
   9490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9491 $as_echo "$supported" >&6; }
   9492 		if test "$supported" = "yes" ; then
   9493 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9494 			found="yes"
   9495 		fi
   9496 	fi
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 xorg_testset_save_CFLAGS="$CFLAGS"
   9513 
   9514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9517 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9518 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9519   $as_echo_n "(cached) " >&6
   9520 else
   9521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9522 /* end confdefs.h.  */
   9523 int i;
   9524 _ACEOF
   9525 if ac_fn_c_try_compile "$LINENO"; then :
   9526   xorg_cv_cc_flag_unknown_warning_option=yes
   9527 else
   9528   xorg_cv_cc_flag_unknown_warning_option=no
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9531 fi
   9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9533 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9535 	CFLAGS="$xorg_testset_save_CFLAGS"
   9536 fi
   9537 
   9538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9541 	fi
   9542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9544 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9545 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9546   $as_echo_n "(cached) " >&6
   9547 else
   9548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9549 /* end confdefs.h.  */
   9550 int i;
   9551 _ACEOF
   9552 if ac_fn_c_try_compile "$LINENO"; then :
   9553   xorg_cv_cc_flag_unused_command_line_argument=yes
   9554 else
   9555   xorg_cv_cc_flag_unused_command_line_argument=no
   9556 fi
   9557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9558 fi
   9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9560 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9561 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9562 	CFLAGS="$xorg_testset_save_CFLAGS"
   9563 fi
   9564 
   9565 found="no"
   9566 
   9567 	if test $found = "no" ; then
   9568 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9570 		fi
   9571 
   9572 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9574 		fi
   9575 
   9576 		CFLAGS="$CFLAGS -Warray-bounds"
   9577 
   9578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9579 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9580 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9581 		if eval \${$cacheid+:} false; then :
   9582   $as_echo_n "(cached) " >&6
   9583 else
   9584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9585 /* end confdefs.h.  */
   9586 int i;
   9587 int
   9588 main ()
   9589 {
   9590 
   9591   ;
   9592   return 0;
   9593 }
   9594 _ACEOF
   9595 if ac_fn_c_try_link "$LINENO"; then :
   9596   eval $cacheid=yes
   9597 else
   9598   eval $cacheid=no
   9599 fi
   9600 rm -f core conftest.err conftest.$ac_objext \
   9601     conftest$ac_exeext conftest.$ac_ext
   9602 fi
   9603 
   9604 
   9605 		CFLAGS="$xorg_testset_save_CFLAGS"
   9606 
   9607 		eval supported=\$$cacheid
   9608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9609 $as_echo "$supported" >&6; }
   9610 		if test "$supported" = "yes" ; then
   9611 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9612 			found="yes"
   9613 		fi
   9614 	fi
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 xorg_testset_save_CFLAGS="$CFLAGS"
   9631 
   9632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9635 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9636 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9637   $as_echo_n "(cached) " >&6
   9638 else
   9639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9640 /* end confdefs.h.  */
   9641 int i;
   9642 _ACEOF
   9643 if ac_fn_c_try_compile "$LINENO"; then :
   9644   xorg_cv_cc_flag_unknown_warning_option=yes
   9645 else
   9646   xorg_cv_cc_flag_unknown_warning_option=no
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9649 fi
   9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9651 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9653 	CFLAGS="$xorg_testset_save_CFLAGS"
   9654 fi
   9655 
   9656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9659 	fi
   9660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9662 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9663 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9664   $as_echo_n "(cached) " >&6
   9665 else
   9666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9667 /* end confdefs.h.  */
   9668 int i;
   9669 _ACEOF
   9670 if ac_fn_c_try_compile "$LINENO"; then :
   9671   xorg_cv_cc_flag_unused_command_line_argument=yes
   9672 else
   9673   xorg_cv_cc_flag_unused_command_line_argument=no
   9674 fi
   9675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9676 fi
   9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9678 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9680 	CFLAGS="$xorg_testset_save_CFLAGS"
   9681 fi
   9682 
   9683 found="no"
   9684 
   9685 	if test $found = "no" ; then
   9686 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9688 		fi
   9689 
   9690 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9692 		fi
   9693 
   9694 		CFLAGS="$CFLAGS -Wwrite-strings"
   9695 
   9696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9697 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9698 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9699 		if eval \${$cacheid+:} false; then :
   9700   $as_echo_n "(cached) " >&6
   9701 else
   9702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 int
   9706 main ()
   9707 {
   9708 
   9709   ;
   9710   return 0;
   9711 }
   9712 _ACEOF
   9713 if ac_fn_c_try_link "$LINENO"; then :
   9714   eval $cacheid=yes
   9715 else
   9716   eval $cacheid=no
   9717 fi
   9718 rm -f core conftest.err conftest.$ac_objext \
   9719     conftest$ac_exeext conftest.$ac_ext
   9720 fi
   9721 
   9722 
   9723 		CFLAGS="$xorg_testset_save_CFLAGS"
   9724 
   9725 		eval supported=\$$cacheid
   9726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9727 $as_echo "$supported" >&6; }
   9728 		if test "$supported" = "yes" ; then
   9729 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9730 			found="yes"
   9731 		fi
   9732 	fi
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 xorg_testset_save_CFLAGS="$CFLAGS"
   9749 
   9750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9753 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9754 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9755   $as_echo_n "(cached) " >&6
   9756 else
   9757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9758 /* end confdefs.h.  */
   9759 int i;
   9760 _ACEOF
   9761 if ac_fn_c_try_compile "$LINENO"; then :
   9762   xorg_cv_cc_flag_unknown_warning_option=yes
   9763 else
   9764   xorg_cv_cc_flag_unknown_warning_option=no
   9765 fi
   9766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9767 fi
   9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9769 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9771 	CFLAGS="$xorg_testset_save_CFLAGS"
   9772 fi
   9773 
   9774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9777 	fi
   9778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9780 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9781 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9782   $as_echo_n "(cached) " >&6
   9783 else
   9784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9785 /* end confdefs.h.  */
   9786 int i;
   9787 _ACEOF
   9788 if ac_fn_c_try_compile "$LINENO"; then :
   9789   xorg_cv_cc_flag_unused_command_line_argument=yes
   9790 else
   9791   xorg_cv_cc_flag_unused_command_line_argument=no
   9792 fi
   9793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9794 fi
   9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9796 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9798 	CFLAGS="$xorg_testset_save_CFLAGS"
   9799 fi
   9800 
   9801 found="no"
   9802 
   9803 	if test $found = "no" ; then
   9804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9806 		fi
   9807 
   9808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9810 		fi
   9811 
   9812 		CFLAGS="$CFLAGS -Waddress"
   9813 
   9814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9815 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9816 		cacheid=xorg_cv_cc_flag__Waddress
   9817 		if eval \${$cacheid+:} false; then :
   9818   $as_echo_n "(cached) " >&6
   9819 else
   9820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int i;
   9823 int
   9824 main ()
   9825 {
   9826 
   9827   ;
   9828   return 0;
   9829 }
   9830 _ACEOF
   9831 if ac_fn_c_try_link "$LINENO"; then :
   9832   eval $cacheid=yes
   9833 else
   9834   eval $cacheid=no
   9835 fi
   9836 rm -f core conftest.err conftest.$ac_objext \
   9837     conftest$ac_exeext conftest.$ac_ext
   9838 fi
   9839 
   9840 
   9841 		CFLAGS="$xorg_testset_save_CFLAGS"
   9842 
   9843 		eval supported=\$$cacheid
   9844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9845 $as_echo "$supported" >&6; }
   9846 		if test "$supported" = "yes" ; then
   9847 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9848 			found="yes"
   9849 		fi
   9850 	fi
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 xorg_testset_save_CFLAGS="$CFLAGS"
   9867 
   9868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9871 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9872 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9873   $as_echo_n "(cached) " >&6
   9874 else
   9875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9876 /* end confdefs.h.  */
   9877 int i;
   9878 _ACEOF
   9879 if ac_fn_c_try_compile "$LINENO"; then :
   9880   xorg_cv_cc_flag_unknown_warning_option=yes
   9881 else
   9882   xorg_cv_cc_flag_unknown_warning_option=no
   9883 fi
   9884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9885 fi
   9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9887 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9889 	CFLAGS="$xorg_testset_save_CFLAGS"
   9890 fi
   9891 
   9892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9895 	fi
   9896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9898 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9899 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9900   $as_echo_n "(cached) " >&6
   9901 else
   9902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9903 /* end confdefs.h.  */
   9904 int i;
   9905 _ACEOF
   9906 if ac_fn_c_try_compile "$LINENO"; then :
   9907   xorg_cv_cc_flag_unused_command_line_argument=yes
   9908 else
   9909   xorg_cv_cc_flag_unused_command_line_argument=no
   9910 fi
   9911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9912 fi
   9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9914 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9916 	CFLAGS="$xorg_testset_save_CFLAGS"
   9917 fi
   9918 
   9919 found="no"
   9920 
   9921 	if test $found = "no" ; then
   9922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9924 		fi
   9925 
   9926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9928 		fi
   9929 
   9930 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9931 
   9932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9933 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9934 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9935 		if eval \${$cacheid+:} false; then :
   9936   $as_echo_n "(cached) " >&6
   9937 else
   9938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9939 /* end confdefs.h.  */
   9940 int i;
   9941 int
   9942 main ()
   9943 {
   9944 
   9945   ;
   9946   return 0;
   9947 }
   9948 _ACEOF
   9949 if ac_fn_c_try_link "$LINENO"; then :
   9950   eval $cacheid=yes
   9951 else
   9952   eval $cacheid=no
   9953 fi
   9954 rm -f core conftest.err conftest.$ac_objext \
   9955     conftest$ac_exeext conftest.$ac_ext
   9956 fi
   9957 
   9958 
   9959 		CFLAGS="$xorg_testset_save_CFLAGS"
   9960 
   9961 		eval supported=\$$cacheid
   9962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9963 $as_echo "$supported" >&6; }
   9964 		if test "$supported" = "yes" ; then
   9965 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9966 			found="yes"
   9967 		fi
   9968 	fi
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 xorg_testset_save_CFLAGS="$CFLAGS"
   9985 
   9986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9989 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9990 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9991   $as_echo_n "(cached) " >&6
   9992 else
   9993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9994 /* end confdefs.h.  */
   9995 int i;
   9996 _ACEOF
   9997 if ac_fn_c_try_compile "$LINENO"; then :
   9998   xorg_cv_cc_flag_unknown_warning_option=yes
   9999 else
   10000   xorg_cv_cc_flag_unknown_warning_option=no
   10001 fi
   10002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10003 fi
   10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10005 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10007 	CFLAGS="$xorg_testset_save_CFLAGS"
   10008 fi
   10009 
   10010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10013 	fi
   10014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10016 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10017 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10018   $as_echo_n "(cached) " >&6
   10019 else
   10020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10021 /* end confdefs.h.  */
   10022 int i;
   10023 _ACEOF
   10024 if ac_fn_c_try_compile "$LINENO"; then :
   10025   xorg_cv_cc_flag_unused_command_line_argument=yes
   10026 else
   10027   xorg_cv_cc_flag_unused_command_line_argument=no
   10028 fi
   10029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10030 fi
   10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10032 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10034 	CFLAGS="$xorg_testset_save_CFLAGS"
   10035 fi
   10036 
   10037 found="no"
   10038 
   10039 	if test $found = "no" ; then
   10040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10042 		fi
   10043 
   10044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10046 		fi
   10047 
   10048 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10049 
   10050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10051 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10052 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10053 		if eval \${$cacheid+:} false; then :
   10054   $as_echo_n "(cached) " >&6
   10055 else
   10056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10057 /* end confdefs.h.  */
   10058 int i;
   10059 int
   10060 main ()
   10061 {
   10062 
   10063   ;
   10064   return 0;
   10065 }
   10066 _ACEOF
   10067 if ac_fn_c_try_link "$LINENO"; then :
   10068   eval $cacheid=yes
   10069 else
   10070   eval $cacheid=no
   10071 fi
   10072 rm -f core conftest.err conftest.$ac_objext \
   10073     conftest$ac_exeext conftest.$ac_ext
   10074 fi
   10075 
   10076 
   10077 		CFLAGS="$xorg_testset_save_CFLAGS"
   10078 
   10079 		eval supported=\$$cacheid
   10080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10081 $as_echo "$supported" >&6; }
   10082 		if test "$supported" = "yes" ; then
   10083 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10084 			found="yes"
   10085 		fi
   10086 	fi
   10087 
   10088 
   10089 fi
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 		CWARNFLAGS="$BASE_CFLAGS"
   10098 		if  test "x$GCC" = xyes ; then
   10099 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10100 		fi
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 # Check whether --enable-strict-compilation was given.
   10110 if test "${enable_strict_compilation+set}" = set; then :
   10111   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10112 else
   10113   STRICT_COMPILE=no
   10114 fi
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 STRICT_CFLAGS=""
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 xorg_testset_save_CFLAGS="$CFLAGS"
   10136 
   10137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10140 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10141 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10142   $as_echo_n "(cached) " >&6
   10143 else
   10144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10145 /* end confdefs.h.  */
   10146 int i;
   10147 _ACEOF
   10148 if ac_fn_c_try_compile "$LINENO"; then :
   10149   xorg_cv_cc_flag_unknown_warning_option=yes
   10150 else
   10151   xorg_cv_cc_flag_unknown_warning_option=no
   10152 fi
   10153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10154 fi
   10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10156 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10158 	CFLAGS="$xorg_testset_save_CFLAGS"
   10159 fi
   10160 
   10161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10164 	fi
   10165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10167 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10168 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10169   $as_echo_n "(cached) " >&6
   10170 else
   10171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10172 /* end confdefs.h.  */
   10173 int i;
   10174 _ACEOF
   10175 if ac_fn_c_try_compile "$LINENO"; then :
   10176   xorg_cv_cc_flag_unused_command_line_argument=yes
   10177 else
   10178   xorg_cv_cc_flag_unused_command_line_argument=no
   10179 fi
   10180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10181 fi
   10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10183 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10185 	CFLAGS="$xorg_testset_save_CFLAGS"
   10186 fi
   10187 
   10188 found="no"
   10189 
   10190 	if test $found = "no" ; then
   10191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10193 		fi
   10194 
   10195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10197 		fi
   10198 
   10199 		CFLAGS="$CFLAGS -pedantic"
   10200 
   10201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10202 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10203 		cacheid=xorg_cv_cc_flag__pedantic
   10204 		if eval \${$cacheid+:} false; then :
   10205   $as_echo_n "(cached) " >&6
   10206 else
   10207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10208 /* end confdefs.h.  */
   10209 int i;
   10210 int
   10211 main ()
   10212 {
   10213 
   10214   ;
   10215   return 0;
   10216 }
   10217 _ACEOF
   10218 if ac_fn_c_try_link "$LINENO"; then :
   10219   eval $cacheid=yes
   10220 else
   10221   eval $cacheid=no
   10222 fi
   10223 rm -f core conftest.err conftest.$ac_objext \
   10224     conftest$ac_exeext conftest.$ac_ext
   10225 fi
   10226 
   10227 
   10228 		CFLAGS="$xorg_testset_save_CFLAGS"
   10229 
   10230 		eval supported=\$$cacheid
   10231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10232 $as_echo "$supported" >&6; }
   10233 		if test "$supported" = "yes" ; then
   10234 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10235 			found="yes"
   10236 		fi
   10237 	fi
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 xorg_testset_save_CFLAGS="$CFLAGS"
   10254 
   10255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10258 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10259 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 _ACEOF
   10266 if ac_fn_c_try_compile "$LINENO"; then :
   10267   xorg_cv_cc_flag_unknown_warning_option=yes
   10268 else
   10269   xorg_cv_cc_flag_unknown_warning_option=no
   10270 fi
   10271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10272 fi
   10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10274 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10276 	CFLAGS="$xorg_testset_save_CFLAGS"
   10277 fi
   10278 
   10279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10282 	fi
   10283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10285 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10286 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10287   $as_echo_n "(cached) " >&6
   10288 else
   10289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10290 /* end confdefs.h.  */
   10291 int i;
   10292 _ACEOF
   10293 if ac_fn_c_try_compile "$LINENO"; then :
   10294   xorg_cv_cc_flag_unused_command_line_argument=yes
   10295 else
   10296   xorg_cv_cc_flag_unused_command_line_argument=no
   10297 fi
   10298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10299 fi
   10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10301 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10303 	CFLAGS="$xorg_testset_save_CFLAGS"
   10304 fi
   10305 
   10306 found="no"
   10307 
   10308 	if test $found = "no" ; then
   10309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10311 		fi
   10312 
   10313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10315 		fi
   10316 
   10317 		CFLAGS="$CFLAGS -Werror"
   10318 
   10319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10320 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10321 		cacheid=xorg_cv_cc_flag__Werror
   10322 		if eval \${$cacheid+:} false; then :
   10323   $as_echo_n "(cached) " >&6
   10324 else
   10325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10326 /* end confdefs.h.  */
   10327 int i;
   10328 int
   10329 main ()
   10330 {
   10331 
   10332   ;
   10333   return 0;
   10334 }
   10335 _ACEOF
   10336 if ac_fn_c_try_link "$LINENO"; then :
   10337   eval $cacheid=yes
   10338 else
   10339   eval $cacheid=no
   10340 fi
   10341 rm -f core conftest.err conftest.$ac_objext \
   10342     conftest$ac_exeext conftest.$ac_ext
   10343 fi
   10344 
   10345 
   10346 		CFLAGS="$xorg_testset_save_CFLAGS"
   10347 
   10348 		eval supported=\$$cacheid
   10349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10350 $as_echo "$supported" >&6; }
   10351 		if test "$supported" = "yes" ; then
   10352 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10353 			found="yes"
   10354 		fi
   10355 	fi
   10356 
   10357 	if test $found = "no" ; then
   10358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10360 		fi
   10361 
   10362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10364 		fi
   10365 
   10366 		CFLAGS="$CFLAGS -errwarn"
   10367 
   10368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10369 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10370 		cacheid=xorg_cv_cc_flag__errwarn
   10371 		if eval \${$cacheid+:} false; then :
   10372   $as_echo_n "(cached) " >&6
   10373 else
   10374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10375 /* end confdefs.h.  */
   10376 int i;
   10377 int
   10378 main ()
   10379 {
   10380 
   10381   ;
   10382   return 0;
   10383 }
   10384 _ACEOF
   10385 if ac_fn_c_try_link "$LINENO"; then :
   10386   eval $cacheid=yes
   10387 else
   10388   eval $cacheid=no
   10389 fi
   10390 rm -f core conftest.err conftest.$ac_objext \
   10391     conftest$ac_exeext conftest.$ac_ext
   10392 fi
   10393 
   10394 
   10395 		CFLAGS="$xorg_testset_save_CFLAGS"
   10396 
   10397 		eval supported=\$$cacheid
   10398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10399 $as_echo "$supported" >&6; }
   10400 		if test "$supported" = "yes" ; then
   10401 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10402 			found="yes"
   10403 		fi
   10404 	fi
   10405 
   10406 
   10407 
   10408 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10409 # activate it with -Werror, so we add it here explicitly.
   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 -Werror=attributes"
   10488 
   10489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10490 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10491 		cacheid=xorg_cv_cc_flag__Werror_attributes
   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 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10523 			found="yes"
   10524 		fi
   10525 	fi
   10526 
   10527 
   10528 
   10529 if test "x$STRICT_COMPILE" = "xyes"; then
   10530     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10531     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10532 fi
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 cat >>confdefs.h <<_ACEOF
   10540 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10541 _ACEOF
   10542 
   10543 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10544 	if test "x$PVM" = "x"; then
   10545 		PVM="0"
   10546 	fi
   10547 
   10548 cat >>confdefs.h <<_ACEOF
   10549 #define PACKAGE_VERSION_MINOR $PVM
   10550 _ACEOF
   10551 
   10552 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10553 	if test "x$PVP" = "x"; then
   10554 		PVP="0"
   10555 	fi
   10556 
   10557 cat >>confdefs.h <<_ACEOF
   10558 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10559 _ACEOF
   10560 
   10561 
   10562 
   10563 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10564 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10565 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10566 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10567 
   10568 
   10569 
   10570 
   10571 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10572 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10573 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10574 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10575 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 if test x$APP_MAN_SUFFIX = x    ; then
   10583     APP_MAN_SUFFIX=1
   10584 fi
   10585 if test x$APP_MAN_DIR = x    ; then
   10586     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10587 fi
   10588 
   10589 if test x$LIB_MAN_SUFFIX = x    ; then
   10590     LIB_MAN_SUFFIX=3
   10591 fi
   10592 if test x$LIB_MAN_DIR = x    ; then
   10593     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10594 fi
   10595 
   10596 if test x$FILE_MAN_SUFFIX = x    ; then
   10597     case $host_os in
   10598 	# Solaris 2.0 - 11 use SysV man page sections
   10599 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10600 	*)				FILE_MAN_SUFFIX=5  ;;
   10601     esac
   10602 fi
   10603 if test x$FILE_MAN_DIR = x    ; then
   10604     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10605 fi
   10606 
   10607 if test x$MISC_MAN_SUFFIX = x    ; then
   10608     case $host_os in
   10609 	# Solaris 2.0 - 11 use SysV man page sections
   10610 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10611 	*)				MISC_MAN_SUFFIX=7  ;;
   10612     esac
   10613 fi
   10614 if test x$MISC_MAN_DIR = x    ; then
   10615     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10616 fi
   10617 
   10618 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10619     case $host_os in
   10620 	# Solaris 2.0 - 11 use SysV man page sections
   10621 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10622 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10623     esac
   10624 fi
   10625 if test x$DRIVER_MAN_DIR = x    ; then
   10626     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10627 fi
   10628 
   10629 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10630     case $host_os in
   10631 	# Solaris 2.0 - 11 use SysV man page sections
   10632 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10633 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10634     esac
   10635 fi
   10636 if test x$ADMIN_MAN_DIR = x    ; then
   10637     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10638 fi
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 XORG_MAN_PAGE="X Version 11"
   10655 
   10656 MAN_SUBSTS="\
   10657 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10658 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10659 	-e 's|__xservername__|Xorg|g' \
   10660 	-e 's|__xconfigfile__|xorg.conf|g' \
   10661 	-e 's|__projectroot__|\$(prefix)|g' \
   10662 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10663 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10664 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10665 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10666 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10667 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10668 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10669 
   10670 
   10671 
   10672 # Check whether --enable-silent-rules was given.
   10673 if test "${enable_silent_rules+set}" = set; then :
   10674   enableval=$enable_silent_rules;
   10675 fi
   10676 
   10677 case $enable_silent_rules in # (((
   10678   yes) AM_DEFAULT_VERBOSITY=0;;
   10679    no) AM_DEFAULT_VERBOSITY=1;;
   10680     *) AM_DEFAULT_VERBOSITY=0;;
   10681 esac
   10682 am_make=${MAKE-make}
   10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10684 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10685 if ${am_cv_make_support_nested_variables+:} false; then :
   10686   $as_echo_n "(cached) " >&6
   10687 else
   10688   if $as_echo 'TRUE=$(BAR$(V))
   10689 BAR0=false
   10690 BAR1=true
   10691 V=1
   10692 am__doit:
   10693 	@$(TRUE)
   10694 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10695   am_cv_make_support_nested_variables=yes
   10696 else
   10697   am_cv_make_support_nested_variables=no
   10698 fi
   10699 fi
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10701 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10702 if test $am_cv_make_support_nested_variables = yes; then
   10703     AM_V='$(V)'
   10704   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10705 else
   10706   AM_V=$AM_DEFAULT_VERBOSITY
   10707   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10708 fi
   10709 AM_BACKSLASH='\'
   10710 
   10711 
   10712 
   10713 for ac_func in strlcpy getpid nl_langinfo
   10714 do :
   10715   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10717 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10718   cat >>confdefs.h <<_ACEOF
   10719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10720 _ACEOF
   10721 
   10722 fi
   10723 done
   10724 
   10725 
   10726 
   10727       if test "X$prefix" = "XNONE"; then
   10728     acl_final_prefix="$ac_default_prefix"
   10729   else
   10730     acl_final_prefix="$prefix"
   10731   fi
   10732   if test "X$exec_prefix" = "XNONE"; then
   10733     acl_final_exec_prefix='${prefix}'
   10734   else
   10735     acl_final_exec_prefix="$exec_prefix"
   10736   fi
   10737   acl_save_prefix="$prefix"
   10738   prefix="$acl_final_prefix"
   10739   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   10740   prefix="$acl_save_prefix"
   10741 
   10742 
   10743 
   10744 # Check whether --with-gnu-ld was given.
   10745 if test "${with_gnu_ld+set}" = set; then :
   10746   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10747 else
   10748   with_gnu_ld=no
   10749 fi
   10750 
   10751 # Prepare PATH_SEPARATOR.
   10752 # The user is always right.
   10753 if test "${PATH_SEPARATOR+set}" != set; then
   10754   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   10755   # contains only /bin. Note that ksh looks also at the FPATH variable,
   10756   # so we have to set that as well for the test.
   10757   PATH_SEPARATOR=:
   10758   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   10759     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   10760            || PATH_SEPARATOR=';'
   10761        }
   10762 fi
   10763 
   10764 ac_prog=ld
   10765 if test "$GCC" = yes; then
   10766   # Check if gcc -print-prog-name=ld gives a path.
   10767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10768 $as_echo_n "checking for ld used by $CC... " >&6; }
   10769   case $host in
   10770   *-*-mingw*)
   10771     # gcc leaves a trailing carriage return which upsets mingw
   10772     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10773   *)
   10774     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10775   esac
   10776   case $ac_prog in
   10777     # Accept absolute paths.
   10778     [\\/]* | ?:[\\/]*)
   10779       re_direlt='/[^/][^/]*/\.\./'
   10780       # Canonicalize the pathname of ld
   10781       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
   10782       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
   10783         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   10784       done
   10785       test -z "$LD" && LD="$ac_prog"
   10786       ;;
   10787   "")
   10788     # If it fails, then pretend we aren't using GCC.
   10789     ac_prog=ld
   10790     ;;
   10791   *)
   10792     # If it is relative, then search for the first ld in PATH.
   10793     with_gnu_ld=unknown
   10794     ;;
   10795   esac
   10796 elif test "$with_gnu_ld" = yes; then
   10797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10798 $as_echo_n "checking for GNU ld... " >&6; }
   10799 else
   10800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   10801 $as_echo_n "checking for non-GNU ld... " >&6; }
   10802 fi
   10803 if ${acl_cv_path_LD+:} false; then :
   10804   $as_echo_n "(cached) " >&6
   10805 else
   10806   if test -z "$LD"; then
   10807   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10808   for ac_dir in $PATH; do
   10809     IFS="$acl_save_ifs"
   10810     test -z "$ac_dir" && ac_dir=.
   10811     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10812       acl_cv_path_LD="$ac_dir/$ac_prog"
   10813       # Check to see if the program is GNU ld.  I'd rather use --version,
   10814       # but apparently some variants of GNU ld only accept -v.
   10815       # Break only if it was the GNU/non-GNU ld that we prefer.
   10816       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   10817       *GNU* | *'with BFD'*)
   10818         test "$with_gnu_ld" != no && break
   10819         ;;
   10820       *)
   10821         test "$with_gnu_ld" != yes && break
   10822         ;;
   10823       esac
   10824     fi
   10825   done
   10826   IFS="$acl_save_ifs"
   10827 else
   10828   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   10829 fi
   10830 fi
   10831 
   10832 LD="$acl_cv_path_LD"
   10833 if test -n "$LD"; then
   10834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   10835 $as_echo "$LD" >&6; }
   10836 else
   10837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10838 $as_echo "no" >&6; }
   10839 fi
   10840 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   10842 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   10843 if ${acl_cv_prog_gnu_ld+:} false; then :
   10844   $as_echo_n "(cached) " >&6
   10845 else
   10846   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10847 case `$LD -v 2>&1 </dev/null` in
   10848 *GNU* | *'with BFD'*)
   10849   acl_cv_prog_gnu_ld=yes
   10850   ;;
   10851 *)
   10852   acl_cv_prog_gnu_ld=no
   10853   ;;
   10854 esac
   10855 fi
   10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   10857 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   10858 with_gnu_ld=$acl_cv_prog_gnu_ld
   10859 
   10860 
   10861 
   10862 
   10863                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   10864 $as_echo_n "checking for shared library run path origin... " >&6; }
   10865 if ${acl_cv_rpath+:} false; then :
   10866   $as_echo_n "(cached) " >&6
   10867 else
   10868 
   10869     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   10870     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   10871     . ./conftest.sh
   10872     rm -f ./conftest.sh
   10873     acl_cv_rpath=done
   10874 
   10875 fi
   10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   10877 $as_echo "$acl_cv_rpath" >&6; }
   10878   wl="$acl_cv_wl"
   10879   acl_libext="$acl_cv_libext"
   10880   acl_shlibext="$acl_cv_shlibext"
   10881   acl_libname_spec="$acl_cv_libname_spec"
   10882   acl_library_names_spec="$acl_cv_library_names_spec"
   10883   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   10884   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   10885   acl_hardcode_direct="$acl_cv_hardcode_direct"
   10886   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   10887     # Check whether --enable-rpath was given.
   10888 if test "${enable_rpath+set}" = set; then :
   10889   enableval=$enable_rpath; :
   10890 else
   10891   enable_rpath=yes
   10892 fi
   10893 
   10894 
   10895 
   10896 
   10897   acl_libdirstem=lib
   10898   acl_libdirstem2=
   10899   case "$host_os" in
   10900     solaris*)
   10901                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
   10902 $as_echo_n "checking for 64-bit host... " >&6; }
   10903 if ${gl_cv_solaris_64bit+:} false; then :
   10904   $as_echo_n "(cached) " >&6
   10905 else
   10906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10907 /* end confdefs.h.  */
   10908 
   10909 #ifdef _LP64
   10910 sixtyfour bits
   10911 #endif
   10912 
   10913 _ACEOF
   10914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   10915   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
   10916   gl_cv_solaris_64bit=yes
   10917 else
   10918   gl_cv_solaris_64bit=no
   10919 fi
   10920 rm -f conftest*
   10921 
   10922 
   10923 fi
   10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
   10925 $as_echo "$gl_cv_solaris_64bit" >&6; }
   10926       if test $gl_cv_solaris_64bit = yes; then
   10927         acl_libdirstem=lib/64
   10928         case "$host_cpu" in
   10929           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
   10930           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
   10931         esac
   10932       fi
   10933       ;;
   10934     *)
   10935       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   10936       if test -n "$searchpath"; then
   10937         acl_save_IFS="${IFS= 	}"; IFS=":"
   10938         for searchdir in $searchpath; do
   10939           if test -d "$searchdir"; then
   10940             case "$searchdir" in
   10941               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   10942               */../ | */.. )
   10943                 # Better ignore directories of this form. They are misleading.
   10944                 ;;
   10945               *) searchdir=`cd "$searchdir" && pwd`
   10946                  case "$searchdir" in
   10947                    */lib64 ) acl_libdirstem=lib64 ;;
   10948                  esac ;;
   10949             esac
   10950           fi
   10951         done
   10952         IFS="$acl_save_IFS"
   10953       fi
   10954       ;;
   10955   esac
   10956   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969     use_additional=yes
   10970 
   10971   acl_save_prefix="$prefix"
   10972   prefix="$acl_final_prefix"
   10973   acl_save_exec_prefix="$exec_prefix"
   10974   exec_prefix="$acl_final_exec_prefix"
   10975 
   10976     eval additional_includedir=\"$includedir\"
   10977     eval additional_libdir=\"$libdir\"
   10978 
   10979   exec_prefix="$acl_save_exec_prefix"
   10980   prefix="$acl_save_prefix"
   10981 
   10982 
   10983 # Check whether --with-libiconv-prefix was given.
   10984 if test "${with_libiconv_prefix+set}" = set; then :
   10985   withval=$with_libiconv_prefix;
   10986     if test "X$withval" = "Xno"; then
   10987       use_additional=no
   10988     else
   10989       if test "X$withval" = "X"; then
   10990 
   10991   acl_save_prefix="$prefix"
   10992   prefix="$acl_final_prefix"
   10993   acl_save_exec_prefix="$exec_prefix"
   10994   exec_prefix="$acl_final_exec_prefix"
   10995 
   10996           eval additional_includedir=\"$includedir\"
   10997           eval additional_libdir=\"$libdir\"
   10998 
   10999   exec_prefix="$acl_save_exec_prefix"
   11000   prefix="$acl_save_prefix"
   11001 
   11002       else
   11003         additional_includedir="$withval/include"
   11004         additional_libdir="$withval/$acl_libdirstem"
   11005         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   11006            && ! test -d "$withval/$acl_libdirstem"; then
   11007           additional_libdir="$withval/$acl_libdirstem2"
   11008         fi
   11009       fi
   11010     fi
   11011 
   11012 fi
   11013 
   11014       LIBICONV=
   11015   LTLIBICONV=
   11016   INCICONV=
   11017   LIBICONV_PREFIX=
   11018       HAVE_LIBICONV=
   11019   rpathdirs=
   11020   ltrpathdirs=
   11021   names_already_handled=
   11022   names_next_round='iconv '
   11023   while test -n "$names_next_round"; do
   11024     names_this_round="$names_next_round"
   11025     names_next_round=
   11026     for name in $names_this_round; do
   11027       already_handled=
   11028       for n in $names_already_handled; do
   11029         if test "$n" = "$name"; then
   11030           already_handled=yes
   11031           break
   11032         fi
   11033       done
   11034       if test -z "$already_handled"; then
   11035         names_already_handled="$names_already_handled $name"
   11036                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   11037         eval value=\"\$HAVE_LIB$uppername\"
   11038         if test -n "$value"; then
   11039           if test "$value" = yes; then
   11040             eval value=\"\$LIB$uppername\"
   11041             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   11042             eval value=\"\$LTLIB$uppername\"
   11043             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   11044           else
   11045                                     :
   11046           fi
   11047         else
   11048                               found_dir=
   11049           found_la=
   11050           found_so=
   11051           found_a=
   11052           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   11053           if test -n "$acl_shlibext"; then
   11054             shrext=".$acl_shlibext"             # typically: shrext=.so
   11055           else
   11056             shrext=
   11057           fi
   11058           if test $use_additional = yes; then
   11059             dir="$additional_libdir"
   11060                                     if test -n "$acl_shlibext"; then
   11061               if test -f "$dir/$libname$shrext"; then
   11062                 found_dir="$dir"
   11063                 found_so="$dir/$libname$shrext"
   11064               else
   11065                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   11066                   ver=`(cd "$dir" && \
   11067                         for f in "$libname$shrext".*; do echo "$f"; done \
   11068                         | sed -e "s,^$libname$shrext\\\\.,," \
   11069                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   11070                         | sed 1q ) 2>/dev/null`
   11071                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   11072                     found_dir="$dir"
   11073                     found_so="$dir/$libname$shrext.$ver"
   11074                   fi
   11075                 else
   11076                   eval library_names=\"$acl_library_names_spec\"
   11077                   for f in $library_names; do
   11078                     if test -f "$dir/$f"; then
   11079                       found_dir="$dir"
   11080                       found_so="$dir/$f"
   11081                       break
   11082                     fi
   11083                   done
   11084                 fi
   11085               fi
   11086             fi
   11087                         if test "X$found_dir" = "X"; then
   11088               if test -f "$dir/$libname.$acl_libext"; then
   11089                 found_dir="$dir"
   11090                 found_a="$dir/$libname.$acl_libext"
   11091               fi
   11092             fi
   11093             if test "X$found_dir" != "X"; then
   11094               if test -f "$dir/$libname.la"; then
   11095                 found_la="$dir/$libname.la"
   11096               fi
   11097             fi
   11098           fi
   11099           if test "X$found_dir" = "X"; then
   11100             for x in $LDFLAGS $LTLIBICONV; do
   11101 
   11102   acl_save_prefix="$prefix"
   11103   prefix="$acl_final_prefix"
   11104   acl_save_exec_prefix="$exec_prefix"
   11105   exec_prefix="$acl_final_exec_prefix"
   11106   eval x=\"$x\"
   11107   exec_prefix="$acl_save_exec_prefix"
   11108   prefix="$acl_save_prefix"
   11109 
   11110               case "$x" in
   11111                 -L*)
   11112                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   11113                                     if test -n "$acl_shlibext"; then
   11114                     if test -f "$dir/$libname$shrext"; then
   11115                       found_dir="$dir"
   11116                       found_so="$dir/$libname$shrext"
   11117                     else
   11118                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   11119                         ver=`(cd "$dir" && \
   11120                               for f in "$libname$shrext".*; do echo "$f"; done \
   11121                               | sed -e "s,^$libname$shrext\\\\.,," \
   11122                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   11123                               | sed 1q ) 2>/dev/null`
   11124                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   11125                           found_dir="$dir"
   11126                           found_so="$dir/$libname$shrext.$ver"
   11127                         fi
   11128                       else
   11129                         eval library_names=\"$acl_library_names_spec\"
   11130                         for f in $library_names; do
   11131                           if test -f "$dir/$f"; then
   11132                             found_dir="$dir"
   11133                             found_so="$dir/$f"
   11134                             break
   11135                           fi
   11136                         done
   11137                       fi
   11138                     fi
   11139                   fi
   11140                                     if test "X$found_dir" = "X"; then
   11141                     if test -f "$dir/$libname.$acl_libext"; then
   11142                       found_dir="$dir"
   11143                       found_a="$dir/$libname.$acl_libext"
   11144                     fi
   11145                   fi
   11146                   if test "X$found_dir" != "X"; then
   11147                     if test -f "$dir/$libname.la"; then
   11148                       found_la="$dir/$libname.la"
   11149                     fi
   11150                   fi
   11151                   ;;
   11152               esac
   11153               if test "X$found_dir" != "X"; then
   11154                 break
   11155               fi
   11156             done
   11157           fi
   11158           if test "X$found_dir" != "X"; then
   11159                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   11160             if test "X$found_so" != "X"; then
   11161                                                         if test "$enable_rpath" = no \
   11162                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   11163                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   11164                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11165               else
   11166                                                                                 haveit=
   11167                 for x in $ltrpathdirs; do
   11168                   if test "X$x" = "X$found_dir"; then
   11169                     haveit=yes
   11170                     break
   11171                   fi
   11172                 done
   11173                 if test -z "$haveit"; then
   11174                   ltrpathdirs="$ltrpathdirs $found_dir"
   11175                 fi
   11176                                 if test "$acl_hardcode_direct" = yes; then
   11177                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11178                 else
   11179                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   11180                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11181                                                             haveit=
   11182                     for x in $rpathdirs; do
   11183                       if test "X$x" = "X$found_dir"; then
   11184                         haveit=yes
   11185                         break
   11186                       fi
   11187                     done
   11188                     if test -z "$haveit"; then
   11189                       rpathdirs="$rpathdirs $found_dir"
   11190                     fi
   11191                   else
   11192                                                                                 haveit=
   11193                     for x in $LDFLAGS $LIBICONV; do
   11194 
   11195   acl_save_prefix="$prefix"
   11196   prefix="$acl_final_prefix"
   11197   acl_save_exec_prefix="$exec_prefix"
   11198   exec_prefix="$acl_final_exec_prefix"
   11199   eval x=\"$x\"
   11200   exec_prefix="$acl_save_exec_prefix"
   11201   prefix="$acl_save_prefix"
   11202 
   11203                       if test "X$x" = "X-L$found_dir"; then
   11204                         haveit=yes
   11205                         break
   11206                       fi
   11207                     done
   11208                     if test -z "$haveit"; then
   11209                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   11210                     fi
   11211                     if test "$acl_hardcode_minus_L" != no; then
   11212                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11213                     else
   11214                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   11215                     fi
   11216                   fi
   11217                 fi
   11218               fi
   11219             else
   11220               if test "X$found_a" != "X"; then
   11221                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   11222               else
   11223                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   11224               fi
   11225             fi
   11226                         additional_includedir=
   11227             case "$found_dir" in
   11228               */$acl_libdirstem | */$acl_libdirstem/)
   11229                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   11230                 if test "$name" = 'iconv'; then
   11231                   LIBICONV_PREFIX="$basedir"
   11232                 fi
   11233                 additional_includedir="$basedir/include"
   11234                 ;;
   11235               */$acl_libdirstem2 | */$acl_libdirstem2/)
   11236                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   11237                 if test "$name" = 'iconv'; then
   11238                   LIBICONV_PREFIX="$basedir"
   11239                 fi
   11240                 additional_includedir="$basedir/include"
   11241                 ;;
   11242             esac
   11243             if test "X$additional_includedir" != "X"; then
   11244                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   11245                 haveit=
   11246                 if test "X$additional_includedir" = "X/usr/local/include"; then
   11247                   if test -n "$GCC"; then
   11248                     case $host_os in
   11249                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   11250                     esac
   11251                   fi
   11252                 fi
   11253                 if test -z "$haveit"; then
   11254                   for x in $CPPFLAGS $INCICONV; do
   11255 
   11256   acl_save_prefix="$prefix"
   11257   prefix="$acl_final_prefix"
   11258   acl_save_exec_prefix="$exec_prefix"
   11259   exec_prefix="$acl_final_exec_prefix"
   11260   eval x=\"$x\"
   11261   exec_prefix="$acl_save_exec_prefix"
   11262   prefix="$acl_save_prefix"
   11263 
   11264                     if test "X$x" = "X-I$additional_includedir"; then
   11265                       haveit=yes
   11266                       break
   11267                     fi
   11268                   done
   11269                   if test -z "$haveit"; then
   11270                     if test -d "$additional_includedir"; then
   11271                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   11272                     fi
   11273                   fi
   11274                 fi
   11275               fi
   11276             fi
   11277                         if test -n "$found_la"; then
   11278                                                         save_libdir="$libdir"
   11279               case "$found_la" in
   11280                 */* | *\\*) . "$found_la" ;;
   11281                 *) . "./$found_la" ;;
   11282               esac
   11283               libdir="$save_libdir"
   11284                             for dep in $dependency_libs; do
   11285                 case "$dep" in
   11286                   -L*)
   11287                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   11288                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   11289                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   11290                       haveit=
   11291                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   11292                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   11293                         if test -n "$GCC"; then
   11294                           case $host_os in
   11295                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   11296                           esac
   11297                         fi
   11298                       fi
   11299                       if test -z "$haveit"; then
   11300                         haveit=
   11301                         for x in $LDFLAGS $LIBICONV; do
   11302 
   11303   acl_save_prefix="$prefix"
   11304   prefix="$acl_final_prefix"
   11305   acl_save_exec_prefix="$exec_prefix"
   11306   exec_prefix="$acl_final_exec_prefix"
   11307   eval x=\"$x\"
   11308   exec_prefix="$acl_save_exec_prefix"
   11309   prefix="$acl_save_prefix"
   11310 
   11311                           if test "X$x" = "X-L$additional_libdir"; then
   11312                             haveit=yes
   11313                             break
   11314                           fi
   11315                         done
   11316                         if test -z "$haveit"; then
   11317                           if test -d "$additional_libdir"; then
   11318                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   11319                           fi
   11320                         fi
   11321                         haveit=
   11322                         for x in $LDFLAGS $LTLIBICONV; do
   11323 
   11324   acl_save_prefix="$prefix"
   11325   prefix="$acl_final_prefix"
   11326   acl_save_exec_prefix="$exec_prefix"
   11327   exec_prefix="$acl_final_exec_prefix"
   11328   eval x=\"$x\"
   11329   exec_prefix="$acl_save_exec_prefix"
   11330   prefix="$acl_save_prefix"
   11331 
   11332                           if test "X$x" = "X-L$additional_libdir"; then
   11333                             haveit=yes
   11334                             break
   11335                           fi
   11336                         done
   11337                         if test -z "$haveit"; then
   11338                           if test -d "$additional_libdir"; then
   11339                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   11340                           fi
   11341                         fi
   11342                       fi
   11343                     fi
   11344                     ;;
   11345                   -R*)
   11346                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   11347                     if test "$enable_rpath" != no; then
   11348                                                                   haveit=
   11349                       for x in $rpathdirs; do
   11350                         if test "X$x" = "X$dir"; then
   11351                           haveit=yes
   11352                           break
   11353                         fi
   11354                       done
   11355                       if test -z "$haveit"; then
   11356                         rpathdirs="$rpathdirs $dir"
   11357                       fi
   11358                                                                   haveit=
   11359                       for x in $ltrpathdirs; do
   11360                         if test "X$x" = "X$dir"; then
   11361                           haveit=yes
   11362                           break
   11363                         fi
   11364                       done
   11365                       if test -z "$haveit"; then
   11366                         ltrpathdirs="$ltrpathdirs $dir"
   11367                       fi
   11368                     fi
   11369                     ;;
   11370                   -l*)
   11371                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   11372                     ;;
   11373                   *.la)
   11374                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   11375                     ;;
   11376                   *)
   11377                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   11378                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   11379                     ;;
   11380                 esac
   11381               done
   11382             fi
   11383           else
   11384                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   11385             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   11386           fi
   11387         fi
   11388       fi
   11389     done
   11390   done
   11391   if test "X$rpathdirs" != "X"; then
   11392     if test -n "$acl_hardcode_libdir_separator"; then
   11393                         alldirs=
   11394       for found_dir in $rpathdirs; do
   11395         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   11396       done
   11397             acl_save_libdir="$libdir"
   11398       libdir="$alldirs"
   11399       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   11400       libdir="$acl_save_libdir"
   11401       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   11402     else
   11403             for found_dir in $rpathdirs; do
   11404         acl_save_libdir="$libdir"
   11405         libdir="$found_dir"
   11406         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   11407         libdir="$acl_save_libdir"
   11408         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   11409       done
   11410     fi
   11411   fi
   11412   if test "X$ltrpathdirs" != "X"; then
   11413             for found_dir in $ltrpathdirs; do
   11414       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   11415     done
   11416   fi
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429           am_save_CPPFLAGS="$CPPFLAGS"
   11430 
   11431   for element in $INCICONV; do
   11432     haveit=
   11433     for x in $CPPFLAGS; do
   11434 
   11435   acl_save_prefix="$prefix"
   11436   prefix="$acl_final_prefix"
   11437   acl_save_exec_prefix="$exec_prefix"
   11438   exec_prefix="$acl_final_exec_prefix"
   11439   eval x=\"$x\"
   11440   exec_prefix="$acl_save_exec_prefix"
   11441   prefix="$acl_save_prefix"
   11442 
   11443       if test "X$x" = "X$element"; then
   11444         haveit=yes
   11445         break
   11446       fi
   11447     done
   11448     if test -z "$haveit"; then
   11449       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   11450     fi
   11451   done
   11452 
   11453 
   11454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   11455 $as_echo_n "checking for iconv... " >&6; }
   11456 if ${am_cv_func_iconv+:} false; then :
   11457   $as_echo_n "(cached) " >&6
   11458 else
   11459 
   11460     am_cv_func_iconv="no, consider installing GNU libiconv"
   11461     am_cv_lib_iconv=no
   11462     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11463 /* end confdefs.h.  */
   11464 
   11465 #include <stdlib.h>
   11466 #include <iconv.h>
   11467 
   11468 int
   11469 main ()
   11470 {
   11471 iconv_t cd = iconv_open("","");
   11472            iconv(cd,NULL,NULL,NULL,NULL);
   11473            iconv_close(cd);
   11474   ;
   11475   return 0;
   11476 }
   11477 _ACEOF
   11478 if ac_fn_c_try_link "$LINENO"; then :
   11479   am_cv_func_iconv=yes
   11480 fi
   11481 rm -f core conftest.err conftest.$ac_objext \
   11482     conftest$ac_exeext conftest.$ac_ext
   11483     if test "$am_cv_func_iconv" != yes; then
   11484       am_save_LIBS="$LIBS"
   11485       LIBS="$LIBS $LIBICONV"
   11486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11487 /* end confdefs.h.  */
   11488 
   11489 #include <stdlib.h>
   11490 #include <iconv.h>
   11491 
   11492 int
   11493 main ()
   11494 {
   11495 iconv_t cd = iconv_open("","");
   11496              iconv(cd,NULL,NULL,NULL,NULL);
   11497              iconv_close(cd);
   11498   ;
   11499   return 0;
   11500 }
   11501 _ACEOF
   11502 if ac_fn_c_try_link "$LINENO"; then :
   11503   am_cv_lib_iconv=yes
   11504         am_cv_func_iconv=yes
   11505 fi
   11506 rm -f core conftest.err conftest.$ac_objext \
   11507     conftest$ac_exeext conftest.$ac_ext
   11508       LIBS="$am_save_LIBS"
   11509     fi
   11510 
   11511 fi
   11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   11513 $as_echo "$am_cv_func_iconv" >&6; }
   11514   if test "$am_cv_func_iconv" = yes; then
   11515     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   11516 $as_echo_n "checking for working iconv... " >&6; }
   11517 if ${am_cv_func_iconv_works+:} false; then :
   11518   $as_echo_n "(cached) " >&6
   11519 else
   11520 
   11521                   am_save_LIBS="$LIBS"
   11522       if test $am_cv_lib_iconv = yes; then
   11523         LIBS="$LIBS $LIBICONV"
   11524       fi
   11525       am_cv_func_iconv_works=no
   11526       for ac_iconv_const in '' 'const'; do
   11527         if test "$cross_compiling" = yes; then :
   11528   case "$host_os" in
   11529              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   11530              *)            am_cv_func_iconv_works="guessing yes" ;;
   11531            esac
   11532 else
   11533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11534 /* end confdefs.h.  */
   11535 
   11536 #include <iconv.h>
   11537 #include <string.h>
   11538 
   11539 #ifndef ICONV_CONST
   11540 # define ICONV_CONST $ac_iconv_const
   11541 #endif
   11542 
   11543 int
   11544 main ()
   11545 {
   11546 int result = 0;
   11547   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
   11548      returns.  */
   11549   {
   11550     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   11551     if (cd_utf8_to_88591 != (iconv_t)(-1))
   11552       {
   11553         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   11554         char buf[10];
   11555         ICONV_CONST char *inptr = input;
   11556         size_t inbytesleft = strlen (input);
   11557         char *outptr = buf;
   11558         size_t outbytesleft = sizeof (buf);
   11559         size_t res = iconv (cd_utf8_to_88591,
   11560                             &inptr, &inbytesleft,
   11561                             &outptr, &outbytesleft);
   11562         if (res == 0)
   11563           result |= 1;
   11564         iconv_close (cd_utf8_to_88591);
   11565       }
   11566   }
   11567   /* Test against Solaris 10 bug: Failures are not distinguishable from
   11568      successful returns.  */
   11569   {
   11570     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   11571     if (cd_ascii_to_88591 != (iconv_t)(-1))
   11572       {
   11573         static ICONV_CONST char input[] = "\263";
   11574         char buf[10];
   11575         ICONV_CONST char *inptr = input;
   11576         size_t inbytesleft = strlen (input);
   11577         char *outptr = buf;
   11578         size_t outbytesleft = sizeof (buf);
   11579         size_t res = iconv (cd_ascii_to_88591,
   11580                             &inptr, &inbytesleft,
   11581                             &outptr, &outbytesleft);
   11582         if (res == 0)
   11583           result |= 2;
   11584         iconv_close (cd_ascii_to_88591);
   11585       }
   11586   }
   11587   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   11588   {
   11589     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   11590     if (cd_88591_to_utf8 != (iconv_t)(-1))
   11591       {
   11592         static ICONV_CONST char input[] = "\304";
   11593         static char buf[2] = { (char)0xDE, (char)0xAD };
   11594         ICONV_CONST char *inptr = input;
   11595         size_t inbytesleft = 1;
   11596         char *outptr = buf;
   11597         size_t outbytesleft = 1;
   11598         size_t res = iconv (cd_88591_to_utf8,
   11599                             &inptr, &inbytesleft,
   11600                             &outptr, &outbytesleft);
   11601         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   11602           result |= 4;
   11603         iconv_close (cd_88591_to_utf8);
   11604       }
   11605   }
   11606 #if 0 /* This bug could be worked around by the caller.  */
   11607   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   11608   {
   11609     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   11610     if (cd_88591_to_utf8 != (iconv_t)(-1))
   11611       {
   11612         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   11613         char buf[50];
   11614         ICONV_CONST char *inptr = input;
   11615         size_t inbytesleft = strlen (input);
   11616         char *outptr = buf;
   11617         size_t outbytesleft = sizeof (buf);
   11618         size_t res = iconv (cd_88591_to_utf8,
   11619                             &inptr, &inbytesleft,
   11620                             &outptr, &outbytesleft);
   11621         if ((int)res > 0)
   11622           result |= 8;
   11623         iconv_close (cd_88591_to_utf8);
   11624       }
   11625   }
   11626 #endif
   11627   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   11628      provided.  */
   11629   if (/* Try standardized names.  */
   11630       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
   11631       /* Try IRIX, OSF/1 names.  */
   11632       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
   11633       /* Try AIX names.  */
   11634       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
   11635       /* Try HP-UX names.  */
   11636       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
   11637     result |= 16;
   11638   return result;
   11639 
   11640   ;
   11641   return 0;
   11642 }
   11643 _ACEOF
   11644 if ac_fn_c_try_run "$LINENO"; then :
   11645   am_cv_func_iconv_works=yes
   11646 fi
   11647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11648   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11649 fi
   11650 
   11651         test "$am_cv_func_iconv_works" = no || break
   11652       done
   11653       LIBS="$am_save_LIBS"
   11654 
   11655 fi
   11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   11657 $as_echo "$am_cv_func_iconv_works" >&6; }
   11658     case "$am_cv_func_iconv_works" in
   11659       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   11660       *)   am_func_iconv=yes ;;
   11661     esac
   11662   else
   11663     am_func_iconv=no am_cv_lib_iconv=no
   11664   fi
   11665   if test "$am_func_iconv" = yes; then
   11666 
   11667 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   11668 
   11669   fi
   11670   if test "$am_cv_lib_iconv" = yes; then
   11671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   11672 $as_echo_n "checking how to link with libiconv... " >&6; }
   11673     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   11674 $as_echo "$LIBICONV" >&6; }
   11675   else
   11676             CPPFLAGS="$am_save_CPPFLAGS"
   11677     LIBICONV=
   11678     LTLIBICONV=
   11679   fi
   11680 
   11681 
   11682 
   11683   if test "$am_cv_func_iconv" = yes; then
   11684     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   11685 $as_echo_n "checking for iconv declaration... " >&6; }
   11686     if ${am_cv_proto_iconv+:} false; then :
   11687   $as_echo_n "(cached) " >&6
   11688 else
   11689 
   11690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11691 /* end confdefs.h.  */
   11692 
   11693 #include <stdlib.h>
   11694 #include <iconv.h>
   11695 extern
   11696 #ifdef __cplusplus
   11697 "C"
   11698 #endif
   11699 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
   11700 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   11701 #else
   11702 size_t iconv();
   11703 #endif
   11704 
   11705 int
   11706 main ()
   11707 {
   11708 
   11709   ;
   11710   return 0;
   11711 }
   11712 _ACEOF
   11713 if ac_fn_c_try_compile "$LINENO"; then :
   11714   am_cv_proto_iconv_arg1=""
   11715 else
   11716   am_cv_proto_iconv_arg1="const"
   11717 fi
   11718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11719       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   11720 fi
   11721 
   11722     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   11723     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
   11724          $am_cv_proto_iconv" >&5
   11725 $as_echo "
   11726          $am_cv_proto_iconv" >&6; }
   11727 
   11728 cat >>confdefs.h <<_ACEOF
   11729 #define ICONV_CONST $am_cv_proto_iconv_arg1
   11730 _ACEOF
   11731 
   11732 
   11733   fi
   11734 
   11735 
   11736 
   11737 pkg_failed=no
   11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCLOCK" >&5
   11739 $as_echo_n "checking for XCLOCK... " >&6; }
   11740 
   11741 if test -n "$XCLOCK_CFLAGS"; then
   11742     pkg_cv_XCLOCK_CFLAGS="$XCLOCK_CFLAGS"
   11743  elif test -n "$PKG_CONFIG"; then
   11744     if test -n "$PKG_CONFIG" && \
   11745     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu x11 xproto >= 7.0.17\""; } >&5
   11746   ($PKG_CONFIG --exists --print-errors "xaw7 xmu x11 xproto >= 7.0.17") 2>&5
   11747   ac_status=$?
   11748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11749   test $ac_status = 0; }; then
   11750   pkg_cv_XCLOCK_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu x11 xproto >= 7.0.17" 2>/dev/null`
   11751 		      test "x$?" != "x0" && pkg_failed=yes
   11752 else
   11753   pkg_failed=yes
   11754 fi
   11755  else
   11756     pkg_failed=untried
   11757 fi
   11758 if test -n "$XCLOCK_LIBS"; then
   11759     pkg_cv_XCLOCK_LIBS="$XCLOCK_LIBS"
   11760  elif test -n "$PKG_CONFIG"; then
   11761     if test -n "$PKG_CONFIG" && \
   11762     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu x11 xproto >= 7.0.17\""; } >&5
   11763   ($PKG_CONFIG --exists --print-errors "xaw7 xmu x11 xproto >= 7.0.17") 2>&5
   11764   ac_status=$?
   11765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11766   test $ac_status = 0; }; then
   11767   pkg_cv_XCLOCK_LIBS=`$PKG_CONFIG --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>/dev/null`
   11768 		      test "x$?" != "x0" && pkg_failed=yes
   11769 else
   11770   pkg_failed=yes
   11771 fi
   11772  else
   11773     pkg_failed=untried
   11774 fi
   11775 
   11776 
   11777 
   11778 if test $pkg_failed = yes; then
   11779    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11780 $as_echo "no" >&6; }
   11781 
   11782 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11783         _pkg_short_errors_supported=yes
   11784 else
   11785         _pkg_short_errors_supported=no
   11786 fi
   11787         if test $_pkg_short_errors_supported = yes; then
   11788 	        XCLOCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>&1`
   11789         else
   11790 	        XCLOCK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu x11 xproto >= 7.0.17" 2>&1`
   11791         fi
   11792 	# Put the nasty error message in config.log where it belongs
   11793 	echo "$XCLOCK_PKG_ERRORS" >&5
   11794 
   11795 	as_fn_error $? "Package requirements (xaw7 xmu x11 xproto >= 7.0.17) were not met:
   11796 
   11797 $XCLOCK_PKG_ERRORS
   11798 
   11799 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11800 installed software in a non-standard prefix.
   11801 
   11802 Alternatively, you may set the environment variables XCLOCK_CFLAGS
   11803 and XCLOCK_LIBS to avoid the need to call pkg-config.
   11804 See the pkg-config man page for more details." "$LINENO" 5
   11805 elif test $pkg_failed = untried; then
   11806      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11807 $as_echo "no" >&6; }
   11808 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11810 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11811 is in your PATH or set the PKG_CONFIG environment variable to the full
   11812 path to pkg-config.
   11813 
   11814 Alternatively, you may set the environment variables XCLOCK_CFLAGS
   11815 and XCLOCK_LIBS to avoid the need to call pkg-config.
   11816 See the pkg-config man page for more details.
   11817 
   11818 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11819 See \`config.log' for more details" "$LINENO" 5; }
   11820 else
   11821 	XCLOCK_CFLAGS=$pkg_cv_XCLOCK_CFLAGS
   11822 	XCLOCK_LIBS=$pkg_cv_XCLOCK_LIBS
   11823         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11824 $as_echo "yes" >&6; }
   11825 
   11826 fi
   11827 XCLOCK_LIBS="$XCLOCK_LIBS $LIBICONV"
   11828 
   11829 
   11830 # Check whether --with-xft was given.
   11831 if test "${with_xft+set}" = set; then :
   11832   withval=$with_xft; use_xft="$withval"
   11833 else
   11834   use_xft="try"
   11835 fi
   11836 
   11837 if test x$use_xft != xno ; then
   11838 
   11839 pkg_failed=no
   11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
   11841 $as_echo_n "checking for XFT... " >&6; }
   11842 
   11843 if test -n "$XFT_CFLAGS"; then
   11844     pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
   11845  elif test -n "$PKG_CONFIG"; then
   11846     if test -n "$PKG_CONFIG" && \
   11847     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   11848   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   11849   ac_status=$?
   11850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11851   test $ac_status = 0; }; then
   11852   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xrender xft" 2>/dev/null`
   11853 		      test "x$?" != "x0" && pkg_failed=yes
   11854 else
   11855   pkg_failed=yes
   11856 fi
   11857  else
   11858     pkg_failed=untried
   11859 fi
   11860 if test -n "$XFT_LIBS"; then
   11861     pkg_cv_XFT_LIBS="$XFT_LIBS"
   11862  elif test -n "$PKG_CONFIG"; then
   11863     if test -n "$PKG_CONFIG" && \
   11864     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender xft\""; } >&5
   11865   ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
   11866   ac_status=$?
   11867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11868   test $ac_status = 0; }; then
   11869   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xrender xft" 2>/dev/null`
   11870 		      test "x$?" != "x0" && pkg_failed=yes
   11871 else
   11872   pkg_failed=yes
   11873 fi
   11874  else
   11875     pkg_failed=untried
   11876 fi
   11877 
   11878 
   11879 
   11880 if test $pkg_failed = yes; then
   11881    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11882 $as_echo "no" >&6; }
   11883 
   11884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11885         _pkg_short_errors_supported=yes
   11886 else
   11887         _pkg_short_errors_supported=no
   11888 fi
   11889         if test $_pkg_short_errors_supported = yes; then
   11890 	        XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender xft" 2>&1`
   11891         else
   11892 	        XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender xft" 2>&1`
   11893         fi
   11894 	# Put the nasty error message in config.log where it belongs
   11895 	echo "$XFT_PKG_ERRORS" >&5
   11896 
   11897 	as_fn_error $? "Package requirements (xrender xft) were not met:
   11898 
   11899 $XFT_PKG_ERRORS
   11900 
   11901 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11902 installed software in a non-standard prefix.
   11903 
   11904 Alternatively, you may set the environment variables XFT_CFLAGS
   11905 and XFT_LIBS to avoid the need to call pkg-config.
   11906 See the pkg-config man page for more details." "$LINENO" 5
   11907 elif test $pkg_failed = untried; then
   11908      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11909 $as_echo "no" >&6; }
   11910 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11912 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11913 is in your PATH or set the PKG_CONFIG environment variable to the full
   11914 path to pkg-config.
   11915 
   11916 Alternatively, you may set the environment variables XFT_CFLAGS
   11917 and XFT_LIBS to avoid the need to call pkg-config.
   11918 See the pkg-config man page for more details.
   11919 
   11920 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11921 See \`config.log' for more details" "$LINENO" 5; }
   11922 else
   11923 	XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
   11924 	XFT_LIBS=$pkg_cv_XFT_LIBS
   11925         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11926 $as_echo "yes" >&6; }
   11927 
   11928 fi
   11929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
   11930 $as_echo_n "checking for library containing sqrt... " >&6; }
   11931 if ${ac_cv_search_sqrt+:} false; then :
   11932   $as_echo_n "(cached) " >&6
   11933 else
   11934   ac_func_search_save_LIBS=$LIBS
   11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11936 /* end confdefs.h.  */
   11937 
   11938 /* Override any GCC internal prototype to avoid an error.
   11939    Use char because int might match the return type of a GCC
   11940    builtin and then its argument prototype would still apply.  */
   11941 #ifdef __cplusplus
   11942 extern "C"
   11943 #endif
   11944 char sqrt ();
   11945 int
   11946 main ()
   11947 {
   11948 return sqrt ();
   11949   ;
   11950   return 0;
   11951 }
   11952 _ACEOF
   11953 for ac_lib in '' m; do
   11954   if test -z "$ac_lib"; then
   11955     ac_res="none required"
   11956   else
   11957     ac_res=-l$ac_lib
   11958     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11959   fi
   11960   if ac_fn_c_try_link "$LINENO"; then :
   11961   ac_cv_search_sqrt=$ac_res
   11962 fi
   11963 rm -f core conftest.err conftest.$ac_objext \
   11964     conftest$ac_exeext
   11965   if ${ac_cv_search_sqrt+:} false; then :
   11966   break
   11967 fi
   11968 done
   11969 if ${ac_cv_search_sqrt+:} false; then :
   11970 
   11971 else
   11972   ac_cv_search_sqrt=no
   11973 fi
   11974 rm conftest.$ac_ext
   11975 LIBS=$ac_func_search_save_LIBS
   11976 fi
   11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
   11978 $as_echo "$ac_cv_search_sqrt" >&6; }
   11979 ac_res=$ac_cv_search_sqrt
   11980 if test "$ac_res" != no; then :
   11981   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   11982 
   11983 fi
   11984 
   11985 	XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XFT_CFLAGS"
   11986 	XCLOCK_LIBS="$XCLOCK_LIBS $XFT_LIBS"
   11987 
   11988 $as_echo "#define XRENDER 1" >>confdefs.h
   11989 
   11990 
   11991 $as_echo "#define XFREE86_FT2 1" >>confdefs.h
   11992 
   11993 fi
   11994 
   11995 
   11996 # Check whether --with-xkb was given.
   11997 if test "${with_xkb+set}" = set; then :
   11998   withval=$with_xkb; use_xkb="$withval"
   11999 else
   12000   use_xkb="try"
   12001 fi
   12002 
   12003 if test x$use_xkb != xno ; then
   12004 
   12005 pkg_failed=no
   12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKB" >&5
   12007 $as_echo_n "checking for XKB... " >&6; }
   12008 
   12009 if test -n "$XKB_CFLAGS"; then
   12010     pkg_cv_XKB_CFLAGS="$XKB_CFLAGS"
   12011  elif test -n "$PKG_CONFIG"; then
   12012     if test -n "$PKG_CONFIG" && \
   12013     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   12014   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   12015   ac_status=$?
   12016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12017   test $ac_status = 0; }; then
   12018   pkg_cv_XKB_CFLAGS=`$PKG_CONFIG --cflags "xkbfile" 2>/dev/null`
   12019 		      test "x$?" != "x0" && pkg_failed=yes
   12020 else
   12021   pkg_failed=yes
   12022 fi
   12023  else
   12024     pkg_failed=untried
   12025 fi
   12026 if test -n "$XKB_LIBS"; then
   12027     pkg_cv_XKB_LIBS="$XKB_LIBS"
   12028  elif test -n "$PKG_CONFIG"; then
   12029     if test -n "$PKG_CONFIG" && \
   12030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   12031   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   12032   ac_status=$?
   12033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12034   test $ac_status = 0; }; then
   12035   pkg_cv_XKB_LIBS=`$PKG_CONFIG --libs "xkbfile" 2>/dev/null`
   12036 		      test "x$?" != "x0" && pkg_failed=yes
   12037 else
   12038   pkg_failed=yes
   12039 fi
   12040  else
   12041     pkg_failed=untried
   12042 fi
   12043 
   12044 
   12045 
   12046 if test $pkg_failed = yes; then
   12047    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12048 $as_echo "no" >&6; }
   12049 
   12050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12051         _pkg_short_errors_supported=yes
   12052 else
   12053         _pkg_short_errors_supported=no
   12054 fi
   12055         if test $_pkg_short_errors_supported = yes; then
   12056 	        XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xkbfile" 2>&1`
   12057         else
   12058 	        XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xkbfile" 2>&1`
   12059         fi
   12060 	# Put the nasty error message in config.log where it belongs
   12061 	echo "$XKB_PKG_ERRORS" >&5
   12062 
   12063 	as_fn_error $? "Package requirements (xkbfile) were not met:
   12064 
   12065 $XKB_PKG_ERRORS
   12066 
   12067 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12068 installed software in a non-standard prefix.
   12069 
   12070 Alternatively, you may set the environment variables XKB_CFLAGS
   12071 and XKB_LIBS to avoid the need to call pkg-config.
   12072 See the pkg-config man page for more details." "$LINENO" 5
   12073 elif test $pkg_failed = untried; then
   12074      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12075 $as_echo "no" >&6; }
   12076 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12078 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12079 is in your PATH or set the PKG_CONFIG environment variable to the full
   12080 path to pkg-config.
   12081 
   12082 Alternatively, you may set the environment variables XKB_CFLAGS
   12083 and XKB_LIBS to avoid the need to call pkg-config.
   12084 See the pkg-config man page for more details.
   12085 
   12086 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12087 See \`config.log' for more details" "$LINENO" 5; }
   12088 else
   12089 	XKB_CFLAGS=$pkg_cv_XKB_CFLAGS
   12090 	XKB_LIBS=$pkg_cv_XKB_LIBS
   12091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12092 $as_echo "yes" >&6; }
   12093 
   12094 fi
   12095 	XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XKB_CFLAGS"
   12096 	XCLOCK_LIBS="$XCLOCK_LIBS $XKB_LIBS"
   12097 
   12098 $as_echo "#define XKB 1" >>confdefs.h
   12099 
   12100 fi
   12101 
   12102 
   12103 
   12104 pkg_failed=no
   12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   12106 $as_echo_n "checking for APPDEFS... " >&6; }
   12107 
   12108 if test -n "$APPDEFS_CFLAGS"; then
   12109     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   12110  elif test -n "$PKG_CONFIG"; then
   12111     if test -n "$PKG_CONFIG" && \
   12112     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12113   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12114   ac_status=$?
   12115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12116   test $ac_status = 0; }; then
   12117   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   12118 		      test "x$?" != "x0" && pkg_failed=yes
   12119 else
   12120   pkg_failed=yes
   12121 fi
   12122  else
   12123     pkg_failed=untried
   12124 fi
   12125 if test -n "$APPDEFS_LIBS"; then
   12126     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   12127  elif test -n "$PKG_CONFIG"; then
   12128     if test -n "$PKG_CONFIG" && \
   12129     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   12130   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   12131   ac_status=$?
   12132   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12133   test $ac_status = 0; }; then
   12134   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   12135 		      test "x$?" != "x0" && pkg_failed=yes
   12136 else
   12137   pkg_failed=yes
   12138 fi
   12139  else
   12140     pkg_failed=untried
   12141 fi
   12142 
   12143 
   12144 
   12145 if test $pkg_failed = yes; then
   12146    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12147 $as_echo "no" >&6; }
   12148 
   12149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12150         _pkg_short_errors_supported=yes
   12151 else
   12152         _pkg_short_errors_supported=no
   12153 fi
   12154         if test $_pkg_short_errors_supported = yes; then
   12155 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   12156         else
   12157 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   12158         fi
   12159 	# Put the nasty error message in config.log where it belongs
   12160 	echo "$APPDEFS_PKG_ERRORS" >&5
   12161 
   12162 	as_fn_error $? "Package requirements (xt) were not met:
   12163 
   12164 $APPDEFS_PKG_ERRORS
   12165 
   12166 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12167 installed software in a non-standard prefix.
   12168 
   12169 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12170 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12171 See the pkg-config man page for more details." "$LINENO" 5
   12172 elif test $pkg_failed = untried; then
   12173      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12174 $as_echo "no" >&6; }
   12175 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12177 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12178 is in your PATH or set the PKG_CONFIG environment variable to the full
   12179 path to pkg-config.
   12180 
   12181 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   12182 and APPDEFS_LIBS to avoid the need to call pkg-config.
   12183 See the pkg-config man page for more details.
   12184 
   12185 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12186 See \`config.log' for more details" "$LINENO" 5; }
   12187 else
   12188 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   12189 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   12190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12191 $as_echo "yes" >&6; }
   12192 
   12193 fi
   12194 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   12195 
   12196 # Check whether --with-appdefaultdir was given.
   12197 if test "${with_appdefaultdir+set}" = set; then :
   12198   withval=$with_appdefaultdir; appdefaultdir="$withval"
   12199 else
   12200   appdefaultdir="${xt_appdefaultdir}"
   12201 fi
   12202 
   12203 
   12204 
   12205 ac_config_files="$ac_config_files Makefile man/Makefile"
   12206 
   12207 cat >confcache <<\_ACEOF
   12208 # This file is a shell script that caches the results of configure
   12209 # tests run on this system so they can be shared between configure
   12210 # scripts and configure runs, see configure's option --config-cache.
   12211 # It is not useful on other systems.  If it contains results you don't
   12212 # want to keep, you may remove or edit it.
   12213 #
   12214 # config.status only pays attention to the cache file if you give it
   12215 # the --recheck option to rerun configure.
   12216 #
   12217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12219 # following values.
   12220 
   12221 _ACEOF
   12222 
   12223 # The following way of writing the cache mishandles newlines in values,
   12224 # but we know of no workaround that is simple, portable, and efficient.
   12225 # So, we kill variables containing newlines.
   12226 # Ultrix sh set writes to stderr and can't be redirected directly,
   12227 # and sets the high bit in the cache file unless we assign to the vars.
   12228 (
   12229   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12230     eval ac_val=\$$ac_var
   12231     case $ac_val in #(
   12232     *${as_nl}*)
   12233       case $ac_var in #(
   12234       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12236       esac
   12237       case $ac_var in #(
   12238       _ | IFS | as_nl) ;; #(
   12239       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12240       *) { eval $ac_var=; unset $ac_var;} ;;
   12241       esac ;;
   12242     esac
   12243   done
   12244 
   12245   (set) 2>&1 |
   12246     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12247     *${as_nl}ac_space=\ *)
   12248       # `set' does not quote correctly, so add quotes: double-quote
   12249       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12250       sed -n \
   12251 	"s/'/'\\\\''/g;
   12252 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12253       ;; #(
   12254     *)
   12255       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12256       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12257       ;;
   12258     esac |
   12259     sort
   12260 ) |
   12261   sed '
   12262      /^ac_cv_env_/b end
   12263      t clear
   12264      :clear
   12265      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12266      t end
   12267      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12268      :end' >>confcache
   12269 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12270   if test -w "$cache_file"; then
   12271     if test "x$cache_file" != "x/dev/null"; then
   12272       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12273 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12274       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12275 	cat confcache >"$cache_file"
   12276       else
   12277         case $cache_file in #(
   12278         */* | ?:*)
   12279 	  mv -f confcache "$cache_file"$$ &&
   12280 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12281         *)
   12282 	  mv -f confcache "$cache_file" ;;
   12283 	esac
   12284       fi
   12285     fi
   12286   else
   12287     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12288 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12289   fi
   12290 fi
   12291 rm -f confcache
   12292 
   12293 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12294 # Let make expand exec_prefix.
   12295 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12296 
   12297 DEFS=-DHAVE_CONFIG_H
   12298 
   12299 ac_libobjs=
   12300 ac_ltlibobjs=
   12301 U=
   12302 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12303   # 1. Remove the extension, and $U if already installed.
   12304   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12305   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12306   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12307   #    will be set to the directory where LIBOBJS objects are built.
   12308   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12309   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12310 done
   12311 LIBOBJS=$ac_libobjs
   12312 
   12313 LTLIBOBJS=$ac_ltlibobjs
   12314 
   12315 
   12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   12317 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   12318    if test -n "$am_sleep_pid"; then
   12319      # Hide warnings about reused PIDs.
   12320      wait $am_sleep_pid 2>/dev/null
   12321    fi
   12322    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   12323 $as_echo "done" >&6; }
   12324  if test -n "$EXEEXT"; then
   12325   am__EXEEXT_TRUE=
   12326   am__EXEEXT_FALSE='#'
   12327 else
   12328   am__EXEEXT_TRUE='#'
   12329   am__EXEEXT_FALSE=
   12330 fi
   12331 
   12332 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12333   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12335 fi
   12336 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12337   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12339 fi
   12340 
   12341 : "${CONFIG_STATUS=./config.status}"
   12342 ac_write_fail=0
   12343 ac_clean_files_save=$ac_clean_files
   12344 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12346 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12347 as_write_fail=0
   12348 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12349 #! $SHELL
   12350 # Generated by $as_me.
   12351 # Run this file to recreate the current configuration.
   12352 # Compiler output produced by configure, useful for debugging
   12353 # configure, is in config.log if it exists.
   12354 
   12355 debug=false
   12356 ac_cs_recheck=false
   12357 ac_cs_silent=false
   12358 
   12359 SHELL=\${CONFIG_SHELL-$SHELL}
   12360 export SHELL
   12361 _ASEOF
   12362 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12363 ## -------------------- ##
   12364 ## M4sh Initialization. ##
   12365 ## -------------------- ##
   12366 
   12367 # Be more Bourne compatible
   12368 DUALCASE=1; export DUALCASE # for MKS sh
   12369 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12370   emulate sh
   12371   NULLCMD=:
   12372   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12373   # is contrary to our usage.  Disable this feature.
   12374   alias -g '${1+"$@"}'='"$@"'
   12375   setopt NO_GLOB_SUBST
   12376 else
   12377   case `(set -o) 2>/dev/null` in #(
   12378   *posix*) :
   12379     set -o posix ;; #(
   12380   *) :
   12381      ;;
   12382 esac
   12383 fi
   12384 
   12385 
   12386 as_nl='
   12387 '
   12388 export as_nl
   12389 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12390 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12391 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12392 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12393 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12394 # but without wasting forks for bash or zsh.
   12395 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12396     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12397   as_echo='print -r --'
   12398   as_echo_n='print -rn --'
   12399 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12400   as_echo='printf %s\n'
   12401   as_echo_n='printf %s'
   12402 else
   12403   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12404     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12405     as_echo_n='/usr/ucb/echo -n'
   12406   else
   12407     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12408     as_echo_n_body='eval
   12409       arg=$1;
   12410       case $arg in #(
   12411       *"$as_nl"*)
   12412 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12413 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12414       esac;
   12415       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12416     '
   12417     export as_echo_n_body
   12418     as_echo_n='sh -c $as_echo_n_body as_echo'
   12419   fi
   12420   export as_echo_body
   12421   as_echo='sh -c $as_echo_body as_echo'
   12422 fi
   12423 
   12424 # The user is always right.
   12425 if test "${PATH_SEPARATOR+set}" != set; then
   12426   PATH_SEPARATOR=:
   12427   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12428     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12429       PATH_SEPARATOR=';'
   12430   }
   12431 fi
   12432 
   12433 
   12434 # IFS
   12435 # We need space, tab and new line, in precisely that order.  Quoting is
   12436 # there to prevent editors from complaining about space-tab.
   12437 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12438 # splitting by setting IFS to empty value.)
   12439 IFS=" ""	$as_nl"
   12440 
   12441 # Find who we are.  Look in the path if we contain no directory separator.
   12442 as_myself=
   12443 case $0 in #((
   12444   *[\\/]* ) as_myself=$0 ;;
   12445   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12446 for as_dir in $PATH
   12447 do
   12448   IFS=$as_save_IFS
   12449   test -z "$as_dir" && as_dir=.
   12450     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12451   done
   12452 IFS=$as_save_IFS
   12453 
   12454      ;;
   12455 esac
   12456 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12457 # in which case we are not to be found in the path.
   12458 if test "x$as_myself" = x; then
   12459   as_myself=$0
   12460 fi
   12461 if test ! -f "$as_myself"; then
   12462   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12463   exit 1
   12464 fi
   12465 
   12466 # Unset variables that we do not need and which cause bugs (e.g. in
   12467 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12468 # suppresses any "Segmentation fault" message there.  '((' could
   12469 # trigger a bug in pdksh 5.2.14.
   12470 for as_var in BASH_ENV ENV MAIL MAILPATH
   12471 do eval test x\${$as_var+set} = xset \
   12472   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12473 done
   12474 PS1='$ '
   12475 PS2='> '
   12476 PS4='+ '
   12477 
   12478 # NLS nuisances.
   12479 LC_ALL=C
   12480 export LC_ALL
   12481 LANGUAGE=C
   12482 export LANGUAGE
   12483 
   12484 # CDPATH.
   12485 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12486 
   12487 
   12488 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12489 # ----------------------------------------
   12490 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12491 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12492 # script with STATUS, using 1 if that was 0.
   12493 as_fn_error ()
   12494 {
   12495   as_status=$1; test $as_status -eq 0 && as_status=1
   12496   if test "$4"; then
   12497     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12498     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12499   fi
   12500   $as_echo "$as_me: error: $2" >&2
   12501   as_fn_exit $as_status
   12502 } # as_fn_error
   12503 
   12504 
   12505 # as_fn_set_status STATUS
   12506 # -----------------------
   12507 # Set $? to STATUS, without forking.
   12508 as_fn_set_status ()
   12509 {
   12510   return $1
   12511 } # as_fn_set_status
   12512 
   12513 # as_fn_exit STATUS
   12514 # -----------------
   12515 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12516 as_fn_exit ()
   12517 {
   12518   set +e
   12519   as_fn_set_status $1
   12520   exit $1
   12521 } # as_fn_exit
   12522 
   12523 # as_fn_unset VAR
   12524 # ---------------
   12525 # Portably unset VAR.
   12526 as_fn_unset ()
   12527 {
   12528   { eval $1=; unset $1;}
   12529 }
   12530 as_unset=as_fn_unset
   12531 # as_fn_append VAR VALUE
   12532 # ----------------------
   12533 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12534 # advantage of any shell optimizations that allow amortized linear growth over
   12535 # repeated appends, instead of the typical quadratic growth present in naive
   12536 # implementations.
   12537 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12538   eval 'as_fn_append ()
   12539   {
   12540     eval $1+=\$2
   12541   }'
   12542 else
   12543   as_fn_append ()
   12544   {
   12545     eval $1=\$$1\$2
   12546   }
   12547 fi # as_fn_append
   12548 
   12549 # as_fn_arith ARG...
   12550 # ------------------
   12551 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12552 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12553 # must be portable across $(()) and expr.
   12554 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12555   eval 'as_fn_arith ()
   12556   {
   12557     as_val=$(( $* ))
   12558   }'
   12559 else
   12560   as_fn_arith ()
   12561   {
   12562     as_val=`expr "$@" || test $? -eq 1`
   12563   }
   12564 fi # as_fn_arith
   12565 
   12566 
   12567 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12568    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12569   as_expr=expr
   12570 else
   12571   as_expr=false
   12572 fi
   12573 
   12574 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12575   as_basename=basename
   12576 else
   12577   as_basename=false
   12578 fi
   12579 
   12580 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12581   as_dirname=dirname
   12582 else
   12583   as_dirname=false
   12584 fi
   12585 
   12586 as_me=`$as_basename -- "$0" ||
   12587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12588 	 X"$0" : 'X\(//\)$' \| \
   12589 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12590 $as_echo X/"$0" |
   12591     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12592 	    s//\1/
   12593 	    q
   12594 	  }
   12595 	  /^X\/\(\/\/\)$/{
   12596 	    s//\1/
   12597 	    q
   12598 	  }
   12599 	  /^X\/\(\/\).*/{
   12600 	    s//\1/
   12601 	    q
   12602 	  }
   12603 	  s/.*/./; q'`
   12604 
   12605 # Avoid depending upon Character Ranges.
   12606 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12607 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12608 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12609 as_cr_digits='0123456789'
   12610 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12611 
   12612 ECHO_C= ECHO_N= ECHO_T=
   12613 case `echo -n x` in #(((((
   12614 -n*)
   12615   case `echo 'xy\c'` in
   12616   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12617   xy)  ECHO_C='\c';;
   12618   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12619        ECHO_T='	';;
   12620   esac;;
   12621 *)
   12622   ECHO_N='-n';;
   12623 esac
   12624 
   12625 rm -f conf$$ conf$$.exe conf$$.file
   12626 if test -d conf$$.dir; then
   12627   rm -f conf$$.dir/conf$$.file
   12628 else
   12629   rm -f conf$$.dir
   12630   mkdir conf$$.dir 2>/dev/null
   12631 fi
   12632 if (echo >conf$$.file) 2>/dev/null; then
   12633   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12634     as_ln_s='ln -s'
   12635     # ... but there are two gotchas:
   12636     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12637     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12638     # In both cases, we have to default to `cp -pR'.
   12639     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12640       as_ln_s='cp -pR'
   12641   elif ln conf$$.file conf$$ 2>/dev/null; then
   12642     as_ln_s=ln
   12643   else
   12644     as_ln_s='cp -pR'
   12645   fi
   12646 else
   12647   as_ln_s='cp -pR'
   12648 fi
   12649 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12650 rmdir conf$$.dir 2>/dev/null
   12651 
   12652 
   12653 # as_fn_mkdir_p
   12654 # -------------
   12655 # Create "$as_dir" as a directory, including parents if necessary.
   12656 as_fn_mkdir_p ()
   12657 {
   12658 
   12659   case $as_dir in #(
   12660   -*) as_dir=./$as_dir;;
   12661   esac
   12662   test -d "$as_dir" || eval $as_mkdir_p || {
   12663     as_dirs=
   12664     while :; do
   12665       case $as_dir in #(
   12666       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12667       *) as_qdir=$as_dir;;
   12668       esac
   12669       as_dirs="'$as_qdir' $as_dirs"
   12670       as_dir=`$as_dirname -- "$as_dir" ||
   12671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12672 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12673 	 X"$as_dir" : 'X\(//\)$' \| \
   12674 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12675 $as_echo X"$as_dir" |
   12676     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12677 	    s//\1/
   12678 	    q
   12679 	  }
   12680 	  /^X\(\/\/\)[^/].*/{
   12681 	    s//\1/
   12682 	    q
   12683 	  }
   12684 	  /^X\(\/\/\)$/{
   12685 	    s//\1/
   12686 	    q
   12687 	  }
   12688 	  /^X\(\/\).*/{
   12689 	    s//\1/
   12690 	    q
   12691 	  }
   12692 	  s/.*/./; q'`
   12693       test -d "$as_dir" && break
   12694     done
   12695     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12696   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12697 
   12698 
   12699 } # as_fn_mkdir_p
   12700 if mkdir -p . 2>/dev/null; then
   12701   as_mkdir_p='mkdir -p "$as_dir"'
   12702 else
   12703   test -d ./-p && rmdir ./-p
   12704   as_mkdir_p=false
   12705 fi
   12706 
   12707 
   12708 # as_fn_executable_p FILE
   12709 # -----------------------
   12710 # Test if FILE is an executable regular file.
   12711 as_fn_executable_p ()
   12712 {
   12713   test -f "$1" && test -x "$1"
   12714 } # as_fn_executable_p
   12715 as_test_x='test -x'
   12716 as_executable_p=as_fn_executable_p
   12717 
   12718 # Sed expression to map a string onto a valid CPP name.
   12719 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12720 
   12721 # Sed expression to map a string onto a valid variable name.
   12722 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12723 
   12724 
   12725 exec 6>&1
   12726 ## ----------------------------------- ##
   12727 ## Main body of $CONFIG_STATUS script. ##
   12728 ## ----------------------------------- ##
   12729 _ASEOF
   12730 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12731 
   12732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12733 # Save the log message, to keep $0 and so on meaningful, and to
   12734 # report actual input values of CONFIG_FILES etc. instead of their
   12735 # values after options handling.
   12736 ac_log="
   12737 This file was extended by xclock $as_me 1.0.8, which was
   12738 generated by GNU Autoconf 2.69.  Invocation command line was
   12739 
   12740   CONFIG_FILES    = $CONFIG_FILES
   12741   CONFIG_HEADERS  = $CONFIG_HEADERS
   12742   CONFIG_LINKS    = $CONFIG_LINKS
   12743   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12744   $ $0 $@
   12745 
   12746 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12747 "
   12748 
   12749 _ACEOF
   12750 
   12751 case $ac_config_files in *"
   12752 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12753 esac
   12754 
   12755 case $ac_config_headers in *"
   12756 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12757 esac
   12758 
   12759 
   12760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12761 # Files that config.status was made for.
   12762 config_files="$ac_config_files"
   12763 config_headers="$ac_config_headers"
   12764 config_commands="$ac_config_commands"
   12765 
   12766 _ACEOF
   12767 
   12768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12769 ac_cs_usage="\
   12770 \`$as_me' instantiates files and other configuration actions
   12771 from templates according to the current configuration.  Unless the files
   12772 and actions are specified as TAGs, all are instantiated by default.
   12773 
   12774 Usage: $0 [OPTION]... [TAG]...
   12775 
   12776   -h, --help       print this help, then exit
   12777   -V, --version    print version number and configuration settings, then exit
   12778       --config     print configuration, then exit
   12779   -q, --quiet, --silent
   12780                    do not print progress messages
   12781   -d, --debug      don't remove temporary files
   12782       --recheck    update $as_me by reconfiguring in the same conditions
   12783       --file=FILE[:TEMPLATE]
   12784                    instantiate the configuration file FILE
   12785       --header=FILE[:TEMPLATE]
   12786                    instantiate the configuration header FILE
   12787 
   12788 Configuration files:
   12789 $config_files
   12790 
   12791 Configuration headers:
   12792 $config_headers
   12793 
   12794 Configuration commands:
   12795 $config_commands
   12796 
   12797 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclock/issues>."
   12798 
   12799 _ACEOF
   12800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12801 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12802 ac_cs_version="\\
   12803 xclock config.status 1.0.8
   12804 configured by $0, generated by GNU Autoconf 2.69,
   12805   with options \\"\$ac_cs_config\\"
   12806 
   12807 Copyright (C) 2012 Free Software Foundation, Inc.
   12808 This config.status script is free software; the Free Software Foundation
   12809 gives unlimited permission to copy, distribute and modify it."
   12810 
   12811 ac_pwd='$ac_pwd'
   12812 srcdir='$srcdir'
   12813 INSTALL='$INSTALL'
   12814 MKDIR_P='$MKDIR_P'
   12815 AWK='$AWK'
   12816 test -n "\$AWK" || AWK=awk
   12817 _ACEOF
   12818 
   12819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12820 # The default lists apply if the user does not specify any file.
   12821 ac_need_defaults=:
   12822 while test $# != 0
   12823 do
   12824   case $1 in
   12825   --*=?*)
   12826     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12827     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12828     ac_shift=:
   12829     ;;
   12830   --*=)
   12831     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12832     ac_optarg=
   12833     ac_shift=:
   12834     ;;
   12835   *)
   12836     ac_option=$1
   12837     ac_optarg=$2
   12838     ac_shift=shift
   12839     ;;
   12840   esac
   12841 
   12842   case $ac_option in
   12843   # Handling of the options.
   12844   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12845     ac_cs_recheck=: ;;
   12846   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12847     $as_echo "$ac_cs_version"; exit ;;
   12848   --config | --confi | --conf | --con | --co | --c )
   12849     $as_echo "$ac_cs_config"; exit ;;
   12850   --debug | --debu | --deb | --de | --d | -d )
   12851     debug=: ;;
   12852   --file | --fil | --fi | --f )
   12853     $ac_shift
   12854     case $ac_optarg in
   12855     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12856     '') as_fn_error $? "missing file argument" ;;
   12857     esac
   12858     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12859     ac_need_defaults=false;;
   12860   --header | --heade | --head | --hea )
   12861     $ac_shift
   12862     case $ac_optarg in
   12863     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12864     esac
   12865     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12866     ac_need_defaults=false;;
   12867   --he | --h)
   12868     # Conflict between --help and --header
   12869     as_fn_error $? "ambiguous option: \`$1'
   12870 Try \`$0 --help' for more information.";;
   12871   --help | --hel | -h )
   12872     $as_echo "$ac_cs_usage"; exit ;;
   12873   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12874   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12875     ac_cs_silent=: ;;
   12876 
   12877   # This is an error.
   12878   -*) as_fn_error $? "unrecognized option: \`$1'
   12879 Try \`$0 --help' for more information." ;;
   12880 
   12881   *) as_fn_append ac_config_targets " $1"
   12882      ac_need_defaults=false ;;
   12883 
   12884   esac
   12885   shift
   12886 done
   12887 
   12888 ac_configure_extra_args=
   12889 
   12890 if $ac_cs_silent; then
   12891   exec 6>/dev/null
   12892   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12893 fi
   12894 
   12895 _ACEOF
   12896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12897 if \$ac_cs_recheck; then
   12898   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12899   shift
   12900   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12901   CONFIG_SHELL='$SHELL'
   12902   export CONFIG_SHELL
   12903   exec "\$@"
   12904 fi
   12905 
   12906 _ACEOF
   12907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12908 exec 5>>config.log
   12909 {
   12910   echo
   12911   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12912 ## Running $as_me. ##
   12913 _ASBOX
   12914   $as_echo "$ac_log"
   12915 } >&5
   12916 
   12917 _ACEOF
   12918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12919 #
   12920 # INIT-COMMANDS
   12921 #
   12922 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12923 
   12924 _ACEOF
   12925 
   12926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12927 
   12928 # Handling of arguments.
   12929 for ac_config_target in $ac_config_targets
   12930 do
   12931   case $ac_config_target in
   12932     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12933     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12934     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12935     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12936 
   12937   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12938   esac
   12939 done
   12940 
   12941 
   12942 # If the user did not use the arguments to specify the items to instantiate,
   12943 # then the envvar interface is used.  Set only those that are not.
   12944 # We use the long form for the default assignment because of an extremely
   12945 # bizarre bug on SunOS 4.1.3.
   12946 if $ac_need_defaults; then
   12947   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12948   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12949   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12950 fi
   12951 
   12952 # Have a temporary directory for convenience.  Make it in the build tree
   12953 # simply because there is no reason against having it here, and in addition,
   12954 # creating and moving files from /tmp can sometimes cause problems.
   12955 # Hook for its removal unless debugging.
   12956 # Note that there is a small window in which the directory will not be cleaned:
   12957 # after its creation but before its name has been assigned to `$tmp'.
   12958 $debug ||
   12959 {
   12960   tmp= ac_tmp=
   12961   trap 'exit_status=$?
   12962   : "${ac_tmp:=$tmp}"
   12963   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12964 ' 0
   12965   trap 'as_fn_exit 1' 1 2 13 15
   12966 }
   12967 # Create a (secure) tmp directory for tmp files.
   12968 
   12969 {
   12970   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12971   test -d "$tmp"
   12972 }  ||
   12973 {
   12974   tmp=./conf$$-$RANDOM
   12975   (umask 077 && mkdir "$tmp")
   12976 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12977 ac_tmp=$tmp
   12978 
   12979 # Set up the scripts for CONFIG_FILES section.
   12980 # No need to generate them if there are no CONFIG_FILES.
   12981 # This happens for instance with `./config.status config.h'.
   12982 if test -n "$CONFIG_FILES"; then
   12983 
   12984 
   12985 ac_cr=`echo X | tr X '\015'`
   12986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12987 # But we know of no other shell where ac_cr would be empty at this
   12988 # point, so we can use a bashism as a fallback.
   12989 if test "x$ac_cr" = x; then
   12990   eval ac_cr=\$\'\\r\'
   12991 fi
   12992 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12994   ac_cs_awk_cr='\\r'
   12995 else
   12996   ac_cs_awk_cr=$ac_cr
   12997 fi
   12998 
   12999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13000 _ACEOF
   13001 
   13002 
   13003 {
   13004   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13005   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13006   echo "_ACEOF"
   13007 } >conf$$subs.sh ||
   13008   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13010 ac_delim='%!_!# '
   13011 for ac_last_try in false false false false false :; do
   13012   . ./conf$$subs.sh ||
   13013     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13014 
   13015   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13016   if test $ac_delim_n = $ac_delim_num; then
   13017     break
   13018   elif $ac_last_try; then
   13019     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13020   else
   13021     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13022   fi
   13023 done
   13024 rm -f conf$$subs.sh
   13025 
   13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13027 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13028 _ACEOF
   13029 sed -n '
   13030 h
   13031 s/^/S["/; s/!.*/"]=/
   13032 p
   13033 g
   13034 s/^[^!]*!//
   13035 :repl
   13036 t repl
   13037 s/'"$ac_delim"'$//
   13038 t delim
   13039 :nl
   13040 h
   13041 s/\(.\{148\}\)..*/\1/
   13042 t more1
   13043 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13044 p
   13045 n
   13046 b repl
   13047 :more1
   13048 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13049 p
   13050 g
   13051 s/.\{148\}//
   13052 t nl
   13053 :delim
   13054 h
   13055 s/\(.\{148\}\)..*/\1/
   13056 t more2
   13057 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13058 p
   13059 b
   13060 :more2
   13061 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13062 p
   13063 g
   13064 s/.\{148\}//
   13065 t delim
   13066 ' <conf$$subs.awk | sed '
   13067 /^[^""]/{
   13068   N
   13069   s/\n//
   13070 }
   13071 ' >>$CONFIG_STATUS || ac_write_fail=1
   13072 rm -f conf$$subs.awk
   13073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13074 _ACAWK
   13075 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13076   for (key in S) S_is_set[key] = 1
   13077   FS = ""
   13078 
   13079 }
   13080 {
   13081   line = $ 0
   13082   nfields = split(line, field, "@")
   13083   substed = 0
   13084   len = length(field[1])
   13085   for (i = 2; i < nfields; i++) {
   13086     key = field[i]
   13087     keylen = length(key)
   13088     if (S_is_set[key]) {
   13089       value = S[key]
   13090       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13091       len += length(value) + length(field[++i])
   13092       substed = 1
   13093     } else
   13094       len += 1 + keylen
   13095   }
   13096 
   13097   print line
   13098 }
   13099 
   13100 _ACAWK
   13101 _ACEOF
   13102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13103 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13104   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13105 else
   13106   cat
   13107 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13108   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13109 _ACEOF
   13110 
   13111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13113 # trailing colons and then remove the whole line if VPATH becomes empty
   13114 # (actually we leave an empty line to preserve line numbers).
   13115 if test "x$srcdir" = x.; then
   13116   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13117 h
   13118 s///
   13119 s/^/:/
   13120 s/[	 ]*$/:/
   13121 s/:\$(srcdir):/:/g
   13122 s/:\${srcdir}:/:/g
   13123 s/:@srcdir@:/:/g
   13124 s/^:*//
   13125 s/:*$//
   13126 x
   13127 s/\(=[	 ]*\).*/\1/
   13128 G
   13129 s/\n//
   13130 s/^[^=]*=[	 ]*$//
   13131 }'
   13132 fi
   13133 
   13134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13135 fi # test -n "$CONFIG_FILES"
   13136 
   13137 # Set up the scripts for CONFIG_HEADERS section.
   13138 # No need to generate them if there are no CONFIG_HEADERS.
   13139 # This happens for instance with `./config.status Makefile'.
   13140 if test -n "$CONFIG_HEADERS"; then
   13141 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13142 BEGIN {
   13143 _ACEOF
   13144 
   13145 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13146 # here-document in config.status, that substitutes the proper values into
   13147 # config.h.in to produce config.h.
   13148 
   13149 # Create a delimiter string that does not exist in confdefs.h, to ease
   13150 # handling of long lines.
   13151 ac_delim='%!_!# '
   13152 for ac_last_try in false false :; do
   13153   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13154   if test -z "$ac_tt"; then
   13155     break
   13156   elif $ac_last_try; then
   13157     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13158   else
   13159     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13160   fi
   13161 done
   13162 
   13163 # For the awk script, D is an array of macro values keyed by name,
   13164 # likewise P contains macro parameters if any.  Preserve backslash
   13165 # newline sequences.
   13166 
   13167 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13168 sed -n '
   13169 s/.\{148\}/&'"$ac_delim"'/g
   13170 t rset
   13171 :rset
   13172 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13173 t def
   13174 d
   13175 :def
   13176 s/\\$//
   13177 t bsnl
   13178 s/["\\]/\\&/g
   13179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13180 D["\1"]=" \3"/p
   13181 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13182 d
   13183 :bsnl
   13184 s/["\\]/\\&/g
   13185 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13186 D["\1"]=" \3\\\\\\n"\\/p
   13187 t cont
   13188 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13189 t cont
   13190 d
   13191 :cont
   13192 n
   13193 s/.\{148\}/&'"$ac_delim"'/g
   13194 t clear
   13195 :clear
   13196 s/\\$//
   13197 t bsnlc
   13198 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13199 d
   13200 :bsnlc
   13201 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13202 b cont
   13203 ' <confdefs.h | sed '
   13204 s/'"$ac_delim"'/"\\\
   13205 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13206 
   13207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13208   for (key in D) D_is_set[key] = 1
   13209   FS = ""
   13210 }
   13211 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13212   line = \$ 0
   13213   split(line, arg, " ")
   13214   if (arg[1] == "#") {
   13215     defundef = arg[2]
   13216     mac1 = arg[3]
   13217   } else {
   13218     defundef = substr(arg[1], 2)
   13219     mac1 = arg[2]
   13220   }
   13221   split(mac1, mac2, "(") #)
   13222   macro = mac2[1]
   13223   prefix = substr(line, 1, index(line, defundef) - 1)
   13224   if (D_is_set[macro]) {
   13225     # Preserve the white space surrounding the "#".
   13226     print prefix "define", macro P[macro] D[macro]
   13227     next
   13228   } else {
   13229     # Replace #undef with comments.  This is necessary, for example,
   13230     # in the case of _POSIX_SOURCE, which is predefined and required
   13231     # on some systems where configure will not decide to define it.
   13232     if (defundef == "undef") {
   13233       print "/*", prefix defundef, macro, "*/"
   13234       next
   13235     }
   13236   }
   13237 }
   13238 { print }
   13239 _ACAWK
   13240 _ACEOF
   13241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13242   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13243 fi # test -n "$CONFIG_HEADERS"
   13244 
   13245 
   13246 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13247 shift
   13248 for ac_tag
   13249 do
   13250   case $ac_tag in
   13251   :[FHLC]) ac_mode=$ac_tag; continue;;
   13252   esac
   13253   case $ac_mode$ac_tag in
   13254   :[FHL]*:*);;
   13255   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13256   :[FH]-) ac_tag=-:-;;
   13257   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13258   esac
   13259   ac_save_IFS=$IFS
   13260   IFS=:
   13261   set x $ac_tag
   13262   IFS=$ac_save_IFS
   13263   shift
   13264   ac_file=$1
   13265   shift
   13266 
   13267   case $ac_mode in
   13268   :L) ac_source=$1;;
   13269   :[FH])
   13270     ac_file_inputs=
   13271     for ac_f
   13272     do
   13273       case $ac_f in
   13274       -) ac_f="$ac_tmp/stdin";;
   13275       *) # Look for the file first in the build tree, then in the source tree
   13276 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13277 	 # because $ac_f cannot contain `:'.
   13278 	 test -f "$ac_f" ||
   13279 	   case $ac_f in
   13280 	   [\\/$]*) false;;
   13281 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13282 	   esac ||
   13283 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13284       esac
   13285       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13286       as_fn_append ac_file_inputs " '$ac_f'"
   13287     done
   13288 
   13289     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13290     # use $as_me), people would be surprised to read:
   13291     #    /* config.h.  Generated by config.status.  */
   13292     configure_input='Generated from '`
   13293 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13294 	`' by configure.'
   13295     if test x"$ac_file" != x-; then
   13296       configure_input="$ac_file.  $configure_input"
   13297       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13298 $as_echo "$as_me: creating $ac_file" >&6;}
   13299     fi
   13300     # Neutralize special characters interpreted by sed in replacement strings.
   13301     case $configure_input in #(
   13302     *\&* | *\|* | *\\* )
   13303        ac_sed_conf_input=`$as_echo "$configure_input" |
   13304        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13305     *) ac_sed_conf_input=$configure_input;;
   13306     esac
   13307 
   13308     case $ac_tag in
   13309     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13310       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13311     esac
   13312     ;;
   13313   esac
   13314 
   13315   ac_dir=`$as_dirname -- "$ac_file" ||
   13316 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13317 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13318 	 X"$ac_file" : 'X\(//\)$' \| \
   13319 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13320 $as_echo X"$ac_file" |
   13321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13322 	    s//\1/
   13323 	    q
   13324 	  }
   13325 	  /^X\(\/\/\)[^/].*/{
   13326 	    s//\1/
   13327 	    q
   13328 	  }
   13329 	  /^X\(\/\/\)$/{
   13330 	    s//\1/
   13331 	    q
   13332 	  }
   13333 	  /^X\(\/\).*/{
   13334 	    s//\1/
   13335 	    q
   13336 	  }
   13337 	  s/.*/./; q'`
   13338   as_dir="$ac_dir"; as_fn_mkdir_p
   13339   ac_builddir=.
   13340 
   13341 case "$ac_dir" in
   13342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13343 *)
   13344   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13345   # A ".." for each directory in $ac_dir_suffix.
   13346   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13347   case $ac_top_builddir_sub in
   13348   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13349   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13350   esac ;;
   13351 esac
   13352 ac_abs_top_builddir=$ac_pwd
   13353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13354 # for backward compatibility:
   13355 ac_top_builddir=$ac_top_build_prefix
   13356 
   13357 case $srcdir in
   13358   .)  # We are building in place.
   13359     ac_srcdir=.
   13360     ac_top_srcdir=$ac_top_builddir_sub
   13361     ac_abs_top_srcdir=$ac_pwd ;;
   13362   [\\/]* | ?:[\\/]* )  # Absolute name.
   13363     ac_srcdir=$srcdir$ac_dir_suffix;
   13364     ac_top_srcdir=$srcdir
   13365     ac_abs_top_srcdir=$srcdir ;;
   13366   *) # Relative name.
   13367     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13368     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13369     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13370 esac
   13371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13372 
   13373 
   13374   case $ac_mode in
   13375   :F)
   13376   #
   13377   # CONFIG_FILE
   13378   #
   13379 
   13380   case $INSTALL in
   13381   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13382   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13383   esac
   13384   ac_MKDIR_P=$MKDIR_P
   13385   case $MKDIR_P in
   13386   [\\/$]* | ?:[\\/]* ) ;;
   13387   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13388   esac
   13389 _ACEOF
   13390 
   13391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13392 # If the template does not know about datarootdir, expand it.
   13393 # FIXME: This hack should be removed a few years after 2.60.
   13394 ac_datarootdir_hack=; ac_datarootdir_seen=
   13395 ac_sed_dataroot='
   13396 /datarootdir/ {
   13397   p
   13398   q
   13399 }
   13400 /@datadir@/p
   13401 /@docdir@/p
   13402 /@infodir@/p
   13403 /@localedir@/p
   13404 /@mandir@/p'
   13405 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13406 *datarootdir*) ac_datarootdir_seen=yes;;
   13407 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13408   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13409 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13410 _ACEOF
   13411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13412   ac_datarootdir_hack='
   13413   s&@datadir@&$datadir&g
   13414   s&@docdir@&$docdir&g
   13415   s&@infodir@&$infodir&g
   13416   s&@localedir@&$localedir&g
   13417   s&@mandir@&$mandir&g
   13418   s&\\\${datarootdir}&$datarootdir&g' ;;
   13419 esac
   13420 _ACEOF
   13421 
   13422 # Neutralize VPATH when `$srcdir' = `.'.
   13423 # Shell code in configure.ac might set extrasub.
   13424 # FIXME: do we really want to maintain this feature?
   13425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13426 ac_sed_extra="$ac_vpsub
   13427 $extrasub
   13428 _ACEOF
   13429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13430 :t
   13431 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13432 s|@configure_input@|$ac_sed_conf_input|;t t
   13433 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13434 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13435 s&@srcdir@&$ac_srcdir&;t t
   13436 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13437 s&@top_srcdir@&$ac_top_srcdir&;t t
   13438 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13439 s&@builddir@&$ac_builddir&;t t
   13440 s&@abs_builddir@&$ac_abs_builddir&;t t
   13441 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13442 s&@INSTALL@&$ac_INSTALL&;t t
   13443 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13444 $ac_datarootdir_hack
   13445 "
   13446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13447   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13448 
   13449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13450   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13451   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13452       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13453   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13454 which seems to be undefined.  Please make sure it is defined" >&5
   13455 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13456 which seems to be undefined.  Please make sure it is defined" >&2;}
   13457 
   13458   rm -f "$ac_tmp/stdin"
   13459   case $ac_file in
   13460   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13461   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13462   esac \
   13463   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13464  ;;
   13465   :H)
   13466   #
   13467   # CONFIG_HEADER
   13468   #
   13469   if test x"$ac_file" != x-; then
   13470     {
   13471       $as_echo "/* $configure_input  */" \
   13472       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13473     } >"$ac_tmp/config.h" \
   13474       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13475     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13476       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13477 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13478     else
   13479       rm -f "$ac_file"
   13480       mv "$ac_tmp/config.h" "$ac_file" \
   13481 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13482     fi
   13483   else
   13484     $as_echo "/* $configure_input  */" \
   13485       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13486       || as_fn_error $? "could not create -" "$LINENO" 5
   13487   fi
   13488 # Compute "$ac_file"'s index in $config_headers.
   13489 _am_arg="$ac_file"
   13490 _am_stamp_count=1
   13491 for _am_header in $config_headers :; do
   13492   case $_am_header in
   13493     $_am_arg | $_am_arg:* )
   13494       break ;;
   13495     * )
   13496       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13497   esac
   13498 done
   13499 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13500 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13501 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13502 	 X"$_am_arg" : 'X\(//\)$' \| \
   13503 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13504 $as_echo X"$_am_arg" |
   13505     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13506 	    s//\1/
   13507 	    q
   13508 	  }
   13509 	  /^X\(\/\/\)[^/].*/{
   13510 	    s//\1/
   13511 	    q
   13512 	  }
   13513 	  /^X\(\/\/\)$/{
   13514 	    s//\1/
   13515 	    q
   13516 	  }
   13517 	  /^X\(\/\).*/{
   13518 	    s//\1/
   13519 	    q
   13520 	  }
   13521 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13522  ;;
   13523 
   13524   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13525 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13526  ;;
   13527   esac
   13528 
   13529 
   13530   case $ac_file$ac_mode in
   13531     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13532   # Older Autoconf quotes --file arguments for eval, but not when files
   13533   # are listed without --file.  Let's play safe and only enable the eval
   13534   # if we detect the quoting.
   13535   case $CONFIG_FILES in
   13536   *\'*) eval set x "$CONFIG_FILES" ;;
   13537   *)   set x $CONFIG_FILES ;;
   13538   esac
   13539   shift
   13540   for mf
   13541   do
   13542     # Strip MF so we end up with the name of the file.
   13543     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13544     # Check whether this is an Automake generated Makefile or not.
   13545     # We used to match only the files named 'Makefile.in', but
   13546     # some people rename them; so instead we look at the file content.
   13547     # Grep'ing the first line is not enough: some people post-process
   13548     # each Makefile.in and add a new line on top of each file to say so.
   13549     # Grep'ing the whole file is not good either: AIX grep has a line
   13550     # limit of 2048, but all sed's we know have understand at least 4000.
   13551     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13552       dirpart=`$as_dirname -- "$mf" ||
   13553 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13554 	 X"$mf" : 'X\(//\)[^/]' \| \
   13555 	 X"$mf" : 'X\(//\)$' \| \
   13556 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13557 $as_echo X"$mf" |
   13558     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13559 	    s//\1/
   13560 	    q
   13561 	  }
   13562 	  /^X\(\/\/\)[^/].*/{
   13563 	    s//\1/
   13564 	    q
   13565 	  }
   13566 	  /^X\(\/\/\)$/{
   13567 	    s//\1/
   13568 	    q
   13569 	  }
   13570 	  /^X\(\/\).*/{
   13571 	    s//\1/
   13572 	    q
   13573 	  }
   13574 	  s/.*/./; q'`
   13575     else
   13576       continue
   13577     fi
   13578     # Extract the definition of DEPDIR, am__include, and am__quote
   13579     # from the Makefile without running 'make'.
   13580     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13581     test -z "$DEPDIR" && continue
   13582     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13583     test -z "$am__include" && continue
   13584     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13585     # Find all dependency output files, they are included files with
   13586     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13587     # simplest approach to changing $(DEPDIR) to its actual value in the
   13588     # expansion.
   13589     for file in `sed -n "
   13590       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13591 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   13592       # Make sure the directory exists.
   13593       test -f "$dirpart/$file" && continue
   13594       fdir=`$as_dirname -- "$file" ||
   13595 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13596 	 X"$file" : 'X\(//\)[^/]' \| \
   13597 	 X"$file" : 'X\(//\)$' \| \
   13598 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13599 $as_echo X"$file" |
   13600     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13601 	    s//\1/
   13602 	    q
   13603 	  }
   13604 	  /^X\(\/\/\)[^/].*/{
   13605 	    s//\1/
   13606 	    q
   13607 	  }
   13608 	  /^X\(\/\/\)$/{
   13609 	    s//\1/
   13610 	    q
   13611 	  }
   13612 	  /^X\(\/\).*/{
   13613 	    s//\1/
   13614 	    q
   13615 	  }
   13616 	  s/.*/./; q'`
   13617       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13618       # echo "creating $dirpart/$file"
   13619       echo '# dummy' > "$dirpart/$file"
   13620     done
   13621   done
   13622 }
   13623  ;;
   13624 
   13625   esac
   13626 done # for ac_tag
   13627 
   13628 
   13629 as_fn_exit 0
   13630 _ACEOF
   13631 ac_clean_files=$ac_clean_files_save
   13632 
   13633 test $ac_write_fail = 0 ||
   13634   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13635 
   13636 
   13637 # configure is writing to config.log, and then calls config.status.
   13638 # config.status does its own redirection, appending to config.log.
   13639 # Unfortunately, on DOS this fails, as config.log is still kept open
   13640 # by configure, so config.status won't be able to write to it; its
   13641 # output is simply discarded.  So we exec the FD to /dev/null,
   13642 # effectively closing config.log, so it can be properly (re)opened and
   13643 # appended to by config.status.  When coming back to configure, we
   13644 # need to make the FD available again.
   13645 if test "$no_create" != yes; then
   13646   ac_cs_success=:
   13647   ac_config_status_args=
   13648   test "$silent" = yes &&
   13649     ac_config_status_args="$ac_config_status_args --quiet"
   13650   exec 5>/dev/null
   13651   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13652   exec 5>>config.log
   13653   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13654   # would make configure fail if this is the last instruction.
   13655   $ac_cs_success || as_fn_exit 1
   13656 fi
   13657 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13658   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13659 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13660 fi
   13661 
   13662