Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for mkfontscale 1.1.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='mkfontscale'
    583 PACKAGE_TARNAME='mkfontscale'
    584 PACKAGE_VERSION='1.1.2'
    585 PACKAGE_STRING='mkfontscale 1.1.2'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 LINT_FALSE
    631 LINT_TRUE
    632 LINT_FLAGS
    633 LINT
    634 X11_LIBS
    635 X11_CFLAGS
    636 MKFONTSCALE_LIBS
    637 MKFONTSCALE_CFLAGS
    638 MAN_SUBSTS
    639 XORG_MAN_PAGE
    640 ADMIN_MAN_DIR
    641 DRIVER_MAN_DIR
    642 MISC_MAN_DIR
    643 FILE_MAN_DIR
    644 LIB_MAN_DIR
    645 APP_MAN_DIR
    646 ADMIN_MAN_SUFFIX
    647 DRIVER_MAN_SUFFIX
    648 MISC_MAN_SUFFIX
    649 FILE_MAN_SUFFIX
    650 LIB_MAN_SUFFIX
    651 APP_MAN_SUFFIX
    652 SED
    653 host_os
    654 host_vendor
    655 host_cpu
    656 host
    657 build_os
    658 build_vendor
    659 build_cpu
    660 build
    661 INSTALL_CMD
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 am__untar
    682 am__tar
    683 AMTAR
    684 am__leading_dot
    685 SET_MAKE
    686 AWK
    687 mkdir_p
    688 MKDIR_P
    689 INSTALL_STRIP_PROGRAM
    690 STRIP
    691 install_sh
    692 MAKEINFO
    693 AUTOHEADER
    694 AUTOMAKE
    695 AUTOCONF
    696 ACLOCAL
    697 VERSION
    698 PACKAGE
    699 CYGPATH_W
    700 am__isrc
    701 INSTALL_DATA
    702 INSTALL_SCRIPT
    703 INSTALL_PROGRAM
    704 EGREP
    705 GREP
    706 CPP
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_dependency_tracking
    756 enable_silent_rules
    757 enable_selective_werror
    758 enable_strict_compilation
    759 with_bzip2
    760 with_lint
    761 '
    762       ac_precious_vars='build_alias
    763 host_alias
    764 target_alias
    765 CC
    766 CFLAGS
    767 LDFLAGS
    768 LIBS
    769 CPPFLAGS
    770 CPP
    771 PKG_CONFIG
    772 MKFONTSCALE_CFLAGS
    773 MKFONTSCALE_LIBS
    774 X11_CFLAGS
    775 X11_LIBS
    776 LINT
    777 LINT_FLAGS'
    778 
    779 
    780 # Initialize some variables set by options.
    781 ac_init_help=
    782 ac_init_version=false
    783 ac_unrecognized_opts=
    784 ac_unrecognized_sep=
    785 # The variables have the same names as the options, with
    786 # dashes changed to underlines.
    787 cache_file=/dev/null
    788 exec_prefix=NONE
    789 no_create=
    790 no_recursion=
    791 prefix=NONE
    792 program_prefix=NONE
    793 program_suffix=NONE
    794 program_transform_name=s,x,x,
    795 silent=
    796 site=
    797 srcdir=
    798 verbose=
    799 x_includes=NONE
    800 x_libraries=NONE
    801 
    802 # Installation directory options.
    803 # These are left unexpanded so users can "make install exec_prefix=/foo"
    804 # and all the variables that are supposed to be based on exec_prefix
    805 # by default will actually change.
    806 # Use braces instead of parens because sh, perl, etc. also accept them.
    807 # (The list follows the same order as the GNU Coding Standards.)
    808 bindir='${exec_prefix}/bin'
    809 sbindir='${exec_prefix}/sbin'
    810 libexecdir='${exec_prefix}/libexec'
    811 datarootdir='${prefix}/share'
    812 datadir='${datarootdir}'
    813 sysconfdir='${prefix}/etc'
    814 sharedstatedir='${prefix}/com'
    815 localstatedir='${prefix}/var'
    816 includedir='${prefix}/include'
    817 oldincludedir='/usr/include'
    818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    819 infodir='${datarootdir}/info'
    820 htmldir='${docdir}'
    821 dvidir='${docdir}'
    822 pdfdir='${docdir}'
    823 psdir='${docdir}'
    824 libdir='${exec_prefix}/lib'
    825 localedir='${datarootdir}/locale'
    826 mandir='${datarootdir}/man'
    827 
    828 ac_prev=
    829 ac_dashdash=
    830 for ac_option
    831 do
    832   # If the previous option needs an argument, assign it.
    833   if test -n "$ac_prev"; then
    834     eval $ac_prev=\$ac_option
    835     ac_prev=
    836     continue
    837   fi
    838 
    839   case $ac_option in
    840   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    841   *=)   ac_optarg= ;;
    842   *)    ac_optarg=yes ;;
    843   esac
    844 
    845   # Accept the important Cygnus configure options, so we can diagnose typos.
    846 
    847   case $ac_dashdash$ac_option in
    848   --)
    849     ac_dashdash=yes ;;
    850 
    851   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    852     ac_prev=bindir ;;
    853   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    854     bindir=$ac_optarg ;;
    855 
    856   -build | --build | --buil | --bui | --bu)
    857     ac_prev=build_alias ;;
    858   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    859     build_alias=$ac_optarg ;;
    860 
    861   -cache-file | --cache-file | --cache-fil | --cache-fi \
    862   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    863     ac_prev=cache_file ;;
    864   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    865   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    866     cache_file=$ac_optarg ;;
    867 
    868   --config-cache | -C)
    869     cache_file=config.cache ;;
    870 
    871   -datadir | --datadir | --datadi | --datad)
    872     ac_prev=datadir ;;
    873   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    874     datadir=$ac_optarg ;;
    875 
    876   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    877   | --dataroo | --dataro | --datar)
    878     ac_prev=datarootdir ;;
    879   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    880   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    881     datarootdir=$ac_optarg ;;
    882 
    883   -disable-* | --disable-*)
    884     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    885     # Reject names that are not valid shell variable names.
    886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    887       as_fn_error $? "invalid feature name: $ac_useropt"
    888     ac_useropt_orig=$ac_useropt
    889     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    890     case $ac_user_opts in
    891       *"
    892 "enable_$ac_useropt"
    893 "*) ;;
    894       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    895 	 ac_unrecognized_sep=', ';;
    896     esac
    897     eval enable_$ac_useropt=no ;;
    898 
    899   -docdir | --docdir | --docdi | --doc | --do)
    900     ac_prev=docdir ;;
    901   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    902     docdir=$ac_optarg ;;
    903 
    904   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    905     ac_prev=dvidir ;;
    906   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    907     dvidir=$ac_optarg ;;
    908 
    909   -enable-* | --enable-*)
    910     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    911     # Reject names that are not valid shell variable names.
    912     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    913       as_fn_error $? "invalid feature name: $ac_useropt"
    914     ac_useropt_orig=$ac_useropt
    915     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    916     case $ac_user_opts in
    917       *"
    918 "enable_$ac_useropt"
    919 "*) ;;
    920       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    921 	 ac_unrecognized_sep=', ';;
    922     esac
    923     eval enable_$ac_useropt=\$ac_optarg ;;
    924 
    925   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    926   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    927   | --exec | --exe | --ex)
    928     ac_prev=exec_prefix ;;
    929   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    930   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    931   | --exec=* | --exe=* | --ex=*)
    932     exec_prefix=$ac_optarg ;;
    933 
    934   -gas | --gas | --ga | --g)
    935     # Obsolete; use --with-gas.
    936     with_gas=yes ;;
    937 
    938   -help | --help | --hel | --he | -h)
    939     ac_init_help=long ;;
    940   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    941     ac_init_help=recursive ;;
    942   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    943     ac_init_help=short ;;
    944 
    945   -host | --host | --hos | --ho)
    946     ac_prev=host_alias ;;
    947   -host=* | --host=* | --hos=* | --ho=*)
    948     host_alias=$ac_optarg ;;
    949 
    950   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    951     ac_prev=htmldir ;;
    952   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    953   | --ht=*)
    954     htmldir=$ac_optarg ;;
    955 
    956   -includedir | --includedir | --includedi | --included | --include \
    957   | --includ | --inclu | --incl | --inc)
    958     ac_prev=includedir ;;
    959   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    960   | --includ=* | --inclu=* | --incl=* | --inc=*)
    961     includedir=$ac_optarg ;;
    962 
    963   -infodir | --infodir | --infodi | --infod | --info | --inf)
    964     ac_prev=infodir ;;
    965   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    966     infodir=$ac_optarg ;;
    967 
    968   -libdir | --libdir | --libdi | --libd)
    969     ac_prev=libdir ;;
    970   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    971     libdir=$ac_optarg ;;
    972 
    973   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    974   | --libexe | --libex | --libe)
    975     ac_prev=libexecdir ;;
    976   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    977   | --libexe=* | --libex=* | --libe=*)
    978     libexecdir=$ac_optarg ;;
    979 
    980   -localedir | --localedir | --localedi | --localed | --locale)
    981     ac_prev=localedir ;;
    982   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    983     localedir=$ac_optarg ;;
    984 
    985   -localstatedir | --localstatedir | --localstatedi | --localstated \
    986   | --localstate | --localstat | --localsta | --localst | --locals)
    987     ac_prev=localstatedir ;;
    988   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    989   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    990     localstatedir=$ac_optarg ;;
    991 
    992   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    993     ac_prev=mandir ;;
    994   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    995     mandir=$ac_optarg ;;
    996 
    997   -nfp | --nfp | --nf)
    998     # Obsolete; use --without-fp.
    999     with_fp=no ;;
   1000 
   1001   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1002   | --no-cr | --no-c | -n)
   1003     no_create=yes ;;
   1004 
   1005   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1006   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1007     no_recursion=yes ;;
   1008 
   1009   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1010   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1011   | --oldin | --oldi | --old | --ol | --o)
   1012     ac_prev=oldincludedir ;;
   1013   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1014   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1015   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1016     oldincludedir=$ac_optarg ;;
   1017 
   1018   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1019     ac_prev=prefix ;;
   1020   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1021     prefix=$ac_optarg ;;
   1022 
   1023   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1024   | --program-pre | --program-pr | --program-p)
   1025     ac_prev=program_prefix ;;
   1026   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1027   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1028     program_prefix=$ac_optarg ;;
   1029 
   1030   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1031   | --program-suf | --program-su | --program-s)
   1032     ac_prev=program_suffix ;;
   1033   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1034   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1035     program_suffix=$ac_optarg ;;
   1036 
   1037   -program-transform-name | --program-transform-name \
   1038   | --program-transform-nam | --program-transform-na \
   1039   | --program-transform-n | --program-transform- \
   1040   | --program-transform | --program-transfor \
   1041   | --program-transfo | --program-transf \
   1042   | --program-trans | --program-tran \
   1043   | --progr-tra | --program-tr | --program-t)
   1044     ac_prev=program_transform_name ;;
   1045   -program-transform-name=* | --program-transform-name=* \
   1046   | --program-transform-nam=* | --program-transform-na=* \
   1047   | --program-transform-n=* | --program-transform-=* \
   1048   | --program-transform=* | --program-transfor=* \
   1049   | --program-transfo=* | --program-transf=* \
   1050   | --program-trans=* | --program-tran=* \
   1051   | --progr-tra=* | --program-tr=* | --program-t=*)
   1052     program_transform_name=$ac_optarg ;;
   1053 
   1054   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1055     ac_prev=pdfdir ;;
   1056   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1057     pdfdir=$ac_optarg ;;
   1058 
   1059   -psdir | --psdir | --psdi | --psd | --ps)
   1060     ac_prev=psdir ;;
   1061   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1062     psdir=$ac_optarg ;;
   1063 
   1064   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1065   | -silent | --silent | --silen | --sile | --sil)
   1066     silent=yes ;;
   1067 
   1068   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1069     ac_prev=sbindir ;;
   1070   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1071   | --sbi=* | --sb=*)
   1072     sbindir=$ac_optarg ;;
   1073 
   1074   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1075   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1076   | --sharedst | --shareds | --shared | --share | --shar \
   1077   | --sha | --sh)
   1078     ac_prev=sharedstatedir ;;
   1079   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1080   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1081   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1082   | --sha=* | --sh=*)
   1083     sharedstatedir=$ac_optarg ;;
   1084 
   1085   -site | --site | --sit)
   1086     ac_prev=site ;;
   1087   -site=* | --site=* | --sit=*)
   1088     site=$ac_optarg ;;
   1089 
   1090   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1091     ac_prev=srcdir ;;
   1092   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1093     srcdir=$ac_optarg ;;
   1094 
   1095   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1096   | --syscon | --sysco | --sysc | --sys | --sy)
   1097     ac_prev=sysconfdir ;;
   1098   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1099   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1100     sysconfdir=$ac_optarg ;;
   1101 
   1102   -target | --target | --targe | --targ | --tar | --ta | --t)
   1103     ac_prev=target_alias ;;
   1104   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1105     target_alias=$ac_optarg ;;
   1106 
   1107   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1108     verbose=yes ;;
   1109 
   1110   -version | --version | --versio | --versi | --vers | -V)
   1111     ac_init_version=: ;;
   1112 
   1113   -with-* | --with-*)
   1114     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1115     # Reject names that are not valid shell variable names.
   1116     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1117       as_fn_error $? "invalid package name: $ac_useropt"
   1118     ac_useropt_orig=$ac_useropt
   1119     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1120     case $ac_user_opts in
   1121       *"
   1122 "with_$ac_useropt"
   1123 "*) ;;
   1124       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1125 	 ac_unrecognized_sep=', ';;
   1126     esac
   1127     eval with_$ac_useropt=\$ac_optarg ;;
   1128 
   1129   -without-* | --without-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: $ac_useropt"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=no ;;
   1144 
   1145   --x)
   1146     # Obsolete; use --with-x.
   1147     with_x=yes ;;
   1148 
   1149   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1150   | --x-incl | --x-inc | --x-in | --x-i)
   1151     ac_prev=x_includes ;;
   1152   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1153   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1154     x_includes=$ac_optarg ;;
   1155 
   1156   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1157   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1158     ac_prev=x_libraries ;;
   1159   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1160   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1161     x_libraries=$ac_optarg ;;
   1162 
   1163   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1164 Try \`$0 --help' for more information"
   1165     ;;
   1166 
   1167   *=*)
   1168     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1169     # Reject names that are not valid shell variable names.
   1170     case $ac_envvar in #(
   1171       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1172       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1173     esac
   1174     eval $ac_envvar=\$ac_optarg
   1175     export $ac_envvar ;;
   1176 
   1177   *)
   1178     # FIXME: should be removed in autoconf 3.0.
   1179     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1180     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1181       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1182     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1183     ;;
   1184 
   1185   esac
   1186 done
   1187 
   1188 if test -n "$ac_prev"; then
   1189   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1190   as_fn_error $? "missing argument to $ac_option"
   1191 fi
   1192 
   1193 if test -n "$ac_unrecognized_opts"; then
   1194   case $enable_option_checking in
   1195     no) ;;
   1196     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1197     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1198   esac
   1199 fi
   1200 
   1201 # Check all directory arguments for consistency.
   1202 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1203 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1204 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1205 		libdir localedir mandir
   1206 do
   1207   eval ac_val=\$$ac_var
   1208   # Remove trailing slashes.
   1209   case $ac_val in
   1210     */ )
   1211       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1212       eval $ac_var=\$ac_val;;
   1213   esac
   1214   # Be sure to have absolute directory names.
   1215   case $ac_val in
   1216     [\\/$]* | ?:[\\/]* )  continue;;
   1217     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1218   esac
   1219   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1220 done
   1221 
   1222 # There might be people who depend on the old broken behavior: `$host'
   1223 # used to hold the argument of --host etc.
   1224 # FIXME: To remove some day.
   1225 build=$build_alias
   1226 host=$host_alias
   1227 target=$target_alias
   1228 
   1229 # FIXME: To remove some day.
   1230 if test "x$host_alias" != x; then
   1231   if test "x$build_alias" = x; then
   1232     cross_compiling=maybe
   1233   elif test "x$build_alias" != "x$host_alias"; then
   1234     cross_compiling=yes
   1235   fi
   1236 fi
   1237 
   1238 ac_tool_prefix=
   1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1240 
   1241 test "$silent" = yes && exec 6>/dev/null
   1242 
   1243 
   1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1245 ac_ls_di=`ls -di .` &&
   1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1247   as_fn_error $? "working directory cannot be determined"
   1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1249   as_fn_error $? "pwd does not report name of working directory"
   1250 
   1251 
   1252 # Find the source files, if location was not specified.
   1253 if test -z "$srcdir"; then
   1254   ac_srcdir_defaulted=yes
   1255   # Try the directory containing this script, then the parent directory.
   1256   ac_confdir=`$as_dirname -- "$as_myself" ||
   1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1258 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1259 	 X"$as_myself" : 'X\(//\)$' \| \
   1260 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1261 $as_echo X"$as_myself" |
   1262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1263 	    s//\1/
   1264 	    q
   1265 	  }
   1266 	  /^X\(\/\/\)[^/].*/{
   1267 	    s//\1/
   1268 	    q
   1269 	  }
   1270 	  /^X\(\/\/\)$/{
   1271 	    s//\1/
   1272 	    q
   1273 	  }
   1274 	  /^X\(\/\).*/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  s/.*/./; q'`
   1279   srcdir=$ac_confdir
   1280   if test ! -r "$srcdir/$ac_unique_file"; then
   1281     srcdir=..
   1282   fi
   1283 else
   1284   ac_srcdir_defaulted=no
   1285 fi
   1286 if test ! -r "$srcdir/$ac_unique_file"; then
   1287   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1288   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1289 fi
   1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1291 ac_abs_confdir=`(
   1292 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1293 	pwd)`
   1294 # When building in place, set srcdir=.
   1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1296   srcdir=.
   1297 fi
   1298 # Remove unnecessary trailing slashes from srcdir.
   1299 # Double slashes in file names in object file debugging info
   1300 # mess up M-x gdb in Emacs.
   1301 case $srcdir in
   1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1303 esac
   1304 for ac_var in $ac_precious_vars; do
   1305   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1306   eval ac_env_${ac_var}_value=\$${ac_var}
   1307   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1308   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1309 done
   1310 
   1311 #
   1312 # Report the --help message.
   1313 #
   1314 if test "$ac_init_help" = "long"; then
   1315   # Omit some internal or obsolete options to make the list less imposing.
   1316   # This message is too long to be a string in the A/UX 3.1 sh.
   1317   cat <<_ACEOF
   1318 \`configure' configures mkfontscale 1.1.2 to adapt to many kinds of systems.
   1319 
   1320 Usage: $0 [OPTION]... [VAR=VALUE]...
   1321 
   1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1323 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1324 
   1325 Defaults for the options are specified in brackets.
   1326 
   1327 Configuration:
   1328   -h, --help              display this help and exit
   1329       --help=short        display options specific to this package
   1330       --help=recursive    display the short help of all the included packages
   1331   -V, --version           display version information and exit
   1332   -q, --quiet, --silent   do not print \`checking ...' messages
   1333       --cache-file=FILE   cache test results in FILE [disabled]
   1334   -C, --config-cache      alias for \`--cache-file=config.cache'
   1335   -n, --no-create         do not create output files
   1336       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1337 
   1338 Installation directories:
   1339   --prefix=PREFIX         install architecture-independent files in PREFIX
   1340                           [$ac_default_prefix]
   1341   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1342                           [PREFIX]
   1343 
   1344 By default, \`make install' will install all the files in
   1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1347 for instance \`--prefix=\$HOME'.
   1348 
   1349 For better control, use the options below.
   1350 
   1351 Fine tuning of the installation directories:
   1352   --bindir=DIR            user executables [EPREFIX/bin]
   1353   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1354   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1355   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1356   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1357   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1358   --libdir=DIR            object code libraries [EPREFIX/lib]
   1359   --includedir=DIR        C header files [PREFIX/include]
   1360   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1361   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1362   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1363   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1364   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1365   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1366   --docdir=DIR            documentation root [DATAROOTDIR/doc/mkfontscale]
   1367   --htmldir=DIR           html documentation [DOCDIR]
   1368   --dvidir=DIR            dvi documentation [DOCDIR]
   1369   --pdfdir=DIR            pdf documentation [DOCDIR]
   1370   --psdir=DIR             ps documentation [DOCDIR]
   1371 _ACEOF
   1372 
   1373   cat <<\_ACEOF
   1374 
   1375 Program names:
   1376   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1377   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1378   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1379 
   1380 System types:
   1381   --build=BUILD     configure for building on BUILD [guessed]
   1382   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1383 _ACEOF
   1384 fi
   1385 
   1386 if test -n "$ac_init_help"; then
   1387   case $ac_init_help in
   1388      short | recursive ) echo "Configuration of mkfontscale 1.1.2:";;
   1389    esac
   1390   cat <<\_ACEOF
   1391 
   1392 Optional Features:
   1393   --disable-option-checking  ignore unrecognized --enable/--with options
   1394   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1395   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1396   --enable-dependency-tracking
   1397                           do not reject slow dependency extractors
   1398   --disable-dependency-tracking
   1399                           speeds up one-time build
   1400   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1401   --disable-silent-rules  verbose build output (undo: "make V=0")
   1402   --disable-selective-werror
   1403                           Turn off selective compiler errors. (default:
   1404                           enabled)
   1405   --enable-strict-compilation
   1406                           Enable all warnings from compiler and make them
   1407                           errors (default: disabled)
   1408 
   1409 Optional Packages:
   1410   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1411   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1412   --with-bzip2            Support bzip2 compressed bitmap fonts
   1413   --with-lint             Use a lint-style source code checker (default:
   1414                           disabled)
   1415 
   1416 Some influential environment variables:
   1417   CC          C compiler command
   1418   CFLAGS      C compiler flags
   1419   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1420               nonstandard directory <lib dir>
   1421   LIBS        libraries to pass to the linker, e.g. -l<library>
   1422   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1423               you have headers in a nonstandard directory <include dir>
   1424   CPP         C preprocessor
   1425   PKG_CONFIG  path to pkg-config utility
   1426   MKFONTSCALE_CFLAGS
   1427               C compiler flags for MKFONTSCALE, overriding pkg-config
   1428   MKFONTSCALE_LIBS
   1429               linker flags for MKFONTSCALE, overriding pkg-config
   1430   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1431   X11_LIBS    linker flags for X11, overriding pkg-config
   1432   LINT        Path to a lint-style command
   1433   LINT_FLAGS  Flags for the lint-style command
   1434 
   1435 Use these variables to override the choices made by `configure' or to help
   1436 it to find libraries and programs with nonstandard names/locations.
   1437 
   1438 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1439 _ACEOF
   1440 ac_status=$?
   1441 fi
   1442 
   1443 if test "$ac_init_help" = "recursive"; then
   1444   # If there are subdirs, report their specific --help.
   1445   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1446     test -d "$ac_dir" ||
   1447       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1448       continue
   1449     ac_builddir=.
   1450 
   1451 case "$ac_dir" in
   1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1453 *)
   1454   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1455   # A ".." for each directory in $ac_dir_suffix.
   1456   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1457   case $ac_top_builddir_sub in
   1458   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1460   esac ;;
   1461 esac
   1462 ac_abs_top_builddir=$ac_pwd
   1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1464 # for backward compatibility:
   1465 ac_top_builddir=$ac_top_build_prefix
   1466 
   1467 case $srcdir in
   1468   .)  # We are building in place.
   1469     ac_srcdir=.
   1470     ac_top_srcdir=$ac_top_builddir_sub
   1471     ac_abs_top_srcdir=$ac_pwd ;;
   1472   [\\/]* | ?:[\\/]* )  # Absolute name.
   1473     ac_srcdir=$srcdir$ac_dir_suffix;
   1474     ac_top_srcdir=$srcdir
   1475     ac_abs_top_srcdir=$srcdir ;;
   1476   *) # Relative name.
   1477     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1478     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1479     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1480 esac
   1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1482 
   1483     cd "$ac_dir" || { ac_status=$?; continue; }
   1484     # Check for guested configure.
   1485     if test -f "$ac_srcdir/configure.gnu"; then
   1486       echo &&
   1487       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1488     elif test -f "$ac_srcdir/configure"; then
   1489       echo &&
   1490       $SHELL "$ac_srcdir/configure" --help=recursive
   1491     else
   1492       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1493     fi || ac_status=$?
   1494     cd "$ac_pwd" || { ac_status=$?; break; }
   1495   done
   1496 fi
   1497 
   1498 test -n "$ac_init_help" && exit $ac_status
   1499 if $ac_init_version; then
   1500   cat <<\_ACEOF
   1501 mkfontscale configure 1.1.2
   1502 generated by GNU Autoconf 2.69
   1503 
   1504 Copyright (C) 2012 Free Software Foundation, Inc.
   1505 This configure script is free software; the Free Software Foundation
   1506 gives unlimited permission to copy, distribute and modify it.
   1507 _ACEOF
   1508   exit
   1509 fi
   1510 
   1511 ## ------------------------ ##
   1512 ## Autoconf initialization. ##
   1513 ## ------------------------ ##
   1514 
   1515 # ac_fn_c_try_compile LINENO
   1516 # --------------------------
   1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1518 ac_fn_c_try_compile ()
   1519 {
   1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1521   rm -f conftest.$ac_objext
   1522   if { { ac_try="$ac_compile"
   1523 case "(($ac_try" in
   1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1525   *) ac_try_echo=$ac_try;;
   1526 esac
   1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1528 $as_echo "$ac_try_echo"; } >&5
   1529   (eval "$ac_compile") 2>conftest.err
   1530   ac_status=$?
   1531   if test -s conftest.err; then
   1532     grep -v '^ *+' conftest.err >conftest.er1
   1533     cat conftest.er1 >&5
   1534     mv -f conftest.er1 conftest.err
   1535   fi
   1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1537   test $ac_status = 0; } && {
   1538 	 test -z "$ac_c_werror_flag" ||
   1539 	 test ! -s conftest.err
   1540        } && test -s conftest.$ac_objext; then :
   1541   ac_retval=0
   1542 else
   1543   $as_echo "$as_me: failed program was:" >&5
   1544 sed 's/^/| /' conftest.$ac_ext >&5
   1545 
   1546 	ac_retval=1
   1547 fi
   1548   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1549   as_fn_set_status $ac_retval
   1550 
   1551 } # ac_fn_c_try_compile
   1552 
   1553 # ac_fn_c_try_cpp LINENO
   1554 # ----------------------
   1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1556 ac_fn_c_try_cpp ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1560 case "(($ac_try" in
   1561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1562   *) ac_try_echo=$ac_try;;
   1563 esac
   1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1565 $as_echo "$ac_try_echo"; } >&5
   1566   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1567   ac_status=$?
   1568   if test -s conftest.err; then
   1569     grep -v '^ *+' conftest.err >conftest.er1
   1570     cat conftest.er1 >&5
   1571     mv -f conftest.er1 conftest.err
   1572   fi
   1573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1574   test $ac_status = 0; } > conftest.i && {
   1575 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1576 	 test ! -s conftest.err
   1577        }; then :
   1578   ac_retval=0
   1579 else
   1580   $as_echo "$as_me: failed program was:" >&5
   1581 sed 's/^/| /' conftest.$ac_ext >&5
   1582 
   1583     ac_retval=1
   1584 fi
   1585   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1586   as_fn_set_status $ac_retval
   1587 
   1588 } # ac_fn_c_try_cpp
   1589 
   1590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1591 # -------------------------------------------------------
   1592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1593 # the include files in INCLUDES and setting the cache variable VAR
   1594 # accordingly.
   1595 ac_fn_c_check_header_mongrel ()
   1596 {
   1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1598   if eval \${$3+:} false; then :
   1599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1600 $as_echo_n "checking for $2... " >&6; }
   1601 if eval \${$3+:} false; then :
   1602   $as_echo_n "(cached) " >&6
   1603 fi
   1604 eval ac_res=\$$3
   1605 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1606 $as_echo "$ac_res" >&6; }
   1607 else
   1608   # Is the header compilable?
   1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1610 $as_echo_n "checking $2 usability... " >&6; }
   1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1612 /* end confdefs.h.  */
   1613 $4
   1614 #include <$2>
   1615 _ACEOF
   1616 if ac_fn_c_try_compile "$LINENO"; then :
   1617   ac_header_compiler=yes
   1618 else
   1619   ac_header_compiler=no
   1620 fi
   1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1623 $as_echo "$ac_header_compiler" >&6; }
   1624 
   1625 # Is the header present?
   1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1627 $as_echo_n "checking $2 presence... " >&6; }
   1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1629 /* end confdefs.h.  */
   1630 #include <$2>
   1631 _ACEOF
   1632 if ac_fn_c_try_cpp "$LINENO"; then :
   1633   ac_header_preproc=yes
   1634 else
   1635   ac_header_preproc=no
   1636 fi
   1637 rm -f conftest.err conftest.i conftest.$ac_ext
   1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1639 $as_echo "$ac_header_preproc" >&6; }
   1640 
   1641 # So?  What about this header?
   1642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1643   yes:no: )
   1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1648     ;;
   1649   no:yes:* )
   1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1653 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1657 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1660 ( $as_echo "## ---------------------------------------------------------------------- ##
   1661 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1662 ## ---------------------------------------------------------------------- ##"
   1663      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1664     ;;
   1665 esac
   1666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1667 $as_echo_n "checking for $2... " >&6; }
   1668 if eval \${$3+:} false; then :
   1669   $as_echo_n "(cached) " >&6
   1670 else
   1671   eval "$3=\$ac_header_compiler"
   1672 fi
   1673 eval ac_res=\$$3
   1674 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1675 $as_echo "$ac_res" >&6; }
   1676 fi
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678 
   1679 } # ac_fn_c_check_header_mongrel
   1680 
   1681 # ac_fn_c_try_run LINENO
   1682 # ----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1684 # that executables *can* be run.
   1685 ac_fn_c_try_run ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>&5
   1696   ac_status=$?
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1699   { { case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_try") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; }; }; then :
   1709   ac_retval=0
   1710 else
   1711   $as_echo "$as_me: program exited with status $ac_status" >&5
   1712        $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715        ac_retval=$ac_status
   1716 fi
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_run
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 $as_echo_n "checking for $2... " >&6; }
   1732 if eval \${$3+:} false; then :
   1733   $as_echo_n "(cached) " >&6
   1734 else
   1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 #include <$2>
   1739 _ACEOF
   1740 if ac_fn_c_try_compile "$LINENO"; then :
   1741   eval "$3=yes"
   1742 else
   1743   eval "$3=no"
   1744 fi
   1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1746 fi
   1747 eval ac_res=\$$3
   1748 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1749 $as_echo "$ac_res" >&6; }
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751 
   1752 } # ac_fn_c_check_header_compile
   1753 
   1754 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1755 # ---------------------------------------------
   1756 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1757 # accordingly.
   1758 ac_fn_c_check_decl ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1762   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1764 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1765 if eval \${$3+:} false; then :
   1766   $as_echo_n "(cached) " >&6
   1767 else
   1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1769 /* end confdefs.h.  */
   1770 $4
   1771 int
   1772 main ()
   1773 {
   1774 #ifndef $as_decl_name
   1775 #ifdef __cplusplus
   1776   (void) $as_decl_use;
   1777 #else
   1778   (void) $as_decl_name;
   1779 #endif
   1780 #endif
   1781 
   1782   ;
   1783   return 0;
   1784 }
   1785 _ACEOF
   1786 if ac_fn_c_try_compile "$LINENO"; then :
   1787   eval "$3=yes"
   1788 else
   1789   eval "$3=no"
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1792 fi
   1793 eval ac_res=\$$3
   1794 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1795 $as_echo "$ac_res" >&6; }
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797 
   1798 } # ac_fn_c_check_decl
   1799 
   1800 # ac_fn_c_try_link LINENO
   1801 # -----------------------
   1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1803 ac_fn_c_try_link ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   rm -f conftest.$ac_objext conftest$ac_exeext
   1807   if { { ac_try="$ac_link"
   1808 case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_link") 2>conftest.err
   1815   ac_status=$?
   1816   if test -s conftest.err; then
   1817     grep -v '^ *+' conftest.err >conftest.er1
   1818     cat conftest.er1 >&5
   1819     mv -f conftest.er1 conftest.err
   1820   fi
   1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1822   test $ac_status = 0; } && {
   1823 	 test -z "$ac_c_werror_flag" ||
   1824 	 test ! -s conftest.err
   1825        } && test -s conftest$ac_exeext && {
   1826 	 test "$cross_compiling" = yes ||
   1827 	 test -x conftest$ac_exeext
   1828        }; then :
   1829   ac_retval=0
   1830 else
   1831   $as_echo "$as_me: failed program was:" >&5
   1832 sed 's/^/| /' conftest.$ac_ext >&5
   1833 
   1834 	ac_retval=1
   1835 fi
   1836   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1837   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1838   # interfere with the next link command; also delete a directory that is
   1839   # left behind by Apple's compiler.  We do this before executing the actions.
   1840   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842   as_fn_set_status $ac_retval
   1843 
   1844 } # ac_fn_c_try_link
   1845 cat >config.log <<_ACEOF
   1846 This file contains any messages produced by compilers while
   1847 running configure, to aid debugging if configure makes a mistake.
   1848 
   1849 It was created by mkfontscale $as_me 1.1.2, which was
   1850 generated by GNU Autoconf 2.69.  Invocation command line was
   1851 
   1852   $ $0 $@
   1853 
   1854 _ACEOF
   1855 exec 5>>config.log
   1856 {
   1857 cat <<_ASUNAME
   1858 ## --------- ##
   1859 ## Platform. ##
   1860 ## --------- ##
   1861 
   1862 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1863 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1864 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1865 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1866 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1867 
   1868 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1869 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1870 
   1871 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1872 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1873 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1874 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1875 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1876 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1877 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1878 
   1879 _ASUNAME
   1880 
   1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1882 for as_dir in $PATH
   1883 do
   1884   IFS=$as_save_IFS
   1885   test -z "$as_dir" && as_dir=.
   1886     $as_echo "PATH: $as_dir"
   1887   done
   1888 IFS=$as_save_IFS
   1889 
   1890 } >&5
   1891 
   1892 cat >&5 <<_ACEOF
   1893 
   1894 
   1895 ## ----------- ##
   1896 ## Core tests. ##
   1897 ## ----------- ##
   1898 
   1899 _ACEOF
   1900 
   1901 
   1902 # Keep a trace of the command line.
   1903 # Strip out --no-create and --no-recursion so they do not pile up.
   1904 # Strip out --silent because we don't want to record it for future runs.
   1905 # Also quote any args containing shell meta-characters.
   1906 # Make two passes to allow for proper duplicate-argument suppression.
   1907 ac_configure_args=
   1908 ac_configure_args0=
   1909 ac_configure_args1=
   1910 ac_must_keep_next=false
   1911 for ac_pass in 1 2
   1912 do
   1913   for ac_arg
   1914   do
   1915     case $ac_arg in
   1916     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1917     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1918     | -silent | --silent | --silen | --sile | --sil)
   1919       continue ;;
   1920     *\'*)
   1921       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1922     esac
   1923     case $ac_pass in
   1924     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1925     2)
   1926       as_fn_append ac_configure_args1 " '$ac_arg'"
   1927       if test $ac_must_keep_next = true; then
   1928 	ac_must_keep_next=false # Got value, back to normal.
   1929       else
   1930 	case $ac_arg in
   1931 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1932 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1933 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1934 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1935 	    case "$ac_configure_args0 " in
   1936 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1937 	    esac
   1938 	    ;;
   1939 	  -* ) ac_must_keep_next=true ;;
   1940 	esac
   1941       fi
   1942       as_fn_append ac_configure_args " '$ac_arg'"
   1943       ;;
   1944     esac
   1945   done
   1946 done
   1947 { ac_configure_args0=; unset ac_configure_args0;}
   1948 { ac_configure_args1=; unset ac_configure_args1;}
   1949 
   1950 # When interrupted or exit'd, cleanup temporary files, and complete
   1951 # config.log.  We remove comments because anyway the quotes in there
   1952 # would cause problems or look ugly.
   1953 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1954 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1955 trap 'exit_status=$?
   1956   # Save into config.log some information that might help in debugging.
   1957   {
   1958     echo
   1959 
   1960     $as_echo "## ---------------- ##
   1961 ## Cache variables. ##
   1962 ## ---------------- ##"
   1963     echo
   1964     # The following way of writing the cache mishandles newlines in values,
   1965 (
   1966   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1967     eval ac_val=\$$ac_var
   1968     case $ac_val in #(
   1969     *${as_nl}*)
   1970       case $ac_var in #(
   1971       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1972 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1973       esac
   1974       case $ac_var in #(
   1975       _ | IFS | as_nl) ;; #(
   1976       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1977       *) { eval $ac_var=; unset $ac_var;} ;;
   1978       esac ;;
   1979     esac
   1980   done
   1981   (set) 2>&1 |
   1982     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1983     *${as_nl}ac_space=\ *)
   1984       sed -n \
   1985 	"s/'\''/'\''\\\\'\'''\''/g;
   1986 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1987       ;; #(
   1988     *)
   1989       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1990       ;;
   1991     esac |
   1992     sort
   1993 )
   1994     echo
   1995 
   1996     $as_echo "## ----------------- ##
   1997 ## Output variables. ##
   1998 ## ----------------- ##"
   1999     echo
   2000     for ac_var in $ac_subst_vars
   2001     do
   2002       eval ac_val=\$$ac_var
   2003       case $ac_val in
   2004       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2005       esac
   2006       $as_echo "$ac_var='\''$ac_val'\''"
   2007     done | sort
   2008     echo
   2009 
   2010     if test -n "$ac_subst_files"; then
   2011       $as_echo "## ------------------- ##
   2012 ## File substitutions. ##
   2013 ## ------------------- ##"
   2014       echo
   2015       for ac_var in $ac_subst_files
   2016       do
   2017 	eval ac_val=\$$ac_var
   2018 	case $ac_val in
   2019 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2020 	esac
   2021 	$as_echo "$ac_var='\''$ac_val'\''"
   2022       done | sort
   2023       echo
   2024     fi
   2025 
   2026     if test -s confdefs.h; then
   2027       $as_echo "## ----------- ##
   2028 ## confdefs.h. ##
   2029 ## ----------- ##"
   2030       echo
   2031       cat confdefs.h
   2032       echo
   2033     fi
   2034     test "$ac_signal" != 0 &&
   2035       $as_echo "$as_me: caught signal $ac_signal"
   2036     $as_echo "$as_me: exit $exit_status"
   2037   } >&5
   2038   rm -f core *.core core.conftest.* &&
   2039     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2040     exit $exit_status
   2041 ' 0
   2042 for ac_signal in 1 2 13 15; do
   2043   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2044 done
   2045 ac_signal=0
   2046 
   2047 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2048 rm -f -r conftest* confdefs.h
   2049 
   2050 $as_echo "/* confdefs.h */" > confdefs.h
   2051 
   2052 # Predefined preprocessor variables.
   2053 
   2054 cat >>confdefs.h <<_ACEOF
   2055 #define PACKAGE_NAME "$PACKAGE_NAME"
   2056 _ACEOF
   2057 
   2058 cat >>confdefs.h <<_ACEOF
   2059 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2060 _ACEOF
   2061 
   2062 cat >>confdefs.h <<_ACEOF
   2063 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2064 _ACEOF
   2065 
   2066 cat >>confdefs.h <<_ACEOF
   2067 #define PACKAGE_STRING "$PACKAGE_STRING"
   2068 _ACEOF
   2069 
   2070 cat >>confdefs.h <<_ACEOF
   2071 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2072 _ACEOF
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_URL "$PACKAGE_URL"
   2076 _ACEOF
   2077 
   2078 
   2079 # Let the site file select an alternate cache file if it wants to.
   2080 # Prefer an explicitly selected file to automatically selected ones.
   2081 ac_site_file1=NONE
   2082 ac_site_file2=NONE
   2083 if test -n "$CONFIG_SITE"; then
   2084   # We do not want a PATH search for config.site.
   2085   case $CONFIG_SITE in #((
   2086     -*)  ac_site_file1=./$CONFIG_SITE;;
   2087     */*) ac_site_file1=$CONFIG_SITE;;
   2088     *)   ac_site_file1=./$CONFIG_SITE;;
   2089   esac
   2090 elif test "x$prefix" != xNONE; then
   2091   ac_site_file1=$prefix/share/config.site
   2092   ac_site_file2=$prefix/etc/config.site
   2093 else
   2094   ac_site_file1=$ac_default_prefix/share/config.site
   2095   ac_site_file2=$ac_default_prefix/etc/config.site
   2096 fi
   2097 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2098 do
   2099   test "x$ac_site_file" = xNONE && continue
   2100   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2102 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2103     sed 's/^/| /' "$ac_site_file" >&5
   2104     . "$ac_site_file" \
   2105       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2107 as_fn_error $? "failed to load site script $ac_site_file
   2108 See \`config.log' for more details" "$LINENO" 5; }
   2109   fi
   2110 done
   2111 
   2112 if test -r "$cache_file"; then
   2113   # Some versions of bash will fail to source /dev/null (special files
   2114   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2115   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2116     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2117 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2118     case $cache_file in
   2119       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2120       *)                      . "./$cache_file";;
   2121     esac
   2122   fi
   2123 else
   2124   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2125 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2126   >$cache_file
   2127 fi
   2128 
   2129 # Check that the precious variables saved in the cache have kept the same
   2130 # value.
   2131 ac_cache_corrupted=false
   2132 for ac_var in $ac_precious_vars; do
   2133   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2134   eval ac_new_set=\$ac_env_${ac_var}_set
   2135   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2136   eval ac_new_val=\$ac_env_${ac_var}_value
   2137   case $ac_old_set,$ac_new_set in
   2138     set,)
   2139       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2140 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2141       ac_cache_corrupted=: ;;
   2142     ,set)
   2143       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2144 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2145       ac_cache_corrupted=: ;;
   2146     ,);;
   2147     *)
   2148       if test "x$ac_old_val" != "x$ac_new_val"; then
   2149 	# differences in whitespace do not lead to failure.
   2150 	ac_old_val_w=`echo x $ac_old_val`
   2151 	ac_new_val_w=`echo x $ac_new_val`
   2152 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2153 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2154 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2155 	  ac_cache_corrupted=:
   2156 	else
   2157 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2158 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2159 	  eval $ac_var=\$ac_old_val
   2160 	fi
   2161 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2162 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2163 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2164 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2165       fi;;
   2166   esac
   2167   # Pass precious variables to config.status.
   2168   if test "$ac_new_set" = set; then
   2169     case $ac_new_val in
   2170     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2171     *) ac_arg=$ac_var=$ac_new_val ;;
   2172     esac
   2173     case " $ac_configure_args " in
   2174       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2175       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2176     esac
   2177   fi
   2178 done
   2179 if $ac_cache_corrupted; then
   2180   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2182   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2183 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2184   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2185 fi
   2186 ## -------------------- ##
   2187 ## Main body of script. ##
   2188 ## -------------------- ##
   2189 
   2190 ac_ext=c
   2191 ac_cpp='$CPP $CPPFLAGS'
   2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2195 
   2196 
   2197 
   2198 ac_config_headers="$ac_config_headers config.h"
   2199 
   2200 ac_aux_dir=
   2201 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2202   if test -f "$ac_dir/install-sh"; then
   2203     ac_aux_dir=$ac_dir
   2204     ac_install_sh="$ac_aux_dir/install-sh -c"
   2205     break
   2206   elif test -f "$ac_dir/install.sh"; then
   2207     ac_aux_dir=$ac_dir
   2208     ac_install_sh="$ac_aux_dir/install.sh -c"
   2209     break
   2210   elif test -f "$ac_dir/shtool"; then
   2211     ac_aux_dir=$ac_dir
   2212     ac_install_sh="$ac_aux_dir/shtool install -c"
   2213     break
   2214   fi
   2215 done
   2216 if test -z "$ac_aux_dir"; then
   2217   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2218 fi
   2219 
   2220 # These three variables are undocumented and unsupported,
   2221 # and are intended to be withdrawn in a future Autoconf release.
   2222 # They can cause serious problems if a builder's source tree is in a directory
   2223 # whose full name contains unusual characters.
   2224 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2225 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2226 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2227 
   2228 
   2229 # Expand $ac_aux_dir to an absolute path.
   2230 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2231 
   2232 ac_ext=c
   2233 ac_cpp='$CPP $CPPFLAGS'
   2234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2237 if test -n "$ac_tool_prefix"; then
   2238   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2239 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2241 $as_echo_n "checking for $ac_word... " >&6; }
   2242 if ${ac_cv_prog_CC+:} false; then :
   2243   $as_echo_n "(cached) " >&6
   2244 else
   2245   if test -n "$CC"; then
   2246   ac_cv_prog_CC="$CC" # Let the user override the test.
   2247 else
   2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2249 for as_dir in $PATH
   2250 do
   2251   IFS=$as_save_IFS
   2252   test -z "$as_dir" && as_dir=.
   2253     for ac_exec_ext in '' $ac_executable_extensions; do
   2254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2255     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2257     break 2
   2258   fi
   2259 done
   2260   done
   2261 IFS=$as_save_IFS
   2262 
   2263 fi
   2264 fi
   2265 CC=$ac_cv_prog_CC
   2266 if test -n "$CC"; then
   2267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2268 $as_echo "$CC" >&6; }
   2269 else
   2270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2271 $as_echo "no" >&6; }
   2272 fi
   2273 
   2274 
   2275 fi
   2276 if test -z "$ac_cv_prog_CC"; then
   2277   ac_ct_CC=$CC
   2278   # Extract the first word of "gcc", so it can be a program name with args.
   2279 set dummy gcc; ac_word=$2
   2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2281 $as_echo_n "checking for $ac_word... " >&6; }
   2282 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2283   $as_echo_n "(cached) " >&6
   2284 else
   2285   if test -n "$ac_ct_CC"; then
   2286   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2287 else
   2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2289 for as_dir in $PATH
   2290 do
   2291   IFS=$as_save_IFS
   2292   test -z "$as_dir" && as_dir=.
   2293     for ac_exec_ext in '' $ac_executable_extensions; do
   2294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2295     ac_cv_prog_ac_ct_CC="gcc"
   2296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2297     break 2
   2298   fi
   2299 done
   2300   done
   2301 IFS=$as_save_IFS
   2302 
   2303 fi
   2304 fi
   2305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2306 if test -n "$ac_ct_CC"; then
   2307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2308 $as_echo "$ac_ct_CC" >&6; }
   2309 else
   2310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2311 $as_echo "no" >&6; }
   2312 fi
   2313 
   2314   if test "x$ac_ct_CC" = x; then
   2315     CC=""
   2316   else
   2317     case $cross_compiling:$ac_tool_warned in
   2318 yes:)
   2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2321 ac_tool_warned=yes ;;
   2322 esac
   2323     CC=$ac_ct_CC
   2324   fi
   2325 else
   2326   CC="$ac_cv_prog_CC"
   2327 fi
   2328 
   2329 if test -z "$CC"; then
   2330           if test -n "$ac_tool_prefix"; then
   2331     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2332 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2334 $as_echo_n "checking for $ac_word... " >&6; }
   2335 if ${ac_cv_prog_CC+:} false; then :
   2336   $as_echo_n "(cached) " >&6
   2337 else
   2338   if test -n "$CC"; then
   2339   ac_cv_prog_CC="$CC" # Let the user override the test.
   2340 else
   2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2342 for as_dir in $PATH
   2343 do
   2344   IFS=$as_save_IFS
   2345   test -z "$as_dir" && as_dir=.
   2346     for ac_exec_ext in '' $ac_executable_extensions; do
   2347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2348     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2350     break 2
   2351   fi
   2352 done
   2353   done
   2354 IFS=$as_save_IFS
   2355 
   2356 fi
   2357 fi
   2358 CC=$ac_cv_prog_CC
   2359 if test -n "$CC"; then
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2361 $as_echo "$CC" >&6; }
   2362 else
   2363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2364 $as_echo "no" >&6; }
   2365 fi
   2366 
   2367 
   2368   fi
   2369 fi
   2370 if test -z "$CC"; then
   2371   # Extract the first word of "cc", so it can be a program name with args.
   2372 set dummy cc; ac_word=$2
   2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2374 $as_echo_n "checking for $ac_word... " >&6; }
   2375 if ${ac_cv_prog_CC+:} false; then :
   2376   $as_echo_n "(cached) " >&6
   2377 else
   2378   if test -n "$CC"; then
   2379   ac_cv_prog_CC="$CC" # Let the user override the test.
   2380 else
   2381   ac_prog_rejected=no
   2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2383 for as_dir in $PATH
   2384 do
   2385   IFS=$as_save_IFS
   2386   test -z "$as_dir" && as_dir=.
   2387     for ac_exec_ext in '' $ac_executable_extensions; do
   2388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2389     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2390        ac_prog_rejected=yes
   2391        continue
   2392      fi
   2393     ac_cv_prog_CC="cc"
   2394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2395     break 2
   2396   fi
   2397 done
   2398   done
   2399 IFS=$as_save_IFS
   2400 
   2401 if test $ac_prog_rejected = yes; then
   2402   # We found a bogon in the path, so make sure we never use it.
   2403   set dummy $ac_cv_prog_CC
   2404   shift
   2405   if test $# != 0; then
   2406     # We chose a different compiler from the bogus one.
   2407     # However, it has the same basename, so the bogon will be chosen
   2408     # first if we set CC to just the basename; use the full file name.
   2409     shift
   2410     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2411   fi
   2412 fi
   2413 fi
   2414 fi
   2415 CC=$ac_cv_prog_CC
   2416 if test -n "$CC"; then
   2417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2418 $as_echo "$CC" >&6; }
   2419 else
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2421 $as_echo "no" >&6; }
   2422 fi
   2423 
   2424 
   2425 fi
   2426 if test -z "$CC"; then
   2427   if test -n "$ac_tool_prefix"; then
   2428   for ac_prog in cl.exe
   2429   do
   2430     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2433 $as_echo_n "checking for $ac_word... " >&6; }
   2434 if ${ac_cv_prog_CC+:} false; then :
   2435   $as_echo_n "(cached) " >&6
   2436 else
   2437   if test -n "$CC"; then
   2438   ac_cv_prog_CC="$CC" # Let the user override the test.
   2439 else
   2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2441 for as_dir in $PATH
   2442 do
   2443   IFS=$as_save_IFS
   2444   test -z "$as_dir" && as_dir=.
   2445     for ac_exec_ext in '' $ac_executable_extensions; do
   2446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2447     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2449     break 2
   2450   fi
   2451 done
   2452   done
   2453 IFS=$as_save_IFS
   2454 
   2455 fi
   2456 fi
   2457 CC=$ac_cv_prog_CC
   2458 if test -n "$CC"; then
   2459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2460 $as_echo "$CC" >&6; }
   2461 else
   2462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2463 $as_echo "no" >&6; }
   2464 fi
   2465 
   2466 
   2467     test -n "$CC" && break
   2468   done
   2469 fi
   2470 if test -z "$CC"; then
   2471   ac_ct_CC=$CC
   2472   for ac_prog in cl.exe
   2473 do
   2474   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2475 set dummy $ac_prog; ac_word=$2
   2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2477 $as_echo_n "checking for $ac_word... " >&6; }
   2478 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2479   $as_echo_n "(cached) " >&6
   2480 else
   2481   if test -n "$ac_ct_CC"; then
   2482   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2483 else
   2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2485 for as_dir in $PATH
   2486 do
   2487   IFS=$as_save_IFS
   2488   test -z "$as_dir" && as_dir=.
   2489     for ac_exec_ext in '' $ac_executable_extensions; do
   2490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2491     ac_cv_prog_ac_ct_CC="$ac_prog"
   2492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2493     break 2
   2494   fi
   2495 done
   2496   done
   2497 IFS=$as_save_IFS
   2498 
   2499 fi
   2500 fi
   2501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2502 if test -n "$ac_ct_CC"; then
   2503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2504 $as_echo "$ac_ct_CC" >&6; }
   2505 else
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2507 $as_echo "no" >&6; }
   2508 fi
   2509 
   2510 
   2511   test -n "$ac_ct_CC" && break
   2512 done
   2513 
   2514   if test "x$ac_ct_CC" = x; then
   2515     CC=""
   2516   else
   2517     case $cross_compiling:$ac_tool_warned in
   2518 yes:)
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2521 ac_tool_warned=yes ;;
   2522 esac
   2523     CC=$ac_ct_CC
   2524   fi
   2525 fi
   2526 
   2527 fi
   2528 
   2529 
   2530 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2532 as_fn_error $? "no acceptable C compiler found in \$PATH
   2533 See \`config.log' for more details" "$LINENO" 5; }
   2534 
   2535 # Provide some information about the compiler.
   2536 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2537 set X $ac_compile
   2538 ac_compiler=$2
   2539 for ac_option in --version -v -V -qversion; do
   2540   { { ac_try="$ac_compiler $ac_option >&5"
   2541 case "(($ac_try" in
   2542   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2543   *) ac_try_echo=$ac_try;;
   2544 esac
   2545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2546 $as_echo "$ac_try_echo"; } >&5
   2547   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2548   ac_status=$?
   2549   if test -s conftest.err; then
   2550     sed '10a\
   2551 ... rest of stderr output deleted ...
   2552          10q' conftest.err >conftest.er1
   2553     cat conftest.er1 >&5
   2554   fi
   2555   rm -f conftest.er1 conftest.err
   2556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2557   test $ac_status = 0; }
   2558 done
   2559 
   2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2561 /* end confdefs.h.  */
   2562 
   2563 int
   2564 main ()
   2565 {
   2566 
   2567   ;
   2568   return 0;
   2569 }
   2570 _ACEOF
   2571 ac_clean_files_save=$ac_clean_files
   2572 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2573 # Try to create an executable without -o first, disregard a.out.
   2574 # It will help us diagnose broken compilers, and finding out an intuition
   2575 # of exeext.
   2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2577 $as_echo_n "checking whether the C compiler works... " >&6; }
   2578 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2579 
   2580 # The possible output files:
   2581 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2582 
   2583 ac_rmfiles=
   2584 for ac_file in $ac_files
   2585 do
   2586   case $ac_file in
   2587     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2588     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2589   esac
   2590 done
   2591 rm -f $ac_rmfiles
   2592 
   2593 if { { ac_try="$ac_link_default"
   2594 case "(($ac_try" in
   2595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2596   *) ac_try_echo=$ac_try;;
   2597 esac
   2598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2599 $as_echo "$ac_try_echo"; } >&5
   2600   (eval "$ac_link_default") 2>&5
   2601   ac_status=$?
   2602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2603   test $ac_status = 0; }; then :
   2604   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2605 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2606 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2607 # so that the user can short-circuit this test for compilers unknown to
   2608 # Autoconf.
   2609 for ac_file in $ac_files ''
   2610 do
   2611   test -f "$ac_file" || continue
   2612   case $ac_file in
   2613     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2614 	;;
   2615     [ab].out )
   2616 	# We found the default executable, but exeext='' is most
   2617 	# certainly right.
   2618 	break;;
   2619     *.* )
   2620 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2621 	then :; else
   2622 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2623 	fi
   2624 	# We set ac_cv_exeext here because the later test for it is not
   2625 	# safe: cross compilers may not add the suffix if given an `-o'
   2626 	# argument, so we may need to know it at that point already.
   2627 	# Even if this section looks crufty: it has the advantage of
   2628 	# actually working.
   2629 	break;;
   2630     * )
   2631 	break;;
   2632   esac
   2633 done
   2634 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2635 
   2636 else
   2637   ac_file=''
   2638 fi
   2639 if test -z "$ac_file"; then :
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2641 $as_echo "no" >&6; }
   2642 $as_echo "$as_me: failed program was:" >&5
   2643 sed 's/^/| /' conftest.$ac_ext >&5
   2644 
   2645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2647 as_fn_error 77 "C compiler cannot create executables
   2648 See \`config.log' for more details" "$LINENO" 5; }
   2649 else
   2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2651 $as_echo "yes" >&6; }
   2652 fi
   2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2654 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2656 $as_echo "$ac_file" >&6; }
   2657 ac_exeext=$ac_cv_exeext
   2658 
   2659 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2660 ac_clean_files=$ac_clean_files_save
   2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2662 $as_echo_n "checking for suffix of executables... " >&6; }
   2663 if { { ac_try="$ac_link"
   2664 case "(($ac_try" in
   2665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2666   *) ac_try_echo=$ac_try;;
   2667 esac
   2668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2669 $as_echo "$ac_try_echo"; } >&5
   2670   (eval "$ac_link") 2>&5
   2671   ac_status=$?
   2672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2673   test $ac_status = 0; }; then :
   2674   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2675 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2676 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2677 # `rm'.
   2678 for ac_file in conftest.exe conftest conftest.*; do
   2679   test -f "$ac_file" || continue
   2680   case $ac_file in
   2681     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2682     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2683 	  break;;
   2684     * ) break;;
   2685   esac
   2686 done
   2687 else
   2688   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2690 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2691 See \`config.log' for more details" "$LINENO" 5; }
   2692 fi
   2693 rm -f conftest conftest$ac_cv_exeext
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2695 $as_echo "$ac_cv_exeext" >&6; }
   2696 
   2697 rm -f conftest.$ac_ext
   2698 EXEEXT=$ac_cv_exeext
   2699 ac_exeext=$EXEEXT
   2700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2701 /* end confdefs.h.  */
   2702 #include <stdio.h>
   2703 int
   2704 main ()
   2705 {
   2706 FILE *f = fopen ("conftest.out", "w");
   2707  return ferror (f) || fclose (f) != 0;
   2708 
   2709   ;
   2710   return 0;
   2711 }
   2712 _ACEOF
   2713 ac_clean_files="$ac_clean_files conftest.out"
   2714 # Check that the compiler produces executables we can run.  If not, either
   2715 # the compiler is broken, or we cross compile.
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2717 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2718 if test "$cross_compiling" != yes; then
   2719   { { ac_try="$ac_link"
   2720 case "(($ac_try" in
   2721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2722   *) ac_try_echo=$ac_try;;
   2723 esac
   2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2725 $as_echo "$ac_try_echo"; } >&5
   2726   (eval "$ac_link") 2>&5
   2727   ac_status=$?
   2728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2729   test $ac_status = 0; }
   2730   if { ac_try='./conftest$ac_cv_exeext'
   2731   { { case "(($ac_try" in
   2732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2733   *) ac_try_echo=$ac_try;;
   2734 esac
   2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2736 $as_echo "$ac_try_echo"; } >&5
   2737   (eval "$ac_try") 2>&5
   2738   ac_status=$?
   2739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2740   test $ac_status = 0; }; }; then
   2741     cross_compiling=no
   2742   else
   2743     if test "$cross_compiling" = maybe; then
   2744 	cross_compiling=yes
   2745     else
   2746 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2748 as_fn_error $? "cannot run C compiled programs.
   2749 If you meant to cross compile, use \`--host'.
   2750 See \`config.log' for more details" "$LINENO" 5; }
   2751     fi
   2752   fi
   2753 fi
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2755 $as_echo "$cross_compiling" >&6; }
   2756 
   2757 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2758 ac_clean_files=$ac_clean_files_save
   2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2760 $as_echo_n "checking for suffix of object files... " >&6; }
   2761 if ${ac_cv_objext+:} false; then :
   2762   $as_echo_n "(cached) " >&6
   2763 else
   2764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2765 /* end confdefs.h.  */
   2766 
   2767 int
   2768 main ()
   2769 {
   2770 
   2771   ;
   2772   return 0;
   2773 }
   2774 _ACEOF
   2775 rm -f conftest.o conftest.obj
   2776 if { { ac_try="$ac_compile"
   2777 case "(($ac_try" in
   2778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2779   *) ac_try_echo=$ac_try;;
   2780 esac
   2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2782 $as_echo "$ac_try_echo"; } >&5
   2783   (eval "$ac_compile") 2>&5
   2784   ac_status=$?
   2785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2786   test $ac_status = 0; }; then :
   2787   for ac_file in conftest.o conftest.obj conftest.*; do
   2788   test -f "$ac_file" || continue;
   2789   case $ac_file in
   2790     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2791     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2792        break;;
   2793   esac
   2794 done
   2795 else
   2796   $as_echo "$as_me: failed program was:" >&5
   2797 sed 's/^/| /' conftest.$ac_ext >&5
   2798 
   2799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2801 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2802 See \`config.log' for more details" "$LINENO" 5; }
   2803 fi
   2804 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2805 fi
   2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2807 $as_echo "$ac_cv_objext" >&6; }
   2808 OBJEXT=$ac_cv_objext
   2809 ac_objext=$OBJEXT
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2811 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2812 if ${ac_cv_c_compiler_gnu+:} false; then :
   2813   $as_echo_n "(cached) " >&6
   2814 else
   2815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2816 /* end confdefs.h.  */
   2817 
   2818 int
   2819 main ()
   2820 {
   2821 #ifndef __GNUC__
   2822        choke me
   2823 #endif
   2824 
   2825   ;
   2826   return 0;
   2827 }
   2828 _ACEOF
   2829 if ac_fn_c_try_compile "$LINENO"; then :
   2830   ac_compiler_gnu=yes
   2831 else
   2832   ac_compiler_gnu=no
   2833 fi
   2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2836 
   2837 fi
   2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2839 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2840 if test $ac_compiler_gnu = yes; then
   2841   GCC=yes
   2842 else
   2843   GCC=
   2844 fi
   2845 ac_test_CFLAGS=${CFLAGS+set}
   2846 ac_save_CFLAGS=$CFLAGS
   2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2848 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2849 if ${ac_cv_prog_cc_g+:} false; then :
   2850   $as_echo_n "(cached) " >&6
   2851 else
   2852   ac_save_c_werror_flag=$ac_c_werror_flag
   2853    ac_c_werror_flag=yes
   2854    ac_cv_prog_cc_g=no
   2855    CFLAGS="-g"
   2856    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2857 /* end confdefs.h.  */
   2858 
   2859 int
   2860 main ()
   2861 {
   2862 
   2863   ;
   2864   return 0;
   2865 }
   2866 _ACEOF
   2867 if ac_fn_c_try_compile "$LINENO"; then :
   2868   ac_cv_prog_cc_g=yes
   2869 else
   2870   CFLAGS=""
   2871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2872 /* end confdefs.h.  */
   2873 
   2874 int
   2875 main ()
   2876 {
   2877 
   2878   ;
   2879   return 0;
   2880 }
   2881 _ACEOF
   2882 if ac_fn_c_try_compile "$LINENO"; then :
   2883 
   2884 else
   2885   ac_c_werror_flag=$ac_save_c_werror_flag
   2886 	 CFLAGS="-g"
   2887 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2888 /* end confdefs.h.  */
   2889 
   2890 int
   2891 main ()
   2892 {
   2893 
   2894   ;
   2895   return 0;
   2896 }
   2897 _ACEOF
   2898 if ac_fn_c_try_compile "$LINENO"; then :
   2899   ac_cv_prog_cc_g=yes
   2900 fi
   2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2902 fi
   2903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2904 fi
   2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2906    ac_c_werror_flag=$ac_save_c_werror_flag
   2907 fi
   2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2909 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2910 if test "$ac_test_CFLAGS" = set; then
   2911   CFLAGS=$ac_save_CFLAGS
   2912 elif test $ac_cv_prog_cc_g = yes; then
   2913   if test "$GCC" = yes; then
   2914     CFLAGS="-g -O2"
   2915   else
   2916     CFLAGS="-g"
   2917   fi
   2918 else
   2919   if test "$GCC" = yes; then
   2920     CFLAGS="-O2"
   2921   else
   2922     CFLAGS=
   2923   fi
   2924 fi
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2926 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2927 if ${ac_cv_prog_cc_c89+:} false; then :
   2928   $as_echo_n "(cached) " >&6
   2929 else
   2930   ac_cv_prog_cc_c89=no
   2931 ac_save_CC=$CC
   2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2933 /* end confdefs.h.  */
   2934 #include <stdarg.h>
   2935 #include <stdio.h>
   2936 struct stat;
   2937 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2938 struct buf { int x; };
   2939 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2940 static char *e (p, i)
   2941      char **p;
   2942      int i;
   2943 {
   2944   return p[i];
   2945 }
   2946 static char *f (char * (*g) (char **, int), char **p, ...)
   2947 {
   2948   char *s;
   2949   va_list v;
   2950   va_start (v,p);
   2951   s = g (p, va_arg (v,int));
   2952   va_end (v);
   2953   return s;
   2954 }
   2955 
   2956 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2957    function prototypes and stuff, but not '\xHH' hex character constants.
   2958    These don't provoke an error unfortunately, instead are silently treated
   2959    as 'x'.  The following induces an error, until -std is added to get
   2960    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2961    array size at least.  It's necessary to write '\x00'==0 to get something
   2962    that's true only with -std.  */
   2963 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2964 
   2965 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2966    inside strings and character constants.  */
   2967 #define FOO(x) 'x'
   2968 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2969 
   2970 int test (int i, double x);
   2971 struct s1 {int (*f) (int a);};
   2972 struct s2 {int (*f) (double a);};
   2973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2974 int argc;
   2975 char **argv;
   2976 int
   2977 main ()
   2978 {
   2979 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2980   ;
   2981   return 0;
   2982 }
   2983 _ACEOF
   2984 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   2985 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2986 do
   2987   CC="$ac_save_CC $ac_arg"
   2988   if ac_fn_c_try_compile "$LINENO"; then :
   2989   ac_cv_prog_cc_c89=$ac_arg
   2990 fi
   2991 rm -f core conftest.err conftest.$ac_objext
   2992   test "x$ac_cv_prog_cc_c89" != "xno" && break
   2993 done
   2994 rm -f conftest.$ac_ext
   2995 CC=$ac_save_CC
   2996 
   2997 fi
   2998 # AC_CACHE_VAL
   2999 case "x$ac_cv_prog_cc_c89" in
   3000   x)
   3001     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3002 $as_echo "none needed" >&6; } ;;
   3003   xno)
   3004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3005 $as_echo "unsupported" >&6; } ;;
   3006   *)
   3007     CC="$CC $ac_cv_prog_cc_c89"
   3008     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3010 esac
   3011 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3012 
   3013 fi
   3014 
   3015 ac_ext=c
   3016 ac_cpp='$CPP $CPPFLAGS'
   3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3020 
   3021 ac_ext=c
   3022 ac_cpp='$CPP $CPPFLAGS'
   3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3027 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3028 if ${am_cv_prog_cc_c_o+:} false; then :
   3029   $as_echo_n "(cached) " >&6
   3030 else
   3031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3032 /* end confdefs.h.  */
   3033 
   3034 int
   3035 main ()
   3036 {
   3037 
   3038   ;
   3039   return 0;
   3040 }
   3041 _ACEOF
   3042   # Make sure it works both with $CC and with simple cc.
   3043   # Following AC_PROG_CC_C_O, we do the test twice because some
   3044   # compilers refuse to overwrite an existing .o file with -o,
   3045   # though they will create one.
   3046   am_cv_prog_cc_c_o=yes
   3047   for am_i in 1 2; do
   3048     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3049    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3050    ac_status=$?
   3051    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3052    (exit $ac_status); } \
   3053          && test -f conftest2.$ac_objext; then
   3054       : OK
   3055     else
   3056       am_cv_prog_cc_c_o=no
   3057       break
   3058     fi
   3059   done
   3060   rm -f core conftest*
   3061   unset am_i
   3062 fi
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3064 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3065 if test "$am_cv_prog_cc_c_o" != yes; then
   3066    # Losing compiler, so override with the script.
   3067    # FIXME: It is wrong to rewrite CC.
   3068    # But if we don't then we get into trouble of one sort or another.
   3069    # A longer-term fix would be to have automake use am__CC in this case,
   3070    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3071    CC="$am_aux_dir/compile $CC"
   3072 fi
   3073 ac_ext=c
   3074 ac_cpp='$CPP $CPPFLAGS'
   3075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3078 
   3079 
   3080 
   3081 ac_ext=c
   3082 ac_cpp='$CPP $CPPFLAGS'
   3083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3087 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3088 # On Suns, sometimes $CPP names a directory.
   3089 if test -n "$CPP" && test -d "$CPP"; then
   3090   CPP=
   3091 fi
   3092 if test -z "$CPP"; then
   3093   if ${ac_cv_prog_CPP+:} false; then :
   3094   $as_echo_n "(cached) " >&6
   3095 else
   3096       # Double quotes because CPP needs to be expanded
   3097     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3098     do
   3099       ac_preproc_ok=false
   3100 for ac_c_preproc_warn_flag in '' yes
   3101 do
   3102   # Use a header file that comes with gcc, so configuring glibc
   3103   # with a fresh cross-compiler works.
   3104   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3105   # <limits.h> exists even on freestanding compilers.
   3106   # On the NeXT, cc -E runs the code through the compiler's parser,
   3107   # not just through cpp. "Syntax error" is here to catch this case.
   3108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3109 /* end confdefs.h.  */
   3110 #ifdef __STDC__
   3111 # include <limits.h>
   3112 #else
   3113 # include <assert.h>
   3114 #endif
   3115 		     Syntax error
   3116 _ACEOF
   3117 if ac_fn_c_try_cpp "$LINENO"; then :
   3118 
   3119 else
   3120   # Broken: fails on valid input.
   3121 continue
   3122 fi
   3123 rm -f conftest.err conftest.i conftest.$ac_ext
   3124 
   3125   # OK, works on sane cases.  Now check whether nonexistent headers
   3126   # can be detected and how.
   3127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3128 /* end confdefs.h.  */
   3129 #include <ac_nonexistent.h>
   3130 _ACEOF
   3131 if ac_fn_c_try_cpp "$LINENO"; then :
   3132   # Broken: success on invalid input.
   3133 continue
   3134 else
   3135   # Passes both tests.
   3136 ac_preproc_ok=:
   3137 break
   3138 fi
   3139 rm -f conftest.err conftest.i conftest.$ac_ext
   3140 
   3141 done
   3142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3143 rm -f conftest.i conftest.err conftest.$ac_ext
   3144 if $ac_preproc_ok; then :
   3145   break
   3146 fi
   3147 
   3148     done
   3149     ac_cv_prog_CPP=$CPP
   3150 
   3151 fi
   3152   CPP=$ac_cv_prog_CPP
   3153 else
   3154   ac_cv_prog_CPP=$CPP
   3155 fi
   3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3157 $as_echo "$CPP" >&6; }
   3158 ac_preproc_ok=false
   3159 for ac_c_preproc_warn_flag in '' yes
   3160 do
   3161   # Use a header file that comes with gcc, so configuring glibc
   3162   # with a fresh cross-compiler works.
   3163   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3164   # <limits.h> exists even on freestanding compilers.
   3165   # On the NeXT, cc -E runs the code through the compiler's parser,
   3166   # not just through cpp. "Syntax error" is here to catch this case.
   3167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3168 /* end confdefs.h.  */
   3169 #ifdef __STDC__
   3170 # include <limits.h>
   3171 #else
   3172 # include <assert.h>
   3173 #endif
   3174 		     Syntax error
   3175 _ACEOF
   3176 if ac_fn_c_try_cpp "$LINENO"; then :
   3177 
   3178 else
   3179   # Broken: fails on valid input.
   3180 continue
   3181 fi
   3182 rm -f conftest.err conftest.i conftest.$ac_ext
   3183 
   3184   # OK, works on sane cases.  Now check whether nonexistent headers
   3185   # can be detected and how.
   3186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3187 /* end confdefs.h.  */
   3188 #include <ac_nonexistent.h>
   3189 _ACEOF
   3190 if ac_fn_c_try_cpp "$LINENO"; then :
   3191   # Broken: success on invalid input.
   3192 continue
   3193 else
   3194   # Passes both tests.
   3195 ac_preproc_ok=:
   3196 break
   3197 fi
   3198 rm -f conftest.err conftest.i conftest.$ac_ext
   3199 
   3200 done
   3201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3202 rm -f conftest.i conftest.err conftest.$ac_ext
   3203 if $ac_preproc_ok; then :
   3204 
   3205 else
   3206   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3208 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3209 See \`config.log' for more details" "$LINENO" 5; }
   3210 fi
   3211 
   3212 ac_ext=c
   3213 ac_cpp='$CPP $CPPFLAGS'
   3214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3217 
   3218 
   3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3220 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3221 if ${ac_cv_path_GREP+:} false; then :
   3222   $as_echo_n "(cached) " >&6
   3223 else
   3224   if test -z "$GREP"; then
   3225   ac_path_GREP_found=false
   3226   # Loop through the user's path and test for each of PROGNAME-LIST
   3227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3229 do
   3230   IFS=$as_save_IFS
   3231   test -z "$as_dir" && as_dir=.
   3232     for ac_prog in grep ggrep; do
   3233     for ac_exec_ext in '' $ac_executable_extensions; do
   3234       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3235       as_fn_executable_p "$ac_path_GREP" || continue
   3236 # Check for GNU ac_path_GREP and select it if it is found.
   3237   # Check for GNU $ac_path_GREP
   3238 case `"$ac_path_GREP" --version 2>&1` in
   3239 *GNU*)
   3240   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3241 *)
   3242   ac_count=0
   3243   $as_echo_n 0123456789 >"conftest.in"
   3244   while :
   3245   do
   3246     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3247     mv "conftest.tmp" "conftest.in"
   3248     cp "conftest.in" "conftest.nl"
   3249     $as_echo 'GREP' >> "conftest.nl"
   3250     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3251     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3252     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3253     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3254       # Best one so far, save it but keep looking for a better one
   3255       ac_cv_path_GREP="$ac_path_GREP"
   3256       ac_path_GREP_max=$ac_count
   3257     fi
   3258     # 10*(2^10) chars as input seems more than enough
   3259     test $ac_count -gt 10 && break
   3260   done
   3261   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3262 esac
   3263 
   3264       $ac_path_GREP_found && break 3
   3265     done
   3266   done
   3267   done
   3268 IFS=$as_save_IFS
   3269   if test -z "$ac_cv_path_GREP"; then
   3270     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3271   fi
   3272 else
   3273   ac_cv_path_GREP=$GREP
   3274 fi
   3275 
   3276 fi
   3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3278 $as_echo "$ac_cv_path_GREP" >&6; }
   3279  GREP="$ac_cv_path_GREP"
   3280 
   3281 
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3283 $as_echo_n "checking for egrep... " >&6; }
   3284 if ${ac_cv_path_EGREP+:} false; then :
   3285   $as_echo_n "(cached) " >&6
   3286 else
   3287   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3288    then ac_cv_path_EGREP="$GREP -E"
   3289    else
   3290      if test -z "$EGREP"; then
   3291   ac_path_EGREP_found=false
   3292   # Loop through the user's path and test for each of PROGNAME-LIST
   3293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3295 do
   3296   IFS=$as_save_IFS
   3297   test -z "$as_dir" && as_dir=.
   3298     for ac_prog in egrep; do
   3299     for ac_exec_ext in '' $ac_executable_extensions; do
   3300       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3301       as_fn_executable_p "$ac_path_EGREP" || continue
   3302 # Check for GNU ac_path_EGREP and select it if it is found.
   3303   # Check for GNU $ac_path_EGREP
   3304 case `"$ac_path_EGREP" --version 2>&1` in
   3305 *GNU*)
   3306   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3307 *)
   3308   ac_count=0
   3309   $as_echo_n 0123456789 >"conftest.in"
   3310   while :
   3311   do
   3312     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3313     mv "conftest.tmp" "conftest.in"
   3314     cp "conftest.in" "conftest.nl"
   3315     $as_echo 'EGREP' >> "conftest.nl"
   3316     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3317     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3318     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3319     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3320       # Best one so far, save it but keep looking for a better one
   3321       ac_cv_path_EGREP="$ac_path_EGREP"
   3322       ac_path_EGREP_max=$ac_count
   3323     fi
   3324     # 10*(2^10) chars as input seems more than enough
   3325     test $ac_count -gt 10 && break
   3326   done
   3327   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3328 esac
   3329 
   3330       $ac_path_EGREP_found && break 3
   3331     done
   3332   done
   3333   done
   3334 IFS=$as_save_IFS
   3335   if test -z "$ac_cv_path_EGREP"; then
   3336     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3337   fi
   3338 else
   3339   ac_cv_path_EGREP=$EGREP
   3340 fi
   3341 
   3342    fi
   3343 fi
   3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3345 $as_echo "$ac_cv_path_EGREP" >&6; }
   3346  EGREP="$ac_cv_path_EGREP"
   3347 
   3348 
   3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3350 $as_echo_n "checking for ANSI C header files... " >&6; }
   3351 if ${ac_cv_header_stdc+:} false; then :
   3352   $as_echo_n "(cached) " >&6
   3353 else
   3354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3355 /* end confdefs.h.  */
   3356 #include <stdlib.h>
   3357 #include <stdarg.h>
   3358 #include <string.h>
   3359 #include <float.h>
   3360 
   3361 int
   3362 main ()
   3363 {
   3364 
   3365   ;
   3366   return 0;
   3367 }
   3368 _ACEOF
   3369 if ac_fn_c_try_compile "$LINENO"; then :
   3370   ac_cv_header_stdc=yes
   3371 else
   3372   ac_cv_header_stdc=no
   3373 fi
   3374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3375 
   3376 if test $ac_cv_header_stdc = yes; then
   3377   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3379 /* end confdefs.h.  */
   3380 #include <string.h>
   3381 
   3382 _ACEOF
   3383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3384   $EGREP "memchr" >/dev/null 2>&1; then :
   3385 
   3386 else
   3387   ac_cv_header_stdc=no
   3388 fi
   3389 rm -f conftest*
   3390 
   3391 fi
   3392 
   3393 if test $ac_cv_header_stdc = yes; then
   3394   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3396 /* end confdefs.h.  */
   3397 #include <stdlib.h>
   3398 
   3399 _ACEOF
   3400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3401   $EGREP "free" >/dev/null 2>&1; then :
   3402 
   3403 else
   3404   ac_cv_header_stdc=no
   3405 fi
   3406 rm -f conftest*
   3407 
   3408 fi
   3409 
   3410 if test $ac_cv_header_stdc = yes; then
   3411   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3412   if test "$cross_compiling" = yes; then :
   3413   :
   3414 else
   3415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 #include <ctype.h>
   3418 #include <stdlib.h>
   3419 #if ((' ' & 0x0FF) == 0x020)
   3420 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3421 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3422 #else
   3423 # define ISLOWER(c) \
   3424 		   (('a' <= (c) && (c) <= 'i') \
   3425 		     || ('j' <= (c) && (c) <= 'r') \
   3426 		     || ('s' <= (c) && (c) <= 'z'))
   3427 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3428 #endif
   3429 
   3430 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3431 int
   3432 main ()
   3433 {
   3434   int i;
   3435   for (i = 0; i < 256; i++)
   3436     if (XOR (islower (i), ISLOWER (i))
   3437 	|| toupper (i) != TOUPPER (i))
   3438       return 2;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 if ac_fn_c_try_run "$LINENO"; then :
   3443 
   3444 else
   3445   ac_cv_header_stdc=no
   3446 fi
   3447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3448   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3449 fi
   3450 
   3451 fi
   3452 fi
   3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3454 $as_echo "$ac_cv_header_stdc" >&6; }
   3455 if test $ac_cv_header_stdc = yes; then
   3456 
   3457 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3458 
   3459 fi
   3460 
   3461 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3463 		  inttypes.h stdint.h unistd.h
   3464 do :
   3465   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3466 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3467 "
   3468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3469   cat >>confdefs.h <<_ACEOF
   3470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3471 _ACEOF
   3472 
   3473 fi
   3474 
   3475 done
   3476 
   3477 
   3478 
   3479   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3480 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3481   MINIX=yes
   3482 else
   3483   MINIX=
   3484 fi
   3485 
   3486 
   3487   if test "$MINIX" = yes; then
   3488 
   3489 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3490 
   3491 
   3492 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3493 
   3494 
   3495 $as_echo "#define _MINIX 1" >>confdefs.h
   3496 
   3497   fi
   3498 
   3499 
   3500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3501 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3502 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3503   $as_echo_n "(cached) " >&6
   3504 else
   3505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3506 /* end confdefs.h.  */
   3507 
   3508 #         define __EXTENSIONS__ 1
   3509           $ac_includes_default
   3510 int
   3511 main ()
   3512 {
   3513 
   3514   ;
   3515   return 0;
   3516 }
   3517 _ACEOF
   3518 if ac_fn_c_try_compile "$LINENO"; then :
   3519   ac_cv_safe_to_define___extensions__=yes
   3520 else
   3521   ac_cv_safe_to_define___extensions__=no
   3522 fi
   3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3524 fi
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3526 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3527   test $ac_cv_safe_to_define___extensions__ = yes &&
   3528     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3529 
   3530   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3531 
   3532   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3533 
   3534   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3535 
   3536   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3537 
   3538 
   3539 
   3540 # Initialize Automake
   3541 am__api_version='1.15'
   3542 
   3543 # Find a good install program.  We prefer a C program (faster),
   3544 # so one script is as good as another.  But avoid the broken or
   3545 # incompatible versions:
   3546 # SysV /etc/install, /usr/sbin/install
   3547 # SunOS /usr/etc/install
   3548 # IRIX /sbin/install
   3549 # AIX /bin/install
   3550 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3551 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3552 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3553 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3554 # OS/2's system install, which has a completely different semantic
   3555 # ./install, which can be erroneously created by make from ./install.sh.
   3556 # Reject install programs that cannot install multiple files.
   3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3558 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3559 if test -z "$INSTALL"; then
   3560 if ${ac_cv_path_install+:} false; then :
   3561   $as_echo_n "(cached) " >&6
   3562 else
   3563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3564 for as_dir in $PATH
   3565 do
   3566   IFS=$as_save_IFS
   3567   test -z "$as_dir" && as_dir=.
   3568     # Account for people who put trailing slashes in PATH elements.
   3569 case $as_dir/ in #((
   3570   ./ | .// | /[cC]/* | \
   3571   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3572   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3573   /usr/ucb/* ) ;;
   3574   *)
   3575     # OSF1 and SCO ODT 3.0 have their own names for install.
   3576     # Don't use installbsd from OSF since it installs stuff as root
   3577     # by default.
   3578     for ac_prog in ginstall scoinst install; do
   3579       for ac_exec_ext in '' $ac_executable_extensions; do
   3580 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3581 	  if test $ac_prog = install &&
   3582 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3583 	    # AIX install.  It has an incompatible calling convention.
   3584 	    :
   3585 	  elif test $ac_prog = install &&
   3586 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3587 	    # program-specific install script used by HP pwplus--don't use.
   3588 	    :
   3589 	  else
   3590 	    rm -rf conftest.one conftest.two conftest.dir
   3591 	    echo one > conftest.one
   3592 	    echo two > conftest.two
   3593 	    mkdir conftest.dir
   3594 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3595 	      test -s conftest.one && test -s conftest.two &&
   3596 	      test -s conftest.dir/conftest.one &&
   3597 	      test -s conftest.dir/conftest.two
   3598 	    then
   3599 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3600 	      break 3
   3601 	    fi
   3602 	  fi
   3603 	fi
   3604       done
   3605     done
   3606     ;;
   3607 esac
   3608 
   3609   done
   3610 IFS=$as_save_IFS
   3611 
   3612 rm -rf conftest.one conftest.two conftest.dir
   3613 
   3614 fi
   3615   if test "${ac_cv_path_install+set}" = set; then
   3616     INSTALL=$ac_cv_path_install
   3617   else
   3618     # As a last resort, use the slow shell script.  Don't cache a
   3619     # value for INSTALL within a source directory, because that will
   3620     # break other packages using the cache if that directory is
   3621     # removed, or if the value is a relative name.
   3622     INSTALL=$ac_install_sh
   3623   fi
   3624 fi
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3626 $as_echo "$INSTALL" >&6; }
   3627 
   3628 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3629 # It thinks the first close brace ends the variable substitution.
   3630 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3631 
   3632 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3633 
   3634 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3635 
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3637 $as_echo_n "checking whether build environment is sane... " >&6; }
   3638 # Reject unsafe characters in $srcdir or the absolute working directory
   3639 # name.  Accept space and tab only in the latter.
   3640 am_lf='
   3641 '
   3642 case `pwd` in
   3643   *[\\\"\#\$\&\'\`$am_lf]*)
   3644     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3645 esac
   3646 case $srcdir in
   3647   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3648     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3649 esac
   3650 
   3651 # Do 'set' in a subshell so we don't clobber the current shell's
   3652 # arguments.  Must try -L first in case configure is actually a
   3653 # symlink; some systems play weird games with the mod time of symlinks
   3654 # (eg FreeBSD returns the mod time of the symlink's containing
   3655 # directory).
   3656 if (
   3657    am_has_slept=no
   3658    for am_try in 1 2; do
   3659      echo "timestamp, slept: $am_has_slept" > conftest.file
   3660      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3661      if test "$*" = "X"; then
   3662 	# -L didn't work.
   3663 	set X `ls -t "$srcdir/configure" conftest.file`
   3664      fi
   3665      if test "$*" != "X $srcdir/configure conftest.file" \
   3666 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3667 
   3668 	# If neither matched, then we have a broken ls.  This can happen
   3669 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3670 	# broken ls alias from the environment.  This has actually
   3671 	# happened.  Such a system could not be considered "sane".
   3672 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3673   alias in your environment" "$LINENO" 5
   3674      fi
   3675      if test "$2" = conftest.file || test $am_try -eq 2; then
   3676        break
   3677      fi
   3678      # Just in case.
   3679      sleep 1
   3680      am_has_slept=yes
   3681    done
   3682    test "$2" = conftest.file
   3683    )
   3684 then
   3685    # Ok.
   3686    :
   3687 else
   3688    as_fn_error $? "newly created file is older than distributed files!
   3689 Check your system clock" "$LINENO" 5
   3690 fi
   3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3692 $as_echo "yes" >&6; }
   3693 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3694 # generated files are strictly newer.
   3695 am_sleep_pid=
   3696 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3697   ( sleep 1 ) &
   3698   am_sleep_pid=$!
   3699 fi
   3700 
   3701 rm -f conftest.file
   3702 
   3703 test "$program_prefix" != NONE &&
   3704   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3705 # Use a double $ so make ignores it.
   3706 test "$program_suffix" != NONE &&
   3707   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3708 # Double any \ or $.
   3709 # By default was `s,x,x', remove it if useless.
   3710 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3711 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3712 
   3713 if test x"${MISSING+set}" != xset; then
   3714   case $am_aux_dir in
   3715   *\ * | *\	*)
   3716     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3717   *)
   3718     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3719   esac
   3720 fi
   3721 # Use eval to expand $SHELL
   3722 if eval "$MISSING --is-lightweight"; then
   3723   am_missing_run="$MISSING "
   3724 else
   3725   am_missing_run=
   3726   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3727 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3728 fi
   3729 
   3730 if test x"${install_sh+set}" != xset; then
   3731   case $am_aux_dir in
   3732   *\ * | *\	*)
   3733     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3734   *)
   3735     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3736   esac
   3737 fi
   3738 
   3739 # Installed binaries are usually stripped using 'strip' when the user
   3740 # run "make install-strip".  However 'strip' might not be the right
   3741 # tool to use in cross-compilation environments, therefore Automake
   3742 # will honor the 'STRIP' environment variable to overrule this program.
   3743 if test "$cross_compiling" != no; then
   3744   if test -n "$ac_tool_prefix"; then
   3745   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3746 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3748 $as_echo_n "checking for $ac_word... " >&6; }
   3749 if ${ac_cv_prog_STRIP+:} false; then :
   3750   $as_echo_n "(cached) " >&6
   3751 else
   3752   if test -n "$STRIP"; then
   3753   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3754 else
   3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3756 for as_dir in $PATH
   3757 do
   3758   IFS=$as_save_IFS
   3759   test -z "$as_dir" && as_dir=.
   3760     for ac_exec_ext in '' $ac_executable_extensions; do
   3761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3762     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3764     break 2
   3765   fi
   3766 done
   3767   done
   3768 IFS=$as_save_IFS
   3769 
   3770 fi
   3771 fi
   3772 STRIP=$ac_cv_prog_STRIP
   3773 if test -n "$STRIP"; then
   3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3775 $as_echo "$STRIP" >&6; }
   3776 else
   3777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3778 $as_echo "no" >&6; }
   3779 fi
   3780 
   3781 
   3782 fi
   3783 if test -z "$ac_cv_prog_STRIP"; then
   3784   ac_ct_STRIP=$STRIP
   3785   # Extract the first word of "strip", so it can be a program name with args.
   3786 set dummy strip; ac_word=$2
   3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3788 $as_echo_n "checking for $ac_word... " >&6; }
   3789 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3790   $as_echo_n "(cached) " >&6
   3791 else
   3792   if test -n "$ac_ct_STRIP"; then
   3793   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3794 else
   3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3796 for as_dir in $PATH
   3797 do
   3798   IFS=$as_save_IFS
   3799   test -z "$as_dir" && as_dir=.
   3800     for ac_exec_ext in '' $ac_executable_extensions; do
   3801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3802     ac_cv_prog_ac_ct_STRIP="strip"
   3803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3804     break 2
   3805   fi
   3806 done
   3807   done
   3808 IFS=$as_save_IFS
   3809 
   3810 fi
   3811 fi
   3812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3813 if test -n "$ac_ct_STRIP"; then
   3814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3815 $as_echo "$ac_ct_STRIP" >&6; }
   3816 else
   3817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3818 $as_echo "no" >&6; }
   3819 fi
   3820 
   3821   if test "x$ac_ct_STRIP" = x; then
   3822     STRIP=":"
   3823   else
   3824     case $cross_compiling:$ac_tool_warned in
   3825 yes:)
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3828 ac_tool_warned=yes ;;
   3829 esac
   3830     STRIP=$ac_ct_STRIP
   3831   fi
   3832 else
   3833   STRIP="$ac_cv_prog_STRIP"
   3834 fi
   3835 
   3836 fi
   3837 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3838 
   3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3840 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3841 if test -z "$MKDIR_P"; then
   3842   if ${ac_cv_path_mkdir+:} false; then :
   3843   $as_echo_n "(cached) " >&6
   3844 else
   3845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3846 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3847 do
   3848   IFS=$as_save_IFS
   3849   test -z "$as_dir" && as_dir=.
   3850     for ac_prog in mkdir gmkdir; do
   3851 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3852 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3853 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3854 	     'mkdir (GNU coreutils) '* | \
   3855 	     'mkdir (coreutils) '* | \
   3856 	     'mkdir (fileutils) '4.1*)
   3857 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3858 	       break 3;;
   3859 	   esac
   3860 	 done
   3861        done
   3862   done
   3863 IFS=$as_save_IFS
   3864 
   3865 fi
   3866 
   3867   test -d ./--version && rmdir ./--version
   3868   if test "${ac_cv_path_mkdir+set}" = set; then
   3869     MKDIR_P="$ac_cv_path_mkdir -p"
   3870   else
   3871     # As a last resort, use the slow shell script.  Don't cache a
   3872     # value for MKDIR_P within a source directory, because that will
   3873     # break other packages using the cache if that directory is
   3874     # removed, or if the value is a relative name.
   3875     MKDIR_P="$ac_install_sh -d"
   3876   fi
   3877 fi
   3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3879 $as_echo "$MKDIR_P" >&6; }
   3880 
   3881 for ac_prog in gawk mawk nawk awk
   3882 do
   3883   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3884 set dummy $ac_prog; ac_word=$2
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3886 $as_echo_n "checking for $ac_word... " >&6; }
   3887 if ${ac_cv_prog_AWK+:} false; then :
   3888   $as_echo_n "(cached) " >&6
   3889 else
   3890   if test -n "$AWK"; then
   3891   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3892 else
   3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3894 for as_dir in $PATH
   3895 do
   3896   IFS=$as_save_IFS
   3897   test -z "$as_dir" && as_dir=.
   3898     for ac_exec_ext in '' $ac_executable_extensions; do
   3899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3900     ac_cv_prog_AWK="$ac_prog"
   3901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3902     break 2
   3903   fi
   3904 done
   3905   done
   3906 IFS=$as_save_IFS
   3907 
   3908 fi
   3909 fi
   3910 AWK=$ac_cv_prog_AWK
   3911 if test -n "$AWK"; then
   3912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3913 $as_echo "$AWK" >&6; }
   3914 else
   3915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3916 $as_echo "no" >&6; }
   3917 fi
   3918 
   3919 
   3920   test -n "$AWK" && break
   3921 done
   3922 
   3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3924 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3925 set x ${MAKE-make}
   3926 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3927 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3928   $as_echo_n "(cached) " >&6
   3929 else
   3930   cat >conftest.make <<\_ACEOF
   3931 SHELL = /bin/sh
   3932 all:
   3933 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3934 _ACEOF
   3935 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3937   *@@@%%%=?*=@@@%%%*)
   3938     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3939   *)
   3940     eval ac_cv_prog_make_${ac_make}_set=no;;
   3941 esac
   3942 rm -f conftest.make
   3943 fi
   3944 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3946 $as_echo "yes" >&6; }
   3947   SET_MAKE=
   3948 else
   3949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3950 $as_echo "no" >&6; }
   3951   SET_MAKE="MAKE=${MAKE-make}"
   3952 fi
   3953 
   3954 rm -rf .tst 2>/dev/null
   3955 mkdir .tst 2>/dev/null
   3956 if test -d .tst; then
   3957   am__leading_dot=.
   3958 else
   3959   am__leading_dot=_
   3960 fi
   3961 rmdir .tst 2>/dev/null
   3962 
   3963 DEPDIR="${am__leading_dot}deps"
   3964 
   3965 ac_config_commands="$ac_config_commands depfiles"
   3966 
   3967 
   3968 am_make=${MAKE-make}
   3969 cat > confinc << 'END'
   3970 am__doit:
   3971 	@echo this is the am__doit target
   3972 .PHONY: am__doit
   3973 END
   3974 # If we don't find an include directive, just comment out the code.
   3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3976 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3977 am__include="#"
   3978 am__quote=
   3979 _am_result=none
   3980 # First try GNU make style include.
   3981 echo "include confinc" > confmf
   3982 # Ignore all kinds of additional output from 'make'.
   3983 case `$am_make -s -f confmf 2> /dev/null` in #(
   3984 *the\ am__doit\ target*)
   3985   am__include=include
   3986   am__quote=
   3987   _am_result=GNU
   3988   ;;
   3989 esac
   3990 # Now try BSD make style include.
   3991 if test "$am__include" = "#"; then
   3992    echo '.include "confinc"' > confmf
   3993    case `$am_make -s -f confmf 2> /dev/null` in #(
   3994    *the\ am__doit\ target*)
   3995      am__include=.include
   3996      am__quote="\""
   3997      _am_result=BSD
   3998      ;;
   3999    esac
   4000 fi
   4001 
   4002 
   4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4004 $as_echo "$_am_result" >&6; }
   4005 rm -f confinc confmf
   4006 
   4007 # Check whether --enable-dependency-tracking was given.
   4008 if test "${enable_dependency_tracking+set}" = set; then :
   4009   enableval=$enable_dependency_tracking;
   4010 fi
   4011 
   4012 if test "x$enable_dependency_tracking" != xno; then
   4013   am_depcomp="$ac_aux_dir/depcomp"
   4014   AMDEPBACKSLASH='\'
   4015   am__nodep='_no'
   4016 fi
   4017  if test "x$enable_dependency_tracking" != xno; then
   4018   AMDEP_TRUE=
   4019   AMDEP_FALSE='#'
   4020 else
   4021   AMDEP_TRUE='#'
   4022   AMDEP_FALSE=
   4023 fi
   4024 
   4025 
   4026 # Check whether --enable-silent-rules was given.
   4027 if test "${enable_silent_rules+set}" = set; then :
   4028   enableval=$enable_silent_rules;
   4029 fi
   4030 
   4031 case $enable_silent_rules in # (((
   4032   yes) AM_DEFAULT_VERBOSITY=0;;
   4033    no) AM_DEFAULT_VERBOSITY=1;;
   4034     *) AM_DEFAULT_VERBOSITY=1;;
   4035 esac
   4036 am_make=${MAKE-make}
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4038 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4039 if ${am_cv_make_support_nested_variables+:} false; then :
   4040   $as_echo_n "(cached) " >&6
   4041 else
   4042   if $as_echo 'TRUE=$(BAR$(V))
   4043 BAR0=false
   4044 BAR1=true
   4045 V=1
   4046 am__doit:
   4047 	@$(TRUE)
   4048 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4049   am_cv_make_support_nested_variables=yes
   4050 else
   4051   am_cv_make_support_nested_variables=no
   4052 fi
   4053 fi
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4055 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4056 if test $am_cv_make_support_nested_variables = yes; then
   4057     AM_V='$(V)'
   4058   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4059 else
   4060   AM_V=$AM_DEFAULT_VERBOSITY
   4061   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4062 fi
   4063 AM_BACKSLASH='\'
   4064 
   4065 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4066   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4067   # is not polluted with repeated "-I."
   4068   am__isrc=' -I$(srcdir)'
   4069   # test to see if srcdir already configured
   4070   if test -f $srcdir/config.status; then
   4071     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4072   fi
   4073 fi
   4074 
   4075 # test whether we have cygpath
   4076 if test -z "$CYGPATH_W"; then
   4077   if (cygpath --version) >/dev/null 2>/dev/null; then
   4078     CYGPATH_W='cygpath -w'
   4079   else
   4080     CYGPATH_W=echo
   4081   fi
   4082 fi
   4083 
   4084 
   4085 # Define the identity of the package.
   4086  PACKAGE='mkfontscale'
   4087  VERSION='1.1.2'
   4088 
   4089 
   4090 cat >>confdefs.h <<_ACEOF
   4091 #define PACKAGE "$PACKAGE"
   4092 _ACEOF
   4093 
   4094 
   4095 cat >>confdefs.h <<_ACEOF
   4096 #define VERSION "$VERSION"
   4097 _ACEOF
   4098 
   4099 # Some tools Automake needs.
   4100 
   4101 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4102 
   4103 
   4104 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4105 
   4106 
   4107 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4108 
   4109 
   4110 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4111 
   4112 
   4113 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4114 
   4115 # For better backward compatibility.  To be removed once Automake 1.9.x
   4116 # dies out for good.  For more background, see:
   4117 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4118 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4119 mkdir_p='$(MKDIR_P)'
   4120 
   4121 # We need awk for the "check" target (and possibly the TAP driver).  The
   4122 # system "awk" is bad on some platforms.
   4123 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4124 # in the wild :-(  We should find a proper way to deprecate it ...
   4125 AMTAR='$${TAR-tar}'
   4126 
   4127 
   4128 # We'll loop over all known methods to create a tar archive until one works.
   4129 _am_tools='gnutar  pax cpio none'
   4130 
   4131 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4132 
   4133 
   4134 
   4135 
   4136 
   4137 depcc="$CC"   am_compiler_list=
   4138 
   4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4140 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4141 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4142   $as_echo_n "(cached) " >&6
   4143 else
   4144   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4145   # We make a subdir and do the tests there.  Otherwise we can end up
   4146   # making bogus files that we don't know about and never remove.  For
   4147   # instance it was reported that on HP-UX the gcc test will end up
   4148   # making a dummy file named 'D' -- because '-MD' means "put the output
   4149   # in D".
   4150   rm -rf conftest.dir
   4151   mkdir conftest.dir
   4152   # Copy depcomp to subdir because otherwise we won't find it if we're
   4153   # using a relative directory.
   4154   cp "$am_depcomp" conftest.dir
   4155   cd conftest.dir
   4156   # We will build objects and dependencies in a subdirectory because
   4157   # it helps to detect inapplicable dependency modes.  For instance
   4158   # both Tru64's cc and ICC support -MD to output dependencies as a
   4159   # side effect of compilation, but ICC will put the dependencies in
   4160   # the current directory while Tru64 will put them in the object
   4161   # directory.
   4162   mkdir sub
   4163 
   4164   am_cv_CC_dependencies_compiler_type=none
   4165   if test "$am_compiler_list" = ""; then
   4166      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4167   fi
   4168   am__universal=false
   4169   case " $depcc " in #(
   4170      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4171      esac
   4172 
   4173   for depmode in $am_compiler_list; do
   4174     # Setup a source with many dependencies, because some compilers
   4175     # like to wrap large dependency lists on column 80 (with \), and
   4176     # we should not choose a depcomp mode which is confused by this.
   4177     #
   4178     # We need to recreate these files for each test, as the compiler may
   4179     # overwrite some of them when testing with obscure command lines.
   4180     # This happens at least with the AIX C compiler.
   4181     : > sub/conftest.c
   4182     for i in 1 2 3 4 5 6; do
   4183       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4184       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4185       # Solaris 10 /bin/sh.
   4186       echo '/* dummy */' > sub/conftst$i.h
   4187     done
   4188     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4189 
   4190     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4191     # mode.  It turns out that the SunPro C++ compiler does not properly
   4192     # handle '-M -o', and we need to detect this.  Also, some Intel
   4193     # versions had trouble with output in subdirs.
   4194     am__obj=sub/conftest.${OBJEXT-o}
   4195     am__minus_obj="-o $am__obj"
   4196     case $depmode in
   4197     gcc)
   4198       # This depmode causes a compiler race in universal mode.
   4199       test "$am__universal" = false || continue
   4200       ;;
   4201     nosideeffect)
   4202       # After this tag, mechanisms are not by side-effect, so they'll
   4203       # only be used when explicitly requested.
   4204       if test "x$enable_dependency_tracking" = xyes; then
   4205 	continue
   4206       else
   4207 	break
   4208       fi
   4209       ;;
   4210     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4211       # This compiler won't grok '-c -o', but also, the minuso test has
   4212       # not run yet.  These depmodes are late enough in the game, and
   4213       # so weak that their functioning should not be impacted.
   4214       am__obj=conftest.${OBJEXT-o}
   4215       am__minus_obj=
   4216       ;;
   4217     none) break ;;
   4218     esac
   4219     if depmode=$depmode \
   4220        source=sub/conftest.c object=$am__obj \
   4221        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4222        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4223          >/dev/null 2>conftest.err &&
   4224        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4225        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4226        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4227        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4228       # icc doesn't choke on unknown options, it will just issue warnings
   4229       # or remarks (even with -Werror).  So we grep stderr for any message
   4230       # that says an option was ignored or not supported.
   4231       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4232       #   icc: Command line warning: ignoring option '-M'; no argument required
   4233       # The diagnosis changed in icc 8.0:
   4234       #   icc: Command line remark: option '-MP' not supported
   4235       if (grep 'ignoring option' conftest.err ||
   4236           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4237         am_cv_CC_dependencies_compiler_type=$depmode
   4238         break
   4239       fi
   4240     fi
   4241   done
   4242 
   4243   cd ..
   4244   rm -rf conftest.dir
   4245 else
   4246   am_cv_CC_dependencies_compiler_type=none
   4247 fi
   4248 
   4249 fi
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4251 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4253 
   4254  if
   4255   test "x$enable_dependency_tracking" != xno \
   4256   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4257   am__fastdepCC_TRUE=
   4258   am__fastdepCC_FALSE='#'
   4259 else
   4260   am__fastdepCC_TRUE='#'
   4261   am__fastdepCC_FALSE=
   4262 fi
   4263 
   4264 
   4265 
   4266 # POSIX will say in a future version that running "rm -f" with no argument
   4267 # is OK; and we want to be able to make that assumption in our Makefile
   4268 # recipes.  So use an aggressive probe to check that the usage we want is
   4269 # actually supported "in the wild" to an acceptable degree.
   4270 # See automake bug#10828.
   4271 # To make any issue more visible, cause the running configure to be aborted
   4272 # by default if the 'rm' program in use doesn't match our expectations; the
   4273 # user can still override this though.
   4274 if rm -f && rm -fr && rm -rf; then : OK; else
   4275   cat >&2 <<'END'
   4276 Oops!
   4277 
   4278 Your 'rm' program seems unable to run without file operands specified
   4279 on the command line, even when the '-f' option is present.  This is contrary
   4280 to the behaviour of most rm programs out there, and not conforming with
   4281 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4282 
   4283 Please tell bug-automake@gnu.org about your system, including the value
   4284 of your $PATH and any error possibly output before this message.  This
   4285 can help us improve future automake versions.
   4286 
   4287 END
   4288   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4289     echo 'Configuration will proceed anyway, since you have set the' >&2
   4290     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4291     echo >&2
   4292   else
   4293     cat >&2 <<'END'
   4294 Aborting the configuration process, to ensure you take notice of the issue.
   4295 
   4296 You can download and install GNU coreutils to get an 'rm' implementation
   4297 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4298 
   4299 If you want to complete the configuration process using your problematic
   4300 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4301 to "yes", and re-run configure.
   4302 
   4303 END
   4304     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4305   fi
   4306 fi
   4307 
   4308 
   4309 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 
   4316 
   4317 
   4318 
   4319 
   4320 
   4321    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4322 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4323 if ${ac_cv_prog_cc_c99+:} false; then :
   4324   $as_echo_n "(cached) " >&6
   4325 else
   4326   ac_cv_prog_cc_c99=no
   4327 ac_save_CC=$CC
   4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 #include <stdarg.h>
   4331 #include <stdbool.h>
   4332 #include <stdlib.h>
   4333 #include <wchar.h>
   4334 #include <stdio.h>
   4335 
   4336 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4337 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4338 #define showlist(...) puts (#__VA_ARGS__)
   4339 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4340 static void
   4341 test_varargs_macros (void)
   4342 {
   4343   int x = 1234;
   4344   int y = 5678;
   4345   debug ("Flag");
   4346   debug ("X = %d\n", x);
   4347   showlist (The first, second, and third items.);
   4348   report (x>y, "x is %d but y is %d", x, y);
   4349 }
   4350 
   4351 // Check long long types.
   4352 #define BIG64 18446744073709551615ull
   4353 #define BIG32 4294967295ul
   4354 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4355 #if !BIG_OK
   4356   your preprocessor is broken;
   4357 #endif
   4358 #if BIG_OK
   4359 #else
   4360   your preprocessor is broken;
   4361 #endif
   4362 static long long int bignum = -9223372036854775807LL;
   4363 static unsigned long long int ubignum = BIG64;
   4364 
   4365 struct incomplete_array
   4366 {
   4367   int datasize;
   4368   double data[];
   4369 };
   4370 
   4371 struct named_init {
   4372   int number;
   4373   const wchar_t *name;
   4374   double average;
   4375 };
   4376 
   4377 typedef const char *ccp;
   4378 
   4379 static inline int
   4380 test_restrict (ccp restrict text)
   4381 {
   4382   // See if C++-style comments work.
   4383   // Iterate through items via the restricted pointer.
   4384   // Also check for declarations in for loops.
   4385   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4386     continue;
   4387   return 0;
   4388 }
   4389 
   4390 // Check varargs and va_copy.
   4391 static void
   4392 test_varargs (const char *format, ...)
   4393 {
   4394   va_list args;
   4395   va_start (args, format);
   4396   va_list args_copy;
   4397   va_copy (args_copy, args);
   4398 
   4399   const char *str;
   4400   int number;
   4401   float fnumber;
   4402 
   4403   while (*format)
   4404     {
   4405       switch (*format++)
   4406 	{
   4407 	case 's': // string
   4408 	  str = va_arg (args_copy, const char *);
   4409 	  break;
   4410 	case 'd': // int
   4411 	  number = va_arg (args_copy, int);
   4412 	  break;
   4413 	case 'f': // float
   4414 	  fnumber = va_arg (args_copy, double);
   4415 	  break;
   4416 	default:
   4417 	  break;
   4418 	}
   4419     }
   4420   va_end (args_copy);
   4421   va_end (args);
   4422 }
   4423 
   4424 int
   4425 main ()
   4426 {
   4427 
   4428   // Check bool.
   4429   _Bool success = false;
   4430 
   4431   // Check restrict.
   4432   if (test_restrict ("String literal") == 0)
   4433     success = true;
   4434   char *restrict newvar = "Another string";
   4435 
   4436   // Check varargs.
   4437   test_varargs ("s, d' f .", "string", 65, 34.234);
   4438   test_varargs_macros ();
   4439 
   4440   // Check flexible array members.
   4441   struct incomplete_array *ia =
   4442     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4443   ia->datasize = 10;
   4444   for (int i = 0; i < ia->datasize; ++i)
   4445     ia->data[i] = i * 1.234;
   4446 
   4447   // Check named initializers.
   4448   struct named_init ni = {
   4449     .number = 34,
   4450     .name = L"Test wide string",
   4451     .average = 543.34343,
   4452   };
   4453 
   4454   ni.number = 58;
   4455 
   4456   int dynamic_array[ni.number];
   4457   dynamic_array[ni.number - 1] = 543;
   4458 
   4459   // work around unused variable warnings
   4460   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4461 	  || dynamic_array[ni.number - 1] != 543);
   4462 
   4463   ;
   4464   return 0;
   4465 }
   4466 _ACEOF
   4467 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4468 do
   4469   CC="$ac_save_CC $ac_arg"
   4470   if ac_fn_c_try_compile "$LINENO"; then :
   4471   ac_cv_prog_cc_c99=$ac_arg
   4472 fi
   4473 rm -f core conftest.err conftest.$ac_objext
   4474   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4475 done
   4476 rm -f conftest.$ac_ext
   4477 CC=$ac_save_CC
   4478 
   4479 fi
   4480 # AC_CACHE_VAL
   4481 case "x$ac_cv_prog_cc_c99" in
   4482   x)
   4483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4484 $as_echo "none needed" >&6; } ;;
   4485   xno)
   4486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4487 $as_echo "unsupported" >&6; } ;;
   4488   *)
   4489     CC="$CC $ac_cv_prog_cc_c99"
   4490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4491 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4492 esac
   4493 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4494 
   4495 fi
   4496 
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4503 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4504   CLANGCC="yes"
   4505 else
   4506   CLANGCC="no"
   4507 fi
   4508 
   4509 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4510 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4511   INTELCC="yes"
   4512 else
   4513   INTELCC="no"
   4514 fi
   4515 
   4516 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4517 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4518   SUNCC="yes"
   4519 else
   4520   SUNCC="no"
   4521 fi
   4522 
   4523 
   4524 
   4525 
   4526 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4527 	if test -n "$ac_tool_prefix"; then
   4528   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4529 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4531 $as_echo_n "checking for $ac_word... " >&6; }
   4532 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4533   $as_echo_n "(cached) " >&6
   4534 else
   4535   case $PKG_CONFIG in
   4536   [\\/]* | ?:[\\/]*)
   4537   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4538   ;;
   4539   *)
   4540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4541 for as_dir in $PATH
   4542 do
   4543   IFS=$as_save_IFS
   4544   test -z "$as_dir" && as_dir=.
   4545     for ac_exec_ext in '' $ac_executable_extensions; do
   4546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4547     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4549     break 2
   4550   fi
   4551 done
   4552   done
   4553 IFS=$as_save_IFS
   4554 
   4555   ;;
   4556 esac
   4557 fi
   4558 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4559 if test -n "$PKG_CONFIG"; then
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4561 $as_echo "$PKG_CONFIG" >&6; }
   4562 else
   4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4564 $as_echo "no" >&6; }
   4565 fi
   4566 
   4567 
   4568 fi
   4569 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4570   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4571   # Extract the first word of "pkg-config", so it can be a program name with args.
   4572 set dummy pkg-config; ac_word=$2
   4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4574 $as_echo_n "checking for $ac_word... " >&6; }
   4575 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4576   $as_echo_n "(cached) " >&6
   4577 else
   4578   case $ac_pt_PKG_CONFIG in
   4579   [\\/]* | ?:[\\/]*)
   4580   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4581   ;;
   4582   *)
   4583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4584 for as_dir in $PATH
   4585 do
   4586   IFS=$as_save_IFS
   4587   test -z "$as_dir" && as_dir=.
   4588     for ac_exec_ext in '' $ac_executable_extensions; do
   4589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4590     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4592     break 2
   4593   fi
   4594 done
   4595   done
   4596 IFS=$as_save_IFS
   4597 
   4598   ;;
   4599 esac
   4600 fi
   4601 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4602 if test -n "$ac_pt_PKG_CONFIG"; then
   4603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4604 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4605 else
   4606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4607 $as_echo "no" >&6; }
   4608 fi
   4609 
   4610   if test "x$ac_pt_PKG_CONFIG" = x; then
   4611     PKG_CONFIG=""
   4612   else
   4613     case $cross_compiling:$ac_tool_warned in
   4614 yes:)
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4617 ac_tool_warned=yes ;;
   4618 esac
   4619     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4620   fi
   4621 else
   4622   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4623 fi
   4624 
   4625 fi
   4626 if test -n "$PKG_CONFIG"; then
   4627 	_pkg_min_version=0.9.0
   4628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4629 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4630 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4632 $as_echo "yes" >&6; }
   4633 	else
   4634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 		PKG_CONFIG=""
   4637 	fi
   4638 
   4639 fi
   4640 # Make sure we can run config.sub.
   4641 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4642   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4643 
   4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4645 $as_echo_n "checking build system type... " >&6; }
   4646 if ${ac_cv_build+:} false; then :
   4647   $as_echo_n "(cached) " >&6
   4648 else
   4649   ac_build_alias=$build_alias
   4650 test "x$ac_build_alias" = x &&
   4651   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4652 test "x$ac_build_alias" = x &&
   4653   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4654 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4655   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4656 
   4657 fi
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4659 $as_echo "$ac_cv_build" >&6; }
   4660 case $ac_cv_build in
   4661 *-*-*) ;;
   4662 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4663 esac
   4664 build=$ac_cv_build
   4665 ac_save_IFS=$IFS; IFS='-'
   4666 set x $ac_cv_build
   4667 shift
   4668 build_cpu=$1
   4669 build_vendor=$2
   4670 shift; shift
   4671 # Remember, the first character of IFS is used to create $*,
   4672 # except with old shells:
   4673 build_os=$*
   4674 IFS=$ac_save_IFS
   4675 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4676 
   4677 
   4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4679 $as_echo_n "checking host system type... " >&6; }
   4680 if ${ac_cv_host+:} false; then :
   4681   $as_echo_n "(cached) " >&6
   4682 else
   4683   if test "x$host_alias" = x; then
   4684   ac_cv_host=$ac_cv_build
   4685 else
   4686   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4687     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4688 fi
   4689 
   4690 fi
   4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4692 $as_echo "$ac_cv_host" >&6; }
   4693 case $ac_cv_host in
   4694 *-*-*) ;;
   4695 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4696 esac
   4697 host=$ac_cv_host
   4698 ac_save_IFS=$IFS; IFS='-'
   4699 set x $ac_cv_host
   4700 shift
   4701 host_cpu=$1
   4702 host_vendor=$2
   4703 shift; shift
   4704 # Remember, the first character of IFS is used to create $*,
   4705 # except with old shells:
   4706 host_os=$*
   4707 IFS=$ac_save_IFS
   4708 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4709 
   4710 
   4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4712 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4713 if ${ac_cv_path_SED+:} false; then :
   4714   $as_echo_n "(cached) " >&6
   4715 else
   4716             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4717      for ac_i in 1 2 3 4 5 6 7; do
   4718        ac_script="$ac_script$as_nl$ac_script"
   4719      done
   4720      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4721      { ac_script=; unset ac_script;}
   4722      if test -z "$SED"; then
   4723   ac_path_SED_found=false
   4724   # Loop through the user's path and test for each of PROGNAME-LIST
   4725   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4726 for as_dir in $PATH
   4727 do
   4728   IFS=$as_save_IFS
   4729   test -z "$as_dir" && as_dir=.
   4730     for ac_prog in sed gsed; do
   4731     for ac_exec_ext in '' $ac_executable_extensions; do
   4732       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4733       as_fn_executable_p "$ac_path_SED" || continue
   4734 # Check for GNU ac_path_SED and select it if it is found.
   4735   # Check for GNU $ac_path_SED
   4736 case `"$ac_path_SED" --version 2>&1` in
   4737 *GNU*)
   4738   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4739 *)
   4740   ac_count=0
   4741   $as_echo_n 0123456789 >"conftest.in"
   4742   while :
   4743   do
   4744     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4745     mv "conftest.tmp" "conftest.in"
   4746     cp "conftest.in" "conftest.nl"
   4747     $as_echo '' >> "conftest.nl"
   4748     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4749     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4750     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4751     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4752       # Best one so far, save it but keep looking for a better one
   4753       ac_cv_path_SED="$ac_path_SED"
   4754       ac_path_SED_max=$ac_count
   4755     fi
   4756     # 10*(2^10) chars as input seems more than enough
   4757     test $ac_count -gt 10 && break
   4758   done
   4759   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4760 esac
   4761 
   4762       $ac_path_SED_found && break 3
   4763     done
   4764   done
   4765   done
   4766 IFS=$as_save_IFS
   4767   if test -z "$ac_cv_path_SED"; then
   4768     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4769   fi
   4770 else
   4771   ac_cv_path_SED=$SED
   4772 fi
   4773 
   4774 fi
   4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4776 $as_echo "$ac_cv_path_SED" >&6; }
   4777  SED="$ac_cv_path_SED"
   4778   rm -f conftest.sed
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 # Check whether --enable-selective-werror was given.
   4786 if test "${enable_selective_werror+set}" = set; then :
   4787   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4788 else
   4789   SELECTIVE_WERROR=yes
   4790 fi
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4797 if test "x$SUNCC" = "xyes"; then
   4798     BASE_CFLAGS="-v"
   4799 else
   4800     BASE_CFLAGS=""
   4801 fi
   4802 
   4803 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 xorg_testset_save_CFLAGS="$CFLAGS"
   4818 
   4819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4824   $as_echo_n "(cached) " >&6
   4825 else
   4826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4827 /* end confdefs.h.  */
   4828 int i;
   4829 _ACEOF
   4830 if ac_fn_c_try_compile "$LINENO"; then :
   4831   xorg_cv_cc_flag_unknown_warning_option=yes
   4832 else
   4833   xorg_cv_cc_flag_unknown_warning_option=no
   4834 fi
   4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4836 fi
   4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4840 	CFLAGS="$xorg_testset_save_CFLAGS"
   4841 fi
   4842 
   4843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4846 	fi
   4847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4854 /* end confdefs.h.  */
   4855 int i;
   4856 _ACEOF
   4857 if ac_fn_c_try_compile "$LINENO"; then :
   4858   xorg_cv_cc_flag_unused_command_line_argument=yes
   4859 else
   4860   xorg_cv_cc_flag_unused_command_line_argument=no
   4861 fi
   4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4863 fi
   4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4867 	CFLAGS="$xorg_testset_save_CFLAGS"
   4868 fi
   4869 
   4870 found="no"
   4871 
   4872 	if test $found = "no" ; then
   4873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4875 		fi
   4876 
   4877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4879 		fi
   4880 
   4881 		CFLAGS="$CFLAGS -Wall"
   4882 
   4883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4884 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4885 		cacheid=xorg_cv_cc_flag__Wall
   4886 		if eval \${$cacheid+:} 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 int
   4893 main ()
   4894 {
   4895 
   4896   ;
   4897   return 0;
   4898 }
   4899 _ACEOF
   4900 if ac_fn_c_try_link "$LINENO"; then :
   4901   eval $cacheid=yes
   4902 else
   4903   eval $cacheid=no
   4904 fi
   4905 rm -f core conftest.err conftest.$ac_objext \
   4906     conftest$ac_exeext conftest.$ac_ext
   4907 fi
   4908 
   4909 
   4910 		CFLAGS="$xorg_testset_save_CFLAGS"
   4911 
   4912 		eval supported=\$$cacheid
   4913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4914 $as_echo "$supported" >&6; }
   4915 		if test "$supported" = "yes" ; then
   4916 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4917 			found="yes"
   4918 		fi
   4919 	fi
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 xorg_testset_save_CFLAGS="$CFLAGS"
   4936 
   4937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4942   $as_echo_n "(cached) " >&6
   4943 else
   4944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4945 /* end confdefs.h.  */
   4946 int i;
   4947 _ACEOF
   4948 if ac_fn_c_try_compile "$LINENO"; then :
   4949   xorg_cv_cc_flag_unknown_warning_option=yes
   4950 else
   4951   xorg_cv_cc_flag_unknown_warning_option=no
   4952 fi
   4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4954 fi
   4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4958 	CFLAGS="$xorg_testset_save_CFLAGS"
   4959 fi
   4960 
   4961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4964 	fi
   4965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4969   $as_echo_n "(cached) " >&6
   4970 else
   4971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4972 /* end confdefs.h.  */
   4973 int i;
   4974 _ACEOF
   4975 if ac_fn_c_try_compile "$LINENO"; then :
   4976   xorg_cv_cc_flag_unused_command_line_argument=yes
   4977 else
   4978   xorg_cv_cc_flag_unused_command_line_argument=no
   4979 fi
   4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4981 fi
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4985 	CFLAGS="$xorg_testset_save_CFLAGS"
   4986 fi
   4987 
   4988 found="no"
   4989 
   4990 	if test $found = "no" ; then
   4991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4993 		fi
   4994 
   4995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4997 		fi
   4998 
   4999 		CFLAGS="$CFLAGS -Wpointer-arith"
   5000 
   5001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5002 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5003 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5004 		if eval \${$cacheid+:} 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 int
   5011 main ()
   5012 {
   5013 
   5014   ;
   5015   return 0;
   5016 }
   5017 _ACEOF
   5018 if ac_fn_c_try_link "$LINENO"; then :
   5019   eval $cacheid=yes
   5020 else
   5021   eval $cacheid=no
   5022 fi
   5023 rm -f core conftest.err conftest.$ac_objext \
   5024     conftest$ac_exeext conftest.$ac_ext
   5025 fi
   5026 
   5027 
   5028 		CFLAGS="$xorg_testset_save_CFLAGS"
   5029 
   5030 		eval supported=\$$cacheid
   5031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5032 $as_echo "$supported" >&6; }
   5033 		if test "$supported" = "yes" ; then
   5034 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5035 			found="yes"
   5036 		fi
   5037 	fi
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 xorg_testset_save_CFLAGS="$CFLAGS"
   5054 
   5055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5058 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5059 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5060   $as_echo_n "(cached) " >&6
   5061 else
   5062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5063 /* end confdefs.h.  */
   5064 int i;
   5065 _ACEOF
   5066 if ac_fn_c_try_compile "$LINENO"; then :
   5067   xorg_cv_cc_flag_unknown_warning_option=yes
   5068 else
   5069   xorg_cv_cc_flag_unknown_warning_option=no
   5070 fi
   5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5072 fi
   5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5074 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5076 	CFLAGS="$xorg_testset_save_CFLAGS"
   5077 fi
   5078 
   5079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5082 	fi
   5083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5085 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5086 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5087   $as_echo_n "(cached) " >&6
   5088 else
   5089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5090 /* end confdefs.h.  */
   5091 int i;
   5092 _ACEOF
   5093 if ac_fn_c_try_compile "$LINENO"; then :
   5094   xorg_cv_cc_flag_unused_command_line_argument=yes
   5095 else
   5096   xorg_cv_cc_flag_unused_command_line_argument=no
   5097 fi
   5098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5099 fi
   5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5101 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5103 	CFLAGS="$xorg_testset_save_CFLAGS"
   5104 fi
   5105 
   5106 found="no"
   5107 
   5108 	if test $found = "no" ; then
   5109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5111 		fi
   5112 
   5113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5115 		fi
   5116 
   5117 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5118 
   5119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5120 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5121 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5122 		if eval \${$cacheid+:} 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 int
   5129 main ()
   5130 {
   5131 
   5132   ;
   5133   return 0;
   5134 }
   5135 _ACEOF
   5136 if ac_fn_c_try_link "$LINENO"; then :
   5137   eval $cacheid=yes
   5138 else
   5139   eval $cacheid=no
   5140 fi
   5141 rm -f core conftest.err conftest.$ac_objext \
   5142     conftest$ac_exeext conftest.$ac_ext
   5143 fi
   5144 
   5145 
   5146 		CFLAGS="$xorg_testset_save_CFLAGS"
   5147 
   5148 		eval supported=\$$cacheid
   5149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5150 $as_echo "$supported" >&6; }
   5151 		if test "$supported" = "yes" ; then
   5152 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5153 			found="yes"
   5154 		fi
   5155 	fi
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 xorg_testset_save_CFLAGS="$CFLAGS"
   5172 
   5173 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5174 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5176 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5177 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5178   $as_echo_n "(cached) " >&6
   5179 else
   5180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5181 /* end confdefs.h.  */
   5182 int i;
   5183 _ACEOF
   5184 if ac_fn_c_try_compile "$LINENO"; then :
   5185   xorg_cv_cc_flag_unknown_warning_option=yes
   5186 else
   5187   xorg_cv_cc_flag_unknown_warning_option=no
   5188 fi
   5189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5190 fi
   5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5192 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5194 	CFLAGS="$xorg_testset_save_CFLAGS"
   5195 fi
   5196 
   5197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5200 	fi
   5201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5203 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5204 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5205   $as_echo_n "(cached) " >&6
   5206 else
   5207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5208 /* end confdefs.h.  */
   5209 int i;
   5210 _ACEOF
   5211 if ac_fn_c_try_compile "$LINENO"; then :
   5212   xorg_cv_cc_flag_unused_command_line_argument=yes
   5213 else
   5214   xorg_cv_cc_flag_unused_command_line_argument=no
   5215 fi
   5216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5217 fi
   5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5219 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5221 	CFLAGS="$xorg_testset_save_CFLAGS"
   5222 fi
   5223 
   5224 found="no"
   5225 
   5226 	if test $found = "no" ; then
   5227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5229 		fi
   5230 
   5231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5233 		fi
   5234 
   5235 		CFLAGS="$CFLAGS -Wformat=2"
   5236 
   5237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5238 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5239 		cacheid=xorg_cv_cc_flag__Wformat_2
   5240 		if eval \${$cacheid+:} false; then :
   5241   $as_echo_n "(cached) " >&6
   5242 else
   5243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5244 /* end confdefs.h.  */
   5245 int i;
   5246 int
   5247 main ()
   5248 {
   5249 
   5250   ;
   5251   return 0;
   5252 }
   5253 _ACEOF
   5254 if ac_fn_c_try_link "$LINENO"; then :
   5255   eval $cacheid=yes
   5256 else
   5257   eval $cacheid=no
   5258 fi
   5259 rm -f core conftest.err conftest.$ac_objext \
   5260     conftest$ac_exeext conftest.$ac_ext
   5261 fi
   5262 
   5263 
   5264 		CFLAGS="$xorg_testset_save_CFLAGS"
   5265 
   5266 		eval supported=\$$cacheid
   5267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5268 $as_echo "$supported" >&6; }
   5269 		if test "$supported" = "yes" ; then
   5270 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5271 			found="yes"
   5272 		fi
   5273 	fi
   5274 
   5275 	if test $found = "no" ; then
   5276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5278 		fi
   5279 
   5280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5282 		fi
   5283 
   5284 		CFLAGS="$CFLAGS -Wformat"
   5285 
   5286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5287 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5288 		cacheid=xorg_cv_cc_flag__Wformat
   5289 		if eval \${$cacheid+:} false; then :
   5290   $as_echo_n "(cached) " >&6
   5291 else
   5292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5293 /* end confdefs.h.  */
   5294 int i;
   5295 int
   5296 main ()
   5297 {
   5298 
   5299   ;
   5300   return 0;
   5301 }
   5302 _ACEOF
   5303 if ac_fn_c_try_link "$LINENO"; then :
   5304   eval $cacheid=yes
   5305 else
   5306   eval $cacheid=no
   5307 fi
   5308 rm -f core conftest.err conftest.$ac_objext \
   5309     conftest$ac_exeext conftest.$ac_ext
   5310 fi
   5311 
   5312 
   5313 		CFLAGS="$xorg_testset_save_CFLAGS"
   5314 
   5315 		eval supported=\$$cacheid
   5316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5317 $as_echo "$supported" >&6; }
   5318 		if test "$supported" = "yes" ; then
   5319 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5320 			found="yes"
   5321 		fi
   5322 	fi
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 xorg_testset_save_CFLAGS="$CFLAGS"
   5341 
   5342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5345 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5346 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5347   $as_echo_n "(cached) " >&6
   5348 else
   5349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5350 /* end confdefs.h.  */
   5351 int i;
   5352 _ACEOF
   5353 if ac_fn_c_try_compile "$LINENO"; then :
   5354   xorg_cv_cc_flag_unknown_warning_option=yes
   5355 else
   5356   xorg_cv_cc_flag_unknown_warning_option=no
   5357 fi
   5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5359 fi
   5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5361 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5363 	CFLAGS="$xorg_testset_save_CFLAGS"
   5364 fi
   5365 
   5366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5369 	fi
   5370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5372 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5373 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 int i;
   5379 _ACEOF
   5380 if ac_fn_c_try_compile "$LINENO"; then :
   5381   xorg_cv_cc_flag_unused_command_line_argument=yes
   5382 else
   5383   xorg_cv_cc_flag_unused_command_line_argument=no
   5384 fi
   5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5386 fi
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5388 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5389 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5390 	CFLAGS="$xorg_testset_save_CFLAGS"
   5391 fi
   5392 
   5393 found="no"
   5394 
   5395 	if test $found = "no" ; then
   5396 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5398 		fi
   5399 
   5400 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5402 		fi
   5403 
   5404 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5405 
   5406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5407 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5408 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5409 		if eval \${$cacheid+:} 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 int
   5416 main ()
   5417 {
   5418 
   5419   ;
   5420   return 0;
   5421 }
   5422 _ACEOF
   5423 if ac_fn_c_try_link "$LINENO"; then :
   5424   eval $cacheid=yes
   5425 else
   5426   eval $cacheid=no
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext \
   5429     conftest$ac_exeext conftest.$ac_ext
   5430 fi
   5431 
   5432 
   5433 		CFLAGS="$xorg_testset_save_CFLAGS"
   5434 
   5435 		eval supported=\$$cacheid
   5436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5437 $as_echo "$supported" >&6; }
   5438 		if test "$supported" = "yes" ; then
   5439 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5440 			found="yes"
   5441 		fi
   5442 	fi
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 xorg_testset_save_CFLAGS="$CFLAGS"
   5459 
   5460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5463 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5464 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5465   $as_echo_n "(cached) " >&6
   5466 else
   5467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5468 /* end confdefs.h.  */
   5469 int i;
   5470 _ACEOF
   5471 if ac_fn_c_try_compile "$LINENO"; then :
   5472   xorg_cv_cc_flag_unknown_warning_option=yes
   5473 else
   5474   xorg_cv_cc_flag_unknown_warning_option=no
   5475 fi
   5476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5477 fi
   5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5479 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5481 	CFLAGS="$xorg_testset_save_CFLAGS"
   5482 fi
   5483 
   5484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5487 	fi
   5488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5490 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5491 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5492   $as_echo_n "(cached) " >&6
   5493 else
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 _ACEOF
   5498 if ac_fn_c_try_compile "$LINENO"; then :
   5499   xorg_cv_cc_flag_unused_command_line_argument=yes
   5500 else
   5501   xorg_cv_cc_flag_unused_command_line_argument=no
   5502 fi
   5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5504 fi
   5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5506 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5508 	CFLAGS="$xorg_testset_save_CFLAGS"
   5509 fi
   5510 
   5511 found="no"
   5512 
   5513 	if test $found = "no" ; then
   5514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5516 		fi
   5517 
   5518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5520 		fi
   5521 
   5522 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5523 
   5524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5525 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5526 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5527 		if eval \${$cacheid+:} 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 int
   5534 main ()
   5535 {
   5536 
   5537   ;
   5538   return 0;
   5539 }
   5540 _ACEOF
   5541 if ac_fn_c_try_link "$LINENO"; then :
   5542   eval $cacheid=yes
   5543 else
   5544   eval $cacheid=no
   5545 fi
   5546 rm -f core conftest.err conftest.$ac_objext \
   5547     conftest$ac_exeext conftest.$ac_ext
   5548 fi
   5549 
   5550 
   5551 		CFLAGS="$xorg_testset_save_CFLAGS"
   5552 
   5553 		eval supported=\$$cacheid
   5554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5555 $as_echo "$supported" >&6; }
   5556 		if test "$supported" = "yes" ; then
   5557 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5558 			found="yes"
   5559 		fi
   5560 	fi
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 xorg_testset_save_CFLAGS="$CFLAGS"
   5577 
   5578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5581 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5582 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5583   $as_echo_n "(cached) " >&6
   5584 else
   5585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5586 /* end confdefs.h.  */
   5587 int i;
   5588 _ACEOF
   5589 if ac_fn_c_try_compile "$LINENO"; then :
   5590   xorg_cv_cc_flag_unknown_warning_option=yes
   5591 else
   5592   xorg_cv_cc_flag_unknown_warning_option=no
   5593 fi
   5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5595 fi
   5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5597 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5599 	CFLAGS="$xorg_testset_save_CFLAGS"
   5600 fi
   5601 
   5602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5605 	fi
   5606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5608 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5609 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5613 /* end confdefs.h.  */
   5614 int i;
   5615 _ACEOF
   5616 if ac_fn_c_try_compile "$LINENO"; then :
   5617   xorg_cv_cc_flag_unused_command_line_argument=yes
   5618 else
   5619   xorg_cv_cc_flag_unused_command_line_argument=no
   5620 fi
   5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5622 fi
   5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5624 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5626 	CFLAGS="$xorg_testset_save_CFLAGS"
   5627 fi
   5628 
   5629 found="no"
   5630 
   5631 	if test $found = "no" ; then
   5632 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5634 		fi
   5635 
   5636 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5638 		fi
   5639 
   5640 		CFLAGS="$CFLAGS -Wnested-externs"
   5641 
   5642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5643 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5644 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5645 		if eval \${$cacheid+:} 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 int
   5652 main ()
   5653 {
   5654 
   5655   ;
   5656   return 0;
   5657 }
   5658 _ACEOF
   5659 if ac_fn_c_try_link "$LINENO"; then :
   5660   eval $cacheid=yes
   5661 else
   5662   eval $cacheid=no
   5663 fi
   5664 rm -f core conftest.err conftest.$ac_objext \
   5665     conftest$ac_exeext conftest.$ac_ext
   5666 fi
   5667 
   5668 
   5669 		CFLAGS="$xorg_testset_save_CFLAGS"
   5670 
   5671 		eval supported=\$$cacheid
   5672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5673 $as_echo "$supported" >&6; }
   5674 		if test "$supported" = "yes" ; then
   5675 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5676 			found="yes"
   5677 		fi
   5678 	fi
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 xorg_testset_save_CFLAGS="$CFLAGS"
   5695 
   5696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5699 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5700 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5701   $as_echo_n "(cached) " >&6
   5702 else
   5703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5704 /* end confdefs.h.  */
   5705 int i;
   5706 _ACEOF
   5707 if ac_fn_c_try_compile "$LINENO"; then :
   5708   xorg_cv_cc_flag_unknown_warning_option=yes
   5709 else
   5710   xorg_cv_cc_flag_unknown_warning_option=no
   5711 fi
   5712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5713 fi
   5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5715 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5717 	CFLAGS="$xorg_testset_save_CFLAGS"
   5718 fi
   5719 
   5720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5723 	fi
   5724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5726 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5727 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5728   $as_echo_n "(cached) " >&6
   5729 else
   5730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5731 /* end confdefs.h.  */
   5732 int i;
   5733 _ACEOF
   5734 if ac_fn_c_try_compile "$LINENO"; then :
   5735   xorg_cv_cc_flag_unused_command_line_argument=yes
   5736 else
   5737   xorg_cv_cc_flag_unused_command_line_argument=no
   5738 fi
   5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5740 fi
   5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5742 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5744 	CFLAGS="$xorg_testset_save_CFLAGS"
   5745 fi
   5746 
   5747 found="no"
   5748 
   5749 	if test $found = "no" ; then
   5750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5752 		fi
   5753 
   5754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5756 		fi
   5757 
   5758 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5759 
   5760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5761 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5762 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5763 		if eval \${$cacheid+:} 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 int
   5770 main ()
   5771 {
   5772 
   5773   ;
   5774   return 0;
   5775 }
   5776 _ACEOF
   5777 if ac_fn_c_try_link "$LINENO"; then :
   5778   eval $cacheid=yes
   5779 else
   5780   eval $cacheid=no
   5781 fi
   5782 rm -f core conftest.err conftest.$ac_objext \
   5783     conftest$ac_exeext conftest.$ac_ext
   5784 fi
   5785 
   5786 
   5787 		CFLAGS="$xorg_testset_save_CFLAGS"
   5788 
   5789 		eval supported=\$$cacheid
   5790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5791 $as_echo "$supported" >&6; }
   5792 		if test "$supported" = "yes" ; then
   5793 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5794 			found="yes"
   5795 		fi
   5796 	fi
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 xorg_testset_save_CFLAGS="$CFLAGS"
   5813 
   5814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5819   $as_echo_n "(cached) " >&6
   5820 else
   5821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5822 /* end confdefs.h.  */
   5823 int i;
   5824 _ACEOF
   5825 if ac_fn_c_try_compile "$LINENO"; then :
   5826   xorg_cv_cc_flag_unknown_warning_option=yes
   5827 else
   5828   xorg_cv_cc_flag_unknown_warning_option=no
   5829 fi
   5830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5831 fi
   5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5835 	CFLAGS="$xorg_testset_save_CFLAGS"
   5836 fi
   5837 
   5838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5841 	fi
   5842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5846   $as_echo_n "(cached) " >&6
   5847 else
   5848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5849 /* end confdefs.h.  */
   5850 int i;
   5851 _ACEOF
   5852 if ac_fn_c_try_compile "$LINENO"; then :
   5853   xorg_cv_cc_flag_unused_command_line_argument=yes
   5854 else
   5855   xorg_cv_cc_flag_unused_command_line_argument=no
   5856 fi
   5857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5858 fi
   5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5862 	CFLAGS="$xorg_testset_save_CFLAGS"
   5863 fi
   5864 
   5865 found="no"
   5866 
   5867 	if test $found = "no" ; then
   5868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5870 		fi
   5871 
   5872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5874 		fi
   5875 
   5876 		CFLAGS="$CFLAGS -Wold-style-definition"
   5877 
   5878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5879 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5880 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5881 		if eval \${$cacheid+:} false; then :
   5882   $as_echo_n "(cached) " >&6
   5883 else
   5884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5885 /* end confdefs.h.  */
   5886 int i;
   5887 int
   5888 main ()
   5889 {
   5890 
   5891   ;
   5892   return 0;
   5893 }
   5894 _ACEOF
   5895 if ac_fn_c_try_link "$LINENO"; then :
   5896   eval $cacheid=yes
   5897 else
   5898   eval $cacheid=no
   5899 fi
   5900 rm -f core conftest.err conftest.$ac_objext \
   5901     conftest$ac_exeext conftest.$ac_ext
   5902 fi
   5903 
   5904 
   5905 		CFLAGS="$xorg_testset_save_CFLAGS"
   5906 
   5907 		eval supported=\$$cacheid
   5908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5909 $as_echo "$supported" >&6; }
   5910 		if test "$supported" = "yes" ; then
   5911 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5912 			found="yes"
   5913 		fi
   5914 	fi
   5915 
   5916 	if test $found = "no" ; then
   5917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5919 		fi
   5920 
   5921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5923 		fi
   5924 
   5925 		CFLAGS="$CFLAGS -fd"
   5926 
   5927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5928 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5929 		cacheid=xorg_cv_cc_flag__fd
   5930 		if eval \${$cacheid+:} 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 int
   5937 main ()
   5938 {
   5939 
   5940   ;
   5941   return 0;
   5942 }
   5943 _ACEOF
   5944 if ac_fn_c_try_link "$LINENO"; then :
   5945   eval $cacheid=yes
   5946 else
   5947   eval $cacheid=no
   5948 fi
   5949 rm -f core conftest.err conftest.$ac_objext \
   5950     conftest$ac_exeext conftest.$ac_ext
   5951 fi
   5952 
   5953 
   5954 		CFLAGS="$xorg_testset_save_CFLAGS"
   5955 
   5956 		eval supported=\$$cacheid
   5957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5958 $as_echo "$supported" >&6; }
   5959 		if test "$supported" = "yes" ; then
   5960 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5961 			found="yes"
   5962 		fi
   5963 	fi
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 xorg_testset_save_CFLAGS="$CFLAGS"
   5980 
   5981 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5982 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5984 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5985 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5986   $as_echo_n "(cached) " >&6
   5987 else
   5988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5989 /* end confdefs.h.  */
   5990 int i;
   5991 _ACEOF
   5992 if ac_fn_c_try_compile "$LINENO"; then :
   5993   xorg_cv_cc_flag_unknown_warning_option=yes
   5994 else
   5995   xorg_cv_cc_flag_unknown_warning_option=no
   5996 fi
   5997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5998 fi
   5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6000 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6002 	CFLAGS="$xorg_testset_save_CFLAGS"
   6003 fi
   6004 
   6005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6008 	fi
   6009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6011 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6012 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6013   $as_echo_n "(cached) " >&6
   6014 else
   6015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6016 /* end confdefs.h.  */
   6017 int i;
   6018 _ACEOF
   6019 if ac_fn_c_try_compile "$LINENO"; then :
   6020   xorg_cv_cc_flag_unused_command_line_argument=yes
   6021 else
   6022   xorg_cv_cc_flag_unused_command_line_argument=no
   6023 fi
   6024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6025 fi
   6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6027 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6029 	CFLAGS="$xorg_testset_save_CFLAGS"
   6030 fi
   6031 
   6032 found="no"
   6033 
   6034 	if test $found = "no" ; then
   6035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6037 		fi
   6038 
   6039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6041 		fi
   6042 
   6043 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6044 
   6045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6046 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6047 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6048 		if eval \${$cacheid+:} false; then :
   6049   $as_echo_n "(cached) " >&6
   6050 else
   6051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6052 /* end confdefs.h.  */
   6053 int i;
   6054 int
   6055 main ()
   6056 {
   6057 
   6058   ;
   6059   return 0;
   6060 }
   6061 _ACEOF
   6062 if ac_fn_c_try_link "$LINENO"; then :
   6063   eval $cacheid=yes
   6064 else
   6065   eval $cacheid=no
   6066 fi
   6067 rm -f core conftest.err conftest.$ac_objext \
   6068     conftest$ac_exeext conftest.$ac_ext
   6069 fi
   6070 
   6071 
   6072 		CFLAGS="$xorg_testset_save_CFLAGS"
   6073 
   6074 		eval supported=\$$cacheid
   6075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6076 $as_echo "$supported" >&6; }
   6077 		if test "$supported" = "yes" ; then
   6078 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6079 			found="yes"
   6080 		fi
   6081 	fi
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 # This chunk adds additional warnings that could catch undesired effects.
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 xorg_testset_save_CFLAGS="$CFLAGS"
   6102 
   6103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6106 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6107 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6108   $as_echo_n "(cached) " >&6
   6109 else
   6110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6111 /* end confdefs.h.  */
   6112 int i;
   6113 _ACEOF
   6114 if ac_fn_c_try_compile "$LINENO"; then :
   6115   xorg_cv_cc_flag_unknown_warning_option=yes
   6116 else
   6117   xorg_cv_cc_flag_unknown_warning_option=no
   6118 fi
   6119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6120 fi
   6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6122 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6124 	CFLAGS="$xorg_testset_save_CFLAGS"
   6125 fi
   6126 
   6127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6130 	fi
   6131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6133 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6134 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6135   $as_echo_n "(cached) " >&6
   6136 else
   6137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"; then :
   6142   xorg_cv_cc_flag_unused_command_line_argument=yes
   6143 else
   6144   xorg_cv_cc_flag_unused_command_line_argument=no
   6145 fi
   6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6147 fi
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6149 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6151 	CFLAGS="$xorg_testset_save_CFLAGS"
   6152 fi
   6153 
   6154 found="no"
   6155 
   6156 	if test $found = "no" ; then
   6157 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6159 		fi
   6160 
   6161 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6163 		fi
   6164 
   6165 		CFLAGS="$CFLAGS -Wunused"
   6166 
   6167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6168 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6169 		cacheid=xorg_cv_cc_flag__Wunused
   6170 		if eval \${$cacheid+:} 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 int
   6177 main ()
   6178 {
   6179 
   6180   ;
   6181   return 0;
   6182 }
   6183 _ACEOF
   6184 if ac_fn_c_try_link "$LINENO"; then :
   6185   eval $cacheid=yes
   6186 else
   6187   eval $cacheid=no
   6188 fi
   6189 rm -f core conftest.err conftest.$ac_objext \
   6190     conftest$ac_exeext conftest.$ac_ext
   6191 fi
   6192 
   6193 
   6194 		CFLAGS="$xorg_testset_save_CFLAGS"
   6195 
   6196 		eval supported=\$$cacheid
   6197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6198 $as_echo "$supported" >&6; }
   6199 		if test "$supported" = "yes" ; then
   6200 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6201 			found="yes"
   6202 		fi
   6203 	fi
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 xorg_testset_save_CFLAGS="$CFLAGS"
   6220 
   6221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6224 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6225 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 int i;
   6231 _ACEOF
   6232 if ac_fn_c_try_compile "$LINENO"; then :
   6233   xorg_cv_cc_flag_unknown_warning_option=yes
   6234 else
   6235   xorg_cv_cc_flag_unknown_warning_option=no
   6236 fi
   6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6238 fi
   6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6240 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6242 	CFLAGS="$xorg_testset_save_CFLAGS"
   6243 fi
   6244 
   6245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6248 	fi
   6249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6251 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6252 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6253   $as_echo_n "(cached) " >&6
   6254 else
   6255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6256 /* end confdefs.h.  */
   6257 int i;
   6258 _ACEOF
   6259 if ac_fn_c_try_compile "$LINENO"; then :
   6260   xorg_cv_cc_flag_unused_command_line_argument=yes
   6261 else
   6262   xorg_cv_cc_flag_unused_command_line_argument=no
   6263 fi
   6264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6265 fi
   6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6267 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6269 	CFLAGS="$xorg_testset_save_CFLAGS"
   6270 fi
   6271 
   6272 found="no"
   6273 
   6274 	if test $found = "no" ; then
   6275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6277 		fi
   6278 
   6279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6281 		fi
   6282 
   6283 		CFLAGS="$CFLAGS -Wuninitialized"
   6284 
   6285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6286 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6287 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6288 		if eval \${$cacheid+:} 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 int
   6295 main ()
   6296 {
   6297 
   6298   ;
   6299   return 0;
   6300 }
   6301 _ACEOF
   6302 if ac_fn_c_try_link "$LINENO"; then :
   6303   eval $cacheid=yes
   6304 else
   6305   eval $cacheid=no
   6306 fi
   6307 rm -f core conftest.err conftest.$ac_objext \
   6308     conftest$ac_exeext conftest.$ac_ext
   6309 fi
   6310 
   6311 
   6312 		CFLAGS="$xorg_testset_save_CFLAGS"
   6313 
   6314 		eval supported=\$$cacheid
   6315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6316 $as_echo "$supported" >&6; }
   6317 		if test "$supported" = "yes" ; then
   6318 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6319 			found="yes"
   6320 		fi
   6321 	fi
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 xorg_testset_save_CFLAGS="$CFLAGS"
   6338 
   6339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6342 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6343 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6344   $as_echo_n "(cached) " >&6
   6345 else
   6346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6347 /* end confdefs.h.  */
   6348 int i;
   6349 _ACEOF
   6350 if ac_fn_c_try_compile "$LINENO"; then :
   6351   xorg_cv_cc_flag_unknown_warning_option=yes
   6352 else
   6353   xorg_cv_cc_flag_unknown_warning_option=no
   6354 fi
   6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6356 fi
   6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6358 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6360 	CFLAGS="$xorg_testset_save_CFLAGS"
   6361 fi
   6362 
   6363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6366 	fi
   6367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6369 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6370 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6371   $as_echo_n "(cached) " >&6
   6372 else
   6373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6374 /* end confdefs.h.  */
   6375 int i;
   6376 _ACEOF
   6377 if ac_fn_c_try_compile "$LINENO"; then :
   6378   xorg_cv_cc_flag_unused_command_line_argument=yes
   6379 else
   6380   xorg_cv_cc_flag_unused_command_line_argument=no
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6383 fi
   6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6385 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6387 	CFLAGS="$xorg_testset_save_CFLAGS"
   6388 fi
   6389 
   6390 found="no"
   6391 
   6392 	if test $found = "no" ; then
   6393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6395 		fi
   6396 
   6397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6399 		fi
   6400 
   6401 		CFLAGS="$CFLAGS -Wshadow"
   6402 
   6403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6404 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6405 		cacheid=xorg_cv_cc_flag__Wshadow
   6406 		if eval \${$cacheid+:} 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 int
   6413 main ()
   6414 {
   6415 
   6416   ;
   6417   return 0;
   6418 }
   6419 _ACEOF
   6420 if ac_fn_c_try_link "$LINENO"; then :
   6421   eval $cacheid=yes
   6422 else
   6423   eval $cacheid=no
   6424 fi
   6425 rm -f core conftest.err conftest.$ac_objext \
   6426     conftest$ac_exeext conftest.$ac_ext
   6427 fi
   6428 
   6429 
   6430 		CFLAGS="$xorg_testset_save_CFLAGS"
   6431 
   6432 		eval supported=\$$cacheid
   6433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6434 $as_echo "$supported" >&6; }
   6435 		if test "$supported" = "yes" ; then
   6436 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6437 			found="yes"
   6438 		fi
   6439 	fi
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 xorg_testset_save_CFLAGS="$CFLAGS"
   6456 
   6457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6460 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6461 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6462   $as_echo_n "(cached) " >&6
   6463 else
   6464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6465 /* end confdefs.h.  */
   6466 int i;
   6467 _ACEOF
   6468 if ac_fn_c_try_compile "$LINENO"; then :
   6469   xorg_cv_cc_flag_unknown_warning_option=yes
   6470 else
   6471   xorg_cv_cc_flag_unknown_warning_option=no
   6472 fi
   6473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6474 fi
   6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6476 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6477 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6478 	CFLAGS="$xorg_testset_save_CFLAGS"
   6479 fi
   6480 
   6481 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6482 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6483 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6484 	fi
   6485 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6487 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6488 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6492 /* end confdefs.h.  */
   6493 int i;
   6494 _ACEOF
   6495 if ac_fn_c_try_compile "$LINENO"; then :
   6496   xorg_cv_cc_flag_unused_command_line_argument=yes
   6497 else
   6498   xorg_cv_cc_flag_unused_command_line_argument=no
   6499 fi
   6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6501 fi
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6503 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6504 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6505 	CFLAGS="$xorg_testset_save_CFLAGS"
   6506 fi
   6507 
   6508 found="no"
   6509 
   6510 	if test $found = "no" ; then
   6511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6513 		fi
   6514 
   6515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6517 		fi
   6518 
   6519 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6520 
   6521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6522 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6523 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6524 		if eval \${$cacheid+:} 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 int
   6531 main ()
   6532 {
   6533 
   6534   ;
   6535   return 0;
   6536 }
   6537 _ACEOF
   6538 if ac_fn_c_try_link "$LINENO"; then :
   6539   eval $cacheid=yes
   6540 else
   6541   eval $cacheid=no
   6542 fi
   6543 rm -f core conftest.err conftest.$ac_objext \
   6544     conftest$ac_exeext conftest.$ac_ext
   6545 fi
   6546 
   6547 
   6548 		CFLAGS="$xorg_testset_save_CFLAGS"
   6549 
   6550 		eval supported=\$$cacheid
   6551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6552 $as_echo "$supported" >&6; }
   6553 		if test "$supported" = "yes" ; then
   6554 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6555 			found="yes"
   6556 		fi
   6557 	fi
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 xorg_testset_save_CFLAGS="$CFLAGS"
   6574 
   6575 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6576 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6578 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6579 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6580   $as_echo_n "(cached) " >&6
   6581 else
   6582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6583 /* end confdefs.h.  */
   6584 int i;
   6585 _ACEOF
   6586 if ac_fn_c_try_compile "$LINENO"; then :
   6587   xorg_cv_cc_flag_unknown_warning_option=yes
   6588 else
   6589   xorg_cv_cc_flag_unknown_warning_option=no
   6590 fi
   6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6592 fi
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6594 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6595 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6596 	CFLAGS="$xorg_testset_save_CFLAGS"
   6597 fi
   6598 
   6599 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6600 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6601 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6602 	fi
   6603 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6604 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6605 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6606 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6607   $as_echo_n "(cached) " >&6
   6608 else
   6609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6610 /* end confdefs.h.  */
   6611 int i;
   6612 _ACEOF
   6613 if ac_fn_c_try_compile "$LINENO"; then :
   6614   xorg_cv_cc_flag_unused_command_line_argument=yes
   6615 else
   6616   xorg_cv_cc_flag_unused_command_line_argument=no
   6617 fi
   6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6619 fi
   6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6621 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6623 	CFLAGS="$xorg_testset_save_CFLAGS"
   6624 fi
   6625 
   6626 found="no"
   6627 
   6628 	if test $found = "no" ; then
   6629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6631 		fi
   6632 
   6633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6635 		fi
   6636 
   6637 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6638 
   6639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6640 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6641 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6642 		if eval \${$cacheid+:} 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 int
   6649 main ()
   6650 {
   6651 
   6652   ;
   6653   return 0;
   6654 }
   6655 _ACEOF
   6656 if ac_fn_c_try_link "$LINENO"; then :
   6657   eval $cacheid=yes
   6658 else
   6659   eval $cacheid=no
   6660 fi
   6661 rm -f core conftest.err conftest.$ac_objext \
   6662     conftest$ac_exeext conftest.$ac_ext
   6663 fi
   6664 
   6665 
   6666 		CFLAGS="$xorg_testset_save_CFLAGS"
   6667 
   6668 		eval supported=\$$cacheid
   6669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6670 $as_echo "$supported" >&6; }
   6671 		if test "$supported" = "yes" ; then
   6672 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6673 			found="yes"
   6674 		fi
   6675 	fi
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 xorg_testset_save_CFLAGS="$CFLAGS"
   6692 
   6693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6696 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6697 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6698   $as_echo_n "(cached) " >&6
   6699 else
   6700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6701 /* end confdefs.h.  */
   6702 int i;
   6703 _ACEOF
   6704 if ac_fn_c_try_compile "$LINENO"; then :
   6705   xorg_cv_cc_flag_unknown_warning_option=yes
   6706 else
   6707   xorg_cv_cc_flag_unknown_warning_option=no
   6708 fi
   6709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6710 fi
   6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6712 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6714 	CFLAGS="$xorg_testset_save_CFLAGS"
   6715 fi
   6716 
   6717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6720 	fi
   6721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6723 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6724 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6725   $as_echo_n "(cached) " >&6
   6726 else
   6727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6728 /* end confdefs.h.  */
   6729 int i;
   6730 _ACEOF
   6731 if ac_fn_c_try_compile "$LINENO"; then :
   6732   xorg_cv_cc_flag_unused_command_line_argument=yes
   6733 else
   6734   xorg_cv_cc_flag_unused_command_line_argument=no
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6737 fi
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6739 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6741 	CFLAGS="$xorg_testset_save_CFLAGS"
   6742 fi
   6743 
   6744 found="no"
   6745 
   6746 	if test $found = "no" ; then
   6747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6749 		fi
   6750 
   6751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6753 		fi
   6754 
   6755 		CFLAGS="$CFLAGS -Wredundant-decls"
   6756 
   6757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6758 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6759 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6760 		if eval \${$cacheid+:} 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 int
   6767 main ()
   6768 {
   6769 
   6770   ;
   6771   return 0;
   6772 }
   6773 _ACEOF
   6774 if ac_fn_c_try_link "$LINENO"; then :
   6775   eval $cacheid=yes
   6776 else
   6777   eval $cacheid=no
   6778 fi
   6779 rm -f core conftest.err conftest.$ac_objext \
   6780     conftest$ac_exeext conftest.$ac_ext
   6781 fi
   6782 
   6783 
   6784 		CFLAGS="$xorg_testset_save_CFLAGS"
   6785 
   6786 		eval supported=\$$cacheid
   6787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6788 $as_echo "$supported" >&6; }
   6789 		if test "$supported" = "yes" ; then
   6790 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6791 			found="yes"
   6792 		fi
   6793 	fi
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 xorg_testset_save_CFLAGS="$CFLAGS"
   6810 
   6811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6814 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6815 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6816   $as_echo_n "(cached) " >&6
   6817 else
   6818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6819 /* end confdefs.h.  */
   6820 int i;
   6821 _ACEOF
   6822 if ac_fn_c_try_compile "$LINENO"; then :
   6823   xorg_cv_cc_flag_unknown_warning_option=yes
   6824 else
   6825   xorg_cv_cc_flag_unknown_warning_option=no
   6826 fi
   6827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6828 fi
   6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6830 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6832 	CFLAGS="$xorg_testset_save_CFLAGS"
   6833 fi
   6834 
   6835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6838 	fi
   6839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6841 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6842 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6843   $as_echo_n "(cached) " >&6
   6844 else
   6845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6846 /* end confdefs.h.  */
   6847 int i;
   6848 _ACEOF
   6849 if ac_fn_c_try_compile "$LINENO"; then :
   6850   xorg_cv_cc_flag_unused_command_line_argument=yes
   6851 else
   6852   xorg_cv_cc_flag_unused_command_line_argument=no
   6853 fi
   6854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6855 fi
   6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6857 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6858 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6859 	CFLAGS="$xorg_testset_save_CFLAGS"
   6860 fi
   6861 
   6862 found="no"
   6863 
   6864 	if test $found = "no" ; then
   6865 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6867 		fi
   6868 
   6869 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6871 		fi
   6872 
   6873 		CFLAGS="$CFLAGS -Wlogical-op"
   6874 
   6875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6876 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6877 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6878 		if eval \${$cacheid+:} false; then :
   6879   $as_echo_n "(cached) " >&6
   6880 else
   6881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6882 /* end confdefs.h.  */
   6883 int i;
   6884 int
   6885 main ()
   6886 {
   6887 
   6888   ;
   6889   return 0;
   6890 }
   6891 _ACEOF
   6892 if ac_fn_c_try_link "$LINENO"; then :
   6893   eval $cacheid=yes
   6894 else
   6895   eval $cacheid=no
   6896 fi
   6897 rm -f core conftest.err conftest.$ac_objext \
   6898     conftest$ac_exeext conftest.$ac_ext
   6899 fi
   6900 
   6901 
   6902 		CFLAGS="$xorg_testset_save_CFLAGS"
   6903 
   6904 		eval supported=\$$cacheid
   6905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6906 $as_echo "$supported" >&6; }
   6907 		if test "$supported" = "yes" ; then
   6908 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6909 			found="yes"
   6910 		fi
   6911 	fi
   6912 
   6913 
   6914 
   6915 # These are currently disabled because they are noisy.  They will be enabled
   6916 # in the future once the codebase is sufficiently modernized to silence
   6917 # them.  For now, I don't want them to drown out the other warnings.
   6918 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6919 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6920 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6921 
   6922 # Turn some warnings into errors, so we don't accidently get successful builds
   6923 # when there are problems that should be fixed.
   6924 
   6925 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 xorg_testset_save_CFLAGS="$CFLAGS"
   6940 
   6941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6946   $as_echo_n "(cached) " >&6
   6947 else
   6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 _ACEOF
   6952 if ac_fn_c_try_compile "$LINENO"; then :
   6953   xorg_cv_cc_flag_unknown_warning_option=yes
   6954 else
   6955   xorg_cv_cc_flag_unknown_warning_option=no
   6956 fi
   6957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6958 fi
   6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6962 	CFLAGS="$xorg_testset_save_CFLAGS"
   6963 fi
   6964 
   6965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 	fi
   6969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6973   $as_echo_n "(cached) " >&6
   6974 else
   6975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6976 /* end confdefs.h.  */
   6977 int i;
   6978 _ACEOF
   6979 if ac_fn_c_try_compile "$LINENO"; then :
   6980   xorg_cv_cc_flag_unused_command_line_argument=yes
   6981 else
   6982   xorg_cv_cc_flag_unused_command_line_argument=no
   6983 fi
   6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6985 fi
   6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6989 	CFLAGS="$xorg_testset_save_CFLAGS"
   6990 fi
   6991 
   6992 found="no"
   6993 
   6994 	if test $found = "no" ; then
   6995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6997 		fi
   6998 
   6999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7001 		fi
   7002 
   7003 		CFLAGS="$CFLAGS -Werror=implicit"
   7004 
   7005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7006 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7007 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7008 		if eval \${$cacheid+:} false; then :
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7012 /* end confdefs.h.  */
   7013 int i;
   7014 int
   7015 main ()
   7016 {
   7017 
   7018   ;
   7019   return 0;
   7020 }
   7021 _ACEOF
   7022 if ac_fn_c_try_link "$LINENO"; then :
   7023   eval $cacheid=yes
   7024 else
   7025   eval $cacheid=no
   7026 fi
   7027 rm -f core conftest.err conftest.$ac_objext \
   7028     conftest$ac_exeext conftest.$ac_ext
   7029 fi
   7030 
   7031 
   7032 		CFLAGS="$xorg_testset_save_CFLAGS"
   7033 
   7034 		eval supported=\$$cacheid
   7035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7036 $as_echo "$supported" >&6; }
   7037 		if test "$supported" = "yes" ; then
   7038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7039 			found="yes"
   7040 		fi
   7041 	fi
   7042 
   7043 	if test $found = "no" ; then
   7044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7046 		fi
   7047 
   7048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7050 		fi
   7051 
   7052 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7053 
   7054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7055 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7056 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7057 		if eval \${$cacheid+:} 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 int
   7064 main ()
   7065 {
   7066 
   7067   ;
   7068   return 0;
   7069 }
   7070 _ACEOF
   7071 if ac_fn_c_try_link "$LINENO"; then :
   7072   eval $cacheid=yes
   7073 else
   7074   eval $cacheid=no
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext \
   7077     conftest$ac_exeext conftest.$ac_ext
   7078 fi
   7079 
   7080 
   7081 		CFLAGS="$xorg_testset_save_CFLAGS"
   7082 
   7083 		eval supported=\$$cacheid
   7084 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7085 $as_echo "$supported" >&6; }
   7086 		if test "$supported" = "yes" ; then
   7087 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7088 			found="yes"
   7089 		fi
   7090 	fi
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 xorg_testset_save_CFLAGS="$CFLAGS"
   7107 
   7108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7111 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7112 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7113   $as_echo_n "(cached) " >&6
   7114 else
   7115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7116 /* end confdefs.h.  */
   7117 int i;
   7118 _ACEOF
   7119 if ac_fn_c_try_compile "$LINENO"; then :
   7120   xorg_cv_cc_flag_unknown_warning_option=yes
   7121 else
   7122   xorg_cv_cc_flag_unknown_warning_option=no
   7123 fi
   7124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7125 fi
   7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7127 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7128 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7129 	CFLAGS="$xorg_testset_save_CFLAGS"
   7130 fi
   7131 
   7132 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7133 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7134 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7135 	fi
   7136 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7138 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7139 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7143 /* end confdefs.h.  */
   7144 int i;
   7145 _ACEOF
   7146 if ac_fn_c_try_compile "$LINENO"; then :
   7147   xorg_cv_cc_flag_unused_command_line_argument=yes
   7148 else
   7149   xorg_cv_cc_flag_unused_command_line_argument=no
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7152 fi
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7154 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7156 	CFLAGS="$xorg_testset_save_CFLAGS"
   7157 fi
   7158 
   7159 found="no"
   7160 
   7161 	if test $found = "no" ; then
   7162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7164 		fi
   7165 
   7166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7168 		fi
   7169 
   7170 		CFLAGS="$CFLAGS -Werror=nonnull"
   7171 
   7172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7173 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7174 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7175 		if eval \${$cacheid+:} 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 int
   7182 main ()
   7183 {
   7184 
   7185   ;
   7186   return 0;
   7187 }
   7188 _ACEOF
   7189 if ac_fn_c_try_link "$LINENO"; then :
   7190   eval $cacheid=yes
   7191 else
   7192   eval $cacheid=no
   7193 fi
   7194 rm -f core conftest.err conftest.$ac_objext \
   7195     conftest$ac_exeext conftest.$ac_ext
   7196 fi
   7197 
   7198 
   7199 		CFLAGS="$xorg_testset_save_CFLAGS"
   7200 
   7201 		eval supported=\$$cacheid
   7202 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7203 $as_echo "$supported" >&6; }
   7204 		if test "$supported" = "yes" ; then
   7205 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7206 			found="yes"
   7207 		fi
   7208 	fi
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 xorg_testset_save_CFLAGS="$CFLAGS"
   7225 
   7226 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7229 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7230 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7231   $as_echo_n "(cached) " >&6
   7232 else
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 int i;
   7236 _ACEOF
   7237 if ac_fn_c_try_compile "$LINENO"; then :
   7238   xorg_cv_cc_flag_unknown_warning_option=yes
   7239 else
   7240   xorg_cv_cc_flag_unknown_warning_option=no
   7241 fi
   7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7243 fi
   7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7245 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7247 	CFLAGS="$xorg_testset_save_CFLAGS"
   7248 fi
   7249 
   7250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	fi
   7254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7256 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7257 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7261 /* end confdefs.h.  */
   7262 int i;
   7263 _ACEOF
   7264 if ac_fn_c_try_compile "$LINENO"; then :
   7265   xorg_cv_cc_flag_unused_command_line_argument=yes
   7266 else
   7267   xorg_cv_cc_flag_unused_command_line_argument=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7270 fi
   7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7272 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7274 	CFLAGS="$xorg_testset_save_CFLAGS"
   7275 fi
   7276 
   7277 found="no"
   7278 
   7279 	if test $found = "no" ; then
   7280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7282 		fi
   7283 
   7284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7286 		fi
   7287 
   7288 		CFLAGS="$CFLAGS -Werror=init-self"
   7289 
   7290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7291 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7292 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7293 		if eval \${$cacheid+:} 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 int
   7300 main ()
   7301 {
   7302 
   7303   ;
   7304   return 0;
   7305 }
   7306 _ACEOF
   7307 if ac_fn_c_try_link "$LINENO"; then :
   7308   eval $cacheid=yes
   7309 else
   7310   eval $cacheid=no
   7311 fi
   7312 rm -f core conftest.err conftest.$ac_objext \
   7313     conftest$ac_exeext conftest.$ac_ext
   7314 fi
   7315 
   7316 
   7317 		CFLAGS="$xorg_testset_save_CFLAGS"
   7318 
   7319 		eval supported=\$$cacheid
   7320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7321 $as_echo "$supported" >&6; }
   7322 		if test "$supported" = "yes" ; then
   7323 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7324 			found="yes"
   7325 		fi
   7326 	fi
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 xorg_testset_save_CFLAGS="$CFLAGS"
   7343 
   7344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7347 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7348 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7349   $as_echo_n "(cached) " >&6
   7350 else
   7351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7352 /* end confdefs.h.  */
   7353 int i;
   7354 _ACEOF
   7355 if ac_fn_c_try_compile "$LINENO"; then :
   7356   xorg_cv_cc_flag_unknown_warning_option=yes
   7357 else
   7358   xorg_cv_cc_flag_unknown_warning_option=no
   7359 fi
   7360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7361 fi
   7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7363 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7365 	CFLAGS="$xorg_testset_save_CFLAGS"
   7366 fi
   7367 
   7368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7371 	fi
   7372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7374 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7375 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7376   $as_echo_n "(cached) " >&6
   7377 else
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 int i;
   7381 _ACEOF
   7382 if ac_fn_c_try_compile "$LINENO"; then :
   7383   xorg_cv_cc_flag_unused_command_line_argument=yes
   7384 else
   7385   xorg_cv_cc_flag_unused_command_line_argument=no
   7386 fi
   7387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7388 fi
   7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7390 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7392 	CFLAGS="$xorg_testset_save_CFLAGS"
   7393 fi
   7394 
   7395 found="no"
   7396 
   7397 	if test $found = "no" ; then
   7398 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7400 		fi
   7401 
   7402 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7404 		fi
   7405 
   7406 		CFLAGS="$CFLAGS -Werror=main"
   7407 
   7408 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7409 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7410 		cacheid=xorg_cv_cc_flag__Werror_main
   7411 		if eval \${$cacheid+:} 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 int
   7418 main ()
   7419 {
   7420 
   7421   ;
   7422   return 0;
   7423 }
   7424 _ACEOF
   7425 if ac_fn_c_try_link "$LINENO"; then :
   7426   eval $cacheid=yes
   7427 else
   7428   eval $cacheid=no
   7429 fi
   7430 rm -f core conftest.err conftest.$ac_objext \
   7431     conftest$ac_exeext conftest.$ac_ext
   7432 fi
   7433 
   7434 
   7435 		CFLAGS="$xorg_testset_save_CFLAGS"
   7436 
   7437 		eval supported=\$$cacheid
   7438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7439 $as_echo "$supported" >&6; }
   7440 		if test "$supported" = "yes" ; then
   7441 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7442 			found="yes"
   7443 		fi
   7444 	fi
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 xorg_testset_save_CFLAGS="$CFLAGS"
   7461 
   7462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7467   $as_echo_n "(cached) " >&6
   7468 else
   7469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7470 /* end confdefs.h.  */
   7471 int i;
   7472 _ACEOF
   7473 if ac_fn_c_try_compile "$LINENO"; then :
   7474   xorg_cv_cc_flag_unknown_warning_option=yes
   7475 else
   7476   xorg_cv_cc_flag_unknown_warning_option=no
   7477 fi
   7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7479 fi
   7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7483 	CFLAGS="$xorg_testset_save_CFLAGS"
   7484 fi
   7485 
   7486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7489 	fi
   7490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7497 /* end confdefs.h.  */
   7498 int i;
   7499 _ACEOF
   7500 if ac_fn_c_try_compile "$LINENO"; then :
   7501   xorg_cv_cc_flag_unused_command_line_argument=yes
   7502 else
   7503   xorg_cv_cc_flag_unused_command_line_argument=no
   7504 fi
   7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7506 fi
   7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7510 	CFLAGS="$xorg_testset_save_CFLAGS"
   7511 fi
   7512 
   7513 found="no"
   7514 
   7515 	if test $found = "no" ; then
   7516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7518 		fi
   7519 
   7520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7522 		fi
   7523 
   7524 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7525 
   7526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7527 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7528 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7529 		if eval \${$cacheid+:} 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 int
   7536 main ()
   7537 {
   7538 
   7539   ;
   7540   return 0;
   7541 }
   7542 _ACEOF
   7543 if ac_fn_c_try_link "$LINENO"; then :
   7544   eval $cacheid=yes
   7545 else
   7546   eval $cacheid=no
   7547 fi
   7548 rm -f core conftest.err conftest.$ac_objext \
   7549     conftest$ac_exeext conftest.$ac_ext
   7550 fi
   7551 
   7552 
   7553 		CFLAGS="$xorg_testset_save_CFLAGS"
   7554 
   7555 		eval supported=\$$cacheid
   7556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7557 $as_echo "$supported" >&6; }
   7558 		if test "$supported" = "yes" ; then
   7559 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7560 			found="yes"
   7561 		fi
   7562 	fi
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 xorg_testset_save_CFLAGS="$CFLAGS"
   7579 
   7580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7583 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7584 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7585   $as_echo_n "(cached) " >&6
   7586 else
   7587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7588 /* end confdefs.h.  */
   7589 int i;
   7590 _ACEOF
   7591 if ac_fn_c_try_compile "$LINENO"; then :
   7592   xorg_cv_cc_flag_unknown_warning_option=yes
   7593 else
   7594   xorg_cv_cc_flag_unknown_warning_option=no
   7595 fi
   7596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7597 fi
   7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7599 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7601 	CFLAGS="$xorg_testset_save_CFLAGS"
   7602 fi
   7603 
   7604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7607 	fi
   7608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7610 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7611 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7612   $as_echo_n "(cached) " >&6
   7613 else
   7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7615 /* end confdefs.h.  */
   7616 int i;
   7617 _ACEOF
   7618 if ac_fn_c_try_compile "$LINENO"; then :
   7619   xorg_cv_cc_flag_unused_command_line_argument=yes
   7620 else
   7621   xorg_cv_cc_flag_unused_command_line_argument=no
   7622 fi
   7623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7624 fi
   7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7626 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 found="no"
   7632 
   7633 	if test $found = "no" ; then
   7634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7636 		fi
   7637 
   7638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7640 		fi
   7641 
   7642 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7643 
   7644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7645 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7646 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7647 		if eval \${$cacheid+:} 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 int
   7654 main ()
   7655 {
   7656 
   7657   ;
   7658   return 0;
   7659 }
   7660 _ACEOF
   7661 if ac_fn_c_try_link "$LINENO"; then :
   7662   eval $cacheid=yes
   7663 else
   7664   eval $cacheid=no
   7665 fi
   7666 rm -f core conftest.err conftest.$ac_objext \
   7667     conftest$ac_exeext conftest.$ac_ext
   7668 fi
   7669 
   7670 
   7671 		CFLAGS="$xorg_testset_save_CFLAGS"
   7672 
   7673 		eval supported=\$$cacheid
   7674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7675 $as_echo "$supported" >&6; }
   7676 		if test "$supported" = "yes" ; then
   7677 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7678 			found="yes"
   7679 		fi
   7680 	fi
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 xorg_testset_save_CFLAGS="$CFLAGS"
   7697 
   7698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7703   $as_echo_n "(cached) " >&6
   7704 else
   7705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7706 /* end confdefs.h.  */
   7707 int i;
   7708 _ACEOF
   7709 if ac_fn_c_try_compile "$LINENO"; then :
   7710   xorg_cv_cc_flag_unknown_warning_option=yes
   7711 else
   7712   xorg_cv_cc_flag_unknown_warning_option=no
   7713 fi
   7714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7715 fi
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7719 	CFLAGS="$xorg_testset_save_CFLAGS"
   7720 fi
   7721 
   7722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7725 	fi
   7726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7730   $as_echo_n "(cached) " >&6
   7731 else
   7732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7733 /* end confdefs.h.  */
   7734 int i;
   7735 _ACEOF
   7736 if ac_fn_c_try_compile "$LINENO"; then :
   7737   xorg_cv_cc_flag_unused_command_line_argument=yes
   7738 else
   7739   xorg_cv_cc_flag_unused_command_line_argument=no
   7740 fi
   7741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7742 fi
   7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7746 	CFLAGS="$xorg_testset_save_CFLAGS"
   7747 fi
   7748 
   7749 found="no"
   7750 
   7751 	if test $found = "no" ; then
   7752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7754 		fi
   7755 
   7756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7758 		fi
   7759 
   7760 		CFLAGS="$CFLAGS -Werror=return-type"
   7761 
   7762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7763 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7764 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7765 		if eval \${$cacheid+:} false; then :
   7766   $as_echo_n "(cached) " >&6
   7767 else
   7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7769 /* end confdefs.h.  */
   7770 int i;
   7771 int
   7772 main ()
   7773 {
   7774 
   7775   ;
   7776   return 0;
   7777 }
   7778 _ACEOF
   7779 if ac_fn_c_try_link "$LINENO"; then :
   7780   eval $cacheid=yes
   7781 else
   7782   eval $cacheid=no
   7783 fi
   7784 rm -f core conftest.err conftest.$ac_objext \
   7785     conftest$ac_exeext conftest.$ac_ext
   7786 fi
   7787 
   7788 
   7789 		CFLAGS="$xorg_testset_save_CFLAGS"
   7790 
   7791 		eval supported=\$$cacheid
   7792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7793 $as_echo "$supported" >&6; }
   7794 		if test "$supported" = "yes" ; then
   7795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7796 			found="yes"
   7797 		fi
   7798 	fi
   7799 
   7800 	if test $found = "no" ; then
   7801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7803 		fi
   7804 
   7805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7807 		fi
   7808 
   7809 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7810 
   7811 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7812 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7813 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7814 		if eval \${$cacheid+:} 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 int
   7821 main ()
   7822 {
   7823 
   7824   ;
   7825   return 0;
   7826 }
   7827 _ACEOF
   7828 if ac_fn_c_try_link "$LINENO"; then :
   7829   eval $cacheid=yes
   7830 else
   7831   eval $cacheid=no
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext \
   7834     conftest$ac_exeext conftest.$ac_ext
   7835 fi
   7836 
   7837 
   7838 		CFLAGS="$xorg_testset_save_CFLAGS"
   7839 
   7840 		eval supported=\$$cacheid
   7841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7842 $as_echo "$supported" >&6; }
   7843 		if test "$supported" = "yes" ; then
   7844 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7845 			found="yes"
   7846 		fi
   7847 	fi
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 xorg_testset_save_CFLAGS="$CFLAGS"
   7864 
   7865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7868 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7869 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 int i;
   7875 _ACEOF
   7876 if ac_fn_c_try_compile "$LINENO"; then :
   7877   xorg_cv_cc_flag_unknown_warning_option=yes
   7878 else
   7879   xorg_cv_cc_flag_unknown_warning_option=no
   7880 fi
   7881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7882 fi
   7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7884 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7886 	CFLAGS="$xorg_testset_save_CFLAGS"
   7887 fi
   7888 
   7889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7892 	fi
   7893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7895 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7896 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7897   $as_echo_n "(cached) " >&6
   7898 else
   7899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7900 /* end confdefs.h.  */
   7901 int i;
   7902 _ACEOF
   7903 if ac_fn_c_try_compile "$LINENO"; then :
   7904   xorg_cv_cc_flag_unused_command_line_argument=yes
   7905 else
   7906   xorg_cv_cc_flag_unused_command_line_argument=no
   7907 fi
   7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7909 fi
   7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7911 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7913 	CFLAGS="$xorg_testset_save_CFLAGS"
   7914 fi
   7915 
   7916 found="no"
   7917 
   7918 	if test $found = "no" ; then
   7919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7921 		fi
   7922 
   7923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7925 		fi
   7926 
   7927 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7928 
   7929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7930 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7931 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7932 		if eval \${$cacheid+:} 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 int
   7939 main ()
   7940 {
   7941 
   7942   ;
   7943   return 0;
   7944 }
   7945 _ACEOF
   7946 if ac_fn_c_try_link "$LINENO"; then :
   7947   eval $cacheid=yes
   7948 else
   7949   eval $cacheid=no
   7950 fi
   7951 rm -f core conftest.err conftest.$ac_objext \
   7952     conftest$ac_exeext conftest.$ac_ext
   7953 fi
   7954 
   7955 
   7956 		CFLAGS="$xorg_testset_save_CFLAGS"
   7957 
   7958 		eval supported=\$$cacheid
   7959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7960 $as_echo "$supported" >&6; }
   7961 		if test "$supported" = "yes" ; then
   7962 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7963 			found="yes"
   7964 		fi
   7965 	fi
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 xorg_testset_save_CFLAGS="$CFLAGS"
   7982 
   7983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7986 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7987 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7988   $as_echo_n "(cached) " >&6
   7989 else
   7990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7991 /* end confdefs.h.  */
   7992 int i;
   7993 _ACEOF
   7994 if ac_fn_c_try_compile "$LINENO"; then :
   7995   xorg_cv_cc_flag_unknown_warning_option=yes
   7996 else
   7997   xorg_cv_cc_flag_unknown_warning_option=no
   7998 fi
   7999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8000 fi
   8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8002 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8003 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8004 	CFLAGS="$xorg_testset_save_CFLAGS"
   8005 fi
   8006 
   8007 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8008 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8009 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8010 	fi
   8011 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8013 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8014 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8015   $as_echo_n "(cached) " >&6
   8016 else
   8017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8018 /* end confdefs.h.  */
   8019 int i;
   8020 _ACEOF
   8021 if ac_fn_c_try_compile "$LINENO"; then :
   8022   xorg_cv_cc_flag_unused_command_line_argument=yes
   8023 else
   8024   xorg_cv_cc_flag_unused_command_line_argument=no
   8025 fi
   8026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8027 fi
   8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8029 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8031 	CFLAGS="$xorg_testset_save_CFLAGS"
   8032 fi
   8033 
   8034 found="no"
   8035 
   8036 	if test $found = "no" ; then
   8037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8039 		fi
   8040 
   8041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8043 		fi
   8044 
   8045 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8046 
   8047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8048 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8049 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8050 		if eval \${$cacheid+:} 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 int
   8057 main ()
   8058 {
   8059 
   8060   ;
   8061   return 0;
   8062 }
   8063 _ACEOF
   8064 if ac_fn_c_try_link "$LINENO"; then :
   8065   eval $cacheid=yes
   8066 else
   8067   eval $cacheid=no
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext \
   8070     conftest$ac_exeext conftest.$ac_ext
   8071 fi
   8072 
   8073 
   8074 		CFLAGS="$xorg_testset_save_CFLAGS"
   8075 
   8076 		eval supported=\$$cacheid
   8077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8078 $as_echo "$supported" >&6; }
   8079 		if test "$supported" = "yes" ; then
   8080 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8081 			found="yes"
   8082 		fi
   8083 	fi
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 xorg_testset_save_CFLAGS="$CFLAGS"
   8100 
   8101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8106   $as_echo_n "(cached) " >&6
   8107 else
   8108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8109 /* end confdefs.h.  */
   8110 int i;
   8111 _ACEOF
   8112 if ac_fn_c_try_compile "$LINENO"; then :
   8113   xorg_cv_cc_flag_unknown_warning_option=yes
   8114 else
   8115   xorg_cv_cc_flag_unknown_warning_option=no
   8116 fi
   8117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8118 fi
   8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8122 	CFLAGS="$xorg_testset_save_CFLAGS"
   8123 fi
   8124 
   8125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8128 	fi
   8129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8133   $as_echo_n "(cached) " >&6
   8134 else
   8135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8136 /* end confdefs.h.  */
   8137 int i;
   8138 _ACEOF
   8139 if ac_fn_c_try_compile "$LINENO"; then :
   8140   xorg_cv_cc_flag_unused_command_line_argument=yes
   8141 else
   8142   xorg_cv_cc_flag_unused_command_line_argument=no
   8143 fi
   8144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8145 fi
   8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8149 	CFLAGS="$xorg_testset_save_CFLAGS"
   8150 fi
   8151 
   8152 found="no"
   8153 
   8154 	if test $found = "no" ; then
   8155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8157 		fi
   8158 
   8159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8161 		fi
   8162 
   8163 		CFLAGS="$CFLAGS -Werror=write-strings"
   8164 
   8165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8166 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8167 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8168 		if eval \${$cacheid+:} 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 int
   8175 main ()
   8176 {
   8177 
   8178   ;
   8179   return 0;
   8180 }
   8181 _ACEOF
   8182 if ac_fn_c_try_link "$LINENO"; then :
   8183   eval $cacheid=yes
   8184 else
   8185   eval $cacheid=no
   8186 fi
   8187 rm -f core conftest.err conftest.$ac_objext \
   8188     conftest$ac_exeext conftest.$ac_ext
   8189 fi
   8190 
   8191 
   8192 		CFLAGS="$xorg_testset_save_CFLAGS"
   8193 
   8194 		eval supported=\$$cacheid
   8195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8196 $as_echo "$supported" >&6; }
   8197 		if test "$supported" = "yes" ; then
   8198 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8199 			found="yes"
   8200 		fi
   8201 	fi
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 xorg_testset_save_CFLAGS="$CFLAGS"
   8218 
   8219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8222 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8223 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8224   $as_echo_n "(cached) " >&6
   8225 else
   8226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8227 /* end confdefs.h.  */
   8228 int i;
   8229 _ACEOF
   8230 if ac_fn_c_try_compile "$LINENO"; then :
   8231   xorg_cv_cc_flag_unknown_warning_option=yes
   8232 else
   8233   xorg_cv_cc_flag_unknown_warning_option=no
   8234 fi
   8235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8236 fi
   8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8238 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8240 	CFLAGS="$xorg_testset_save_CFLAGS"
   8241 fi
   8242 
   8243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8246 	fi
   8247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8249 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8250 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8251   $as_echo_n "(cached) " >&6
   8252 else
   8253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8254 /* end confdefs.h.  */
   8255 int i;
   8256 _ACEOF
   8257 if ac_fn_c_try_compile "$LINENO"; then :
   8258   xorg_cv_cc_flag_unused_command_line_argument=yes
   8259 else
   8260   xorg_cv_cc_flag_unused_command_line_argument=no
   8261 fi
   8262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8263 fi
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8265 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8267 	CFLAGS="$xorg_testset_save_CFLAGS"
   8268 fi
   8269 
   8270 found="no"
   8271 
   8272 	if test $found = "no" ; then
   8273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8275 		fi
   8276 
   8277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8279 		fi
   8280 
   8281 		CFLAGS="$CFLAGS -Werror=address"
   8282 
   8283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8284 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8285 		cacheid=xorg_cv_cc_flag__Werror_address
   8286 		if eval \${$cacheid+:} 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 int
   8293 main ()
   8294 {
   8295 
   8296   ;
   8297   return 0;
   8298 }
   8299 _ACEOF
   8300 if ac_fn_c_try_link "$LINENO"; then :
   8301   eval $cacheid=yes
   8302 else
   8303   eval $cacheid=no
   8304 fi
   8305 rm -f core conftest.err conftest.$ac_objext \
   8306     conftest$ac_exeext conftest.$ac_ext
   8307 fi
   8308 
   8309 
   8310 		CFLAGS="$xorg_testset_save_CFLAGS"
   8311 
   8312 		eval supported=\$$cacheid
   8313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8314 $as_echo "$supported" >&6; }
   8315 		if test "$supported" = "yes" ; then
   8316 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8317 			found="yes"
   8318 		fi
   8319 	fi
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 xorg_testset_save_CFLAGS="$CFLAGS"
   8336 
   8337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8342   $as_echo_n "(cached) " >&6
   8343 else
   8344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8345 /* end confdefs.h.  */
   8346 int i;
   8347 _ACEOF
   8348 if ac_fn_c_try_compile "$LINENO"; then :
   8349   xorg_cv_cc_flag_unknown_warning_option=yes
   8350 else
   8351   xorg_cv_cc_flag_unknown_warning_option=no
   8352 fi
   8353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8354 fi
   8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8358 	CFLAGS="$xorg_testset_save_CFLAGS"
   8359 fi
   8360 
   8361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8364 	fi
   8365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8369   $as_echo_n "(cached) " >&6
   8370 else
   8371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8372 /* end confdefs.h.  */
   8373 int i;
   8374 _ACEOF
   8375 if ac_fn_c_try_compile "$LINENO"; then :
   8376   xorg_cv_cc_flag_unused_command_line_argument=yes
   8377 else
   8378   xorg_cv_cc_flag_unused_command_line_argument=no
   8379 fi
   8380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8381 fi
   8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8385 	CFLAGS="$xorg_testset_save_CFLAGS"
   8386 fi
   8387 
   8388 found="no"
   8389 
   8390 	if test $found = "no" ; then
   8391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8393 		fi
   8394 
   8395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8397 		fi
   8398 
   8399 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8400 
   8401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8402 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8403 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8404 		if eval \${$cacheid+:} false; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8408 /* end confdefs.h.  */
   8409 int i;
   8410 int
   8411 main ()
   8412 {
   8413 
   8414   ;
   8415   return 0;
   8416 }
   8417 _ACEOF
   8418 if ac_fn_c_try_link "$LINENO"; then :
   8419   eval $cacheid=yes
   8420 else
   8421   eval $cacheid=no
   8422 fi
   8423 rm -f core conftest.err conftest.$ac_objext \
   8424     conftest$ac_exeext conftest.$ac_ext
   8425 fi
   8426 
   8427 
   8428 		CFLAGS="$xorg_testset_save_CFLAGS"
   8429 
   8430 		eval supported=\$$cacheid
   8431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8432 $as_echo "$supported" >&6; }
   8433 		if test "$supported" = "yes" ; then
   8434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8435 			found="yes"
   8436 		fi
   8437 	fi
   8438 
   8439 	if test $found = "no" ; then
   8440 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8442 		fi
   8443 
   8444 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8446 		fi
   8447 
   8448 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8449 
   8450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8451 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8452 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8453 		if eval \${$cacheid+:} 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 int
   8460 main ()
   8461 {
   8462 
   8463   ;
   8464   return 0;
   8465 }
   8466 _ACEOF
   8467 if ac_fn_c_try_link "$LINENO"; then :
   8468   eval $cacheid=yes
   8469 else
   8470   eval $cacheid=no
   8471 fi
   8472 rm -f core conftest.err conftest.$ac_objext \
   8473     conftest$ac_exeext conftest.$ac_ext
   8474 fi
   8475 
   8476 
   8477 		CFLAGS="$xorg_testset_save_CFLAGS"
   8478 
   8479 		eval supported=\$$cacheid
   8480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8481 $as_echo "$supported" >&6; }
   8482 		if test "$supported" = "yes" ; then
   8483 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8484 			found="yes"
   8485 		fi
   8486 	fi
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 xorg_testset_save_CFLAGS="$CFLAGS"
   8503 
   8504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8507 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8508 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8509   $as_echo_n "(cached) " >&6
   8510 else
   8511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 _ACEOF
   8515 if ac_fn_c_try_compile "$LINENO"; then :
   8516   xorg_cv_cc_flag_unknown_warning_option=yes
   8517 else
   8518   xorg_cv_cc_flag_unknown_warning_option=no
   8519 fi
   8520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8521 fi
   8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8523 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8524 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8525 	CFLAGS="$xorg_testset_save_CFLAGS"
   8526 fi
   8527 
   8528 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8529 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8530 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8531 	fi
   8532 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8534 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8535 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8536   $as_echo_n "(cached) " >&6
   8537 else
   8538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8539 /* end confdefs.h.  */
   8540 int i;
   8541 _ACEOF
   8542 if ac_fn_c_try_compile "$LINENO"; then :
   8543   xorg_cv_cc_flag_unused_command_line_argument=yes
   8544 else
   8545   xorg_cv_cc_flag_unused_command_line_argument=no
   8546 fi
   8547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8548 fi
   8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8550 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8552 	CFLAGS="$xorg_testset_save_CFLAGS"
   8553 fi
   8554 
   8555 found="no"
   8556 
   8557 	if test $found = "no" ; then
   8558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8560 		fi
   8561 
   8562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8564 		fi
   8565 
   8566 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8567 
   8568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8569 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8570 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8571 		if eval \${$cacheid+:} false; then :
   8572   $as_echo_n "(cached) " >&6
   8573 else
   8574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8575 /* end confdefs.h.  */
   8576 int i;
   8577 int
   8578 main ()
   8579 {
   8580 
   8581   ;
   8582   return 0;
   8583 }
   8584 _ACEOF
   8585 if ac_fn_c_try_link "$LINENO"; then :
   8586   eval $cacheid=yes
   8587 else
   8588   eval $cacheid=no
   8589 fi
   8590 rm -f core conftest.err conftest.$ac_objext \
   8591     conftest$ac_exeext conftest.$ac_ext
   8592 fi
   8593 
   8594 
   8595 		CFLAGS="$xorg_testset_save_CFLAGS"
   8596 
   8597 		eval supported=\$$cacheid
   8598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8599 $as_echo "$supported" >&6; }
   8600 		if test "$supported" = "yes" ; then
   8601 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8602 			found="yes"
   8603 		fi
   8604 	fi
   8605 
   8606  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8607 else
   8608 { $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
   8609 $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;}
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 xorg_testset_save_CFLAGS="$CFLAGS"
   8624 
   8625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8630   $as_echo_n "(cached) " >&6
   8631 else
   8632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8633 /* end confdefs.h.  */
   8634 int i;
   8635 _ACEOF
   8636 if ac_fn_c_try_compile "$LINENO"; then :
   8637   xorg_cv_cc_flag_unknown_warning_option=yes
   8638 else
   8639   xorg_cv_cc_flag_unknown_warning_option=no
   8640 fi
   8641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8642 fi
   8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8646 	CFLAGS="$xorg_testset_save_CFLAGS"
   8647 fi
   8648 
   8649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8652 	fi
   8653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8657   $as_echo_n "(cached) " >&6
   8658 else
   8659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8660 /* end confdefs.h.  */
   8661 int i;
   8662 _ACEOF
   8663 if ac_fn_c_try_compile "$LINENO"; then :
   8664   xorg_cv_cc_flag_unused_command_line_argument=yes
   8665 else
   8666   xorg_cv_cc_flag_unused_command_line_argument=no
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8669 fi
   8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8673 	CFLAGS="$xorg_testset_save_CFLAGS"
   8674 fi
   8675 
   8676 found="no"
   8677 
   8678 	if test $found = "no" ; then
   8679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8681 		fi
   8682 
   8683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8685 		fi
   8686 
   8687 		CFLAGS="$CFLAGS -Wimplicit"
   8688 
   8689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8690 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8691 		cacheid=xorg_cv_cc_flag__Wimplicit
   8692 		if eval \${$cacheid+:} 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 int
   8699 main ()
   8700 {
   8701 
   8702   ;
   8703   return 0;
   8704 }
   8705 _ACEOF
   8706 if ac_fn_c_try_link "$LINENO"; then :
   8707   eval $cacheid=yes
   8708 else
   8709   eval $cacheid=no
   8710 fi
   8711 rm -f core conftest.err conftest.$ac_objext \
   8712     conftest$ac_exeext conftest.$ac_ext
   8713 fi
   8714 
   8715 
   8716 		CFLAGS="$xorg_testset_save_CFLAGS"
   8717 
   8718 		eval supported=\$$cacheid
   8719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8720 $as_echo "$supported" >&6; }
   8721 		if test "$supported" = "yes" ; then
   8722 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8723 			found="yes"
   8724 		fi
   8725 	fi
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 xorg_testset_save_CFLAGS="$CFLAGS"
   8742 
   8743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8748   $as_echo_n "(cached) " >&6
   8749 else
   8750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8751 /* end confdefs.h.  */
   8752 int i;
   8753 _ACEOF
   8754 if ac_fn_c_try_compile "$LINENO"; then :
   8755   xorg_cv_cc_flag_unknown_warning_option=yes
   8756 else
   8757   xorg_cv_cc_flag_unknown_warning_option=no
   8758 fi
   8759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8760 fi
   8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8764 	CFLAGS="$xorg_testset_save_CFLAGS"
   8765 fi
   8766 
   8767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8770 	fi
   8771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8778 /* end confdefs.h.  */
   8779 int i;
   8780 _ACEOF
   8781 if ac_fn_c_try_compile "$LINENO"; then :
   8782   xorg_cv_cc_flag_unused_command_line_argument=yes
   8783 else
   8784   xorg_cv_cc_flag_unused_command_line_argument=no
   8785 fi
   8786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8787 fi
   8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8791 	CFLAGS="$xorg_testset_save_CFLAGS"
   8792 fi
   8793 
   8794 found="no"
   8795 
   8796 	if test $found = "no" ; then
   8797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8799 		fi
   8800 
   8801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8803 		fi
   8804 
   8805 		CFLAGS="$CFLAGS -Wnonnull"
   8806 
   8807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8808 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8809 		cacheid=xorg_cv_cc_flag__Wnonnull
   8810 		if eval \${$cacheid+:} 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 int
   8817 main ()
   8818 {
   8819 
   8820   ;
   8821   return 0;
   8822 }
   8823 _ACEOF
   8824 if ac_fn_c_try_link "$LINENO"; then :
   8825   eval $cacheid=yes
   8826 else
   8827   eval $cacheid=no
   8828 fi
   8829 rm -f core conftest.err conftest.$ac_objext \
   8830     conftest$ac_exeext conftest.$ac_ext
   8831 fi
   8832 
   8833 
   8834 		CFLAGS="$xorg_testset_save_CFLAGS"
   8835 
   8836 		eval supported=\$$cacheid
   8837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8838 $as_echo "$supported" >&6; }
   8839 		if test "$supported" = "yes" ; then
   8840 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8841 			found="yes"
   8842 		fi
   8843 	fi
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 xorg_testset_save_CFLAGS="$CFLAGS"
   8860 
   8861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8866   $as_echo_n "(cached) " >&6
   8867 else
   8868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8869 /* end confdefs.h.  */
   8870 int i;
   8871 _ACEOF
   8872 if ac_fn_c_try_compile "$LINENO"; then :
   8873   xorg_cv_cc_flag_unknown_warning_option=yes
   8874 else
   8875   xorg_cv_cc_flag_unknown_warning_option=no
   8876 fi
   8877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8878 fi
   8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8882 	CFLAGS="$xorg_testset_save_CFLAGS"
   8883 fi
   8884 
   8885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8888 	fi
   8889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8893   $as_echo_n "(cached) " >&6
   8894 else
   8895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8896 /* end confdefs.h.  */
   8897 int i;
   8898 _ACEOF
   8899 if ac_fn_c_try_compile "$LINENO"; then :
   8900   xorg_cv_cc_flag_unused_command_line_argument=yes
   8901 else
   8902   xorg_cv_cc_flag_unused_command_line_argument=no
   8903 fi
   8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8905 fi
   8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8909 	CFLAGS="$xorg_testset_save_CFLAGS"
   8910 fi
   8911 
   8912 found="no"
   8913 
   8914 	if test $found = "no" ; then
   8915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8917 		fi
   8918 
   8919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8921 		fi
   8922 
   8923 		CFLAGS="$CFLAGS -Winit-self"
   8924 
   8925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8926 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8927 		cacheid=xorg_cv_cc_flag__Winit_self
   8928 		if eval \${$cacheid+:} 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 int
   8935 main ()
   8936 {
   8937 
   8938   ;
   8939   return 0;
   8940 }
   8941 _ACEOF
   8942 if ac_fn_c_try_link "$LINENO"; then :
   8943   eval $cacheid=yes
   8944 else
   8945   eval $cacheid=no
   8946 fi
   8947 rm -f core conftest.err conftest.$ac_objext \
   8948     conftest$ac_exeext conftest.$ac_ext
   8949 fi
   8950 
   8951 
   8952 		CFLAGS="$xorg_testset_save_CFLAGS"
   8953 
   8954 		eval supported=\$$cacheid
   8955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8956 $as_echo "$supported" >&6; }
   8957 		if test "$supported" = "yes" ; then
   8958 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8959 			found="yes"
   8960 		fi
   8961 	fi
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 xorg_testset_save_CFLAGS="$CFLAGS"
   8978 
   8979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8984   $as_echo_n "(cached) " >&6
   8985 else
   8986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8987 /* end confdefs.h.  */
   8988 int i;
   8989 _ACEOF
   8990 if ac_fn_c_try_compile "$LINENO"; then :
   8991   xorg_cv_cc_flag_unknown_warning_option=yes
   8992 else
   8993   xorg_cv_cc_flag_unknown_warning_option=no
   8994 fi
   8995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8996 fi
   8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9000 	CFLAGS="$xorg_testset_save_CFLAGS"
   9001 fi
   9002 
   9003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9006 	fi
   9007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9011   $as_echo_n "(cached) " >&6
   9012 else
   9013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"; then :
   9018   xorg_cv_cc_flag_unused_command_line_argument=yes
   9019 else
   9020   xorg_cv_cc_flag_unused_command_line_argument=no
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9023 fi
   9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9027 	CFLAGS="$xorg_testset_save_CFLAGS"
   9028 fi
   9029 
   9030 found="no"
   9031 
   9032 	if test $found = "no" ; then
   9033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9035 		fi
   9036 
   9037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9039 		fi
   9040 
   9041 		CFLAGS="$CFLAGS -Wmain"
   9042 
   9043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9044 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9045 		cacheid=xorg_cv_cc_flag__Wmain
   9046 		if eval \${$cacheid+:} 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 int
   9053 main ()
   9054 {
   9055 
   9056   ;
   9057   return 0;
   9058 }
   9059 _ACEOF
   9060 if ac_fn_c_try_link "$LINENO"; then :
   9061   eval $cacheid=yes
   9062 else
   9063   eval $cacheid=no
   9064 fi
   9065 rm -f core conftest.err conftest.$ac_objext \
   9066     conftest$ac_exeext conftest.$ac_ext
   9067 fi
   9068 
   9069 
   9070 		CFLAGS="$xorg_testset_save_CFLAGS"
   9071 
   9072 		eval supported=\$$cacheid
   9073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9074 $as_echo "$supported" >&6; }
   9075 		if test "$supported" = "yes" ; then
   9076 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9077 			found="yes"
   9078 		fi
   9079 	fi
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 xorg_testset_save_CFLAGS="$CFLAGS"
   9096 
   9097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9102   $as_echo_n "(cached) " >&6
   9103 else
   9104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9105 /* end confdefs.h.  */
   9106 int i;
   9107 _ACEOF
   9108 if ac_fn_c_try_compile "$LINENO"; then :
   9109   xorg_cv_cc_flag_unknown_warning_option=yes
   9110 else
   9111   xorg_cv_cc_flag_unknown_warning_option=no
   9112 fi
   9113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9114 fi
   9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9118 	CFLAGS="$xorg_testset_save_CFLAGS"
   9119 fi
   9120 
   9121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9124 	fi
   9125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9129   $as_echo_n "(cached) " >&6
   9130 else
   9131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9132 /* end confdefs.h.  */
   9133 int i;
   9134 _ACEOF
   9135 if ac_fn_c_try_compile "$LINENO"; then :
   9136   xorg_cv_cc_flag_unused_command_line_argument=yes
   9137 else
   9138   xorg_cv_cc_flag_unused_command_line_argument=no
   9139 fi
   9140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9141 fi
   9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9145 	CFLAGS="$xorg_testset_save_CFLAGS"
   9146 fi
   9147 
   9148 found="no"
   9149 
   9150 	if test $found = "no" ; then
   9151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9153 		fi
   9154 
   9155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9157 		fi
   9158 
   9159 		CFLAGS="$CFLAGS -Wmissing-braces"
   9160 
   9161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9162 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9163 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9164 		if eval \${$cacheid+:} 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 int
   9171 main ()
   9172 {
   9173 
   9174   ;
   9175   return 0;
   9176 }
   9177 _ACEOF
   9178 if ac_fn_c_try_link "$LINENO"; then :
   9179   eval $cacheid=yes
   9180 else
   9181   eval $cacheid=no
   9182 fi
   9183 rm -f core conftest.err conftest.$ac_objext \
   9184     conftest$ac_exeext conftest.$ac_ext
   9185 fi
   9186 
   9187 
   9188 		CFLAGS="$xorg_testset_save_CFLAGS"
   9189 
   9190 		eval supported=\$$cacheid
   9191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9192 $as_echo "$supported" >&6; }
   9193 		if test "$supported" = "yes" ; then
   9194 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9195 			found="yes"
   9196 		fi
   9197 	fi
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 xorg_testset_save_CFLAGS="$CFLAGS"
   9214 
   9215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9218 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9219 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9220   $as_echo_n "(cached) " >&6
   9221 else
   9222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9223 /* end confdefs.h.  */
   9224 int i;
   9225 _ACEOF
   9226 if ac_fn_c_try_compile "$LINENO"; then :
   9227   xorg_cv_cc_flag_unknown_warning_option=yes
   9228 else
   9229   xorg_cv_cc_flag_unknown_warning_option=no
   9230 fi
   9231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9232 fi
   9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9234 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9236 	CFLAGS="$xorg_testset_save_CFLAGS"
   9237 fi
   9238 
   9239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9242 	fi
   9243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9245 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9246 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9247   $as_echo_n "(cached) " >&6
   9248 else
   9249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9250 /* end confdefs.h.  */
   9251 int i;
   9252 _ACEOF
   9253 if ac_fn_c_try_compile "$LINENO"; then :
   9254   xorg_cv_cc_flag_unused_command_line_argument=yes
   9255 else
   9256   xorg_cv_cc_flag_unused_command_line_argument=no
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9259 fi
   9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9261 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9263 	CFLAGS="$xorg_testset_save_CFLAGS"
   9264 fi
   9265 
   9266 found="no"
   9267 
   9268 	if test $found = "no" ; then
   9269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9271 		fi
   9272 
   9273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9275 		fi
   9276 
   9277 		CFLAGS="$CFLAGS -Wsequence-point"
   9278 
   9279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9280 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9281 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9282 		if eval \${$cacheid+:} 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 int
   9289 main ()
   9290 {
   9291 
   9292   ;
   9293   return 0;
   9294 }
   9295 _ACEOF
   9296 if ac_fn_c_try_link "$LINENO"; then :
   9297   eval $cacheid=yes
   9298 else
   9299   eval $cacheid=no
   9300 fi
   9301 rm -f core conftest.err conftest.$ac_objext \
   9302     conftest$ac_exeext conftest.$ac_ext
   9303 fi
   9304 
   9305 
   9306 		CFLAGS="$xorg_testset_save_CFLAGS"
   9307 
   9308 		eval supported=\$$cacheid
   9309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9310 $as_echo "$supported" >&6; }
   9311 		if test "$supported" = "yes" ; then
   9312 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9313 			found="yes"
   9314 		fi
   9315 	fi
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 xorg_testset_save_CFLAGS="$CFLAGS"
   9332 
   9333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9336 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9337 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9338   $as_echo_n "(cached) " >&6
   9339 else
   9340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9341 /* end confdefs.h.  */
   9342 int i;
   9343 _ACEOF
   9344 if ac_fn_c_try_compile "$LINENO"; then :
   9345   xorg_cv_cc_flag_unknown_warning_option=yes
   9346 else
   9347   xorg_cv_cc_flag_unknown_warning_option=no
   9348 fi
   9349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9350 fi
   9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9352 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9354 	CFLAGS="$xorg_testset_save_CFLAGS"
   9355 fi
   9356 
   9357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9360 	fi
   9361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9363 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9364 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9365   $as_echo_n "(cached) " >&6
   9366 else
   9367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9368 /* end confdefs.h.  */
   9369 int i;
   9370 _ACEOF
   9371 if ac_fn_c_try_compile "$LINENO"; then :
   9372   xorg_cv_cc_flag_unused_command_line_argument=yes
   9373 else
   9374   xorg_cv_cc_flag_unused_command_line_argument=no
   9375 fi
   9376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9377 fi
   9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9379 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9381 	CFLAGS="$xorg_testset_save_CFLAGS"
   9382 fi
   9383 
   9384 found="no"
   9385 
   9386 	if test $found = "no" ; then
   9387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9389 		fi
   9390 
   9391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9393 		fi
   9394 
   9395 		CFLAGS="$CFLAGS -Wreturn-type"
   9396 
   9397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9398 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9399 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9400 		if eval \${$cacheid+:} 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 int
   9407 main ()
   9408 {
   9409 
   9410   ;
   9411   return 0;
   9412 }
   9413 _ACEOF
   9414 if ac_fn_c_try_link "$LINENO"; then :
   9415   eval $cacheid=yes
   9416 else
   9417   eval $cacheid=no
   9418 fi
   9419 rm -f core conftest.err conftest.$ac_objext \
   9420     conftest$ac_exeext conftest.$ac_ext
   9421 fi
   9422 
   9423 
   9424 		CFLAGS="$xorg_testset_save_CFLAGS"
   9425 
   9426 		eval supported=\$$cacheid
   9427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9428 $as_echo "$supported" >&6; }
   9429 		if test "$supported" = "yes" ; then
   9430 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9431 			found="yes"
   9432 		fi
   9433 	fi
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 xorg_testset_save_CFLAGS="$CFLAGS"
   9450 
   9451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9454 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9455 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9456   $as_echo_n "(cached) " >&6
   9457 else
   9458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9459 /* end confdefs.h.  */
   9460 int i;
   9461 _ACEOF
   9462 if ac_fn_c_try_compile "$LINENO"; then :
   9463   xorg_cv_cc_flag_unknown_warning_option=yes
   9464 else
   9465   xorg_cv_cc_flag_unknown_warning_option=no
   9466 fi
   9467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9468 fi
   9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9470 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9472 	CFLAGS="$xorg_testset_save_CFLAGS"
   9473 fi
   9474 
   9475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9478 	fi
   9479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9481 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9482 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9483   $as_echo_n "(cached) " >&6
   9484 else
   9485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9486 /* end confdefs.h.  */
   9487 int i;
   9488 _ACEOF
   9489 if ac_fn_c_try_compile "$LINENO"; then :
   9490   xorg_cv_cc_flag_unused_command_line_argument=yes
   9491 else
   9492   xorg_cv_cc_flag_unused_command_line_argument=no
   9493 fi
   9494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9495 fi
   9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9497 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9499 	CFLAGS="$xorg_testset_save_CFLAGS"
   9500 fi
   9501 
   9502 found="no"
   9503 
   9504 	if test $found = "no" ; then
   9505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9507 		fi
   9508 
   9509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9511 		fi
   9512 
   9513 		CFLAGS="$CFLAGS -Wtrigraphs"
   9514 
   9515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9516 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9517 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9518 		if eval \${$cacheid+:} 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 int
   9525 main ()
   9526 {
   9527 
   9528   ;
   9529   return 0;
   9530 }
   9531 _ACEOF
   9532 if ac_fn_c_try_link "$LINENO"; then :
   9533   eval $cacheid=yes
   9534 else
   9535   eval $cacheid=no
   9536 fi
   9537 rm -f core conftest.err conftest.$ac_objext \
   9538     conftest$ac_exeext conftest.$ac_ext
   9539 fi
   9540 
   9541 
   9542 		CFLAGS="$xorg_testset_save_CFLAGS"
   9543 
   9544 		eval supported=\$$cacheid
   9545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9546 $as_echo "$supported" >&6; }
   9547 		if test "$supported" = "yes" ; then
   9548 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9549 			found="yes"
   9550 		fi
   9551 	fi
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 xorg_testset_save_CFLAGS="$CFLAGS"
   9568 
   9569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9572 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9573 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9574   $as_echo_n "(cached) " >&6
   9575 else
   9576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 _ACEOF
   9580 if ac_fn_c_try_compile "$LINENO"; then :
   9581   xorg_cv_cc_flag_unknown_warning_option=yes
   9582 else
   9583   xorg_cv_cc_flag_unknown_warning_option=no
   9584 fi
   9585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9586 fi
   9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9588 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9589 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9590 	CFLAGS="$xorg_testset_save_CFLAGS"
   9591 fi
   9592 
   9593 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9594 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9596 	fi
   9597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9599 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9600 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9601   $as_echo_n "(cached) " >&6
   9602 else
   9603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 _ACEOF
   9607 if ac_fn_c_try_compile "$LINENO"; then :
   9608   xorg_cv_cc_flag_unused_command_line_argument=yes
   9609 else
   9610   xorg_cv_cc_flag_unused_command_line_argument=no
   9611 fi
   9612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9613 fi
   9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9615 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9617 	CFLAGS="$xorg_testset_save_CFLAGS"
   9618 fi
   9619 
   9620 found="no"
   9621 
   9622 	if test $found = "no" ; then
   9623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9625 		fi
   9626 
   9627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9629 		fi
   9630 
   9631 		CFLAGS="$CFLAGS -Warray-bounds"
   9632 
   9633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9634 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9635 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9636 		if eval \${$cacheid+:} 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 int
   9643 main ()
   9644 {
   9645 
   9646   ;
   9647   return 0;
   9648 }
   9649 _ACEOF
   9650 if ac_fn_c_try_link "$LINENO"; then :
   9651   eval $cacheid=yes
   9652 else
   9653   eval $cacheid=no
   9654 fi
   9655 rm -f core conftest.err conftest.$ac_objext \
   9656     conftest$ac_exeext conftest.$ac_ext
   9657 fi
   9658 
   9659 
   9660 		CFLAGS="$xorg_testset_save_CFLAGS"
   9661 
   9662 		eval supported=\$$cacheid
   9663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9664 $as_echo "$supported" >&6; }
   9665 		if test "$supported" = "yes" ; then
   9666 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9667 			found="yes"
   9668 		fi
   9669 	fi
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 xorg_testset_save_CFLAGS="$CFLAGS"
   9686 
   9687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9690 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9691 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9692   $as_echo_n "(cached) " >&6
   9693 else
   9694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9695 /* end confdefs.h.  */
   9696 int i;
   9697 _ACEOF
   9698 if ac_fn_c_try_compile "$LINENO"; then :
   9699   xorg_cv_cc_flag_unknown_warning_option=yes
   9700 else
   9701   xorg_cv_cc_flag_unknown_warning_option=no
   9702 fi
   9703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9704 fi
   9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9706 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9707 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9708 	CFLAGS="$xorg_testset_save_CFLAGS"
   9709 fi
   9710 
   9711 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9712 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9713 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9714 	fi
   9715 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9717 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9718 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9719   $as_echo_n "(cached) " >&6
   9720 else
   9721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9722 /* end confdefs.h.  */
   9723 int i;
   9724 _ACEOF
   9725 if ac_fn_c_try_compile "$LINENO"; then :
   9726   xorg_cv_cc_flag_unused_command_line_argument=yes
   9727 else
   9728   xorg_cv_cc_flag_unused_command_line_argument=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9731 fi
   9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9733 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9735 	CFLAGS="$xorg_testset_save_CFLAGS"
   9736 fi
   9737 
   9738 found="no"
   9739 
   9740 	if test $found = "no" ; then
   9741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9743 		fi
   9744 
   9745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9747 		fi
   9748 
   9749 		CFLAGS="$CFLAGS -Wwrite-strings"
   9750 
   9751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9752 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9753 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9754 		if eval \${$cacheid+:} 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 int
   9761 main ()
   9762 {
   9763 
   9764   ;
   9765   return 0;
   9766 }
   9767 _ACEOF
   9768 if ac_fn_c_try_link "$LINENO"; then :
   9769   eval $cacheid=yes
   9770 else
   9771   eval $cacheid=no
   9772 fi
   9773 rm -f core conftest.err conftest.$ac_objext \
   9774     conftest$ac_exeext conftest.$ac_ext
   9775 fi
   9776 
   9777 
   9778 		CFLAGS="$xorg_testset_save_CFLAGS"
   9779 
   9780 		eval supported=\$$cacheid
   9781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9782 $as_echo "$supported" >&6; }
   9783 		if test "$supported" = "yes" ; then
   9784 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9785 			found="yes"
   9786 		fi
   9787 	fi
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 xorg_testset_save_CFLAGS="$CFLAGS"
   9804 
   9805 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9808 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9809 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9810   $as_echo_n "(cached) " >&6
   9811 else
   9812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9813 /* end confdefs.h.  */
   9814 int i;
   9815 _ACEOF
   9816 if ac_fn_c_try_compile "$LINENO"; then :
   9817   xorg_cv_cc_flag_unknown_warning_option=yes
   9818 else
   9819   xorg_cv_cc_flag_unknown_warning_option=no
   9820 fi
   9821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9822 fi
   9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9824 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9826 	CFLAGS="$xorg_testset_save_CFLAGS"
   9827 fi
   9828 
   9829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9832 	fi
   9833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9835 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9836 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9837   $as_echo_n "(cached) " >&6
   9838 else
   9839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9840 /* end confdefs.h.  */
   9841 int i;
   9842 _ACEOF
   9843 if ac_fn_c_try_compile "$LINENO"; then :
   9844   xorg_cv_cc_flag_unused_command_line_argument=yes
   9845 else
   9846   xorg_cv_cc_flag_unused_command_line_argument=no
   9847 fi
   9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9849 fi
   9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9851 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9853 	CFLAGS="$xorg_testset_save_CFLAGS"
   9854 fi
   9855 
   9856 found="no"
   9857 
   9858 	if test $found = "no" ; then
   9859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9861 		fi
   9862 
   9863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9865 		fi
   9866 
   9867 		CFLAGS="$CFLAGS -Waddress"
   9868 
   9869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9870 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9871 		cacheid=xorg_cv_cc_flag__Waddress
   9872 		if eval \${$cacheid+:} 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 int
   9879 main ()
   9880 {
   9881 
   9882   ;
   9883   return 0;
   9884 }
   9885 _ACEOF
   9886 if ac_fn_c_try_link "$LINENO"; then :
   9887   eval $cacheid=yes
   9888 else
   9889   eval $cacheid=no
   9890 fi
   9891 rm -f core conftest.err conftest.$ac_objext \
   9892     conftest$ac_exeext conftest.$ac_ext
   9893 fi
   9894 
   9895 
   9896 		CFLAGS="$xorg_testset_save_CFLAGS"
   9897 
   9898 		eval supported=\$$cacheid
   9899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9900 $as_echo "$supported" >&6; }
   9901 		if test "$supported" = "yes" ; then
   9902 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9903 			found="yes"
   9904 		fi
   9905 	fi
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 xorg_testset_save_CFLAGS="$CFLAGS"
   9922 
   9923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9928   $as_echo_n "(cached) " >&6
   9929 else
   9930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9931 /* end confdefs.h.  */
   9932 int i;
   9933 _ACEOF
   9934 if ac_fn_c_try_compile "$LINENO"; then :
   9935   xorg_cv_cc_flag_unknown_warning_option=yes
   9936 else
   9937   xorg_cv_cc_flag_unknown_warning_option=no
   9938 fi
   9939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9940 fi
   9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9944 	CFLAGS="$xorg_testset_save_CFLAGS"
   9945 fi
   9946 
   9947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9950 	fi
   9951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9955   $as_echo_n "(cached) " >&6
   9956 else
   9957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9958 /* end confdefs.h.  */
   9959 int i;
   9960 _ACEOF
   9961 if ac_fn_c_try_compile "$LINENO"; then :
   9962   xorg_cv_cc_flag_unused_command_line_argument=yes
   9963 else
   9964   xorg_cv_cc_flag_unused_command_line_argument=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9967 fi
   9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9971 	CFLAGS="$xorg_testset_save_CFLAGS"
   9972 fi
   9973 
   9974 found="no"
   9975 
   9976 	if test $found = "no" ; then
   9977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9979 		fi
   9980 
   9981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9983 		fi
   9984 
   9985 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9986 
   9987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9988 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9989 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9990 		if eval \${$cacheid+:} 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 int
   9997 main ()
   9998 {
   9999 
   10000   ;
   10001   return 0;
   10002 }
   10003 _ACEOF
   10004 if ac_fn_c_try_link "$LINENO"; then :
   10005   eval $cacheid=yes
   10006 else
   10007   eval $cacheid=no
   10008 fi
   10009 rm -f core conftest.err conftest.$ac_objext \
   10010     conftest$ac_exeext conftest.$ac_ext
   10011 fi
   10012 
   10013 
   10014 		CFLAGS="$xorg_testset_save_CFLAGS"
   10015 
   10016 		eval supported=\$$cacheid
   10017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10018 $as_echo "$supported" >&6; }
   10019 		if test "$supported" = "yes" ; then
   10020 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10021 			found="yes"
   10022 		fi
   10023 	fi
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 xorg_testset_save_CFLAGS="$CFLAGS"
   10040 
   10041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10046   $as_echo_n "(cached) " >&6
   10047 else
   10048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10049 /* end confdefs.h.  */
   10050 int i;
   10051 _ACEOF
   10052 if ac_fn_c_try_compile "$LINENO"; then :
   10053   xorg_cv_cc_flag_unknown_warning_option=yes
   10054 else
   10055   xorg_cv_cc_flag_unknown_warning_option=no
   10056 fi
   10057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10058 fi
   10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10062 	CFLAGS="$xorg_testset_save_CFLAGS"
   10063 fi
   10064 
   10065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10068 	fi
   10069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10073   $as_echo_n "(cached) " >&6
   10074 else
   10075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10076 /* end confdefs.h.  */
   10077 int i;
   10078 _ACEOF
   10079 if ac_fn_c_try_compile "$LINENO"; then :
   10080   xorg_cv_cc_flag_unused_command_line_argument=yes
   10081 else
   10082   xorg_cv_cc_flag_unused_command_line_argument=no
   10083 fi
   10084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10085 fi
   10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10089 	CFLAGS="$xorg_testset_save_CFLAGS"
   10090 fi
   10091 
   10092 found="no"
   10093 
   10094 	if test $found = "no" ; then
   10095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10097 		fi
   10098 
   10099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10101 		fi
   10102 
   10103 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10104 
   10105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10106 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10107 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10108 		if eval \${$cacheid+:} false; then :
   10109   $as_echo_n "(cached) " >&6
   10110 else
   10111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10112 /* end confdefs.h.  */
   10113 int i;
   10114 int
   10115 main ()
   10116 {
   10117 
   10118   ;
   10119   return 0;
   10120 }
   10121 _ACEOF
   10122 if ac_fn_c_try_link "$LINENO"; then :
   10123   eval $cacheid=yes
   10124 else
   10125   eval $cacheid=no
   10126 fi
   10127 rm -f core conftest.err conftest.$ac_objext \
   10128     conftest$ac_exeext conftest.$ac_ext
   10129 fi
   10130 
   10131 
   10132 		CFLAGS="$xorg_testset_save_CFLAGS"
   10133 
   10134 		eval supported=\$$cacheid
   10135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10136 $as_echo "$supported" >&6; }
   10137 		if test "$supported" = "yes" ; then
   10138 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10139 			found="yes"
   10140 		fi
   10141 	fi
   10142 
   10143 
   10144 fi
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 		CWARNFLAGS="$BASE_CFLAGS"
   10153 		if  test "x$GCC" = xyes ; then
   10154 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10155 		fi
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 # Check whether --enable-strict-compilation was given.
   10165 if test "${enable_strict_compilation+set}" = set; then :
   10166   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10167 else
   10168   STRICT_COMPILE=no
   10169 fi
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 STRICT_CFLAGS=""
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 xorg_testset_save_CFLAGS="$CFLAGS"
   10191 
   10192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10195 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10196 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10197   $as_echo_n "(cached) " >&6
   10198 else
   10199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10200 /* end confdefs.h.  */
   10201 int i;
   10202 _ACEOF
   10203 if ac_fn_c_try_compile "$LINENO"; then :
   10204   xorg_cv_cc_flag_unknown_warning_option=yes
   10205 else
   10206   xorg_cv_cc_flag_unknown_warning_option=no
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10209 fi
   10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10211 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10213 	CFLAGS="$xorg_testset_save_CFLAGS"
   10214 fi
   10215 
   10216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10219 	fi
   10220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10222 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10223 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 int i;
   10229 _ACEOF
   10230 if ac_fn_c_try_compile "$LINENO"; then :
   10231   xorg_cv_cc_flag_unused_command_line_argument=yes
   10232 else
   10233   xorg_cv_cc_flag_unused_command_line_argument=no
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10236 fi
   10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10238 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10240 	CFLAGS="$xorg_testset_save_CFLAGS"
   10241 fi
   10242 
   10243 found="no"
   10244 
   10245 	if test $found = "no" ; then
   10246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10248 		fi
   10249 
   10250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10252 		fi
   10253 
   10254 		CFLAGS="$CFLAGS -pedantic"
   10255 
   10256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10257 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10258 		cacheid=xorg_cv_cc_flag__pedantic
   10259 		if eval \${$cacheid+:} 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 int
   10266 main ()
   10267 {
   10268 
   10269   ;
   10270   return 0;
   10271 }
   10272 _ACEOF
   10273 if ac_fn_c_try_link "$LINENO"; then :
   10274   eval $cacheid=yes
   10275 else
   10276   eval $cacheid=no
   10277 fi
   10278 rm -f core conftest.err conftest.$ac_objext \
   10279     conftest$ac_exeext conftest.$ac_ext
   10280 fi
   10281 
   10282 
   10283 		CFLAGS="$xorg_testset_save_CFLAGS"
   10284 
   10285 		eval supported=\$$cacheid
   10286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10287 $as_echo "$supported" >&6; }
   10288 		if test "$supported" = "yes" ; then
   10289 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10290 			found="yes"
   10291 		fi
   10292 	fi
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 xorg_testset_save_CFLAGS="$CFLAGS"
   10309 
   10310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10313 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10314 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10315   $as_echo_n "(cached) " >&6
   10316 else
   10317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10318 /* end confdefs.h.  */
   10319 int i;
   10320 _ACEOF
   10321 if ac_fn_c_try_compile "$LINENO"; then :
   10322   xorg_cv_cc_flag_unknown_warning_option=yes
   10323 else
   10324   xorg_cv_cc_flag_unknown_warning_option=no
   10325 fi
   10326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10327 fi
   10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10329 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10331 	CFLAGS="$xorg_testset_save_CFLAGS"
   10332 fi
   10333 
   10334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10337 	fi
   10338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10340 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10341 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10342   $as_echo_n "(cached) " >&6
   10343 else
   10344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10345 /* end confdefs.h.  */
   10346 int i;
   10347 _ACEOF
   10348 if ac_fn_c_try_compile "$LINENO"; then :
   10349   xorg_cv_cc_flag_unused_command_line_argument=yes
   10350 else
   10351   xorg_cv_cc_flag_unused_command_line_argument=no
   10352 fi
   10353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10354 fi
   10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10356 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10358 	CFLAGS="$xorg_testset_save_CFLAGS"
   10359 fi
   10360 
   10361 found="no"
   10362 
   10363 	if test $found = "no" ; then
   10364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10366 		fi
   10367 
   10368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10370 		fi
   10371 
   10372 		CFLAGS="$CFLAGS -Werror"
   10373 
   10374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10375 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10376 		cacheid=xorg_cv_cc_flag__Werror
   10377 		if eval \${$cacheid+:} false; then :
   10378   $as_echo_n "(cached) " >&6
   10379 else
   10380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10381 /* end confdefs.h.  */
   10382 int i;
   10383 int
   10384 main ()
   10385 {
   10386 
   10387   ;
   10388   return 0;
   10389 }
   10390 _ACEOF
   10391 if ac_fn_c_try_link "$LINENO"; then :
   10392   eval $cacheid=yes
   10393 else
   10394   eval $cacheid=no
   10395 fi
   10396 rm -f core conftest.err conftest.$ac_objext \
   10397     conftest$ac_exeext conftest.$ac_ext
   10398 fi
   10399 
   10400 
   10401 		CFLAGS="$xorg_testset_save_CFLAGS"
   10402 
   10403 		eval supported=\$$cacheid
   10404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10405 $as_echo "$supported" >&6; }
   10406 		if test "$supported" = "yes" ; then
   10407 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10408 			found="yes"
   10409 		fi
   10410 	fi
   10411 
   10412 	if test $found = "no" ; then
   10413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10415 		fi
   10416 
   10417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10419 		fi
   10420 
   10421 		CFLAGS="$CFLAGS -errwarn"
   10422 
   10423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10424 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10425 		cacheid=xorg_cv_cc_flag__errwarn
   10426 		if eval \${$cacheid+:} false; then :
   10427   $as_echo_n "(cached) " >&6
   10428 else
   10429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10430 /* end confdefs.h.  */
   10431 int i;
   10432 int
   10433 main ()
   10434 {
   10435 
   10436   ;
   10437   return 0;
   10438 }
   10439 _ACEOF
   10440 if ac_fn_c_try_link "$LINENO"; then :
   10441   eval $cacheid=yes
   10442 else
   10443   eval $cacheid=no
   10444 fi
   10445 rm -f core conftest.err conftest.$ac_objext \
   10446     conftest$ac_exeext conftest.$ac_ext
   10447 fi
   10448 
   10449 
   10450 		CFLAGS="$xorg_testset_save_CFLAGS"
   10451 
   10452 		eval supported=\$$cacheid
   10453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10454 $as_echo "$supported" >&6; }
   10455 		if test "$supported" = "yes" ; then
   10456 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10457 			found="yes"
   10458 		fi
   10459 	fi
   10460 
   10461 
   10462 
   10463 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10464 # activate it with -Werror, so we add it here explicitly.
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 xorg_testset_save_CFLAGS="$CFLAGS"
   10479 
   10480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10485   $as_echo_n "(cached) " >&6
   10486 else
   10487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10488 /* end confdefs.h.  */
   10489 int i;
   10490 _ACEOF
   10491 if ac_fn_c_try_compile "$LINENO"; then :
   10492   xorg_cv_cc_flag_unknown_warning_option=yes
   10493 else
   10494   xorg_cv_cc_flag_unknown_warning_option=no
   10495 fi
   10496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10497 fi
   10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10501 	CFLAGS="$xorg_testset_save_CFLAGS"
   10502 fi
   10503 
   10504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10507 	fi
   10508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10512   $as_echo_n "(cached) " >&6
   10513 else
   10514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10515 /* end confdefs.h.  */
   10516 int i;
   10517 _ACEOF
   10518 if ac_fn_c_try_compile "$LINENO"; then :
   10519   xorg_cv_cc_flag_unused_command_line_argument=yes
   10520 else
   10521   xorg_cv_cc_flag_unused_command_line_argument=no
   10522 fi
   10523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10524 fi
   10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10528 	CFLAGS="$xorg_testset_save_CFLAGS"
   10529 fi
   10530 
   10531 found="no"
   10532 
   10533 	if test $found = "no" ; then
   10534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10536 		fi
   10537 
   10538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10540 		fi
   10541 
   10542 		CFLAGS="$CFLAGS -Werror=attributes"
   10543 
   10544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10545 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10546 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10547 		if eval \${$cacheid+:} false; then :
   10548   $as_echo_n "(cached) " >&6
   10549 else
   10550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10551 /* end confdefs.h.  */
   10552 int i;
   10553 int
   10554 main ()
   10555 {
   10556 
   10557   ;
   10558   return 0;
   10559 }
   10560 _ACEOF
   10561 if ac_fn_c_try_link "$LINENO"; then :
   10562   eval $cacheid=yes
   10563 else
   10564   eval $cacheid=no
   10565 fi
   10566 rm -f core conftest.err conftest.$ac_objext \
   10567     conftest$ac_exeext conftest.$ac_ext
   10568 fi
   10569 
   10570 
   10571 		CFLAGS="$xorg_testset_save_CFLAGS"
   10572 
   10573 		eval supported=\$$cacheid
   10574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10575 $as_echo "$supported" >&6; }
   10576 		if test "$supported" = "yes" ; then
   10577 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10578 			found="yes"
   10579 		fi
   10580 	fi
   10581 
   10582 
   10583 
   10584 if test "x$STRICT_COMPILE" = "xyes"; then
   10585     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10586     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10587 fi
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 cat >>confdefs.h <<_ACEOF
   10595 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10596 _ACEOF
   10597 
   10598 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10599 	if test "x$PVM" = "x"; then
   10600 		PVM="0"
   10601 	fi
   10602 
   10603 cat >>confdefs.h <<_ACEOF
   10604 #define PACKAGE_VERSION_MINOR $PVM
   10605 _ACEOF
   10606 
   10607 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10608 	if test "x$PVP" = "x"; then
   10609 		PVP="0"
   10610 	fi
   10611 
   10612 cat >>confdefs.h <<_ACEOF
   10613 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10614 _ACEOF
   10615 
   10616 
   10617 
   10618 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10619 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10620 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10621 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10622 
   10623 
   10624 
   10625 
   10626 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10627 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10628 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10629 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10630 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 if test x$APP_MAN_SUFFIX = x    ; then
   10638     APP_MAN_SUFFIX=1
   10639 fi
   10640 if test x$APP_MAN_DIR = x    ; then
   10641     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10642 fi
   10643 
   10644 if test x$LIB_MAN_SUFFIX = x    ; then
   10645     LIB_MAN_SUFFIX=3
   10646 fi
   10647 if test x$LIB_MAN_DIR = x    ; then
   10648     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10649 fi
   10650 
   10651 if test x$FILE_MAN_SUFFIX = x    ; then
   10652     case $host_os in
   10653 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10654 	*)		FILE_MAN_SUFFIX=5  ;;
   10655     esac
   10656 fi
   10657 if test x$FILE_MAN_DIR = x    ; then
   10658     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10659 fi
   10660 
   10661 if test x$MISC_MAN_SUFFIX = x    ; then
   10662     case $host_os in
   10663 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10664 	*)		MISC_MAN_SUFFIX=7  ;;
   10665     esac
   10666 fi
   10667 if test x$MISC_MAN_DIR = x    ; then
   10668     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10669 fi
   10670 
   10671 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10672     case $host_os in
   10673 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10674 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10675     esac
   10676 fi
   10677 if test x$DRIVER_MAN_DIR = x    ; then
   10678     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10679 fi
   10680 
   10681 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10682     case $host_os in
   10683 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10684 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10685     esac
   10686 fi
   10687 if test x$ADMIN_MAN_DIR = x    ; then
   10688     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10689 fi
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 XORG_MAN_PAGE="X Version 11"
   10706 
   10707 MAN_SUBSTS="\
   10708 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10709 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10710 	-e 's|__xservername__|Xorg|g' \
   10711 	-e 's|__xconfigfile__|xorg.conf|g' \
   10712 	-e 's|__projectroot__|\$(prefix)|g' \
   10713 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10714 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10715 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10716 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10717 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10718 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10719 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10720 
   10721 
   10722 
   10723 # Check whether --enable-silent-rules was given.
   10724 if test "${enable_silent_rules+set}" = set; then :
   10725   enableval=$enable_silent_rules;
   10726 fi
   10727 
   10728 case $enable_silent_rules in # (((
   10729   yes) AM_DEFAULT_VERBOSITY=0;;
   10730    no) AM_DEFAULT_VERBOSITY=1;;
   10731     *) AM_DEFAULT_VERBOSITY=0;;
   10732 esac
   10733 am_make=${MAKE-make}
   10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10735 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10736 if ${am_cv_make_support_nested_variables+:} false; then :
   10737   $as_echo_n "(cached) " >&6
   10738 else
   10739   if $as_echo 'TRUE=$(BAR$(V))
   10740 BAR0=false
   10741 BAR1=true
   10742 V=1
   10743 am__doit:
   10744 	@$(TRUE)
   10745 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10746   am_cv_make_support_nested_variables=yes
   10747 else
   10748   am_cv_make_support_nested_variables=no
   10749 fi
   10750 fi
   10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10752 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10753 if test $am_cv_make_support_nested_variables = yes; then
   10754     AM_V='$(V)'
   10755   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10756 else
   10757   AM_V=$AM_DEFAULT_VERBOSITY
   10758   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10759 fi
   10760 AM_BACKSLASH='\'
   10761 
   10762 
   10763 
   10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   10765 $as_echo_n "checking for gzopen in -lz... " >&6; }
   10766 if ${ac_cv_lib_z_gzopen+:} false; then :
   10767   $as_echo_n "(cached) " >&6
   10768 else
   10769   ac_check_lib_save_LIBS=$LIBS
   10770 LIBS="-lz  $LIBS"
   10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10772 /* end confdefs.h.  */
   10773 
   10774 /* Override any GCC internal prototype to avoid an error.
   10775    Use char because int might match the return type of a GCC
   10776    builtin and then its argument prototype would still apply.  */
   10777 #ifdef __cplusplus
   10778 extern "C"
   10779 #endif
   10780 char gzopen ();
   10781 int
   10782 main ()
   10783 {
   10784 return gzopen ();
   10785   ;
   10786   return 0;
   10787 }
   10788 _ACEOF
   10789 if ac_fn_c_try_link "$LINENO"; then :
   10790   ac_cv_lib_z_gzopen=yes
   10791 else
   10792   ac_cv_lib_z_gzopen=no
   10793 fi
   10794 rm -f core conftest.err conftest.$ac_objext \
   10795     conftest$ac_exeext conftest.$ac_ext
   10796 LIBS=$ac_check_lib_save_LIBS
   10797 fi
   10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   10799 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   10800 if test "x$ac_cv_lib_z_gzopen" = xyes; then :
   10801   cat >>confdefs.h <<_ACEOF
   10802 #define HAVE_LIBZ 1
   10803 _ACEOF
   10804 
   10805   LIBS="-lz $LIBS"
   10806 
   10807 else
   10808   as_fn_error $? "zlib is required, but was not found." "$LINENO" 5
   10809 fi
   10810 
   10811 
   10812 
   10813 # Check whether --with-bzip2 was given.
   10814 if test "${with_bzip2+set}" = set; then :
   10815   withval=$with_bzip2;
   10816 else
   10817   with_bzip2=no
   10818 fi
   10819 
   10820 if test "x$with_bzip2" = xyes; then
   10821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   10822 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   10823 if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
   10824   $as_echo_n "(cached) " >&6
   10825 else
   10826   ac_check_lib_save_LIBS=$LIBS
   10827 LIBS="-lbz2  $LIBS"
   10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10829 /* end confdefs.h.  */
   10830 
   10831 /* Override any GCC internal prototype to avoid an error.
   10832    Use char because int might match the return type of a GCC
   10833    builtin and then its argument prototype would still apply.  */
   10834 #ifdef __cplusplus
   10835 extern "C"
   10836 #endif
   10837 char BZ2_bzopen ();
   10838 int
   10839 main ()
   10840 {
   10841 return BZ2_bzopen ();
   10842   ;
   10843   return 0;
   10844 }
   10845 _ACEOF
   10846 if ac_fn_c_try_link "$LINENO"; then :
   10847   ac_cv_lib_bz2_BZ2_bzopen=yes
   10848 else
   10849   ac_cv_lib_bz2_BZ2_bzopen=no
   10850 fi
   10851 rm -f core conftest.err conftest.$ac_objext \
   10852     conftest$ac_exeext conftest.$ac_ext
   10853 LIBS=$ac_check_lib_save_LIBS
   10854 fi
   10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   10856 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   10857 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
   10858   cat >>confdefs.h <<_ACEOF
   10859 #define HAVE_LIBBZ2 1
   10860 _ACEOF
   10861 
   10862   LIBS="-lbz2 $LIBS"
   10863 
   10864 else
   10865   as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
   10866 fi
   10867 
   10868 
   10869 $as_echo "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   10870 
   10871 fi
   10872 
   10873 # Checks for pkg-config packages
   10874 
   10875 pkg_failed=no
   10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MKFONTSCALE" >&5
   10877 $as_echo_n "checking for MKFONTSCALE... " >&6; }
   10878 
   10879 if test -n "$MKFONTSCALE_CFLAGS"; then
   10880     pkg_cv_MKFONTSCALE_CFLAGS="$MKFONTSCALE_CFLAGS"
   10881  elif test -n "$PKG_CONFIG"; then
   10882     if test -n "$PKG_CONFIG" && \
   10883     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontenc freetype2\""; } >&5
   10884   ($PKG_CONFIG --exists --print-errors "fontenc freetype2") 2>&5
   10885   ac_status=$?
   10886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10887   test $ac_status = 0; }; then
   10888   pkg_cv_MKFONTSCALE_CFLAGS=`$PKG_CONFIG --cflags "fontenc freetype2" 2>/dev/null`
   10889 else
   10890   pkg_failed=yes
   10891 fi
   10892  else
   10893     pkg_failed=untried
   10894 fi
   10895 if test -n "$MKFONTSCALE_LIBS"; then
   10896     pkg_cv_MKFONTSCALE_LIBS="$MKFONTSCALE_LIBS"
   10897  elif test -n "$PKG_CONFIG"; then
   10898     if test -n "$PKG_CONFIG" && \
   10899     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontenc freetype2\""; } >&5
   10900   ($PKG_CONFIG --exists --print-errors "fontenc freetype2") 2>&5
   10901   ac_status=$?
   10902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10903   test $ac_status = 0; }; then
   10904   pkg_cv_MKFONTSCALE_LIBS=`$PKG_CONFIG --libs "fontenc freetype2" 2>/dev/null`
   10905 else
   10906   pkg_failed=yes
   10907 fi
   10908  else
   10909     pkg_failed=untried
   10910 fi
   10911 
   10912 
   10913 
   10914 if test $pkg_failed = yes; then
   10915 
   10916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10917         _pkg_short_errors_supported=yes
   10918 else
   10919         _pkg_short_errors_supported=no
   10920 fi
   10921         if test $_pkg_short_errors_supported = yes; then
   10922 	        MKFONTSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontenc freetype2" 2>&1`
   10923         else
   10924 	        MKFONTSCALE_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontenc freetype2" 2>&1`
   10925         fi
   10926 	# Put the nasty error message in config.log where it belongs
   10927 	echo "$MKFONTSCALE_PKG_ERRORS" >&5
   10928 
   10929 	as_fn_error $? "Package requirements (fontenc freetype2) were not met:
   10930 
   10931 $MKFONTSCALE_PKG_ERRORS
   10932 
   10933 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10934 installed software in a non-standard prefix.
   10935 
   10936 Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
   10937 and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
   10938 See the pkg-config man page for more details.
   10939 " "$LINENO" 5
   10940 elif test $pkg_failed = untried; then
   10941 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10943 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10944 is in your PATH or set the PKG_CONFIG environment variable to the full
   10945 path to pkg-config.
   10946 
   10947 Alternatively, you may set the environment variables MKFONTSCALE_CFLAGS
   10948 and MKFONTSCALE_LIBS to avoid the need to call pkg-config.
   10949 See the pkg-config man page for more details.
   10950 
   10951 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10952 See \`config.log' for more details" "$LINENO" 5; }
   10953 else
   10954 	MKFONTSCALE_CFLAGS=$pkg_cv_MKFONTSCALE_CFLAGS
   10955 	MKFONTSCALE_LIBS=$pkg_cv_MKFONTSCALE_LIBS
   10956         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10957 $as_echo "yes" >&6; }
   10958 	:
   10959 fi
   10960 
   10961 pkg_failed=no
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   10963 $as_echo_n "checking for X11... " >&6; }
   10964 
   10965 if test -n "$X11_CFLAGS"; then
   10966     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   10967  elif test -n "$PKG_CONFIG"; then
   10968     if test -n "$PKG_CONFIG" && \
   10969     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   10970   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   10971   ac_status=$?
   10972   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10973   test $ac_status = 0; }; then
   10974   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25" 2>/dev/null`
   10975 else
   10976   pkg_failed=yes
   10977 fi
   10978  else
   10979     pkg_failed=untried
   10980 fi
   10981 if test -n "$X11_LIBS"; then
   10982     pkg_cv_X11_LIBS="$X11_LIBS"
   10983  elif test -n "$PKG_CONFIG"; then
   10984     if test -n "$PKG_CONFIG" && \
   10985     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25\""; } >&5
   10986   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25") 2>&5
   10987   ac_status=$?
   10988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10989   test $ac_status = 0; }; then
   10990   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25" 2>/dev/null`
   10991 else
   10992   pkg_failed=yes
   10993 fi
   10994  else
   10995     pkg_failed=untried
   10996 fi
   10997 
   10998 
   10999 
   11000 if test $pkg_failed = yes; then
   11001 
   11002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11003         _pkg_short_errors_supported=yes
   11004 else
   11005         _pkg_short_errors_supported=no
   11006 fi
   11007         if test $_pkg_short_errors_supported = yes; then
   11008 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.25" 2>&1`
   11009         else
   11010 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.25" 2>&1`
   11011         fi
   11012 	# Put the nasty error message in config.log where it belongs
   11013 	echo "$X11_PKG_ERRORS" >&5
   11014 
   11015 	as_fn_error $? "Package requirements (xproto >= 7.0.25) were not met:
   11016 
   11017 $X11_PKG_ERRORS
   11018 
   11019 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11020 installed software in a non-standard prefix.
   11021 
   11022 Alternatively, you may set the environment variables X11_CFLAGS
   11023 and X11_LIBS to avoid the need to call pkg-config.
   11024 See the pkg-config man page for more details.
   11025 " "$LINENO" 5
   11026 elif test $pkg_failed = untried; then
   11027 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11029 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11030 is in your PATH or set the PKG_CONFIG environment variable to the full
   11031 path to pkg-config.
   11032 
   11033 Alternatively, you may set the environment variables X11_CFLAGS
   11034 and X11_LIBS to avoid the need to call pkg-config.
   11035 See the pkg-config man page for more details.
   11036 
   11037 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11038 See \`config.log' for more details" "$LINENO" 5; }
   11039 else
   11040 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   11041 	X11_LIBS=$pkg_cv_X11_LIBS
   11042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11043 $as_echo "yes" >&6; }
   11044 	:
   11045 fi
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 # Check whether --with-lint was given.
   11053 if test "${with_lint+set}" = set; then :
   11054   withval=$with_lint; use_lint=$withval
   11055 else
   11056   use_lint=no
   11057 fi
   11058 
   11059 
   11060 # Obtain platform specific info like program name and options
   11061 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11062 case $host_os in
   11063   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11064 	lint_name=splint
   11065 	lint_options="-badflag"
   11066 	;;
   11067   *freebsd* | *netbsd*)
   11068 	lint_name=lint
   11069 	lint_options="-u -b"
   11070 	;;
   11071   *solaris*)
   11072 	lint_name=lint
   11073 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11074 	;;
   11075 esac
   11076 
   11077 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11078 if test "x$use_lint" = x"yes" ; then
   11079    # Extract the first word of "$lint_name", so it can be a program name with args.
   11080 set dummy $lint_name; ac_word=$2
   11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11082 $as_echo_n "checking for $ac_word... " >&6; }
   11083 if ${ac_cv_path_LINT+:} false; then :
   11084   $as_echo_n "(cached) " >&6
   11085 else
   11086   case $LINT in
   11087   [\\/]* | ?:[\\/]*)
   11088   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11089   ;;
   11090   *)
   11091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11092 for as_dir in $PATH
   11093 do
   11094   IFS=$as_save_IFS
   11095   test -z "$as_dir" && as_dir=.
   11096     for ac_exec_ext in '' $ac_executable_extensions; do
   11097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11098     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   11099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11100     break 2
   11101   fi
   11102 done
   11103   done
   11104 IFS=$as_save_IFS
   11105 
   11106   ;;
   11107 esac
   11108 fi
   11109 LINT=$ac_cv_path_LINT
   11110 if test -n "$LINT"; then
   11111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11112 $as_echo "$LINT" >&6; }
   11113 else
   11114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11115 $as_echo "no" >&6; }
   11116 fi
   11117 
   11118 
   11119    if test "x$LINT" = "x"; then
   11120         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11121    fi
   11122 elif test "x$use_lint" = x"no" ; then
   11123    if test "x$LINT" != "x"; then
   11124       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11125 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11126    fi
   11127 else
   11128    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11129 fi
   11130 
   11131 # User supplied flags override default flags
   11132 if test "x$LINT_FLAGS" != "x"; then
   11133    lint_options=$LINT_FLAGS
   11134 fi
   11135 
   11136 LINT_FLAGS=$lint_options
   11137 
   11138  if test "x$LINT" != x; then
   11139   LINT_TRUE=
   11140   LINT_FALSE='#'
   11141 else
   11142   LINT_TRUE='#'
   11143   LINT_FALSE=
   11144 fi
   11145 
   11146 
   11147 
   11148 
   11149 ac_config_files="$ac_config_files Makefile man/Makefile"
   11150 
   11151 cat >confcache <<\_ACEOF
   11152 # This file is a shell script that caches the results of configure
   11153 # tests run on this system so they can be shared between configure
   11154 # scripts and configure runs, see configure's option --config-cache.
   11155 # It is not useful on other systems.  If it contains results you don't
   11156 # want to keep, you may remove or edit it.
   11157 #
   11158 # config.status only pays attention to the cache file if you give it
   11159 # the --recheck option to rerun configure.
   11160 #
   11161 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11162 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11163 # following values.
   11164 
   11165 _ACEOF
   11166 
   11167 # The following way of writing the cache mishandles newlines in values,
   11168 # but we know of no workaround that is simple, portable, and efficient.
   11169 # So, we kill variables containing newlines.
   11170 # Ultrix sh set writes to stderr and can't be redirected directly,
   11171 # and sets the high bit in the cache file unless we assign to the vars.
   11172 (
   11173   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11174     eval ac_val=\$$ac_var
   11175     case $ac_val in #(
   11176     *${as_nl}*)
   11177       case $ac_var in #(
   11178       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11179 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11180       esac
   11181       case $ac_var in #(
   11182       _ | IFS | as_nl) ;; #(
   11183       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11184       *) { eval $ac_var=; unset $ac_var;} ;;
   11185       esac ;;
   11186     esac
   11187   done
   11188 
   11189   (set) 2>&1 |
   11190     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11191     *${as_nl}ac_space=\ *)
   11192       # `set' does not quote correctly, so add quotes: double-quote
   11193       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11194       sed -n \
   11195 	"s/'/'\\\\''/g;
   11196 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11197       ;; #(
   11198     *)
   11199       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11200       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11201       ;;
   11202     esac |
   11203     sort
   11204 ) |
   11205   sed '
   11206      /^ac_cv_env_/b end
   11207      t clear
   11208      :clear
   11209      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11210      t end
   11211      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11212      :end' >>confcache
   11213 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11214   if test -w "$cache_file"; then
   11215     if test "x$cache_file" != "x/dev/null"; then
   11216       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11217 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11218       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11219 	cat confcache >"$cache_file"
   11220       else
   11221         case $cache_file in #(
   11222         */* | ?:*)
   11223 	  mv -f confcache "$cache_file"$$ &&
   11224 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11225         *)
   11226 	  mv -f confcache "$cache_file" ;;
   11227 	esac
   11228       fi
   11229     fi
   11230   else
   11231     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11232 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11233   fi
   11234 fi
   11235 rm -f confcache
   11236 
   11237 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11238 # Let make expand exec_prefix.
   11239 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11240 
   11241 DEFS=-DHAVE_CONFIG_H
   11242 
   11243 ac_libobjs=
   11244 ac_ltlibobjs=
   11245 U=
   11246 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11247   # 1. Remove the extension, and $U if already installed.
   11248   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11249   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11250   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11251   #    will be set to the directory where LIBOBJS objects are built.
   11252   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11253   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11254 done
   11255 LIBOBJS=$ac_libobjs
   11256 
   11257 LTLIBOBJS=$ac_ltlibobjs
   11258 
   11259 
   11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11261 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11262    if test -n "$am_sleep_pid"; then
   11263      # Hide warnings about reused PIDs.
   11264      wait $am_sleep_pid 2>/dev/null
   11265    fi
   11266    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11267 $as_echo "done" >&6; }
   11268 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11269   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11271 fi
   11272 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11273   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11275 fi
   11276  if test -n "$EXEEXT"; then
   11277   am__EXEEXT_TRUE=
   11278   am__EXEEXT_FALSE='#'
   11279 else
   11280   am__EXEEXT_TRUE='#'
   11281   am__EXEEXT_FALSE=
   11282 fi
   11283 
   11284 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11285   as_fn_error $? "conditional \"LINT\" was never defined.
   11286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11287 fi
   11288 
   11289 : "${CONFIG_STATUS=./config.status}"
   11290 ac_write_fail=0
   11291 ac_clean_files_save=$ac_clean_files
   11292 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11293 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11294 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11295 as_write_fail=0
   11296 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11297 #! $SHELL
   11298 # Generated by $as_me.
   11299 # Run this file to recreate the current configuration.
   11300 # Compiler output produced by configure, useful for debugging
   11301 # configure, is in config.log if it exists.
   11302 
   11303 debug=false
   11304 ac_cs_recheck=false
   11305 ac_cs_silent=false
   11306 
   11307 SHELL=\${CONFIG_SHELL-$SHELL}
   11308 export SHELL
   11309 _ASEOF
   11310 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11311 ## -------------------- ##
   11312 ## M4sh Initialization. ##
   11313 ## -------------------- ##
   11314 
   11315 # Be more Bourne compatible
   11316 DUALCASE=1; export DUALCASE # for MKS sh
   11317 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11318   emulate sh
   11319   NULLCMD=:
   11320   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11321   # is contrary to our usage.  Disable this feature.
   11322   alias -g '${1+"$@"}'='"$@"'
   11323   setopt NO_GLOB_SUBST
   11324 else
   11325   case `(set -o) 2>/dev/null` in #(
   11326   *posix*) :
   11327     set -o posix ;; #(
   11328   *) :
   11329      ;;
   11330 esac
   11331 fi
   11332 
   11333 
   11334 as_nl='
   11335 '
   11336 export as_nl
   11337 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11338 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11339 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11340 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11341 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11342 # but without wasting forks for bash or zsh.
   11343 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11344     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11345   as_echo='print -r --'
   11346   as_echo_n='print -rn --'
   11347 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11348   as_echo='printf %s\n'
   11349   as_echo_n='printf %s'
   11350 else
   11351   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11352     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11353     as_echo_n='/usr/ucb/echo -n'
   11354   else
   11355     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11356     as_echo_n_body='eval
   11357       arg=$1;
   11358       case $arg in #(
   11359       *"$as_nl"*)
   11360 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11361 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11362       esac;
   11363       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11364     '
   11365     export as_echo_n_body
   11366     as_echo_n='sh -c $as_echo_n_body as_echo'
   11367   fi
   11368   export as_echo_body
   11369   as_echo='sh -c $as_echo_body as_echo'
   11370 fi
   11371 
   11372 # The user is always right.
   11373 if test "${PATH_SEPARATOR+set}" != set; then
   11374   PATH_SEPARATOR=:
   11375   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11376     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11377       PATH_SEPARATOR=';'
   11378   }
   11379 fi
   11380 
   11381 
   11382 # IFS
   11383 # We need space, tab and new line, in precisely that order.  Quoting is
   11384 # there to prevent editors from complaining about space-tab.
   11385 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11386 # splitting by setting IFS to empty value.)
   11387 IFS=" ""	$as_nl"
   11388 
   11389 # Find who we are.  Look in the path if we contain no directory separator.
   11390 as_myself=
   11391 case $0 in #((
   11392   *[\\/]* ) as_myself=$0 ;;
   11393   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11394 for as_dir in $PATH
   11395 do
   11396   IFS=$as_save_IFS
   11397   test -z "$as_dir" && as_dir=.
   11398     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11399   done
   11400 IFS=$as_save_IFS
   11401 
   11402      ;;
   11403 esac
   11404 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11405 # in which case we are not to be found in the path.
   11406 if test "x$as_myself" = x; then
   11407   as_myself=$0
   11408 fi
   11409 if test ! -f "$as_myself"; then
   11410   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11411   exit 1
   11412 fi
   11413 
   11414 # Unset variables that we do not need and which cause bugs (e.g. in
   11415 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11416 # suppresses any "Segmentation fault" message there.  '((' could
   11417 # trigger a bug in pdksh 5.2.14.
   11418 for as_var in BASH_ENV ENV MAIL MAILPATH
   11419 do eval test x\${$as_var+set} = xset \
   11420   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11421 done
   11422 PS1='$ '
   11423 PS2='> '
   11424 PS4='+ '
   11425 
   11426 # NLS nuisances.
   11427 LC_ALL=C
   11428 export LC_ALL
   11429 LANGUAGE=C
   11430 export LANGUAGE
   11431 
   11432 # CDPATH.
   11433 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11434 
   11435 
   11436 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11437 # ----------------------------------------
   11438 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11439 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11440 # script with STATUS, using 1 if that was 0.
   11441 as_fn_error ()
   11442 {
   11443   as_status=$1; test $as_status -eq 0 && as_status=1
   11444   if test "$4"; then
   11445     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11446     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11447   fi
   11448   $as_echo "$as_me: error: $2" >&2
   11449   as_fn_exit $as_status
   11450 } # as_fn_error
   11451 
   11452 
   11453 # as_fn_set_status STATUS
   11454 # -----------------------
   11455 # Set $? to STATUS, without forking.
   11456 as_fn_set_status ()
   11457 {
   11458   return $1
   11459 } # as_fn_set_status
   11460 
   11461 # as_fn_exit STATUS
   11462 # -----------------
   11463 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11464 as_fn_exit ()
   11465 {
   11466   set +e
   11467   as_fn_set_status $1
   11468   exit $1
   11469 } # as_fn_exit
   11470 
   11471 # as_fn_unset VAR
   11472 # ---------------
   11473 # Portably unset VAR.
   11474 as_fn_unset ()
   11475 {
   11476   { eval $1=; unset $1;}
   11477 }
   11478 as_unset=as_fn_unset
   11479 # as_fn_append VAR VALUE
   11480 # ----------------------
   11481 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11482 # advantage of any shell optimizations that allow amortized linear growth over
   11483 # repeated appends, instead of the typical quadratic growth present in naive
   11484 # implementations.
   11485 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11486   eval 'as_fn_append ()
   11487   {
   11488     eval $1+=\$2
   11489   }'
   11490 else
   11491   as_fn_append ()
   11492   {
   11493     eval $1=\$$1\$2
   11494   }
   11495 fi # as_fn_append
   11496 
   11497 # as_fn_arith ARG...
   11498 # ------------------
   11499 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11500 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11501 # must be portable across $(()) and expr.
   11502 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11503   eval 'as_fn_arith ()
   11504   {
   11505     as_val=$(( $* ))
   11506   }'
   11507 else
   11508   as_fn_arith ()
   11509   {
   11510     as_val=`expr "$@" || test $? -eq 1`
   11511   }
   11512 fi # as_fn_arith
   11513 
   11514 
   11515 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11516    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11517   as_expr=expr
   11518 else
   11519   as_expr=false
   11520 fi
   11521 
   11522 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11523   as_basename=basename
   11524 else
   11525   as_basename=false
   11526 fi
   11527 
   11528 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11529   as_dirname=dirname
   11530 else
   11531   as_dirname=false
   11532 fi
   11533 
   11534 as_me=`$as_basename -- "$0" ||
   11535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11536 	 X"$0" : 'X\(//\)$' \| \
   11537 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11538 $as_echo X/"$0" |
   11539     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11540 	    s//\1/
   11541 	    q
   11542 	  }
   11543 	  /^X\/\(\/\/\)$/{
   11544 	    s//\1/
   11545 	    q
   11546 	  }
   11547 	  /^X\/\(\/\).*/{
   11548 	    s//\1/
   11549 	    q
   11550 	  }
   11551 	  s/.*/./; q'`
   11552 
   11553 # Avoid depending upon Character Ranges.
   11554 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11555 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11556 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11557 as_cr_digits='0123456789'
   11558 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11559 
   11560 ECHO_C= ECHO_N= ECHO_T=
   11561 case `echo -n x` in #(((((
   11562 -n*)
   11563   case `echo 'xy\c'` in
   11564   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11565   xy)  ECHO_C='\c';;
   11566   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11567        ECHO_T='	';;
   11568   esac;;
   11569 *)
   11570   ECHO_N='-n';;
   11571 esac
   11572 
   11573 rm -f conf$$ conf$$.exe conf$$.file
   11574 if test -d conf$$.dir; then
   11575   rm -f conf$$.dir/conf$$.file
   11576 else
   11577   rm -f conf$$.dir
   11578   mkdir conf$$.dir 2>/dev/null
   11579 fi
   11580 if (echo >conf$$.file) 2>/dev/null; then
   11581   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11582     as_ln_s='ln -s'
   11583     # ... but there are two gotchas:
   11584     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11585     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11586     # In both cases, we have to default to `cp -pR'.
   11587     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11588       as_ln_s='cp -pR'
   11589   elif ln conf$$.file conf$$ 2>/dev/null; then
   11590     as_ln_s=ln
   11591   else
   11592     as_ln_s='cp -pR'
   11593   fi
   11594 else
   11595   as_ln_s='cp -pR'
   11596 fi
   11597 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11598 rmdir conf$$.dir 2>/dev/null
   11599 
   11600 
   11601 # as_fn_mkdir_p
   11602 # -------------
   11603 # Create "$as_dir" as a directory, including parents if necessary.
   11604 as_fn_mkdir_p ()
   11605 {
   11606 
   11607   case $as_dir in #(
   11608   -*) as_dir=./$as_dir;;
   11609   esac
   11610   test -d "$as_dir" || eval $as_mkdir_p || {
   11611     as_dirs=
   11612     while :; do
   11613       case $as_dir in #(
   11614       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11615       *) as_qdir=$as_dir;;
   11616       esac
   11617       as_dirs="'$as_qdir' $as_dirs"
   11618       as_dir=`$as_dirname -- "$as_dir" ||
   11619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11620 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11621 	 X"$as_dir" : 'X\(//\)$' \| \
   11622 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11623 $as_echo X"$as_dir" |
   11624     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11625 	    s//\1/
   11626 	    q
   11627 	  }
   11628 	  /^X\(\/\/\)[^/].*/{
   11629 	    s//\1/
   11630 	    q
   11631 	  }
   11632 	  /^X\(\/\/\)$/{
   11633 	    s//\1/
   11634 	    q
   11635 	  }
   11636 	  /^X\(\/\).*/{
   11637 	    s//\1/
   11638 	    q
   11639 	  }
   11640 	  s/.*/./; q'`
   11641       test -d "$as_dir" && break
   11642     done
   11643     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11644   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11645 
   11646 
   11647 } # as_fn_mkdir_p
   11648 if mkdir -p . 2>/dev/null; then
   11649   as_mkdir_p='mkdir -p "$as_dir"'
   11650 else
   11651   test -d ./-p && rmdir ./-p
   11652   as_mkdir_p=false
   11653 fi
   11654 
   11655 
   11656 # as_fn_executable_p FILE
   11657 # -----------------------
   11658 # Test if FILE is an executable regular file.
   11659 as_fn_executable_p ()
   11660 {
   11661   test -f "$1" && test -x "$1"
   11662 } # as_fn_executable_p
   11663 as_test_x='test -x'
   11664 as_executable_p=as_fn_executable_p
   11665 
   11666 # Sed expression to map a string onto a valid CPP name.
   11667 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11668 
   11669 # Sed expression to map a string onto a valid variable name.
   11670 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11671 
   11672 
   11673 exec 6>&1
   11674 ## ----------------------------------- ##
   11675 ## Main body of $CONFIG_STATUS script. ##
   11676 ## ----------------------------------- ##
   11677 _ASEOF
   11678 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11679 
   11680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11681 # Save the log message, to keep $0 and so on meaningful, and to
   11682 # report actual input values of CONFIG_FILES etc. instead of their
   11683 # values after options handling.
   11684 ac_log="
   11685 This file was extended by mkfontscale $as_me 1.1.2, which was
   11686 generated by GNU Autoconf 2.69.  Invocation command line was
   11687 
   11688   CONFIG_FILES    = $CONFIG_FILES
   11689   CONFIG_HEADERS  = $CONFIG_HEADERS
   11690   CONFIG_LINKS    = $CONFIG_LINKS
   11691   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11692   $ $0 $@
   11693 
   11694 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11695 "
   11696 
   11697 _ACEOF
   11698 
   11699 case $ac_config_files in *"
   11700 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11701 esac
   11702 
   11703 case $ac_config_headers in *"
   11704 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11705 esac
   11706 
   11707 
   11708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11709 # Files that config.status was made for.
   11710 config_files="$ac_config_files"
   11711 config_headers="$ac_config_headers"
   11712 config_commands="$ac_config_commands"
   11713 
   11714 _ACEOF
   11715 
   11716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11717 ac_cs_usage="\
   11718 \`$as_me' instantiates files and other configuration actions
   11719 from templates according to the current configuration.  Unless the files
   11720 and actions are specified as TAGs, all are instantiated by default.
   11721 
   11722 Usage: $0 [OPTION]... [TAG]...
   11723 
   11724   -h, --help       print this help, then exit
   11725   -V, --version    print version number and configuration settings, then exit
   11726       --config     print configuration, then exit
   11727   -q, --quiet, --silent
   11728                    do not print progress messages
   11729   -d, --debug      don't remove temporary files
   11730       --recheck    update $as_me by reconfiguring in the same conditions
   11731       --file=FILE[:TEMPLATE]
   11732                    instantiate the configuration file FILE
   11733       --header=FILE[:TEMPLATE]
   11734                    instantiate the configuration header FILE
   11735 
   11736 Configuration files:
   11737 $config_files
   11738 
   11739 Configuration headers:
   11740 $config_headers
   11741 
   11742 Configuration commands:
   11743 $config_commands
   11744 
   11745 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11746 
   11747 _ACEOF
   11748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11749 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11750 ac_cs_version="\\
   11751 mkfontscale config.status 1.1.2
   11752 configured by $0, generated by GNU Autoconf 2.69,
   11753   with options \\"\$ac_cs_config\\"
   11754 
   11755 Copyright (C) 2012 Free Software Foundation, Inc.
   11756 This config.status script is free software; the Free Software Foundation
   11757 gives unlimited permission to copy, distribute and modify it."
   11758 
   11759 ac_pwd='$ac_pwd'
   11760 srcdir='$srcdir'
   11761 INSTALL='$INSTALL'
   11762 MKDIR_P='$MKDIR_P'
   11763 AWK='$AWK'
   11764 test -n "\$AWK" || AWK=awk
   11765 _ACEOF
   11766 
   11767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11768 # The default lists apply if the user does not specify any file.
   11769 ac_need_defaults=:
   11770 while test $# != 0
   11771 do
   11772   case $1 in
   11773   --*=?*)
   11774     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11775     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11776     ac_shift=:
   11777     ;;
   11778   --*=)
   11779     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11780     ac_optarg=
   11781     ac_shift=:
   11782     ;;
   11783   *)
   11784     ac_option=$1
   11785     ac_optarg=$2
   11786     ac_shift=shift
   11787     ;;
   11788   esac
   11789 
   11790   case $ac_option in
   11791   # Handling of the options.
   11792   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11793     ac_cs_recheck=: ;;
   11794   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11795     $as_echo "$ac_cs_version"; exit ;;
   11796   --config | --confi | --conf | --con | --co | --c )
   11797     $as_echo "$ac_cs_config"; exit ;;
   11798   --debug | --debu | --deb | --de | --d | -d )
   11799     debug=: ;;
   11800   --file | --fil | --fi | --f )
   11801     $ac_shift
   11802     case $ac_optarg in
   11803     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11804     '') as_fn_error $? "missing file argument" ;;
   11805     esac
   11806     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11807     ac_need_defaults=false;;
   11808   --header | --heade | --head | --hea )
   11809     $ac_shift
   11810     case $ac_optarg in
   11811     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11812     esac
   11813     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11814     ac_need_defaults=false;;
   11815   --he | --h)
   11816     # Conflict between --help and --header
   11817     as_fn_error $? "ambiguous option: \`$1'
   11818 Try \`$0 --help' for more information.";;
   11819   --help | --hel | -h )
   11820     $as_echo "$ac_cs_usage"; exit ;;
   11821   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11822   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11823     ac_cs_silent=: ;;
   11824 
   11825   # This is an error.
   11826   -*) as_fn_error $? "unrecognized option: \`$1'
   11827 Try \`$0 --help' for more information." ;;
   11828 
   11829   *) as_fn_append ac_config_targets " $1"
   11830      ac_need_defaults=false ;;
   11831 
   11832   esac
   11833   shift
   11834 done
   11835 
   11836 ac_configure_extra_args=
   11837 
   11838 if $ac_cs_silent; then
   11839   exec 6>/dev/null
   11840   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11841 fi
   11842 
   11843 _ACEOF
   11844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11845 if \$ac_cs_recheck; then
   11846   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11847   shift
   11848   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11849   CONFIG_SHELL='$SHELL'
   11850   export CONFIG_SHELL
   11851   exec "\$@"
   11852 fi
   11853 
   11854 _ACEOF
   11855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11856 exec 5>>config.log
   11857 {
   11858   echo
   11859   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11860 ## Running $as_me. ##
   11861 _ASBOX
   11862   $as_echo "$ac_log"
   11863 } >&5
   11864 
   11865 _ACEOF
   11866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11867 #
   11868 # INIT-COMMANDS
   11869 #
   11870 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11871 
   11872 _ACEOF
   11873 
   11874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11875 
   11876 # Handling of arguments.
   11877 for ac_config_target in $ac_config_targets
   11878 do
   11879   case $ac_config_target in
   11880     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11881     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11882     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11883     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11884 
   11885   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11886   esac
   11887 done
   11888 
   11889 
   11890 # If the user did not use the arguments to specify the items to instantiate,
   11891 # then the envvar interface is used.  Set only those that are not.
   11892 # We use the long form for the default assignment because of an extremely
   11893 # bizarre bug on SunOS 4.1.3.
   11894 if $ac_need_defaults; then
   11895   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11896   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11897   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11898 fi
   11899 
   11900 # Have a temporary directory for convenience.  Make it in the build tree
   11901 # simply because there is no reason against having it here, and in addition,
   11902 # creating and moving files from /tmp can sometimes cause problems.
   11903 # Hook for its removal unless debugging.
   11904 # Note that there is a small window in which the directory will not be cleaned:
   11905 # after its creation but before its name has been assigned to `$tmp'.
   11906 $debug ||
   11907 {
   11908   tmp= ac_tmp=
   11909   trap 'exit_status=$?
   11910   : "${ac_tmp:=$tmp}"
   11911   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11912 ' 0
   11913   trap 'as_fn_exit 1' 1 2 13 15
   11914 }
   11915 # Create a (secure) tmp directory for tmp files.
   11916 
   11917 {
   11918   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11919   test -d "$tmp"
   11920 }  ||
   11921 {
   11922   tmp=./conf$$-$RANDOM
   11923   (umask 077 && mkdir "$tmp")
   11924 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11925 ac_tmp=$tmp
   11926 
   11927 # Set up the scripts for CONFIG_FILES section.
   11928 # No need to generate them if there are no CONFIG_FILES.
   11929 # This happens for instance with `./config.status config.h'.
   11930 if test -n "$CONFIG_FILES"; then
   11931 
   11932 
   11933 ac_cr=`echo X | tr X '\015'`
   11934 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11935 # But we know of no other shell where ac_cr would be empty at this
   11936 # point, so we can use a bashism as a fallback.
   11937 if test "x$ac_cr" = x; then
   11938   eval ac_cr=\$\'\\r\'
   11939 fi
   11940 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11941 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11942   ac_cs_awk_cr='\\r'
   11943 else
   11944   ac_cs_awk_cr=$ac_cr
   11945 fi
   11946 
   11947 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11948 _ACEOF
   11949 
   11950 
   11951 {
   11952   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11953   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11954   echo "_ACEOF"
   11955 } >conf$$subs.sh ||
   11956   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11957 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11958 ac_delim='%!_!# '
   11959 for ac_last_try in false false false false false :; do
   11960   . ./conf$$subs.sh ||
   11961     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11962 
   11963   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11964   if test $ac_delim_n = $ac_delim_num; then
   11965     break
   11966   elif $ac_last_try; then
   11967     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11968   else
   11969     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11970   fi
   11971 done
   11972 rm -f conf$$subs.sh
   11973 
   11974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11975 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11976 _ACEOF
   11977 sed -n '
   11978 h
   11979 s/^/S["/; s/!.*/"]=/
   11980 p
   11981 g
   11982 s/^[^!]*!//
   11983 :repl
   11984 t repl
   11985 s/'"$ac_delim"'$//
   11986 t delim
   11987 :nl
   11988 h
   11989 s/\(.\{148\}\)..*/\1/
   11990 t more1
   11991 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11992 p
   11993 n
   11994 b repl
   11995 :more1
   11996 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11997 p
   11998 g
   11999 s/.\{148\}//
   12000 t nl
   12001 :delim
   12002 h
   12003 s/\(.\{148\}\)..*/\1/
   12004 t more2
   12005 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12006 p
   12007 b
   12008 :more2
   12009 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12010 p
   12011 g
   12012 s/.\{148\}//
   12013 t delim
   12014 ' <conf$$subs.awk | sed '
   12015 /^[^""]/{
   12016   N
   12017   s/\n//
   12018 }
   12019 ' >>$CONFIG_STATUS || ac_write_fail=1
   12020 rm -f conf$$subs.awk
   12021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12022 _ACAWK
   12023 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12024   for (key in S) S_is_set[key] = 1
   12025   FS = ""
   12026 
   12027 }
   12028 {
   12029   line = $ 0
   12030   nfields = split(line, field, "@")
   12031   substed = 0
   12032   len = length(field[1])
   12033   for (i = 2; i < nfields; i++) {
   12034     key = field[i]
   12035     keylen = length(key)
   12036     if (S_is_set[key]) {
   12037       value = S[key]
   12038       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12039       len += length(value) + length(field[++i])
   12040       substed = 1
   12041     } else
   12042       len += 1 + keylen
   12043   }
   12044 
   12045   print line
   12046 }
   12047 
   12048 _ACAWK
   12049 _ACEOF
   12050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12051 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12052   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12053 else
   12054   cat
   12055 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12056   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12057 _ACEOF
   12058 
   12059 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12060 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12061 # trailing colons and then remove the whole line if VPATH becomes empty
   12062 # (actually we leave an empty line to preserve line numbers).
   12063 if test "x$srcdir" = x.; then
   12064   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12065 h
   12066 s///
   12067 s/^/:/
   12068 s/[	 ]*$/:/
   12069 s/:\$(srcdir):/:/g
   12070 s/:\${srcdir}:/:/g
   12071 s/:@srcdir@:/:/g
   12072 s/^:*//
   12073 s/:*$//
   12074 x
   12075 s/\(=[	 ]*\).*/\1/
   12076 G
   12077 s/\n//
   12078 s/^[^=]*=[	 ]*$//
   12079 }'
   12080 fi
   12081 
   12082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12083 fi # test -n "$CONFIG_FILES"
   12084 
   12085 # Set up the scripts for CONFIG_HEADERS section.
   12086 # No need to generate them if there are no CONFIG_HEADERS.
   12087 # This happens for instance with `./config.status Makefile'.
   12088 if test -n "$CONFIG_HEADERS"; then
   12089 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12090 BEGIN {
   12091 _ACEOF
   12092 
   12093 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12094 # here-document in config.status, that substitutes the proper values into
   12095 # config.h.in to produce config.h.
   12096 
   12097 # Create a delimiter string that does not exist in confdefs.h, to ease
   12098 # handling of long lines.
   12099 ac_delim='%!_!# '
   12100 for ac_last_try in false false :; do
   12101   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12102   if test -z "$ac_tt"; then
   12103     break
   12104   elif $ac_last_try; then
   12105     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12106   else
   12107     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12108   fi
   12109 done
   12110 
   12111 # For the awk script, D is an array of macro values keyed by name,
   12112 # likewise P contains macro parameters if any.  Preserve backslash
   12113 # newline sequences.
   12114 
   12115 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12116 sed -n '
   12117 s/.\{148\}/&'"$ac_delim"'/g
   12118 t rset
   12119 :rset
   12120 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12121 t def
   12122 d
   12123 :def
   12124 s/\\$//
   12125 t bsnl
   12126 s/["\\]/\\&/g
   12127 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12128 D["\1"]=" \3"/p
   12129 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12130 d
   12131 :bsnl
   12132 s/["\\]/\\&/g
   12133 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12134 D["\1"]=" \3\\\\\\n"\\/p
   12135 t cont
   12136 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12137 t cont
   12138 d
   12139 :cont
   12140 n
   12141 s/.\{148\}/&'"$ac_delim"'/g
   12142 t clear
   12143 :clear
   12144 s/\\$//
   12145 t bsnlc
   12146 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12147 d
   12148 :bsnlc
   12149 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12150 b cont
   12151 ' <confdefs.h | sed '
   12152 s/'"$ac_delim"'/"\\\
   12153 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12154 
   12155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12156   for (key in D) D_is_set[key] = 1
   12157   FS = ""
   12158 }
   12159 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12160   line = \$ 0
   12161   split(line, arg, " ")
   12162   if (arg[1] == "#") {
   12163     defundef = arg[2]
   12164     mac1 = arg[3]
   12165   } else {
   12166     defundef = substr(arg[1], 2)
   12167     mac1 = arg[2]
   12168   }
   12169   split(mac1, mac2, "(") #)
   12170   macro = mac2[1]
   12171   prefix = substr(line, 1, index(line, defundef) - 1)
   12172   if (D_is_set[macro]) {
   12173     # Preserve the white space surrounding the "#".
   12174     print prefix "define", macro P[macro] D[macro]
   12175     next
   12176   } else {
   12177     # Replace #undef with comments.  This is necessary, for example,
   12178     # in the case of _POSIX_SOURCE, which is predefined and required
   12179     # on some systems where configure will not decide to define it.
   12180     if (defundef == "undef") {
   12181       print "/*", prefix defundef, macro, "*/"
   12182       next
   12183     }
   12184   }
   12185 }
   12186 { print }
   12187 _ACAWK
   12188 _ACEOF
   12189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12190   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12191 fi # test -n "$CONFIG_HEADERS"
   12192 
   12193 
   12194 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12195 shift
   12196 for ac_tag
   12197 do
   12198   case $ac_tag in
   12199   :[FHLC]) ac_mode=$ac_tag; continue;;
   12200   esac
   12201   case $ac_mode$ac_tag in
   12202   :[FHL]*:*);;
   12203   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12204   :[FH]-) ac_tag=-:-;;
   12205   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12206   esac
   12207   ac_save_IFS=$IFS
   12208   IFS=:
   12209   set x $ac_tag
   12210   IFS=$ac_save_IFS
   12211   shift
   12212   ac_file=$1
   12213   shift
   12214 
   12215   case $ac_mode in
   12216   :L) ac_source=$1;;
   12217   :[FH])
   12218     ac_file_inputs=
   12219     for ac_f
   12220     do
   12221       case $ac_f in
   12222       -) ac_f="$ac_tmp/stdin";;
   12223       *) # Look for the file first in the build tree, then in the source tree
   12224 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12225 	 # because $ac_f cannot contain `:'.
   12226 	 test -f "$ac_f" ||
   12227 	   case $ac_f in
   12228 	   [\\/$]*) false;;
   12229 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12230 	   esac ||
   12231 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12232       esac
   12233       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12234       as_fn_append ac_file_inputs " '$ac_f'"
   12235     done
   12236 
   12237     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12238     # use $as_me), people would be surprised to read:
   12239     #    /* config.h.  Generated by config.status.  */
   12240     configure_input='Generated from '`
   12241 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12242 	`' by configure.'
   12243     if test x"$ac_file" != x-; then
   12244       configure_input="$ac_file.  $configure_input"
   12245       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12246 $as_echo "$as_me: creating $ac_file" >&6;}
   12247     fi
   12248     # Neutralize special characters interpreted by sed in replacement strings.
   12249     case $configure_input in #(
   12250     *\&* | *\|* | *\\* )
   12251        ac_sed_conf_input=`$as_echo "$configure_input" |
   12252        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12253     *) ac_sed_conf_input=$configure_input;;
   12254     esac
   12255 
   12256     case $ac_tag in
   12257     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12258       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12259     esac
   12260     ;;
   12261   esac
   12262 
   12263   ac_dir=`$as_dirname -- "$ac_file" ||
   12264 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12265 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12266 	 X"$ac_file" : 'X\(//\)$' \| \
   12267 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12268 $as_echo X"$ac_file" |
   12269     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12270 	    s//\1/
   12271 	    q
   12272 	  }
   12273 	  /^X\(\/\/\)[^/].*/{
   12274 	    s//\1/
   12275 	    q
   12276 	  }
   12277 	  /^X\(\/\/\)$/{
   12278 	    s//\1/
   12279 	    q
   12280 	  }
   12281 	  /^X\(\/\).*/{
   12282 	    s//\1/
   12283 	    q
   12284 	  }
   12285 	  s/.*/./; q'`
   12286   as_dir="$ac_dir"; as_fn_mkdir_p
   12287   ac_builddir=.
   12288 
   12289 case "$ac_dir" in
   12290 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12291 *)
   12292   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12293   # A ".." for each directory in $ac_dir_suffix.
   12294   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12295   case $ac_top_builddir_sub in
   12296   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12297   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12298   esac ;;
   12299 esac
   12300 ac_abs_top_builddir=$ac_pwd
   12301 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12302 # for backward compatibility:
   12303 ac_top_builddir=$ac_top_build_prefix
   12304 
   12305 case $srcdir in
   12306   .)  # We are building in place.
   12307     ac_srcdir=.
   12308     ac_top_srcdir=$ac_top_builddir_sub
   12309     ac_abs_top_srcdir=$ac_pwd ;;
   12310   [\\/]* | ?:[\\/]* )  # Absolute name.
   12311     ac_srcdir=$srcdir$ac_dir_suffix;
   12312     ac_top_srcdir=$srcdir
   12313     ac_abs_top_srcdir=$srcdir ;;
   12314   *) # Relative name.
   12315     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12316     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12317     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12318 esac
   12319 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12320 
   12321 
   12322   case $ac_mode in
   12323   :F)
   12324   #
   12325   # CONFIG_FILE
   12326   #
   12327 
   12328   case $INSTALL in
   12329   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12330   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12331   esac
   12332   ac_MKDIR_P=$MKDIR_P
   12333   case $MKDIR_P in
   12334   [\\/$]* | ?:[\\/]* ) ;;
   12335   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12336   esac
   12337 _ACEOF
   12338 
   12339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12340 # If the template does not know about datarootdir, expand it.
   12341 # FIXME: This hack should be removed a few years after 2.60.
   12342 ac_datarootdir_hack=; ac_datarootdir_seen=
   12343 ac_sed_dataroot='
   12344 /datarootdir/ {
   12345   p
   12346   q
   12347 }
   12348 /@datadir@/p
   12349 /@docdir@/p
   12350 /@infodir@/p
   12351 /@localedir@/p
   12352 /@mandir@/p'
   12353 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12354 *datarootdir*) ac_datarootdir_seen=yes;;
   12355 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12356   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12357 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12358 _ACEOF
   12359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12360   ac_datarootdir_hack='
   12361   s&@datadir@&$datadir&g
   12362   s&@docdir@&$docdir&g
   12363   s&@infodir@&$infodir&g
   12364   s&@localedir@&$localedir&g
   12365   s&@mandir@&$mandir&g
   12366   s&\\\${datarootdir}&$datarootdir&g' ;;
   12367 esac
   12368 _ACEOF
   12369 
   12370 # Neutralize VPATH when `$srcdir' = `.'.
   12371 # Shell code in configure.ac might set extrasub.
   12372 # FIXME: do we really want to maintain this feature?
   12373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12374 ac_sed_extra="$ac_vpsub
   12375 $extrasub
   12376 _ACEOF
   12377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12378 :t
   12379 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12380 s|@configure_input@|$ac_sed_conf_input|;t t
   12381 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12382 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12383 s&@srcdir@&$ac_srcdir&;t t
   12384 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12385 s&@top_srcdir@&$ac_top_srcdir&;t t
   12386 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12387 s&@builddir@&$ac_builddir&;t t
   12388 s&@abs_builddir@&$ac_abs_builddir&;t t
   12389 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12390 s&@INSTALL@&$ac_INSTALL&;t t
   12391 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12392 $ac_datarootdir_hack
   12393 "
   12394 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12395   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12396 
   12397 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12398   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12399   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12400       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12401   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12402 which seems to be undefined.  Please make sure it is defined" >&5
   12403 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12404 which seems to be undefined.  Please make sure it is defined" >&2;}
   12405 
   12406   rm -f "$ac_tmp/stdin"
   12407   case $ac_file in
   12408   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12409   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12410   esac \
   12411   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12412  ;;
   12413   :H)
   12414   #
   12415   # CONFIG_HEADER
   12416   #
   12417   if test x"$ac_file" != x-; then
   12418     {
   12419       $as_echo "/* $configure_input  */" \
   12420       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12421     } >"$ac_tmp/config.h" \
   12422       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12423     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12424       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12425 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12426     else
   12427       rm -f "$ac_file"
   12428       mv "$ac_tmp/config.h" "$ac_file" \
   12429 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12430     fi
   12431   else
   12432     $as_echo "/* $configure_input  */" \
   12433       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12434       || as_fn_error $? "could not create -" "$LINENO" 5
   12435   fi
   12436 # Compute "$ac_file"'s index in $config_headers.
   12437 _am_arg="$ac_file"
   12438 _am_stamp_count=1
   12439 for _am_header in $config_headers :; do
   12440   case $_am_header in
   12441     $_am_arg | $_am_arg:* )
   12442       break ;;
   12443     * )
   12444       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12445   esac
   12446 done
   12447 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12448 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12449 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12450 	 X"$_am_arg" : 'X\(//\)$' \| \
   12451 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12452 $as_echo X"$_am_arg" |
   12453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12454 	    s//\1/
   12455 	    q
   12456 	  }
   12457 	  /^X\(\/\/\)[^/].*/{
   12458 	    s//\1/
   12459 	    q
   12460 	  }
   12461 	  /^X\(\/\/\)$/{
   12462 	    s//\1/
   12463 	    q
   12464 	  }
   12465 	  /^X\(\/\).*/{
   12466 	    s//\1/
   12467 	    q
   12468 	  }
   12469 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12470  ;;
   12471 
   12472   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12473 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12474  ;;
   12475   esac
   12476 
   12477 
   12478   case $ac_file$ac_mode in
   12479     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12480   # Older Autoconf quotes --file arguments for eval, but not when files
   12481   # are listed without --file.  Let's play safe and only enable the eval
   12482   # if we detect the quoting.
   12483   case $CONFIG_FILES in
   12484   *\'*) eval set x "$CONFIG_FILES" ;;
   12485   *)   set x $CONFIG_FILES ;;
   12486   esac
   12487   shift
   12488   for mf
   12489   do
   12490     # Strip MF so we end up with the name of the file.
   12491     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12492     # Check whether this is an Automake generated Makefile or not.
   12493     # We used to match only the files named 'Makefile.in', but
   12494     # some people rename them; so instead we look at the file content.
   12495     # Grep'ing the first line is not enough: some people post-process
   12496     # each Makefile.in and add a new line on top of each file to say so.
   12497     # Grep'ing the whole file is not good either: AIX grep has a line
   12498     # limit of 2048, but all sed's we know have understand at least 4000.
   12499     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12500       dirpart=`$as_dirname -- "$mf" ||
   12501 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12502 	 X"$mf" : 'X\(//\)[^/]' \| \
   12503 	 X"$mf" : 'X\(//\)$' \| \
   12504 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12505 $as_echo X"$mf" |
   12506     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12507 	    s//\1/
   12508 	    q
   12509 	  }
   12510 	  /^X\(\/\/\)[^/].*/{
   12511 	    s//\1/
   12512 	    q
   12513 	  }
   12514 	  /^X\(\/\/\)$/{
   12515 	    s//\1/
   12516 	    q
   12517 	  }
   12518 	  /^X\(\/\).*/{
   12519 	    s//\1/
   12520 	    q
   12521 	  }
   12522 	  s/.*/./; q'`
   12523     else
   12524       continue
   12525     fi
   12526     # Extract the definition of DEPDIR, am__include, and am__quote
   12527     # from the Makefile without running 'make'.
   12528     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12529     test -z "$DEPDIR" && continue
   12530     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12531     test -z "$am__include" && continue
   12532     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12533     # Find all dependency output files, they are included files with
   12534     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12535     # simplest approach to changing $(DEPDIR) to its actual value in the
   12536     # expansion.
   12537     for file in `sed -n "
   12538       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12539 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12540       # Make sure the directory exists.
   12541       test -f "$dirpart/$file" && continue
   12542       fdir=`$as_dirname -- "$file" ||
   12543 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12544 	 X"$file" : 'X\(//\)[^/]' \| \
   12545 	 X"$file" : 'X\(//\)$' \| \
   12546 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12547 $as_echo X"$file" |
   12548     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12549 	    s//\1/
   12550 	    q
   12551 	  }
   12552 	  /^X\(\/\/\)[^/].*/{
   12553 	    s//\1/
   12554 	    q
   12555 	  }
   12556 	  /^X\(\/\/\)$/{
   12557 	    s//\1/
   12558 	    q
   12559 	  }
   12560 	  /^X\(\/\).*/{
   12561 	    s//\1/
   12562 	    q
   12563 	  }
   12564 	  s/.*/./; q'`
   12565       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12566       # echo "creating $dirpart/$file"
   12567       echo '# dummy' > "$dirpart/$file"
   12568     done
   12569   done
   12570 }
   12571  ;;
   12572 
   12573   esac
   12574 done # for ac_tag
   12575 
   12576 
   12577 as_fn_exit 0
   12578 _ACEOF
   12579 ac_clean_files=$ac_clean_files_save
   12580 
   12581 test $ac_write_fail = 0 ||
   12582   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12583 
   12584 
   12585 # configure is writing to config.log, and then calls config.status.
   12586 # config.status does its own redirection, appending to config.log.
   12587 # Unfortunately, on DOS this fails, as config.log is still kept open
   12588 # by configure, so config.status won't be able to write to it; its
   12589 # output is simply discarded.  So we exec the FD to /dev/null,
   12590 # effectively closing config.log, so it can be properly (re)opened and
   12591 # appended to by config.status.  When coming back to configure, we
   12592 # need to make the FD available again.
   12593 if test "$no_create" != yes; then
   12594   ac_cs_success=:
   12595   ac_config_status_args=
   12596   test "$silent" = yes &&
   12597     ac_config_status_args="$ac_config_status_args --quiet"
   12598   exec 5>/dev/null
   12599   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12600   exec 5>>config.log
   12601   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12602   # would make configure fail if this is the last instruction.
   12603   $ac_cs_success || as_fn_exit 1
   12604 fi
   12605 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12606   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12607 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12608 fi
   12609 
   12610